script.Parent.Touched:connect(function(hit)
local p = game.Players:GetPlayerFromCharacter(hit.Parent).Folder.JailBreak
p.Value = p.Value + 1
if p.Value == 1 then
(hit.Parent).Torso.CFrame = CFrame.new(Vector3.new(-7.467, 3.2, 19.129))
wait(4)
(hit.Parent).Torso.CFrame = CFrame.new(Vector3.new(0, 50, 0))
end
end)
This a script within a "JailTool". when someone hits someone else with this stick, they'll get sent to jail for four seconds, then teleport back.
How do I teleport them back from jail? I'm not sure what to do.
