Advertisement
asdasdasdasd1233

HMM

Mar 24th, 2018
601
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 3.22 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.  
  14.  
  15. char.Archivable = true
  16. fake = char:Clone()
  17. fakehum = fake:FindFirstChildOfClass("Humanoid")
  18. char.Archivable = false
  19. fake.Parent = workspace
  20. local why = Instance.new("Part", workspace)
  21. why.Material = "Slate"
  22. why.Size = Vector3.new(46, 69, 20)
  23. why.CFrame = tor.CFrame * CFrame.new(0, 34, -60) * CFrame.Angles(0, math.rad(180), 0)
  24. why.Anchored = true
  25. local dirt = Instance.new("Part", workspace)
  26. dirt.BrickColor = BrickColor.new("Burnt Sienna")
  27. dirt.Material = "Slate"
  28. dirt.Size = Vector3.new(55, 5, 90)
  29. dirt.CFrame = why.CFrame * CFrame.new(0, -35, -30)
  30. dirt.Anchored = true
  31. OOF = Instance.new("Part", why)
  32. OOF.CanCollide = false
  33. OOF.Shape = "Ball"
  34. OOF.BrickColor = BrickColor.new("Eggplant")
  35. OOF.Material = "Neon"
  36. OOF.Size = Vector3.new(20, 20, 20)
  37. OOF.CFrame = why.CFrame * CFrame.new(0, 47, -20)
  38. OOF.Anchored = true
  39. local nope = Instance.new("SurfaceGui", why)
  40. local yeah = Instance.new("TextButton", nope)
  41. yeah.BackgroundTransparency = 1
  42. yeah.TextScaled = true
  43. yeah.Text = "R.I.P "
  44. yeah.Size = UDim2.new(1, 0, 0.5, 0)
  45. yeah.Position = UDim2.new(0, 0, 0, 0)
  46. yeah.Font = "Bodoni"
  47. local yeahh = Instance.new("TextButton", nope)
  48. yeahh.BackgroundTransparency = 1
  49. yeahh.TextScaled = true
  50. yeahh.Text = char.Name
  51. yeahh.Size = UDim2.new(1, 0, 0.3, 0)
  52. yeahh.Position = UDim2.new(0, 0, 0.3, 0)
  53. yeahh.Font = "Bodoni"
  54. local yeahhh = Instance.new("TextButton", nope)
  55. yeahhh.BackgroundTransparency = 1
  56. yeahhh.TextScaled = true
  57. yeahhh.Text = "??? - "..plr.AccountAge
  58. yeahhh.Size = UDim2.new(1, 0, 0.3, 0)
  59. yeahhh.Position = UDim2.new(0, 0, 0.6, 0)
  60. yeahhh.Font = "Bodoni"
  61. fake:MoveTo(dirt.Position)
  62. for i,v in pairs(fake:GetChildren()) do
  63. if v:IsA("Part") then
  64. v.Anchored = true
  65. v.Locked = false
  66. end
  67. if v:IsA("Accessory") then
  68. v.Handle.Anchored = true
  69. end
  70. end
  71.  
  72. mou.Button1Down:connect(function()
  73. if mou.Target ~= nil and mou.Target.Parent and mou.Target.Parent:FindFirstChildOfClass("Humanoid") then
  74. mou.Target.Parent:BreakJoints()
  75. end
  76. ow = Instance.new("Part", workspace)
  77. ow.BrickColor = BrickColor.new("Eggplant")
  78. ow.Material = "Neon"
  79. ow.CanCollide = false
  80. ow.Locked = true
  81. ow.FormFactor = "Custom"
  82. ow.Anchored = true
  83. local WHAT = OOF.CFrame * CFrame.new(0, -15, 0)
  84. local ray = Ray.new(WHAT.p, (mou.Hit.p - WHAT.p).unit * 1000)
  85. local part, position = workspace:FindPartOnRay(ray, char, false, true)
  86. dis = (WHAT.p - position).magnitude
  87. ow.Size = Vector3.new(10, 10, dis)
  88. ow.Transparency = 0
  89. ow.CFrame = CFrame.new(WHAT.p, position) * CFrame.new(0, 0, -dis / 2)
  90. game:GetService("Debris"):AddItem(ow, 0.1)
  91. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement