Advertisement
XZTablets

Untitled

Mar 9th, 2019
220
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.80 KB | None | 0 0
  1. local player = game.Players.LocalPlayer
  2. local mouse = player:GetMouse()
  3. wait(2)
  4. local character = player.Character
  5.  
  6. for i,v in pairs(character:GetChildren()) do
  7. if v:IsA('Part') then
  8. v.Transparency = 1
  9. end
  10.  
  11. if v.Name == ('Head') then
  12. v.face:Remove()
  13. end
  14.  
  15. if v:IsA('Accessory') then
  16. v:Destroy()
  17. end
  18. end
  19.  
  20. local lefthand = Instance.new('Part', character)
  21. local righthand = Instance.new('Part', character)
  22. local torso = Instance.new('Part', character)
  23. local leftleg = Instance.new('Part', character)
  24. local size = 1
  25.  
  26. lefthand.Size = Vector3.new(size,size,size)
  27. righthand.Size = Vector3.new(size,size,size)
  28. leftleg.Size = Vector3.new(size,size,size)
  29. torso.Size = Vector3.new(2,2,1)
  30. torso.CanCollide = false
  31. lefthand.CanCollide = false
  32. righthand.CanCollide = false
  33. leftleg.CanCollide = false
  34. leftleg.Anchored = false
  35. torso.Anchored = false
  36. lefthand.Anchored = false
  37. righthand.Anchored = false
  38.  
  39. lefthand.BottomSurface = 'Smooth'
  40. leftleg.BottomSurface = 'Smooth'
  41. leftleg.TopSurface = 'Smooth'
  42. lefthand.TopSurface = 'Smooth'
  43. righthand.TopSurface = 'Smooth'
  44. righthand.BottomSurface = 'Smooth'
  45. torso.BottomSurface = 'Smooth'
  46. torso.TopSurface = 'Smooth'
  47.  
  48. righthand.Color = Color3.fromRGB(149,0,255)
  49. lefthand.Color = Color3.fromRGB(149,0,255)
  50. torso.Color = Color3.fromRGB(149,0,255)
  51. leftleg.Color = Color3.fromRGB(149,0,255)
  52.  
  53. righthand.Transparency = 0.5
  54. lefthand.Transparency = 0.5
  55. torso.Transparency = 0.5
  56. leftleg.Transparency = 0.5
  57.  
  58. local leftbox = Instance.new('SelectionBox', lefthand)
  59. local rightbox = Instance.new('SelectionBox', righthand)
  60. local torsobox = Instance.new('SelectionBox', torso)
  61. local leftlegbox = Instance.new('SelectionBox', leftleg)
  62.  
  63. leftbox.Color3 = Color3.fromRGB(0,0,0)
  64. rightbox.Color3 = Color3.fromRGB(0,0,0)
  65. torsobox.Color3 = Color3.fromRGB(0,0,0)
  66. leftlegbox.Color3 = Color3.fromRGB(0,0,0)
  67.  
  68. leftbox.Transparency = 0.4
  69. rightbox.Transparency = 0.4
  70. torsobox.Transparency = 0.4
  71. leftlegbox.Transparency = 0.4
  72.  
  73. leftbox.Adornee = lefthand
  74. rightbox.Adornee = righthand
  75. torsobox.Adornee = torso
  76. leftlegbox.Adornee = leftleg
  77.  
  78. leftbox.LineThickness = 0.05
  79. rightbox.LineThickness = 0.05
  80. torsobox.LineThickness = 0.05
  81. leftlegbox.LineThickness = 0.05
  82.  
  83. local leftvel = Instance.new('BodyPosition', lefthand)
  84. leftvel.MaxForce = Vector3.new(10000,10000,10000)
  85. leftvel.Position = character['Left Arm'].CFrame * CFrame.new(0,0,0).p
  86.  
  87. local rightvel = Instance.new('BodyPosition', righthand)
  88. rightvel.MaxForce = Vector3.new(10000,10000,10000)
  89. rightvel.Position = character['Right Arm'].CFrame * CFrame.new(0,0,0).p
  90.  
  91. local torsovel = Instance.new('BodyPosition', torso)
  92. torsovel.MaxForce = Vector3.new(10000,10000,10000)
  93. torsovel.Position = character['Torso'].CFrame * CFrame.new(0,0,0).p
  94.  
  95. local leftlegvel = Instance.new('BodyPosition', leftleg)
  96. leftlegvel.MaxForce = Vector3.new(10000,10000,10000)
  97. leftlegvel.Position = character['Left Leg'].CFrame * CFrame.new(0,0,0).p
  98.  
  99. local rightangvel = Instance.new('BodyAngularVelocity', righthand)
  100. rightangvel.MaxTorque = Vector3.new(10000,10000,10000)
  101. rightangvel.AngularVelocity = Vector3.new(1,1,1)
  102.  
  103. local leftangvel = Instance.new('BodyAngularVelocity', lefthand)
  104. leftangvel.MaxTorque = Vector3.new(10000,10000,10000)
  105. leftangvel.AngularVelocity = Vector3.new(-1,-1,-1)
  106.  
  107. game:GetService('RunService').RenderStepped:connect(function()
  108. leftvel.Position = character['Left Arm'].CFrame * CFrame.new(0,0,0).p
  109. rightvel.Position = character['Right Arm'].CFrame * CFrame.new(0,0,0).p
  110. torsovel.Position = character['Torso'].CFrame * CFrame.new(0,0,0).p
  111. leftlegvel.Position = character['Left Leg'].CFrame * CFrame.new(0,0,0).p
  112. torso.CFrame = CFrame.new(torso.Position, righthand.Position) * CFrame.Angles(0,math.rad(90),0)
  113. leftleg.CFrame = CFrame.new(leftleg.Position, righthand.Position) * CFrame.Angles(math.rad(45),0,0)
  114. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement