I am currently in the process of making an admin panel and most of it is done so far, but I want to include a feature where if a button is pressed you will be able to walk on the walls/ceilings of the game you’re in. Any help? I have no code so far as I’m sort of new to scripting and don’t know where to start.
You could start by checking out how others have accomplished what you are looking for; Walk On walls Script (NEW) - Roblox
This probably won’t be very easy to incorporate into your admin script if you are new, so I advise completing the easy parts first!
I see, thanks for this model though! I have already seen it but I am currently looking for a way to toggle the wall walk on and off and can’t seem to figure it out…
Can you show what you’ve attempted so far?
I tried this but I’m not surprised it didn’t work tbh.
local button = script.Parent
local gravity = script.Parent.GravityController
gravity.Parent = game.Lightinglocal c = gravity:Clone()
local debounce = false
button.MouseButton1Click:Connect(function()
if debounce == false then
debounce = true
button.BackgroundColor3 = Color3.fromRGB(62, 84, 57)
c.Parent = game.ReplicatedStorage
elseif debounce == true then
debounce = false
button.BackgroundColor3 = Color3.fromRGB(84, 61, 61)
c:Destroy()
end
end)
Is GravityController
a module?
I’m not sure, its from the script that Lovely Jacob mentioned above… it has a million components and I’m not sure what they do tbh.