About the script you gave me, it didn't work. Mine worked perfectly with the user string though. I still want to thank you for helping me with my script. The working script i used was: It is kind of a mixture between our scripts.
function Click(mouse)
local user = script.Parent.Parent.Parent.Parent.Parent.Character
local human = user:FindFirstChild("Humanoid")
local torso = user:findFirstChild("Torso")
if (torso ~= nil) then
human.WalkSpeed = "16"
torso.CFrame = CFrame.new(144.2, 46.8, 233.1)
script.Parent.Parent.Parent:Remove()
else
wait(0)
end
end
script.Parent.MouseButton1Down:connect(Click) |