✓ Accepted answer
The script may be working too fast for the game. Try putting this into the script:
repeat wait() until game.Workspace:FindFirstChild("Gamestart")
This just repeats a loop until the object is found, to prevent it comming up as nil. (This could also be accomplished using :WaitForChild() , but I always run into problems using that)
So this entire script should be this:
local Players = game.Players:GetPlayers()
for i,v in pairs(Players) do
v.Character.Torso.CFrame = CFrame.new(target2)
wait()
repeat wait() until game.Workspace:FindFirstChild("Gamestart")
game.Workspace.Gamestart.Value = true
wait(0.5)
game.Workspace.Gamestart.Value = false
end
If you have any further problems/questions, please leave a comment below. Hope I helped :P
4 comments
So is Gamestart in a folder or not?
Not sorry.
Is that exactly how Gamestart is spelled? Exact spaces, capitals, etc?
Yes EXACT