of     1   

Tr4cerX
#141295863Wednesday, July 23, 2014 6:50 PM GMT

Okay so I got this, but I dragged the timer ScreenGui in and it doesn't activate it to I have to add a line of code and what code would I add to make the timer work? pos1 = 8, 0.59, 14.5 pos2 = -15, 0.59, 14.5 -- The position that the random player will be moved to. WaitTime = 10 -- The time in-between each player getting picked. -- DO NOT EDIT ANYTHING BELOW!!! -- ----------------------------------------------------------------------- dft = {} function GetPlayers() local c = game.Players:GetChildren() for i = 1, #c do table.insert(dft, c[i].Name) end end function Randomize() GetPlayers() local d = math.random(1, #dft) local s = d local rndm = game.Players:FindFirstChild(dft[s]) if (rndm ~= nil) then local Player = rndm.Character Player:MoveTo(Vector3.new(8, 0.59, 14.5)) Player:MoveTo(Vector3.new(-15, 0.59, 14.5)) end end while true do wait(50) Randomize() end
BothAngles
#141296108Wednesday, July 23, 2014 6:53 PM GMT

pos1 = 8, 0.59, 14.5 pos2 = -15, 0.59, 14.5 -- The position that the random player will be moved to. WaitTime = 10 -- The time in-between each player getting picked. -- DO NOT EDIT ANYTHING BELOW!!! -- ----------------------------------------------------------------------- dft = {} function GetPlayers() local c = game.Players:GetChildren() for i = 1, #c do table.insert(dft, c[i].Name) end end function Randomize() GetPlayers() local d = math.random(1, #dft) local s = d local rndm = game.Players:FindFirstChild(dft[s]) if (rndm ~= nil) then local Player = rndm.Character Player:MoveTo(Vector3.new(8, 0.59, 14.5)) Player:MoveTo(Vector3.new(-15, 0.59, 14.5)) end end while true do Spawn(wait);wait(50) Randomize() end
Tr4cerX
#141296800Wednesday, July 23, 2014 7:01 PM GMT

It just crashes ROBLOX Studio

    of     1