Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Local = owner
- Char = Local.Character
- touched,tpdback = false, false
- Local.CharacterAdded:connect(function(char)
- if script.Disabled ~= true then
- wait(.25)
- loc = Char.HumanoidRootPart.Position
- Char:MoveTo(box.Position + Vector3.new(0,.5,0))
- end
- end)
- game:GetService('UserInputService').InputBegan:connect(function(key)
- if key.KeyCode == Enum.KeyCode.Equals then
- if script.Disabled ~= true then
- script.Disabled = true
- end
- end
- end)
- box = Instance.new('Part',workspace)
- box.Anchored = true
- box.CanCollide = true
- box.Size = Vector3.new(10,1,10)
- box.Position = Vector3.new(-10000,10000,-10000)
- box.Name = math.random(1,99999999)
- box.Transparency = 1
- box.Touched:connect(function(part)
- if (part.Parent.Name == Local.Name) then
- if touched == false then
- touched = true
- function apply()
- if script.Disabled ~= true then
- no = Char.HumanoidRootPart:Clone()
- wait(.25)
- Char.HumanoidRootPart:Destroy()
- no.Parent = Char
- Char:MoveTo(loc)
- touched = false
- end end
- if Char then
- apply()
- end
- end
- end
- end)
- repeat wait() until Char
- loc = Char.HumanoidRootPart.Position
- Char:MoveTo(box.Position + Vector3.new(0,.5,0))
- gc = Char:GetChildren()
- for i=1, #gc do
- if gc[i].ClassName == "Hat" or gc[i].ClassName == "Accessory" then
- gc[i].Handle.Transparency = 0.5
- end
- end
- --[[
- QuickGame = game
- owner.Character.Parent = QuickGame
- owner.Character.Parent = workspace
- ]]--
- local remote = NS ([==[
- local p = owner;local c = p.Character;m = Instance.new("SpecialMesh",c.HumanoidRootPart);m.MeshId = "rbxassetid://2711200539";m.TextureId = "rbxassetid://2711200587";m.Offset = Vector3.new(0,-11,0);c.HumanoidRootPart.Transparency = 0;c.HumanoidRootPart:BreakJoints();Instance.new("ForceField",c).Visible = false
- ]==], owner.Character):WaitForChild 'ServerRemote';
- mouse = owner:GetMouse ();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement