Ok so I want to make a walk on walls toggle button for my admin panel and I have the kit to do so, but this admin panel is meant to be able to just be inserted and set itself up. So I need a way to put all of the parts of the kit into the right parts of the game (e.g. replicated storage) Can anyone help me with this?
1 Like
UPDATE: I’m trying to use the GravityController module by EgoMoose but I can’t figure out how to add it…
I tried saving it but its just not working now
local button = script.Parent
local gravity = script.Parent.GravityController
gravity.Parent = game.Lighting
local 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)
Why is the gravity controller in lighting?
I thought if I put it there it wouldn’t work cos otherwise it would be on when toggle was off
anyone have any better walk on walls modules?