Hey So I've been Attempting to Make a teleport script, (tool)
local cooldown = false
repeat wait() until game.Players.LocalPlayer.Character
local plr = game.Players.LocalPlayer
local MyBody = plr.Character
local mouse = plr:GetMouse()
script.Parent.Activated:Connect(function()
if not cooldown then
cooldown = true
local hit = mouse.Hit
wait(1)
MyBody:MoveTo(hit.p)
wait(1)
cooldown = false
end
end)
I need it So when a Player Touches another Player, They Get Teleported wih the Teleporting Player, Thanks
