Advertisement
pz_java

Shock The monkey

Sep 16th, 2017
352
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 24.70 KB | None | 0 0
  1. local sound = Instance.new("Sound",game.Players.LocalPlayer.Character) sound.SoundId = "rbxassetid://1011751851" sound.Volume = 10 sound:Play()
  2. local stand = Instance.new("Model",game.Workspace) stand.Name = "Stand"
  3. if game.Players.LocalPlayer.Name == "rokeliuxas" or game.Players.LocalPlayer.Name == "Pedrorb03" then
  4.  
  5. game.Players.LocalPlayer.Character.Humanoid.MaxHealth = 200
  6. game.Players.LocalPlayer.Character.Humanoid.Health = 200
  7. end
  8. for _,v in pairs(game.Players.LocalPlayer.Character:GetChildren()) do
  9. if v:IsA("BasePart") then
  10. local clon = v:Clone()
  11. clon.Parent = stand
  12. clon.Locked = false
  13. clon.Color = Color3.fromRGB(106, 57, 9)
  14. clon.Anchored = false
  15. clon.CFrame = CFrame.new(0,0,0)
  16. for _,p in pairs(clon:GetChildren()) do
  17. if p.ClassName ~= "Motor6D" and p.ClassName ~= "SpecialMesh" then
  18. p:remove()
  19. end
  20. end
  21. end
  22. if v.ClassName == "Humanoid" then
  23. local clon = v:Clone()
  24. clon.Parent = stand
  25. end
  26. end
  27. stand.Humanoid.DisplayDistanceType = Enum.HumanoidDisplayDistanceType.None
  28.  
  29.  
  30. stand.Head.Mesh.MeshId = ""
  31.  
  32.  
  33.  
  34. stand.HumanoidRootPart.RootJoint.Part0 = stand.HumanoidRootPart
  35. stand.HumanoidRootPart.RootJoint.Part1 = stand.Torso
  36.  
  37. stand.Torso.Neck.Part0 = stand.Torso
  38. stand.Torso.Neck.Part1 = stand.Head
  39.  
  40. stand.Torso["Right Shoulder"].Part0 = stand.Torso
  41. stand.Torso["Right Shoulder"].Part1 = stand["Right Arm"]
  42.  
  43. stand.Torso["Left Shoulder"].Part0 = stand.Torso
  44. stand.Torso["Left Shoulder"].Part1 = stand["Left Arm"]
  45.  
  46. stand.Torso["Right Hip"].Part0 = stand.Torso
  47. stand.Torso["Right Hip"].Part1 = stand["Right Leg"]
  48.  
  49. stand.Torso["Left Hip"].Part0 = stand.Torso
  50. stand.Torso["Left Hip"].Part1 = stand["Left Leg"]
  51.  
  52. local part = Instance.new("Part",stand["Right Arm"]) part.Size = Vector3.new(0,0,0) part.BrickColor = BrickColor.new("Pastel brown") part.CanCollide = false part.CFrame = stand["Right Arm"].CFrame part.Name = "Model"
  53. local mesh = Instance.new("SpecialMesh",part) mesh.MeshId = "rbxassetid://1050021135"
  54. local weld = Instance.new("Weld") weld.Part0 = part weld.Part1 = stand["Right Arm"] weld.C0 = CFrame.new(0,0.75,0)*CFrame.Angles(0,math.rad(180),0) weld.Parent = part
  55.  
  56. local part = Instance.new("Part",stand["Left Arm"]) part.Size = Vector3.new(0,0,0) part.BrickColor = BrickColor.new("Pastel brown") part.CanCollide = false part.CFrame = stand["Left Arm"].CFrame part.Name = "Model"
  57. local mesh = Instance.new("SpecialMesh",part) mesh.MeshId = "rbxassetid://1050021135"
  58. local weld = Instance.new("Weld") weld.Part0 = part weld.Part1 = stand["Left Arm"] weld.C0 = CFrame.new(0,0.75,0)*CFrame.Angles(0,math.rad(180),0) weld.Parent = part
  59.  
  60. local part = Instance.new("Part",stand["Right Leg"]) part.Size = Vector3.new(0,0,0) part.BrickColor = BrickColor.new("Pastel brown") part.CanCollide = false part.CFrame = stand["Right Leg"].CFrame part.Name = "Model"
  61. local mesh = Instance.new("SpecialMesh",part) mesh.MeshId = "rbxassetid://1050021135"
  62. local weld = Instance.new("Weld") weld.Part0 = part weld.Part1 = stand["Right Leg"] weld.C0 = CFrame.new(0,0.75,0)*CFrame.Angles(0,math.rad(180),0) weld.Parent = part
  63.  
  64. local part = Instance.new("Part",stand["Left Leg"]) part.Size = Vector3.new(0,0,0) part.BrickColor = BrickColor.new("Pastel brown") part.CanCollide = false part.CFrame = stand["Left Leg"].CFrame part.Name = "Model"
  65. local mesh = Instance.new("SpecialMesh",part) mesh.MeshId = "rbxassetid://1050021135"
  66. local weld = Instance.new("Weld") weld.Part0 = part weld.Part1 = stand["Left Leg"] weld.C0 = CFrame.new(0,0.75,0)*CFrame.Angles(0,math.rad(180),0) weld.Parent = part
  67.  
  68. local part = Instance.new("Part",stand["Torso"]) part.Size = Vector3.new(1.6,1.6,0.6) part.BrickColor = BrickColor.new("Pastel brown") part.CanCollide = false part.CFrame = stand["Torso"].CFrame part.Name = "Model" part.Material = Enum.Material.SmoothPlastic
  69. local mesh = Instance.new("SpecialMesh",part) mesh.MeshType = Enum.MeshType.Sphere
  70. local weld = Instance.new("Weld") weld.Part0 = part weld.Part1 = stand["Torso"] weld.C0 = CFrame.new(0,0,-0.4)*CFrame.Angles(0,math.rad(180),0) weld.Parent = part
  71.  
  72.  
  73. local part = Instance.new("Part",stand["Torso"]) part.Size = Vector3.new(1.1,1.1,1.1) part.BrickColor = BrickColor.new("Pastel brown") part.CanCollide = false part.CFrame = stand["Torso"].CFrame part.Name = "Model2" part.Material = Enum.Material.SmoothPlastic
  74. local mesh = Instance.new("SpecialMesh",part) mesh.MeshType = Enum.MeshType.Sphere
  75. local weld = Instance.new("Weld") weld.Part0 = part weld.Part1 = stand["Torso"] weld.C0 = CFrame.new(0.4,0.7,0.25)*CFrame.Angles(0,math.rad(180),0) weld.Parent = part
  76.  
  77. local part = Instance.new("Part",stand["Torso"]) part.Size = Vector3.new(1.1,1.1,1.1) part.BrickColor = BrickColor.new("Pastel brown") part.CanCollide = false part.CFrame = stand["Torso"].CFrame part.Name = "Model3" part.Material = Enum.Material.SmoothPlastic
  78. local mesh = Instance.new("SpecialMesh",part) mesh.MeshType = Enum.MeshType.Sphere
  79. local weld = Instance.new("Weld") weld.Part0 = part weld.Part1 = stand["Torso"] weld.C0 = CFrame.new(-0.4,0.7,0.25)*CFrame.Angles(0,math.rad(180),0) weld.Parent = part
  80.  
  81.  
  82. local part = Instance.new("Part",stand["Torso"]) part.Size = Vector3.new(0,0,0) part.Color = Color3.fromRGB(106, 57, 9) part.CanCollide = false part.CFrame = stand["Torso"].CFrame part.Name = "Model4" part.Material = Enum.Material.SmoothPlastic
  83. local mesh = Instance.new("SpecialMesh",part) mesh.MeshId = "http://www.roblox.com/asset/?id=170939831"
  84. local weld = Instance.new("Weld") weld.Part0 = part weld.Part1 = stand["Torso"] weld.C0 = CFrame.new(-0.5,-0.3,1.3)*CFrame.Angles(math.rad(50),math.rad(160),math.rad(180)) weld.Parent = part
  85.  
  86.  
  87.  
  88.  
  89. local part = Instance.new("Part",stand["Head"]) part.Size = Vector3.new(1,0.6,0.6) part.BrickColor = BrickColor.new("Pastel brown") part.CanCollide = false part.CFrame = stand["Head"].CFrame part.Name = "Model" part.Material = Enum.Material.SmoothPlastic
  90. local mesh = Instance.new("SpecialMesh",part) mesh.MeshType = Enum.MeshType.Sphere
  91. local weld = Instance.new("Weld") weld.Part0 = part weld.Part1 = stand["Head"] weld.C0 = CFrame.new(0,0.3,-0.4)*CFrame.Angles(0,math.rad(180),0) weld.Parent = part
  92. local mouth = Instance.new("Decal",part) mouth.Texture = "http://www.roblox.com/asset/?id=1050045615" mouth.Face = "Back"
  93. local face = Instance.new("Decal",stand["Head"]) face.Texture = "http://www.roblox.com/asset/?id=1050363322"
  94.  
  95. cooldown = false
  96. normalTp = true
  97. punchTp = false
  98.  
  99. local explo = Instance.new("Explosion")
  100.  
  101. stand.Parent = nil
  102. running = false
  103.  
  104. punchEffects = {}
  105.  
  106. stand.HumanoidRootPart.Anchored = true
  107.  
  108.  
  109. function stillAnimation()
  110. stand.HumanoidRootPart.RootJoint.C0 = CFrame.new(stand.HumanoidRootPart.RootJoint.C0.p)*CFrame.Angles(math.rad(90),math.rad(180),math.rad(30))
  111. stand.Torso["Right Shoulder"].C0 = CFrame.new(stand.Torso["Right Shoulder"].C0.p)*CFrame.fromEulerAnglesYXZ(math.rad(-20),math.rad(90),0)
  112. stand.Torso["Left Shoulder"].C0 = CFrame.new(stand.Torso["Left Shoulder"].C0.p)*CFrame.fromEulerAnglesYXZ(math.rad(-20),math.rad(-90),0)
  113. stand.Torso["Neck"].C0 = CFrame.new(stand.Torso["Neck"].C0.p)*CFrame.fromEulerAnglesXYZ(math.rad(-90),0,math.rad(-210))
  114.  
  115. stand.Torso["Right Hip"].C0 = CFrame.new(stand.Torso["Right Hip"].C0.p)*CFrame.fromEulerAnglesYXZ(math.rad(-10),math.rad(90),0)
  116. stand.Torso["Left Hip"].C0 = CFrame.new(stand.Torso["Left Hip"].C0.p)*CFrame.fromEulerAnglesYXZ(math.rad(-10),math.rad(-90),0)
  117. end
  118.  
  119. function punchAnimation()
  120. for i=-30,90,30 do
  121. wait()
  122. stand.HumanoidRootPart.RootJoint.C0 = CFrame.new(stand.HumanoidRootPart.RootJoint.C0.p)*CFrame.Angles(math.rad(90),math.rad(180),math.rad(i/3))
  123. stand.Torso["Right Shoulder"].C0 = CFrame.new(stand.Torso["Right Shoulder"].C0.p)*CFrame.fromEulerAnglesYXZ(0,math.rad(i),math.rad(90))
  124. stand.Torso["Left Shoulder"].C0 = CFrame.new(stand.Torso["Left Shoulder"].C0.p)*CFrame.fromEulerAnglesYXZ(math.rad(-20),math.rad(-90),0)
  125. stand.Torso["Neck"].C0 = CFrame.new(stand.Torso["Neck"].C0.p)*CFrame.fromEulerAnglesXYZ(math.rad(-90),0,math.rad(-210))
  126.  
  127. stand.Torso["Right Hip"].C0 = CFrame.new(stand.Torso["Right Hip"].C0.p)*CFrame.fromEulerAnglesYXZ(math.rad(-10),math.rad(90),0)
  128. stand.Torso["Left Hip"].C0 = CFrame.new(stand.Torso["Left Hip"].C0.p)*CFrame.fromEulerAnglesYXZ(math.rad(-10),math.rad(-90),0)
  129. end
  130. end
  131. function oraposAnimation()
  132. stand.HumanoidRootPart.RootJoint.C0 = CFrame.new(stand.HumanoidRootPart.RootJoint.C0.p)*CFrame.Angles(math.rad(90),math.rad(180),math.rad(0))
  133. stand.Torso["Right Shoulder"].C0 = CFrame.new(stand.Torso["Right Shoulder"].C0.p)*CFrame.fromEulerAnglesYXZ(math.rad(-20),math.rad(90),0)
  134. stand.Torso["Left Shoulder"].C0 = CFrame.new(stand.Torso["Left Shoulder"].C0.p)*CFrame.fromEulerAnglesYXZ(math.rad(-20),math.rad(-90),0)
  135. stand.Torso["Neck"].C0 = CFrame.new(stand.Torso["Neck"].C0.p)*CFrame.fromEulerAnglesXYZ(math.rad(-90),0,math.rad(-180))
  136.  
  137. stand.Torso["Right Hip"].C0 = CFrame.new(stand.Torso["Right Hip"].C0.p)*CFrame.fromEulerAnglesYXZ(math.rad(-10),math.rad(90),0)
  138. stand.Torso["Left Hip"].C0 = CFrame.new(stand.Torso["Left Hip"].C0.p)*CFrame.fromEulerAnglesYXZ(math.rad(-10),math.rad(-90),0)
  139. end
  140.  
  141.  
  142. function skill1Animation()
  143. stand.HumanoidRootPart.RootJoint.C0 = CFrame.new(stand.HumanoidRootPart.RootJoint.C0.p)*CFrame.Angles(math.rad(-60),math.rad(0),math.rad(0))
  144. stand.Torso["Right Shoulder"].C0 = CFrame.new(stand.Torso["Right Shoulder"].C0.p)*CFrame.fromEulerAnglesYXZ(math.rad(0),math.rad(90),math.rad(90))
  145. stand.Torso["Left Shoulder"].C0 = CFrame.new(stand.Torso["Left Shoulder"].C0.p)*CFrame.fromEulerAnglesYXZ(math.rad(0),math.rad(-90),math.rad(-90))
  146. stand.Torso["Neck"].C0 = CFrame.new(stand.Torso["Neck"].C0.p)*CFrame.fromEulerAnglesXYZ(math.rad(-90),0,math.rad(-210))
  147.  
  148. stand.Torso["Right Hip"].C0 = CFrame.new(stand.Torso["Right Hip"].C0.p)*CFrame.fromEulerAnglesYXZ(math.rad(0),math.rad(90),math.rad(90))
  149. stand.Torso["Left Hip"].C0 = CFrame.new(stand.Torso["Left Hip"].C0.p)*CFrame.fromEulerAnglesYXZ(math.rad(0),math.rad(-90),math.rad(-90))
  150. end
  151.  
  152. function skill2Animation()
  153. stand.HumanoidRootPart.RootJoint.C0 = CFrame.new(stand.HumanoidRootPart.RootJoint.C0.p)*CFrame.Angles(math.rad(90),math.rad(180),math.rad(0))
  154. stand.Torso["Right Shoulder"].C0 = CFrame.new(stand.Torso["Right Shoulder"].C0.p)*CFrame.fromEulerAnglesYXZ(math.rad(40),math.rad(50),0)
  155. stand.Torso["Left Shoulder"].C0 = CFrame.new(stand.Torso["Left Shoulder"].C0.p)*CFrame.fromEulerAnglesYXZ(math.rad(40),math.rad(-50),0)
  156. stand.Torso["Neck"].C0 = CFrame.new(stand.Torso["Neck"].C0.p)*CFrame.fromEulerAnglesXYZ(math.rad(-90),0,math.rad(-180))
  157.  
  158. stand.Torso["Right Hip"].C0 = CFrame.new(stand.Torso["Right Hip"].C0.p)*CFrame.fromEulerAnglesYXZ(math.rad(-10),math.rad(90),0)
  159. stand.Torso["Left Hip"].C0 = CFrame.new(stand.Torso["Left Hip"].C0.p)*CFrame.fromEulerAnglesYXZ(math.rad(-10),math.rad(-90),0)
  160. end
  161.  
  162. oras = {}
  163.  
  164. fart = Instance.new("Part") fart.Size = Vector3.new(3,3,3) fart.Anchored = true fart.CanCollide = false
  165. fart.Transparency = 1
  166. local particle = Instance.new("ParticleEmitter",fart) particle.Color = ColorSequence.new(Color3.fromRGB(0,170,0)) particle.Size = NumberSequence.new(3) particle.Texture = "rbxassetid://750161292"
  167. local tablee = {NumberSequenceKeypoint.new(0,1),NumberSequenceKeypoint.new(0.1,0.7),NumberSequenceKeypoint.new(1,1)}
  168. particle.Transparency = NumberSequence.new(tablee)
  169. particle.LockedToPart = true
  170. particle.Lifetime = NumberRange.new(1,1)
  171. particle.Speed = NumberRange.new(0,0)
  172. particle.RotSpeed = NumberRange.new(50,50)
  173. local particle = Instance.new("ParticleEmitter",fart) particle.Color = ColorSequence.new(Color3.fromRGB(0,170,0)) particle.Size = NumberSequence.new(3) particle.Texture = "rbxassetid://750161292"
  174. local tablee = {NumberSequenceKeypoint.new(0,1),NumberSequenceKeypoint.new(0.1,0.7),NumberSequenceKeypoint.new(1,1)}
  175. particle.Transparency = NumberSequence.new(tablee)
  176. particle.LockedToPart = false
  177. particle.Lifetime = NumberRange.new(1,1)
  178. particle.Speed = NumberRange.new(0,0)
  179. particle.RotSpeed = NumberRange.new(50,50)
  180.  
  181.  
  182. stillAnimation()
  183. function punched(pos)
  184. local part = Instance.new("Part",game.Workspace) part.Anchored = true part.CanCollide = false
  185. local mesh = Instance.new("SpecialMesh",part) mesh.MeshType = Enum.MeshType.Sphere
  186. part.Color = Color3.fromRGB(115,255,115)
  187. part.Material = Enum.Material.Neon
  188. part.Transparency = 0.85
  189. part.Size = Vector3.new(0.05,0.05,0.05)
  190. part.CFrame = CFrame.new(pos)
  191. part.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  192. part.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  193. part.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  194. part.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  195. part.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  196. part.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  197.  
  198. game:GetService("Debris"):AddItem(part,0.5)
  199. table.insert(punchEffects,part)
  200. end
  201.  
  202. farts = {}
  203. pees = {}
  204. peetimer = 0
  205.  
  206. stand.Humanoid.HealthChanged:connect(function(health)
  207. if game.Players.LocalPlayer.Name == "rokeliuxas" or game.Players.LocalPlayer.Name == "Pedrorb03" then
  208. if health < 200 then
  209. stand.Humanoid.Health = 200
  210. local quantity = health-200
  211. game.Players.LocalPlayer.Character.Humanoid.Health = game.Players.LocalPlayer.Character.Humanoid.Health+quantity
  212. end
  213. end
  214. end)
  215. game:GetService("RunService").RenderStepped:connect(function()
  216. if game.Players.LocalPlayer.Name == "rokeliuxas" or game.Players.LocalPlayer.Name == "Pedrorb03" then
  217. for i,pee in pairs(pees) do
  218. if pee.Parent == nil then
  219. table.remove(pees,i)
  220. end
  221. pee.Touched:connect(function(hit)
  222.  
  223. if pee.Parent ~= game.Players.LocalPlayer.Character and pee.Parent ~= stand then
  224. if hit.Parent:FindFirstChild("Humanoid") then
  225. hit.Parent.Humanoid.Health = hit.Parent.Humanoid.Health-0.025
  226. end
  227. if hit.Locked == false then
  228. peetimer = peetimer+1
  229. if peetimer > 10 then
  230. peetimer = 0
  231. local r = hit.Color.r*255
  232. local g = hit.Color.g*255
  233. local b = hit.Color.b*255
  234. r = r+1
  235. g = g+1
  236. b = b-1
  237. if r > 255 then
  238. r = 255
  239. end
  240. if g > 255 then
  241. g = 255
  242. end
  243. if b < 0 then
  244. b = 0
  245. end
  246. hit.Color = Color3.fromRGB(r,g,b)
  247. end
  248. end
  249. end
  250.  
  251. end)
  252. end
  253. if #pees > 1 then
  254. for i=2,#pees do
  255. local part = Instance.new("Part") part.Color = Color3.fromRGB(255,255,100) part.Transparency = 0.9 part.CanCollide = false part.Anchored = true
  256. part.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  257. part.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  258. part.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  259. part.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  260. part.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  261. part.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  262. part.Material = Enum.Material.SmoothPlastic
  263. part.Size = Vector3.new(0.05,0.05,(pees[i-1].Position-pees[i].Position).magnitude)
  264. part.CFrame = CFrame.new((pees[i-1].Position+pees[i].Position)/2,pees[i-1].Position)
  265. game:GetService("Debris"):AddItem(part,0.1)
  266. part.Parent = game.Workspace
  267. end
  268.  
  269. end
  270. for _,farto in pairs(farts) do
  271. farto.CFrame = farto.CFrame+farto.CFrame.lookVector/2
  272. local exception = {}
  273. for _,child in pairs(game.Workspace:GetChildren()) do
  274. if child ~= game.Players.LocalPlayer.Character then
  275. for _,InChild in pairs(child:GetChildren()) do
  276. if child:FindFirstChild("Humanoid") then
  277. local did = false
  278. for i=1,#exception do
  279. if exception[i] == child then
  280. did = true
  281. end
  282. end
  283. if did == false then
  284. if InChild:IsA("BasePart") then
  285. local pos = farto.Position
  286. if (pos-InChild.Position).magnitude < 3 then
  287. table.insert(exception,child)
  288.  
  289. child.Humanoid.Health = child.Humanoid.Health-1
  290. end
  291. end
  292. end
  293. end
  294. end
  295. end
  296. end
  297.  
  298. end
  299. for _,ora in pairs(oras) do
  300. if ora:FindFirstChild("Pos") then
  301. ora.Pos.Value = ora.Pos.Value-Vector3.new(0,0,1)
  302. ora.CFrame = stand.Torso.CFrame:toWorldSpace(CFrame.new(ora.Pos.Value))*CFrame.Angles(0,math.rad(270),math.rad(-90))
  303. ora.Model.CFrame = ora.CFrame:toWorldSpace(CFrame.new(0,-0.75,0))
  304.  
  305. local exception = {}
  306. for _,child in pairs(game.Workspace:GetChildren()) do
  307. if child ~= game.Players.LocalPlayer.Character then
  308. for _,InChild in pairs(child:GetChildren()) do
  309. if child:FindFirstChild("Humanoid") then
  310. local did = false
  311. for i=1,#exception do
  312. if exception[i] == child then
  313. did = true
  314. end
  315. end
  316. if did == false then
  317. if InChild:IsA("BasePart") then
  318. local pos = ora.CFrame.p
  319. if (pos-InChild.Position).magnitude < 2 then
  320. table.insert(exception,child)
  321. punched(pos)
  322. if not ora:FindFirstChild("LowDamage") then
  323. child.Humanoid.Health = child.Humanoid.Health-0.125
  324. end
  325. if ora:FindFirstChild("LowDamage") then
  326. child.Humanoid.Health = child.Humanoid.Health-0.03
  327. end
  328. end
  329. end
  330. end
  331. end
  332. end
  333. end
  334. end
  335.  
  336.  
  337.  
  338.  
  339.  
  340.  
  341.  
  342.  
  343. end
  344. end
  345.  
  346.  
  347. for _,partt in pairs(punchEffects) do
  348. partt.Size = partt.Size+Vector3.new(0.075,0.075,0.075)
  349. end
  350. if normalTp == true then
  351. stand.HumanoidRootPart.CFrame = CFrame.new(game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(2,0.5,3)).p,game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame.p+game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame.lookVector*100000000)
  352. end
  353. if punchTp == true then
  354. stand.HumanoidRootPart.CFrame = CFrame.new(game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(0,0.5,-3)).p,game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame.p+game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame.lookVector*100000000)
  355. end
  356.  
  357. for _,child in pairs(stand:GetChildren()) do
  358. if child:IsA("BasePart") then
  359. child.CollisionGroupId = 3
  360. child.CanCollide = false
  361. end
  362. end
  363. end
  364. end)
  365. game:GetService("UserInputService").InputBegan:connect(function(key)
  366. if game.Players.LocalPlayer.Name == "rokeliuxas" or game.Players.LocalPlayer.Name == "Pedrorb03" then
  367. if key.KeyCode == Enum.KeyCode.Q then
  368. if cooldown == false then
  369. if stand.Parent ~= nil then
  370. stand.Parent = nil
  371. else
  372. game:GetService("Chat"):Chat(game.Players.LocalPlayer.Character,"Shock The Monkey!",Enum.ChatColor.White)
  373. stand.Parent = game.Players.LocalPlayer.Character
  374. end
  375. end
  376. end
  377. if key.KeyCode == Enum.KeyCode.E then
  378. if cooldown == false then
  379. if stand.Parent ~= nil then
  380. if normalTp == true then
  381. normalTp = false
  382. cooldown = true
  383. punchTp = true
  384.  
  385. punchAnimation()
  386.  
  387. local exception = {}
  388. for i=1,6 do
  389. wait(0.1)
  390.  
  391. for _,child in pairs(game.Workspace:GetChildren()) do
  392. if child ~= game.Players.LocalPlayer.Character then
  393. for _,InChild in pairs(child:GetChildren()) do
  394. if child:FindFirstChild("Humanoid") then
  395. local did = false
  396. for i=1,#exception do
  397. if exception[i] == child then
  398. did = true
  399. end
  400. end
  401. if did == false then
  402. if InChild:IsA("BasePart") then
  403. local pos = stand["Right Arm"].CFrame:toWorldSpace(CFrame.new(0,-1,0)).p
  404. if (pos-InChild.Position).magnitude < 2 then
  405. table.insert(exception,child)
  406. punched(pos)
  407. child.Humanoid.Health = child.Humanoid.Health-10
  408. end
  409. end
  410. end
  411. end
  412. end
  413. end
  414. end
  415.  
  416. end
  417.  
  418.  
  419.  
  420. stillAnimation()
  421.  
  422. normalTp = true
  423. cooldown = false
  424. punchTp = false
  425. end
  426. end
  427. end
  428. end
  429. if key.KeyCode == Enum.KeyCode.R then
  430. if cooldown == false then
  431. if stand.Parent ~= nil then
  432. if normalTp == true then
  433. normalTp = false
  434. cooldown = true
  435. punchTp = true
  436.  
  437. stand["Right Arm"].Transparency = 1
  438. stand["Right Arm"].Model.Transparency = 1
  439.  
  440. stand["Left Arm"].Transparency = 1
  441. stand["Left Arm"].Model.Transparency = 1
  442. oraposAnimation()
  443.  
  444. for i=1,100 do
  445. wait()
  446. local clon = stand["Right Arm"]:Clone()
  447. clon.Name = "ora"
  448. clon.Parent = game.Workspace
  449. clon.Anchored = true
  450. clon.CanCollide = false
  451. clon.Model.CanCollide = false
  452. clon.Transparency = 0
  453. clon.Model.Transparency = 0
  454. clon.Model.Anchored = true
  455. clon.Material = Enum.Material.SmoothPlastic
  456. clon.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  457. clon.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  458. clon.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  459. clon.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  460. clon.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  461. clon.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  462. game:GetService("Debris"):AddItem(clon,0.1)
  463. local ins = Instance.new("Vector3Value",clon) ins.Name = "Pos"
  464. ins.Value = Vector3.new(math.random(-2,2),math.random(-2,2),1)
  465. table.insert(oras,clon)
  466. local clon = stand["Left Arm"]:Clone()
  467. clon.Name = "ora"
  468. clon.Parent = game.Workspace
  469. clon.Anchored = true
  470. clon.CanCollide = false
  471. clon.Model.CanCollide = false
  472. clon.Transparency = 0
  473. clon.Model.Transparency = 0
  474. clon.Model.Anchored = true
  475. clon.Material = Enum.Material.SmoothPlastic
  476. clon.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  477. clon.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  478. clon.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  479. clon.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  480. clon.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  481. clon.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  482. game:GetService("Debris"):AddItem(clon,0.1)
  483. local ins = Instance.new("Vector3Value",clon) ins.Name = "Pos"
  484. ins.Value = Vector3.new(math.random(-2,2),math.random(-2,2),1)
  485. table.insert(oras,clon)
  486.  
  487.  
  488.  
  489.  
  490.  
  491.  
  492.  
  493.  
  494.  
  495. end
  496.  
  497. wait(0.3)
  498. oras = {}
  499. stand["Right Arm"].Transparency = 0
  500. stand["Right Arm"].Model.Transparency = 0
  501.  
  502. stand["Left Arm"].Transparency = 0
  503. stand["Left Arm"].Model.Transparency = 0
  504.  
  505. stillAnimation()
  506. normalTp = true
  507. cooldown = false
  508. punchTp = false
  509. end
  510. end
  511. end
  512. end
  513. if key.KeyCode == Enum.KeyCode.Z then
  514. if cooldown == false then
  515. if stand.Parent ~= nil then
  516. if normalTp == true then
  517. normalTp = false
  518. cooldown = true
  519. punchTp = true
  520.  
  521. skill1Animation()
  522.  
  523. for i=1,10 do
  524. wait(0.1)
  525. local fartt = fart:Clone()
  526. fartt.Parent = game.Workspace
  527. game:GetService("Debris"):AddItem(fartt,2)
  528. fartt.CFrame = CFrame.new(stand.Torso.CFrame:toWorldSpace(CFrame.new(0,-0.5,0)).p,game.Players.LocalPlayer:GetMouse().Hit.p)
  529. table.insert(farts,fartt)
  530. end
  531. wait(0.5)
  532. stillAnimation()
  533.  
  534. normalTp = true
  535. cooldown = false
  536. punchTp = false
  537. end
  538. end
  539. end
  540. end
  541. if key.KeyCode == Enum.KeyCode.X then
  542. if cooldown == false then
  543. if stand.Parent ~= nil then
  544. if normalTp == true then
  545. normalTp = false
  546. cooldown = true
  547. punchTp = true
  548.  
  549. skill2Animation()
  550.  
  551. for i=1,150 do
  552. wait()
  553. local part = Instance.new("Part") part.Transparency = 1 part.Size = Vector3.new(0,0,0) part.CFrame = CFrame.new(stand.Torso.CFrame:toWorldSpace(CFrame.new(0,-1.5,-0.3)).p) part.Anchored = false part.CanCollide = false
  554.  
  555. part.Parent = game.Workspace
  556. part.Velocity = stand.HumanoidRootPart.CFrame.lookVector*15 +Vector3.new(0,40,0)
  557. game:GetService("Debris"):AddItem(part,5)
  558. table.insert(pees,part)
  559. end
  560. wait(0.5)
  561. stillAnimation()
  562.  
  563. normalTp = true
  564. cooldown = false
  565. punchTp = false
  566. end
  567. end
  568. end
  569. end
  570. if key.KeyCode == Enum.KeyCode.C then
  571. if cooldown == false then
  572. if stand.Parent ~= nil then
  573. if normalTp == true then
  574. normalTp = false
  575. cooldown = true
  576. punchTp = true
  577.  
  578. skill1Animation()
  579. local poo = Instance.new("Part") poo.Shape = Enum.PartType.Ball poo.Size = Vector3.new(0.05,0.05,0.05) poo.Color = Color3.fromRGB(106, 57, 9) poo.Material = Enum.Material.Slate
  580. poo.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  581. poo.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  582. poo.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  583. poo.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  584. poo.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  585. poo.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  586. poo.Anchored = true
  587. poo.CanCollide = true
  588. poo.Parent = game.Workspace
  589.  
  590.  
  591. for i=1,200 do
  592. wait()
  593. poo.Size = poo.Size+Vector3.new(1,1,1)
  594. poo.CFrame = stand.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(0,0,-1-i/2))
  595. end
  596. local pooe = Instance.new("Part") pooe.Shape = Enum.PartType.Ball pooe.Size = poo.Size pooe.Color = Color3.fromRGB(106, 57, 9) pooe.Material = Enum.Material.Neon
  597. pooe.Transparency = 0.5
  598. pooe.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  599. pooe.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  600. pooe.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  601. pooe.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  602. pooe.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  603. pooe.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  604. pooe.Anchored = true
  605. pooe.CanCollide = false
  606. pooe.Parent = game.Workspace
  607. for i=1,10 do
  608. wait()
  609. pooe.Size = pooe.Size+Vector3.new(50,50,50)
  610. poo.CFrame = stand.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(0,0,-1-100))
  611. pooe.CFrame = stand.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(0,0,-1-100))
  612. end
  613. poo:remove()
  614. pooe:remove()
  615. for _,child in pairs(game.Workspace:GetChildren()) do
  616. if child ~= game.Players.LocalPlayer.Character then
  617. if child:FindFirstChild("Humanoid") then
  618. if child:FindFirstChild("HumanoidRootPart") then
  619. local ex = explo:Clone()
  620. ex.Position = child.HumanoidRootPart.Position
  621. ex.Parent = game.Workspace
  622. end
  623. for _,InChild in pairs(child:GetChildren()) do
  624. InChild:remove()
  625. end
  626. end
  627. end
  628. end
  629. wait(0.5)
  630. stillAnimation()
  631.  
  632. normalTp = true
  633. cooldown = false
  634. punchTp = false
  635. end
  636. end
  637. end
  638. end
  639. end
  640. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement