Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --Local = game:GetService("Players").LocalPlayer
- 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(0,10000,0)
- 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))
- Char.Torso.Transparency = 0.5
- Char.Head.Transparency = 0.5
- Char.Head.face.Transparency = 0.5
- Char["Right Arm"].Transparency = 0.5
- Char["Left Arm"].Transparency = 0.5
- Char["Right Leg"].Transparency = 0.5
- Char["Left Leg"].Transparency = 0.5
- 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
- local noclip = true
- --char = game:GetService("Players").LocalPlayer.Character
- char = owner.Character
- while true do
- if noclip == true then
- for _,v in pairs(char:children()) do
- pcall(function()
- if v.className == "Part" then
- v.CanCollide = false
- end
- end)
- end
- end
- game:service("RunService").Stepped:wait()
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement