zXzGamePROzXz

Untitled

Jan 4th, 2019
84
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 73.75 KB | None | 0 0
  1. if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
  2. local Player,Mouse,mouse,UserInputService,ContextActionService = owner
  3. local RealPlayer = Player
  4. do print("FE Compatibility code by Mokiros")local a=RealPlayer;script.Parent=a.Character;local b=Instance.new("RemoteEvent")b.Name="UserInput_Event"local function c()local d={_fakeEvent=true,Functions={},Connect=function(self,e)table.insert(self.Functions,e)end}d.connect=d.Connect;return d end;local f={Target=nil,Hit=CFrame.new(),KeyUp=c(),KeyDown=c(),Button1Up=c(),Button1Down=c(),Button2Up=c(),Button2Down=c()}local g={InputBegan=c(),InputEnded=c()}local CAS={Actions={},BindAction=function(self,h,i,j,...)CAS.Actions[h]=i and{Name=h,Function=i,Keys={...}}or nil end}CAS.UnbindAction=CAS.BindAction;local function k(self,l,...)local d=f[l]if d and d._fakeEvent then for m,e in pairs(d.Functions)do e(...)end end end;f.TrigEvent=k;g.TrigEvent=k;b.OnServerEvent:Connect(function(n,o)if n~=a then return end;f.Target=o.Target;f.Hit=o.Hit;if not o.isMouse then local p=o.UserInputState==Enum.UserInputState.Begin;if o.UserInputType==Enum.UserInputType.MouseButton1 then return f:TrigEvent(p and"Button1Down"or"Button1Up")end;if o.UserInputType==Enum.UserInputType.MouseButton2 then return f:TrigEvent(p and"Button2Down"or"Button2Up")end;for m,d in pairs(CAS.Actions)do for m,q in pairs(d.Keys)do if q==o.KeyCode then d.Function(d.Name,o.UserInputState,o)end end end;f:TrigEvent(p and"KeyDown"or"KeyUp",o.KeyCode.Name:lower())g:TrigEvent(p and"InputBegan"or"InputEnded",o,false)end end)b.Parent=NLS([==[local a=game:GetService("Players").LocalPlayer;local b=script:WaitForChild("UserInput_Event")local c=a:GetMouse()local d=game:GetService("UserInputService")local e=function(f,g)if g then return end;b:FireServer({KeyCode=f.KeyCode,UserInputType=f.UserInputType,UserInputState=f.UserInputState,Hit=c.Hit,Target=c.Target})end;d.InputBegan:Connect(e)d.InputEnded:Connect(e)local h,i;while wait(1/30)do if h~=c.Hit or i~=c.Target then h,i=c.Hit,c.Target;b:FireServer({isMouse=true,Target=i,Hit=h})end end]==],Player.Character)local r=game;local s={__index=function(self,q)local t=rawget(self,"_RealService")if t then return typeof(t[q])=="function"and function(m,...)return t[q](t,...)end or t[q]end end,__newindex=function(self,q,u)local t=rawget(self,"_RealService")if t then t[q]=u end end}local function v(d,w)d._RealService=typeof(w)=="string"and r:GetService(w)or w;return setmetatable(d,s)end;local x={GetService=function(self,t)return rawget(self,t)or r:GetService(t)end,Players=v({LocalPlayer=v({GetMouse=function(self)return f end},Player)},"Players"),UserInputService=v(g,"UserInputService"),ContextActionService=v(CAS,"ContextActionService"),RunService=v({_btrs={},RenderStepped=r:GetService("RunService").Heartbeat,BindToRenderStep=function(self,h,m,i)self._btrs[h]=self.Heartbeat:Connect(i)end,UnbindFromRenderStep=function(self,h)self._btrs[h]:Disconnect()end},"RunService")}rawset(x.Players,"localPlayer",x.Players.LocalPlayer)x.service=x.GetService;v(x,game)game,owner=x,x.Players.LocalPlayer end
  5.  
  6. paly = game.Players.LocalPlayer
  7. p = game.Players.LocalPlayer
  8. char = paly.Character
  9. torso = char.Torso
  10. neck = char.Torso.Neck
  11. hum = char.Humanoid
  12. Player = game:GetService("Players").LocalPlayer
  13. local mouse = Player:GetMouse()
  14. Character = Player.Character
  15. tors = Character.Torso
  16. lleg = Character["Left Leg"]
  17. root = Character.HumanoidRootPart
  18. hed = Character.Head
  19. rleg = Character["Right Leg"]
  20. rarm = Character["Right Arm"]
  21. larm = Character["Left Arm"]
  22. tors.Material = Enum.Material.Fabric
  23. local root = char.HumanoidRootPart
  24. local rj = root.RootJoint
  25. local deb = false
  26. local shot = 0
  27. local stanceToggle = "Idle1"
  28. local l = game:GetService("Lighting")
  29. local rs = game:GetService("RunService").RenderStepped
  30. local hb = game:GetService("RunService").Heartbeat
  31. local Stepped = game:GetService("RunService").Stepped
  32. math.randomseed(os.time())
  33. ptez = {0.7, 0.8, 0.9, 1}
  34. local BC = Character["Body Colors"]
  35. BC.HeadColor = BrickColor.new("Bright violet")
  36. BC.LeftArmColor = BrickColor.new("Bright violet")
  37. BC.LeftLegColor = BrickColor.new("Bright violet")
  38. BC.RightArmColor = BrickColor.new("Bright violet")
  39. BC.RightLegColor = BrickColor.new("Bright violet")
  40. BC.TorsoColor = BrickColor.new("Really black")
  41. local Effects = {}
  42. hed.face:Destroy()
  43. hum.MaxHealth = 1000000
  44. attack = false
  45. vt = Vector3.new
  46. bc = BrickColor.new
  47. br = BrickColor.random
  48. it = Instance.new
  49. cf = CFrame.new
  50. euler = CFrame.fromEulerAnglesXYZ
  51. angles = CFrame.Angles
  52. matr = math.random
  53. local basiccooldown = math.huge
  54. local ultcooldown = math.huge
  55. local secondcooldown = math.huge
  56. local thirdcooldown = math.huge
  57. local s = Instance.new("Sound",char)
  58. s.Name = "sos"
  59. s.SoundId = "http://www.roblox.com/asset/?id=195900687"
  60. s.Pitch = 1
  61. s.Volume = math.huge
  62. s.Looped = true
  63. s:Play()
  64.  
  65. local prtrm = Instance.new("Part",Character)
  66. prtrm.Size = vt(2.1,2.1,1.1)
  67. prtrm.CanCollide = false
  68. prtrm.Transparency = 0.5
  69. prtrm.Material = "SmoothPlastic"
  70. prtrm.BrickColor = bc("Really black")
  71. local wldm = Instance.new("Weld",Character)
  72. wldm.Part0 = tors
  73. wldm.Part1 = prtrm
  74.  
  75. local prtr = Instance.new("Part",Character)
  76. prtr.Size = vt(1.1,2.1,1.1)
  77. prtr.CanCollide = false
  78. prtr.Transparency = 0.5
  79. prtr.Material = "SmoothPlastic"
  80. prtr.BrickColor = bc("Bright violet")
  81. local prtrl = Instance.new("Part",Character)
  82. prtrl.Size = vt(1.1,2.1,1.1)
  83. prtrl.CanCollide = false
  84. prtrl.Transparency = 0.5
  85. prtrl.Material = "SmoothPlastic"
  86. prtrl.BrickColor = bc("Bright violet")
  87. local eff = Instance.new("ParticleEmitter",prtr)
  88. eff.LightEmission = 0
  89. eff.Texture = "rbxassetid://284205403"
  90. eff.Color = ColorSequence.new(Color3.new(1,0,1),Color3.new(1,0,1))
  91. eff.Size = NumberSequence.new(0.5,1)
  92. eff.Acceleration = vt(0,25,0)
  93. eff.Speed = NumberRange.new(-5)
  94. eff.LockedToPart = false
  95. eff.Transparency = NumberSequence.new(0.95)
  96. eff.Lifetime = NumberRange.new(0.5)
  97. eff.Rate = 100000
  98. eff.VelocitySpread = 25
  99. local wld = Instance.new("Weld",Character)
  100. wld.Part0 = rarm
  101. wld.Part1 = prtr
  102. local wldl = Instance.new("Weld",Character)
  103. wldl.Part0 = rleg
  104. wldl.Part1 = prtrl
  105.  
  106. local prtr2 = Instance.new("Part",Character)
  107. prtr2.Size = vt(1.1,2.1,1.1)
  108. prtr2.CanCollide = false
  109. prtr2.Transparency = 0.5
  110. prtr2.Material = "SmoothPlastic"
  111. prtr2.BrickColor = bc("Bright violet")
  112. local prtrl2 = Instance.new("Part",Character)
  113. prtrl2.Size = vt(1.1,2.1,1.1)
  114. prtrl2.CanCollide = false
  115. prtrl2.Transparency = 0.5
  116. prtrl2.Material = "SmoothPlastic"
  117. prtrl2.BrickColor = bc("Bright violet")
  118. local eff2 = Instance.new("ParticleEmitter",prtr2)
  119. eff2.LightEmission = 0
  120. eff2.Texture = "rbxassetid://284205403"
  121. eff2.Color = ColorSequence.new(Color3.new(1,0,1),Color3.new(1,0,1))
  122. eff2.Size = NumberSequence.new(0.5,1)
  123. eff2.Acceleration = vt(0,25,0)
  124. eff2.Speed = NumberRange.new(-5)
  125. eff2.LockedToPart = false
  126. eff2.Transparency = NumberSequence.new(0.95)
  127. eff2.Lifetime = NumberRange.new(0.5)
  128. eff2.Rate = 100000
  129. eff2.VelocitySpread = 25
  130. local wld2 = Instance.new("Weld",Character)
  131. wld2.Part0 = larm
  132. wld2.Part1 = prtr2
  133. local wldl2 = Instance.new("Weld",Character)
  134. wldl2.Part0 = lleg
  135. wldl2.Part1 = prtrl2
  136.  
  137. local lightning = Instance.new("ParticleEmitter",torso)
  138. lightning.Texture = "http://www.roblox.com/asset/?id=348321827"
  139. lightning.LightEmission = 0
  140. lightning.Color = ColorSequence.new(Color3.new(1,0,1),Color3.new(1,0,1))
  141. lightning.LockedToPart = true
  142. lightning.Rate = 20
  143. lightning.Lifetime = NumberRange.new(0.1,0.10)
  144. lightning.Rotation = NumberRange.new(0,360)
  145. lightning.Size = NumberSequence.new(3,3,3)
  146. lightning.Transparency = NumberSequence.new(0,0)
  147. lightning.Speed = NumberRange.new(0,0)
  148. lightning.RotSpeed = NumberRange.new(0,0)
  149. lightning.ZOffset = 5
  150. lightning.Enabled = false
  151.  
  152. local eeeffecto = Instance.new("ParticleEmitter",torso)
  153. eeeffecto.Texture = "http://www.roblox.com/asset/?id=305943367"
  154. eeeffecto.LightEmission = 0
  155. eeeffecto.Color = ColorSequence.new(Color3.new(1,0,1),Color3.new(1,0,1))
  156. eeeffecto.LockedToPart = true
  157. eeeffecto.Rate = 10
  158. eeeffecto.Lifetime = NumberRange.new(0.1,0.1)
  159. eeeffecto.Rotation = NumberRange.new(0,0)
  160. eeeffecto.Size = NumberSequence.new(9,9,9)
  161. eeeffecto.Transparency = NumberSequence.new(0,0)
  162. eeeffecto.Speed = NumberRange.new(0,0)
  163. eeeffecto.RotSpeed = NumberRange.new(0,0)
  164. eeeffecto.Enabled = false
  165.  
  166.  
  167. for i,v in pairs(Character:children()) do
  168. if v:IsA("Shirt") then
  169. v:Destroy()
  170. end
  171. end
  172. for i,v in pairs(Character:children()) do
  173. if v:IsA("Pants") then
  174. v:Destroy()
  175. end
  176. end
  177. for i,v in pairs(char:children()) do
  178. if v:IsA("Accessory") then
  179. v:Destroy()
  180. end
  181. end
  182.  
  183. CV="Hot pink"
  184.  
  185. Reaper = Instance.new("Model",Character)
  186. Reaper.Name = "Reaper"
  187. rh = Instance.new("Part")
  188. rh.Name = "rh"
  189. rh.Parent = Reaper
  190. rh.Locked = true
  191. rh.CanCollide = false
  192. mesh = Instance.new("SpecialMesh")
  193. rh.formFactor = "Symmetric"
  194. mesh.MeshType = "FileMesh"
  195. mesh.MeshId = "http://www.roblox.com/asset/?id=21057410"
  196. mesh.TextureId = "http://www.roblox.com/asset/?id=250577405"
  197. mesh.Scale = Vector3.new(1.05, 1.05, 1.05)
  198. mesh.Parent = rh
  199. local weld = Instance.new("Weld")
  200. weld.Parent = rh
  201. weld.Part0 = rh
  202. weld.Part1 = Player.Character.Head
  203. weld.C0 = CFrame.new(0, -0.045, -0.028)*CFrame.Angles(0, 0, 0)
  204.  
  205. local txt = Instance.new("BillboardGui", char)
  206. txt.Adornee = char .Head
  207. txt.Name = "_status"
  208. txt.Size = UDim2.new(2, 0, 1.2, 0)
  209. txt.StudsOffset = Vector3.new(-9, 8, 0)
  210. local text = Instance.new("TextLabel", txt)
  211. text.Size = UDim2.new(10, 0, 7, 0)
  212. text.FontSize = "Size24"
  213. text.TextScaled = true
  214. text.TextTransparency = 0
  215. text.BackgroundTransparency = 1
  216. text.TextTransparency = 0
  217. text.TextStrokeTransparency = 0
  218. text.Font = "SciFi"
  219. text.TextStrokeColor3 = BrickColor.new("Really black").Color
  220.  
  221. v=Instance.new("Part")
  222. v.Name = "ColorBrick"
  223. v.Parent=p.Character
  224. v.FormFactor="Symmetric"
  225. v.Anchored=true
  226. v.CanCollide=false
  227. v.BottomSurface="Smooth"
  228. v.TopSurface="Smooth"
  229. v.Size=Vector3.new(10,5,3)
  230. v.Transparency=1
  231. v.CFrame=char.Torso.CFrame
  232. v.BrickColor=BrickColor.new(CV)
  233. v.Transparency=1
  234. text.TextColor3 = BrickColor.new("Bright violet").Color
  235. v.Shape="Block"
  236. text.Text = "Rex, Ruler of the Universe:" ..math.floor(hum.Health)
  237.  
  238. gui = function(GuiType, parent, text, backtrans, backcol, pos, size)
  239. local gui = it(GuiType)
  240. gui.Parent = parent
  241. gui.Text = text
  242. gui.BackgroundTransparency = backtrans
  243. gui.BackgroundColor3 = backcol
  244. gui.SizeConstraint = "RelativeXY"
  245. gui.TextXAlignment = "Center"
  246. gui.TextYAlignment = "Center"
  247. gui.Position = pos
  248. gui.Size = size
  249. gui.Font = "SourceSans"
  250. gui.FontSize = "Size14"
  251. gui.TextWrapped = false
  252. gui.TextStrokeTransparency = 0
  253. gui.TextColor = BrickColor.new("White")
  254. return gui
  255. end
  256.  
  257. local boll = Instance.new("Part",game.Lighting)
  258. boll.Transparency = 0.5
  259. boll.Material = "Neon"
  260. boll.BrickColor = bc("Bright red")
  261. boll.Anchored = true
  262. boll.Size = vt(1,1,1)
  263. boll.Shape = "Ball"
  264. boll.CanCollide = false
  265.  
  266. local shur = Instance.new("Part",game.Lighting)
  267. shur.Transparency = 0
  268. shur.Material = "Neon"
  269. shur.BrickColor = bc("Bright red")
  270. shur.Anchored = true
  271. shur.Size = vt(5,0.2,5)
  272. shur.CanCollide = false
  273. local Meshshur = Instance.new("CylinderMesh",shur)
  274.  
  275. Damagefunc=function(hit,minim,maxim,knockback,Type,Property,Delay,KnockbackType,decreaseblock)
  276. if hit.Parent==nil then
  277. return
  278. end
  279. h=hit.Parent:FindFirstChild("Humanoid")
  280. for _,v in pairs(hit.Parent:children()) do
  281. if v:IsA("Humanoid") then
  282. h=v
  283. end
  284. end
  285. if hit.Parent.Parent:FindFirstChild("Torso")~=nil then
  286. h=hit.Parent.Parent:FindFirstChild("Humanoid")
  287. end
  288. if hit.Parent.className=="Hat" then
  289. hit=hit.Parent.Parent:findFirstChild("Head")
  290. end
  291. if h~=nil and hit.Parent.Name~=Character.Name and hit.Parent:FindFirstChild("Torso")~=nil then
  292. if hit.Parent:findFirstChild("DebounceHit")~=nil then if hit.Parent.DebounceHit.Value==true then return end end
  293. --[[ if game.Players:GetPlayerFromCharacter(hit.Parent)~=nil then
  294. return
  295. end]]
  296. -- hs(hit,1.2)
  297. c=Instance.new("ObjectValue")
  298. c.Name="creator"
  299. c.Value=game:service("Players").LocalPlayer
  300. c.Parent=h
  301. game:GetService("Debris"):AddItem(c,.5)
  302. Damage=math.random(minim,maxim)
  303. -- h:TakeDamage(Damage)
  304. blocked=false
  305. block=hit.Parent:findFirstChild("Block")
  306. if block~=nil then
  307. print(block.className)
  308. if block.className=="NumberValue" then
  309. if block.Value>0 then
  310. blocked=true
  311. if decreaseblock==nil then
  312. block.Value=block.Value-1
  313. end
  314. end
  315. end
  316. if block.className=="IntValue" then
  317. if block.Value>0 then
  318. blocked=true
  319. if decreaseblock~=nil then
  320. block.Value=block.Value-1
  321. end
  322. end
  323. end
  324. end
  325. if blocked==false then
  326. -- h:TakeDamage(Damage)
  327. h.Health=h.Health-Damage
  328. showDamage(hit.Parent,Damage,.5,TorsoColor)
  329. else
  330. h.Health=h.Health-(Damage/2)
  331. showDamage(hit.Parent,Damage/2,.5,BrickColor.new("Bright blue"))
  332. end
  333. if Type=="Knockdown" then
  334. hum=hit.Parent.Humanoid
  335. hum.PlatformStand=true
  336. coroutine.resume(coroutine.create(function(HHumanoid)
  337. swait(1)
  338. HHumanoid.PlatformStand=false
  339. end),hum)
  340. local angle=(hit.Position-(Property.Position+Vector3.new(0,0,0))).unit
  341. --hit.CFrame=CFrame.new(hit.Position,Vector3.new(angle.x,hit.Position.y,angle.z))*CFrame.fromEulerAnglesXYZ(math.pi/4,0,0)
  342. local bodvol=Instance.new("BodyVelocity")
  343. bodvol.velocity=angle*knockback
  344. bodvol.P=5000
  345. bodvol.maxForce=Vector3.new(8e+003, 8e+003, 8e+003)
  346. bodvol.Parent=hit
  347. rl=Instance.new("BodyAngularVelocity")
  348. rl.P=3000
  349. rl.maxTorque=Vector3.new(500000,500000,500000)*50000000000000
  350. rl.angularvelocity=Vector3.new(math.random(-10,10),math.random(-10,10),math.random(-10,10))
  351. rl.Parent=hit
  352. game:GetService("Debris"):AddItem(bodvol,.5)
  353. game:GetService("Debris"):AddItem(rl,.5)
  354. elseif Type=="Normal" then
  355. vp=Instance.new("BodyVelocity")
  356. vp.P=500
  357. vp.maxForce=Vector3.new(math.huge,0,math.huge)
  358. -- vp.velocity=Character.Torso.CFrame.lookVector*Knockback
  359. if KnockbackType==1 then
  360. vp.velocity=Property.CFrame.lookVector*knockback+Property.Velocity/1.05
  361. elseif KnockbackType==2 then
  362. vp.velocity=Property.CFrame.lookVector*knockback
  363. end
  364. if knockback>0 then
  365. vp.Parent=hit.Parent.Torso
  366. end
  367. game:GetService("Debris"):AddItem(vp,.5)
  368. elseif Type=="Up" then
  369. local bodyVelocity=Instance.new("BodyVelocity")
  370. bodyVelocity.velocity=vt(0,10,0)
  371. bodyVelocity.P=1000
  372. bodyVelocity.maxForce=Vector3.new(1e+009, 1e+009, 1e+009)
  373. bodyVelocity.Parent=hit
  374. game:GetService("Debris"):AddItem(bodyVelocity,1)
  375. rl=Instance.new("BodyAngularVelocity")
  376. rl.P=3000
  377. rl.maxTorque=Vector3.new(500000,500000,500000)*50000000000000
  378. rl.angularvelocity=Vector3.new(math.random(-20,20),math.random(-20,20),math.random(-20,20))
  379. rl.Parent=hit
  380. game:GetService("Debris"):AddItem(rl,.5)
  381. elseif Type=="Snare" then
  382. bp=Instance.new("BodyPosition")
  383. bp.P=2000
  384. bp.D=100
  385. bp.maxForce=Vector3.new(math.huge,math.huge,math.huge)
  386. bp.position=hit.Parent.Torso.Position
  387. bp.Parent=hit.Parent.Torso
  388. game:GetService("Debris"):AddItem(bp,1)
  389. elseif Type=="Target" then
  390. if Targetting==false then
  391. ZTarget=hit.Parent.Torso
  392. coroutine.resume(coroutine.create(function(Part)
  393. swait(5)
  394. end),ZTarget)
  395. TargHum=ZTarget.Parent:findFirstChild("Humanoid")
  396. targetgui=Instance.new("BillboardGui")
  397. targetgui.Parent=ZTarget
  398. targetgui.Size=UDim2.new(10,100,10,100)
  399. targ=Instance.new("ImageLabel")
  400. targ.Parent=targetgui
  401. targ.BackgroundTransparency=1
  402. targ.Image="rbxassetid://4834067"
  403. targ.Size=UDim2.new(1,0,1,0)
  404. cam.CameraType="Scriptable"
  405. cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)
  406. dir=Vector3.new(cam.CoordinateFrame.lookVector.x,0,cam.CoordinateFrame.lookVector.z)
  407. workspace.CurrentCamera.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)
  408. Targetting=true
  409. RocketTarget=ZTarget
  410. for i=1,Property do
  411. --while Targetting==true and Humanoid.Health>0 and Character.Parent~=nil do
  412. if Humanoid.Health>0 and Character.Parent~=nil and TargHum.Health>0 and TargHum.Parent~=nil and Targetting==true then
  413. swait()
  414. end
  415. --workspace.CurrentCamera.CoordinateFrame=CFrame.new(Head.CFrame.p,Head.CFrame.p+rmdir*100)
  416. cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)
  417. dir=Vector3.new(cam.CoordinateFrame.lookVector.x,0,cam.CoordinateFrame.lookVector.z)
  418. cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)*cf(0,5,10)*euler(-0.3,0,0)
  419. end
  420. Targetting=false
  421. RocketTarget=nil
  422. targetgui.Parent=nil
  423. cam.CameraType="Custom"
  424. end
  425. end
  426. debounce=Instance.new("BoolValue")
  427. debounce.Name="DebounceHit"
  428. debounce.Parent=hit.Parent
  429. debounce.Value=true
  430. game:GetService("Debris"):AddItem(debounce,Delay)
  431. c=Instance.new("ObjectValue")
  432. c.Name="creator"
  433. c.Value=Player
  434. c.Parent=h
  435. game:GetService("Debris"):AddItem(c,.5)
  436. CRIT=false
  437. hitDeb=true
  438. AttackPos=6
  439. end
  440. end
  441.  
  442. showDamage=function(Char,Dealt,du,Color)
  443. m=Instance.new("Model")
  444. m.Name=tostring(Dealt)
  445. h=Instance.new("Humanoid")
  446. h.Health=0
  447. h.MaxHealth=0
  448. h.Parent=m
  449. c=Instance.new("Part")
  450. c.Transparency=0
  451. c.Material = "Neon"
  452. c.BrickColor=bc("New Yeller")
  453. c.Name="Head"
  454. c.TopSurface=0
  455. c.BottomSurface=0
  456. local tick = Instance.new("Sound",c)
  457. tick.SoundId = "rbxassetid://12221976"
  458. tick.Volume = 5
  459. tick.Pitch = 4
  460. tick:Play()
  461. c.formFactor="Plate"
  462. c.Size=Vector3.new(1,.4,1)
  463. ms=Instance.new("CylinderMesh")
  464. ms.Scale=Vector3.new(.8,.8,.8)
  465. if CRIT==true then
  466. ms.Scale=Vector3.new(1,1.25,1)
  467. end
  468. ms.Parent=c
  469. c.Reflectance=0
  470. Instance.new("BodyGyro").Parent=c
  471. c.Parent=m
  472. if Char:findFirstChild("Head")~=nil then
  473. c.CFrame=CFrame.new(Char["Head"].CFrame.p+Vector3.new(0,1.5,0))
  474. elseif Char.Parent:findFirstChild("Head")~=nil then
  475. c.CFrame=CFrame.new(Char.Parent["Head"].CFrame.p+Vector3.new(0,1.5,0))
  476. end
  477. f=Instance.new("BodyPosition")
  478. f.P=2000
  479. f.D=100
  480. f.maxForce=Vector3.new(math.huge,math.huge,math.huge)
  481. f.position=c.Position+Vector3.new(0,3,0)
  482. f.Parent=c
  483. game:GetService("Debris"):AddItem(m,.5+du)
  484. c.CanCollide=false
  485. m.Parent=workspace
  486. c.CanCollide=false
  487. p:Destroy()
  488. end
  489.  
  490. function MagniDamage(Hit, Part, magni, mindam, maxdam, knock, Type)
  491. for _, c in pairs(workspace:children()) do
  492. local hum = c:findFirstChild("Humanoid")
  493. if hum ~= nil then
  494. local head = c:findFirstChild("Torso")
  495. if head ~= nil then
  496. local targ = head.Position - Part.Position
  497. local mag = targ.magnitude
  498. if mag <= magni and c.Name ~= Player.Name then
  499. Damagefunc(Hit, head, mindam, maxdam, knock, Type, RootPart, .2, 1, 3)
  500. end
  501. end
  502. end
  503. end
  504. end
  505.  
  506. function ExplodeFast(rad,par)
  507. local expart = Instance.new("Part",script.Parent)
  508. local expart2 = Instance.new("Part",script.Parent)
  509. local partMesh = Instance.new("SpecialMesh",expart)
  510. partMesh.MeshType = "Sphere"
  511. local partMesh2 = Instance.new("SpecialMesh",expart2)
  512. partMesh2.MeshType = "Sphere"
  513. local expld = Instance.new("Explosion", script.Parent)
  514. expld.Visible = false
  515. local plode = Instance.new("Sound",expart)
  516. plode.SoundId = "rbxassetid://153274423"
  517. plode.Volume = 2.5
  518. plode.Pitch = 1
  519. plode.Looped = false
  520. plode:Play()
  521. local ploder = Instance.new("Sound",expart)
  522. ploder.SoundId = "rbxassetid://130972023"
  523. ploder.Volume = 2.5
  524. ploder.Pitch = 1
  525. ploder.Looped = false
  526. ploder:Play()
  527. expld.BlastRadius = rad
  528. expld.Position = par.Position
  529. partMesh.Scale = vt(rad,rad,rad)
  530. expart.Size = vt(1,1,1)*1.5
  531. expart.Transparency = 0
  532. expart.Anchored = true
  533. expart.Material = "Neon"
  534. expart.BrickColor = bc("Really black")
  535. expart.CFrame = par.CFrame
  536. partMesh2.Scale = vt(rad,rad,rad)
  537. expart2.Size = vt(1.15,1.15,1.15)*1.5
  538. expart2.Transparency = 0.5
  539. expart2.Anchored = true
  540. expart2.Material = "Neon"
  541. expart2.BrickColor = bc("Bright violet")
  542. expart2.CFrame = par.CFrame
  543. local value = 1*rad/6.5
  544. par:Destroy()
  545. for i = 0, 100 do
  546. partMesh.Scale = partMesh.Scale + vt(value,value,value)
  547. expart.CFrame = expart.CFrame
  548. partMesh2.Scale = partMesh2.Scale + vt(value,value,value)
  549. expart2.CFrame = expart.CFrame
  550. value = value - 0.035*rad/6.5
  551. if value < 1 then
  552. value = 0.25
  553. expart.Transparency = expart.Transparency + 0.025
  554. expart2.Transparency = expart2.Transparency + 0.025
  555. end
  556. wait()
  557. end
  558. plode.Parent = nil
  559. ploder.Parent = nil
  560. expart.Parent = nil
  561. expart2.Parent = nil
  562. expld.Parent = nil
  563. end
  564.  
  565. function Explode(rad,par)
  566. local expart = Instance.new("Part",script.Parent)
  567. local expart2 = Instance.new("Part",script.Parent)
  568. local partMesh = Instance.new("SpecialMesh",expart)
  569. partMesh.MeshType = "Sphere"
  570. local partMesh2 = Instance.new("SpecialMesh",expart2)
  571. partMesh2.MeshType = "Sphere"
  572. local expld = Instance.new("Explosion", script.Parent)
  573. expld.Visible = false
  574. local plode = Instance.new("Sound",expart)
  575. plode.SoundId = "rbxassetid://288641686"
  576. plode.Volume = 2.5
  577. plode.Pitch = 0.75
  578. plode.Looped = false
  579. plode:Play()
  580. local ploder = Instance.new("Sound",expart)
  581. ploder.SoundId = "rbxassetid://206049428"
  582. ploder.Volume = 3.25
  583. ploder.Pitch = 0.5
  584. ploder.Looped = false
  585. ploder:Play()
  586. expld.BlastRadius = rad
  587. expld.Position = par.Position
  588. partMesh.Scale = vt(rad,rad,rad)
  589. expart.Size = vt(1,1,1)*1.5
  590. expart.Transparency = 0
  591. expart.Anchored = true
  592. expart.Material = "Neon"
  593. expart.BrickColor = bc("Really black")
  594. expart.CFrame = par.CFrame
  595. partMesh2.Scale = vt(rad,rad,rad)
  596. expart2.Size = vt(1.15,1.15,1.15)*1.5
  597. expart2.Transparency = 0.5
  598. expart2.Anchored = true
  599. expart2.Material = "Neon"
  600. expart2.BrickColor = bc("Bright violet")
  601. expart2.CFrame = par.CFrame
  602. local value = 1*rad/6.5
  603. par:Destroy()
  604. for i = 0, 100 do
  605. partMesh.Scale = partMesh.Scale + vt(value,value,value)
  606. expart.CFrame = expart.CFrame
  607. partMesh2.Scale = partMesh2.Scale + vt(value,value,value)
  608. expart2.CFrame = expart.CFrame
  609. value = value - 0.035*rad/6.5
  610. if value < 1 then
  611. value = 0.25
  612. expart.Transparency = expart.Transparency + 0.025
  613. expart2.Transparency = expart2.Transparency + 0.025
  614. end
  615. wait()
  616. end
  617. plode.Parent = nil
  618. ploder.Parent = nil
  619. expart.Parent = nil
  620. expart2.Parent = nil
  621. expld.Parent = nil
  622. end
  623.  
  624. function ExplodeMass(rad,par)
  625. local expart = Instance.new("Part",script.Parent)
  626. local expart2 = Instance.new("Part",script.Parent)
  627. local partMesh = Instance.new("SpecialMesh",expart)
  628. partMesh.MeshType = "Sphere"
  629. local partMesh2 = Instance.new("SpecialMesh",expart2)
  630. partMesh2.MeshType = "Sphere"
  631. local expld = Instance.new("Explosion", script.Parent)
  632. expld.Visible = false
  633. local plode = Instance.new("Sound",workspace)
  634. plode.SoundId = "rbxassetid://579687077"
  635. plode.Volume = 1
  636. plode.Pitch = 0.75
  637. plode.Looped = false
  638. plode:Play()
  639. local plodez = Instance.new("Sound",workspace)
  640. plodez.SoundId = "rbxassetid://288641686"
  641. plodez.Volume = 1
  642. plodez.Pitch = 0.625
  643. plodez.Looped = false
  644. plodez:Play()
  645. local plodeza = Instance.new("Sound",workspace)
  646. plodeza.SoundId = "rbxassetid://197161452"
  647. plodeza.Volume = 0.85
  648. plodeza.Pitch = 0.5
  649. plodeza.Looped = false
  650. plodeza:Play()
  651. local plodezar = Instance.new("Sound",workspace)
  652. plodezar.SoundId = "rbxassetid://197161452"
  653. plodezar.Volume = 0.85
  654. plodezar.Pitch = 0.2
  655. plodezar.Looped = false
  656. plodezar:Play()
  657. local s3 = Instance.new("Sound",workspace)
  658. s3.SoundId = "rbxassetid://268931189"
  659. s3.Pitch = 0.875
  660. s3.Volume = 1
  661. s3.Looped = false
  662. s3:Play()
  663. expld.BlastRadius = rad
  664. expld.Position = par.Position
  665. partMesh.Scale = vt(rad,rad,rad)
  666. expart.Size = vt(1,1,1)*1.5
  667. expart.Transparency = 0
  668. expart.Anchored = true
  669. expart.Material = "Neon"
  670. expart.BrickColor = bc("Really black")
  671. expart.CFrame = par.CFrame
  672. partMesh2.Scale = vt(rad,rad,rad)
  673. expart2.Size = vt(1.15,1.15,1.15)*1.5
  674. expart2.Transparency = 0.5
  675. expart2.Anchored = true
  676. expart2.Material = "Neon"
  677. expart2.BrickColor = bc("Bright violet")
  678. expart2.CFrame = par.CFrame
  679. local value = 1*rad/10
  680. par:Destroy()
  681. for i = 0, 300 do
  682. partMesh.Scale = partMesh.Scale + vt(value,value,value)
  683. expart.CFrame = expart.CFrame
  684. partMesh2.Scale = partMesh2.Scale + vt(value,value,value)
  685. expart2.CFrame = expart.CFrame
  686. value = value - 0.0175*rad/10
  687. if value <= 0 then
  688. expart.Transparency = expart.Transparency + 0.0125
  689. expart2.Transparency = expart2.Transparency + 0.0125
  690. value = 0.25
  691. end
  692. wait()
  693. end
  694. plode.Parent = nil
  695. expart.Parent = nil
  696. expart2.Parent = nil
  697. expld.Parent = nil
  698. end
  699.  
  700. local basgui = it("GuiMain")
  701. basgui.Parent = Player.PlayerGui
  702. basgui.Name = "CooldownsGUI"
  703. local basframe = it("Frame")
  704. basframe.Parent = basgui
  705. basframe.BackgroundColor3 = Color3.new(255, 255, 255)
  706. basframe.BackgroundTransparency = 1
  707. basframe.BorderColor3 = Color3.new(17, 17, 17)
  708. basframe.Size = UDim2.new(0.2, 0, 0.2, 0)
  709. basframe.Position = UDim2.new(0.8, 0, 0.8, 0)
  710. 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))
  711. local basicgui = gui("TextLabel", basframe, "Basic: " ..basiccooldown, 1, BrickColor.random().Color, UDim2.new(0, 0, 0, 0), UDim2.new(0, 0, 0.25, 0))
  712. local basic2gui = gui("TextLabel", basframe, "FirstMove: " ..secondcooldown, 1, BrickColor.random().Color, UDim2.new(0, 0, 0, 0), UDim2.new(0, 0, 1.25, 0))
  713. 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))
  714. 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))
  715. basicgui.ZIndex = 2
  716. healthgui.TextSize = 24
  717. healthgui.ZIndex = 2
  718. basicgui.TextSize = 24
  719. basic4gui.ZIndex = 2
  720. basic4gui.TextSize = 24
  721. basic3gui.ZIndex = 2
  722. basic3gui.TextSize = 24
  723. basic2gui.ZIndex = 2
  724. basic2gui.TextSize = 24
  725.  
  726.  
  727. function Blaze()
  728. if ultcooldown >= 30 then
  729. local kolor = Instance.new("ColorCorrectionEffect",game.Lighting)
  730. local see = Instance.new("Sound",workspace)
  731. see.SoundId = "rbxassetid://21420962"
  732. see.Pitch = 1
  733. see.Volume = 2.75
  734. see.Looped = false
  735. see:Play()
  736. kolor.Brightness = -1
  737. kolor.Contrast = -1
  738. kolor.TintColor = BrickColor.new("Bright violet").Color
  739. wait(0.1)
  740. for i = 0, 9 do
  741. kolor.Brightness = kolor.Brightness + 0.35
  742. kolor.Contrast = kolor.Contrast + 0.35
  743. wait(0.05)
  744. end
  745. for i = 0, 9 do
  746. kolor.Brightness = kolor.Brightness - 0.35
  747. kolor.Contrast = kolor.Contrast - 0.35
  748. wait(0.05)
  749. end
  750. kolor:Destroy()
  751. local sloc = Instance.new("Part",workspace)
  752. local msh = Instance.new("SpecialMesh",sloc)
  753. msh.MeshType = "Sphere"
  754. sloc.Size = vt(1,1,1)
  755. sloc.Transparency = 1
  756. sloc.BrickColor = bc("Really black")
  757. sloc.Position = hed.Position + vt(0,250,0)
  758. sloc.CanCollide = false
  759. sloc.Shape = "Ball"
  760. sloc.Anchored = true
  761. sloc.Material = "Neon"
  762. local s = Instance.new("Sound",workspace)
  763. s.SoundId = "rbxassetid://342793847"
  764. s.Pitch = 0.75
  765. s.Volume = 1
  766. s.Looped = false
  767. s:Play()
  768. local s2 = Instance.new("Sound",workspace)
  769. s2.SoundId = "rbxassetid://137463716"
  770. s2.Pitch = 0.5
  771. s2.Volume = 1
  772. s2.Looped = false
  773. s2:Play()
  774. local val = 0.65*5
  775. for i = 0 , 150 do
  776. sloc.Transparency = sloc.Transparency - 0.035
  777. msh.Scale = msh.Scale + vt(val,val,val)
  778. val = val - 0.0075*2.5
  779. wait()
  780. end
  781. msh.Scale = msh.Scale - vt(1,1,1)
  782. sloc.Transparency = sloc.Transparency + 0.015
  783. local spart = Instance.new("Part",workspace)
  784. local msh2 = Instance.new("SpecialMesh",spart)
  785. msh2.MeshType = "Sphere"
  786. spart.Size = vt(2,2,2)
  787. spart.Shape = "Ball"
  788. spart.BrickColor = bc("Really black")
  789. spart.Material = "Neon"
  790. spart.Transparency = 0
  791. spart.Anchored = false
  792. msh2.Scale = msh.Scale/2
  793. spart.Rotation = hed.Rotation
  794. spart.CanCollide = false
  795. spart.Position = sloc.Position + vt(math.random(-0,0),math.random(-0,0),math.random(-0,0))
  796. local bv = Instance.new("BodyVelocity")
  797. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  798. bv.velocity = mouse.Hit.lookVector * 125
  799. bv.Parent = spart
  800. local tick = Instance.new("Sound",workspace)
  801. tick.SoundId = "rbxassetid://203691467"
  802. tick.Volume = 2
  803. tick.Pitch = 0.5
  804. tick:Play()
  805. sloc:Destroy()
  806. wait(0.00001)
  807. pewdiepie=spart.Touched:connect(function(hit)
  808. ExplodeMass(125,spart)
  809. end)
  810. sloc:Destroy()
  811. end
  812. if ultcooldown < 1 then
  813. for i = 0, 29 do
  814. ultcooldown = ultcooldown + 1
  815. wait(1)
  816. end
  817. end
  818. end
  819.  
  820. function LocateSpot()
  821. if basiccooldown >= 5 then
  822. local spart = Instance.new("Part",workspace)
  823. local msh = Instance.new("SpecialMesh",spart)
  824. msh.MeshType = "Sphere"
  825. local sa2 = Instance.new("Sound",spart)
  826. sa2.SoundId = "rbxassetid://244578827"
  827. sa2.Pitch = 1
  828. sa2.Volume = 2.5
  829. sa2.Looped = false
  830. sa2:Play()
  831. spart.Size = vt(1,1,1)
  832. spart.BrickColor = BrickColor.new("Bright violet")
  833. spart.Material = "Neon"
  834. spart.Transparency = 0.25
  835. spart.Anchored = true
  836. spart.CanCollide = false
  837. spart.CFrame = mouse.Hit
  838. spart.Rotation = vt(0,0,0)
  839. local value = 2.75
  840. for i = 0, 74 do
  841. value = value - 0.035
  842. msh.Scale = msh.Scale + vt(value,0,value)
  843. wait()
  844. end
  845. wait(1)
  846. for i = 0, 24 do
  847. value = value - 0.2215
  848. spart.Transparency = spart.Transparency - 0.015
  849. msh.Scale = msh.Scale + vt(value,500,value)
  850. wait()
  851. end
  852. wait(0.1)
  853. Explode(42.5,spart)
  854. end
  855. end
  856.  
  857. function TeleportSpot()
  858. if basiccooldown >= 5 then
  859. local sparta = Instance.new("Part",workspace)
  860. local msher = Instance.new("SpecialMesh",sparta)
  861. msher.MeshType = "Sphere"
  862. msher.Scale = vt(0,0.1,0)
  863. local sa2 = Instance.new("Sound",sparta)
  864. sa2.SoundId = "rbxassetid://169380479"
  865. sa2.Pitch = 0.75
  866. sa2.Volume = 2
  867. sa2.Looped = false
  868. sa2:Play()
  869. local sa3 = Instance.new("Sound",sparta)
  870. sa3.SoundId = "rbxassetid://289556450"
  871. sa3.Pitch = 1
  872. sa3.Volume = 3
  873. sa3.Looped = false
  874. sparta.Size = vt(1,1,1)
  875. sparta.BrickColor = BrickColor.new("Bright violet")
  876. sparta.Material = "Neon"
  877. sparta.Transparency = 0
  878. sparta.Anchored = true
  879. sparta.CanCollide = false
  880. sparta.CFrame = mouse.Hit
  881. sparta.Rotation = vt(0,0,0)
  882. local sparte = sparta:Clone()
  883. sparte.Position = tors.Position + vt(0,-2.75,0)
  884. sparte.Parent = workspace
  885. local msher2 = sparte.Mesh
  886. local value2 = 2.5
  887. for i = 0, 24 do
  888. value2 = value2 - 0.065
  889. msher.Scale = msher.Scale + vt(value2,0,value2)
  890. msher2.Scale = msher2.Scale + vt(value2,0,value2)
  891. wait()
  892. end
  893. for i = 0, 5 do
  894. msher.Scale = msher.Scale + vt(0,500,0)
  895. msher2.Scale = msher2.Scale + vt(0,500,0)
  896. wait()
  897. end
  898. wait(0.1)
  899. sa3:Play()
  900. tors.CFrame = sparta.CFrame
  901. for i = 0, 49 do
  902. value2 = value2 - 0.5
  903. sparta.Transparency = sparta.Transparency + 0.1
  904. msher.Scale = msher.Scale - vt(value2,-500,value2)
  905. sparte.Transparency = sparte.Transparency + 0.1
  906. msher2.Scale = msher2.Scale - vt(value2,-500,value2)
  907. wait()
  908. end
  909. sparta:Destroy()
  910. sparte:Destroy()
  911. end
  912. end
  913.  
  914. mod4 = Instance.new("Model",char)
  915.  
  916. ptez = {0.7, 0.8, 0.9, 1}
  917.  
  918. function FindNearestTorso(Position,Distance,SinglePlayer)
  919. if SinglePlayer then return(SinglePlayer.Torso.CFrame.p -Position).magnitude < Distance end
  920. local List = {}
  921. for i,v in pairs(workspace:GetChildren())do
  922. if v:IsA("Model")then
  923. if v:findFirstChild("Torso")then
  924. if v ~= char then
  925. if(v.Torso.Position -Position).magnitude <= Distance then
  926. table.insert(List,v)
  927. end
  928. end
  929. end
  930. end
  931. end
  932. return List
  933. end
  934.  
  935. function Slam()
  936. local part=Instance.new('Part',mod4)
  937. part.Anchored=true
  938. part.CanCollide=false
  939. part.FormFactor='Custom'
  940. part.Size=Vector3.new(.2,.2,.2)
  941. part.CFrame=root.CFrame*CFrame.new(0,-2.8,-1.4)*CFrame.Angles(math.rad(90),0,0)
  942. part.Transparency=.7
  943. part.BrickColor=BrickColor.new('Really black')
  944. mesh=Instance.new('SpecialMesh',part)
  945. mesh.MeshId='http://www.roblox.com/asset/?id=3270017'
  946. mesh.Scale=Vector3.new(3,3,3)
  947. local part2=Instance.new('Part',mod4)
  948. part2.Anchored=true
  949. part2.CanCollide=false
  950. part2.FormFactor='Custom'
  951. part2.Size=Vector3.new(.2,.2,.2)
  952. part2.CFrame=root.CFrame*CFrame.new(0,-2.4,-1.6)
  953. part2.Transparency=.7
  954. part2.BrickColor=BrickColor.new("Plum")
  955. mesh2=Instance.new('SpecialMesh',part2)
  956. mesh2.MeshId='http://www.roblox.com/asset/?id=20329976'
  957. mesh2.Scale=Vector3.new(3,1.5,3)
  958. x = Instance.new("Sound",larm)
  959. x.SoundId = "http://www.roblox.com/asset/?id=142070127"
  960. x.Pitch = ptez[math.random(1,#ptez)]
  961. x.Volume = 1
  962. wait(.1)
  963. x1 = Instance.new("Sound",larm)
  964. x1.SoundId = "http://www.roblox.com/asset/?id=206082327"
  965. x1.Pitch = ptez[math.random(1,#ptez)]
  966. x1.Volume = 1
  967. wait(.1)
  968. x:Play()
  969. x1:Play()
  970. for i,v in pairs(FindNearestTorso(torso.CFrame.p,4))do
  971. if v:FindFirstChild('Humanoid') then
  972. v.Humanoid:TakeDamage(math.random(99,99))
  973. end
  974. end
  975. coroutine.resume(coroutine.create(function()
  976. for i=0,0.62,0.13 do
  977. wait()
  978. part.CFrame=part.CFrame
  979. part.Transparency=i
  980. mesh.Scale=mesh.Scale+Vector3.new(0.4,0.4,0.4)
  981. part2.CFrame=part2.CFrame
  982. part2.Transparency=i
  983. mesh2.Scale=mesh2.Scale+Vector3.new(0.4,0.2,0.4)
  984. end
  985. part.Parent=nil
  986. part2.Parent=nil
  987. x:Destroy()
  988. end))
  989. end
  990.  
  991. game.StarterGui:SetCore("ChatMakeSystemMessage", {
  992. Text = "Made by Noobygames12, Edited by RealPieDiePew.";
  993. Color = Color3.new(0, 1, 1);
  994. Font = Enum.Font.Code;
  995. FontSize = Enum.FontSize.Size24;
  996. })
  997. wait()
  998. game.StarterGui:SetCore("ChatMakeSystemMessage", {
  999. Text = "RealPieDiePew#4968 and dont remove credits.";
  1000. Color = Color3.new(0, 1, 1);
  1001. Font = Enum.Font.Code;
  1002. FontSize = Enum.FontSize.Size24;
  1003. })
  1004.  
  1005. Reap = function()
  1006.  
  1007. rarm.Touched:connect(function(ht1)
  1008.  
  1009. hit1 = ht1.Parent
  1010. if ht1 and hit1:IsA("Model") and hit1:FindFirstChild("Humanoid") and hit1.Name ~= Player.Name and Debounces.Reaping == true and Debounces.Reaped == false then
  1011. Debounces.Reaped = true
  1012. h = hit1:FindFirstChild("Humanoid")
  1013. if h ~= nil then
  1014. hum.MaxHealth = hum.MaxHealth + h.MaxHealth
  1015. hum.Health = hum.MaxHealth
  1016. e = Instance.new("Part")
  1017. e.TopSurface = 0
  1018. e.BottomSurface = 0
  1019. e.Reflectance = 0.05
  1020. e.formFactor = "Symmetric"
  1021. e.Size = Vector3.new(1, 1, 1)
  1022. e.Anchored = true
  1023. e.CanCollide = false
  1024. e.BrickColor = BrickColor.new("Really blue")
  1025. e.CFrame = CFrame.new(ht1.Position)
  1026. e.Parent = hit1
  1027. Instance.new("BlockMesh", e)
  1028. coroutine.resume(coroutine.create(function(par)
  1029.  
  1030. for i = 1, 13 do
  1031. par.CFrame = par.CFrame * CFrame.fromEulerAnglesXYZ(math.random(-20, 20) / 50, math.random(-20, 20) / 50, math.random(-20, 20) / 50)
  1032. par.Transparency = i / 13
  1033. par.Mesh.Scale = par.Mesh.Scale + Vector3.new(0.4, 0.4, 0.4)
  1034. wait()
  1035. end
  1036. par.Parent = nil
  1037. end
  1038. ), e)
  1039. for _,v in pairs(hit1:children()) do
  1040. if v.className == "Part" then
  1041. v.BrickColor = BrickColor.new("Really black")
  1042. v.RotVelocity = Vector3.new(math.random(-2, 2), math.random(-2, 2), math.random(-2, 2)) * 3
  1043. v:BreakJoints()
  1044. f = Instance.new("BodyVelocity")
  1045. f.P = 3000
  1046. f.maxForce = Vector3.new(math.huge, math.huge, math.huge)
  1047. f.velocity = Vector3.new(math.random(-30, 30) / 10, math.random(-30, 30) / 10, math.random(-30, 30) / 10)
  1048. f.Parent = v
  1049. v.CanCollide = false
  1050. coroutine.resume(coroutine.create(function(par)
  1051.  
  1052. for i = 1, 30 do
  1053. par.Transparency = i / 30
  1054. wait()
  1055. end
  1056. par.Parent = nil
  1057. end
  1058. ), v)
  1059. else
  1060. if v.className == "Hat" then
  1061. v.Handle.BrickColor = BrickColor.new("Really black")
  1062. v.Handle.RotVelocity = Vector3.new(math.random(-2, 2), math.random(-2, 2), math.random(-2, 2)) * 3
  1063. v.Handle:BreakJoints()
  1064. f = Instance.new("BodyVelocity")
  1065. f.P = 3000
  1066. f.maxForce = Vector3.new(math.huge, math.huge, math.huge)
  1067. f.velocity = Vector3.new(math.random(-30, 30) / 10, math.random(-30, 30) / 10, math.random(-30, 30) / 10)
  1068. f.Parent = v.Handle
  1069. v.Handle.CanCollide = false
  1070. coroutine.resume(coroutine.create(function(par)
  1071.  
  1072. for i = 1, 30 do
  1073. par.Transparency = i / 30
  1074. wait()
  1075. end
  1076. par.Parent = nil
  1077. end
  1078. ), v.Handle)
  1079. if h == nil then
  1080. wait()
  1081. end
  1082. end
  1083. end
  1084. end
  1085. end
  1086. end
  1087. end
  1088. )
  1089. Debounces.Reaped = false
  1090. end
  1091.  
  1092. mouse.KeyDown:connect(function(key)
  1093.  
  1094. if key == "e" and Debounces.CanAttack == true then
  1095. Debounces.CanAttack = false
  1096. Debounces.NoIdl = true
  1097. Debounces.on = true
  1098. Debounces.Reaping = true
  1099. for i = 1, 35 do
  1100. 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)
  1101. 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)
  1102. 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)
  1103. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-70), 0), 0.4)
  1104. 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)
  1105. 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)
  1106. if Debounces.on == false then
  1107. break
  1108. end
  1109. lightning.Enabled = true
  1110. eeeffecto.Enabled = true
  1111. fat.Event:wait()
  1112. end
  1113. do
  1114. wait(1)
  1115. Reap()
  1116. for i = 1, 10 do
  1117. 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)
  1118. 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)
  1119. 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)
  1120. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(70), 0), 0.7)
  1121. 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)
  1122. 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)
  1123. if Debounces.on == false then
  1124. break
  1125. end
  1126. lightning.Enabled = false
  1127. eeeffecto.Enabled = false
  1128. fat.Event:wait()
  1129. end
  1130. do
  1131. if Debounces.CanAttack == false then
  1132. Debounces.CanAttack = true
  1133. Debounces.NoIdl = false
  1134. Debounces.on = false
  1135. Debounces.Reaping = false
  1136. end
  1137. end
  1138. end
  1139. end
  1140. end
  1141. )
  1142.  
  1143. function ExplosiveLightBall()
  1144. if basiccooldown >= 5 then
  1145. local spart = Instance.new("Part",workspace)
  1146. local msh = Instance.new("SpecialMesh",spart)
  1147. msh.MeshType = "Sphere"
  1148. local sa = Instance.new("Sound",hed)
  1149. sa.SoundId = "rbxassetid://203691467"
  1150. sa.Pitch = 0.775
  1151. sa.Volume = 1
  1152. sa.Looped = false
  1153. local sa1 = Instance.new("Sound",hed)
  1154. sa1.SoundId = "rbxassetid://200633529"
  1155. sa1.Pitch = 0.75
  1156. sa1.Volume = 1
  1157. sa1.Looped = false
  1158. sa1:Play()
  1159. local sans1 = Instance.new("Sound",hed)
  1160. sans1.SoundId = "rbxassetid://200633529"
  1161. sans1.Pitch = 0.725
  1162. sans1.Volume = 1
  1163. sans1.Looped = false
  1164. sans1:Play()
  1165. spart.Size = vt(1,1,1)
  1166. spart.BrickColor = BrickColor.new("Bright violet")
  1167. spart.Material = "Neon"
  1168. spart.Transparency = 1
  1169. spart.Anchored = true
  1170. spart.CanCollide = false
  1171. spart.Position = hed.Position + vt(0,20,0)
  1172. local value = 2.5
  1173. for i = 0, 24 do
  1174. spart.Transparency = spart.Transparency - 0.05
  1175. value = value - 0.05
  1176. msh.Scale = msh.Scale + vt(value,value,value)
  1177. wait()
  1178. end
  1179. sa:Play()
  1180. spart.Anchored = false
  1181. local bv = Instance.new("BodyVelocity")
  1182. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  1183. bv.velocity = mouse.Hit.lookVector *125
  1184. bv.Parent = spart
  1185. wait(0.1)
  1186. pewdiepie=spart.Touched:connect(function(hit) Explode(20,spart) end)
  1187. end
  1188. end
  1189.  
  1190. function ExplosiveLightBalls()
  1191. if basiccooldown >= 5 then
  1192. local spart = Instance.new("Part",workspace)
  1193. local msh = Instance.new("SpecialMesh",spart)
  1194. msh.MeshType = "Sphere"
  1195. spart.Size = vt(1,1,1)
  1196. spart.BrickColor = BrickColor.new("Bright violet")
  1197. spart.Material = "Neon"
  1198. spart.Transparency = 0.65
  1199. spart.Anchored = true
  1200. spart.CanCollide = false
  1201. spart.CFrame = mouse.Hit
  1202. spart.Rotation = vt(0,0,0)
  1203. msh.Scale = vt(15,15,15)*2
  1204. wait(0.35)
  1205. ExplodeFast(15,spart)
  1206. end
  1207. end
  1208.  
  1209. mouse.KeyDown:connect(function(k)
  1210.  
  1211. k = k:lower()
  1212. if k == "z" then
  1213. ExplosiveLightBall()
  1214. end
  1215. if k == "x" then
  1216. LocateSpot()
  1217. end
  1218. if k == "c" then
  1219. ExplosiveLightBalls()
  1220. end
  1221. if k == "v" then
  1222. TeleportSpot()
  1223. end
  1224. if k == "b" then
  1225. Blaze()
  1226. end
  1227. end)
  1228.  
  1229. ----------------------------------------------------
  1230. fat = Instance.new("BindableEvent",script)
  1231. fat.Name = "Heartbeat"
  1232.  
  1233. script:WaitForChild("Heartbeat")
  1234.  
  1235. frame = 1/30
  1236. tf = 0
  1237. 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.
  1238. tossremainder = false --if set to true t will be set to 0 after Fire()-ing.
  1239. lastframe = tick()
  1240. script.Heartbeat:Fire() --ayy lmao
  1241.  
  1242. game:GetService("RunService").Heartbeat:connect(function(s,p) --herp derp
  1243. tf = tf + s
  1244. if tf >= frame then
  1245. if allowframeloss then
  1246. script.Heartbeat:Fire()
  1247. lastframe=tick()
  1248. else
  1249. --print("FIRED "..math.floor(t/frame).." FRAME(S)","REMAINDER "..(t - frame*(math.floor(t/frame))))
  1250. for i=1, math.floor(tf/frame) do
  1251. script.Heartbeat:Fire()
  1252. end
  1253. lastframe=tick()
  1254. end
  1255. if tossremainder then
  1256. tf = 0
  1257. else
  1258. tf = tf - frame * math.floor(tf/frame)
  1259. end
  1260. end
  1261. end)
  1262. ----------------------------------------------------
  1263. Debounces = {
  1264. CanAttack = true;
  1265. CanJoke = true;
  1266. NoIdl = false;
  1267. Slashing = false;
  1268. Slashed = false;
  1269. ks = false;
  1270. RPunch = false;
  1271. RPunched = false;
  1272. LPunch = false;
  1273. LPunched = false;
  1274. }
  1275. local Touche = {char.Name, }
  1276. function HasntTouched(plrname)
  1277. local ret = true
  1278. for _, v in pairs(Touche) do
  1279. if v == plrname then
  1280. ret = false
  1281. end
  1282. end
  1283. return ret
  1284. end
  1285. ----------------------------------------------------
  1286. function weld5(part0, part1, c0, c1)
  1287. weeld=Instance.new("Weld", part0)
  1288. weeld.Part0=part0
  1289. weeld.Part1=part1
  1290. weeld.C0=c0
  1291. weeld.C1=c1
  1292. return weeld
  1293. end
  1294. ----------------------------------------------------
  1295. function lerp(a, b, t) -- Linear interpolation
  1296. return a + (b - a)*t
  1297. end
  1298.  
  1299. function slerp(a, b, t) --Spherical interpolation
  1300. dot = a:Dot(b)
  1301. if dot > 0.99999 or dot < -0.99999 then
  1302. return t <= 0.5 and a or b
  1303. else
  1304. r = math.acos(dot)
  1305. return (a*math.sin((1 - t)*r) + b*math.sin(t*r)) / math.sin(r)
  1306. end
  1307. end
  1308.  
  1309. function matrixInterpolate(a, b, t)
  1310. local ax, ay, az, a00, a01, a02, a10, a11, a12, a20, a21, a22 = a:components()
  1311. local bx, by, bz, b00, b01, b02, b10, b11, b12, b20, b21, b22 = b:components()
  1312. local v0 = lerp(Vector3.new(ax, ay, az), Vector3.new(bx , by , bz), t) -- Position
  1313. local v1 = slerp(Vector3.new(a00, a01, a02), Vector3.new(b00, b01, b02), t) -- Vector right
  1314. local v2 = slerp(Vector3.new(a10, a11, a12), Vector3.new(b10, b11, b12), t) -- Vector up
  1315. local v3 = slerp(Vector3.new(a20, a21, a22), Vector3.new(b20, b21, b22), t) -- Vector back
  1316. local t = v1:Dot(v2)
  1317. if not (t < 0 or t == 0 or t > 0) then -- Failsafe
  1318. return CFrame.new()
  1319. end
  1320. return CFrame.new(
  1321. v0.x, v0.y, v0.z,
  1322. v1.x, v1.y, v1.z,
  1323. v2.x, v2.y, v2.z,
  1324. v3.x, v3.y, v3.z)
  1325. end
  1326. ----------------------------------------------------
  1327. function genWeld(a,b)
  1328. local w = Instance.new("Weld",a)
  1329. w.Part0 = a
  1330. w.Part1 = b
  1331. return w
  1332. end
  1333. function weld(a, b)
  1334. local weld = Instance.new("Weld")
  1335. weld.Name = "W"
  1336. weld.Part0 = a
  1337. weld.Part1 = b
  1338. weld.C0 = a.CFrame:inverse() * b.CFrame
  1339. weld.Parent = a
  1340. return weld;
  1341. end
  1342. ----------------------------------------------------
  1343. function Lerp(c1,c2,al)
  1344. local com1 = {c1.X,c1.Y,c1.Z,c1:toEulerAnglesXYZ()}
  1345. local com2 = {c2.X,c2.Y,c2.Z,c2:toEulerAnglesXYZ()}
  1346. for i,v in pairs(com1) do
  1347. com1[i] = v+(com2[i]-v)*al
  1348. end
  1349. return CFrame.new(com1[1],com1[2],com1[3]) * CFrame.Angles(select(4,unpack(com1)))
  1350. end
  1351. ----------------------------------------------------
  1352. newWeld = function(wp0, wp1, wc0x, wc0y, wc0z)
  1353. local wld = Instance.new("Weld", wp1)
  1354. wld.Part0 = wp0
  1355. wld.Part1 = wp1
  1356. wld.C0 = CFrame.new(wc0x, wc0y, wc0z)
  1357. end
  1358. ----------------------------------------------------
  1359. newWeld(torso, larm, -1.5, 0.5, 0)
  1360. larm.Weld.C1 = CFrame.new(0, 0.5, 0)
  1361. newWeld(torso, rarm, 1.5, 0.5, 0)
  1362. rarm.Weld.C1 = CFrame.new(0, 0.5, 0)
  1363. newWeld(torso, hed, 0, 1.5, 0)
  1364. newWeld(torso, lleg, -0.5, -1, 0)
  1365. lleg.Weld.C1 = CFrame.new(0, 1, 0)
  1366. newWeld(torso, rleg, 0.5, -1, 0)
  1367. rleg.Weld.C1 = CFrame.new(0, 1, 0)
  1368. newWeld(root, torso, 0, -1, 0)
  1369. torso.Weld.C1 = CFrame.new(0, -1, 0)
  1370. ----------------------------------------------------
  1371. hats={}
  1372. Part = function(x,y,z,color,tr,cc,an,parent)
  1373. local p = Instance.new('Part',parent or Weapon)
  1374. p.formFactor = 'Custom'
  1375. p.Size = Vector3.new(x,y,z)
  1376. p.BrickColor = BrickColor.new(color)
  1377. p.CanCollide = cc
  1378. p.Transparency = tr
  1379. p.Anchored = an
  1380. p.TopSurface,p.BottomSurface = 0,0
  1381. p:BreakJoints()
  1382. return p
  1383. end
  1384. Weld = function(p0,p1,x,y,z,rx,ry,rz,par)
  1385. local w = Instance.new('Motor',par or p0)
  1386. w.Part0 = p0
  1387. w.Part1 = p1
  1388. w.C1 = CFrame.new(x,y,z)*CFrame.Angles(rx,ry,rz)
  1389. return w
  1390. end
  1391. Mesh = function(par,num,x,y,z)
  1392. local msh = nil
  1393. if num == 1 then
  1394. msh = Instance.new("CylinderMesh",par)
  1395. elseif num == 2 then
  1396. msh = Instance.new("SpecialMesh",par)
  1397. msh.MeshType = 'Wedge'
  1398. elseif num == 3 then
  1399. msh = Instance.new("BlockMesh",par)
  1400. elseif type(num) == 'string' then
  1401. msh = Instance.new("SpecialMesh",par)
  1402. msh.MeshId = num
  1403. end
  1404. msh.Scale = Vector3.new(x,y,z)
  1405. return msh
  1406. end
  1407.  
  1408. function addh(id,txt,s1,s2,s3,x,y,z)
  1409. local hat=Part(1,1,1,'',0,false,false,char)
  1410. table.insert(hats,hat)
  1411. Weld(char.Head,hat,x,y,z,0,0,0,p)
  1412. m=Mesh(hat,'http://www.roblox.com/asset/?id='..id,s1,s2,s3)
  1413. m.TextureId='http://www.roblox.com/asset/?id='..txt
  1414. return m
  1415. end
  1416.  
  1417. addh('11380070','11380053',1,1,1,0,-.75,0)
  1418. ----------------------------------------------------
  1419. New = function(Object, Parent, Name, Data)
  1420. local Object = Instance.new(Object)
  1421. for Index, Value in pairs(Data or {}) do
  1422. Object[Index] = Value
  1423. end
  1424. Object.Parent = Parent
  1425. Object.Name = Name
  1426. return Object
  1427. end
  1428. ----------------------------------------------------
  1429. local animpose = "Idle1"
  1430. local lastanimpose = "Idle1"
  1431. local grab = false
  1432. local Smooth = 1
  1433. local sine = 0
  1434. local change = 1
  1435. local val = 0
  1436. local ffing = false
  1437. ----------------------------------------------------
  1438. jump = false
  1439. rs:connect(function()
  1440. if char.Humanoid.Jump == true then
  1441. jump = true
  1442. else
  1443. jump = false
  1444. end
  1445. char.Humanoid.FreeFalling:connect(function(f)
  1446. if f then
  1447. ffing = true
  1448. else
  1449. ffing = false
  1450. end
  1451. end)
  1452. sine = sine + change
  1453. if jump == true then
  1454. animpose = "Jumping"
  1455. elseif ffing == true then
  1456. animpose = "Freefalling"
  1457. elseif (torso.Velocity*Vector3.new(1, 0, 1)).magnitude < 2 then
  1458. animpose = "Idle"
  1459. elseif (torso.Velocity*Vector3.new(1, 0, 1)).magnitude < 20 then
  1460. animpose = "Walking"
  1461. elseif (torso.Velocity*Vector3.new(1, 0, 1)).magnitude > 20 then
  1462. animpose = "Running"
  1463. end
  1464. RightLeg = CFrame.new(0.5,-1,0)
  1465. LeftLeg = CFrame.new(-0.5,-1,0)
  1466.  
  1467. lefth = (torso.CFrame*LeftLeg)
  1468. righth = (torso.CFrame*RightLeg)
  1469.  
  1470. speed = Vector3.new(torso.Velocity.X,0,torso.Velocity.Z)
  1471.  
  1472. TiltOnAxis = (torso.CFrame-torso.CFrame.p):vectorToObjectSpace(speed/100)
  1473.  
  1474. local AngleThetaR = (righth-righth.p):vectorToObjectSpace(speed/100)
  1475. local AngleThetaL = (lefth-lefth.p):vectorToObjectSpace(speed/100)
  1476. if animpose ~= lastanimpose then
  1477. sine = 0
  1478. if Debounces.NoIdl == false then
  1479. if stanceToggle == "Idle1" then
  1480. 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)
  1481. 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)
  1482. 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)
  1483. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(0), math.rad(0)), 0.4)
  1484. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(-8)), 0.4)
  1485. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(8)), 0.4)
  1486. end
  1487. fat.Event:wait()
  1488. end
  1489. else
  1490. end
  1491. lastanimpose = animpose
  1492. if Debounces.NoIdl == false then
  1493. if animpose == "Idle" then
  1494. change = 0.5
  1495. if stanceToggle == "Idle1" then
  1496. 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)
  1497. rarm.Weld.C1 = Lerp(rarm.Weld.C1, CFrame.new(0, 0.5, 0) * CFrame.Angles(0, 0, 0), 0.4)
  1498. 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)
  1499. 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)
  1500. 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)
  1501. 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)
  1502. 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)
  1503. 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)
  1504. 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)
  1505. end
  1506. elseif animpose == "Walking" then
  1507. change = 1
  1508. 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)
  1509. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, -0.2) * CFrame.Angles(math.rad(-14), 0, 0), 0.4)
  1510. 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)
  1511. 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)
  1512. 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)
  1513. 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)
  1514. 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)
  1515. elseif animpose == "Running" then
  1516. change = 1.5
  1517. 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)
  1518. 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)
  1519. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, .2) * CFrame.Angles(math.rad(20),math.rad(10),0), 0.4)
  1520. 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)
  1521. 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)
  1522. 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)
  1523. end
  1524. end
  1525. end)
  1526.  
  1527. paly = game.Players.LocalPlayer
  1528. p = game.Players.LocalPlayer
  1529. char = paly.Character
  1530. vt = Vector3.new
  1531. rleg = char["Right Leg"]
  1532. lleg = char["Left Leg"]
  1533. local maincolor = BrickColor.new("Plum")
  1534.  
  1535. local orb = Instance.new("Part")
  1536. orb.Parent = char
  1537. orb.Size = Vector3.new(0.2, 0.2, 0.2)
  1538. orb.Archivable = true
  1539. orb.Transparency = 1
  1540. orb.BrickColor = maincolor
  1541. orb.Material = "Neon"
  1542. orb.CanCollide = false
  1543. local weld1 = Instance.new("Weld")
  1544. weld1.Parent = rleg
  1545. weld1.Part0 = rleg
  1546. weld1.Part1 = orb
  1547. weld1.C1 = CFrame.new(0, 1.125, 0)
  1548. local pt1 = NumberSequenceKeypoint.new(0,0.85,0)
  1549. local pt2 = NumberSequenceKeypoint.new(1,0,0)
  1550. local effecto = Instance.new("ParticleEmitter",orb)
  1551. effecto.ZOffset = 1
  1552. effecto.LightEmission = 1
  1553. effecto.Texture = "rbxasset://textures/particles/smoke_main.dds"
  1554. effecto.Color = ColorSequence.new(maincolor.Color)
  1555. effecto.Rate = 10000
  1556. effecto.Lifetime = NumberRange.new(1)
  1557. effecto.Size = NumberSequence.new({pt1,pt2})
  1558. effecto.Speed = NumberRange.new(0,0)
  1559. effecto.RotSpeed = NumberRange.new(100,100)
  1560.  
  1561. local orbz = Instance.new("Part")
  1562. orbz.Parent = char
  1563. orbz.Size = Vector3.new(0.2, 0.2, 0.2)
  1564. orbz.Archivable = true
  1565. orbz.Transparency = 1
  1566. orbz.BrickColor = maincolor
  1567. orbz.Material = "Neon"
  1568. orbz.CanCollide = false
  1569. local weldz1 = Instance.new("Weld")
  1570. weldz1.Parent = lleg
  1571. weldz1.Part0 = lleg
  1572. weldz1.Part1 = orbz
  1573. weldz1.C1 = CFrame.new(0, 1.125, 0)
  1574. local effecton = Instance.new("ParticleEmitter",orbz)
  1575. effecton.ZOffset = 1
  1576. effecton.LightEmission = 1
  1577. effecton.Texture = "rbxasset://textures/particles/smoke_main.dds"
  1578. effecton.Color = ColorSequence.new(maincolor.Color)
  1579. effecton.Rate = 10000
  1580. effecton.Lifetime = NumberRange.new(1)
  1581. effecton.Size = NumberSequence.new({pt1,pt2})
  1582. effecton.Speed = NumberRange.new(0,0)
  1583. effecton.RotSpeed = NumberRange.new(100,100)
  1584.  
  1585. local runServ = game:GetService("RunService").RenderStepped
  1586.  
  1587. runServ:connect(function()
  1588. text.Text = "Rex, Ruler of the Universe: " ..math.floor(hum.Health)
  1589. end)
  1590.  
  1591. Charging = false
  1592. chargewait = false
  1593. mouse.KeyDown:connect(function(key)
  1594. if key == "h" then
  1595. if Charging == false and chargewait == false then
  1596. Charging = true
  1597. chargewait = true
  1598. if Debounces.CanAttack == true then
  1599. Debounces.CanAttack = false
  1600. Debounces.NoIdl = true
  1601. Debounces.on = true
  1602.  
  1603.  
  1604.  
  1605.  
  1606. for i = 1,20 do
  1607. 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)
  1608. 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)
  1609. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,.1)*CFrame.Angles(math.rad(34),math.rad(0),0), 0.4)
  1610. 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)
  1611. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), 0, math.rad(-10)), 0.4)
  1612. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-10), 0, math.rad(10)), 0.4)
  1613.  
  1614. if Debounces.on == false then break end
  1615. rs:wait()
  1616. end
  1617. pt=Instance.new('Part',torso)
  1618. pt.Anchored=true
  1619. pt.CanCollide=false
  1620. pt.Locked = true
  1621. pt.Material = "Neon"
  1622. pt.FormFactor='Custom'
  1623. pt.Size=Vector3.new(1,1,1)
  1624. pt.BrickColor = BrickColor.new("Really black")
  1625. pt.CFrame=root.CFrame*CFrame.new(0,-1,0)
  1626. pt.Transparency=.6
  1627.  
  1628.  
  1629. msh=Instance.new('SpecialMesh',pt)
  1630. msh.MeshId='http://www.roblox.com/asset/?id=20329976'
  1631. msh.Scale=Vector3.new(8,4,8)
  1632. pt2=pt:clone()
  1633. pt2.Parent = torso
  1634. pt2.CFrame=root.CFrame*CFrame.new(0,-1,0)
  1635.  
  1636.  
  1637. msh2=msh:clone()
  1638. msh2.Parent=pt2
  1639. msh2.Scale=Vector3.new(10,5,10)
  1640.  
  1641. 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}
  1642.  
  1643. bl = Instance.new("Part", char)
  1644. bl.Locked = true
  1645. bl.Name = "Shell"
  1646.  
  1647.  
  1648. bl.Anchored = true
  1649. bl.Material = "Neon"
  1650. bl.CanCollide = false
  1651. bl.BrickColor = BrickColor.new("Dark indigo")
  1652. bl.Transparency = 0
  1653. bl.Reflectance = 0
  1654. bl.BottomSurface = 0
  1655. bl.TopSurface = 0
  1656. bl.Shape = 0
  1657. blm = Instance.new("SpecialMesh",bl)
  1658. blm.MeshType = "Sphere"
  1659. blm.Scale = Vector3.new(1,1,1)
  1660.  
  1661.  
  1662.  
  1663.  
  1664. coroutine.resume(coroutine.create(function()
  1665. for i=1, math.huge, 4 do
  1666. if Charging == true then
  1667. rs:wait()
  1668. bl.CFrame = root.CFrame * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(-i/10), math.rad(-i/10), math.rad(i/10))
  1669. blm.Scale = blm.Scale + Vector3.new(0.5, 0.5, 0.5)
  1670. bl.Transparency = bl.Transparency + 0.05
  1671. pt.CFrame = root.CFrame*CFrame.new(0,-1,0) * CFrame.Angles(0,math.rad(i*2),0)
  1672. pt2.CFrame = root.CFrame*CFrame.new(0,-1,0) * CFrame.Angles(0,math.rad(-i*2),0)
  1673. msh.Scale = msh.Scale + Vector3.new(0.05,0,0.05)
  1674. msh2.Scale = msh2.Scale + Vector3.new(0.05,0,0.05)
  1675. elseif Charging == false then break
  1676. end
  1677. end
  1678. end))
  1679.  
  1680.  
  1681. repeat
  1682. local p = Instance.new('Part',torso)
  1683. p.formFactor = 'Custom'
  1684. p.Size = Vector3.new(1,1,1)
  1685.  
  1686. p.CanCollide = false
  1687. p.Transparency = 0
  1688. p.Anchored = true
  1689. p.Locked=true
  1690. p.Material = "Neon"
  1691. p.Transparency = 1
  1692. p.BrickColor = BrickColor.new("Dark indigo")
  1693. s = math.random(1,40)/10
  1694. local m = Instance.new("BlockMesh",p)
  1695. m.Scale = Vector3.new(s,s,s)
  1696. 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())
  1697. --[[coroutine.wrap(function()
  1698. wait(2)
  1699. while Charging == true do
  1700. wait(2)
  1701. GroundWave1()
  1702. wait(2)
  1703. end
  1704. end)()]]--
  1705. Spawn(function()
  1706. while rs:wait() do
  1707. if Charging == true then
  1708. 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)))
  1709. 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)))
  1710. 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))
  1711. torso.Weld.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(10), math.rad(math.random(-4,4)), math.rad(0))
  1712. 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)))
  1713. 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)))
  1714. elseif Charging == false then break
  1715. end
  1716. end
  1717. end)
  1718. Spawn(function()
  1719. while rs:wait() do
  1720. if p.Transparency >= 1 then p:Destroy() break end
  1721. p.CFrame = p.CFrame*CFrame.Angles(math.rad(2),math.rad(2),math.rad(2))+Vector3.new(0,0.2,0)
  1722. p.Transparency = p.Transparency+0.01
  1723. end
  1724. end)
  1725.  
  1726.  
  1727.  
  1728.  
  1729. local Transforming = true
  1730. hum.WalkSpeed = 0
  1731. local fx = Instance.new("Part",torso)
  1732. wit = torso.BrickColor.Color
  1733. wit2 = Color3.new(0,0,0)
  1734. local glowz = Instance.new("ParticleEmitter",fx)
  1735. glowz.LightEmission = 1
  1736. glowz.Texture = "rbxassetid://284205403"
  1737. glowz.Color = ColorSequence.new(Color3.new(1,0,1),Color3.new(0,0,0))
  1738. glowz.Size = NumberSequence.new(5)
  1739. glowz.Speed = NumberRange.new(25,50)
  1740. glowz.LockedToPart = false
  1741. glowz.Transparency = NumberSequence.new(0.75)
  1742. glowz.RotSpeed = NumberRange.new(-2000,2000)
  1743. glowz.Lifetime = NumberRange.new(1)
  1744. glowz.Rate = 50000
  1745. glowz.VelocitySpread = 9001
  1746. local glowz2 = Instance.new("ParticleEmitter",fx)
  1747. glowz2.LightEmission = 0.5
  1748. glowz.Texture = "rbxassetid://284205403"
  1749. glowz2.Color = ColorSequence.new(Color3.new(1,0,1),Color3.new(0,0,0))
  1750. glowz2.Size = NumberSequence.new(5)
  1751. glowz2.Speed = NumberRange.new(25,50)
  1752. glowz2.LockedToPart = false
  1753. glowz2.Transparency = NumberSequence.new(0.75)
  1754. glowz2.RotSpeed = NumberRange.new(-2000,2000)
  1755. glowz2.Lifetime = NumberRange.new(1)
  1756. glowz2.Rate = 50000
  1757. glowz2.VelocitySpread = 9001
  1758. fx.Anchored = true
  1759. fx.Material = "Neon"
  1760. fx.CanCollide = false
  1761. fx.Locked = true
  1762. fx.Transparency = 1
  1763. fx.Material = "Neon"
  1764. fx.Size = Vector3.new(1,1,1)
  1765. fx.TopSurface = "SmoothNoOutlines"
  1766. fx.BottomSurface = "SmoothNoOutlines"
  1767. fx.BrickColor = BrickColor.new("Really black")
  1768. fxm = Instance.new("SpecialMesh",fx)
  1769. fxm.MeshType = "Sphere"
  1770. local sa2 = Instance.new("Sound",torso)
  1771. sa2.SoundId = "rbxassetid://93724183"
  1772. sa2.Pitch = 0.5
  1773. sa2.Volume = 5
  1774. sa2.Looped = false
  1775. sa2:Play()
  1776. local value = 1
  1777. fxm.Scale = Vector3.new(1,1,1)
  1778. for i = 1, 20 do rs:wait()
  1779. value = value - 0.05
  1780. fx.Transparency = fx.Transparency - (1/20)
  1781. fx.CFrame = torso.CFrame
  1782. fxm.Scale = fxm.Scale + Vector3.new(value,value,value)
  1783. rs:wait()
  1784. end
  1785. ----------------------------------------------------
  1786. GroundWave1 = function()
  1787. local HandCF = CFrame.new(root.Position - Vector3.new(0,3,0)) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0))
  1788. local Colors = {"White", "Really black"}
  1789. local wave = Instance.new("Part", torso)
  1790. wave.BrickColor = BrickColor.new(Colors[math.random(1,#Colors)])
  1791. wave.Anchored = true
  1792. wave.CanCollide = false
  1793. wave.Locked = true
  1794. wave.Size = Vector3.new(1, 1, 1)
  1795. wave.TopSurface = "Smooth"
  1796. wave.BottomSurface = "Smooth"
  1797. wave.Transparency = 0.35
  1798. wave.CFrame = HandCF
  1799. wm = Instance.new("SpecialMesh", wave)
  1800. wm.MeshId = "rbxassetid://3270017"
  1801. coroutine.wrap(function()
  1802. for i = 1, 30, 1 do
  1803. wm.Scale = Vector3.new(50, 50, 1 + i*50)
  1804. wave.Size = wm.Scale
  1805. wave.CFrame = HandCF
  1806. wave.Transparency = i/30
  1807. wait()
  1808. end
  1809. wait()
  1810. wave:Destroy()
  1811. end)()
  1812. end
  1813. ----------------------------------------------------
  1814. GroundWave = function()
  1815. if Transforming == true then
  1816. local value = 5
  1817. local value2 = 10
  1818. local value3 = 20
  1819. local sa2 = Instance.new("Sound",torso)
  1820. sa2.SoundId = "rbxassetid://413682983"
  1821. sa2.Pitch = 1
  1822. sa2.Volume = 10
  1823. sa2.Looped = false
  1824. sa2:Play()
  1825. local wave = Instance.new("Part", torso)
  1826. local glowz = Instance.new("ParticleEmitter",wave)
  1827. glowz.LightEmission = 1
  1828. glowz.Texture = "rbxassetid://284205403"
  1829. glowz.Color = ColorSequence.new(Color3.new(1,0,1),Color3.new(0,0,0))
  1830. glowz.Size = NumberSequence.new(30)
  1831. glowz.Speed = NumberRange.new(25,100)
  1832. glowz.LockedToPart = false
  1833. glowz.Transparency = NumberSequence.new(0.75)
  1834. glowz.RotSpeed = NumberRange.new(-2000,2000)
  1835. glowz.Lifetime = NumberRange.new(1)
  1836. glowz.Rate = 50000
  1837. glowz.VelocitySpread = 9001
  1838. local glowz2 = Instance.new("ParticleEmitter",wave)
  1839. glowz2.LightEmission = 1
  1840. glowz.Texture = "rbxassetid://284205403"
  1841. glowz2.Color = ColorSequence.new(Color3.new(1,0,1),Color3.new(0,0,0))
  1842. glowz2.Size = NumberSequence.new(30)
  1843. glowz2.Speed = NumberRange.new(25,100)
  1844. glowz2.LockedToPart = false
  1845. glowz2.Transparency = NumberSequence.new(0.75)
  1846. glowz2.RotSpeed = NumberRange.new(-2000,2000)
  1847. glowz2.Lifetime = NumberRange.new(1)
  1848. glowz2.Rate = 50000
  1849. glowz2.VelocitySpread = 9001
  1850. wave.BrickColor = BrickColor.new("Dark indigo")
  1851. wave.Anchored = true
  1852. wave.CanCollide = false
  1853. wave.Locked = true
  1854. wave.Size = Vector3.new(1, 1, 1)
  1855. wave.TopSurface = "Smooth"
  1856. wave.BottomSurface = "Smooth"
  1857. wave.Transparency = 0.35
  1858. wave.CFrame = fx.CFrame
  1859. wave.Material = "Neon"
  1860. wm = Instance.new("SpecialMesh", wave)
  1861. wm.MeshType = "Sphere"
  1862. wm.Scale = Vector3.new(1,1,1)
  1863. local wave2 = Instance.new("Part", torso)
  1864. wave2.BrickColor = BrickColor.new("Dark indigo")
  1865. wave2.Anchored = true
  1866. wave2.CanCollide = false
  1867. wave2.Locked = true
  1868. wave2.Size = Vector3.new(1, 1, 1)
  1869. wave2.TopSurface = "Smooth"
  1870. wave2.BottomSurface = "Smooth"
  1871. wave2.Transparency = 0.35
  1872. wave2.CFrame = fx.CFrame
  1873. wave2.Material = "Neon"
  1874. wm2 = Instance.new("SpecialMesh", wave2)
  1875. wm2.MeshType = "FileMesh"
  1876. wm2.MeshId = "http://www.roblox.com/asset/?id=3270017"
  1877. wm2.Scale = Vector3.new(1,1,1)
  1878. local wave3 = Instance.new("Part", torso)
  1879. wave3.BrickColor = BrickColor.new("Really black")
  1880. wave3.Anchored = true
  1881. wave3.CanCollide = false
  1882. wave3.Locked = true
  1883. wave3.Size = Vector3.new(1, 1, 1)
  1884. wave3.TopSurface = "Smooth"
  1885. wave3.BottomSurface = "Smooth"
  1886. wave3.Transparency = 0.35
  1887. wave3.CFrame = fx.CFrame
  1888. wave3.Material = "Neon"
  1889. wm3 = Instance.new("SpecialMesh", wave3)
  1890. wm3.MeshType = "FileMesh"
  1891. wm3.MeshId = "http://www.roblox.com/asset/?id=3270017"
  1892. wm3.Scale = Vector3.new(1,1,1)
  1893. coroutine.wrap(function()
  1894. for i = 1, 18, 1 do
  1895. value = value - 0.5
  1896. value2 = value2 - 0.75*1.5
  1897. value3 = value3 - 0.475*1.5
  1898. wm.Scale = wm.Scale + Vector3.new(value*3.5,value*3.5,value*3.5)
  1899. wm2.Scale = wm.Scale + Vector3.new(value2*3.5,value2*3.5,0.5)
  1900. wm3.Scale = wm.Scale + Vector3.new(value3*3.5,value3*3.5,0.25)
  1901. --wave.Size = wm.Scale
  1902. wave.CFrame = fx.CFrame
  1903. wave.Transparency = i/14
  1904. --wave2.Size = wm2.Scale
  1905. wave2.CFrame = fx.CFrame
  1906. wave2.Rotation = Vector3.new(90, 0, 0)
  1907. wave2.Transparency = i/14
  1908. --wave3.Size = wm3.Scale
  1909. wave3.CFrame = fx.CFrame
  1910. wave3.Rotation = Vector3.new(90, 0, 0)
  1911. wave3.Transparency = i/14
  1912. wait()
  1913. glowz.Rate = 0
  1914. glowz2.Rate = 0
  1915. end
  1916. wait()
  1917. wave:Destroy()
  1918. wave2:Destroy()
  1919. wave3:Destroy()
  1920. end)()
  1921. elseif Transforming == false then
  1922. wait()
  1923. end
  1924. end
  1925.  
  1926. for i = 1, 100 do rs:wait()
  1927. fx.CFrame = torso.CFrame
  1928. end
  1929.  
  1930. Spawn(function()
  1931. while wait(1) do
  1932. GroundWave()
  1933. end
  1934. end)
  1935.  
  1936. wait(4)
  1937.  
  1938. Transforming = false
  1939.  
  1940. local value2 = 1
  1941. for i = 1, 20 do rs:wait()
  1942. value2 = value2 - 0.05
  1943. glowz.Rate = 0
  1944. glowz2.Rate = 0
  1945. fx.Transparency = fx.Transparency + (1/20)
  1946. fx.CFrame = torso.CFrame
  1947. fxm.Scale = fxm.Scale + Vector3.new(value2,value2,value2)
  1948. rs:wait()
  1949. end
  1950. glowz:Destroy()
  1951. glowz2:Destroy()
  1952.  
  1953. local HandCF = CFrame.new(root.Position - Vector3.new(0,3,0)) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0))
  1954. local valuer = 5
  1955. local valuer2 = 10
  1956. local valuer3 = 15
  1957. local sa2 = Instance.new("Sound",torso)
  1958. sa2.SoundId = "rbxassetid://130972023"
  1959. sa2.Pitch = 1
  1960. sa2.Volume = 5
  1961. sa2.Looped = false
  1962. sa2:Play()
  1963. local sar2 = Instance.new("Sound",torso)
  1964. sar2.SoundId = "rbxassetid://153274423"
  1965. sar2.Pitch = 1
  1966. sar2.Volume = 5
  1967. sar2.Looped = false
  1968. sar2:Play()
  1969. local wave = Instance.new("Part", torso)
  1970. wave.BrickColor = BrickColor.new("Dark indigo")
  1971. wave.Anchored = true
  1972. wave.CanCollide = false
  1973. wave.Locked = true
  1974. wave.Size = Vector3.new(1, 1, 1)
  1975. wave.TopSurface = "Smooth"
  1976. wave.BottomSurface = "Smooth"
  1977. wave.Transparency = 0.35
  1978. wave.CFrame = HandCF
  1979. wm = Instance.new("SpecialMesh", wave)
  1980. wm.MeshId = "rbxassetid://3270017"
  1981. local wave2 = Instance.new("Part", torso)
  1982. wave2.BrickColor = BrickColor.new("Really black")
  1983. wave2.Anchored = true
  1984. wave2.CanCollide = false
  1985. wave2.Locked = true
  1986. wave2.Size = Vector3.new(1, 1, 1)
  1987. wave2.TopSurface = "Smooth"
  1988. wave2.BottomSurface = "Smooth"
  1989. wave2.Transparency = 0.35
  1990. wave2.CFrame = HandCF
  1991. wm2 = Instance.new("SpecialMesh", wave2)
  1992. wm2.MeshId = "rbxassetid://3270017"
  1993. local wave3 = Instance.new("Part", torso)
  1994. wave3.BrickColor = BrickColor.new("Dark indigo")
  1995. wave3.Anchored = true
  1996. wave3.CanCollide = false
  1997. wave3.Locked = true
  1998. wave3.Size = Vector3.new(1, 1, 1)
  1999. wave3.TopSurface = "Smooth"
  2000. wave3.BottomSurface = "Smooth"
  2001. wave3.Transparency = 0.35
  2002. wave3.CFrame = HandCF
  2003. wm3 = Instance.new("SpecialMesh", wave3)
  2004. wm3.MeshId = "rbxassetid://3270017"
  2005. coroutine.wrap(function()
  2006. for i = 1, 14, 1 do
  2007. valuer = valuer - 0.35
  2008. valuer2 = valuer - 0.45
  2009. valuer3 = valuer3 - 0.475
  2010. wm.Scale = wm.Scale + Vector3.new(valuer*2.5,valuer*2.5, 1 + i*200)
  2011. wave.Size = wm.Scale
  2012. wave.CFrame = HandCF
  2013. wave.Transparency = i/14
  2014. wm2.Scale = wm2.Scale + Vector3.new(valuer2*2.5,valuer2*2.5, 0 + i*10)
  2015. wave2.Size = wm2.Scale
  2016. wave2.CFrame = HandCF
  2017. wave2.Transparency = i/14
  2018. wm3.Scale = wm3.Scale + Vector3.new(valuer3*2.5,valuer3*2.5, 1)
  2019. wave3.Size = wm2.Scale
  2020. wave3.CFrame = HandCF
  2021. wave3.Transparency = i/14
  2022. wait()
  2023. end
  2024. wait()
  2025. wave:Destroy()
  2026. wave2:Destroy()
  2027. end)()
  2028. hum.WalkSpeed = 17
  2029.  
  2030.  
  2031.  
  2032. until Charging == false
  2033. end
  2034. end
  2035. end
  2036. end)
  2037.  
  2038.  
  2039. ----------------------------------------------------
  2040. mouse.KeyUp:connect(function(key)
  2041. if key == "h" then
  2042. if Charging == true and chargewait == true then
  2043. chargewait = false
  2044. wait(1)
  2045. Charging = false
  2046.  
  2047. local runServ = game:GetService("RunService").RenderStepped
  2048.  
  2049.  
  2050. --[[for i,v in pairs (torso:GetChildren()) do
  2051. if v:IsA("Sound") then
  2052. v:Destroy()
  2053. end
  2054. end]]
  2055.  
  2056.  
  2057. --so("http://roblox.com/asset/?id=160867463",torso,1,0.7)
  2058.  
  2059. pt:Destroy()
  2060. pt2:Destroy()
  2061. bl:Destroy()
  2062. if Debounces.CanAttack == false then
  2063. Debounces.CanAttack = true
  2064. Debounces.NoIdl = false
  2065. Debounces.on = false
  2066. Debounces.grab = false
  2067.  
  2068. end
  2069. end
  2070. end
  2071. end)
  2072.  
  2073. while wait() do
  2074. healthgui.Text = "[Z]\nUniverse Bullet"
  2075. basicgui.Text = "[X]\nUniversal Strike"
  2076. basic2gui.Text = "[C]\nKarma"
  2077. basic3gui.Text = "[V]\nWarp"
  2078. basic4gui.Text = "[B]\nPlanet Destroyer"
  2079. hed.BrickColor = BrickColor.new("Bright violet")
  2080. tors.BrickColor = BrickColor.new("Really black")
  2081. rleg.BrickColor = BrickColor.new("Bright violet")
  2082. rarm.BrickColor = BrickColor.new("Bright violet")
  2083. larm.BrickColor = BrickColor.new("Bright violet")
  2084. lleg.BrickColor = BrickColor.new("Bright violet")
  2085. end
Add Comment
Please, Sign In to add comment