local TextButton = Instance.new("TextButton")
TextButton.Parent = game.StarterGui.ScreenGui
TextButton.Position = UDim2.new({0.013, 0},{0.308, 0})
TextButton.Text = ("CLICK TO ACTIVATE")
TextButton.Font = (GothamBold)
TextButton.Draggable = true
script.Parent.TextButton.MouseButton1Click:connect(function(player)
game.Players.PlayerAdded:Connect(function(plr)
wait(8)
print("Started")
plr.Character.HumanoidRootPart.Anchored = true
wait(1)
plr.Character.HumanoidRootPart.Position = Vector3.new(30.59, 0.5, -49.69)
wait (1)
plr.Character.HumanoidRootPart.Position = Vector3.new(29.18, 0.5, -79.31)
wait (1)
plr.Character.HumanoidRootPart.Position = Vector3.new(29.18, 0.5, -79.31)
wait (1)
plr.Character.HumanoidRootPart.Position = Vector3.new(5.71, 0.5, -73.06)
wait (1)
plr.Character.HumanoidRootPart.Position = Vector3.new(57.73, 0.5, -113.79)
wait (1)
plr.Character.HumanoidRootPart.Position = Vector3.new(19.59, 0.5, -147.67)
wait (1)
plr.Character.HumanoidRootPart.Position = Vector3.new(-4.39, 0.5, -93.57)
wait (1)
plr.Character.HumanoidRootPart.Position = Vector3.new(167.3, 0.5, -85.9)
wait (1)
plr.Character.HumanoidRootPart.Position = Vector3.new(0, -736.585, -681.091)
print ("Finished")
wait (2)
plr.Character.HumanoidRootPart.Anchored = false
end)
COMMUNITY QUESTION
the problem is that there's two functions i think, what do i do?
0 answers
No public answers were preserved for this question.
This discussion is preserved as it was. New answers, comments, and votes are closed.

2 comments
can you expand
"what do i do?" fix it. duh.