CODE:
local AI = script.Parent.Parent.Timer.PositionNumber
local Lighting = game.ServerStorage
local World = game.Workspace
local Footstep = script.Parent.Parent.Timer.RemoteFunction.Footstep.Sound
--1--
while AI.Value == 1 do
wait()
script.Parent.Transparency = 1
print("worked")
Lighting.Walk1:Clone().Parent = game.Workspace
World.Neutral:Destroy()
Footstep:Play()
break
end
--1--
The problem is that there are no errors in output, but the script isnt doing the following code inside it. The loop is needed the detect the change in the value, and the break is needed so it dosent clone and destroy forever, and can move on to whatever is on the next line of code.
However, despite no errors in output and everything in the scirpt being set up right, it just dosent work. Any help?

2 comments
If you're changing the value localy aka : LocalScript then that's why.
its a serverscript