Advertisement
cat568

Untitled

May 14th, 2018
149
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.92 KB | None | 0 0
  1.  
  2. local Player = game.Players.LocalPlayer
  3. local mouse = Player:GetMouse()
  4. local char = Player.Character
  5. local hum = char:WaitForChild("Humanoid")
  6. local head = char:WaitForChild("Head")
  7. local torso = char:WaitForChild("Torso")
  8. local root = char:WaitForChild("HumanoidRootPart")
  9. local rarm = char["Right Arm"]
  10. local larm = char["Left Arm"]
  11. local rleg = char["Right Leg"]
  12. char.Archivable = true
  13. local lleg = char["Left Leg"]
  14. enabled = false
  15. --person = workspace.Suflet
  16. rage = true
  17. deb = false
  18. local o_torso = root["RootJoint"].C1
  19. local o_head = torso["Neck"].C1
  20. local o_rarm = torso["Right Shoulder"].C1
  21. local o_larm = torso["Left Shoulder"].C1
  22. local o_rleg = torso["Right Hip"].C1
  23. local o_lleg = torso["Left Hip"].C1
  24. brickval = BrickColor.new("New Yeller")
  25. sizeval = 0.1
  26. math.randomseed(tick())
  27. --head.Mesh.Scale = Vector3.new(3,3,3)
  28. local _torso = root["RootJoint"]
  29. local _head = torso["Neck"]
  30. local _rarm = torso["Right Shoulder"]
  31. local _larm = torso["Left Shoulder"]
  32. local _rleg = torso["Right Hip"]
  33. local _lleg = torso["Left Hip"]
  34. horns = Instance.new("Part", char)
  35. horns.CanCollide = false
  36. horns.Material = "Neon"
  37. horns.Name = "ramhorns"
  38. mesh = Instance.new("SpecialMesh", horns)
  39. mesh.MeshId = "rbxassetid://991156013"
  40. mesh.TextureId = "http://www.roblox.com/asset/?id=379541232"
  41. mesh.Scale = Vector3.new(1,1,1.1)
  42. weld = Instance.new("Weld", char)
  43. weld.Part0 = horns
  44. weld.Part1 = head
  45. weld.C1 = CFrame.new(0,.5,.8)
  46. weld.C0 = CFrame.Angles(math.rad(0),math.rad(180),math.rad(0))
  47. --_torso.C0 = CFrame.Angles(math.rad(180),0,math.rad(180))
  48. --_lleg.C0 = CFrame.new(1,-1,0)*CFrame.Angles(math.rad(0),math.rad(90),math.rad(90))
  49. --_rleg.C0 = CFrame.new(0,-1,0)*CFrame.Angles(0,math.rad(90),math.rad(90))
  50. hum.AutoRotate = false
  51. v = 1
  52. hold = false
  53.  
  54. function babies()
  55. pooped = char:Clone()
  56. pooped.Parent = workspace
  57. pooped.Torso.CFrame = torso.CFrame * CFrame.new(0,-1,2)
  58. pooped.Torso.Velocity = -torso.CFrame.lookVector * math.random(10,30)
  59. pooped.ramhorns:Destroy()
  60. --pooped
  61. --v = Instance.new("BodyVelocity", pooped.Torso)
  62. --[[ spawn(function()
  63. if laid == true then
  64. while wait() do
  65. pooped.Humanoid:MoveTo(torso.Position)
  66. end
  67. end)--]]
  68.  
  69. pooped.Humanoid:ChangeState(Enum.HumanoidStateType.GettingUp)
  70. pooped.Humanoid:SetStateEnabled(1, false)
  71. function find(tab, arg, pos)
  72. for i,v in pairs(tab) do
  73. if v == arg and i == pos then
  74. return true
  75. end
  76. end
  77. return false
  78. end
  79.  
  80. function makeGiant(Character, S)
  81. local welds, hats = {}, {}
  82. local torso = Character:findFirstChild("Torso")
  83. head = Character:FindFirstChild("Head")
  84. local pos = torso.Position
  85. local ssss = torso.Size.Y
  86. for _,v in pairs(torso:children()) do
  87. if v:IsA("Motor6D") or v:IsA("Weld") or v:IsA("Motor") then
  88. table.insert(welds, {v, v.Part0, v.Part1})
  89. end
  90. end
  91. for _, v in pairs(Character:children()) do
  92. if v:IsA("Hat") then
  93. v.AttachmentPos = v.AttachmentPos*S
  94. v.Handle.Mesh.Scale = v.Handle.Mesh.Scale*S
  95. v:Destroy()
  96. table.insert(hats, v)
  97. elseif v:IsA("BasePart") then
  98. v.formFactor = "Custom"
  99. v.Size = v.Size*S
  100. elseif v:IsA("Shirt") or v:IsA("Pants") or v:IsA("ShirtGraphic") then
  101. end
  102. end
  103. local anim = Character.Animate
  104. local animc = anim:clone()
  105. anim:remove()
  106. for _,v in pairs(welds) do
  107. local c1 = v[1].C1
  108. local c0 = v[1].C0
  109. local a1, a2, a3 = c1:toEulerAnglesXYZ()
  110. local b1, b2, b3 = c0:toEulerAnglesXYZ()
  111. c1 = CFrame.new(c1.p * S) * CFrame.Angles(a1, a2, a3)
  112. c0 = CFrame.new(c0.p * S) * CFrame.Angles(b1, b2, b3)
  113. local clon = v[1]:clone()
  114. v[1]:remove()
  115. clon.C1 = c1
  116. clon.C0 = c0
  117. clon.Part1 = v[3]
  118. clon.Part0 = v[2]
  119. clon.Parent = Character.Torso
  120. finalweld = Instance.new("Weld", Character)
  121. finalweld.Part0 = Character.Torso
  122. finalweld.Part1 = Character.HumanoidRootPart
  123. end
  124. animc.Parent = Character
  125. Character.Humanoid.WalkSpeed = 6+10*S
  126.  
  127. Character:MoveTo(pos+Vector3.new(0,S*(ssss/2),0))
  128. wait(0.1)
  129. Character.Humanoid.HipHeight = 0
  130.  
  131. for i,v in pairs(hats) do
  132. end
  133. end
  134.  
  135. makeGiant(pooped, 0.4)
  136. end
  137.  
  138. mouse.KeyDown:connect(function(key)
  139. if key == "e" then
  140. asd = math.random(1,10)
  141. asd2 = math.random(1,4)
  142. for i = 1,asd2 do
  143. p = Instance.new("Part", workspace)
  144. if asd ~= 5 then
  145. p.CFrame = torso.CFrame * CFrame.new(math.random(-20,20)/10,-1,2)
  146. p.Size = Vector3.new(0.4,0.4,0.4 )
  147. p.BrickColor = BrickColor.new("Rust")
  148. p.Velocity = -torso.CFrame.lookVector * math.random(10,30)
  149. elseif asd == 5 then
  150. asd2 = 1
  151. --[[p.Size = Vector3.new(2,2,2)
  152. p.BrickColor = BrickColor.new("New Yeller")
  153. p.Material = "Neon"
  154. p.CFrame = torso.CFrame--]]
  155. --babies()
  156.  
  157. end
  158. end
  159. elseif key == "r" then
  160. babies()
  161. end
  162. end)
  163. mouse.Button1Down:connect(function()
  164. hitbox = Instance.new("Part", char)
  165. hitbox.Size = Vector3.new(4,1,4)
  166. hitbox.Transparency = 1
  167. hitbox.CanCollide = false
  168. w = Instance.new("Weld", char )
  169. w.Part0 = hitbox
  170. w.Part1 = head
  171. w.C1 = CFrame.new(0,1,0)
  172. deb = false
  173. function onDamage(Part)
  174. if Part.Parent:FindFirstChild("Humanoid") ~= nil and Part.Parent.Name ~= game.Players.LocalPlayer.Name and deb == false then
  175. deb = true
  176. Part.Parent.Humanoid.PlatformStand = true
  177. Part.Parent.Humanoid:TakeDamage(v/5 * Part.Parent.Humanoid.MaxHealth/600)
  178. Part.Parent.Torso.Velocity = root.CFrame.lookVector *Vector3.new(v,v,v)
  179. end
  180. wait(3)
  181. deb = false
  182. end
  183.  
  184. hitbox.Touched:connect(onDamage)
  185. hold = true
  186. _torso.C0 = CFrame.new(0,-0.2,0)*CFrame.Angles(math.rad(180),0,math.rad(180))
  187. _lleg.C0 = CFrame.new(1,-1,0)*CFrame.Angles(math.rad(0),math.rad(90),math.rad(90))
  188. _rleg.C0 = CFrame.new(0,-1,0)*CFrame.Angles(0,math.rad(90),math.rad(90))
  189. vel = Instance.new("BodyVelocity", root)
  190. vel.maxForce = Vector3.new(math.huge,0,math.huge)
  191. spawn(function()
  192. game:getService("RunService").RenderStepped:connect(function()
  193. local mp = mouse.Hit.p+ Vector3.new(-2,0,0)
  194. torso.CFrame = CFrame.new(torso.Position, Vector3.new(mp.x, torso.Position.Y, mp.z))
  195. end)
  196. end)
  197. v = 20
  198. val = 0
  199. spawn(function()
  200. while hold == true do
  201. local p = Instance.new("Part", workspace)
  202. p.Anchored = true
  203. p.CFrame = head.CFrame * CFrame.Angles(math.rad(180),0,0)
  204. p.CanCollide = false
  205. if rage == false then
  206. p.Size = Vector3.new(0.1,0.1,0.1)
  207. p.BrickColor = brickval
  208. elseif rage == true then
  209. p.BrickColor = BrickColor.new("Really red")
  210. end
  211. local mesh = Instance.new("SpecialMesh", p)
  212. mesh.MeshId = "http://www.roblox.com/asset/?id=20329976"
  213. game.Debris:AddItem(p, 3)
  214. spawn(function()
  215. if rage == false then
  216. for i = 1,100 do
  217. p.Transparency = i/10
  218. mesh.Scale = mesh.Scale + Vector3.new(sizeval*10,sizeval,sizeval*10)
  219. wait()
  220. end
  221. elseif rage == true then
  222. for i = 1,100 do
  223. p.Transparency = i/10
  224. mesh.Scale = mesh.Scale + Vector3.new(sizeval*80,sizeval*10,sizeval*80)
  225. wait()
  226. end
  227. end
  228. end)
  229. wait(2)
  230. end
  231. end)
  232. while hold == true do
  233. v=v+0.7
  234. vel.maxForce = Vector3.new(math.huge,0,math.huge)
  235. vel.velocity = Player.Character.HumanoidRootPart.CFrame.lookVector * v
  236. wait()
  237. end
  238. end)
  239.  
  240. mouse.Button1Up:connect(function()
  241. hitbox:Destroy()
  242. _torso.C0 = CFrame.new(0,0,0)*CFrame.Angles(math.rad(-90),0,math.rad(180))
  243. _lleg.C0 = CFrame.new(1,-1,0)*CFrame.Angles(math.rad(180),math.rad(90),math.rad(180))
  244. _rleg.C0 = CFrame.new(-1,-1,0)*CFrame.Angles(math.rad(180),math.rad(-90),math.rad(180))
  245. hold = false
  246. v = 0
  247. vel:Destroy()
  248. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement