Advertisement
Guest User

Untitled

a guest
Feb 22nd, 2018
65
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 141.51 KB | None | 0 0
  1. --Made by superunitedgames, edited by InceptionTime
  2. --If credit is removed, go die.
  3. paly = game.Players.LocalPlayer
  4. p = game.Players.LocalPlayer
  5. char = paly.Character
  6. torso = char.Torso
  7. neck = char.Torso.Neck
  8. hum = char.Humanoid
  9. Player = game:GetService("Players").LocalPlayer
  10. local mouse = Player:GetMouse()
  11. Character = Player.Character
  12. tors = Character.Torso
  13. lleg = Character["Left Leg"]
  14. root = Character.HumanoidRootPart
  15. hed = Character.Head
  16. rleg = Character["Right Leg"]
  17. rarm = Character["Right Arm"]
  18. larm = Character["Left Arm"]
  19. tors.Material = Enum.Material.Fabric
  20. local root = char.HumanoidRootPart
  21. local rj = root.RootJoint
  22. local deb = false
  23. local shot = 0
  24. local stanceToggle = "Idle1"
  25. local l = game:GetService("Lighting")
  26. local rs = game:GetService("RunService").RenderStepped
  27. local hb = game:GetService("RunService").Heartbeat
  28. local Stepped = game:GetService("RunService").Stepped
  29. math.randomseed(os.time())
  30. ptez = {0.7, 0.8, 0.9, 1}
  31. local BC = Character["Body Colors"]
  32. BC.HeadColor = BrickColor.new("Bright Blue")
  33. BC.LeftArmColor = BrickColor.new("Bright Blue")
  34. BC.LeftLegColor = BrickColor.new("Bright Blue")
  35. BC.RightArmColor = BrickColor.new("Bright Blue")
  36. BC.RightLegColor = BrickColor.new("Bright Blue")
  37. BC.TorsoColor = BrickColor.new("Really Blue")
  38. local Effects = {}
  39. hed.face:Destroy()
  40. hum.MaxHealth = 1000000
  41. attack = false
  42. vt = Vector3.new
  43. bc = BrickColor.new
  44. br = BrickColor.random
  45. it = Instance.new
  46. cf = CFrame.new
  47. euler = CFrame.fromEulerAnglesXYZ
  48. angles = CFrame.Angles
  49. matr = math.random
  50. local basiccooldown = math.huge
  51. local ultcooldown = math.huge
  52. local secondcooldown = math.huge
  53. local thirdcooldown = math.huge
  54. local s = Instance.new("Sound",char)
  55. s.Name = "sos"
  56. s.SoundId = "http://www.roblox.com/asset/?id=195900687"
  57. s.Pitch = 1
  58. s.Volume = math.huge
  59. s.Looped = true
  60. s:Play()
  61.  
  62. local prtrm = Instance.new("Part",Character)
  63. prtrm.Size = vt(2.1,2.1,1.1)
  64. prtrm.CanCollide = false
  65. prtrm.Transparency = 0.5
  66. prtrm.Material = "SmoothPlastic"
  67. prtrm.BrickColor = bc("Really black")
  68. local wldm = Instance.new("Weld",Character)
  69. wldm.Part0 = tors
  70. wldm.Part1 = prtrm
  71.  
  72. local prtr = Instance.new("Part",Character)
  73. prtr.Size = vt(1.1,2.1,1.1)
  74. prtr.CanCollide = false
  75. prtr.Transparency = 0.5
  76. prtr.Material = "SmoothPlastic"
  77. prtr.BrickColor = bc("Bright violet")
  78. local prtrl = Instance.new("Part",Character)
  79. prtrl.Size = vt(1.1,2.1,1.1)
  80. prtrl.CanCollide = false
  81. prtrl.Transparency = 0.5
  82. prtrl.Material = "SmoothPlastic"
  83. prtrl.BrickColor = bc("Bright violet")
  84. local eff = Instance.new("ParticleEmitter",prtr)
  85. eff.LightEmission = 0
  86. eff.Texture = "rbxassetid://284205403"
  87. eff.Color = ColorSequence.new(Color3.new(1,0,1),Color3.new(1,0,1))
  88. eff.Size = NumberSequence.new(0.5,1)
  89. eff.Acceleration = vt(0,25,0)
  90. eff.Speed = NumberRange.new(-5)
  91. eff.LockedToPart = false
  92. eff.Transparency = NumberSequence.new(0.95)
  93. eff.Lifetime = NumberRange.new(0.5)
  94. eff.Rate = 100000
  95. eff.VelocitySpread = 25
  96. local wld = Instance.new("Weld",Character)
  97. wld.Part0 = rarm
  98. wld.Part1 = prtr
  99. local wldl = Instance.new("Weld",Character)
  100. wldl.Part0 = rleg
  101. wldl.Part1 = prtrl
  102.  
  103. local prtr2 = Instance.new("Part",Character)
  104. prtr2.Size = vt(1.1,2.1,1.1)
  105. prtr2.CanCollide = false
  106. prtr2.Transparency = 0.5
  107. prtr2.Material = "SmoothPlastic"
  108. prtr2.BrickColor = bc("Bright violet")
  109. local prtrl2 = Instance.new("Part",Character)
  110. prtrl2.Size = vt(1.1,2.1,1.1)
  111. prtrl2.CanCollide = false
  112. prtrl2.Transparency = 0.5
  113. prtrl2.Material = "SmoothPlastic"
  114. prtrl2.BrickColor = bc("Bright violet")
  115. local eff2 = Instance.new("ParticleEmitter",prtr2)
  116. eff2.LightEmission = 0
  117. eff2.Texture = "rbxassetid://284205403"
  118. eff2.Color = ColorSequence.new(Color3.new(1,0,1),Color3.new(1,0,1))
  119. eff2.Size = NumberSequence.new(0.5,1)
  120. eff2.Acceleration = vt(0,25,0)
  121. eff2.Speed = NumberRange.new(-5)
  122. eff2.LockedToPart = false
  123. eff2.Transparency = NumberSequence.new(0.95)
  124. eff2.Lifetime = NumberRange.new(0.5)
  125. eff2.Rate = 100000
  126. eff2.VelocitySpread = 25
  127. local wld2 = Instance.new("Weld",Character)
  128. wld2.Part0 = larm
  129. wld2.Part1 = prtr2
  130. local wldl2 = Instance.new("Weld",Character)
  131. wldl2.Part0 = lleg
  132. wldl2.Part1 = prtrl2
  133.  
  134. local lightning = Instance.new("ParticleEmitter",torso)
  135. lightning.Texture = "http://www.roblox.com/asset/?id=348321827"
  136. lightning.LightEmission = 0
  137. lightning.Color = ColorSequence.new(Color3.new(1,0,1),Color3.new(1,0,1))
  138. lightning.LockedToPart = true
  139. lightning.Rate = 20
  140. lightning.Lifetime = NumberRange.new(0.1,0.10)
  141. lightning.Rotation = NumberRange.new(0,360)
  142. lightning.Size = NumberSequence.new(3,3,3)
  143. lightning.Transparency = NumberSequence.new(0,0)
  144. lightning.Speed = NumberRange.new(0,0)
  145. lightning.RotSpeed = NumberRange.new(0,0)
  146. lightning.ZOffset = 5
  147. lightning.Enabled = false
  148.  
  149. local eeeffecto = Instance.new("ParticleEmitter",torso)
  150. eeeffecto.Texture = "http://www.roblox.com/asset/?id=305943367"
  151. eeeffecto.LightEmission = 0
  152. eeeffecto.Color = ColorSequence.new(Color3.new(1,0,1),Color3.new(1,0,1))
  153. eeeffecto.LockedToPart = true
  154. eeeffecto.Rate = 10
  155. eeeffecto.Lifetime = NumberRange.new(0.1,0.1)
  156. eeeffecto.Rotation = NumberRange.new(0,0)
  157. eeeffecto.Size = NumberSequence.new(9,9,9)
  158. eeeffecto.Transparency = NumberSequence.new(0,0)
  159. eeeffecto.Speed = NumberRange.new(0,0)
  160. eeeffecto.RotSpeed = NumberRange.new(0,0)
  161. eeeffecto.Enabled = false
  162.  
  163.  
  164. for i,v in pairs(Character:children()) do
  165. if v:IsA("Shirt") then
  166. v:Destroy()
  167. end
  168. end
  169. for i,v in pairs(Character:children()) do
  170. if v:IsA("Pants") then
  171. v:Destroy()
  172. end
  173. end
  174. for i,v in pairs(char:children()) do
  175. if v:IsA("Accessory") then
  176. v:Destroy()
  177. end
  178. end
  179.  
  180. CV="Hot pink"
  181.  
  182. Reaper = Instance.new("Model",Character)
  183. Reaper.Name = "Reaper"
  184. rh = Instance.new("Part")
  185. rh.Name = "rh"
  186. rh.Parent = Reaper
  187. rh.Locked = true
  188. rh.CanCollide = false
  189. mesh = Instance.new("SpecialMesh")
  190. rh.formFactor = "Symmetric"
  191. mesh.MeshType = "FileMesh"
  192. mesh.MeshId = "http://www.roblox.com/asset/?id=21057410"
  193. mesh.TextureId = "http://www.roblox.com/asset/?id=250577405"
  194. mesh.Scale = Vector3.new(1.05, 1.05, 1.05)
  195. mesh.Parent = rh
  196. local weld = Instance.new("Weld")
  197. weld.Parent = rh
  198. weld.Part0 = rh
  199. weld.Part1 = Player.Character.Head
  200. weld.C0 = CFrame.new(0, -0.045, -0.028)*CFrame.Angles(0, 0, 0)
  201.  
  202. local txt = Instance.new("BillboardGui", char)
  203. txt.Adornee = char .Head
  204. txt.Name = "_status"
  205. txt.Size = UDim2.new(2, 0, 1.2, 0)
  206. txt.StudsOffset = Vector3.new(-9, 8, 0)
  207. local text = Instance.new("TextLabel", txt)
  208. text.Size = UDim2.new(10, 0, 7, 0)
  209. text.FontSize = "Size24"
  210. text.TextScaled = true
  211. text.TextTransparency = 0
  212. text.BackgroundTransparency = 1
  213. text.TextTransparency = 0
  214. text.TextStrokeTransparency = 0
  215. text.Font = "SciFi"
  216. text.TextStrokeColor3 = BrickColor.new("Really black").Color
  217.  
  218. v=Instance.new("Part")
  219. v.Name = "ColorBrick"
  220. v.Parent=p.Character
  221. v.FormFactor="Symmetric"
  222. v.Anchored=true
  223. v.CanCollide=false
  224. v.BottomSurface="Smooth"
  225. v.TopSurface="Smooth"
  226. v.Size=Vector3.new(10,5,3)
  227. v.Transparency=1
  228. v.CFrame=char.Torso.CFrame
  229. v.BrickColor=BrickColor.new(CV)
  230. v.Transparency=1
  231. text.TextColor3 = BrickColor.new("Bright violet").Color
  232. v.Shape="Block"
  233. text.Text = "Rex, Ruler of the Universe:" ..math.floor(hum.Health)
  234.  
  235. gui = function(GuiType, parent, text, backtrans, backcol, pos, size)
  236. local gui = it(GuiType)
  237. gui.Parent = parent
  238. gui.Text = text
  239. gui.BackgroundTransparency = backtrans
  240. gui.BackgroundColor3 = backcol
  241. gui.SizeConstraint = "RelativeXY"
  242. gui.TextXAlignment = "Center"
  243. gui.TextYAlignment = "Center"
  244. gui.Position = pos
  245. gui.Size = size
  246. gui.Font = "SourceSans"
  247. gui.FontSize = "Size14"
  248. gui.TextWrapped = false
  249. gui.TextStrokeTransparency = 0
  250. gui.TextColor = BrickColor.new("White")
  251. return gui
  252. end
  253.  
  254. local boll = Instance.new("Part",game.Lighting)
  255. boll.Transparency = 0.5
  256. boll.Material = "Neon"
  257. boll.BrickColor = bc("Bright red")
  258. boll.Anchored = true
  259. boll.Size = vt(1,1,1)
  260. boll.Shape = "Ball"
  261. boll.CanCollide = false
  262.  
  263. local shur = Instance.new("Part",game.Lighting)
  264. shur.Transparency = 0
  265. shur.Material = "Neon"
  266. shur.BrickColor = bc("Bright red")
  267. shur.Anchored = true
  268. shur.Size = vt(5,0.2,5)
  269. shur.CanCollide = false
  270. local Meshshur = Instance.new("CylinderMesh",shur)
  271.  
  272. Damagefunc=function(hit,minim,maxim,knockback,Type,Property,Delay,KnockbackType,decreaseblock)
  273. if hit.Parent==nil then
  274. return
  275. end
  276. h=hit.Parent:FindFirstChild("Humanoid")
  277. for _,v in pairs(hit.Parent:children()) do
  278. if v:IsA("Humanoid") then
  279. h=v
  280. end
  281. end
  282. if hit.Parent.Parent:FindFirstChild("Torso")~=nil then
  283. h=hit.Parent.Parent:FindFirstChild("Humanoid")
  284. end
  285. if hit.Parent.className=="Hat" then
  286. hit=hit.Parent.Parent:findFirstChild("Head")
  287. end
  288. if h~=nil and hit.Parent.Name~=Character.Name and hit.Parent:FindFirstChild("Torso")~=nil then
  289. if hit.Parent:findFirstChild("DebounceHit")~=nil then if hit.Parent.DebounceHit.Value==true then return end end
  290. --[[ if game.Players:GetPlayerFromCharacter(hit.Parent)~=nil then
  291. return
  292. end]]
  293. -- hs(hit,1.2)
  294. c=Instance.new("ObjectValue")
  295. c.Name="creator"
  296. c.Value=game:service("Players").LocalPlayer
  297. c.Parent=h
  298. game:GetService("Debris"):AddItem(c,.5)
  299. Damage=math.random(minim,maxim)
  300. -- h:TakeDamage(Damage)
  301. blocked=false
  302. block=hit.Parent:findFirstChild("Block")
  303. if block~=nil then
  304. print(block.className)
  305. if block.className=="NumberValue" then
  306. if block.Value>0 then
  307. blocked=true
  308. if decreaseblock==nil then
  309. block.Value=block.Value-1
  310. end
  311. end
  312. end
  313. if block.className=="IntValue" then
  314. if block.Value>0 then
  315. blocked=true
  316. if decreaseblock~=nil then
  317. block.Value=block.Value-1
  318. end
  319. end
  320. end
  321. end
  322. if blocked==false then
  323. -- h:TakeDamage(Damage)
  324. h.Health=h.Health-Damage
  325. showDamage(hit.Parent,Damage,.5,TorsoColor)
  326. else
  327. h.Health=h.Health-(Damage/2)
  328. showDamage(hit.Parent,Damage/2,.5,BrickColor.new("Bright blue"))
  329. end
  330. if Type=="Knockdown" then
  331. hum=hit.Parent.Humanoid
  332. hum.PlatformStand=true
  333. coroutine.resume(coroutine.create(function(HHumanoid)
  334. swait(1)
  335. HHumanoid.PlatformStand=false
  336. end),hum)
  337. local angle=(hit.Position-(Property.Position+Vector3.new(0,0,0))).unit
  338. --hit.CFrame=CFrame.new(hit.Position,Vector3.new(angle.x,hit.Position.y,angle.z))*CFrame.fromEulerAnglesXYZ(math.pi/4,0,0)
  339. local bodvol=Instance.new("BodyVelocity")
  340. bodvol.velocity=angle*knockback
  341. bodvol.P=5000
  342. bodvol.maxForce=Vector3.new(8e+003, 8e+003, 8e+003)
  343. bodvol.Parent=hit
  344. rl=Instance.new("BodyAngularVelocity")
  345. rl.P=3000
  346. rl.maxTorque=Vector3.new(500000,500000,500000)*50000000000000
  347. rl.angularvelocity=Vector3.new(math.random(-10,10),math.random(-10,10),math.random(-10,10))
  348. rl.Parent=hit
  349. game:GetService("Debris"):AddItem(bodvol,.5)
  350. game:GetService("Debris"):AddItem(rl,.5)
  351. elseif Type=="Normal" then
  352. vp=Instance.new("BodyVelocity")
  353. vp.P=500
  354. vp.maxForce=Vector3.new(math.huge,0,math.huge)
  355. -- vp.velocity=Character.Torso.CFrame.lookVector*Knockback
  356. if KnockbackType==1 then
  357. vp.velocity=Property.CFrame.lookVector*knockback+Property.Velocity/1.05
  358. elseif KnockbackType==2 then
  359. vp.velocity=Property.CFrame.lookVector*knockback
  360. end
  361. if knockback>0 then
  362. vp.Parent=hit.Parent.Torso
  363. end
  364. game:GetService("Debris"):AddItem(vp,.5)
  365. elseif Type=="Up" then
  366. local bodyVelocity=Instance.new("BodyVelocity")
  367. bodyVelocity.velocity=vt(0,10,0)
  368. bodyVelocity.P=1000
  369. bodyVelocity.maxForce=Vector3.new(1e+009, 1e+009, 1e+009)
  370. bodyVelocity.Parent=hit
  371. game:GetService("Debris"):AddItem(bodyVelocity,1)
  372. rl=Instance.new("BodyAngularVelocity")
  373. rl.P=3000
  374. rl.maxTorque=Vector3.new(500000,500000,500000)*50000000000000
  375. rl.angularvelocity=Vector3.new(math.random(-20,20),math.random(-20,20),math.random(-20,20))
  376. rl.Parent=hit
  377. game:GetService("Debris"):AddItem(rl,.5)
  378. elseif Type=="Snare" then
  379. bp=Instance.new("BodyPosition")
  380. bp.P=2000
  381. bp.D=100
  382. bp.maxForce=Vector3.new(math.huge,math.huge,math.huge)
  383. bp.position=hit.Parent.Torso.Position
  384. bp.Parent=hit.Parent.Torso
  385. game:GetService("Debris"):AddItem(bp,1)
  386. elseif Type=="Target" then
  387. if Targetting==false then
  388. ZTarget=hit.Parent.Torso
  389. coroutine.resume(coroutine.create(function(Part)
  390. swait(5)
  391. end),ZTarget)
  392. TargHum=ZTarget.Parent:findFirstChild("Humanoid")
  393. targetgui=Instance.new("BillboardGui")
  394. targetgui.Parent=ZTarget
  395. targetgui.Size=UDim2.new(10,100,10,100)
  396. targ=Instance.new("ImageLabel")
  397. targ.Parent=targetgui
  398. targ.BackgroundTransparency=1
  399. targ.Image="rbxassetid://4834067"
  400. targ.Size=UDim2.new(1,0,1,0)
  401. cam.CameraType="Scriptable"
  402. cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)
  403. dir=Vector3.new(cam.CoordinateFrame.lookVector.x,0,cam.CoordinateFrame.lookVector.z)
  404. workspace.CurrentCamera.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)
  405. Targetting=true
  406. RocketTarget=ZTarget
  407. for i=1,Property do
  408. --while Targetting==true and Humanoid.Health>0 and Character.Parent~=nil do
  409. if Humanoid.Health>0 and Character.Parent~=nil and TargHum.Health>0 and TargHum.Parent~=nil and Targetting==true then
  410. swait()
  411. end
  412. --workspace.CurrentCamera.CoordinateFrame=CFrame.new(Head.CFrame.p,Head.CFrame.p+rmdir*100)
  413. cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)
  414. dir=Vector3.new(cam.CoordinateFrame.lookVector.x,0,cam.CoordinateFrame.lookVector.z)
  415. cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)*cf(0,5,10)*euler(-0.3,0,0)
  416. end
  417. Targetting=false
  418. RocketTarget=nil
  419. targetgui.Parent=nil
  420. cam.CameraType="Custom"
  421. end
  422. end
  423. debounce=Instance.new("BoolValue")
  424. debounce.Name="DebounceHit"
  425. debounce.Parent=hit.Parent
  426. debounce.Value=true
  427. game:GetService("Debris"):AddItem(debounce,Delay)
  428. c=Instance.new("ObjectValue")
  429. c.Name="creator"
  430. c.Value=Player
  431. c.Parent=h
  432. game:GetService("Debris"):AddItem(c,.5)
  433. CRIT=false
  434. hitDeb=true
  435. AttackPos=6
  436. end
  437. end
  438.  
  439. showDamage=function(Char,Dealt,du,Color)
  440. m=Instance.new("Model")
  441. m.Name=tostring(Dealt)
  442. h=Instance.new("Humanoid")
  443. h.Health=0
  444. h.MaxHealth=0
  445. h.Parent=m
  446. c=Instance.new("Part")
  447. c.Transparency=0
  448. c.Material = "Neon"
  449. c.BrickColor=bc("New Yeller")
  450. c.Name="Head"
  451. c.TopSurface=0
  452. c.BottomSurface=0
  453. local tick = Instance.new("Sound",c)
  454. tick.SoundId = "rbxassetid://12221976"
  455. tick.Volume = 5
  456. tick.Pitch = 4
  457. tick:Play()
  458. c.formFactor="Plate"
  459. c.Size=Vector3.new(1,.4,1)
  460. ms=Instance.new("CylinderMesh")
  461. ms.Scale=Vector3.new(.8,.8,.8)
  462. if CRIT==true then
  463. ms.Scale=Vector3.new(1,1.25,1)
  464. end
  465. ms.Parent=c
  466. c.Reflectance=0
  467. Instance.new("BodyGyro").Parent=c
  468. c.Parent=m
  469. if Char:findFirstChild("Head")~=nil then
  470. c.CFrame=CFrame.new(Char["Head"].CFrame.p+Vector3.new(0,1.5,0))
  471. elseif Char.Parent:findFirstChild("Head")~=nil then
  472. c.CFrame=CFrame.new(Char.Parent["Head"].CFrame.p+Vector3.new(0,1.5,0))
  473. end
  474. f=Instance.new("BodyPosition")
  475. f.P=2000
  476. f.D=100
  477. f.maxForce=Vector3.new(math.huge,math.huge,math.huge)
  478. f.position=c.Position+Vector3.new(0,3,0)
  479. f.Parent=c
  480. game:GetService("Debris"):AddItem(m,.5+du)
  481. c.CanCollide=false
  482. m.Parent=workspace
  483. c.CanCollide=false
  484. p:Destroy()
  485. end
  486.  
  487. function MagniDamage(Hit, Part, magni, mindam, maxdam, knock, Type)
  488. for _, c in pairs(workspace:children()) do
  489. local hum = c:findFirstChild("Humanoid")
  490. if hum ~= nil then
  491. local head = c:findFirstChild("Torso")
  492. if head ~= nil then
  493. local targ = head.Position - Part.Position
  494. local mag = targ.magnitude
  495. if mag <= magni and c.Name ~= Player.Name then
  496. Damagefunc(Hit, head, mindam, maxdam, knock, Type, RootPart, .2, 1, 3)
  497. end
  498. end
  499. end
  500. end
  501. end
  502.  
  503. function ExplodeFast(rad,par)
  504. local expart = Instance.new("Part",script.Parent)
  505. local expart2 = Instance.new("Part",script.Parent)
  506. local partMesh = Instance.new("SpecialMesh",expart)
  507. partMesh.MeshType = "Sphere"
  508. local partMesh2 = Instance.new("SpecialMesh",expart2)
  509. partMesh2.MeshType = "Sphere"
  510. local expld = Instance.new("Explosion", script.Parent)
  511. expld.Visible = false
  512. local plode = Instance.new("Sound",expart)
  513. plode.SoundId = "rbxassetid://153274423"
  514. plode.Volume = 2.5
  515. plode.Pitch = 1
  516. plode.Looped = false
  517. plode:Play()
  518. local ploder = Instance.new("Sound",expart)
  519. ploder.SoundId = "rbxassetid://130972023"
  520. ploder.Volume = 2.5
  521. ploder.Pitch = 1
  522. ploder.Looped = false
  523. ploder:Play()
  524. expld.BlastRadius = rad
  525. expld.Position = par.Position
  526. partMesh.Scale = vt(rad,rad,rad)
  527. expart.Size = vt(1,1,1)*1.5
  528. expart.Transparency = 0
  529. expart.Anchored = true
  530. expart.Material = "Neon"
  531. expart.BrickColor = bc("Really black")
  532. expart.CFrame = par.CFrame
  533. partMesh2.Scale = vt(rad,rad,rad)
  534. expart2.Size = vt(1.15,1.15,1.15)*1.5
  535. expart2.Transparency = 0.5
  536. expart2.Anchored = true
  537. expart2.Material = "Neon"
  538. expart2.BrickColor = bc("Bright violet")
  539. expart2.CFrame = par.CFrame
  540. local value = 1*rad/6.5
  541. par:Destroy()
  542. for i = 0, 100 do
  543. partMesh.Scale = partMesh.Scale + vt(value,value,value)
  544. expart.CFrame = expart.CFrame
  545. partMesh2.Scale = partMesh2.Scale + vt(value,value,value)
  546. expart2.CFrame = expart.CFrame
  547. value = value - 0.035*rad/6.5
  548. if value < 1 then
  549. value = 0.25
  550. expart.Transparency = expart.Transparency + 0.025
  551. expart2.Transparency = expart2.Transparency + 0.025
  552. end
  553. wait()
  554. end
  555. plode.Parent = nil
  556. ploder.Parent = nil
  557. expart.Parent = nil
  558. expart2.Parent = nil
  559. expld.Parent = nil
  560. end
  561.  
  562. function Explode(rad,par)
  563. local expart = Instance.new("Part",script.Parent)
  564. local expart2 = Instance.new("Part",script.Parent)
  565. local partMesh = Instance.new("SpecialMesh",expart)
  566. partMesh.MeshType = "Sphere"
  567. local partMesh2 = Instance.new("SpecialMesh",expart2)
  568. partMesh2.MeshType = "Sphere"
  569. local expld = Instance.new("Explosion", script.Parent)
  570. expld.Visible = false
  571. local plode = Instance.new("Sound",expart)
  572. plode.SoundId = "rbxassetid://288641686"
  573. plode.Volume = 2.5
  574. plode.Pitch = 0.75
  575. plode.Looped = false
  576. plode:Play()
  577. local ploder = Instance.new("Sound",expart)
  578. ploder.SoundId = "rbxassetid://206049428"
  579. ploder.Volume = 3.25
  580. ploder.Pitch = 0.5
  581. ploder.Looped = false
  582. ploder:Play()
  583. expld.BlastRadius = rad
  584. expld.Position = par.Position
  585. partMesh.Scale = vt(rad,rad,rad)
  586. expart.Size = vt(1,1,1)*1.5
  587. expart.Transparency = 0
  588. expart.Anchored = true
  589. expart.Material = "Neon"
  590. expart.BrickColor = bc("Really black")
  591. expart.CFrame = par.CFrame
  592. partMesh2.Scale = vt(rad,rad,rad)
  593. expart2.Size = vt(1.15,1.15,1.15)*1.5
  594. expart2.Transparency = 0.5
  595. expart2.Anchored = true
  596. expart2.Material = "Neon"
  597. expart2.BrickColor = bc("Bright violet")
  598. expart2.CFrame = par.CFrame
  599. local value = 1*rad/6.5
  600. par:Destroy()
  601. for i = 0, 100 do
  602. partMesh.Scale = partMesh.Scale + vt(value,value,value)
  603. expart.CFrame = expart.CFrame
  604. partMesh2.Scale = partMesh2.Scale + vt(value,value,value)
  605. expart2.CFrame = expart.CFrame
  606. value = value - 0.035*rad/6.5
  607. if value < 1 then
  608. value = 0.25
  609. expart.Transparency = expart.Transparency + 0.025
  610. expart2.Transparency = expart2.Transparency + 0.025
  611. end
  612. wait()
  613. end
  614. plode.Parent = nil
  615. ploder.Parent = nil
  616. expart.Parent = nil
  617. expart2.Parent = nil
  618. expld.Parent = nil
  619. end
  620.  
  621. function ExplodeMass(rad,par)
  622. local expart = Instance.new("Part",script.Parent)
  623. local expart2 = Instance.new("Part",script.Parent)
  624. local partMesh = Instance.new("SpecialMesh",expart)
  625. partMesh.MeshType = "Sphere"
  626. local partMesh2 = Instance.new("SpecialMesh",expart2)
  627. partMesh2.MeshType = "Sphere"
  628. local expld = Instance.new("Explosion", script.Parent)
  629. expld.Visible = false
  630. local plode = Instance.new("Sound",workspace)
  631. plode.SoundId = "rbxassetid://579687077"
  632. plode.Volume = 1
  633. plode.Pitch = 0.75
  634. plode.Looped = false
  635. plode:Play()
  636. local plodez = Instance.new("Sound",workspace)
  637. plodez.SoundId = "rbxassetid://288641686"
  638. plodez.Volume = 1
  639. plodez.Pitch = 0.625
  640. plodez.Looped = false
  641. plodez:Play()
  642. local plodeza = Instance.new("Sound",workspace)
  643. plodeza.SoundId = "rbxassetid://197161452"
  644. plodeza.Volume = 0.85
  645. plodeza.Pitch = 0.5
  646. plodeza.Looped = false
  647. plodeza:Play()
  648. local plodezar = Instance.new("Sound",workspace)
  649. plodezar.SoundId = "rbxassetid://197161452"
  650. plodezar.Volume = 0.85
  651. plodezar.Pitch = 0.2
  652. plodezar.Looped = false
  653. plodezar:Play()
  654. local s3 = Instance.new("Sound",workspace)
  655. s3.SoundId = "rbxassetid://268931189"
  656. s3.Pitch = 0.875
  657. s3.Volume = 1
  658. s3.Looped = false
  659. s3:Play()
  660. expld.BlastRadius = rad
  661. expld.Position = par.Position
  662. partMesh.Scale = vt(rad,rad,rad)
  663. expart.Size = vt(1,1,1)*1.5
  664. expart.Transparency = 0
  665. expart.Anchored = true
  666. expart.Material = "Neon"
  667. expart.BrickColor = bc("Really black")
  668. expart.CFrame = par.CFrame
  669. partMesh2.Scale = vt(rad,rad,rad)
  670. expart2.Size = vt(1.15,1.15,1.15)*1.5
  671. expart2.Transparency = 0.5
  672. expart2.Anchored = true
  673. expart2.Material = "Neon"
  674. expart2.BrickColor = bc("Bright violet")
  675. expart2.CFrame = par.CFrame
  676. local value = 1*rad/10
  677. par:Destroy()
  678. for i = 0, 300 do
  679. partMesh.Scale = partMesh.Scale + vt(value,value,value)
  680. expart.CFrame = expart.CFrame
  681. partMesh2.Scale = partMesh2.Scale + vt(value,value,value)
  682. expart2.CFrame = expart.CFrame
  683. value = value - 0.0175*rad/10
  684. if value <= 0 then
  685. expart.Transparency = expart.Transparency + 0.0125
  686. expart2.Transparency = expart2.Transparency + 0.0125
  687. value = 0.25
  688. end
  689. wait()
  690. end
  691. plode.Parent = nil
  692. expart.Parent = nil
  693. expart2.Parent = nil
  694. expld.Parent = nil
  695. end
  696.  
  697. local basgui = it("GuiMain")
  698. basgui.Parent = Player.PlayerGui
  699. basgui.Name = "CooldownsGUI"
  700. local basframe = it("Frame")
  701. basframe.Parent = basgui
  702. basframe.BackgroundColor3 = Color3.new(255, 255, 255)
  703. basframe.BackgroundTransparency = 1
  704. basframe.BorderColor3 = Color3.new(17, 17, 17)
  705. basframe.Size = UDim2.new(0.2, 0, 0.2, 0)
  706. basframe.Position = UDim2.new(0.8, 0, 0.8, 0)
  707. local healthgui = gui("TextLabel", basframe, "Health: " ..basiccooldown, 1, BrickColor.random().Color, UDim2.new(0, 0, 0, 0), UDim2.new(0.5, 0, -0.5, 0))
  708. local basicgui = gui("TextLabel", basframe, "Basic: " ..basiccooldown, 1, BrickColor.random().Color, UDim2.new(0, 0, 0, 0), UDim2.new(0, 0, 0.25, 0))
  709. local basic2gui = gui("TextLabel", basframe, "FirstMove: " ..secondcooldown, 1, BrickColor.random().Color, UDim2.new(0, 0, 0, 0), UDim2.new(0, 0, 1.25, 0))
  710. local basic3gui = gui("TextLabel", basframe, "SecondMove: " ..thirdcooldown, 1, BrickColor.random().Color, UDim2.new(0, 0, 0, 0), UDim2.new(1.15, 0, 0.25, 0))
  711. local basic4gui = gui("TextLabel", basframe, "Ultimate: " ..ultcooldown, 1, BrickColor.random().Color, UDim2.new(0, 0, 0, 0), UDim2.new(1.15, 0, 1.25, 0))
  712. basicgui.ZIndex = 2
  713. healthgui.TextSize = 24
  714. healthgui.ZIndex = 2
  715. basicgui.TextSize = 24
  716. basic4gui.ZIndex = 2
  717. basic4gui.TextSize = 24
  718. basic3gui.ZIndex = 2
  719. basic3gui.TextSize = 24
  720. basic2gui.ZIndex = 2
  721. basic2gui.TextSize = 24
  722.  
  723.  
  724. function Blaze()
  725. if ultcooldown >= 30 then
  726. local kolor = Instance.new("ColorCorrectionEffect",game.Lighting)
  727. local see = Instance.new("Sound",workspace)
  728. see.SoundId = "rbxassetid://21420962"
  729. see.Pitch = 1
  730. see.Volume = 2.75
  731. see.Looped = false
  732. see:Play()
  733. kolor.Brightness = -1
  734. kolor.Contrast = -1
  735. kolor.TintColor = BrickColor.new("Bright violet").Color
  736. wait(0.1)
  737. for i = 0, 9 do
  738. kolor.Brightness = kolor.Brightness + 0.35
  739. kolor.Contrast = kolor.Contrast + 0.35
  740. wait(0.05)
  741. end
  742. for i = 0, 9 do
  743. kolor.Brightness = kolor.Brightness - 0.35
  744. kolor.Contrast = kolor.Contrast - 0.35
  745. wait(0.05)
  746. end
  747. kolor:Destroy()
  748. local sloc = Instance.new("Part",workspace)
  749. local msh = Instance.new("SpecialMesh",sloc)
  750. msh.MeshType = "Sphere"
  751. sloc.Size = vt(1,1,1)
  752. sloc.Transparency = 1
  753. sloc.BrickColor = bc("Really black")
  754. sloc.Position = hed.Position + vt(0,250,0)
  755. sloc.CanCollide = false
  756. sloc.Shape = "Ball"
  757. sloc.Anchored = true
  758. sloc.Material = "Neon"
  759. local s = Instance.new("Sound",workspace)
  760. s.SoundId = "rbxassetid://342793847"
  761. s.Pitch = 0.75
  762. s.Volume = 1
  763. s.Looped = false
  764. s:Play()
  765. local s2 = Instance.new("Sound",workspace)
  766. s2.SoundId = "rbxassetid://137463716"
  767. s2.Pitch = 0.5
  768. s2.Volume = 1
  769. s2.Looped = false
  770. s2:Play()
  771. local val = 0.65*5
  772. for i = 0 , 150 do
  773. sloc.Transparency = sloc.Transparency - 0.035
  774. msh.Scale = msh.Scale + vt(val,val,val)
  775. val = val - 0.0075*2.5
  776. wait()
  777. end
  778. msh.Scale = msh.Scale - vt(1,1,1)
  779. sloc.Transparency = sloc.Transparency + 0.015
  780. local spart = Instance.new("Part",workspace)
  781. local msh2 = Instance.new("SpecialMesh",spart)
  782. msh2.MeshType = "Sphere"
  783. spart.Size = vt(2,2,2)
  784. spart.Shape = "Ball"
  785. spart.BrickColor = bc("Really black")
  786. spart.Material = "Neon"
  787. spart.Transparency = 0
  788. spart.Anchored = false
  789. msh2.Scale = msh.Scale/2
  790. spart.Rotation = hed.Rotation
  791. spart.CanCollide = false
  792. spart.Position = sloc.Position + vt(math.random(-0,0),math.random(-0,0),math.random(-0,0))
  793. local bv = Instance.new("BodyVelocity")
  794. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  795. bv.velocity = mouse.Hit.lookVector * 125
  796. bv.Parent = spart
  797. local tick = Instance.new("Sound",workspace)
  798. tick.SoundId = "rbxassetid://203691467"
  799. tick.Volume = 2
  800. tick.Pitch = 0.5
  801. tick:Play()
  802. sloc:Destroy()
  803. wait(0.00001)
  804. pewdiepie=spart.Touched:connect(function(hit)
  805. ExplodeMass(125,spart)
  806. end)
  807. sloc:Destroy()
  808. end
  809. if ultcooldown < 1 then
  810. for i = 0, 29 do
  811. ultcooldown = ultcooldown + 1
  812. wait(1)
  813. end
  814. end
  815. end
  816.  
  817. function LocateSpot()
  818. if basiccooldown >= 5 then
  819. local spart = Instance.new("Part",workspace)
  820. local msh = Instance.new("SpecialMesh",spart)
  821. msh.MeshType = "Sphere"
  822. local sa2 = Instance.new("Sound",spart)
  823. sa2.SoundId = "rbxassetid://244578827"
  824. sa2.Pitch = 1
  825. sa2.Volume = 2.5
  826. sa2.Looped = false
  827. sa2:Play()
  828. spart.Size = vt(1,1,1)
  829. spart.BrickColor = BrickColor.new("Bright violet")
  830. spart.Material = "Neon"
  831. spart.Transparency = 0.25
  832. spart.Anchored = true
  833. spart.CanCollide = false
  834. spart.CFrame = mouse.Hit
  835. spart.Rotation = vt(0,0,0)
  836. local value = 2.75
  837. for i = 0, 74 do
  838. value = value - 0.035
  839. msh.Scale = msh.Scale + vt(value,0,value)
  840. wait()
  841. end
  842. wait(1)
  843. for i = 0, 24 do
  844. value = value - 0.2215
  845. spart.Transparency = spart.Transparency - 0.015
  846. msh.Scale = msh.Scale + vt(value,500,value)
  847. wait()
  848. end
  849. wait(0.1)
  850. Explode(42.5,spart)
  851. end
  852. end
  853.  
  854. function TeleportSpot()
  855. if basiccooldown >= 5 then
  856. local sparta = Instance.new("Part",workspace)
  857. local msher = Instance.new("SpecialMesh",sparta)
  858. msher.MeshType = "Sphere"
  859. msher.Scale = vt(0,0.1,0)
  860. local sa2 = Instance.new("Sound",sparta)
  861. sa2.SoundId = "rbxassetid://169380479"
  862. sa2.Pitch = 0.75
  863. sa2.Volume = 2
  864. sa2.Looped = false
  865. sa2:Play()
  866. local sa3 = Instance.new("Sound",sparta)
  867. sa3.SoundId = "rbxassetid://289556450"
  868. sa3.Pitch = 1
  869. sa3.Volume = 3
  870. sa3.Looped = false
  871. sparta.Size = vt(1,1,1)
  872. sparta.BrickColor = BrickColor.new("Bright violet")
  873. sparta.Material = "Neon"
  874. sparta.Transparency = 0
  875. sparta.Anchored = true
  876. sparta.CanCollide = false
  877. sparta.CFrame = mouse.Hit
  878. sparta.Rotation = vt(0,0,0)
  879. local sparte = sparta:Clone()
  880. sparte.Position = tors.Position + vt(0,-2.75,0)
  881. sparte.Parent = workspace
  882. local msher2 = sparte.Mesh
  883. local value2 = 2.5
  884. for i = 0, 24 do
  885. value2 = value2 - 0.065
  886. msher.Scale = msher.Scale + vt(value2,0,value2)
  887. msher2.Scale = msher2.Scale + vt(value2,0,value2)
  888. wait()
  889. end
  890. for i = 0, 5 do
  891. msher.Scale = msher.Scale + vt(0,500,0)
  892. msher2.Scale = msher2.Scale + vt(0,500,0)
  893. wait()
  894. end
  895. wait(0.1)
  896. sa3:Play()
  897. tors.CFrame = sparta.CFrame
  898. for i = 0, 49 do
  899. value2 = value2 - 0.5
  900. sparta.Transparency = sparta.Transparency + 0.1
  901. msher.Scale = msher.Scale - vt(value2,-500,value2)
  902. sparte.Transparency = sparte.Transparency + 0.1
  903. msher2.Scale = msher2.Scale - vt(value2,-500,value2)
  904. wait()
  905. end
  906. sparta:Destroy()
  907. sparte:Destroy()
  908. end
  909. end
  910.  
  911. mod4 = Instance.new("Model",char)
  912.  
  913. ptez = {0.7, 0.8, 0.9, 1}
  914.  
  915. function FindNearestTorso(Position,Distance,SinglePlayer)
  916. if SinglePlayer then return(SinglePlayer.Torso.CFrame.p -Position).magnitude < Distance end
  917. local List = {}
  918. for i,v in pairs(workspace:GetChildren())do
  919. if v:IsA("Model")then
  920. if v:findFirstChild("Torso")then
  921. if v ~= char then
  922. if(v.Torso.Position -Position).magnitude <= Distance then
  923. table.insert(List,v)
  924. end
  925. end
  926. end
  927. end
  928. end
  929. return List
  930. end
  931.  
  932. function Slam()
  933. local part=Instance.new('Part',mod4)
  934. part.Anchored=true
  935. part.CanCollide=false
  936. part.FormFactor='Custom'
  937. part.Size=Vector3.new(.2,.2,.2)
  938. part.CFrame=root.CFrame*CFrame.new(0,-2.8,-1.4)*CFrame.Angles(math.rad(90),0,0)
  939. part.Transparency=.7
  940. part.BrickColor=BrickColor.new('Really black')
  941. mesh=Instance.new('SpecialMesh',part)
  942. mesh.MeshId='http://www.roblox.com/asset/?id=3270017'
  943. mesh.Scale=Vector3.new(3,3,3)
  944. local part2=Instance.new('Part',mod4)
  945. part2.Anchored=true
  946. part2.CanCollide=false
  947. part2.FormFactor='Custom'
  948. part2.Size=Vector3.new(.2,.2,.2)
  949. part2.CFrame=root.CFrame*CFrame.new(0,-2.4,-1.6)
  950. part2.Transparency=.7
  951. part2.BrickColor=BrickColor.new("Plum")
  952. mesh2=Instance.new('SpecialMesh',part2)
  953. mesh2.MeshId='http://www.roblox.com/asset/?id=20329976'
  954. mesh2.Scale=Vector3.new(3,1.5,3)
  955. x = Instance.new("Sound",larm)
  956. x.SoundId = "http://www.roblox.com/asset/?id=142070127"
  957. x.Pitch = ptez[math.random(1,#ptez)]
  958. x.Volume = 1
  959. wait(.1)
  960. x1 = Instance.new("Sound",larm)
  961. x1.SoundId = "http://www.roblox.com/asset/?id=206082327"
  962. x1.Pitch = ptez[math.random(1,#ptez)]
  963. x1.Volume = 1
  964. wait(.1)
  965. x:Play()
  966. x1:Play()
  967. for i,v in pairs(FindNearestTorso(torso.CFrame.p,4))do
  968. if v:FindFirstChild('Humanoid') then
  969. v.Humanoid:TakeDamage(math.random(99,99))
  970. end
  971. end
  972. coroutine.resume(coroutine.create(function()
  973. for i=0,0.62,0.13 do
  974. wait()
  975. part.CFrame=part.CFrame
  976. part.Transparency=i
  977. mesh.Scale=mesh.Scale+Vector3.new(0.4,0.4,0.4)
  978. part2.CFrame=part2.CFrame
  979. part2.Transparency=i
  980. mesh2.Scale=mesh2.Scale+Vector3.new(0.4,0.2,0.4)
  981. end
  982. part.Parent=nil
  983. part2.Parent=nil
  984. x:Destroy()
  985. end))
  986. end
  987.  
  988. game.StarterGui:SetCore("ChatMakeSystemMessage", {
  989. Text = "Made by Noobygames12, Edited by RealPieDiePew.";
  990. Color = Color3.new(0, 1, 1);
  991. Font = Enum.Font.Code;
  992. FontSize = Enum.FontSize.Size24;
  993. })
  994. wait()
  995. game.StarterGui:SetCore("ChatMakeSystemMessage", {
  996. Text = "RealPieDiePew#4968 and dont remove credits.";
  997. Color = Color3.new(0, 1, 1);
  998. Font = Enum.Font.Code;
  999. FontSize = Enum.FontSize.Size24;
  1000. })
  1001.  
  1002. Reap = function()
  1003.  
  1004. rarm.Touched:connect(function(ht1)
  1005.  
  1006. hit1 = ht1.Parent
  1007. if ht1 and hit1:IsA("Model") and hit1:FindFirstChild("Humanoid") and hit1.Name ~= Player.Name and Debounces.Reaping == true and Debounces.Reaped == false then
  1008. Debounces.Reaped = true
  1009. h = hit1:FindFirstChild("Humanoid")
  1010. if h ~= nil then
  1011. hum.MaxHealth = hum.MaxHealth + h.MaxHealth
  1012. hum.Health = hum.MaxHealth
  1013. e = Instance.new("Part")
  1014. e.TopSurface = 0
  1015. e.BottomSurface = 0
  1016. e.Reflectance = 0.05
  1017. e.formFactor = "Symmetric"
  1018. e.Size = Vector3.new(1, 1, 1)
  1019. e.Anchored = true
  1020. e.CanCollide = false
  1021. e.BrickColor = BrickColor.new("Really blue")
  1022. e.CFrame = CFrame.new(ht1.Position)
  1023. e.Parent = hit1
  1024. Instance.new("BlockMesh", e)
  1025. coroutine.resume(coroutine.create(function(par)
  1026.  
  1027. for i = 1, 13 do
  1028. par.CFrame = par.CFrame * CFrame.fromEulerAnglesXYZ(math.random(-20, 20) / 50, math.random(-20, 20) / 50, math.random(-20, 20) / 50)
  1029. par.Transparency = i / 13
  1030. par.Mesh.Scale = par.Mesh.Scale + Vector3.new(0.4, 0.4, 0.4)
  1031. wait()
  1032. end
  1033. par.Parent = nil
  1034. end
  1035. ), e)
  1036. for _,v in pairs(hit1:children()) do
  1037. if v.className == "Part" then
  1038. v.BrickColor = BrickColor.new("Really black")
  1039. v.RotVelocity = Vector3.new(math.random(-2, 2), math.random(-2, 2), math.random(-2, 2)) * 3
  1040. v:BreakJoints()
  1041. f = Instance.new("BodyVelocity")
  1042. f.P = 3000
  1043. f.maxForce = Vector3.new(math.huge, math.huge, math.huge)
  1044. f.velocity = Vector3.new(math.random(-30, 30) / 10, math.random(-30, 30) / 10, math.random(-30, 30) / 10)
  1045. f.Parent = v
  1046. v.CanCollide = false
  1047. coroutine.resume(coroutine.create(function(par)
  1048.  
  1049. for i = 1, 30 do
  1050. par.Transparency = i / 30
  1051. wait()
  1052. end
  1053. par.Parent = nil
  1054. end
  1055. ), v)
  1056. else
  1057. if v.className == "Hat" then
  1058. v.Handle.BrickColor = BrickColor.new("Really black")
  1059. v.Handle.RotVelocity = Vector3.new(math.random(-2, 2), math.random(-2, 2), math.random(-2, 2)) * 3
  1060. v.Handle:BreakJoints()
  1061. f = Instance.new("BodyVelocity")
  1062. f.P = 3000
  1063. f.maxForce = Vector3.new(math.huge, math.huge, math.huge)
  1064. f.velocity = Vector3.new(math.random(-30, 30) / 10, math.random(-30, 30) / 10, math.random(-30, 30) / 10)
  1065. f.Parent = v.Handle
  1066. v.Handle.CanCollide = false
  1067. coroutine.resume(coroutine.create(function(par)
  1068.  
  1069. for i = 1, 30 do
  1070. par.Transparency = i / 30
  1071. wait()
  1072. end
  1073. par.Parent = nil
  1074. end
  1075. ), v.Handle)
  1076. if h == nil then
  1077. wait()
  1078. end
  1079. end
  1080. end
  1081. end
  1082. end
  1083. end
  1084. end
  1085. )
  1086. Debounces.Reaped = false
  1087. end
  1088.  
  1089. mouse.KeyDown:connect(function(key)
  1090.  
  1091. if key == "e" and Debounces.CanAttack == true then
  1092. Debounces.CanAttack = false
  1093. Debounces.NoIdl = true
  1094. Debounces.on = true
  1095. Debounces.Reaping = true
  1096. for i = 1, 35 do
  1097. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5, 0.6, 0.4) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(70)), .4)
  1098. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5, 0.6, 0) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(-30)), 0.4)
  1099. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, -0.2) * CFrame.Angles(math.rad(0), math.rad(70), 0), 0.4)
  1100. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-70), 0), 0.4)
  1101. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(30), math.rad(-10)), 0.4)
  1102. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(7), math.rad(-20), math.rad(10)), 0.4)
  1103. if Debounces.on == false then
  1104. break
  1105. end
  1106. lightning.Enabled = true
  1107. eeeffecto.Enabled = true
  1108. fat.Event:wait()
  1109. end
  1110. do
  1111. wait(1)
  1112. Reap()
  1113. for i = 1, 10 do
  1114. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5, 0.6, -0.2) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(70)), 0.7)
  1115. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5, 0.6, 0.2) * CFrame.Angles(math.rad(-20), math.rad(0), math.rad(0)), 0.7)
  1116. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, -0.2) * CFrame.Angles(math.rad(0), math.rad(-70), 0), 0.7)
  1117. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(70), 0), 0.7)
  1118. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(-20), math.rad(-10)), 0.7)
  1119. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(10)), 0.7)
  1120. if Debounces.on == false then
  1121. break
  1122. end
  1123. lightning.Enabled = false
  1124. eeeffecto.Enabled = false
  1125. fat.Event:wait()
  1126. end
  1127. do
  1128. if Debounces.CanAttack == false then
  1129. Debounces.CanAttack = true
  1130. Debounces.NoIdl = false
  1131. Debounces.on = false
  1132. Debounces.Reaping = false
  1133. end
  1134. end
  1135. end
  1136. end
  1137. end
  1138. )
  1139.  
  1140. function ExplosiveLightBall()
  1141. if basiccooldown >= 5 then
  1142. local spart = Instance.new("Part",workspace)
  1143. local msh = Instance.new("SpecialMesh",spart)
  1144. msh.MeshType = "Sphere"
  1145. local sa = Instance.new("Sound",hed)
  1146. sa.SoundId = "rbxassetid://203691467"
  1147. sa.Pitch = 0.775
  1148. sa.Volume = 1
  1149. sa.Looped = false
  1150. local sa1 = Instance.new("Sound",hed)
  1151. sa1.SoundId = "rbxassetid://200633529"
  1152. sa1.Pitch = 0.75
  1153. sa1.Volume = 1
  1154. sa1.Looped = false
  1155. sa1:Play()
  1156. local sans1 = Instance.new("Sound",hed)
  1157. sans1.SoundId = "rbxassetid://200633529"
  1158. sans1.Pitch = 0.725
  1159. sans1.Volume = 1
  1160. sans1.Looped = false
  1161. sans1:Play()
  1162. spart.Size = vt(1,1,1)
  1163. spart.BrickColor = BrickColor.new("Bright violet")
  1164. spart.Material = "Neon"
  1165. spart.Transparency = 1
  1166. spart.Anchored = true
  1167. spart.CanCollide = false
  1168. spart.Position = hed.Position + vt(0,20,0)
  1169. local value = 2.5
  1170. for i = 0, 24 do
  1171. spart.Transparency = spart.Transparency - 0.05
  1172. value = value - 0.05
  1173. msh.Scale = msh.Scale + vt(value,value,value)
  1174. wait()
  1175. end
  1176. sa:Play()
  1177. spart.Anchored = false
  1178. local bv = Instance.new("BodyVelocity")
  1179. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  1180. bv.velocity = mouse.Hit.lookVector *125
  1181. bv.Parent = spart
  1182. wait(0.1)
  1183. pewdiepie=spart.Touched:connect(function(hit) Explode(20,spart) end)
  1184. end
  1185. end
  1186.  
  1187. function ExplosiveLightBalls()
  1188. if basiccooldown >= 5 then
  1189. local spart = Instance.new("Part",workspace)
  1190. local msh = Instance.new("SpecialMesh",spart)
  1191. msh.MeshType = "Sphere"
  1192. spart.Size = vt(1,1,1)
  1193. spart.BrickColor = BrickColor.new("Bright violet")
  1194. spart.Material = "Neon"
  1195. spart.Transparency = 0.65
  1196. spart.Anchored = true
  1197. spart.CanCollide = false
  1198. spart.CFrame = mouse.Hit
  1199. spart.Rotation = vt(0,0,0)
  1200. msh.Scale = vt(15,15,15)*2
  1201. wait(0.35)
  1202. ExplodeFast(15,spart)
  1203. end
  1204. end
  1205.  
  1206. mouse.KeyDown:connect(function(k)
  1207.  
  1208. k = k:lower()
  1209. if k == "z" then
  1210. ExplosiveLightBall()
  1211. end
  1212. if k == "x" then
  1213. LocateSpot()
  1214. end
  1215. if k == "c" then
  1216. ExplosiveLightBalls()
  1217. end
  1218. if k == "v" then
  1219. TeleportSpot()
  1220. end
  1221. if k == "b" then
  1222. Blaze()
  1223. end
  1224. end)
  1225.  
  1226. ----------------------------------------------------
  1227. fat = Instance.new("BindableEvent",script)
  1228. fat.Name = "Heartbeat"
  1229.  
  1230. script:WaitForChild("Heartbeat")
  1231.  
  1232. frame = 1/30
  1233. tf = 0
  1234. allowframeloss = false --if set to true will fire every frame it possibly can. This will result in multiple events happening at the same time whenever delta returns frame*2 or greater.
  1235. tossremainder = false --if set to true t will be set to 0 after Fire()-ing.
  1236. lastframe = tick()
  1237. script.Heartbeat:Fire() --ayy lmao
  1238.  
  1239. game:GetService("RunService").Heartbeat:connect(function(s,p) --herp derp
  1240. tf = tf + s
  1241. if tf >= frame then
  1242. if allowframeloss then
  1243. script.Heartbeat:Fire()
  1244. lastframe=tick()
  1245. else
  1246. --print("FIRED "..math.floor(t/frame).." FRAME(S)","REMAINDER "..(t - frame*(math.floor(t/frame))))
  1247. for i=1, math.floor(tf/frame) do
  1248. script.Heartbeat:Fire()
  1249. end
  1250. lastframe=tick()
  1251. end
  1252. if tossremainder then
  1253. tf = 0
  1254. else
  1255. tf = tf - frame * math.floor(tf/frame)
  1256. end
  1257. end
  1258. end)
  1259. ----------------------------------------------------
  1260. Debounces = {
  1261. CanAttack = true;
  1262. CanJoke = true;
  1263. NoIdl = false;
  1264. Slashing = false;
  1265. Slashed = false;
  1266. ks = false;
  1267. RPunch = false;
  1268. RPunched = false;
  1269. LPunch = false;
  1270. LPunched = false;
  1271. }
  1272. local Touche = {char.Name, }
  1273. function HasntTouched(plrname)
  1274. local ret = true
  1275. for _, v in pairs(Touche) do
  1276. if v == plrname then
  1277. ret = false
  1278. end
  1279. end
  1280. return ret
  1281. end
  1282. ----------------------------------------------------
  1283. function weld5(part0, part1, c0, c1)
  1284. weeld=Instance.new("Weld", part0)
  1285. weeld.Part0=part0
  1286. weeld.Part1=part1
  1287. weeld.C0=c0
  1288. weeld.C1=c1
  1289. return weeld
  1290. end
  1291. ----------------------------------------------------
  1292. function lerp(a, b, t) -- Linear interpolation
  1293. return a + (b - a)*t
  1294. end
  1295.  
  1296. function slerp(a, b, t) --Spherical interpolation
  1297. dot = a:Dot(b)
  1298. if dot > 0.99999 or dot < -0.99999 then
  1299. return t <= 0.5 and a or b
  1300. else
  1301. r = math.acos(dot)
  1302. return (a*math.sin((1 - t)*r) + b*math.sin(t*r)) / math.sin(r)
  1303. end
  1304. end
  1305.  
  1306. function matrixInterpolate(a, b, t)
  1307. local ax, ay, az, a00, a01, a02, a10, a11, a12, a20, a21, a22 = a:components()
  1308. local bx, by, bz, b00, b01, b02, b10, b11, b12, b20, b21, b22 = b:components()
  1309. local v0 = lerp(Vector3.new(ax, ay, az), Vector3.new(bx , by , bz), t) -- Position
  1310. local v1 = slerp(Vector3.new(a00, a01, a02), Vector3.new(b00, b01, b02), t) -- Vector right
  1311. local v2 = slerp(Vector3.new(a10, a11, a12), Vector3.new(b10, b11, b12), t) -- Vector up
  1312. local v3 = slerp(Vector3.new(a20, a21, a22), Vector3.new(b20, b21, b22), t) -- Vector back
  1313. local t = v1:Dot(v2)
  1314. if not (t < 0 or t == 0 or t > 0) then -- Failsafe
  1315. return CFrame.new()
  1316. end
  1317. return CFrame.new(
  1318. v0.x, v0.y, v0.z,
  1319. v1.x, v1.y, v1.z,
  1320. v2.x, v2.y, v2.z,
  1321. v3.x, v3.y, v3.z)
  1322. end
  1323. ----------------------------------------------------
  1324. function genWeld(a,b)
  1325. local w = Instance.new("Weld",a)
  1326. w.Part0 = a
  1327. w.Part1 = b
  1328. return w
  1329. end
  1330. function weld(a, b)
  1331. local weld = Instance.new("Weld")
  1332. weld.Name = "W"
  1333. weld.Part0 = a
  1334. weld.Part1 = b
  1335. weld.C0 = a.CFrame:inverse() * b.CFrame
  1336. weld.Parent = a
  1337. return weld;
  1338. end
  1339. ----------------------------------------------------
  1340. function Lerp(c1,c2,al)
  1341. local com1 = {c1.X,c1.Y,c1.Z,c1:toEulerAnglesXYZ()}
  1342. local com2 = {c2.X,c2.Y,c2.Z,c2:toEulerAnglesXYZ()}
  1343. for i,v in pairs(com1) do
  1344. com1[i] = v+(com2[i]-v)*al
  1345. end
  1346. return CFrame.new(com1[1],com1[2],com1[3]) * CFrame.Angles(select(4,unpack(com1)))
  1347. end
  1348. ----------------------------------------------------
  1349. newWeld = function(wp0, wp1, wc0x, wc0y, wc0z)
  1350. local wld = Instance.new("Weld", wp1)
  1351. wld.Part0 = wp0
  1352. wld.Part1 = wp1
  1353. wld.C0 = CFrame.new(wc0x, wc0y, wc0z)
  1354. end
  1355. ----------------------------------------------------
  1356. newWeld(torso, larm, -1.5, 0.5, 0)
  1357. larm.Weld.C1 = CFrame.new(0, 0.5, 0)
  1358. newWeld(torso, rarm, 1.5, 0.5, 0)
  1359. rarm.Weld.C1 = CFrame.new(0, 0.5, 0)
  1360. newWeld(torso, hed, 0, 1.5, 0)
  1361. newWeld(torso, lleg, -0.5, -1, 0)
  1362. lleg.Weld.C1 = CFrame.new(0, 1, 0)
  1363. newWeld(torso, rleg, 0.5, -1, 0)
  1364. rleg.Weld.C1 = CFrame.new(0, 1, 0)
  1365. newWeld(root, torso, 0, -1, 0)
  1366. torso.Weld.C1 = CFrame.new(0, -1, 0)
  1367. ----------------------------------------------------
  1368. hats={}
  1369. Part = function(x,y,z,color,tr,cc,an,parent)
  1370. local p = Instance.new('Part',parent or Weapon)
  1371. p.formFactor = 'Custom'
  1372. p.Size = Vector3.new(x,y,z)
  1373. p.BrickColor = BrickColor.new(color)
  1374. p.CanCollide = cc
  1375. p.Transparency = tr
  1376. p.Anchored = an
  1377. p.TopSurface,p.BottomSurface = 0,0
  1378. p:BreakJoints()
  1379. return p
  1380. end
  1381. Weld = function(p0,p1,x,y,z,rx,ry,rz,par)
  1382. local w = Instance.new('Motor',par or p0)
  1383. w.Part0 = p0
  1384. w.Part1 = p1
  1385. w.C1 = CFrame.new(x,y,z)*CFrame.Angles(rx,ry,rz)
  1386. return w
  1387. end
  1388. Mesh = function(par,num,x,y,z)
  1389. local msh = nil
  1390. if num == 1 then
  1391. msh = Instance.new("CylinderMesh",par)
  1392. elseif num == 2 then
  1393. msh = Instance.new("SpecialMesh",par)
  1394. msh.MeshType = 'Wedge'
  1395. elseif num == 3 then
  1396. msh = Instance.new("BlockMesh",par)
  1397. elseif type(num) == 'string' then
  1398. msh = Instance.new("SpecialMesh",par)
  1399. msh.MeshId = num
  1400. end
  1401. msh.Scale = Vector3.new(x,y,z)
  1402. return msh
  1403. end
  1404.  
  1405. function addh(id,txt,s1,s2,s3,x,y,z)
  1406. local hat=Part(1,1,1,'',0,false,false,char)
  1407. table.insert(hats,hat)
  1408. Weld(char.Head,hat,x,y,z,0,0,0,p)
  1409. m=Mesh(hat,'http://www.roblox.com/asset/?id='..id,s1,s2,s3)
  1410. m.TextureId='http://www.roblox.com/asset/?id='..txt
  1411. return m
  1412. end
  1413.  
  1414. addh('11380070','11380053',1,1,1,0,-.75,0)
  1415. ----------------------------------------------------
  1416. New = function(Object, Parent, Name, Data)
  1417. local Object = Instance.new(Object)
  1418. for Index, Value in pairs(Data or {}) do
  1419. Object[Index] = Value
  1420. end
  1421. Object.Parent = Parent
  1422. Object.Name = Name
  1423. return Object
  1424. end
  1425. ----------------------------------------------------
  1426. local animpose = "Idle1"
  1427. local lastanimpose = "Idle1"
  1428. local grab = false
  1429. local Smooth = 1
  1430. local sine = 0
  1431. local change = 1
  1432. local val = 0
  1433. local ffing = false
  1434. ----------------------------------------------------
  1435. jump = false
  1436. rs:connect(function()
  1437. if char.Humanoid.Jump == true then
  1438. jump = true
  1439. else
  1440. jump = false
  1441. end
  1442. char.Humanoid.FreeFalling:connect(function(f)
  1443. if f then
  1444. ffing = true
  1445. else
  1446. ffing = false
  1447. end
  1448. end)
  1449. sine = sine + change
  1450. if jump == true then
  1451. animpose = "Jumping"
  1452. elseif ffing == true then
  1453. animpose = "Freefalling"
  1454. elseif (torso.Velocity*Vector3.new(1, 0, 1)).magnitude < 2 then
  1455. animpose = "Idle"
  1456. elseif (torso.Velocity*Vector3.new(1, 0, 1)).magnitude < 20 then
  1457. animpose = "Walking"
  1458. elseif (torso.Velocity*Vector3.new(1, 0, 1)).magnitude > 20 then
  1459. animpose = "Running"
  1460. end
  1461. RightLeg = CFrame.new(0.5,-1,0)
  1462. LeftLeg = CFrame.new(-0.5,-1,0)
  1463.  
  1464. lefth = (torso.CFrame*LeftLeg)
  1465. righth = (torso.CFrame*RightLeg)
  1466.  
  1467. speed = Vector3.new(torso.Velocity.X,0,torso.Velocity.Z)
  1468.  
  1469. TiltOnAxis = (torso.CFrame-torso.CFrame.p):vectorToObjectSpace(speed/100)
  1470.  
  1471. local AngleThetaR = (righth-righth.p):vectorToObjectSpace(speed/100)
  1472. local AngleThetaL = (lefth-lefth.p):vectorToObjectSpace(speed/100)
  1473. if animpose ~= lastanimpose then
  1474. sine = 0
  1475. if Debounces.NoIdl == false then
  1476. if stanceToggle == "Idle1" then
  1477. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.6,0.2)*CFrame.Angles(math.rad(-12-4*math.cos(sine/22)),math.rad(-12-2*math.cos(sine/22)),math.rad(12+2*math.cos(sine/22))), 0.3)
  1478. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.6,-0.2)*CFrame.Angles(math.rad(20+4*math.cos(sine/22)),math.rad(-22-2*math.cos(sine/22)),math.rad(-15-2*math.cos(sine/22))), 0.3)
  1479. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(-12+2.5*math.cos(sine/22)),math.rad(0),math.rad(0)), 0.2)
  1480. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(0), math.rad(0)), 0.4)
  1481. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(-8)), 0.4)
  1482. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(8)), 0.4)
  1483. end
  1484. fat.Event:wait()
  1485. end
  1486. else
  1487. end
  1488. lastanimpose = animpose
  1489. if Debounces.NoIdl == false then
  1490. if animpose == "Idle" then
  1491. change = 0.5
  1492. if stanceToggle == "Idle1" then
  1493. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5, 0.57 - 0.1 * math.sin(sine / 10), 0.1 - 0.1 * math.sin(sine / 10)) * CFrame.Angles(math.rad(-3 + 6 * math.sin(sine / 10)), math.rad(-15 - 10 * math.cos(sine / 10)), math.rad(13 + 6 * math.cos(sine / 10))), 0.4)
  1494. rarm.Weld.C1 = Lerp(rarm.Weld.C1, CFrame.new(0, 0.5, 0) * CFrame.Angles(0, 0, 0), 0.4)
  1495. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5, 0.57 - 0.1 * math.sin(sine / 10), 0.1 - 0.1 * math.sin(sine / 10)) * CFrame.Angles(math.rad(-4 - 6 * math.sin(sine / 10)), math.rad(15 + 10 * math.cos(sine / 10)), math.rad(-13 - 6 * math.cos(sine / 10))), 0.4)
  1496. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, -0.2) * CFrame.Angles(math.rad(0), math.rad(0), 0), 0.4)
  1497. hed.Weld.C1 = Lerp(hed.Weld.C1, CFrame.new(0, 0, 0.1 - 0.05 * math.cos(sine / 10)) * CFrame.Angles(math.rad(14 - 5 * math.cos(sine / 10)), math.rad(20), 0), 0.4)
  1498. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 2 - 0.16 * math.cos(sine / 10), 0) * CFrame.Angles(0, math.rad(20), math.rad(0)), 0.05)
  1499. torso.Weld.C1 = Lerp(torso.Weld.C1, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(10 + 3 * math.cos(sine / 10)), math.rad(0), math.rad(0)), 0.05)
  1500. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1.05 - 0.05 * math.sin(sine / 10), 0) * CFrame.Angles(math.rad(-12 + 5 * math.sin(sine / 10)), math.rad(20 + 6 * math.sin(sine / 10)), math.rad(-12 - 2 * math.sin(sine / 10))), 0.4)
  1501. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -0.6 - 0.1 * math.sin(sine / 10), -0.5) * CFrame.Angles(math.rad(-9 + 5 * math.sin(sine / 10)), math.rad(-9 - 6 * math.sin(sine / 10)), math.rad(4 + 3 * math.sin(sine / 10))), 0.4)
  1502. end
  1503. elseif animpose == "Walking" then
  1504. change = 1
  1505. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5, 0.55, 0) * CFrame.Angles(math.rad(-20) + root.RotVelocity.Y / 20, math.rad(16) - root.RotVelocity.Y / 20, math.rad(-10 - 2 * math.cos(sine / 14)) + root.RotVelocity.Y / 20), 0.2)
  1506. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, -0.2) * CFrame.Angles(math.rad(-14), 0, 0), 0.4)
  1507. hed.Weld.C1 = Lerp(hed.Weld.C1, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(20) - root.RotVelocity.Y / 10, 0), 0.2)
  1508. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 2 - 0.17 * math.cos(sine / 14), 0) * CFrame.Angles(math.rad(-16), math.rad(0), root.RotVelocity.Y / 10), 0.05)
  1509. torso.Weld.C1 = Lerp(torso.Weld.C1, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-20) + root.RotVelocity.Y / 10, 0), 0.05)
  1510. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1.05 - 0.05 * math.sin(sine / 10), 0) * CFrame.Angles(math.rad(-13 + 3 * math.sin(sine / 10)), math.rad(-20) + root.RotVelocity.Y / 15, math.rad(-8) - root.RotVelocity.Y / 20), 0.4)
  1511. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -0.5 - 0.1 * math.sin(sine / 14), -0.7) * CFrame.Angles(math.rad(-16 + 3 * math.sin(sine / 10)), math.rad(-20) + root.RotVelocity.Y / 15, math.rad(8) - root.RotVelocity.Y / 20), 0.4)
  1512. elseif animpose == "Running" then
  1513. change = 1.5
  1514. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.35,.4)*CFrame.Angles(math.rad(-30),math.rad(14),math.rad(-30+2*math.cos(sine/14))), 0.2)
  1515. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.2,0.55,-.4)*CFrame.Angles(math.rad(110),math.rad(0),math.rad(40-2*math.cos(sine/14))), 0.2)
  1516. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, .2) * CFrame.Angles(math.rad(20),math.rad(10),0), 0.4)
  1517. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0-0.1*math.cos(sine/10), 0) * CFrame.Angles(math.rad(-40),math.rad(-10), math.rad(0)), 0.4)
  1518. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, 0, -1.2) * CFrame.Angles(math.rad(-20), math.rad(10), math.rad(0)), 0.4)
  1519. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-12), math.rad(10), math.rad(0)), 0.4)
  1520. end
  1521. end
  1522. end)
  1523.  
  1524. paly = game.Players.LocalPlayer
  1525. p = game.Players.LocalPlayer
  1526. char = paly.Character
  1527. vt = Vector3.new
  1528. rleg = char["Right Leg"]
  1529. lleg = char["Left Leg"]
  1530. local maincolor = BrickColor.new("Plum")
  1531.  
  1532. local orb = Instance.new("Part")
  1533. orb.Parent = char
  1534. orb.Size = Vector3.new(0.2, 0.2, 0.2)
  1535. orb.Archivable = true
  1536. orb.Transparency = 1
  1537. orb.BrickColor = maincolor
  1538. orb.Material = "Neon"
  1539. orb.CanCollide = false
  1540. local weld1 = Instance.new("Weld")
  1541. weld1.Parent = rleg
  1542. weld1.Part0 = rleg
  1543. weld1.Part1 = orb
  1544. weld1.C1 = CFrame.new(0, 1.125, 0)
  1545. local pt1 = NumberSequenceKeypoint.new(0,0.85,0)
  1546. local pt2 = NumberSequenceKeypoint.new(1,0,0)
  1547. local effecto = Instance.new("ParticleEmitter",orb)
  1548. effecto.ZOffset = 1
  1549. effecto.LightEmission = 1
  1550. effecto.Texture = "rbxasset://textures/particles/smoke_main.dds"
  1551. effecto.Color = ColorSequence.new(maincolor.Color)
  1552. effecto.Rate = 10000
  1553. effecto.Lifetime = NumberRange.new(1)
  1554. effecto.Size = NumberSequence.new({pt1,pt2})
  1555. effecto.Speed = NumberRange.new(0,0)
  1556. effecto.RotSpeed = NumberRange.new(100,100)
  1557.  
  1558. local orbz = Instance.new("Part")
  1559. orbz.Parent = char
  1560. orbz.Size = Vector3.new(0.2, 0.2, 0.2)
  1561. orbz.Archivable = true
  1562. orbz.Transparency = 1
  1563. orbz.BrickColor = maincolor
  1564. orbz.Material = "Neon"
  1565. orbz.CanCollide = false
  1566. local weldz1 = Instance.new("Weld")
  1567. weldz1.Parent = lleg
  1568. weldz1.Part0 = lleg
  1569. weldz1.Part1 = orbz
  1570. weldz1.C1 = CFrame.new(0, 1.125, 0)
  1571. local effecton = Instance.new("ParticleEmitter",orbz)
  1572. effecton.ZOffset = 1
  1573. effecton.LightEmission = 1
  1574. effecton.Texture = "rbxasset://textures/particles/smoke_main.dds"
  1575. effecton.Color = ColorSequence.new(maincolor.Color)
  1576. effecton.Rate = 10000
  1577. effecton.Lifetime = NumberRange.new(1)
  1578. effecton.Size = NumberSequence.new({pt1,pt2})
  1579. effecton.Speed = NumberRange.new(0,0)
  1580. effecton.RotSpeed = NumberRange.new(100,100)
  1581.  
  1582. local runServ = game:GetService("RunService").RenderStepped
  1583.  
  1584. runServ:connect(function()
  1585. text.Text = "Rex, Ruler of the Universe: " ..math.floor(hum.Health)
  1586. end)
  1587.  
  1588. Charging = false
  1589. chargewait = false
  1590. mouse.KeyDown:connect(function(key)
  1591. if key == "h" then
  1592. if Charging == false and chargewait == false then
  1593. Charging = true
  1594. chargewait = true
  1595. if Debounces.CanAttack == true then
  1596. Debounces.CanAttack = false
  1597. Debounces.NoIdl = true
  1598. Debounces.on = true
  1599.  
  1600.  
  1601.  
  1602.  
  1603. for i = 1,20 do
  1604. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.65,0)*CFrame.Angles(math.rad(-20),math.rad(-20),math.rad(50)), 0.4)
  1605. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.65,0)*CFrame.Angles(math.rad(-20),math.rad(20),math.rad(-50)), 0.4)
  1606. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,.1)*CFrame.Angles(math.rad(34),math.rad(0),0), 0.4)
  1607. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(15), math.rad(0), math.rad(0)), 0.4)
  1608. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), 0, math.rad(-10)), 0.4)
  1609. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-10), 0, math.rad(10)), 0.4)
  1610.  
  1611. if Debounces.on == false then break end
  1612. rs:wait()
  1613. end
  1614. pt=Instance.new('Part',torso)
  1615. pt.Anchored=true
  1616. pt.CanCollide=false
  1617. pt.Locked = true
  1618. pt.Material = "Neon"
  1619. pt.FormFactor='Custom'
  1620. pt.Size=Vector3.new(1,1,1)
  1621. pt.BrickColor = BrickColor.new("Really black")
  1622. pt.CFrame=root.CFrame*CFrame.new(0,-1,0)
  1623. pt.Transparency=.6
  1624.  
  1625.  
  1626. msh=Instance.new('SpecialMesh',pt)
  1627. msh.MeshId='http://www.roblox.com/asset/?id=20329976'
  1628. msh.Scale=Vector3.new(8,4,8)
  1629. pt2=pt:clone()
  1630. pt2.Parent = torso
  1631. pt2.CFrame=root.CFrame*CFrame.new(0,-1,0)
  1632.  
  1633.  
  1634. msh2=msh:clone()
  1635. msh2.Parent=pt2
  1636. msh2.Scale=Vector3.new(10,5,10)
  1637.  
  1638. custommath={25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,-25,-26,-27,-28,-29,-30,-31,-32,-33,-34,-35,-36,-37,-38,-39,-40,-41,-42,-43,-44,-45,-46,-47,-48,-49,-50,-51,-52,-53,-54,-55,-56,-57,-58,-59,-60,-61,-62,-63,-64,-65,-66,-67,-68,-69,-70,-71,-72,-73,-74,-75,-76,-77,-78,-79,-80,-81,-82,-83,-84,-85,-86,-87,-88,-89,-90,-91,-92,-93,-94,-95,-96,-97,-98,-99,-100}
  1639.  
  1640. bl = Instance.new("Part", char)
  1641. bl.Locked = true
  1642. bl.Name = "Shell"
  1643.  
  1644.  
  1645. bl.Anchored = true
  1646. bl.Material = "Neon"
  1647. bl.CanCollide = false
  1648. bl.BrickColor = BrickColor.new("Dark indigo")
  1649. bl.Transparency = 0
  1650. bl.Reflectance = 0
  1651. bl.BottomSurface = 0
  1652. bl.TopSurface = 0
  1653. bl.Shape = 0
  1654. blm = Instance.new("SpecialMesh",bl)
  1655. blm.MeshType = "Sphere"
  1656. blm.Scale = Vector3.new(1,1,1)
  1657.  
  1658.  
  1659.  
  1660.  
  1661. coroutine.resume(coroutine.create(function()
  1662. for i=1, math.huge, 4 do
  1663. if Charging == true then
  1664. rs:wait()
  1665. bl.CFrame = root.CFrame * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(-i/10), math.rad(-i/10), math.rad(i/10))
  1666. blm.Scale = blm.Scale + Vector3.new(0.5, 0.5, 0.5)
  1667. bl.Transparency = bl.Transparency + 0.05
  1668. pt.CFrame = root.CFrame*CFrame.new(0,-1,0) * CFrame.Angles(0,math.rad(i*2),0)
  1669. pt2.CFrame = root.CFrame*CFrame.new(0,-1,0) * CFrame.Angles(0,math.rad(-i*2),0)
  1670. msh.Scale = msh.Scale + Vector3.new(0.05,0,0.05)
  1671. msh2.Scale = msh2.Scale + Vector3.new(0.05,0,0.05)
  1672. elseif Charging == false then break
  1673. end
  1674. end
  1675. end))
  1676.  
  1677.  
  1678. repeat
  1679. local p = Instance.new('Part',torso)
  1680. p.formFactor = 'Custom'
  1681. p.Size = Vector3.new(1,1,1)
  1682.  
  1683. p.CanCollide = false
  1684. p.Transparency = 0
  1685. p.Anchored = true
  1686. p.Locked=true
  1687. p.Material = "Neon"
  1688. p.Transparency = 1
  1689. p.BrickColor = BrickColor.new("Dark indigo")
  1690. s = math.random(1,40)/10
  1691. local m = Instance.new("BlockMesh",p)
  1692. m.Scale = Vector3.new(s,s,s)
  1693. p.CFrame = torso.CFrame*CFrame.new(custommath[math.random(1,#custommath)]/10,-math.random(5,7),custommath[math.random(1,#custommath)]/10)*CFrame.Angles(math.random(),math.random(),math.random())
  1694. --[[coroutine.wrap(function()
  1695. wait(2)
  1696. while Charging == true do
  1697. wait(2)
  1698. GroundWave1()
  1699. wait(2)
  1700. end
  1701. end)()]]--
  1702. Spawn(function()
  1703. while rs:wait() do
  1704. if Charging == true then
  1705. rarm.Weld.C0 = CFrame.new(1.5,0.65,0)*CFrame.Angles(math.rad(math.random(-36,-20)),math.rad(math.random(-30,-20)),math.rad(math.random(30,50)))
  1706. larm.Weld.C0 = CFrame.new(-1.5,0.65,0)*CFrame.Angles(math.rad(math.random(-36,-20)),math.rad(math.random(20,30)),math.rad(math.random(-50,-30)))
  1707. hed.Weld.C0 = CFrame.new(0,1.5,.1)*CFrame.Angles(math.rad(math.random(26,34)),math.rad(math.random(-5,5)),math.rad(0))
  1708. torso.Weld.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(10), math.rad(math.random(-4,4)), math.rad(0))
  1709. lleg.Weld.C0 = CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(math.random(-10,-6)), math.rad(math.random(10,20)), math.rad(math.random(-20,-10)))
  1710. rleg.Weld.C0 = CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(math.random(-10,-6)), math.rad(math.random(-20,-10)), math.rad(math.random(10,20)))
  1711. elseif Charging == false then break
  1712. end
  1713. end
  1714. end)
  1715. Spawn(function()
  1716. while rs:wait() do
  1717. if p.Transparency >= 1 then p:Destroy() break end
  1718. p.CFrame = p.CFrame*CFrame.Angles(math.rad(2),math.rad(2),math.rad(2))+Vector3.new(0,0.2,0)
  1719. p.Transparency = p.Transparency+0.01
  1720. end
  1721. end)
  1722.  
  1723.  
  1724.  
  1725.  
  1726. local Transforming = true
  1727. hum.WalkSpeed = 0
  1728. local fx = Instance.new("Part",torso)
  1729. wit = torso.BrickColor.Color
  1730. wit2 = Color3.new(0,0,0)
  1731. local glowz = Instance.new("ParticleEmitter",fx)
  1732. glowz.LightEmission = 1
  1733. glowz.Texture = "rbxassetid://284205403"
  1734. glowz.Color = ColorSequence.new(Color3.new(1,0,1),Color3.new(0,0,0))
  1735. glowz.Size = NumberSequence.new(5)
  1736. glowz.Speed = NumberRange.new(25,50)
  1737. glowz.LockedToPart = false
  1738. glowz.Transparency = NumberSequence.new(0.75)
  1739. glowz.RotSpeed = NumberRange.new(-2000,2000)
  1740. glowz.Lifetime = NumberRange.new(1)
  1741. glowz.Rate = 50000
  1742. glowz.VelocitySpread = 9001
  1743. local glowz2 = Instance.new("ParticleEmitter",fx)
  1744. glowz2.LightEmission = 0.5
  1745. glowz.Texture = "rbxassetid://284205403"
  1746. glowz2.Color = ColorSequence.new(Color3.new(1,0,1),Color3.new(0,0,0))
  1747. glowz2.Size = NumberSequence.new(5)
  1748. glowz2.Speed = NumberRange.new(25,50)
  1749. glowz2.LockedToPart = false
  1750. glowz2.Transparency = NumberSequence.new(0.75)
  1751. glowz2.RotSpeed = NumberRange.new(-2000,2000)
  1752. glowz2.Lifetime = NumberRange.new(1)
  1753. glowz2.Rate = 50000
  1754. glowz2.VelocitySpread = 9001
  1755. fx.Anchored = true
  1756. fx.Material = "Neon"
  1757. fx.CanCollide = false
  1758. fx.Locked = true
  1759. fx.Transparency = 1
  1760. fx.Material = "Neon"
  1761. fx.Size = Vector3.new(1,1,1)
  1762. fx.TopSurface = "SmoothNoOutlines"
  1763. fx.BottomSurface = "SmoothNoOutlines"
  1764. fx.BrickColor = BrickColor.new("Really black")
  1765. fxm = Instance.new("SpecialMesh",fx)
  1766. fxm.MeshType = "Sphere"
  1767. local sa2 = Instance.new("Sound",torso)
  1768. sa2.SoundId = "rbxassetid://93724183"
  1769. sa2.Pitch = 0.5
  1770. sa2.Volume = 5
  1771. sa2.Looped = false
  1772. sa2:Play()
  1773. local value = 1
  1774. fxm.Scale = Vector3.new(1,1,1)
  1775. for i = 1, 20 do rs:wait()
  1776. value = value - 0.05
  1777. fx.Transparency = fx.Transparency - (1/20)
  1778. fx.CFrame = torso.CFrame
  1779. fxm.Scale = fxm.Scale + Vector3.new(value,value,value)
  1780. rs:wait()
  1781. end
  1782. ----------------------------------------------------
  1783. GroundWave1 = function()
  1784. local HandCF = CFrame.new(root.Position - Vector3.new(0,3,0)) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0))
  1785. local Colors = {"White", "Really black"}
  1786. local wave = Instance.new("Part", torso)
  1787. wave.BrickColor = BrickColor.new(Colors[math.random(1,#Colors)])
  1788. wave.Anchored = true
  1789. wave.CanCollide = false
  1790. wave.Locked = true
  1791. wave.Size = Vector3.new(1, 1, 1)
  1792. wave.TopSurface = "Smooth"
  1793. wave.BottomSurface = "Smooth"
  1794. wave.Transparency = 0.35
  1795. wave.CFrame = HandCF
  1796. wm = Instance.new("SpecialMesh", wave)
  1797. wm.MeshId = "rbxassetid://3270017"
  1798. coroutine.wrap(function()
  1799. for i = 1, 30, 1 do
  1800. wm.Scale = Vector3.new(50, 50, 1 + i*50)
  1801. wave.Size = wm.Scale
  1802. wave.CFrame = HandCF
  1803. wave.Transparency = i/30
  1804. wait()
  1805. end
  1806. wait()
  1807. wave:Destroy()
  1808. end)()
  1809. end
  1810. ----------------------------------------------------
  1811. GroundWave = function()
  1812. if Transforming == true then
  1813. local value = 5
  1814. local value2 = 10
  1815. local value3 = 20
  1816. local sa2 = Instance.new("Sound",torso)
  1817. sa2.SoundId = "rbxassetid://413682983"
  1818. sa2.Pitch = 1
  1819. sa2.Volume = 10
  1820. sa2.Looped = false
  1821. sa2:Play()
  1822. local wave = Instance.new("Part", torso)
  1823. local glowz = Instance.new("ParticleEmitter",wave)
  1824. glowz.LightEmission = 1
  1825. glowz.Texture = "rbxassetid://284205403"
  1826. glowz.Color = ColorSequence.new(Color3.new(1,0,1),Color3.new(0,0,0))
  1827. glowz.Size = NumberSequence.new(30)
  1828. glowz.Speed = NumberRange.new(25,100)
  1829. glowz.LockedToPart = false
  1830. glowz.Transparency = NumberSequence.new(0.75)
  1831. glowz.RotSpeed = NumberRange.new(-2000,2000)
  1832. glowz.Lifetime = NumberRange.new(1)
  1833. glowz.Rate = 50000
  1834. glowz.VelocitySpread = 9001
  1835. local glowz2 = Instance.new("ParticleEmitter",wave)
  1836. glowz2.LightEmission = 1
  1837. glowz.Texture = "rbxassetid://284205403"
  1838. glowz2.Color = ColorSequence.new(Color3.new(1,0,1),Color3.new(0,0,0))
  1839. glowz2.Size = NumberSequence.new(30)
  1840. glowz2.Speed = NumberRange.new(25,100)
  1841. glowz2.LockedToPart = false
  1842. glowz2.Transparency = NumberSequence.new(0.75)
  1843. glowz2.RotSpeed = NumberRange.new(-2000,2000)
  1844. glowz2.Lifetime = NumberRange.new(1)
  1845. glowz2.Rate = 50000
  1846. glowz2.VelocitySpread = 9001
  1847. wave.BrickColor = BrickColor.new("Dark indigo")
  1848. wave.Anchored = true
  1849. wave.CanCollide = false
  1850. wave.Locked = true
  1851. wave.Size = Vector3.new(1, 1, 1)
  1852. wave.TopSurface = "Smooth"
  1853. wave.BottomSurface = "Smooth"
  1854. wave.Transparency = 0.35
  1855. wave.CFrame = fx.CFrame
  1856. wave.Material = "Neon"
  1857. wm = Instance.new("SpecialMesh", wave)
  1858. wm.MeshType = "Sphere"
  1859. wm.Scale = Vector3.new(1,1,1)
  1860. local wave2 = Instance.new("Part", torso)
  1861. wave2.BrickColor = BrickColor.new("Dark indigo")
  1862. wave2.Anchored = true
  1863. wave2.CanCollide = false
  1864. wave2.Locked = true
  1865. wave2.Size = Vector3.new(1, 1, 1)
  1866. wave2.TopSurface = "Smooth"
  1867. wave2.BottomSurface = "Smooth"
  1868. wave2.Transparency = 0.35
  1869. wave2.CFrame = fx.CFrame
  1870. wave2.Material = "Neon"
  1871. wm2 = Instance.new("SpecialMesh", wave2)
  1872. wm2.MeshType = "FileMesh"
  1873. wm2.MeshId = "http://www.roblox.com/asset/?id=3270017"
  1874. wm2.Scale = Vector3.new(1,1,1)
  1875. local wave3 = Instance.new("Part", torso)
  1876. wave3.BrickColor = BrickColor.new("Really black")
  1877. wave3.Anchored = true
  1878. wave3.CanCollide = false
  1879. wave3.Locked = true
  1880. wave3.Size = Vector3.new(1, 1, 1)
  1881. wave3.TopSurface = "Smooth"
  1882. wave3.BottomSurface = "Smooth"
  1883. wave3.Transparency = 0.35
  1884. wave3.CFrame = fx.CFrame
  1885. wave3.Material = "Neon"
  1886. wm3 = Instance.new("SpecialMesh", wave3)
  1887. wm3.MeshType = "FileMesh"
  1888. wm3.MeshId = "http://www.roblox.com/asset/?id=3270017"
  1889. wm3.Scale = Vector3.new(1,1,1)
  1890. coroutine.wrap(function()
  1891. for i = 1, 18, 1 do
  1892. value = value - 0.5
  1893. value2 = value2 - 0.75*1.5
  1894. value3 = value3 - 0.475*1.5
  1895. wm.Scale = wm.Scale + Vector3.new(value*3.5,value*3.5,value*3.5)
  1896. wm2.Scale = wm.Scale + Vector3.new(value2*3.5,value2*3.5,0.5)
  1897. wm3.Scale = wm.Scale + Vector3.new(value3*3.5,value3*3.5,0.25)
  1898. --wave.Size = wm.Scale
  1899. wave.CFrame = fx.CFrame
  1900. wave.Transparency = i/14
  1901. --wave2.Size = wm2.Scale
  1902. wave2.CFrame = fx.CFrame
  1903. wave2.Rotation = Vector3.new(90, 0, 0)
  1904. wave2.Transparency = i/14
  1905. --wave3.Size = wm3.Scale
  1906. wave3.CFrame = fx.CFrame
  1907. wave3.Rotation = Vector3.new(90, 0, 0)
  1908. wave3.Transparency = i/14
  1909. wait()
  1910. glowz.Rate = 0
  1911. glowz2.Rate = 0
  1912. end
  1913. wait()
  1914. wave:Destroy()
  1915. wave2:Destroy()
  1916. wave3:Destroy()
  1917. end)()
  1918. elseif Transforming == false then
  1919. wait()
  1920. end
  1921. end
  1922.  
  1923. for i = 1, 100 do rs:wait()
  1924. fx.CFrame = torso.CFrame
  1925. end
  1926.  
  1927. Spawn(function()
  1928. while wait(1) do
  1929. GroundWave()
  1930. end
  1931. end)
  1932.  
  1933. wait(4)
  1934.  
  1935. Transforming = false
  1936.  
  1937. local value2 = 1
  1938. for i = 1, 20 do rs:wait()
  1939. value2 = value2 - 0.05
  1940. glowz.Rate = 0
  1941. glowz2.Rate = 0
  1942. fx.Transparency = fx.Transparency + (1/20)
  1943. fx.CFrame = torso.CFrame
  1944. fxm.Scale = fxm.Scale + Vector3.new(value2,value2,value2)
  1945. rs:wait()
  1946. end
  1947. glowz:Destroy()
  1948. glowz2:Destroy()
  1949.  
  1950. local HandCF = CFrame.new(root.Position - Vector3.new(0,3,0)) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0))
  1951. local valuer = 5
  1952. local valuer2 = 10
  1953. local valuer3 = 15
  1954. local sa2 = Instance.new("Sound",torso)
  1955. sa2.SoundId = "rbxassetid://130972023"
  1956. sa2.Pitch = 1
  1957. sa2.Volume = 5
  1958. sa2.Looped = false
  1959. sa2:Play()
  1960. local sar2 = Instance.new("Sound",torso)
  1961. sar2.SoundId = "rbxassetid://153274423"
  1962. sar2.Pitch = 1
  1963. sar2.Volume = 5
  1964. sar2.Looped = false
  1965. sar2:Play()
  1966. local wave = Instance.new("Part", torso)
  1967. wave.BrickColor = BrickColor.new("Dark indigo")
  1968. wave.Anchored = true
  1969. wave.CanCollide = false
  1970. wave.Locked = true
  1971. wave.Size = Vector3.new(1, 1, 1)
  1972. wave.TopSurface = "Smooth"
  1973. wave.BottomSurface = "Smooth"
  1974. wave.Transparency = 0.35
  1975. wave.CFrame = HandCF
  1976. wm = Instance.new("SpecialMesh", wave)
  1977. wm.MeshId = "rbxassetid://3270017"
  1978. local wave2 = Instance.new("Part", torso)
  1979. wave2.BrickColor = BrickColor.new("Really black")
  1980. wave2.Anchored = true
  1981. wave2.CanCollide = false
  1982. wave2.Locked = true
  1983. wave2.Size = Vector3.new(1, 1, 1)
  1984. wave2.TopSurface = "Smooth"
  1985. wave2.BottomSurface = "Smooth"
  1986. wave2.Transparency = 0.35
  1987. wave2.CFrame = HandCF
  1988. wm2 = Instance.new("SpecialMesh", wave2)
  1989. wm2.MeshId = "rbxassetid://3270017"
  1990. local wave3 = Instance.new("Part", torso)
  1991. wave3.BrickColor = BrickColor.new("Dark indigo")
  1992. wave3.Anchored = true
  1993. wave3.CanCollide = false
  1994. wave3.Locked = true
  1995. wave3.Size = Vector3.new(1, 1, 1)
  1996. wave3.TopSurface = "Smooth"
  1997. wave3.BottomSurface = "Smooth"
  1998. wave3.Transparency = 0.35
  1999. wave3.CFrame = HandCF
  2000. wm3 = Instance.new("SpecialMesh", wave3)
  2001. wm3.MeshId = "rbxassetid://3270017"
  2002. coroutine.wrap(function()
  2003. for i = 1, 14, 1 do
  2004. valuer = valuer - 0.35
  2005. valuer2 = valuer - 0.45
  2006. valuer3 = valuer3 - 0.475
  2007. wm.Scale = wm.Scale + Vector3.new(valuer*2.5,valuer*2.5, 1 + i*200)
  2008. wave.Size = wm.Scale
  2009. wave.CFrame = HandCF
  2010. wave.Transparency = i/14
  2011. wm2.Scale = wm2.Scale + Vector3.new(valuer2*2.5,valuer2*2.5, 0 + i*10)
  2012. wave2.Size = wm2.Scale
  2013. wave2.CFrame = HandCF
  2014. wave2.Transparency = i/14
  2015. wm3.Scale = wm3.Scale + Vector3.new(valuer3*2.5,valuer3*2.5, 1)
  2016. wave3.Size = wm2.Scale
  2017. wave3.CFrame = HandCF
  2018. wave3.Transparency = i/14
  2019. wait()
  2020. end
  2021. wait()
  2022. wave:Destroy()
  2023. wave2:Destroy()
  2024. end)()
  2025. hum.WalkSpeed = 17
  2026.  
  2027.  
  2028.  
  2029. until Charging == false
  2030. end
  2031. end
  2032. end
  2033. end)
  2034.  
  2035.  
  2036. ----------------------------------------------------
  2037. mouse.KeyUp:connect(function(key)
  2038. if key == "h" then
  2039. if Charging == true and chargewait == true then
  2040. chargewait = false
  2041. wait(1)
  2042. Charging = false
  2043.  
  2044. local runServ = game:GetService("RunService").RenderStepped
  2045.  
  2046.  
  2047. --[[for i,v in pairs (torso:GetChildren()) do
  2048. if v:IsA("Sound") then
  2049. v:Destroy()
  2050. end
  2051. end]]
  2052.  
  2053.  
  2054. --so("http://roblox.com/asset/?id=160867463",torso,1,0.7)
  2055.  
  2056. pt:Destroy()
  2057. pt2:Destroy()
  2058. bl:Destroy()
  2059. if Debounces.CanAttack == false then
  2060. Debounces.CanAttack = true
  2061. Debounces.NoIdl = false
  2062. Debounces.on = false
  2063. Debounces.grab = false
  2064.  
  2065. end
  2066. end
  2067. end
  2068. end)
  2069.  
  2070. while wait() do
  2071. healthgui.Text = "[Z]\nUniverse Bullet"
  2072. basicgui.Text = "[X]\nUniversal Strike"
  2073. basic2gui.Text = "[C]\nKarma"
  2074. basic3gui.Text = "[V]\nWarp"
  2075. basic4gui.Text = "[B]\nPlanet Destroyer"
  2076. hed.BrickColor = BrickColor.new("Bright violet")
  2077. tors.BrickColor = BrickColor.new("Really black")
  2078. rleg.BrickColor = BrickColor.new("Bright violet")
  2079. rarm.BrickColor = BrickColor.new("Bright violet")
  2080. larm.BrickColor = BrickColor.new("Bright violet")
  2081. lleg.BrickColor = BrickColor.new("Bright violet")
  2082. end--Made by Noobygames12, edited by RealPieDiePew
  2083. --If credit is removed, go die.
  2084. paly = game.Players.LocalPlayer
  2085. p = game.Players.LocalPlayer
  2086. char = paly.Character
  2087. torso = char.Torso
  2088. neck = char.Torso.Neck
  2089. hum = char.Humanoid
  2090. Player = game:GetService("Players").LocalPlayer
  2091. local mouse = Player:GetMouse()
  2092. Character = Player.Character
  2093. tors = Character.Torso
  2094. lleg = Character["Left Leg"]
  2095. root = Character.HumanoidRootPart
  2096. hed = Character.Head
  2097. rleg = Character["Right Leg"]
  2098. rarm = Character["Right Arm"]
  2099. larm = Character["Left Arm"]
  2100. tors.Material = Enum.Material.Fabric
  2101. local root = char.HumanoidRootPart
  2102. local rj = root.RootJoint
  2103. local deb = false
  2104. local shot = 0
  2105. local stanceToggle = "Idle1"
  2106. local l = game:GetService("Lighting")
  2107. local rs = game:GetService("RunService").RenderStepped
  2108. local hb = game:GetService("RunService").Heartbeat
  2109. local Stepped = game:GetService("RunService").Stepped
  2110. math.randomseed(os.time())
  2111. ptez = {0.7, 0.8, 0.9, 1}
  2112. local BC = Character["Body Colors"]
  2113. BC.HeadColor = BrickColor.new("Bright violet")
  2114. BC.LeftArmColor = BrickColor.new("Bright violet")
  2115. BC.LeftLegColor = BrickColor.new("Bright violet")
  2116. BC.RightArmColor = BrickColor.new("Bright violet")
  2117. BC.RightLegColor = BrickColor.new("Bright violet")
  2118. BC.TorsoColor = BrickColor.new("Really black")
  2119. local Effects = {}
  2120. hed.face:Destroy()
  2121. hum.MaxHealth = 1000000
  2122. attack = false
  2123. vt = Vector3.new
  2124. bc = BrickColor.new
  2125. br = BrickColor.random
  2126. it = Instance.new
  2127. cf = CFrame.new
  2128. euler = CFrame.fromEulerAnglesXYZ
  2129. angles = CFrame.Angles
  2130. matr = math.random
  2131. local basiccooldown = math.huge
  2132. local ultcooldown = math.huge
  2133. local secondcooldown = math.huge
  2134. local thirdcooldown = math.huge
  2135. local s = Instance.new("Sound",char)
  2136. s.Name = "sos"
  2137. s.SoundId = "http://www.roblox.com/asset/?id=195900687"
  2138. s.Pitch = 1
  2139. s.Volume = math.huge
  2140. s.Looped = true
  2141. s:Play()
  2142.  
  2143. local prtrm = Instance.new("Part",Character)
  2144. prtrm.Size = vt(2.1,2.1,1.1)
  2145. prtrm.CanCollide = false
  2146. prtrm.Transparency = 0.5
  2147. prtrm.Material = "SmoothPlastic"
  2148. prtrm.BrickColor = bc("Really black")
  2149. local wldm = Instance.new("Weld",Character)
  2150. wldm.Part0 = tors
  2151. wldm.Part1 = prtrm
  2152.  
  2153. local prtr = Instance.new("Part",Character)
  2154. prtr.Size = vt(1.1,2.1,1.1)
  2155. prtr.CanCollide = false
  2156. prtr.Transparency = 0.5
  2157. prtr.Material = "SmoothPlastic"
  2158. prtr.BrickColor = bc("Bright violet")
  2159. local prtrl = Instance.new("Part",Character)
  2160. prtrl.Size = vt(1.1,2.1,1.1)
  2161. prtrl.CanCollide = false
  2162. prtrl.Transparency = 0.5
  2163. prtrl.Material = "SmoothPlastic"
  2164. prtrl.BrickColor = bc("Bright violet")
  2165. local eff = Instance.new("ParticleEmitter",prtr)
  2166. eff.LightEmission = 0
  2167. eff.Texture = "rbxassetid://284205403"
  2168. eff.Color = ColorSequence.new(Color3.new(1,0,1),Color3.new(1,0,1))
  2169. eff.Size = NumberSequence.new(0.5,1)
  2170. eff.Acceleration = vt(0,25,0)
  2171. eff.Speed = NumberRange.new(-5)
  2172. eff.LockedToPart = false
  2173. eff.Transparency = NumberSequence.new(0.95)
  2174. eff.Lifetime = NumberRange.new(0.5)
  2175. eff.Rate = 100000
  2176. eff.VelocitySpread = 25
  2177. local wld = Instance.new("Weld",Character)
  2178. wld.Part0 = rarm
  2179. wld.Part1 = prtr
  2180. local wldl = Instance.new("Weld",Character)
  2181. wldl.Part0 = rleg
  2182. wldl.Part1 = prtrl
  2183.  
  2184. local prtr2 = Instance.new("Part",Character)
  2185. prtr2.Size = vt(1.1,2.1,1.1)
  2186. prtr2.CanCollide = false
  2187. prtr2.Transparency = 0.5
  2188. prtr2.Material = "SmoothPlastic"
  2189. prtr2.BrickColor = bc("Bright violet")
  2190. local prtrl2 = Instance.new("Part",Character)
  2191. prtrl2.Size = vt(1.1,2.1,1.1)
  2192. prtrl2.CanCollide = false
  2193. prtrl2.Transparency = 0.5
  2194. prtrl2.Material = "SmoothPlastic"
  2195. prtrl2.BrickColor = bc("Bright violet")
  2196. local eff2 = Instance.new("ParticleEmitter",prtr2)
  2197. eff2.LightEmission = 0
  2198. eff2.Texture = "rbxassetid://284205403"
  2199. eff2.Color = ColorSequence.new(Color3.new(1,0,1),Color3.new(1,0,1))
  2200. eff2.Size = NumberSequence.new(0.5,1)
  2201. eff2.Acceleration = vt(0,25,0)
  2202. eff2.Speed = NumberRange.new(-5)
  2203. eff2.LockedToPart = false
  2204. eff2.Transparency = NumberSequence.new(0.95)
  2205. eff2.Lifetime = NumberRange.new(0.5)
  2206. eff2.Rate = 100000
  2207. eff2.VelocitySpread = 25
  2208. local wld2 = Instance.new("Weld",Character)
  2209. wld2.Part0 = larm
  2210. wld2.Part1 = prtr2
  2211. local wldl2 = Instance.new("Weld",Character)
  2212. wldl2.Part0 = lleg
  2213. wldl2.Part1 = prtrl2
  2214.  
  2215. local lightning = Instance.new("ParticleEmitter",torso)
  2216. lightning.Texture = "http://www.roblox.com/asset/?id=348321827"
  2217. lightning.LightEmission = 0
  2218. lightning.Color = ColorSequence.new(Color3.new(1,0,1),Color3.new(1,0,1))
  2219. lightning.LockedToPart = true
  2220. lightning.Rate = 20
  2221. lightning.Lifetime = NumberRange.new(0.1,0.10)
  2222. lightning.Rotation = NumberRange.new(0,360)
  2223. lightning.Size = NumberSequence.new(3,3,3)
  2224. lightning.Transparency = NumberSequence.new(0,0)
  2225. lightning.Speed = NumberRange.new(0,0)
  2226. lightning.RotSpeed = NumberRange.new(0,0)
  2227. lightning.ZOffset = 5
  2228. lightning.Enabled = false
  2229.  
  2230. local eeeffecto = Instance.new("ParticleEmitter",torso)
  2231. eeeffecto.Texture = "http://www.roblox.com/asset/?id=305943367"
  2232. eeeffecto.LightEmission = 0
  2233. eeeffecto.Color = ColorSequence.new(Color3.new(1,0,1),Color3.new(1,0,1))
  2234. eeeffecto.LockedToPart = true
  2235. eeeffecto.Rate = 10
  2236. eeeffecto.Lifetime = NumberRange.new(0.1,0.1)
  2237. eeeffecto.Rotation = NumberRange.new(0,0)
  2238. eeeffecto.Size = NumberSequence.new(9,9,9)
  2239. eeeffecto.Transparency = NumberSequence.new(0,0)
  2240. eeeffecto.Speed = NumberRange.new(0,0)
  2241. eeeffecto.RotSpeed = NumberRange.new(0,0)
  2242. eeeffecto.Enabled = false
  2243.  
  2244.  
  2245. for i,v in pairs(Character:children()) do
  2246. if v:IsA("Shirt") then
  2247. v:Destroy()
  2248. end
  2249. end
  2250. for i,v in pairs(Character:children()) do
  2251. if v:IsA("Pants") then
  2252. v:Destroy()
  2253. end
  2254. end
  2255. for i,v in pairs(char:children()) do
  2256. if v:IsA("Accessory") then
  2257. v:Destroy()
  2258. end
  2259. end
  2260.  
  2261. CV="Hot pink"
  2262.  
  2263. Reaper = Instance.new("Model",Character)
  2264. Reaper.Name = "Reaper"
  2265. rh = Instance.new("Part")
  2266. rh.Name = "rh"
  2267. rh.Parent = Reaper
  2268. rh.Locked = true
  2269. rh.CanCollide = false
  2270. mesh = Instance.new("SpecialMesh")
  2271. rh.formFactor = "Symmetric"
  2272. mesh.MeshType = "FileMesh"
  2273. mesh.MeshId = "http://www.roblox.com/asset/?id=21057410"
  2274. mesh.TextureId = "http://www.roblox.com/asset/?id=250577405"
  2275. mesh.Scale = Vector3.new(1.05, 1.05, 1.05)
  2276. mesh.Parent = rh
  2277. local weld = Instance.new("Weld")
  2278. weld.Parent = rh
  2279. weld.Part0 = rh
  2280. weld.Part1 = Player.Character.Head
  2281. weld.C0 = CFrame.new(0, -0.045, -0.028)*CFrame.Angles(0, 0, 0)
  2282.  
  2283. local txt = Instance.new("BillboardGui", char)
  2284. txt.Adornee = char .Head
  2285. txt.Name = "_status"
  2286. txt.Size = UDim2.new(2, 0, 1.2, 0)
  2287. txt.StudsOffset = Vector3.new(-9, 8, 0)
  2288. local text = Instance.new("TextLabel", txt)
  2289. text.Size = UDim2.new(10, 0, 7, 0)
  2290. text.FontSize = "Size24"
  2291. text.TextScaled = true
  2292. text.TextTransparency = 0
  2293. text.BackgroundTransparency = 1
  2294. text.TextTransparency = 0
  2295. text.TextStrokeTransparency = 0
  2296. text.Font = "SciFi"
  2297. text.TextStrokeColor3 = BrickColor.new("Really black").Color
  2298.  
  2299. v=Instance.new("Part")
  2300. v.Name = "ColorBrick"
  2301. v.Parent=p.Character
  2302. v.FormFactor="Symmetric"
  2303. v.Anchored=true
  2304. v.CanCollide=false
  2305. v.BottomSurface="Smooth"
  2306. v.TopSurface="Smooth"
  2307. v.Size=Vector3.new(10,5,3)
  2308. v.Transparency=1
  2309. v.CFrame=char.Torso.CFrame
  2310. v.BrickColor=BrickColor.new(CV)
  2311. v.Transparency=1
  2312. text.TextColor3 = BrickColor.new("Bright violet").Color
  2313. v.Shape="Block"
  2314. text.Text = "Rex, Ruler of the Universe:" ..math.floor(hum.Health)
  2315.  
  2316. gui = function(GuiType, parent, text, backtrans, backcol, pos, size)
  2317. local gui = it(GuiType)
  2318. gui.Parent = parent
  2319. gui.Text = text
  2320. gui.BackgroundTransparency = backtrans
  2321. gui.BackgroundColor3 = backcol
  2322. gui.SizeConstraint = "RelativeXY"
  2323. gui.TextXAlignment = "Center"
  2324. gui.TextYAlignment = "Center"
  2325. gui.Position = pos
  2326. gui.Size = size
  2327. gui.Font = "SourceSans"
  2328. gui.FontSize = "Size14"
  2329. gui.TextWrapped = false
  2330. gui.TextStrokeTransparency = 0
  2331. gui.TextColor = BrickColor.new("White")
  2332. return gui
  2333. end
  2334.  
  2335. local boll = Instance.new("Part",game.Lighting)
  2336. boll.Transparency = 0.5
  2337. boll.Material = "Neon"
  2338. boll.BrickColor = bc("Bright red")
  2339. boll.Anchored = true
  2340. boll.Size = vt(1,1,1)
  2341. boll.Shape = "Ball"
  2342. boll.CanCollide = false
  2343.  
  2344. local shur = Instance.new("Part",game.Lighting)
  2345. shur.Transparency = 0
  2346. shur.Material = "Neon"
  2347. shur.BrickColor = bc("Bright red")
  2348. shur.Anchored = true
  2349. shur.Size = vt(5,0.2,5)
  2350. shur.CanCollide = false
  2351. local Meshshur = Instance.new("CylinderMesh",shur)
  2352.  
  2353. Damagefunc=function(hit,minim,maxim,knockback,Type,Property,Delay,KnockbackType,decreaseblock)
  2354. if hit.Parent==nil then
  2355. return
  2356. end
  2357. h=hit.Parent:FindFirstChild("Humanoid")
  2358. for _,v in pairs(hit.Parent:children()) do
  2359. if v:IsA("Humanoid") then
  2360. h=v
  2361. end
  2362. end
  2363. if hit.Parent.Parent:FindFirstChild("Torso")~=nil then
  2364. h=hit.Parent.Parent:FindFirstChild("Humanoid")
  2365. end
  2366. if hit.Parent.className=="Hat" then
  2367. hit=hit.Parent.Parent:findFirstChild("Head")
  2368. end
  2369. if h~=nil and hit.Parent.Name~=Character.Name and hit.Parent:FindFirstChild("Torso")~=nil then
  2370. if hit.Parent:findFirstChild("DebounceHit")~=nil then if hit.Parent.DebounceHit.Value==true then return end end
  2371. --[[ if game.Players:GetPlayerFromCharacter(hit.Parent)~=nil then
  2372. return
  2373. end]]
  2374. -- hs(hit,1.2)
  2375. c=Instance.new("ObjectValue")
  2376. c.Name="creator"
  2377. c.Value=game:service("Players").LocalPlayer
  2378. c.Parent=h
  2379. game:GetService("Debris"):AddItem(c,.5)
  2380. Damage=math.random(minim,maxim)
  2381. -- h:TakeDamage(Damage)
  2382. blocked=false
  2383. block=hit.Parent:findFirstChild("Block")
  2384. if block~=nil then
  2385. print(block.className)
  2386. if block.className=="NumberValue" then
  2387. if block.Value>0 then
  2388. blocked=true
  2389. if decreaseblock==nil then
  2390. block.Value=block.Value-1
  2391. end
  2392. end
  2393. end
  2394. if block.className=="IntValue" then
  2395. if block.Value>0 then
  2396. blocked=true
  2397. if decreaseblock~=nil then
  2398. block.Value=block.Value-1
  2399. end
  2400. end
  2401. end
  2402. end
  2403. if blocked==false then
  2404. -- h:TakeDamage(Damage)
  2405. h.Health=h.Health-Damage
  2406. showDamage(hit.Parent,Damage,.5,TorsoColor)
  2407. else
  2408. h.Health=h.Health-(Damage/2)
  2409. showDamage(hit.Parent,Damage/2,.5,BrickColor.new("Bright blue"))
  2410. end
  2411. if Type=="Knockdown" then
  2412. hum=hit.Parent.Humanoid
  2413. hum.PlatformStand=true
  2414. coroutine.resume(coroutine.create(function(HHumanoid)
  2415. swait(1)
  2416. HHumanoid.PlatformStand=false
  2417. end),hum)
  2418. local angle=(hit.Position-(Property.Position+Vector3.new(0,0,0))).unit
  2419. --hit.CFrame=CFrame.new(hit.Position,Vector3.new(angle.x,hit.Position.y,angle.z))*CFrame.fromEulerAnglesXYZ(math.pi/4,0,0)
  2420. local bodvol=Instance.new("BodyVelocity")
  2421. bodvol.velocity=angle*knockback
  2422. bodvol.P=5000
  2423. bodvol.maxForce=Vector3.new(8e+003, 8e+003, 8e+003)
  2424. bodvol.Parent=hit
  2425. rl=Instance.new("BodyAngularVelocity")
  2426. rl.P=3000
  2427. rl.maxTorque=Vector3.new(500000,500000,500000)*50000000000000
  2428. rl.angularvelocity=Vector3.new(math.random(-10,10),math.random(-10,10),math.random(-10,10))
  2429. rl.Parent=hit
  2430. game:GetService("Debris"):AddItem(bodvol,.5)
  2431. game:GetService("Debris"):AddItem(rl,.5)
  2432. elseif Type=="Normal" then
  2433. vp=Instance.new("BodyVelocity")
  2434. vp.P=500
  2435. vp.maxForce=Vector3.new(math.huge,0,math.huge)
  2436. -- vp.velocity=Character.Torso.CFrame.lookVector*Knockback
  2437. if KnockbackType==1 then
  2438. vp.velocity=Property.CFrame.lookVector*knockback+Property.Velocity/1.05
  2439. elseif KnockbackType==2 then
  2440. vp.velocity=Property.CFrame.lookVector*knockback
  2441. end
  2442. if knockback>0 then
  2443. vp.Parent=hit.Parent.Torso
  2444. end
  2445. game:GetService("Debris"):AddItem(vp,.5)
  2446. elseif Type=="Up" then
  2447. local bodyVelocity=Instance.new("BodyVelocity")
  2448. bodyVelocity.velocity=vt(0,10,0)
  2449. bodyVelocity.P=1000
  2450. bodyVelocity.maxForce=Vector3.new(1e+009, 1e+009, 1e+009)
  2451. bodyVelocity.Parent=hit
  2452. game:GetService("Debris"):AddItem(bodyVelocity,1)
  2453. rl=Instance.new("BodyAngularVelocity")
  2454. rl.P=3000
  2455. rl.maxTorque=Vector3.new(500000,500000,500000)*50000000000000
  2456. rl.angularvelocity=Vector3.new(math.random(-20,20),math.random(-20,20),math.random(-20,20))
  2457. rl.Parent=hit
  2458. game:GetService("Debris"):AddItem(rl,.5)
  2459. elseif Type=="Snare" then
  2460. bp=Instance.new("BodyPosition")
  2461. bp.P=2000
  2462. bp.D=100
  2463. bp.maxForce=Vector3.new(math.huge,math.huge,math.huge)
  2464. bp.position=hit.Parent.Torso.Position
  2465. bp.Parent=hit.Parent.Torso
  2466. game:GetService("Debris"):AddItem(bp,1)
  2467. elseif Type=="Target" then
  2468. if Targetting==false then
  2469. ZTarget=hit.Parent.Torso
  2470. coroutine.resume(coroutine.create(function(Part)
  2471. swait(5)
  2472. end),ZTarget)
  2473. TargHum=ZTarget.Parent:findFirstChild("Humanoid")
  2474. targetgui=Instance.new("BillboardGui")
  2475. targetgui.Parent=ZTarget
  2476. targetgui.Size=UDim2.new(10,100,10,100)
  2477. targ=Instance.new("ImageLabel")
  2478. targ.Parent=targetgui
  2479. targ.BackgroundTransparency=1
  2480. targ.Image="rbxassetid://4834067"
  2481. targ.Size=UDim2.new(1,0,1,0)
  2482. cam.CameraType="Scriptable"
  2483. cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)
  2484. dir=Vector3.new(cam.CoordinateFrame.lookVector.x,0,cam.CoordinateFrame.lookVector.z)
  2485. workspace.CurrentCamera.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)
  2486. Targetting=true
  2487. RocketTarget=ZTarget
  2488. for i=1,Property do
  2489. --while Targetting==true and Humanoid.Health>0 and Character.Parent~=nil do
  2490. if Humanoid.Health>0 and Character.Parent~=nil and TargHum.Health>0 and TargHum.Parent~=nil and Targetting==true then
  2491. swait()
  2492. end
  2493. --workspace.CurrentCamera.CoordinateFrame=CFrame.new(Head.CFrame.p,Head.CFrame.p+rmdir*100)
  2494. cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)
  2495. dir=Vector3.new(cam.CoordinateFrame.lookVector.x,0,cam.CoordinateFrame.lookVector.z)
  2496. cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)*cf(0,5,10)*euler(-0.3,0,0)
  2497. end
  2498. Targetting=false
  2499. RocketTarget=nil
  2500. targetgui.Parent=nil
  2501. cam.CameraType="Custom"
  2502. end
  2503. end
  2504. debounce=Instance.new("BoolValue")
  2505. debounce.Name="DebounceHit"
  2506. debounce.Parent=hit.Parent
  2507. debounce.Value=true
  2508. game:GetService("Debris"):AddItem(debounce,Delay)
  2509. c=Instance.new("ObjectValue")
  2510. c.Name="creator"
  2511. c.Value=Player
  2512. c.Parent=h
  2513. game:GetService("Debris"):AddItem(c,.5)
  2514. CRIT=false
  2515. hitDeb=true
  2516. AttackPos=6
  2517. end
  2518. end
  2519.  
  2520. showDamage=function(Char,Dealt,du,Color)
  2521. m=Instance.new("Model")
  2522. m.Name=tostring(Dealt)
  2523. h=Instance.new("Humanoid")
  2524. h.Health=0
  2525. h.MaxHealth=0
  2526. h.Parent=m
  2527. c=Instance.new("Part")
  2528. c.Transparency=0
  2529. c.Material = "Neon"
  2530. c.BrickColor=bc("New Yeller")
  2531. c.Name="Head"
  2532. c.TopSurface=0
  2533. c.BottomSurface=0
  2534. local tick = Instance.new("Sound",c)
  2535. tick.SoundId = "rbxassetid://12221976"
  2536. tick.Volume = 5
  2537. tick.Pitch = 4
  2538. tick:Play()
  2539. c.formFactor="Plate"
  2540. c.Size=Vector3.new(1,.4,1)
  2541. ms=Instance.new("CylinderMesh")
  2542. ms.Scale=Vector3.new(.8,.8,.8)
  2543. if CRIT==true then
  2544. ms.Scale=Vector3.new(1,1.25,1)
  2545. end
  2546. ms.Parent=c
  2547. c.Reflectance=0
  2548. Instance.new("BodyGyro").Parent=c
  2549. c.Parent=m
  2550. if Char:findFirstChild("Head")~=nil then
  2551. c.CFrame=CFrame.new(Char["Head"].CFrame.p+Vector3.new(0,1.5,0))
  2552. elseif Char.Parent:findFirstChild("Head")~=nil then
  2553. c.CFrame=CFrame.new(Char.Parent["Head"].CFrame.p+Vector3.new(0,1.5,0))
  2554. end
  2555. f=Instance.new("BodyPosition")
  2556. f.P=2000
  2557. f.D=100
  2558. f.maxForce=Vector3.new(math.huge,math.huge,math.huge)
  2559. f.position=c.Position+Vector3.new(0,3,0)
  2560. f.Parent=c
  2561. game:GetService("Debris"):AddItem(m,.5+du)
  2562. c.CanCollide=false
  2563. m.Parent=workspace
  2564. c.CanCollide=false
  2565. p:Destroy()
  2566. end
  2567.  
  2568. function MagniDamage(Hit, Part, magni, mindam, maxdam, knock, Type)
  2569. for _, c in pairs(workspace:children()) do
  2570. local hum = c:findFirstChild("Humanoid")
  2571. if hum ~= nil then
  2572. local head = c:findFirstChild("Torso")
  2573. if head ~= nil then
  2574. local targ = head.Position - Part.Position
  2575. local mag = targ.magnitude
  2576. if mag <= magni and c.Name ~= Player.Name then
  2577. Damagefunc(Hit, head, mindam, maxdam, knock, Type, RootPart, .2, 1, 3)
  2578. end
  2579. end
  2580. end
  2581. end
  2582. end
  2583.  
  2584. function ExplodeFast(rad,par)
  2585. local expart = Instance.new("Part",script.Parent)
  2586. local expart2 = Instance.new("Part",script.Parent)
  2587. local partMesh = Instance.new("SpecialMesh",expart)
  2588. partMesh.MeshType = "Sphere"
  2589. local partMesh2 = Instance.new("SpecialMesh",expart2)
  2590. partMesh2.MeshType = "Sphere"
  2591. local expld = Instance.new("Explosion", script.Parent)
  2592. expld.Visible = false
  2593. local plode = Instance.new("Sound",expart)
  2594. plode.SoundId = "rbxassetid://153274423"
  2595. plode.Volume = 2.5
  2596. plode.Pitch = 1
  2597. plode.Looped = false
  2598. plode:Play()
  2599. local ploder = Instance.new("Sound",expart)
  2600. ploder.SoundId = "rbxassetid://130972023"
  2601. ploder.Volume = 2.5
  2602. ploder.Pitch = 1
  2603. ploder.Looped = false
  2604. ploder:Play()
  2605. expld.BlastRadius = rad
  2606. expld.Position = par.Position
  2607. partMesh.Scale = vt(rad,rad,rad)
  2608. expart.Size = vt(1,1,1)*1.5
  2609. expart.Transparency = 0
  2610. expart.Anchored = true
  2611. expart.Material = "Neon"
  2612. expart.BrickColor = bc("Really black")
  2613. expart.CFrame = par.CFrame
  2614. partMesh2.Scale = vt(rad,rad,rad)
  2615. expart2.Size = vt(1.15,1.15,1.15)*1.5
  2616. expart2.Transparency = 0.5
  2617. expart2.Anchored = true
  2618. expart2.Material = "Neon"
  2619. expart2.BrickColor = bc("Bright violet")
  2620. expart2.CFrame = par.CFrame
  2621. local value = 1*rad/6.5
  2622. par:Destroy()
  2623. for i = 0, 100 do
  2624. partMesh.Scale = partMesh.Scale + vt(value,value,value)
  2625. expart.CFrame = expart.CFrame
  2626. partMesh2.Scale = partMesh2.Scale + vt(value,value,value)
  2627. expart2.CFrame = expart.CFrame
  2628. value = value - 0.035*rad/6.5
  2629. if value < 1 then
  2630. value = 0.25
  2631. expart.Transparency = expart.Transparency + 0.025
  2632. expart2.Transparency = expart2.Transparency + 0.025
  2633. end
  2634. wait()
  2635. end
  2636. plode.Parent = nil
  2637. ploder.Parent = nil
  2638. expart.Parent = nil
  2639. expart2.Parent = nil
  2640. expld.Parent = nil
  2641. end
  2642.  
  2643. function Explode(rad,par)
  2644. local expart = Instance.new("Part",script.Parent)
  2645. local expart2 = Instance.new("Part",script.Parent)
  2646. local partMesh = Instance.new("SpecialMesh",expart)
  2647. partMesh.MeshType = "Sphere"
  2648. local partMesh2 = Instance.new("SpecialMesh",expart2)
  2649. partMesh2.MeshType = "Sphere"
  2650. local expld = Instance.new("Explosion", script.Parent)
  2651. expld.Visible = false
  2652. local plode = Instance.new("Sound",expart)
  2653. plode.SoundId = "rbxassetid://288641686"
  2654. plode.Volume = 2.5
  2655. plode.Pitch = 0.75
  2656. plode.Looped = false
  2657. plode:Play()
  2658. local ploder = Instance.new("Sound",expart)
  2659. ploder.SoundId = "rbxassetid://206049428"
  2660. ploder.Volume = 3.25
  2661. ploder.Pitch = 0.5
  2662. ploder.Looped = false
  2663. ploder:Play()
  2664. expld.BlastRadius = rad
  2665. expld.Position = par.Position
  2666. partMesh.Scale = vt(rad,rad,rad)
  2667. expart.Size = vt(1,1,1)*1.5
  2668. expart.Transparency = 0
  2669. expart.Anchored = true
  2670. expart.Material = "Neon"
  2671. expart.BrickColor = bc("Really black")
  2672. expart.CFrame = par.CFrame
  2673. partMesh2.Scale = vt(rad,rad,rad)
  2674. expart2.Size = vt(1.15,1.15,1.15)*1.5
  2675. expart2.Transparency = 0.5
  2676. expart2.Anchored = true
  2677. expart2.Material = "Neon"
  2678. expart2.BrickColor = bc("Bright violet")
  2679. expart2.CFrame = par.CFrame
  2680. local value = 1*rad/6.5
  2681. par:Destroy()
  2682. for i = 0, 100 do
  2683. partMesh.Scale = partMesh.Scale + vt(value,value,value)
  2684. expart.CFrame = expart.CFrame
  2685. partMesh2.Scale = partMesh2.Scale + vt(value,value,value)
  2686. expart2.CFrame = expart.CFrame
  2687. value = value - 0.035*rad/6.5
  2688. if value < 1 then
  2689. value = 0.25
  2690. expart.Transparency = expart.Transparency + 0.025
  2691. expart2.Transparency = expart2.Transparency + 0.025
  2692. end
  2693. wait()
  2694. end
  2695. plode.Parent = nil
  2696. ploder.Parent = nil
  2697. expart.Parent = nil
  2698. expart2.Parent = nil
  2699. expld.Parent = nil
  2700. end
  2701.  
  2702. function ExplodeMass(rad,par)
  2703. local expart = Instance.new("Part",script.Parent)
  2704. local expart2 = Instance.new("Part",script.Parent)
  2705. local partMesh = Instance.new("SpecialMesh",expart)
  2706. partMesh.MeshType = "Sphere"
  2707. local partMesh2 = Instance.new("SpecialMesh",expart2)
  2708. partMesh2.MeshType = "Sphere"
  2709. local expld = Instance.new("Explosion", script.Parent)
  2710. expld.Visible = false
  2711. local plode = Instance.new("Sound",workspace)
  2712. plode.SoundId = "rbxassetid://579687077"
  2713. plode.Volume = 1
  2714. plode.Pitch = 0.75
  2715. plode.Looped = false
  2716. plode:Play()
  2717. local plodez = Instance.new("Sound",workspace)
  2718. plodez.SoundId = "rbxassetid://288641686"
  2719. plodez.Volume = 1
  2720. plodez.Pitch = 0.625
  2721. plodez.Looped = false
  2722. plodez:Play()
  2723. local plodeza = Instance.new("Sound",workspace)
  2724. plodeza.SoundId = "rbxassetid://197161452"
  2725. plodeza.Volume = 0.85
  2726. plodeza.Pitch = 0.5
  2727. plodeza.Looped = false
  2728. plodeza:Play()
  2729. local plodezar = Instance.new("Sound",workspace)
  2730. plodezar.SoundId = "rbxassetid://197161452"
  2731. plodezar.Volume = 0.85
  2732. plodezar.Pitch = 0.2
  2733. plodezar.Looped = false
  2734. plodezar:Play()
  2735. local s3 = Instance.new("Sound",workspace)
  2736. s3.SoundId = "rbxassetid://268931189"
  2737. s3.Pitch = 0.875
  2738. s3.Volume = 1
  2739. s3.Looped = false
  2740. s3:Play()
  2741. expld.BlastRadius = rad
  2742. expld.Position = par.Position
  2743. partMesh.Scale = vt(rad,rad,rad)
  2744. expart.Size = vt(1,1,1)*1.5
  2745. expart.Transparency = 0
  2746. expart.Anchored = true
  2747. expart.Material = "Neon"
  2748. expart.BrickColor = bc("Really black")
  2749. expart.CFrame = par.CFrame
  2750. partMesh2.Scale = vt(rad,rad,rad)
  2751. expart2.Size = vt(1.15,1.15,1.15)*1.5
  2752. expart2.Transparency = 0.5
  2753. expart2.Anchored = true
  2754. expart2.Material = "Neon"
  2755. expart2.BrickColor = bc("Bright violet")
  2756. expart2.CFrame = par.CFrame
  2757. local value = 1*rad/10
  2758. par:Destroy()
  2759. for i = 0, 300 do
  2760. partMesh.Scale = partMesh.Scale + vt(value,value,value)
  2761. expart.CFrame = expart.CFrame
  2762. partMesh2.Scale = partMesh2.Scale + vt(value,value,value)
  2763. expart2.CFrame = expart.CFrame
  2764. value = value - 0.0175*rad/10
  2765. if value <= 0 then
  2766. expart.Transparency = expart.Transparency + 0.0125
  2767. expart2.Transparency = expart2.Transparency + 0.0125
  2768. value = 0.25
  2769. end
  2770. wait()
  2771. end
  2772. plode.Parent = nil
  2773. expart.Parent = nil
  2774. expart2.Parent = nil
  2775. expld.Parent = nil
  2776. end
  2777.  
  2778. local basgui = it("GuiMain")
  2779. basgui.Parent = Player.PlayerGui
  2780. basgui.Name = "CooldownsGUI"
  2781. local basframe = it("Frame")
  2782. basframe.Parent = basgui
  2783. basframe.BackgroundColor3 = Color3.new(255, 255, 255)
  2784. basframe.BackgroundTransparency = 1
  2785. basframe.BorderColor3 = Color3.new(17, 17, 17)
  2786. basframe.Size = UDim2.new(0.2, 0, 0.2, 0)
  2787. basframe.Position = UDim2.new(0.8, 0, 0.8, 0)
  2788. local healthgui = gui("TextLabel", basframe, "Health: " ..basiccooldown, 1, BrickColor.random().Color, UDim2.new(0, 0, 0, 0), UDim2.new(0.5, 0, -0.5, 0))
  2789. local basicgui = gui("TextLabel", basframe, "Basic: " ..basiccooldown, 1, BrickColor.random().Color, UDim2.new(0, 0, 0, 0), UDim2.new(0, 0, 0.25, 0))
  2790. local basic2gui = gui("TextLabel", basframe, "FirstMove: " ..secondcooldown, 1, BrickColor.random().Color, UDim2.new(0, 0, 0, 0), UDim2.new(0, 0, 1.25, 0))
  2791. local basic3gui = gui("TextLabel", basframe, "SecondMove: " ..thirdcooldown, 1, BrickColor.random().Color, UDim2.new(0, 0, 0, 0), UDim2.new(1.15, 0, 0.25, 0))
  2792. local basic4gui = gui("TextLabel", basframe, "Ultimate: " ..ultcooldown, 1, BrickColor.random().Color, UDim2.new(0, 0, 0, 0), UDim2.new(1.15, 0, 1.25, 0))
  2793. basicgui.ZIndex = 2
  2794. healthgui.TextSize = 24
  2795. healthgui.ZIndex = 2
  2796. basicgui.TextSize = 24
  2797. basic4gui.ZIndex = 2
  2798. basic4gui.TextSize = 24
  2799. basic3gui.ZIndex = 2
  2800. basic3gui.TextSize = 24
  2801. basic2gui.ZIndex = 2
  2802. basic2gui.TextSize = 24
  2803.  
  2804.  
  2805. function Blaze()
  2806. if ultcooldown >= 30 then
  2807. local kolor = Instance.new("ColorCorrectionEffect",game.Lighting)
  2808. local see = Instance.new("Sound",workspace)
  2809. see.SoundId = "rbxassetid://21420962"
  2810. see.Pitch = 1
  2811. see.Volume = 2.75
  2812. see.Looped = false
  2813. see:Play()
  2814. kolor.Brightness = -1
  2815. kolor.Contrast = -1
  2816. kolor.TintColor = BrickColor.new("Bright violet").Color
  2817. wait(0.1)
  2818. for i = 0, 9 do
  2819. kolor.Brightness = kolor.Brightness + 0.35
  2820. kolor.Contrast = kolor.Contrast + 0.35
  2821. wait(0.05)
  2822. end
  2823. for i = 0, 9 do
  2824. kolor.Brightness = kolor.Brightness - 0.35
  2825. kolor.Contrast = kolor.Contrast - 0.35
  2826. wait(0.05)
  2827. end
  2828. kolor:Destroy()
  2829. local sloc = Instance.new("Part",workspace)
  2830. local msh = Instance.new("SpecialMesh",sloc)
  2831. msh.MeshType = "Sphere"
  2832. sloc.Size = vt(1,1,1)
  2833. sloc.Transparency = 1
  2834. sloc.BrickColor = bc("Really black")
  2835. sloc.Position = hed.Position + vt(0,250,0)
  2836. sloc.CanCollide = false
  2837. sloc.Shape = "Ball"
  2838. sloc.Anchored = true
  2839. sloc.Material = "Neon"
  2840. local s = Instance.new("Sound",workspace)
  2841. s.SoundId = "rbxassetid://342793847"
  2842. s.Pitch = 0.75
  2843. s.Volume = 1
  2844. s.Looped = false
  2845. s:Play()
  2846. local s2 = Instance.new("Sound",workspace)
  2847. s2.SoundId = "rbxassetid://137463716"
  2848. s2.Pitch = 0.5
  2849. s2.Volume = 1
  2850. s2.Looped = false
  2851. s2:Play()
  2852. local val = 0.65*5
  2853. for i = 0 , 150 do
  2854. sloc.Transparency = sloc.Transparency - 0.035
  2855. msh.Scale = msh.Scale + vt(val,val,val)
  2856. val = val - 0.0075*2.5
  2857. wait()
  2858. end
  2859. msh.Scale = msh.Scale - vt(1,1,1)
  2860. sloc.Transparency = sloc.Transparency + 0.015
  2861. local spart = Instance.new("Part",workspace)
  2862. local msh2 = Instance.new("SpecialMesh",spart)
  2863. msh2.MeshType = "Sphere"
  2864. spart.Size = vt(2,2,2)
  2865. spart.Shape = "Ball"
  2866. spart.BrickColor = bc("Really black")
  2867. spart.Material = "Neon"
  2868. spart.Transparency = 0
  2869. spart.Anchored = false
  2870. msh2.Scale = msh.Scale/2
  2871. spart.Rotation = hed.Rotation
  2872. spart.CanCollide = false
  2873. spart.Position = sloc.Position + vt(math.random(-0,0),math.random(-0,0),math.random(-0,0))
  2874. local bv = Instance.new("BodyVelocity")
  2875. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  2876. bv.velocity = mouse.Hit.lookVector * 125
  2877. bv.Parent = spart
  2878. local tick = Instance.new("Sound",workspace)
  2879. tick.SoundId = "rbxassetid://203691467"
  2880. tick.Volume = 2
  2881. tick.Pitch = 0.5
  2882. tick:Play()
  2883. sloc:Destroy()
  2884. wait(0.00001)
  2885. pewdiepie=spart.Touched:connect(function(hit)
  2886. ExplodeMass(125,spart)
  2887. end)
  2888. sloc:Destroy()
  2889. end
  2890. if ultcooldown < 1 then
  2891. for i = 0, 29 do
  2892. ultcooldown = ultcooldown + 1
  2893. wait(1)
  2894. end
  2895. end
  2896. end
  2897.  
  2898. function LocateSpot()
  2899. if basiccooldown >= 5 then
  2900. local spart = Instance.new("Part",workspace)
  2901. local msh = Instance.new("SpecialMesh",spart)
  2902. msh.MeshType = "Sphere"
  2903. local sa2 = Instance.new("Sound",spart)
  2904. sa2.SoundId = "rbxassetid://244578827"
  2905. sa2.Pitch = 1
  2906. sa2.Volume = 2.5
  2907. sa2.Looped = false
  2908. sa2:Play()
  2909. spart.Size = vt(1,1,1)
  2910. spart.BrickColor = BrickColor.new("Bright violet")
  2911. spart.Material = "Neon"
  2912. spart.Transparency = 0.25
  2913. spart.Anchored = true
  2914. spart.CanCollide = false
  2915. spart.CFrame = mouse.Hit
  2916. spart.Rotation = vt(0,0,0)
  2917. local value = 2.75
  2918. for i = 0, 74 do
  2919. value = value - 0.035
  2920. msh.Scale = msh.Scale + vt(value,0,value)
  2921. wait()
  2922. end
  2923. wait(1)
  2924. for i = 0, 24 do
  2925. value = value - 0.2215
  2926. spart.Transparency = spart.Transparency - 0.015
  2927. msh.Scale = msh.Scale + vt(value,500,value)
  2928. wait()
  2929. end
  2930. wait(0.1)
  2931. Explode(42.5,spart)
  2932. end
  2933. end
  2934.  
  2935. function TeleportSpot()
  2936. if basiccooldown >= 5 then
  2937. local sparta = Instance.new("Part",workspace)
  2938. local msher = Instance.new("SpecialMesh",sparta)
  2939. msher.MeshType = "Sphere"
  2940. msher.Scale = vt(0,0.1,0)
  2941. local sa2 = Instance.new("Sound",sparta)
  2942. sa2.SoundId = "rbxassetid://169380479"
  2943. sa2.Pitch = 0.75
  2944. sa2.Volume = 2
  2945. sa2.Looped = false
  2946. sa2:Play()
  2947. local sa3 = Instance.new("Sound",sparta)
  2948. sa3.SoundId = "rbxassetid://289556450"
  2949. sa3.Pitch = 1
  2950. sa3.Volume = 3
  2951. sa3.Looped = false
  2952. sparta.Size = vt(1,1,1)
  2953. sparta.BrickColor = BrickColor.new("Bright violet")
  2954. sparta.Material = "Neon"
  2955. sparta.Transparency = 0
  2956. sparta.Anchored = true
  2957. sparta.CanCollide = false
  2958. sparta.CFrame = mouse.Hit
  2959. sparta.Rotation = vt(0,0,0)
  2960. local sparte = sparta:Clone()
  2961. sparte.Position = tors.Position + vt(0,-2.75,0)
  2962. sparte.Parent = workspace
  2963. local msher2 = sparte.Mesh
  2964. local value2 = 2.5
  2965. for i = 0, 24 do
  2966. value2 = value2 - 0.065
  2967. msher.Scale = msher.Scale + vt(value2,0,value2)
  2968. msher2.Scale = msher2.Scale + vt(value2,0,value2)
  2969. wait()
  2970. end
  2971. for i = 0, 5 do
  2972. msher.Scale = msher.Scale + vt(0,500,0)
  2973. msher2.Scale = msher2.Scale + vt(0,500,0)
  2974. wait()
  2975. end
  2976. wait(0.1)
  2977. sa3:Play()
  2978. tors.CFrame = sparta.CFrame
  2979. for i = 0, 49 do
  2980. value2 = value2 - 0.5
  2981. sparta.Transparency = sparta.Transparency + 0.1
  2982. msher.Scale = msher.Scale - vt(value2,-500,value2)
  2983. sparte.Transparency = sparte.Transparency + 0.1
  2984. msher2.Scale = msher2.Scale - vt(value2,-500,value2)
  2985. wait()
  2986. end
  2987. sparta:Destroy()
  2988. sparte:Destroy()
  2989. end
  2990. end
  2991.  
  2992. mod4 = Instance.new("Model",char)
  2993.  
  2994. ptez = {0.7, 0.8, 0.9, 1}
  2995.  
  2996. function FindNearestTorso(Position,Distance,SinglePlayer)
  2997. if SinglePlayer then return(SinglePlayer.Torso.CFrame.p -Position).magnitude < Distance end
  2998. local List = {}
  2999. for i,v in pairs(workspace:GetChildren())do
  3000. if v:IsA("Model")then
  3001. if v:findFirstChild("Torso")then
  3002. if v ~= char then
  3003. if(v.Torso.Position -Position).magnitude <= Distance then
  3004. table.insert(List,v)
  3005. end
  3006. end
  3007. end
  3008. end
  3009. end
  3010. return List
  3011. end
  3012.  
  3013. function Slam()
  3014. local part=Instance.new('Part',mod4)
  3015. part.Anchored=true
  3016. part.CanCollide=false
  3017. part.FormFactor='Custom'
  3018. part.Size=Vector3.new(.2,.2,.2)
  3019. part.CFrame=root.CFrame*CFrame.new(0,-2.8,-1.4)*CFrame.Angles(math.rad(90),0,0)
  3020. part.Transparency=.7
  3021. part.BrickColor=BrickColor.new('Really black')
  3022. mesh=Instance.new('SpecialMesh',part)
  3023. mesh.MeshId='http://www.roblox.com/asset/?id=3270017'
  3024. mesh.Scale=Vector3.new(3,3,3)
  3025. local part2=Instance.new('Part',mod4)
  3026. part2.Anchored=true
  3027. part2.CanCollide=false
  3028. part2.FormFactor='Custom'
  3029. part2.Size=Vector3.new(.2,.2,.2)
  3030. part2.CFrame=root.CFrame*CFrame.new(0,-2.4,-1.6)
  3031. part2.Transparency=.7
  3032. part2.BrickColor=BrickColor.new("Plum")
  3033. mesh2=Instance.new('SpecialMesh',part2)
  3034. mesh2.MeshId='http://www.roblox.com/asset/?id=20329976'
  3035. mesh2.Scale=Vector3.new(3,1.5,3)
  3036. x = Instance.new("Sound",larm)
  3037. x.SoundId = "http://www.roblox.com/asset/?id=142070127"
  3038. x.Pitch = ptez[math.random(1,#ptez)]
  3039. x.Volume = 1
  3040. wait(.1)
  3041. x1 = Instance.new("Sound",larm)
  3042. x1.SoundId = "http://www.roblox.com/asset/?id=206082327"
  3043. x1.Pitch = ptez[math.random(1,#ptez)]
  3044. x1.Volume = 1
  3045. wait(.1)
  3046. x:Play()
  3047. x1:Play()
  3048. for i,v in pairs(FindNearestTorso(torso.CFrame.p,4))do
  3049. if v:FindFirstChild('Humanoid') then
  3050. v.Humanoid:TakeDamage(math.random(99,99))
  3051. end
  3052. end
  3053. coroutine.resume(coroutine.create(function()
  3054. for i=0,0.62,0.13 do
  3055. wait()
  3056. part.CFrame=part.CFrame
  3057. part.Transparency=i
  3058. mesh.Scale=mesh.Scale+Vector3.new(0.4,0.4,0.4)
  3059. part2.CFrame=part2.CFrame
  3060. part2.Transparency=i
  3061. mesh2.Scale=mesh2.Scale+Vector3.new(0.4,0.2,0.4)
  3062. end
  3063. part.Parent=nil
  3064. part2.Parent=nil
  3065. x:Destroy()
  3066. end))
  3067. end
  3068.  
  3069. game.StarterGui:SetCore("ChatMakeSystemMessage", {
  3070. Text = "Made by Noobygames12, Edited by RealPieDiePew.";
  3071. Color = Color3.new(0, 1, 1);
  3072. Font = Enum.Font.Code;
  3073. FontSize = Enum.FontSize.Size24;
  3074. })
  3075. wait()
  3076. game.StarterGui:SetCore("ChatMakeSystemMessage", {
  3077. Text = "RealPieDiePew#4968 and dont remove credits.";
  3078. Color = Color3.new(0, 1, 1);
  3079. Font = Enum.Font.Code;
  3080. FontSize = Enum.FontSize.Size24;
  3081. })
  3082.  
  3083. Reap = function()
  3084.  
  3085. rarm.Touched:connect(function(ht1)
  3086.  
  3087. hit1 = ht1.Parent
  3088. if ht1 and hit1:IsA("Model") and hit1:FindFirstChild("Humanoid") and hit1.Name ~= Player.Name and Debounces.Reaping == true and Debounces.Reaped == false then
  3089. Debounces.Reaped = true
  3090. h = hit1:FindFirstChild("Humanoid")
  3091. if h ~= nil then
  3092. hum.MaxHealth = hum.MaxHealth + h.MaxHealth
  3093. hum.Health = hum.MaxHealth
  3094. e = Instance.new("Part")
  3095. e.TopSurface = 0
  3096. e.BottomSurface = 0
  3097. e.Reflectance = 0.05
  3098. e.formFactor = "Symmetric"
  3099. e.Size = Vector3.new(1, 1, 1)
  3100. e.Anchored = true
  3101. e.CanCollide = false
  3102. e.BrickColor = BrickColor.new("Really blue")
  3103. e.CFrame = CFrame.new(ht1.Position)
  3104. e.Parent = hit1
  3105. Instance.new("BlockMesh", e)
  3106. coroutine.resume(coroutine.create(function(par)
  3107.  
  3108. for i = 1, 13 do
  3109. par.CFrame = par.CFrame * CFrame.fromEulerAnglesXYZ(math.random(-20, 20) / 50, math.random(-20, 20) / 50, math.random(-20, 20) / 50)
  3110. par.Transparency = i / 13
  3111. par.Mesh.Scale = par.Mesh.Scale + Vector3.new(0.4, 0.4, 0.4)
  3112. wait()
  3113. end
  3114. par.Parent = nil
  3115. end
  3116. ), e)
  3117. for _,v in pairs(hit1:children()) do
  3118. if v.className == "Part" then
  3119. v.BrickColor = BrickColor.new("Really black")
  3120. v.RotVelocity = Vector3.new(math.random(-2, 2), math.random(-2, 2), math.random(-2, 2)) * 3
  3121. v:BreakJoints()
  3122. f = Instance.new("BodyVelocity")
  3123. f.P = 3000
  3124. f.maxForce = Vector3.new(math.huge, math.huge, math.huge)
  3125. f.velocity = Vector3.new(math.random(-30, 30) / 10, math.random(-30, 30) / 10, math.random(-30, 30) / 10)
  3126. f.Parent = v
  3127. v.CanCollide = false
  3128. coroutine.resume(coroutine.create(function(par)
  3129.  
  3130. for i = 1, 30 do
  3131. par.Transparency = i / 30
  3132. wait()
  3133. end
  3134. par.Parent = nil
  3135. end
  3136. ), v)
  3137. else
  3138. if v.className == "Hat" then
  3139. v.Handle.BrickColor = BrickColor.new("Really black")
  3140. v.Handle.RotVelocity = Vector3.new(math.random(-2, 2), math.random(-2, 2), math.random(-2, 2)) * 3
  3141. v.Handle:BreakJoints()
  3142. f = Instance.new("BodyVelocity")
  3143. f.P = 3000
  3144. f.maxForce = Vector3.new(math.huge, math.huge, math.huge)
  3145. f.velocity = Vector3.new(math.random(-30, 30) / 10, math.random(-30, 30) / 10, math.random(-30, 30) / 10)
  3146. f.Parent = v.Handle
  3147. v.Handle.CanCollide = false
  3148. coroutine.resume(coroutine.create(function(par)
  3149.  
  3150. for i = 1, 30 do
  3151. par.Transparency = i / 30
  3152. wait()
  3153. end
  3154. par.Parent = nil
  3155. end
  3156. ), v.Handle)
  3157. if h == nil then
  3158. wait()
  3159. end
  3160. end
  3161. end
  3162. end
  3163. end
  3164. end
  3165. end
  3166. )
  3167. Debounces.Reaped = false
  3168. end
  3169.  
  3170. mouse.KeyDown:connect(function(key)
  3171.  
  3172. if key == "e" and Debounces.CanAttack == true then
  3173. Debounces.CanAttack = false
  3174. Debounces.NoIdl = true
  3175. Debounces.on = true
  3176. Debounces.Reaping = true
  3177. for i = 1, 35 do
  3178. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5, 0.6, 0.4) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(70)), .4)
  3179. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5, 0.6, 0) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(-30)), 0.4)
  3180. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, -0.2) * CFrame.Angles(math.rad(0), math.rad(70), 0), 0.4)
  3181. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-70), 0), 0.4)
  3182. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(30), math.rad(-10)), 0.4)
  3183. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(7), math.rad(-20), math.rad(10)), 0.4)
  3184. if Debounces.on == false then
  3185. break
  3186. end
  3187. lightning.Enabled = true
  3188. eeeffecto.Enabled = true
  3189. fat.Event:wait()
  3190. end
  3191. do
  3192. wait(1)
  3193. Reap()
  3194. for i = 1, 10 do
  3195. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5, 0.6, -0.2) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(70)), 0.7)
  3196. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5, 0.6, 0.2) * CFrame.Angles(math.rad(-20), math.rad(0), math.rad(0)), 0.7)
  3197. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, -0.2) * CFrame.Angles(math.rad(0), math.rad(-70), 0), 0.7)
  3198. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(70), 0), 0.7)
  3199. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(-20), math.rad(-10)), 0.7)
  3200. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(10)), 0.7)
  3201. if Debounces.on == false then
  3202. break
  3203. end
  3204. lightning.Enabled = false
  3205. eeeffecto.Enabled = false
  3206. fat.Event:wait()
  3207. end
  3208. do
  3209. if Debounces.CanAttack == false then
  3210. Debounces.CanAttack = true
  3211. Debounces.NoIdl = false
  3212. Debounces.on = false
  3213. Debounces.Reaping = false
  3214. end
  3215. end
  3216. end
  3217. end
  3218. end
  3219. )
  3220.  
  3221. function ExplosiveLightBall()
  3222. if basiccooldown >= 5 then
  3223. local spart = Instance.new("Part",workspace)
  3224. local msh = Instance.new("SpecialMesh",spart)
  3225. msh.MeshType = "Sphere"
  3226. local sa = Instance.new("Sound",hed)
  3227. sa.SoundId = "rbxassetid://203691467"
  3228. sa.Pitch = 0.775
  3229. sa.Volume = 1
  3230. sa.Looped = false
  3231. local sa1 = Instance.new("Sound",hed)
  3232. sa1.SoundId = "rbxassetid://200633529"
  3233. sa1.Pitch = 0.75
  3234. sa1.Volume = 1
  3235. sa1.Looped = false
  3236. sa1:Play()
  3237. local sans1 = Instance.new("Sound",hed)
  3238. sans1.SoundId = "rbxassetid://200633529"
  3239. sans1.Pitch = 0.725
  3240. sans1.Volume = 1
  3241. sans1.Looped = false
  3242. sans1:Play()
  3243. spart.Size = vt(1,1,1)
  3244. spart.BrickColor = BrickColor.new("Bright violet")
  3245. spart.Material = "Neon"
  3246. spart.Transparency = 1
  3247. spart.Anchored = true
  3248. spart.CanCollide = false
  3249. spart.Position = hed.Position + vt(0,20,0)
  3250. local value = 2.5
  3251. for i = 0, 24 do
  3252. spart.Transparency = spart.Transparency - 0.05
  3253. value = value - 0.05
  3254. msh.Scale = msh.Scale + vt(value,value,value)
  3255. wait()
  3256. end
  3257. sa:Play()
  3258. spart.Anchored = false
  3259. local bv = Instance.new("BodyVelocity")
  3260. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  3261. bv.velocity = mouse.Hit.lookVector *125
  3262. bv.Parent = spart
  3263. wait(0.1)
  3264. pewdiepie=spart.Touched:connect(function(hit) Explode(20,spart) end)
  3265. end
  3266. end
  3267.  
  3268. function ExplosiveLightBalls()
  3269. if basiccooldown >= 5 then
  3270. local spart = Instance.new("Part",workspace)
  3271. local msh = Instance.new("SpecialMesh",spart)
  3272. msh.MeshType = "Sphere"
  3273. spart.Size = vt(1,1,1)
  3274. spart.BrickColor = BrickColor.new("Bright violet")
  3275. spart.Material = "Neon"
  3276. spart.Transparency = 0.65
  3277. spart.Anchored = true
  3278. spart.CanCollide = false
  3279. spart.CFrame = mouse.Hit
  3280. spart.Rotation = vt(0,0,0)
  3281. msh.Scale = vt(15,15,15)*2
  3282. wait(0.35)
  3283. ExplodeFast(15,spart)
  3284. end
  3285. end
  3286.  
  3287. mouse.KeyDown:connect(function(k)
  3288.  
  3289. k = k:lower()
  3290. if k == "z" then
  3291. ExplosiveLightBall()
  3292. end
  3293. if k == "x" then
  3294. LocateSpot()
  3295. end
  3296. if k == "c" then
  3297. ExplosiveLightBalls()
  3298. end
  3299. if k == "v" then
  3300. TeleportSpot()
  3301. end
  3302. if k == "b" then
  3303. Blaze()
  3304. end
  3305. end)
  3306.  
  3307. ----------------------------------------------------
  3308. fat = Instance.new("BindableEvent",script)
  3309. fat.Name = "Heartbeat"
  3310.  
  3311. script:WaitForChild("Heartbeat")
  3312.  
  3313. frame = 1/30
  3314. tf = 0
  3315. allowframeloss = false --if set to true will fire every frame it possibly can. This will result in multiple events happening at the same time whenever delta returns frame*2 or greater.
  3316. tossremainder = false --if set to true t will be set to 0 after Fire()-ing.
  3317. lastframe = tick()
  3318. script.Heartbeat:Fire() --ayy lmao
  3319.  
  3320. game:GetService("RunService").Heartbeat:connect(function(s,p) --herp derp
  3321. tf = tf + s
  3322. if tf >= frame then
  3323. if allowframeloss then
  3324. script.Heartbeat:Fire()
  3325. lastframe=tick()
  3326. else
  3327. --print("FIRED "..math.floor(t/frame).." FRAME(S)","REMAINDER "..(t - frame*(math.floor(t/frame))))
  3328. for i=1, math.floor(tf/frame) do
  3329. script.Heartbeat:Fire()
  3330. end
  3331. lastframe=tick()
  3332. end
  3333. if tossremainder then
  3334. tf = 0
  3335. else
  3336. tf = tf - frame * math.floor(tf/frame)
  3337. end
  3338. end
  3339. end)
  3340. ----------------------------------------------------
  3341. Debounces = {
  3342. CanAttack = true;
  3343. CanJoke = true;
  3344. NoIdl = false;
  3345. Slashing = false;
  3346. Slashed = false;
  3347. ks = false;
  3348. RPunch = false;
  3349. RPunched = false;
  3350. LPunch = false;
  3351. LPunched = false;
  3352. }
  3353. local Touche = {char.Name, }
  3354. function HasntTouched(plrname)
  3355. local ret = true
  3356. for _, v in pairs(Touche) do
  3357. if v == plrname then
  3358. ret = false
  3359. end
  3360. end
  3361. return ret
  3362. end
  3363. ----------------------------------------------------
  3364. function weld5(part0, part1, c0, c1)
  3365. weeld=Instance.new("Weld", part0)
  3366. weeld.Part0=part0
  3367. weeld.Part1=part1
  3368. weeld.C0=c0
  3369. weeld.C1=c1
  3370. return weeld
  3371. end
  3372. ----------------------------------------------------
  3373. function lerp(a, b, t) -- Linear interpolation
  3374. return a + (b - a)*t
  3375. end
  3376.  
  3377. function slerp(a, b, t) --Spherical interpolation
  3378. dot = a:Dot(b)
  3379. if dot > 0.99999 or dot < -0.99999 then
  3380. return t <= 0.5 and a or b
  3381. else
  3382. r = math.acos(dot)
  3383. return (a*math.sin((1 - t)*r) + b*math.sin(t*r)) / math.sin(r)
  3384. end
  3385. end
  3386.  
  3387. function matrixInterpolate(a, b, t)
  3388. local ax, ay, az, a00, a01, a02, a10, a11, a12, a20, a21, a22 = a:components()
  3389. local bx, by, bz, b00, b01, b02, b10, b11, b12, b20, b21, b22 = b:components()
  3390. local v0 = lerp(Vector3.new(ax, ay, az), Vector3.new(bx , by , bz), t) -- Position
  3391. local v1 = slerp(Vector3.new(a00, a01, a02), Vector3.new(b00, b01, b02), t) -- Vector right
  3392. local v2 = slerp(Vector3.new(a10, a11, a12), Vector3.new(b10, b11, b12), t) -- Vector up
  3393. local v3 = slerp(Vector3.new(a20, a21, a22), Vector3.new(b20, b21, b22), t) -- Vector back
  3394. local t = v1:Dot(v2)
  3395. if not (t < 0 or t == 0 or t > 0) then -- Failsafe
  3396. return CFrame.new()
  3397. end
  3398. return CFrame.new(
  3399. v0.x, v0.y, v0.z,
  3400. v1.x, v1.y, v1.z,
  3401. v2.x, v2.y, v2.z,
  3402. v3.x, v3.y, v3.z)
  3403. end
  3404. ----------------------------------------------------
  3405. function genWeld(a,b)
  3406. local w = Instance.new("Weld",a)
  3407. w.Part0 = a
  3408. w.Part1 = b
  3409. return w
  3410. end
  3411. function weld(a, b)
  3412. local weld = Instance.new("Weld")
  3413. weld.Name = "W"
  3414. weld.Part0 = a
  3415. weld.Part1 = b
  3416. weld.C0 = a.CFrame:inverse() * b.CFrame
  3417. weld.Parent = a
  3418. return weld;
  3419. end
  3420. ----------------------------------------------------
  3421. function Lerp(c1,c2,al)
  3422. local com1 = {c1.X,c1.Y,c1.Z,c1:toEulerAnglesXYZ()}
  3423. local com2 = {c2.X,c2.Y,c2.Z,c2:toEulerAnglesXYZ()}
  3424. for i,v in pairs(com1) do
  3425. com1[i] = v+(com2[i]-v)*al
  3426. end
  3427. return CFrame.new(com1[1],com1[2],com1[3]) * CFrame.Angles(select(4,unpack(com1)))
  3428. end
  3429. ----------------------------------------------------
  3430. newWeld = function(wp0, wp1, wc0x, wc0y, wc0z)
  3431. local wld = Instance.new("Weld", wp1)
  3432. wld.Part0 = wp0
  3433. wld.Part1 = wp1
  3434. wld.C0 = CFrame.new(wc0x, wc0y, wc0z)
  3435. end
  3436. ----------------------------------------------------
  3437. newWeld(torso, larm, -1.5, 0.5, 0)
  3438. larm.Weld.C1 = CFrame.new(0, 0.5, 0)
  3439. newWeld(torso, rarm, 1.5, 0.5, 0)
  3440. rarm.Weld.C1 = CFrame.new(0, 0.5, 0)
  3441. newWeld(torso, hed, 0, 1.5, 0)
  3442. newWeld(torso, lleg, -0.5, -1, 0)
  3443. lleg.Weld.C1 = CFrame.new(0, 1, 0)
  3444. newWeld(torso, rleg, 0.5, -1, 0)
  3445. rleg.Weld.C1 = CFrame.new(0, 1, 0)
  3446. newWeld(root, torso, 0, -1, 0)
  3447. torso.Weld.C1 = CFrame.new(0, -1, 0)
  3448. ----------------------------------------------------
  3449. hats={}
  3450. Part = function(x,y,z,color,tr,cc,an,parent)
  3451. local p = Instance.new('Part',parent or Weapon)
  3452. p.formFactor = 'Custom'
  3453. p.Size = Vector3.new(x,y,z)
  3454. p.BrickColor = BrickColor.new(color)
  3455. p.CanCollide = cc
  3456. p.Transparency = tr
  3457. p.Anchored = an
  3458. p.TopSurface,p.BottomSurface = 0,0
  3459. p:BreakJoints()
  3460. return p
  3461. end
  3462. Weld = function(p0,p1,x,y,z,rx,ry,rz,par)
  3463. local w = Instance.new('Motor',par or p0)
  3464. w.Part0 = p0
  3465. w.Part1 = p1
  3466. w.C1 = CFrame.new(x,y,z)*CFrame.Angles(rx,ry,rz)
  3467. return w
  3468. end
  3469. Mesh = function(par,num,x,y,z)
  3470. local msh = nil
  3471. if num == 1 then
  3472. msh = Instance.new("CylinderMesh",par)
  3473. elseif num == 2 then
  3474. msh = Instance.new("SpecialMesh",par)
  3475. msh.MeshType = 'Wedge'
  3476. elseif num == 3 then
  3477. msh = Instance.new("BlockMesh",par)
  3478. elseif type(num) == 'string' then
  3479. msh = Instance.new("SpecialMesh",par)
  3480. msh.MeshId = num
  3481. end
  3482. msh.Scale = Vector3.new(x,y,z)
  3483. return msh
  3484. end
  3485.  
  3486. function addh(id,txt,s1,s2,s3,x,y,z)
  3487. local hat=Part(1,1,1,'',0,false,false,char)
  3488. table.insert(hats,hat)
  3489. Weld(char.Head,hat,x,y,z,0,0,0,p)
  3490. m=Mesh(hat,'http://www.roblox.com/asset/?id='..id,s1,s2,s3)
  3491. m.TextureId='http://www.roblox.com/asset/?id='..txt
  3492. return m
  3493. end
  3494.  
  3495. addh('11380070','11380053',1,1,1,0,-.75,0)
  3496. ----------------------------------------------------
  3497. New = function(Object, Parent, Name, Data)
  3498. local Object = Instance.new(Object)
  3499. for Index, Value in pairs(Data or {}) do
  3500. Object[Index] = Value
  3501. end
  3502. Object.Parent = Parent
  3503. Object.Name = Name
  3504. return Object
  3505. end
  3506. ----------------------------------------------------
  3507. local animpose = "Idle1"
  3508. local lastanimpose = "Idle1"
  3509. local grab = false
  3510. local Smooth = 1
  3511. local sine = 0
  3512. local change = 1
  3513. local val = 0
  3514. local ffing = false
  3515. ----------------------------------------------------
  3516. jump = false
  3517. rs:connect(function()
  3518. if char.Humanoid.Jump == true then
  3519. jump = true
  3520. else
  3521. jump = false
  3522. end
  3523. char.Humanoid.FreeFalling:connect(function(f)
  3524. if f then
  3525. ffing = true
  3526. else
  3527. ffing = false
  3528. end
  3529. end)
  3530. sine = sine + change
  3531. if jump == true then
  3532. animpose = "Jumping"
  3533. elseif ffing == true then
  3534. animpose = "Freefalling"
  3535. elseif (torso.Velocity*Vector3.new(1, 0, 1)).magnitude < 2 then
  3536. animpose = "Idle"
  3537. elseif (torso.Velocity*Vector3.new(1, 0, 1)).magnitude < 20 then
  3538. animpose = "Walking"
  3539. elseif (torso.Velocity*Vector3.new(1, 0, 1)).magnitude > 20 then
  3540. animpose = "Running"
  3541. end
  3542. RightLeg = CFrame.new(0.5,-1,0)
  3543. LeftLeg = CFrame.new(-0.5,-1,0)
  3544.  
  3545. lefth = (torso.CFrame*LeftLeg)
  3546. righth = (torso.CFrame*RightLeg)
  3547.  
  3548. speed = Vector3.new(torso.Velocity.X,0,torso.Velocity.Z)
  3549.  
  3550. TiltOnAxis = (torso.CFrame-torso.CFrame.p):vectorToObjectSpace(speed/100)
  3551.  
  3552. local AngleThetaR = (righth-righth.p):vectorToObjectSpace(speed/100)
  3553. local AngleThetaL = (lefth-lefth.p):vectorToObjectSpace(speed/100)
  3554. if animpose ~= lastanimpose then
  3555. sine = 0
  3556. if Debounces.NoIdl == false then
  3557. if stanceToggle == "Idle1" then
  3558. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.6,0.2)*CFrame.Angles(math.rad(-12-4*math.cos(sine/22)),math.rad(-12-2*math.cos(sine/22)),math.rad(12+2*math.cos(sine/22))), 0.3)
  3559. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.6,-0.2)*CFrame.Angles(math.rad(20+4*math.cos(sine/22)),math.rad(-22-2*math.cos(sine/22)),math.rad(-15-2*math.cos(sine/22))), 0.3)
  3560. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(-12+2.5*math.cos(sine/22)),math.rad(0),math.rad(0)), 0.2)
  3561. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(0), math.rad(0)), 0.4)
  3562. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(-8)), 0.4)
  3563. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(8)), 0.4)
  3564. end
  3565. fat.Event:wait()
  3566. end
  3567. else
  3568. end
  3569. lastanimpose = animpose
  3570. if Debounces.NoIdl == false then
  3571. if animpose == "Idle" then
  3572. change = 0.5
  3573. if stanceToggle == "Idle1" then
  3574. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5, 0.57 - 0.1 * math.sin(sine / 10), 0.1 - 0.1 * math.sin(sine / 10)) * CFrame.Angles(math.rad(-3 + 6 * math.sin(sine / 10)), math.rad(-15 - 10 * math.cos(sine / 10)), math.rad(13 + 6 * math.cos(sine / 10))), 0.4)
  3575. rarm.Weld.C1 = Lerp(rarm.Weld.C1, CFrame.new(0, 0.5, 0) * CFrame.Angles(0, 0, 0), 0.4)
  3576. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5, 0.57 - 0.1 * math.sin(sine / 10), 0.1 - 0.1 * math.sin(sine / 10)) * CFrame.Angles(math.rad(-4 - 6 * math.sin(sine / 10)), math.rad(15 + 10 * math.cos(sine / 10)), math.rad(-13 - 6 * math.cos(sine / 10))), 0.4)
  3577. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, -0.2) * CFrame.Angles(math.rad(0), math.rad(0), 0), 0.4)
  3578. hed.Weld.C1 = Lerp(hed.Weld.C1, CFrame.new(0, 0, 0.1 - 0.05 * math.cos(sine / 10)) * CFrame.Angles(math.rad(14 - 5 * math.cos(sine / 10)), math.rad(20), 0), 0.4)
  3579. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 2 - 0.16 * math.cos(sine / 10), 0) * CFrame.Angles(0, math.rad(20), math.rad(0)), 0.05)
  3580. torso.Weld.C1 = Lerp(torso.Weld.C1, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(10 + 3 * math.cos(sine / 10)), math.rad(0), math.rad(0)), 0.05)
  3581. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1.05 - 0.05 * math.sin(sine / 10), 0) * CFrame.Angles(math.rad(-12 + 5 * math.sin(sine / 10)), math.rad(20 + 6 * math.sin(sine / 10)), math.rad(-12 - 2 * math.sin(sine / 10))), 0.4)
  3582. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -0.6 - 0.1 * math.sin(sine / 10), -0.5) * CFrame.Angles(math.rad(-9 + 5 * math.sin(sine / 10)), math.rad(-9 - 6 * math.sin(sine / 10)), math.rad(4 + 3 * math.sin(sine / 10))), 0.4)
  3583. end
  3584. elseif animpose == "Walking" then
  3585. change = 1
  3586. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5, 0.55, 0) * CFrame.Angles(math.rad(-20) + root.RotVelocity.Y / 20, math.rad(16) - root.RotVelocity.Y / 20, math.rad(-10 - 2 * math.cos(sine / 14)) + root.RotVelocity.Y / 20), 0.2)
  3587. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, -0.2) * CFrame.Angles(math.rad(-14), 0, 0), 0.4)
  3588. hed.Weld.C1 = Lerp(hed.Weld.C1, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(20) - root.RotVelocity.Y / 10, 0), 0.2)
  3589. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 2 - 0.17 * math.cos(sine / 14), 0) * CFrame.Angles(math.rad(-16), math.rad(0), root.RotVelocity.Y / 10), 0.05)
  3590. torso.Weld.C1 = Lerp(torso.Weld.C1, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-20) + root.RotVelocity.Y / 10, 0), 0.05)
  3591. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1.05 - 0.05 * math.sin(sine / 10), 0) * CFrame.Angles(math.rad(-13 + 3 * math.sin(sine / 10)), math.rad(-20) + root.RotVelocity.Y / 15, math.rad(-8) - root.RotVelocity.Y / 20), 0.4)
  3592. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -0.5 - 0.1 * math.sin(sine / 14), -0.7) * CFrame.Angles(math.rad(-16 + 3 * math.sin(sine / 10)), math.rad(-20) + root.RotVelocity.Y / 15, math.rad(8) - root.RotVelocity.Y / 20), 0.4)
  3593. elseif animpose == "Running" then
  3594. change = 1.5
  3595. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.35,.4)*CFrame.Angles(math.rad(-30),math.rad(14),math.rad(-30+2*math.cos(sine/14))), 0.2)
  3596. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.2,0.55,-.4)*CFrame.Angles(math.rad(110),math.rad(0),math.rad(40-2*math.cos(sine/14))), 0.2)
  3597. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, .2) * CFrame.Angles(math.rad(20),math.rad(10),0), 0.4)
  3598. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0-0.1*math.cos(sine/10), 0) * CFrame.Angles(math.rad(-40),math.rad(-10), math.rad(0)), 0.4)
  3599. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, 0, -1.2) * CFrame.Angles(math.rad(-20), math.rad(10), math.rad(0)), 0.4)
  3600. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-12), math.rad(10), math.rad(0)), 0.4)
  3601. end
  3602. end
  3603. end)
  3604.  
  3605. paly = game.Players.LocalPlayer
  3606. p = game.Players.LocalPlayer
  3607. char = paly.Character
  3608. vt = Vector3.new
  3609. rleg = char["Right Leg"]
  3610. lleg = char["Left Leg"]
  3611. local maincolor = BrickColor.new("Plum")
  3612.  
  3613. local orb = Instance.new("Part")
  3614. orb.Parent = char
  3615. orb.Size = Vector3.new(0.2, 0.2, 0.2)
  3616. orb.Archivable = true
  3617. orb.Transparency = 1
  3618. orb.BrickColor = maincolor
  3619. orb.Material = "Neon"
  3620. orb.CanCollide = false
  3621. local weld1 = Instance.new("Weld")
  3622. weld1.Parent = rleg
  3623. weld1.Part0 = rleg
  3624. weld1.Part1 = orb
  3625. weld1.C1 = CFrame.new(0, 1.125, 0)
  3626. local pt1 = NumberSequenceKeypoint.new(0,0.85,0)
  3627. local pt2 = NumberSequenceKeypoint.new(1,0,0)
  3628. local effecto = Instance.new("ParticleEmitter",orb)
  3629. effecto.ZOffset = 1
  3630. effecto.LightEmission = 1
  3631. effecto.Texture = "rbxasset://textures/particles/smoke_main.dds"
  3632. effecto.Color = ColorSequence.new(maincolor.Color)
  3633. effecto.Rate = 10000
  3634. effecto.Lifetime = NumberRange.new(1)
  3635. effecto.Size = NumberSequence.new({pt1,pt2})
  3636. effecto.Speed = NumberRange.new(0,0)
  3637. effecto.RotSpeed = NumberRange.new(100,100)
  3638.  
  3639. local orbz = Instance.new("Part")
  3640. orbz.Parent = char
  3641. orbz.Size = Vector3.new(0.2, 0.2, 0.2)
  3642. orbz.Archivable = true
  3643. orbz.Transparency = 1
  3644. orbz.BrickColor = maincolor
  3645. orbz.Material = "Neon"
  3646. orbz.CanCollide = false
  3647. local weldz1 = Instance.new("Weld")
  3648. weldz1.Parent = lleg
  3649. weldz1.Part0 = lleg
  3650. weldz1.Part1 = orbz
  3651. weldz1.C1 = CFrame.new(0, 1.125, 0)
  3652. local effecton = Instance.new("ParticleEmitter",orbz)
  3653. effecton.ZOffset = 1
  3654. effecton.LightEmission = 1
  3655. effecton.Texture = "rbxasset://textures/particles/smoke_main.dds"
  3656. effecton.Color = ColorSequence.new(maincolor.Color)
  3657. effecton.Rate = 10000
  3658. effecton.Lifetime = NumberRange.new(1)
  3659. effecton.Size = NumberSequence.new({pt1,pt2})
  3660. effecton.Speed = NumberRange.new(0,0)
  3661. effecton.RotSpeed = NumberRange.new(100,100)
  3662.  
  3663. local runServ = game:GetService("RunService").RenderStepped
  3664.  
  3665. runServ:connect(function()
  3666. text.Text = "Rex, Ruler of the Universe: " ..math.floor(hum.Health)
  3667. end)
  3668.  
  3669. Charging = false
  3670. chargewait = false
  3671. mouse.KeyDown:connect(function(key)
  3672. if key == "h" then
  3673. if Charging == false and chargewait == false then
  3674. Charging = true
  3675. chargewait = true
  3676. if Debounces.CanAttack == true then
  3677. Debounces.CanAttack = false
  3678. Debounces.NoIdl = true
  3679. Debounces.on = true
  3680.  
  3681.  
  3682.  
  3683.  
  3684. for i = 1,20 do
  3685. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.65,0)*CFrame.Angles(math.rad(-20),math.rad(-20),math.rad(50)), 0.4)
  3686. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.65,0)*CFrame.Angles(math.rad(-20),math.rad(20),math.rad(-50)), 0.4)
  3687. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,.1)*CFrame.Angles(math.rad(34),math.rad(0),0), 0.4)
  3688. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(15), math.rad(0), math.rad(0)), 0.4)
  3689. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), 0, math.rad(-10)), 0.4)
  3690. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-10), 0, math.rad(10)), 0.4)
  3691.  
  3692. if Debounces.on == false then break end
  3693. rs:wait()
  3694. end
  3695. pt=Instance.new('Part',torso)
  3696. pt.Anchored=true
  3697. pt.CanCollide=false
  3698. pt.Locked = true
  3699. pt.Material = "Neon"
  3700. pt.FormFactor='Custom'
  3701. pt.Size=Vector3.new(1,1,1)
  3702. pt.BrickColor = BrickColor.new("Really black")
  3703. pt.CFrame=root.CFrame*CFrame.new(0,-1,0)
  3704. pt.Transparency=.6
  3705.  
  3706.  
  3707. msh=Instance.new('SpecialMesh',pt)
  3708. msh.MeshId='http://www.roblox.com/asset/?id=20329976'
  3709. msh.Scale=Vector3.new(8,4,8)
  3710. pt2=pt:clone()
  3711. pt2.Parent = torso
  3712. pt2.CFrame=root.CFrame*CFrame.new(0,-1,0)
  3713.  
  3714.  
  3715. msh2=msh:clone()
  3716. msh2.Parent=pt2
  3717. msh2.Scale=Vector3.new(10,5,10)
  3718.  
  3719. custommath={25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,-25,-26,-27,-28,-29,-30,-31,-32,-33,-34,-35,-36,-37,-38,-39,-40,-41,-42,-43,-44,-45,-46,-47,-48,-49,-50,-51,-52,-53,-54,-55,-56,-57,-58,-59,-60,-61,-62,-63,-64,-65,-66,-67,-68,-69,-70,-71,-72,-73,-74,-75,-76,-77,-78,-79,-80,-81,-82,-83,-84,-85,-86,-87,-88,-89,-90,-91,-92,-93,-94,-95,-96,-97,-98,-99,-100}
  3720.  
  3721. bl = Instance.new("Part", char)
  3722. bl.Locked = true
  3723. bl.Name = "Shell"
  3724.  
  3725.  
  3726. bl.Anchored = true
  3727. bl.Material = "Neon"
  3728. bl.CanCollide = false
  3729. bl.BrickColor = BrickColor.new("Dark indigo")
  3730. bl.Transparency = 0
  3731. bl.Reflectance = 0
  3732. bl.BottomSurface = 0
  3733. bl.TopSurface = 0
  3734. bl.Shape = 0
  3735. blm = Instance.new("SpecialMesh",bl)
  3736. blm.MeshType = "Sphere"
  3737. blm.Scale = Vector3.new(1,1,1)
  3738.  
  3739.  
  3740.  
  3741.  
  3742. coroutine.resume(coroutine.create(function()
  3743. for i=1, math.huge, 4 do
  3744. if Charging == true then
  3745. rs:wait()
  3746. bl.CFrame = root.CFrame * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(-i/10), math.rad(-i/10), math.rad(i/10))
  3747. blm.Scale = blm.Scale + Vector3.new(0.5, 0.5, 0.5)
  3748. bl.Transparency = bl.Transparency + 0.05
  3749. pt.CFrame = root.CFrame*CFrame.new(0,-1,0) * CFrame.Angles(0,math.rad(i*2),0)
  3750. pt2.CFrame = root.CFrame*CFrame.new(0,-1,0) * CFrame.Angles(0,math.rad(-i*2),0)
  3751. msh.Scale = msh.Scale + Vector3.new(0.05,0,0.05)
  3752. msh2.Scale = msh2.Scale + Vector3.new(0.05,0,0.05)
  3753. elseif Charging == false then break
  3754. end
  3755. end
  3756. end))
  3757.  
  3758.  
  3759. repeat
  3760. local p = Instance.new('Part',torso)
  3761. p.formFactor = 'Custom'
  3762. p.Size = Vector3.new(1,1,1)
  3763.  
  3764. p.CanCollide = false
  3765. p.Transparency = 0
  3766. p.Anchored = true
  3767. p.Locked=true
  3768. p.Material = "Neon"
  3769. p.Transparency = 1
  3770. p.BrickColor = BrickColor.new("Dark indigo")
  3771. s = math.random(1,40)/10
  3772. local m = Instance.new("BlockMesh",p)
  3773. m.Scale = Vector3.new(s,s,s)
  3774. p.CFrame = torso.CFrame*CFrame.new(custommath[math.random(1,#custommath)]/10,-math.random(5,7),custommath[math.random(1,#custommath)]/10)*CFrame.Angles(math.random(),math.random(),math.random())
  3775. --[[coroutine.wrap(function()
  3776. wait(2)
  3777. while Charging == true do
  3778. wait(2)
  3779. GroundWave1()
  3780. wait(2)
  3781. end
  3782. end)()]]--
  3783. Spawn(function()
  3784. while rs:wait() do
  3785. if Charging == true then
  3786. rarm.Weld.C0 = CFrame.new(1.5,0.65,0)*CFrame.Angles(math.rad(math.random(-36,-20)),math.rad(math.random(-30,-20)),math.rad(math.random(30,50)))
  3787. larm.Weld.C0 = CFrame.new(-1.5,0.65,0)*CFrame.Angles(math.rad(math.random(-36,-20)),math.rad(math.random(20,30)),math.rad(math.random(-50,-30)))
  3788. hed.Weld.C0 = CFrame.new(0,1.5,.1)*CFrame.Angles(math.rad(math.random(26,34)),math.rad(math.random(-5,5)),math.rad(0))
  3789. torso.Weld.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(10), math.rad(math.random(-4,4)), math.rad(0))
  3790. lleg.Weld.C0 = CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(math.random(-10,-6)), math.rad(math.random(10,20)), math.rad(math.random(-20,-10)))
  3791. rleg.Weld.C0 = CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(math.random(-10,-6)), math.rad(math.random(-20,-10)), math.rad(math.random(10,20)))
  3792. elseif Charging == false then break
  3793. end
  3794. end
  3795. end)
  3796. Spawn(function()
  3797. while rs:wait() do
  3798. if p.Transparency >= 1 then p:Destroy() break end
  3799. p.CFrame = p.CFrame*CFrame.Angles(math.rad(2),math.rad(2),math.rad(2))+Vector3.new(0,0.2,0)
  3800. p.Transparency = p.Transparency+0.01
  3801. end
  3802. end)
  3803.  
  3804.  
  3805.  
  3806.  
  3807. local Transforming = true
  3808. hum.WalkSpeed = 0
  3809. local fx = Instance.new("Part",torso)
  3810. wit = torso.BrickColor.Color
  3811. wit2 = Color3.new(0,0,0)
  3812. local glowz = Instance.new("ParticleEmitter",fx)
  3813. glowz.LightEmission = 1
  3814. glowz.Texture = "rbxassetid://284205403"
  3815. glowz.Color = ColorSequence.new(Color3.new(1,0,1),Color3.new(0,0,0))
  3816. glowz.Size = NumberSequence.new(5)
  3817. glowz.Speed = NumberRange.new(25,50)
  3818. glowz.LockedToPart = false
  3819. glowz.Transparency = NumberSequence.new(0.75)
  3820. glowz.RotSpeed = NumberRange.new(-2000,2000)
  3821. glowz.Lifetime = NumberRange.new(1)
  3822. glowz.Rate = 50000
  3823. glowz.VelocitySpread = 9001
  3824. local glowz2 = Instance.new("ParticleEmitter",fx)
  3825. glowz2.LightEmission = 0.5
  3826. glowz.Texture = "rbxassetid://284205403"
  3827. glowz2.Color = ColorSequence.new(Color3.new(1,0,1),Color3.new(0,0,0))
  3828. glowz2.Size = NumberSequence.new(5)
  3829. glowz2.Speed = NumberRange.new(25,50)
  3830. glowz2.LockedToPart = false
  3831. glowz2.Transparency = NumberSequence.new(0.75)
  3832. glowz2.RotSpeed = NumberRange.new(-2000,2000)
  3833. glowz2.Lifetime = NumberRange.new(1)
  3834. glowz2.Rate = 50000
  3835. glowz2.VelocitySpread = 9001
  3836. fx.Anchored = true
  3837. fx.Material = "Neon"
  3838. fx.CanCollide = false
  3839. fx.Locked = true
  3840. fx.Transparency = 1
  3841. fx.Material = "Neon"
  3842. fx.Size = Vector3.new(1,1,1)
  3843. fx.TopSurface = "SmoothNoOutlines"
  3844. fx.BottomSurface = "SmoothNoOutlines"
  3845. fx.BrickColor = BrickColor.new("Really black")
  3846. fxm = Instance.new("SpecialMesh",fx)
  3847. fxm.MeshType = "Sphere"
  3848. local sa2 = Instance.new("Sound",torso)
  3849. sa2.SoundId = "rbxassetid://93724183"
  3850. sa2.Pitch = 0.5
  3851. sa2.Volume = 5
  3852. sa2.Looped = false
  3853. sa2:Play()
  3854. local value = 1
  3855. fxm.Scale = Vector3.new(1,1,1)
  3856. for i = 1, 20 do rs:wait()
  3857. value = value - 0.05
  3858. fx.Transparency = fx.Transparency - (1/20)
  3859. fx.CFrame = torso.CFrame
  3860. fxm.Scale = fxm.Scale + Vector3.new(value,value,value)
  3861. rs:wait()
  3862. end
  3863. ----------------------------------------------------
  3864. GroundWave1 = function()
  3865. local HandCF = CFrame.new(root.Position - Vector3.new(0,3,0)) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0))
  3866. local Colors = {"White", "Really black"}
  3867. local wave = Instance.new("Part", torso)
  3868. wave.BrickColor = BrickColor.new(Colors[math.random(1,#Colors)])
  3869. wave.Anchored = true
  3870. wave.CanCollide = false
  3871. wave.Locked = true
  3872. wave.Size = Vector3.new(1, 1, 1)
  3873. wave.TopSurface = "Smooth"
  3874. wave.BottomSurface = "Smooth"
  3875. wave.Transparency = 0.35
  3876. wave.CFrame = HandCF
  3877. wm = Instance.new("SpecialMesh", wave)
  3878. wm.MeshId = "rbxassetid://3270017"
  3879. coroutine.wrap(function()
  3880. for i = 1, 30, 1 do
  3881. wm.Scale = Vector3.new(50, 50, 1 + i*50)
  3882. wave.Size = wm.Scale
  3883. wave.CFrame = HandCF
  3884. wave.Transparency = i/30
  3885. wait()
  3886. end
  3887. wait()
  3888. wave:Destroy()
  3889. end)()
  3890. end
  3891. ----------------------------------------------------
  3892. GroundWave = function()
  3893. if Transforming == true then
  3894. local value = 5
  3895. local value2 = 10
  3896. local value3 = 20
  3897. local sa2 = Instance.new("Sound",torso)
  3898. sa2.SoundId = "rbxassetid://413682983"
  3899. sa2.Pitch = 1
  3900. sa2.Volume = 10
  3901. sa2.Looped = false
  3902. sa2:Play()
  3903. local wave = Instance.new("Part", torso)
  3904. local glowz = Instance.new("ParticleEmitter",wave)
  3905. glowz.LightEmission = 1
  3906. glowz.Texture = "rbxassetid://284205403"
  3907. glowz.Color = ColorSequence.new(Color3.new(1,0,1),Color3.new(0,0,0))
  3908. glowz.Size = NumberSequence.new(30)
  3909. glowz.Speed = NumberRange.new(25,100)
  3910. glowz.LockedToPart = false
  3911. glowz.Transparency = NumberSequence.new(0.75)
  3912. glowz.RotSpeed = NumberRange.new(-2000,2000)
  3913. glowz.Lifetime = NumberRange.new(1)
  3914. glowz.Rate = 50000
  3915. glowz.VelocitySpread = 9001
  3916. local glowz2 = Instance.new("ParticleEmitter",wave)
  3917. glowz2.LightEmission = 1
  3918. glowz.Texture = "rbxassetid://284205403"
  3919. glowz2.Color = ColorSequence.new(Color3.new(1,0,1),Color3.new(0,0,0))
  3920. glowz2.Size = NumberSequence.new(30)
  3921. glowz2.Speed = NumberRange.new(25,100)
  3922. glowz2.LockedToPart = false
  3923. glowz2.Transparency = NumberSequence.new(0.75)
  3924. glowz2.RotSpeed = NumberRange.new(-2000,2000)
  3925. glowz2.Lifetime = NumberRange.new(1)
  3926. glowz2.Rate = 50000
  3927. glowz2.VelocitySpread = 9001
  3928. wave.BrickColor = BrickColor.new("Dark indigo")
  3929. wave.Anchored = true
  3930. wave.CanCollide = false
  3931. wave.Locked = true
  3932. wave.Size = Vector3.new(1, 1, 1)
  3933. wave.TopSurface = "Smooth"
  3934. wave.BottomSurface = "Smooth"
  3935. wave.Transparency = 0.35
  3936. wave.CFrame = fx.CFrame
  3937. wave.Material = "Neon"
  3938. wm = Instance.new("SpecialMesh", wave)
  3939. wm.MeshType = "Sphere"
  3940. wm.Scale = Vector3.new(1,1,1)
  3941. local wave2 = Instance.new("Part", torso)
  3942. wave2.BrickColor = BrickColor.new("Dark indigo")
  3943. wave2.Anchored = true
  3944. wave2.CanCollide = false
  3945. wave2.Locked = true
  3946. wave2.Size = Vector3.new(1, 1, 1)
  3947. wave2.TopSurface = "Smooth"
  3948. wave2.BottomSurface = "Smooth"
  3949. wave2.Transparency = 0.35
  3950. wave2.CFrame = fx.CFrame
  3951. wave2.Material = "Neon"
  3952. wm2 = Instance.new("SpecialMesh", wave2)
  3953. wm2.MeshType = "FileMesh"
  3954. wm2.MeshId = "http://www.roblox.com/asset/?id=3270017"
  3955. wm2.Scale = Vector3.new(1,1,1)
  3956. local wave3 = Instance.new("Part", torso)
  3957. wave3.BrickColor = BrickColor.new("Really black")
  3958. wave3.Anchored = true
  3959. wave3.CanCollide = false
  3960. wave3.Locked = true
  3961. wave3.Size = Vector3.new(1, 1, 1)
  3962. wave3.TopSurface = "Smooth"
  3963. wave3.BottomSurface = "Smooth"
  3964. wave3.Transparency = 0.35
  3965. wave3.CFrame = fx.CFrame
  3966. wave3.Material = "Neon"
  3967. wm3 = Instance.new("SpecialMesh", wave3)
  3968. wm3.MeshType = "FileMesh"
  3969. wm3.MeshId = "http://www.roblox.com/asset/?id=3270017"
  3970. wm3.Scale = Vector3.new(1,1,1)
  3971. coroutine.wrap(function()
  3972. for i = 1, 18, 1 do
  3973. value = value - 0.5
  3974. value2 = value2 - 0.75*1.5
  3975. value3 = value3 - 0.475*1.5
  3976. wm.Scale = wm.Scale + Vector3.new(value*3.5,value*3.5,value*3.5)
  3977. wm2.Scale = wm.Scale + Vector3.new(value2*3.5,value2*3.5,0.5)
  3978. wm3.Scale = wm.Scale + Vector3.new(value3*3.5,value3*3.5,0.25)
  3979. --wave.Size = wm.Scale
  3980. wave.CFrame = fx.CFrame
  3981. wave.Transparency = i/14
  3982. --wave2.Size = wm2.Scale
  3983. wave2.CFrame = fx.CFrame
  3984. wave2.Rotation = Vector3.new(90, 0, 0)
  3985. wave2.Transparency = i/14
  3986. --wave3.Size = wm3.Scale
  3987. wave3.CFrame = fx.CFrame
  3988. wave3.Rotation = Vector3.new(90, 0, 0)
  3989. wave3.Transparency = i/14
  3990. wait()
  3991. glowz.Rate = 0
  3992. glowz2.Rate = 0
  3993. end
  3994. wait()
  3995. wave:Destroy()
  3996. wave2:Destroy()
  3997. wave3:Destroy()
  3998. end)()
  3999. elseif Transforming == false then
  4000. wait()
  4001. end
  4002. end
  4003.  
  4004. for i = 1, 100 do rs:wait()
  4005. fx.CFrame = torso.CFrame
  4006. end
  4007.  
  4008. Spawn(function()
  4009. while wait(1) do
  4010. GroundWave()
  4011. end
  4012. end)
  4013.  
  4014. wait(4)
  4015.  
  4016. Transforming = false
  4017.  
  4018. local value2 = 1
  4019. for i = 1, 20 do rs:wait()
  4020. value2 = value2 - 0.05
  4021. glowz.Rate = 0
  4022. glowz2.Rate = 0
  4023. fx.Transparency = fx.Transparency + (1/20)
  4024. fx.CFrame = torso.CFrame
  4025. fxm.Scale = fxm.Scale + Vector3.new(value2,value2,value2)
  4026. rs:wait()
  4027. end
  4028. glowz:Destroy()
  4029. glowz2:Destroy()
  4030.  
  4031. local HandCF = CFrame.new(root.Position - Vector3.new(0,3,0)) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0))
  4032. local valuer = 5
  4033. local valuer2 = 10
  4034. local valuer3 = 15
  4035. local sa2 = Instance.new("Sound",torso)
  4036. sa2.SoundId = "rbxassetid://130972023"
  4037. sa2.Pitch = 1
  4038. sa2.Volume = 5
  4039. sa2.Looped = false
  4040. sa2:Play()
  4041. local sar2 = Instance.new("Sound",torso)
  4042. sar2.SoundId = "rbxassetid://153274423"
  4043. sar2.Pitch = 1
  4044. sar2.Volume = 5
  4045. sar2.Looped = false
  4046. sar2:Play()
  4047. local wave = Instance.new("Part", torso)
  4048. wave.BrickColor = BrickColor.new("Dark indigo")
  4049. wave.Anchored = true
  4050. wave.CanCollide = false
  4051. wave.Locked = true
  4052. wave.Size = Vector3.new(1, 1, 1)
  4053. wave.TopSurface = "Smooth"
  4054. wave.BottomSurface = "Smooth"
  4055. wave.Transparency = 0.35
  4056. wave.CFrame = HandCF
  4057. wm = Instance.new("SpecialMesh", wave)
  4058. wm.MeshId = "rbxassetid://3270017"
  4059. local wave2 = Instance.new("Part", torso)
  4060. wave2.BrickColor = BrickColor.new("Really black")
  4061. wave2.Anchored = true
  4062. wave2.CanCollide = false
  4063. wave2.Locked = true
  4064. wave2.Size = Vector3.new(1, 1, 1)
  4065. wave2.TopSurface = "Smooth"
  4066. wave2.BottomSurface = "Smooth"
  4067. wave2.Transparency = 0.35
  4068. wave2.CFrame = HandCF
  4069. wm2 = Instance.new("SpecialMesh", wave2)
  4070. wm2.MeshId = "rbxassetid://3270017"
  4071. local wave3 = Instance.new("Part", torso)
  4072. wave3.BrickColor = BrickColor.new("Dark indigo")
  4073. wave3.Anchored = true
  4074. wave3.CanCollide = false
  4075. wave3.Locked = true
  4076. wave3.Size = Vector3.new(1, 1, 1)
  4077. wave3.TopSurface = "Smooth"
  4078. wave3.BottomSurface = "Smooth"
  4079. wave3.Transparency = 0.35
  4080. wave3.CFrame = HandCF
  4081. wm3 = Instance.new("SpecialMesh", wave3)
  4082. wm3.MeshId = "rbxassetid://3270017"
  4083. coroutine.wrap(function()
  4084. for i = 1, 14, 1 do
  4085. valuer = valuer - 0.35
  4086. valuer2 = valuer - 0.45
  4087. valuer3 = valuer3 - 0.475
  4088. wm.Scale = wm.Scale + Vector3.new(valuer*2.5,valuer*2.5, 1 + i*200)
  4089. wave.Size = wm.Scale
  4090. wave.CFrame = HandCF
  4091. wave.Transparency = i/14
  4092. wm2.Scale = wm2.Scale + Vector3.new(valuer2*2.5,valuer2*2.5, 0 + i*10)
  4093. wave2.Size = wm2.Scale
  4094. wave2.CFrame = HandCF
  4095. wave2.Transparency = i/14
  4096. wm3.Scale = wm3.Scale + Vector3.new(valuer3*2.5,valuer3*2.5, 1)
  4097. wave3.Size = wm2.Scale
  4098. wave3.CFrame = HandCF
  4099. wave3.Transparency = i/14
  4100. wait()
  4101. end
  4102. wait()
  4103. wave:Destroy()
  4104. wave2:Destroy()
  4105. end)()
  4106. hum.WalkSpeed = 17
  4107.  
  4108.  
  4109.  
  4110. until Charging == false
  4111. end
  4112. end
  4113. end
  4114. end)
  4115.  
  4116.  
  4117. ----------------------------------------------------
  4118. mouse.KeyUp:connect(function(key)
  4119. if key == "h" then
  4120. if Charging == true and chargewait == true then
  4121. chargewait = false
  4122. wait(1)
  4123. Charging = false
  4124.  
  4125. local runServ = game:GetService("RunService").RenderStepped
  4126.  
  4127.  
  4128. --[[for i,v in pairs (torso:GetChildren()) do
  4129. if v:IsA("Sound") then
  4130. v:Destroy()
  4131. end
  4132. end]]
  4133.  
  4134.  
  4135. --so("http://roblox.com/asset/?id=160867463",torso,1,0.7)
  4136.  
  4137. pt:Destroy()
  4138. pt2:Destroy()
  4139. bl:Destroy()
  4140. if Debounces.CanAttack == false then
  4141. Debounces.CanAttack = true
  4142. Debounces.NoIdl = false
  4143. Debounces.on = false
  4144. Debounces.grab = false
  4145.  
  4146. end
  4147. end
  4148. end
  4149. end)
  4150.  
  4151. while wait() do
  4152. healthgui.Text = "[Z]\nUniverse Bullet"
  4153. basicgui.Text = "[X]\nUniversal Strike"
  4154. basic2gui.Text = "[C]\nKarma"
  4155. basic3gui.Text = "[V]\nWarp"
  4156. basic4gui.Text = "[B]\nPlanet Destroyer"
  4157. hed.BrickColor = BrickColor.new("Bright Blue")
  4158. tors.BrickColor = BrickColor.new("Really Blue")
  4159. rleg.BrickColor = BrickColor.new("Bright Blue")
  4160. rarm.BrickColor = BrickColor.new("Bright Blue")
  4161. larm.BrickColor = BrickColor.new("Bright Blue")
  4162. lleg.BrickColor = BrickColor.new("Bright Blue")
  4163. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement