Advertisement
teotv202

Untitled

Jun 16th, 2019
167
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. --Local = game:GetService("Players").LocalPlayer
  2. Local = owner
  3. Char = Local.Character
  4. touched,tpdback = false, false
  5. Local.CharacterAdded:connect(function(char)
  6. if script.Disabled ~= true then
  7. wait(.25)
  8. loc = Char.HumanoidRootPart.Position
  9. Char:MoveTo(box.Position + Vector3.new(0,.5,0))
  10. end
  11. end)
  12. game:GetService('UserInputService').InputBegan:connect(function(key)
  13. if key.KeyCode == Enum.KeyCode.Equals then
  14. if script.Disabled ~= true then
  15. script.Disabled = true
  16. end
  17. end
  18. end)
  19. box = Instance.new('Part',workspace)
  20. box.Anchored = true
  21. box.CanCollide = true
  22. box.Size = Vector3.new(10,1,10)
  23. box.Position = Vector3.new(0,10000,0)
  24. box.Touched:connect(function(part)
  25. if (part.Parent.Name == Local.Name) then
  26. if touched == false then
  27. touched = true
  28. function apply()
  29. if script.Disabled ~= true then
  30. no = Char.HumanoidRootPart:Clone()
  31. wait(.25)
  32. Char.HumanoidRootPart:Destroy()
  33. no.Parent = Char
  34. Char:MoveTo(loc)
  35. touched = false
  36. end end
  37. if Char then
  38. apply()
  39. end
  40. end
  41. end
  42. end)
  43. repeat wait() until Char
  44. loc = Char.HumanoidRootPart.Position
  45. Char:MoveTo(box.Position + Vector3.new(0,.5,0))
  46. Char.Torso.Transparency = 0.5
  47. Char.Head.Transparency = 0.5
  48. Char.Head.face.Transparency = 0.5
  49. Char["Right Arm"].Transparency = 0.5
  50. Char["Left Arm"].Transparency = 0.5
  51. Char["Right Leg"].Transparency = 0.5
  52. Char["Left Leg"].Transparency = 0.5
  53. gc = Char:GetChildren()
  54. for i=1, #gc do
  55. if gc[i].ClassName == "Hat" or gc[i].ClassName == "Accessory" then
  56. gc[i].Handle.Transparency = 0.5
  57. end
  58. end
  59. local noclip = true
  60. --char = game:GetService("Players").LocalPlayer.Character
  61. char = owner.Character
  62. while true do
  63. if noclip == true then
  64. for _,v in pairs(char:children()) do
  65. pcall(function()
  66. if v.className == "Part" then
  67. v.CanCollide = false
  68. end
  69. end)
  70. end
  71. end
  72. game:service("RunService").Stepped:wait()
  73. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement