SHARE
TWEET

Untitled

teotv202 Jun 15th, 2019 (edited) 118 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. Local = game:GetService('Players').LocalPlayer
  2. Char  = Local.Character
  3.  
  4.  
  5. if game.Players.LocalPlayer.Character.Humanoid.RigType == Enum.HumanoidRigType.R6 then
  6. game.Players.LocalPlayer.Character.Torso.Transparency = 0.5
  7. game.Players.LocalPlayer.Character.Head.Transparency = 0.5
  8. game.Players.LocalPlayer.Character.Head.face.Transparency = 0.5
  9. game.Players.LocalPlayer.Character["Left Arm"].Transparency = 0.5
  10. game.Players.LocalPlayer.Character["Right Arm"].Transparency = 0.5
  11. game.Players.LocalPlayer.Character["Left Leg"].Transparency = 0.5
  12. game.Players.LocalPlayer.Character["Right Leg"].Transparency = 0.5
  13. else
  14. if game.Players.LocalPlayer.Character.Humanoid.RigType == Enum.HumanoidRigType.R15 then
  15. game.Players.LocalPlayer.Character.Head.Transparency = 0.5
  16. game.Players.LocalPlayer.Character.Head.face.Transparency = 0.5
  17. game.Players.LocalPlayer.Character.LeftUpperArm.Transparency = 0.5
  18. game.Players.LocalPlayer.Character.LeftHand.Transparency = 0.5
  19. game.Players.LocalPlayer.Character.RightHand.Transparency = 0.5
  20. game.Players.LocalPlayer.Character.LeftFoot.Transparency = 0.5
  21. game.Players.LocalPlayer.Character.RightFoot.Transparency = 0.5
  22. game.Players.LocalPlayer.Character.LeftLowerArm.Transparency = 0.5
  23. game.Players.LocalPlayer.Character.LeftUpperLeg.Transparency = 0.5
  24. game.Players.LocalPlayer.Character.LeftLowerLeg.Transparency = 0.5
  25. game.Players.LocalPlayer.Character.RightUpperArm.Transparency = 0.5
  26. game.Players.LocalPlayer.Character.RightLowerArm.Transparency = 0.5
  27. game.Players.LocalPlayer.Character.RightUpperLeg.Transparency = 0.5
  28. game.Players.LocalPlayer.Character.RightLowerLeg.Transparency = 0.5
  29. game.Players.LocalPlayer.Character.UpperTorso.Transparency = 0.5
  30. game.Players.LocalPlayer.Character.LowerTorso.Transparency = 0.5
  31. end
  32. end
  33.  
  34. touched,tpdback = false, false
  35. Local.CharacterAdded:connect(function(char)
  36.     if script.Disabled ~= true then
  37.         wait(.25)
  38.         loc = Char.HumanoidRootPart.Position
  39.         Char:MoveTo(box.Position + Vector3.new(0,.5,0))
  40.     end
  41. end)
  42. game:GetService('UserInputService').InputBegan:connect(function(key)
  43.     if key.KeyCode == Enum.KeyCode.Equals then
  44.         if script.Disabled ~= true then
  45.             script.Disabled = true
  46.         end
  47.     end
  48. end)
  49. box = Instance.new('Part',workspace)
  50. box.Anchored = true
  51. box.CanCollide = true
  52. box.Size = Vector3.new(10,1,10)
  53. box.Position =  Vector3.new(10000,10000,10000)
  54. box.Touched:connect(function(part)
  55.     if (part.Parent.Name == Local.Name) then
  56.         if touched == false then
  57.             touched = true
  58.             function apply()
  59.                 if script.Disabled ~= true then
  60.                     no = Char.HumanoidRootPart:Clone()
  61.                     wait(.25)
  62.                     Char.HumanoidRootPart:Destroy()
  63.                     no.Parent = Char
  64.                     Char:MoveTo(loc)
  65.                     touched = false
  66.                 end end
  67.             if Char then
  68.                 apply()
  69.             end
  70.         end
  71.     end
  72. end)
  73. repeat wait() until Char
  74. loc = Char.HumanoidRootPart.Position
  75. Char:MoveTo(box.Position + Vector3.new(0,.5,0))
  76.  
  77. gc = Char:GetChildren()
  78. for i=1, #gc do
  79. if gc[i].ClassName == "Hat" or gc[i].ClassName == "Accessory" then
  80. gc[i].Handle.Transparency = 0.5
  81. end
  82. end
  83. --[[
  84. local noclip = true
  85. char = game:GetService("Players").LocalPlayer.Character
  86. while true do
  87. if noclip == true then
  88. for _,v in pairs(char:children()) do
  89. pcall(function()
  90. if v.className == "Part" then
  91. v.CanCollide = true
  92. end
  93. end)
  94. end
  95. end
  96. game:service("RunService").Stepped:wait()
  97. end
  98. ]]--
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top