Hi, I have a local script where it waits till a certain point then unanchors some mesh parts, but it doesn't work! (It's supposed to show for only one player) Everything else in the script works, the anchoring part is the only thing that doesn't work.
Here's the local script
local Clicks = game.StarterPack:WaitForChild("Variables").Clicks
local MaxClicks = game.StarterPack:WaitForChild("Variables").MaxClicks
local Attachemnt = game.Workspace.Light.Circle.Attachment
local Explosion = Attachemnt.Explosion
local Beams = Attachemnt.Beams
while true do
wait()
if Clicks.Value >= MaxClicks.Value then
Beams.Enabled = true
Explosion.Enabled = true
wait(1)
Beams.Enabled = false
wait(2)
Explosion.Enabled = false
game.Workspace.Light.LanternFlat.Anchored = false
game.Workspace.Light.LanternTop.Anchored = false
game.Workspace.Light.lanternGlass.Anchored = false
game.Workspace.Light.LightPart.Anchored = false
break
end
end
