Advertisement
asdasdasdasd1233

ugly limbs

Mar 21st, 2018
724
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.92 KB | None | 0 0
  1. local plr = game:GetService("Players").LocalPlayer
  2. local char = plr.Character
  3. local hum = char:FindFirstChildOfClass("Humanoid")
  4. local mou = plr:GetMouse()
  5. local tor = char:FindFirstChild("Torso") or char:FindFirstChild("UpperTorso")
  6. local head = char:FindFirstChild("Head")
  7. local larm = char:FindFirstChild("Left Arm") or char:FindFirstChild("LeftUpperArm")
  8. local rarm = char:FindFirstChild("Right Arm") or char:FindFirstChild("RightUpperArm")
  9. local rleg = char:FindFirstChild("Right Leg") or char:FindFirstChild("RightUpperLeg")
  10. local lleg = char:FindFirstChild("Left Leg") or char:FindFirstChild("LeftUpperLeg")
  11. local ls = tor:FindFirstChild("Left Shoulder")
  12. local rs = tor:FindFirstChild("Right Shoulder")
  13. local ONO = true
  14.  
  15.  
  16.  
  17. local rp = Instance.new("Part", char)
  18. rp.Transparency = 1
  19. rp.Size = Vector3.new(1, 1, 1)
  20. local rpw = Instance.new("Weld", rp)
  21. rpw.Part0 = rarm
  22. rpw.Part1 = rp
  23. rpw.C1 = CFrame.new(0, 1, 0)
  24.  
  25. local starts = rs.C0
  26.  
  27. mou.Button1Down:connect(function()
  28. if ONO == true then
  29. if mou.Target ~= nil and mou.Target:IsA("Part") and mou.Target.Name ~= "Base" then
  30. ONO = false
  31. thing = mou.Target
  32. local start = thing.CFrame
  33. local finish = rp.CFrame
  34. rs.C0 = starts
  35. local finishs = rs.C0 * CFrame.Angles(math.rad(0), math.rad(0), math.rad(90))
  36. if thing.Parent and thing.Parent:FindFirstChildOfClass("Humanoid") then
  37. thing.Parent:FindFirstChildOfClass("Humanoid").PlatformStand = true
  38. end
  39. for i = 0,1,.1 do
  40. thing.CFrame = start:lerp(finish, i)
  41. rs.C0 = starts:lerp(finishs, i)
  42. wait()
  43. end
  44. thing.CanCollide = false
  45. thing.Anchored = false
  46. neww = Instance.new("Weld", thing)
  47. neww.Part0 = rp
  48. neww.Part1 = thing
  49. end
  50. elseif ONO == false then
  51. neww:Destroy()
  52. why = Instance.new("BodyPosition", thing)
  53. why.Position = mou.Hit.p
  54. why.MaxForce = Vector3.new(10000, 10000, 10000)
  55. game:GetService("Debris"):AddItem(why, 10)
  56. rs.C0 = starts
  57. ONO = true
  58. end
  59. end)
  60.  
  61. while true do
  62. wait()
  63. hum.PlatformStand = false
  64. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement