
29.3k Views
559 Executions
Camera Noclip
Universal Script 📌
AmirikiPublished 5
3 years ago
Please login to perform these actions:Does it work?
No reports yetNo reports yet. Tried it? Be the first to say.
Also noticed:
Description
This is a basic script that allows you to noclip through parts and terrain with your camera. Works in auto-exec Works on any exec that supports getgc(), setconstant and getconstants Showcase of it being used with my Hide Parts Obscuring Camera script: https://streamable.com/gos11t (Link to said script: https://scriptblox.com/script/Universal-Script-Making-Parts-Blocking-Character-Invisible-7432)
if not game:IsLoaded() then
game.Loaded:wait()
end
local Players = game:GetService("Players")
local LocalPlayer = Players.LocalPlayer
local PopperClient = LocalPlayer:WaitForChild("PlayerScripts").PlayerModule.CameraModule.ZoomController.Popper
for i, v in next, getgc() do
if getfenv(v).script == PopperClient and typeof(v) == "function" then
for i2, v2 in next, debug.getconstants(v) do
if tonumber(v2) == 0.25 then
debug.setconstant(v, i2, 0)
elseif tonumber(v2) == 0 then
debug.setconstant(v, i2, 0.25)
end
end
end
end









It no longer works in the current version of Roblox.
same i get an error, am using xeno
invalid argument #1 to 'getfenv' (number expected, got Vector2)