script.Parent.Touched:Connect(function(hit)
if hit.Parent:FindFirstChild("Humanoid")then
script.Parent.Parent.Parent.StarterGui.ScreenGui2.Enabled=true
local player = game.Players.LocalPlayer
game.Workspace:WaitForChild(player).UpperTorso.CFrame = CFrame.new(-691.31, 4.453, -740.24)
end
end)
I made this script I suck sorry :c

1 comment
Is this a LocalScript or a ServerScript? Also, :MoveTo() can only work on Models (including the player's Character Model) and a Humanoid