Advertisement
Ban43_GodOfEdits

=[;EP;

Jul 6th, 2018
258
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 56.89 KB | None | 0 0
  1. paly = game.Players.LocalPlayer
  2. p = game.Players.LocalPlayer
  3. char = paly.Character
  4. local symbolimg = "rbxassetid://301362847"
  5. Player = game:GetService("Players").LocalPlayer
  6. Character = Player.Character
  7. local mouse = paly:GetMouse()
  8. local charge = false
  9. local energy = 1000
  10. local plr = game:GetService('Players').LocalPlayer
  11. local shooting = false
  12. vt = Vector3.new
  13. torso = char.Torso
  14. neck = char.Torso.Neck
  15. hum = char.Humanoid
  16. Player = game:GetService("Players").LocalPlayer
  17. local mouse = Player:GetMouse()
  18. Character = Player.Character
  19. tors = Character.Torso
  20. lleg = Character["Left Leg"]
  21. root = Character.HumanoidRootPart
  22. hed = Character.Head
  23. rleg = Character["Right Leg"]
  24. rarm = Character["Right Arm"]
  25. larm = Character["Left Arm"]
  26. local Effects = {}
  27. attack = false
  28. local attacking = false
  29. vt = Vector3.new
  30. bc = BrickColor.new
  31. br = BrickColor.random
  32. it = Instance.new
  33. cf = CFrame.new
  34. euler = CFrame.fromEulerAnglesXYZ
  35. angles = CFrame.Angles
  36. matr = math.random
  37.  
  38.  
  39. Damagefunc=function(hit,minim,maxim,knockback,Type,Property,Delay,KnockbackType,decreaseblock)
  40. if hit.Parent==nil then
  41. return
  42. end
  43. h=hit.Parent:FindFirstChild("Humanoid")
  44. for _,v in pairs(hit.Parent:children()) do
  45. if v:IsA("Humanoid") then
  46. h=v
  47. end
  48. end
  49. if hit.Parent.Parent:FindFirstChild("Torso")~=nil then
  50. h=hit.Parent.Parent:FindFirstChild("Humanoid")
  51. end
  52. if hit.Parent.className=="Hat" then
  53. hit=hit.Parent.Parent:findFirstChild("Head")
  54. end
  55. if h~=nil and hit.Parent.Name~=Character.Name and hit.Parent:FindFirstChild("Torso")~=nil then
  56. if hit.Parent:findFirstChild("DebounceHit")~=nil then if hit.Parent.DebounceHit.Value==true then return end end
  57. --[[ if game.Players:GetPlayerFromCharacter(hit.Parent)~=nil then
  58. return
  59. end]]
  60. -- hs(hit,1.2)
  61. c=Instance.new("ObjectValue")
  62. c.Name="creator"
  63. c.Value=game:service("Players").LocalPlayer
  64. c.Parent=h
  65. game:GetService("Debris"):AddItem(c,.5)
  66. Damage=math.random(minim,maxim)
  67. -- h:TakeDamage(Damage)
  68. blocked=false
  69. block=hit.Parent:findFirstChild("Block")
  70. if block~=nil then
  71. print(block.className)
  72. if block.className=="NumberValue" then
  73. if block.Value>0 then
  74. blocked=true
  75. if decreaseblock==nil then
  76. block.Value=block.Value-1
  77. end
  78. end
  79. end
  80. if block.className=="IntValue" then
  81. if block.Value>0 then
  82. blocked=true
  83. if decreaseblock~=nil then
  84. block.Value=block.Value-1
  85. end
  86. end
  87. end
  88. end
  89. if blocked==false then
  90. -- h:TakeDamage(Damage)
  91. h.Health=h.Health-Damage
  92. showDamage(hit.Parent,Damage,.5,TorsoColor)
  93. else
  94. h.Health=h.Health-(Damage/2)
  95. showDamage(hit.Parent,Damage/2,.5,BrickColor.new("Bright blue"))
  96. end
  97. if Type=="Knockdown" then
  98. hum=hit.Parent.Humanoid
  99. hum.PlatformStand=true
  100. coroutine.resume(coroutine.create(function(HHumanoid)
  101. swait(1)
  102. HHumanoid.PlatformStand=false
  103. end),hum)
  104. local angle=(hit.Position-(Property.Position+Vector3.new(0,0,0))).unit
  105. --hit.CFrame=CFrame.new(hit.Position,Vector3.new(angle.x,hit.Position.y,angle.z))*CFrame.fromEulerAnglesXYZ(math.pi/4,0,0)
  106. local bodvol=Instance.new("BodyVelocity")
  107. bodvol.velocity=angle*knockback
  108. bodvol.P=5000
  109. bodvol.maxForce=Vector3.new(8e+003, 8e+003, 8e+003)
  110. bodvol.Parent=hit
  111. rl=Instance.new("BodyAngularVelocity")
  112. rl.P=3000
  113. rl.maxTorque=Vector3.new(500000,500000,500000)*50000000000000
  114. rl.angularvelocity=Vector3.new(math.random(-10,10),math.random(-10,10),math.random(-10,10))
  115. rl.Parent=hit
  116. game:GetService("Debris"):AddItem(bodvol,.5)
  117. game:GetService("Debris"):AddItem(rl,.5)
  118. elseif Type=="Normal" then
  119. vp=Instance.new("BodyVelocity")
  120. vp.P=500
  121. vp.maxForce=Vector3.new(math.huge,0,math.huge)
  122. -- vp.velocity=Character.Torso.CFrame.lookVector*Knockback
  123. if KnockbackType==1 then
  124. vp.velocity=Property.CFrame.lookVector*knockback+Property.Velocity/1.05
  125. elseif KnockbackType==2 then
  126. vp.velocity=Property.CFrame.lookVector*knockback
  127. end
  128. if knockback>0 then
  129. vp.Parent=hit.Parent.Torso
  130. end
  131. game:GetService("Debris"):AddItem(vp,.5)
  132. elseif Type=="Up" then
  133. local bodyVelocity=Instance.new("BodyVelocity")
  134. bodyVelocity.velocity=vt(0,10,0)
  135. bodyVelocity.P=1000
  136. bodyVelocity.maxForce=Vector3.new(1e+009, 1e+009, 1e+009)
  137. bodyVelocity.Parent=hit
  138. game:GetService("Debris"):AddItem(bodyVelocity,1)
  139. rl=Instance.new("BodyAngularVelocity")
  140. rl.P=3000
  141. rl.maxTorque=Vector3.new(500000,500000,500000)*50000000000000
  142. rl.angularvelocity=Vector3.new(math.random(-20,20),math.random(-20,20),math.random(-20,20))
  143. rl.Parent=hit
  144. game:GetService("Debris"):AddItem(rl,.5)
  145. elseif Type=="Snare" then
  146. bp=Instance.new("BodyPosition")
  147. bp.P=2000
  148. bp.D=100
  149. bp.maxForce=Vector3.new(math.huge,math.huge,math.huge)
  150. bp.position=hit.Parent.Torso.Position
  151. bp.Parent=hit.Parent.Torso
  152. game:GetService("Debris"):AddItem(bp,1)
  153. elseif Type=="Target" then
  154. if Targetting==false then
  155. ZTarget=hit.Parent.Torso
  156. coroutine.resume(coroutine.create(function(Part)
  157. swait(5)
  158. end),ZTarget)
  159. TargHum=ZTarget.Parent:findFirstChild("Humanoid")
  160. targetgui=Instance.new("BillboardGui")
  161. targetgui.Parent=ZTarget
  162. targetgui.Size=UDim2.new(10,100,10,100)
  163. targ=Instance.new("ImageLabel")
  164. targ.Parent=targetgui
  165. targ.BackgroundTransparency=1
  166. targ.Image="rbxassetid://4834067"
  167. targ.Size=UDim2.new(1,0,1,0)
  168. cam.CameraType="Scriptable"
  169. cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)
  170. dir=Vector3.new(cam.CoordinateFrame.lookVector.x,0,cam.CoordinateFrame.lookVector.z)
  171. workspace.CurrentCamera.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)
  172. Targetting=true
  173. RocketTarget=ZTarget
  174. for i=1,Property do
  175. --while Targetting==true and Humanoid.Health>0 and Character.Parent~=nil do
  176. if Humanoid.Health>0 and Character.Parent~=nil and TargHum.Health>0 and TargHum.Parent~=nil and Targetting==true then
  177. swait()
  178. end
  179. --workspace.CurrentCamera.CoordinateFrame=CFrame.new(Head.CFrame.p,Head.CFrame.p+rmdir*100)
  180. cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)
  181. dir=Vector3.new(cam.CoordinateFrame.lookVector.x,0,cam.CoordinateFrame.lookVector.z)
  182. cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)*cf(0,5,10)*euler(-0.3,0,0)
  183. end
  184. Targetting=false
  185. RocketTarget=nil
  186. targetgui.Parent=nil
  187. cam.CameraType="Custom"
  188. end
  189. end
  190. debounce=Instance.new("BoolValue")
  191. debounce.Name="DebounceHit"
  192. debounce.Parent=hit.Parent
  193. debounce.Value=true
  194. game:GetService("Debris"):AddItem(debounce,Delay)
  195. c=Instance.new("ObjectValue")
  196. c.Name="creator"
  197. c.Value=Player
  198. c.Parent=h
  199. game:GetService("Debris"):AddItem(c,.5)
  200. CRIT=false
  201. hitDeb=true
  202. AttackPos=6
  203. end
  204. end
  205. --Converted with ttyyuu12345's model to script plugin v4
  206. function sandbox(var,func)
  207. local env = getfenv(func)
  208. local newenv = setmetatable({},{
  209. __index = function(self,k)
  210. if k=="script" then
  211. return var
  212. else
  213. return env[k]
  214. end
  215. end,
  216. })
  217. setfenv(func,newenv)
  218. return func
  219. end
  220. cors = {}
  221. mas = Instance.new("Model",game:GetService("Lighting"))
  222. LocalScript0 = Instance.new("LocalScript")
  223. Sound1 = Instance.new("Sound")
  224. LocalScript2 = Instance.new("LocalScript")
  225. ParticleEmitter3 = Instance.new("ParticleEmitter")
  226. Animation4 = Instance.new("Animation")
  227. LocalScript0.Name = "Rocket Boots"
  228. LocalScript0.Parent = mas
  229. table.insert(cors,sandbox(LocalScript0,function()
  230. --Made by Luckymaxer
  231. wait(1)
  232. Player = game.Players.LocalPlayer
  233. Character = Player.Character
  234. Humanoid = Character:FindFirstChild("Humanoid")
  235. Torso = Character:FindFirstChild("Torso")
  236. Tool = script.Parent
  237.  
  238. Players = game:GetService("Players")
  239. Debris = game:GetService("Debris")
  240.  
  241.  
  242. Animations = {
  243. Pose = {Animation = script:WaitForChild("Pose"), FadeTime = nil, Weight = nil, Speed = nil}
  244. }
  245.  
  246. Flying = false
  247.  
  248. ServerControl = (script:FindFirstChild("ServerControl") or Instance.new("RemoteFunction"))
  249. ServerControl.Name = "ServerControl"
  250. ServerControl.Parent = script
  251.  
  252. ClientControl = (script:FindFirstChild("ClientControl") or Instance.new("RemoteFunction"))
  253. ClientControl.Name = "ClientControl"
  254. ClientControl.Parent = script
  255.  
  256.  
  257. function GetTotalMass(Parent)
  258. TotalMass = 0
  259. function GetMass(Parent)
  260. for i, v in pairs(Parent:GetChildren()) do
  261. if v:IsA("BasePart") then
  262. TotalMass = TotalMass + v:GetMass()
  263. end
  264. GetMass(v)
  265. end
  266. end
  267. GetMass(Parent)
  268. return TotalMass
  269. end
  270.  
  271. function CheckIfAlive()
  272. return (((Character and Character.Parent and Humanoid and Humanoid.Parent and Humanoid.Health > 0 and Torso and Torso.Parent and Player and Player.Parent) and true) or false)
  273. end
  274.  
  275.  
  276. function OnServerInvoke(player, mode, value)
  277. if player ~= Player or not CheckIfAlive() then
  278. return
  279. end
  280. if mode == "Flying" and value then
  281. local Mode = value.Flying
  282. if Mode then
  283. Flying = true
  284. else
  285. Flying = false
  286. end
  287. end
  288. end
  289.  
  290. function InvokeClient(Mode, Value)
  291. local ClientReturn = nil
  292. pcall(function()
  293. ClientReturn = ClientControl:InvokeClient(Player, Mode, Value)
  294. end)
  295. return ClientReturn
  296. end
  297.  
  298. ServerControl.OnServerInvoke = OnServerInvoke
  299. end))
  300. Sound1.Name = "Wind"
  301. Sound1.Parent = LocalScript0
  302. Sound1.Looped = true
  303. Sound1.EmitterSize = 0
  304. Sound1.MinDistance = 0
  305. Sound1.SoundId = "rbxassetid://97179333"
  306. Sound1.Volume = 4
  307. LocalScript2.Parent = LocalScript0
  308. table.insert(cors,sandbox(LocalScript2,function()
  309. --Made by Luckymaxer
  310. wait(1)
  311. function EquipWings()
  312. lboot=Instance.new('Part')
  313. lboot.Transparency=1
  314. lboot.FormFactor=Enum.FormFactor.Custom
  315. lboot.CanCollide=false
  316. lboot.Size=Vector3.new(0,0,0)
  317. lboot.CFrame=Character['Left Leg'].CFrame+Vector3.new(0,-1.2,0)
  318. f=script.Fire:Clone()
  319. f.Parent=lboot
  320. lw=Instance.new('Weld')
  321. lw.Part0=lboot
  322. lw.Part1=Character['Left Leg']
  323. lw.Parent=lboot
  324. lw.C0=lboot.CFrame:inverse()
  325. lw.C1=Character['Left Leg'].CFrame:inverse()
  326. lboot.Parent=Character
  327.  
  328. rboot=Instance.new('Part')
  329. rboot.Transparency=1
  330. rboot.FormFactor=Enum.FormFactor.Custom
  331. rboot.CanCollide=false
  332. rboot.Size=Vector3.new(0,0,0)
  333. rboot.CFrame=Character['Right Leg'].CFrame+Vector3.new(0,-1.2,0)
  334. f=script.Fire:Clone()
  335. f.Parent=rboot
  336. rw=Instance.new('Weld')
  337. rw.Part0=rboot
  338. rw.Part1=Character['Right Leg']
  339. rw.Parent=rboot
  340. rw.C0=rboot.CFrame:inverse()
  341. rw.C1=Character['Right Leg'].CFrame:inverse()
  342. rboot.Parent=Character
  343.  
  344. larm=Instance.new('Part')
  345. larm.Transparency=1
  346. larm.FormFactor=Enum.FormFactor.Custom
  347. larm.CanCollide=false
  348. larm.Size=Vector3.new(0,0,0)
  349. larm.CFrame=Character['Left Arm'].CFrame+Vector3.new(0,0,0)
  350. f=script.Fire:Clone()
  351. f.Parent=larm
  352. lw2=Instance.new('Weld')
  353. lw2.Part0=larm
  354. lw2.Part1=Character['Left Arm']
  355. lw2.Parent=larm
  356.  
  357. larm.Parent=Character
  358.  
  359. rarm=Instance.new('Part')
  360. rarm.Transparency=1
  361. rarm.FormFactor=Enum.FormFactor.Custom
  362. rarm.CanCollide=false
  363. rarm.Size=Vector3.new(0,0,0)
  364. rarm.CFrame=Character['Right Arm'].CFrame+Vector3.new(5,0,0)
  365. f=script.Fire:Clone()
  366. f.Parent=rarm
  367. rw2=Instance.new('Weld')
  368. rw2.Part0=rarm
  369. rw2.Part1=Character['Right Arm']
  370. rw2.Parent=rarm
  371.  
  372. rarm.Parent=Character
  373.  
  374.  
  375. BodyVelocity = Instance.new("BodyVelocity")
  376. BodyVelocity.P = (10 ^ 4)
  377. BodyVelocity.velocity = Vector3.new(0, 0, 0)
  378. BodyVelocity.maxForce = Vector3.new(0, 0, 0)
  379. BodyVelocity.Parent = Torso
  380. BodyGyro = Instance.new("BodyGyro")
  381. BodyGyro.P = (10 ^ 6)
  382. BodyGyro.maxTorque = Vector3.new(0, 0, 0)
  383. BodyGyro.cframe = Torso.CFrame
  384. BodyGyro.Parent = Torso
  385.  
  386. InvokeClient("DisableJump")
  387.  
  388. end
  389. Player = game.Players.LocalPlayer
  390. Character = Player.Character
  391. Humanoid = Character:FindFirstChild("Humanoid")
  392. Torso = Character:FindFirstChild("Torso")
  393.  
  394. Tool = script.Parent
  395.  
  396. Players = game:GetService("Players")
  397. Debris = game:GetService("Debris")
  398. RunService = game:GetService("RunService")
  399.  
  400. Camera = game:GetService("Workspace").CurrentCamera
  401.  
  402. Animations = {}
  403. LocalObjects = {}
  404.  
  405. Speed = {
  406. CurrentSpeed = 2,
  407. MaxSpeed = 185
  408. }
  409.  
  410. Jumping = {
  411. JumpTick = 0,
  412. Jumps = 0,
  413. JumpTime = 0.25,
  414. JumpsRequired = 2
  415. }
  416.  
  417. Controls = {
  418. Forward = {Number = 0, Numbers = {On = -1, Off = 0}, Keys = {"W", 17}},
  419. Backward = {Number = 0, Numbers = { On = 1, Off = 0}, Keys = {"S", 18}},
  420. Left = {Number = 0, Numbers = {On = -1, Off = 0}, Keys = {"A", 20}},
  421. Right = {Number = 0, Numbers = {On = 1, Off = 0}, Keys = {"D", 19}}
  422. }
  423.  
  424. UsableAnimations = {
  425. Pose = {Animation = Tool:WaitForChild("Pose"), FadeTime = nil, Weight = nil, Speed = nil},
  426. }
  427.  
  428. Sounds = {
  429. Wind = Tool:WaitForChild("Wind"),
  430. }
  431.  
  432. FlyRate = (1 / 40)
  433.  
  434. Debounce = false
  435. Flying = false
  436.  
  437. ServerControl = Tool:WaitForChild("ServerControl")
  438. ClientControl = Tool:WaitForChild("ClientControl")
  439.  
  440. function InvokeClient(Mode, Value)
  441. local ClientReturn = nil
  442. pcall(function()
  443. ClientReturn = ClientControl:InvokeClient(Player, Mode, Value)
  444. end)
  445. return ClientReturn
  446. end
  447. function SetAnimation(Mode, Value)
  448. if Mode == "PlayAnimation" and Value and Humanoid then
  449. for i, v in pairs(Animations) do
  450. if v.Animation == Value.Animation then
  451. v.AnimationTrack:Stop()
  452. table.remove(Animations, i)
  453. end
  454. end
  455. local AnimationTrack = Humanoid:LoadAnimation(Value.Animation)
  456. table.insert(Animations, {Animation = Value.Animation, AnimationTrack = AnimationTrack})
  457. AnimationTrack:Play(Value.FadeTime, Value.Weight, Value.Speed)
  458. elseif Mode == "StopAnimation" and Value then
  459. for i, v in pairs(Animations) do
  460. if v.Animation == Value.Animation then
  461. v.AnimationTrack:Stop()
  462. table.remove(Animations, i)
  463. end
  464. end
  465. end
  466. end
  467.  
  468. function DisableJump(Boolean)
  469. if PreventJump then
  470. PreventJump:disconnect()
  471. end
  472. if Boolean then
  473. PreventJump = Humanoid.Changed:connect(function(Property)
  474. if Property == "Jump" then
  475. Humanoid.Jump = false
  476. end
  477. end)
  478. end
  479. end
  480.  
  481. function Clamp(Number, Min, Max)
  482. return math.max(math.min(Max, Number), Min)
  483. end
  484.  
  485. function Fly()
  486. if Flying and Player and Torso and Humanoid and Humanoid.Health > 0 then
  487. local Momentum = Vector3.new(0, 0, 0)
  488. local LastMomentum = Vector3.new(0, 0, 0)
  489. local LastTilt = 0
  490. local LastFlap = 0
  491. local CurrentSpeed = Speed.MaxSpeed
  492. local Inertia = (1 - (Speed.CurrentSpeed / CurrentSpeed))
  493.  
  494. Momentum = (Torso.Velocity + (Torso.CFrame.lookVector * 3) + Vector3.new(0, 10, 0))
  495. Momentum = Vector3.new(Clamp(Momentum.X, -15, 15), Clamp(Momentum.Y, -15, 15), Clamp(Momentum.Z, -15, 15))
  496.  
  497. BodyVelocity.maxForce = Vector3.new(1, 1, 1) * (10 ^ 6)
  498.  
  499. BodyGyro.maxTorque = Vector3.new(BodyGyro.P, BodyGyro.P, BodyGyro.P)
  500. BodyGyro.cframe = game:GetService("Workspace").CurrentCamera.CoordinateFrame
  501.  
  502. Spawn(function()
  503. InvokeServer("Flying", {Flying = true})
  504. end)
  505.  
  506. SetAnimation("PlayAnimation", UsableAnimations.Pose)
  507.  
  508. Humanoid.AutoRotate = false
  509.  
  510. while Flying and Torso and Humanoid and Humanoid.Health > 0 do
  511.  
  512. if CurrentSpeed ~= Speed.MaxSpeed then
  513. CurrentSpeed = Speed.MaxSpeed
  514. Inertia = (1 - (Speed.CurrentSpeed / CurrentSpeed))
  515. end
  516.  
  517. local Direction = Camera.CoordinateFrame:vectorToWorldSpace(Vector3.new(Controls.Left.Number + Controls.Right.Number, math.abs(Controls.Forward.Number) * 0.2, Controls.Forward.Number + Controls.Backward.Number))
  518. local Movement = Direction * Speed.CurrentSpeed
  519.  
  520. Momentum = (Momentum * Inertia) + Movement
  521.  
  522. local TotalMomentum = Momentum.magnitude
  523.  
  524. if TotalMomentum > CurrentSpeed then
  525. TotalMomentum = CurrentSpeed
  526. end
  527.  
  528. local Tilt = ((Momentum * Vector3.new(1, 0, 1)).unit:Cross(((LastMomentum * Vector3.new(1, 0, 1)).unit))).y
  529. local StringTilt = tostring(Tilt)
  530.  
  531. if StringTilt == "-1.#IND" or StringTilt == "1.#IND" or Tilt == math.huge or Tilt == -math.huge or StringTilt == tostring(0 / 0) then
  532. Tilt = 0
  533. end
  534.  
  535. local AbsoluteTilt = math.abs(Tilt)
  536.  
  537. if AbsoluteTilt > 0.06 or AbsoluteTilt < 0.0001 then
  538. if math.abs(LastTilt) > 0.0001 then
  539. Tilt = (LastTilt * 0.9)
  540. else
  541. Tilt = 0
  542. end
  543. else
  544. Tilt = ((LastTilt * 0.77) + (Tilt * 0.25))
  545. end
  546.  
  547. LastTilt = Tilt
  548.  
  549. if TotalMomentum < 0.5 then
  550. Momentum = Vector3.new(0, 0, 0)
  551. TotalMomentum = 0
  552. BodyGyro.cframe = Camera.CoordinateFrame
  553. else
  554. BodyGyro.cframe = CFrame.new(Vector3.new(0, 0, 0), Momentum) * CFrame.Angles(0, 0, (Tilt * -20)) * CFrame.Angles((math.pi * -0.5 * (TotalMomentum / CurrentSpeed)), 0, 0)
  555. end
  556.  
  557. local GravityDelta = ((((Momentum * Vector3.new(0, 1, 0)) - Vector3.new(0, -Speed.MaxSpeed, 0)).magnitude / Speed.MaxSpeed) * 0.5)
  558. if GravityDelta > 0.45 and tick() > LastFlap then
  559. LastFlap = (tick() + 0.5)
  560. Spawn(function()
  561. if not Flying then
  562. return
  563. end
  564. if not Sounds.Wind.IsPlaying then
  565. Sounds.Wind:Play()
  566. end
  567. wait(0.25)
  568. end)
  569. elseif GravityDelta <= 0.45 then
  570. Sounds.Wind:Stop()
  571. end
  572.  
  573. BodyVelocity.velocity = Momentum
  574. LastMomentum = Momentum
  575.  
  576. wait(FlyRate)
  577.  
  578. end
  579.  
  580. Sounds.Wind:Stop()
  581.  
  582. Spawn(function()
  583. InvokeServer("Flying", {Flying = false})
  584. end)
  585.  
  586. SetAnimation("StopAnimation", UsableAnimations.Pose)
  587.  
  588. BodyVelocity.maxForce = Vector3.new(0, 0, 0)
  589. BodyGyro.maxTorque = Vector3.new(0, 0, 0)
  590.  
  591. if CheckIfAlive() then
  592. Humanoid.AutoRotate = true
  593. Humanoid:ChangeState(Enum.HumanoidStateType.Freefall)
  594. end
  595.  
  596. end
  597. end
  598.  
  599. function StopFlying()
  600. Flying = false
  601. BodyVelocity.maxForce = Vector3.new(0, 0, 0)
  602. BodyGyro.maxTorque = Vector3.new(0, 0, 0)
  603. end
  604.  
  605. function CheckIfAlive()
  606. return (((Character and Character.Parent and Humanoid and Humanoid.Parent and Humanoid.Health > 0 and Torso and Torso.Parent and Player and Player.Parent) and true) or false)
  607. end
  608.  
  609. if not CheckIfAlive() then
  610. return
  611. end
  612. PlayerMouse = Player:GetMouse()
  613. PlayerMouse.Button1Down:connect(function()
  614. InvokeServer("MouseClick", {Down = true})
  615. end)
  616. PlayerMouse.Button1Up:connect(function()
  617. InvokeServer("MouseClick", {Down = false})
  618. end)
  619. PlayerMouse.KeyDown:connect(function(Key)
  620. local Key = string.lower(Key)
  621. local ByteKey = string.byte(Key)
  622. if ByteKey == string.byte(" ") and not Debounce then
  623. if Flying then
  624. StopFlying()
  625. for i, v in pairs({BodyVelocity, BodyGyro, lboot, rboot, larm, rarm}) do
  626. if v and v.Parent then
  627. v:Destroy()
  628. end
  629. end
  630. elseif not Flying then
  631. if (tick() - Jumping.JumpTick) <= Jumping.JumpTime or Jumping.JumpTick == 0 then
  632. Jumping.JumpTick = tick()
  633. Jumping.Jumps = Jumping.Jumps + 1
  634. if Jumping.Jumps >= Jumping.JumpsRequired then
  635. Debounce = true
  636. Jumping.JumpTick = 0
  637. Jumping.Jumps = 0
  638. Flying = true
  639. Spawn(EquipWings)
  640. Spawn(Fly)
  641. Debounce = false
  642. end
  643. else
  644. Jumping.JumpTick = tick()
  645. Jumping.Jumps = 1
  646. end
  647. end
  648. end
  649. for i, v in pairs(Controls) do
  650. for ii, vv in pairs(v.Keys) do
  651. v.Number = ((((string.lower(type(vv)) == string.lower("String") and Key == string.lower(vv)) or (string.lower(type(vv)) == string.lower("Number") and ByteKey == vv)) and v.Numbers.On) or v.Number)
  652. end
  653. end
  654. end)
  655. PlayerMouse.KeyUp:connect(function(Key)
  656. local Key = string.lower(Key)
  657. local ByteKey = string.byte(Key)
  658. for i, v in pairs(Controls) do
  659. for ii, vv in pairs(v.Keys) do
  660. v.Number = ((((string.lower(type(vv)) == string.lower("String") and Key == string.lower(vv)) or (string.lower(type(vv)) == string.lower("Number") and ByteKey == vv)) and v.Numbers.Off) or v.Number)
  661. end
  662. end
  663. end)
  664. while not BodyVelocity or not BodyVelocity.Parent or not BodyGyro or not BodyGyro.Parent and CheckIfAlive() do
  665. BodyVelocity = Torso:FindFirstChild("BodyVelocity")
  666. BodyGyro = Torso:FindFirstChild("BodyGyro")
  667. RunService.Stepped:wait()
  668. end
  669.  
  670. function InvokeServer(Mode, Value)
  671. pcall(function()
  672. local ServerReturn = ServerControl:InvokeServer(Mode, Value)
  673. return ServerReturn
  674. end)
  675. end
  676.  
  677. function OnClientInvoke(Mode, Value)
  678. if Mode == "PlayAnimation" and Value and Humanoid then
  679. SetAnimation("PlayAnimation", Value)
  680. elseif Mode == "StopAnimation" and Value then
  681. SetAnimation("StopAnimation", Value)
  682. elseif Mode == "PlaySound" and Value then
  683. Value:Play()
  684. elseif Mode == "StopSound" and Value then
  685. Value:Stop()
  686. elseif Mode == "MousePosition" then
  687. return PlayerMouse.Hit.p
  688. elseif Mode == "DisableJump" then
  689. DisableJump(Value)
  690. elseif Mode == "Fly" and not Flying then
  691. Flying = true
  692. Spawn(function()
  693. Fly()
  694. end)
  695. end
  696. end
  697.  
  698. function InvokeClient(Mode, Value)
  699. local ClientReturn = nil
  700. pcall(function()
  701. ClientReturn = ClientControl:InvokeClient(Player, Mode, Value)
  702. end)
  703. return ClientReturn
  704. end
  705. ClientControl.OnClientInvoke = OnClientInvoke
  706. end))
  707. ParticleEmitter3.Name = "Fire"
  708. ParticleEmitter3.Parent = LocalScript2
  709. ParticleEmitter3.Speed = NumberRange.new(-5, -5)
  710. ParticleEmitter3.Color = ColorSequence.new(Color3.new(0.992157, 1, 0.67451),Color3.new(1, 0.658824, 0.321569))
  711. ParticleEmitter3.LightEmission = 4
  712. ParticleEmitter3.Texture = "http://www.roblox.com/asset/?id=48229939"
  713. ParticleEmitter3.Transparency = NumberSequence.new(0.44374999403954,0.89375001192093,0.91874998807907,1)
  714. ParticleEmitter3.Size = NumberSequence.new(0.60000002384186,0.60000002384186)
  715. ParticleEmitter3.Lifetime = NumberRange.new(0.30000001192093, 0.30000001192093)
  716. ParticleEmitter3.LockedToPart = true
  717. ParticleEmitter3.Rate = 45645648
  718. Animation4.Name = "Pose"
  719. Animation4.Parent = LocalScript0
  720. Animation4.AnimationId = "http://www.roblox.com/Asset?ID=97172005"
  721. for i,v in pairs(mas:GetChildren()) do
  722. v.Parent = game:GetService("Players").LocalPlayer.Character
  723. pcall(function() v:MakeJoints() end)
  724. end
  725. mas:Destroy()
  726. for i,v in pairs(cors) do
  727. spawn(function()
  728. pcall(v)
  729. end)
  730. end
  731.  
  732. showDamage=function(Char,Dealt,du,Color)
  733. m=Instance.new("Model")
  734. m.Name=""
  735. h=Instance.new("Humanoid")
  736. h.Health=0
  737. h.MaxHealth=0
  738. h.Parent=m
  739. c=Instance.new("Part")
  740. c.Transparency=0
  741. c.Material = "Neon"
  742. c.BrickColor=bc("Bright red")
  743. c.Name="Head"
  744. c.TopSurface=0
  745. c.BottomSurface=0
  746. CV="Hot pink"
  747.  
  748. local txt = Instance.new("BillboardGui", c)
  749. txt.Adornee = c
  750. txt.Name = "_status"
  751. txt.Size = UDim2.new(2, 0, 1.2, 0)
  752. txt.StudsOffset = Vector3.new(-9, 8, 0)
  753. local text = Instance.new("TextLabel", txt)
  754. text.Size = UDim2.new(10, 0, 7, 0)
  755. text.FontSize = "Size24"
  756. text.TextScaled = true
  757. text.TextTransparency = 0
  758. text.BackgroundTransparency = 1
  759. text.TextTransparency = 0
  760. text.TextStrokeTransparency = 0
  761. text.Font = "Cartoon"
  762. text.TextStrokeColor3 = BrickColor.new("Really black").Color
  763.  
  764. v=Instance.new("Part")
  765. v.Name = "ColorBrick"
  766. v.Parent=c
  767. v.FormFactor="Symmetric"
  768. v.Anchored=true
  769. v.CanCollide=false
  770. v.BottomSurface="Smooth"
  771. v.TopSurface="Smooth"
  772. v.Size=Vector3.new(10,5,3)
  773. v.Transparency=1
  774. v.CFrame=c.CFrame
  775. v.BrickColor=BrickColor.new(CV)
  776. v.Transparency=1
  777. text.TextColor3 = BrickColor.new("Bright red").Color
  778. v.Shape="Block"
  779. text.Text = tostring(Dealt).. "!"
  780. local tick = Instance.new("Sound",c)
  781. tick.SoundId = "rbxassetid://553325070"
  782. tick.Volume = 1.25
  783. tick.Pitch = 0.75
  784. tick:Play()
  785. c.formFactor="Plate"
  786. c.Transparency = 0.99
  787. c.Size=Vector3.new(1,.4,1)
  788. ms=Instance.new("CylinderMesh")
  789. ms.Scale=Vector3.new(.8,.8,.8)
  790. if CRIT==true then
  791. ms.Scale=Vector3.new(1,1.25,1)
  792. end
  793. ms.Parent=c
  794. c.Reflectance=0
  795. Instance.new("BodyGyro").Parent=c
  796. c.Parent=m
  797. if Char:findFirstChild("Head")~=nil then
  798. c.CFrame=CFrame.new(Char["Head"].CFrame.p+Vector3.new(0,1.5,0))
  799. elseif Char.Parent:findFirstChild("Head")~=nil then
  800. c.CFrame=CFrame.new(Char.Parent["Head"].CFrame.p+Vector3.new(0,1.5,0))
  801. end
  802. f=Instance.new("BodyPosition")
  803. f.P=2000
  804. f.D=100
  805. f.maxForce=Vector3.new(math.huge,math.huge,math.huge)
  806. f.position=c.Position+Vector3.new(0,3,0)
  807. f.Parent=c
  808. game:GetService("Debris"):AddItem(m,.5+du)
  809. c.CanCollide=false
  810. m.Parent=workspace
  811. c.CanCollide=false
  812. end
  813.  
  814. gui = function(GuiType, parent, text, backtrans, backcol, pos, size)
  815. local gui = it(GuiType)
  816. gui.Parent = parent
  817. gui.Text = text
  818. gui.BackgroundTransparency = backtrans
  819. gui.BackgroundColor3 = backcol
  820. gui.SizeConstraint = "RelativeXY"
  821. gui.TextXAlignment = "Center"
  822. gui.TextYAlignment = "Center"
  823. gui.Position = pos
  824. gui.Size = size
  825. gui.Font = "SourceSans"
  826. gui.FontSize = "Size14"
  827. gui.TextWrapped = false
  828. gui.TextStrokeTransparency = 0
  829. gui.TextColor = BrickColor.new("White")
  830. return gui
  831. end
  832.  
  833. local basgui = it("GuiMain")
  834. basgui.Parent = Player.PlayerGui
  835. basgui.Name = "CooldownsGUI"
  836. local basframe = it("Frame")
  837. basframe.Parent = basgui
  838. basframe.BackgroundColor3 = Color3.new(255, 255, 255)
  839. basframe.BackgroundTransparency = 1
  840. basframe.BorderColor3 = Color3.new(17, 17, 17)
  841. basframe.Size = UDim2.new(0.2, 0, 0.2, 0)
  842. basframe.Position = UDim2.new(0.8, 0, 0.8, 0)
  843. local healthgui = gui("TextLabel", basframe, "Energy: ", 1, BrickColor.random().Color, UDim2.new(0, 0, 0, 0), UDim2.new(0.5, 0, -0.5, 0))
  844. healthgui.TextSize = 24
  845. healthgui.ZIndex = 2
  846.  
  847. local tick = Instance.new("Sound",tors)
  848. tick.SoundId = "rbxassetid://313108061"
  849. tick.Volume = 2.5
  850. tick.Looped = true
  851. tick.Pitch = 0.85
  852.  
  853. local tick2 = Instance.new("Sound",tors)
  854. tick2.SoundId = "rbxassetid://272207079"
  855. tick2.Volume = 2.5
  856. tick2.Looped = true
  857. tick2.Pitch = 0.85
  858.  
  859. local orb = Instance.new("Part")
  860. orb.Parent = char
  861. orb.Size = Vector3.new(0.2, 0.2, 0.2)
  862. orb.Archivable = true
  863. orb.Transparency = 1
  864. orb.Material = "Neon"
  865. orb.CanCollide = false
  866. local weld1 = Instance.new("Weld")
  867. weld1.Parent = tors
  868. weld1.Part0 = tors
  869. weld1.Part1 = orb
  870. weld1.C1 = CFrame.new(0, 0.01, 0)
  871. local pt1 = NumberSequenceKeypoint.new(0,5,0)
  872. local pt1a = NumberSequenceKeypoint.new(0,1,0)
  873. local pt2a = NumberSequenceKeypoint.new(1,1,1)
  874. local pt2 = NumberSequenceKeypoint.new(1,0,0)
  875. local effecto = Instance.new("ParticleEmitter",orb)
  876. effecto.LightEmission = 1
  877. effecto.LockedToPart = false
  878. effecto.Texture = "rbxassetid://242109931"
  879. effecto.Color = ColorSequence.new(Color3.new(0.992157, 1, 0.67451),Color3.new(1, 0.658824, 0.321569))
  880. effecto.Rate = 0
  881. effecto.LockedToPart = false
  882. effecto.Acceleration = Vector3.new(0,25,0)
  883. effecto.Transparency = NumberSequence.new({pt1a,pt2a})
  884. effecto.Lifetime = NumberRange.new(0.75)
  885. effecto.Size = NumberSequence.new({pt1,pt2})
  886. effecto.Speed = NumberRange.new(12.5)
  887. effecto.VelocitySpread = 100000000
  888. effecto.RotSpeed = NumberRange.new(-300,300)
  889.  
  890. function Fireball()
  891. local touched = false
  892. local delay = false
  893. local spart = Instance.new("Part",char)
  894. local tick = Instance.new("Sound",char)
  895.  
  896. tick.SoundId = "rbxasset://sounds/Launching rocket.wav"
  897. tick.Volume = 1.5
  898. tick.Pitch = 1
  899. tick:Play()
  900. spart.Size = vt(2,2,2)
  901. spart.BrickColor = BrickColor.new("Deep orange")
  902. spart.Transparency = 1
  903. spart.CanCollide = false
  904. spart.Material = "Neon"
  905. spart.CFrame = hed.CFrame + Vector3.new(0,0.1,0)
  906. local msh = Instance.new("SpecialMesh",spart)
  907. msh.MeshType = "Sphere"
  908. msh.Scale = vt(3,3,3)
  909. local pt1e = NumberSequenceKeypoint.new(0,3.5,0)
  910. local pt2e = NumberSequenceKeypoint.new(1,0,0)
  911. local effecto = Instance.new("ParticleEmitter",spart)
  912. effecto.Texture = "rbxassetid://242109931"
  913. effecto.LightEmission = 1
  914. effecto.LockedToPart = false
  915. effecto.Color = ColorSequence.new(Color3.new(1, 0.913726, 0.466667),Color3.new(1, 0.913726, 0.466667))effecto.Rate = 765789054219129546866688
  916. effecto.Lifetime = NumberRange.new(0.5)
  917. effecto.Size = NumberSequence.new({pt1e,pt2e})
  918. effecto.Transparency = NumberSequence.new(0,1,0)
  919. effecto.Speed = NumberRange.new(0,0)
  920. effecto.RotSpeed = NumberRange.new(0,0)
  921. local bv = Instance.new("BodyVelocity")
  922. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  923. bv.velocity = mouse.Hit.lookVector * 150
  924. bv.Parent = spart
  925. wait(0.05)
  926. spart.Touched:connect(function(hit)
  927. if touched == false then
  928. touched = true
  929. if hit.Name == "Water" then
  930. local pt1er = NumberSequenceKeypoint.new(0,5,0)
  931. local pt2er = NumberSequenceKeypoint.new(1,0,0)
  932. local smokecolor = Color3.new(0.5,0.5,0.5)
  933. local tick = Instance.new("Sound",spart)
  934. tick.SoundId = "rbxassetid://629468689"
  935. tick.Volume = 1.5
  936. tick.Pitch = 1
  937. tick:Play()
  938. effecto.Rate = 0
  939. local effectoz = Instance.new("ParticleEmitter",spart)
  940. effectoz.Texture = "rbxassetid://59720383"
  941. effectoz.LightEmission = 0.75
  942. effectoz.Color = ColorSequence.new(smokecolor)
  943. effectoz.Lifetime = NumberRange.new(3)
  944. effectoz.Transparency = NumberSequence.new({pt1a,pt2a})
  945. effectoz.Size = NumberSequence.new({pt1er,pt2er})
  946. effectoz.Rotation = NumberRange.new(-300,300)
  947. effectoz.RotSpeed = NumberRange.new(-500,500)
  948. effectoz.Speed = NumberRange.new(10)
  949. effectoz.VelocitySpread = 25
  950. effectoz.Rate = 1000000000000
  951. spart.Anchored = true
  952. wait(1)
  953. effectoz.Rate = 0
  954. wait(2.5)
  955. spart:Destroy()
  956. end
  957. if hit.Name ~= "Water" then
  958. local saveposition = spart.CFrame
  959. spart.Anchored = true
  960. local tick = Instance.new("Sound",spart)
  961. tick.SoundId = "rbxassetid://304529688"
  962. tick.Volume = 1.5
  963. tick.Pitch = 1.25
  964. tick:Play()
  965. effecto:Destroy()
  966. local pt1er = NumberSequenceKeypoint.new(0,10,0)
  967. local pt2er = NumberSequenceKeypoint.new(1,0,0)
  968. local effectoz = Instance.new("ParticleEmitter",spart)
  969. effectoz.Texture = "rbxassetid://242109931"
  970. effectoz.LightEmission = 1
  971. effectoz.LockedToPart = false
  972. effectoz.Color = ColorSequence.new(Color3.new(0.992157, 1, 0.67451),Color3.new(1, 0.658824, 0.321569))
  973. effectoz.Lifetime = NumberRange.new(0.5)
  974. effectoz.Size = NumberSequence.new({pt1er,pt2er})
  975. effectoz.Speed = NumberRange.new(0,0)
  976. effectoz.Rotation = NumberRange.new(-300,300)
  977. effectoz.RotSpeed = NumberRange.new(-500,500)
  978. effectoz.Speed = NumberRange.new(75)
  979. effectoz.VelocitySpread = 10000000
  980. effectoz.Rate = 1000000000000
  981. spart.Size = vt(1,1,1)
  982. spart.Transparency = 1
  983. spart.CFrame = saveposition
  984. Damagefunc(hit,300,550,-20,"Normal",root,.2,1)
  985. wait(0.5)
  986. effectoz.Rate = 0
  987. for i = 0, 10 do
  988. spart.Size = spart.Size + vt(0.5,0.5,0.5)
  989. spart.CFrame = saveposition
  990. wait()
  991. end
  992. spart:Destroy()
  993. end
  994. end
  995. end)
  996. end
  997.  
  998. function Rockets()
  999. local touched = false
  1000. local delay = false
  1001. local spart = Instance.new("Part",char)
  1002. local tick = Instance.new("Sound",char)
  1003.  
  1004. tick.SoundId = "rbxasset://sounds/Launching rocket.wav"
  1005. tick.Volume = 1.5
  1006. tick.Pitch = 1
  1007. tick:Play()
  1008. spart.Size = vt(2,2,2)
  1009. spart.BrickColor = BrickColor.new("Deep orange")
  1010. spart.Transparency = 1
  1011. spart.CanCollide = false
  1012. spart.Material = "Neon"
  1013. spart.CFrame = hed.CFrame + Vector3.new(0,0.1,0)
  1014.  
  1015. local msh = Instance.new("SpecialMesh",spart)
  1016. msh.MeshType = "Sphere"
  1017. msh.Scale = vt(3,3,3)
  1018. local pt1e = NumberSequenceKeypoint.new(0,3.5,0)
  1019. local pt2e = NumberSequenceKeypoint.new(1,0,0)
  1020. local effecto = Instance.new("ParticleEmitter",spart)
  1021. effecto.Texture = "rbxassetid://242109931"
  1022. effecto.LightEmission = 1
  1023. effecto.LockedToPart = false
  1024. effecto.Color = ColorSequence.new(Color3.new(1, 0.913726, 0.466667),Color3.new(1, 0.913726, 0.466667))effecto.Rate = 765789054219129546866688
  1025. effecto.Lifetime = NumberRange.new(0.5)
  1026. effecto.Size = NumberSequence.new({pt1e,pt2e})
  1027. effecto.Transparency = NumberSequence.new(0,1,0)
  1028. effecto.Speed = NumberRange.new(0,0)
  1029. effecto.RotSpeed = NumberRange.new(0,0)
  1030. local bv = Instance.new("BodyVelocity")
  1031. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  1032. bv.velocity = mouse.Hit.lookVector * 150
  1033. bv.Parent = spart
  1034. wait(0.05)
  1035. spart.Touched:connect(function(hit)
  1036. if touched == false then
  1037. touched = true
  1038. if hit.Name == "Water" then
  1039. local pt1er = NumberSequenceKeypoint.new(0,5,0)
  1040. local pt2er = NumberSequenceKeypoint.new(1,0,0)
  1041. local smokecolor = Color3.new(0.5,0.5,0.5)
  1042. local tick = Instance.new("Sound",spart)
  1043. tick.SoundId = "rbxassetid://629468689"
  1044. tick.Volume = 1.5
  1045. tick.Pitch = 1
  1046. tick:Play()
  1047. effecto.Rate = 0
  1048. onTouched(hit)
  1049. explosion = Instance.new("Explosion")
  1050. explosion.BlastRadius = 12
  1051. explosion.BlastPressure = 1
  1052. explosion.Position = script.Parent.Position
  1053. explosion.Parent = game.Workspace
  1054.  
  1055. local effectoz = Instance.new("ParticleEmitter",spart)
  1056. effectoz.Texture = "rbxassetid://59720383"
  1057. effectoz.LightEmission = 0.75
  1058. effectoz.Color = ColorSequence.new(smokecolor)
  1059. effectoz.Lifetime = NumberRange.new(3)
  1060. effectoz.Transparency = NumberSequence.new({pt1a,pt2a})
  1061. effectoz.Size = NumberSequence.new({pt1er,pt2er})
  1062. effectoz.Rotation = NumberRange.new(-300,300)
  1063. effectoz.RotSpeed = NumberRange.new(-500,500)
  1064. effectoz.Speed = NumberRange.new(10)
  1065. effectoz.VelocitySpread = 25
  1066. effectoz.Rate = 1000000000000
  1067. spart.Anchored = true
  1068. wait(1)
  1069. effectoz.Rate = 0
  1070. wait(2.5)
  1071. spart:Destroy()
  1072. end
  1073. if hit.Name ~= "Water" then
  1074. local saveposition = spart.CFrame
  1075. spart.Anchored = true
  1076. local tick = Instance.new("Sound",spart)
  1077. tick.SoundId = "rbxassetid://304529688"
  1078. tick.Volume = 1.5
  1079. tick.Pitch = 1.25
  1080. tick:Play()
  1081. effecto:Destroy()
  1082. local pt1er = NumberSequenceKeypoint.new(0,10,0)
  1083. local pt2er = NumberSequenceKeypoint.new(1,0,0)
  1084. local effectoz = Instance.new("ParticleEmitter",spart)
  1085. effectoz.Texture = "rbxassetid://242109931"
  1086. effectoz.LightEmission = 1
  1087. effectoz.LockedToPart = false
  1088. effectoz.Color = ColorSequence.new(Color3.new(0.992157, 1, 0.67451),Color3.new(1, 0.658824, 0.321569))
  1089. effectoz.Lifetime = NumberRange.new(0.5)
  1090. effectoz.Size = NumberSequence.new({pt1er,pt2er})
  1091. effectoz.Speed = NumberRange.new(0,0)
  1092. effectoz.Rotation = NumberRange.new(-300,300)
  1093. effectoz.RotSpeed = NumberRange.new(-500,500)
  1094. effectoz.Speed = NumberRange.new(75)
  1095. effectoz.VelocitySpread = 10000000
  1096. effectoz.Rate = 1000000000000
  1097. spart.Size = vt(1,1,1)
  1098. spart.Transparency = 1
  1099. spart.CFrame = saveposition
  1100. Damagefunc(hit,300,550,-20,"Normal",root,.2,1)
  1101. wait(0.5)
  1102. effectoz.Rate = 0
  1103. for i = 0, 10 do
  1104. spart.Size = spart.Size + vt(0.5,0.5,0.5)
  1105. spart.CFrame = saveposition
  1106. wait()
  1107. end
  1108. spart:Destroy()
  1109. end
  1110. end
  1111. end)
  1112. end
  1113.  
  1114. function Firestorm()
  1115. local shur = Instance.new("Part",char)
  1116. local gahd = Instance.new("Sound",char)
  1117. char.Humanoid.WalkSpeed = 0
  1118. gahd.SoundId = "rbxassetid://313945165"
  1119. gahd.Volume = 4.5
  1120. gahd.Pitch = 0.595
  1121. gahd:Play()
  1122. shur.Transparency = 1
  1123. shur.Material = "Neon"
  1124. shur.BrickColor = bc("Bright red")
  1125. shur.Anchored = true
  1126. shur.CFrame = tors.CFrame + vt(0,-2.5,0)
  1127. shur.Size = vt(1,0.2,1)
  1128. shur.CanCollide = false
  1129. local dec = Instance.new("Decal",shur)
  1130. dec.Texture = symbolimg
  1131. dec.Face = "Top"
  1132. local dec2 = dec:Clone()
  1133. dec2.Parent = shur
  1134. dec2.Face = "Bottom"
  1135. local Meshshur = Instance.new("CylinderMesh",shur)
  1136. Meshshur.Scale = vt(0,1,0)
  1137. for i = 0, 25 do
  1138. shur.CFrame = tors.CFrame + vt(0,-2.95,0)
  1139. Meshshur.Scale = Meshshur.Scale + vt(2.5,0,2.5)
  1140. wait(0)
  1141. end
  1142. for i = 0, 10 do
  1143. larm.Transparency = larm.Transparency + 0.1
  1144. rarm.Transparency = rarm.Transparency + 0.1
  1145. lleg.Transparency = lleg.Transparency + 0.1
  1146. rleg.Transparency = rleg.Transparency + 0.1
  1147. tors.Transparency = tors.Transparency + 0.1
  1148. hed.Transparency = hed.Transparency + 0.1
  1149. wait()
  1150. end
  1151. local pt1mass = NumberSequenceKeypoint.new(0,15,0)
  1152. local effecton = Instance.new("ParticleEmitter",root)
  1153. effecton.LightEmission = 1
  1154. effecton.LockedToPart = false
  1155. effecton.Texture = "rbxassetid://242109931"
  1156. effecton.Color = ColorSequence.new(Color3.new(0.992157, 1, 0.67451),Color3.new(1, 0.658824, 0.321569))
  1157. effecton.Rate = 1000
  1158. effecton.Lifetime = NumberRange.new(0.75)
  1159. effecton.Size = NumberSequence.new({pt1mass,pt2})
  1160. effecton.Speed = NumberRange.new(5)
  1161. effecton.VelocitySpread = 100000000
  1162. effecton.RotSpeed = NumberRange.new(-300,300)
  1163. local ash = Instance.new("Sound",root)
  1164. ash.SoundId = "rbxassetid://181004943"
  1165. ash.Volume = 4
  1166. ash.Pitch = 0.25
  1167. ash:Play()
  1168. local sbs = Instance.new("BodyPosition", root)
  1169. sbs.P = 3000
  1170. sbs.D = 1000
  1171. sbs.maxForce = Vector3.new(500000, 500000000, 500000)
  1172. sbs.position = root.CFrame.p + Vector3.new(0, 175, 0)
  1173. wait(2.5)
  1174. for i = 0, 25 do
  1175. local touched = false
  1176. local delay = false
  1177. local spart = Instance.new("Part",char)
  1178. local tick = Instance.new("Sound",spart)
  1179. tick.SoundId = "rbxassetid://304448425"
  1180. tick.Volume = 1.5
  1181. tick.Pitch = 0.85
  1182. tick:Play()
  1183. spart.Size = vt(2,2,2)
  1184. spart.BrickColor = BrickColor.new("Deep orange")
  1185. spart.Transparency = 1
  1186. spart.CanCollide = false
  1187. spart.Material = "Neon"
  1188. spart.CFrame = hed.CFrame + Vector3.new(0,0.1,0)
  1189. local pt1e = NumberSequenceKeypoint.new(0,15,0)
  1190. local pt2e = NumberSequenceKeypoint.new(1,0,0)
  1191. local effecto = Instance.new("ParticleEmitter",spart)
  1192. effecto.Texture = "rbxassetid://242109931"
  1193. effecto.LightEmission = 1
  1194. effecto.Color = ColorSequence.new(ColorSequence.new(Color3.new(0.992157, 1, 0.67451),Color3.new(1, 0.658824, 0.321569)))
  1195. effecto.Rate = 10000
  1196. effecto.Lifetime = NumberRange.new(0.5)
  1197. effecto.Size = NumberSequence.new({pt1e,pt2e})
  1198. effecto.Transparency = NumberSequence.new({pt1a,pt2a})
  1199. effecto.Speed = NumberRange.new(0,0)
  1200. effecto.RotSpeed = NumberRange.new(-500,500)
  1201. local bv = Instance.new("BodyVelocity")
  1202. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  1203. bv.velocity = mouse.Hit.lookVector * 150
  1204. bv.Parent = spart
  1205. wait(0.05)
  1206. spart.Touched:connect(function(hit)
  1207. if touched == false then
  1208. touched = true
  1209. if hit.Name == "Water" then
  1210. local pt1er = NumberSequenceKeypoint.new(0,15,0)
  1211. local pt2er = NumberSequenceKeypoint.new(1,0,0)
  1212. local smokecolor = Color3.new(0.5,0.5,0.5)
  1213. local tick = Instance.new("Sound",spart)
  1214. tick.SoundId = "rbxassetid://629468689"
  1215. tick.Volume = 1.5
  1216. tick.Pitch = 1
  1217. tick:Play()
  1218. effecto.Rate = 0
  1219. local effectoz = Instance.new("ParticleEmitter",spart)
  1220. effectoz.Texture = "rbxassetid://242109931"
  1221. effectoz.LightEmission = 0.75
  1222. effectoz.Color = ColorSequence.new(smokecolor)
  1223. effectoz.Lifetime = NumberRange.new(3)
  1224. effectoz.Transparency = NumberSequence.new({pt1a,pt2a})
  1225. effectoz.Size = NumberSequence.new({pt1er,pt2er})
  1226. effectoz.Rotation = NumberRange.new(-300,300)
  1227. effectoz.RotSpeed = NumberRange.new(-500,500)
  1228. effectoz.Speed = NumberRange.new(10)
  1229. effectoz.VelocitySpread = 75
  1230. effectoz.Rate = 1000000000000
  1231. spart.Anchored = true
  1232. wait(3)
  1233. effectoz.Rate = 0
  1234. wait(2.5)
  1235. spart:Destroy()
  1236. end
  1237. if hit.Name ~= "Water" then
  1238. local saveposition = spart.CFrame
  1239. spart.Anchored = true
  1240. local tick = Instance.new("Sound",spart)
  1241. tick.SoundId = "rbxassetid://304529688"
  1242. tick.Volume = 1.5
  1243. tick.Pitch = 0.85
  1244. tick:Play()
  1245. local tickn = Instance.new("Sound",spart)
  1246. tickn.SoundId = "rbxassetid://138186576"
  1247. tickn.Volume = 1.5
  1248. tickn.Pitch = 1
  1249. tickn:Play()
  1250. local tick2e = Instance.new("Sound",spart)
  1251. tick2e.SoundId = "rbxassetid://272207079"
  1252. tick2e.Volume = 2.5
  1253. tick2e.Looped = true
  1254. tick2e.Pitch = 0.85
  1255. tick2e:Play()
  1256. effecto:Destroy()
  1257. local pt1er = NumberSequenceKeypoint.new(0,15,0)
  1258. local pt1er2 = NumberSequenceKeypoint.new(0,25,0)
  1259. local pt2er = NumberSequenceKeypoint.new(1,0,0)
  1260. local effectoz = Instance.new("ParticleEmitter",spart)
  1261. effectoz.Texture = "rbxassetid://242109931"
  1262. effectoz.LightEmission = 1
  1263. effectoz.Color = ColorSequence.new(ColorSequence.new(Color3.new(0.992157, 1, 0.67451),Color3.new(1, 0.658824, 0.321569)))
  1264. effectoz.Lifetime = NumberRange.new(2.5)
  1265. effectoz.Size = NumberSequence.new({pt1er,pt2er})
  1266. effectoz.Speed = NumberRange.new(0,0)
  1267. effectoz.Rotation = NumberRange.new(-300,300)
  1268. effectoz.Transparency = NumberSequence.new({pt1a,pt2a})
  1269. effectoz.RotSpeed = NumberRange.new(-500,500)
  1270. effectoz.Speed = NumberRange.new(10)
  1271. effectoz.VelocitySpread = 10000000
  1272. effectoz.Rate = 1000000000000
  1273. local effectoz2 = Instance.new("ParticleEmitter",spart)
  1274. effectoz2.Texture = "rbxassetid://242109931"
  1275. effectoz2.LightEmission = 1
  1276. effectoz2.Color = ColorSequence.new(ColorSequence.new(Color3.new(0.992157, 1, 0.67451),Color3.new(1, 0.658824, 0.321569)))
  1277. effectoz2.Lifetime = NumberRange.new(0.5)
  1278. effectoz2.Size = NumberSequence.new({pt1er2,pt2er})
  1279. effectoz2.Speed = NumberRange.new(0,0)
  1280. effectoz2.Rotation = NumberRange.new(-300,300)
  1281. effectoz2.RotSpeed = NumberRange.new(-500,500)
  1282. effectoz2.Speed = NumberRange.new(250)
  1283. effectoz2.VelocitySpread = 10000000
  1284. effectoz2.Rate = 1000000000000
  1285. spart.Size = vt(25,25,25)
  1286. spart.Transparency = 1
  1287. spart.CFrame = saveposition
  1288. wait(0.5)
  1289. Damagefunc(hit,50,60,-20,"Normal",root,.2,1)
  1290. effectoz2.Rate = 0
  1291. wait(5)
  1292. effectoz.Rate = 0
  1293. tick2e:Stop()
  1294. wait(2.5)
  1295. spart:Destroy()
  1296. end
  1297. end
  1298. end)
  1299. wait(0.215)
  1300. end
  1301. wait(1)
  1302. effecton.Rate = 0
  1303. for i = 0, 10 do
  1304. larm.Transparency = larm.Transparency - 0.1
  1305. rarm.Transparency = rarm.Transparency - 0.1
  1306. lleg.Transparency = lleg.Transparency - 0.1
  1307. rleg.Transparency = rleg.Transparency - 0.1
  1308. tors.Transparency = tors.Transparency - 0.1
  1309. hed.Transparency = hed.Transparency - 0.1
  1310. wait()
  1311. end
  1312. sbs:Destroy()
  1313. char.Humanoid.WalkSpeed = 16
  1314. for i = 0, 25 do
  1315. shur.CFrame = tors.CFrame + vt(0,-2.95,0)
  1316. Meshshur.Scale = Meshshur.Scale - vt(2.5,0,2.5)
  1317. wait(0)
  1318. end
  1319. effecton:Destroy()
  1320. shur:Destroy()
  1321. end
  1322.  
  1323.  
  1324. function SplashFire()
  1325. local shur = Instance.new("Part",char)
  1326. local gahd = Instance.new("Sound",char)
  1327. char.Humanoid.WalkSpeed = 0
  1328. gahd.SoundId = "rbxassetid://313945165"
  1329. gahd.Volume = 2.5
  1330. gahd.Pitch = 0.625
  1331. gahd:Play()
  1332. shur.Transparency = 1
  1333. shur.Material = "Neon"
  1334. shur.BrickColor = bc("Bright red")
  1335. shur.Anchored = true
  1336. shur.CFrame = tors.CFrame + vt(0,-2.5,0)
  1337. shur.Size = vt(1,0.2,1)
  1338. shur.CanCollide = false
  1339. local dec = Instance.new("Decal",shur)
  1340. dec.Texture = symbolimg
  1341. dec.Face = "Top"
  1342. local dec2 = dec:Clone()
  1343. dec2.Parent = shur
  1344. dec2.Face = "Bottom"
  1345. local Meshshur = Instance.new("CylinderMesh",shur)
  1346. Meshshur.Scale = vt(0,1,0)
  1347. for i = 0, 25 do
  1348. shur.CFrame = tors.CFrame + vt(0,-2.95,0)
  1349. Meshshur.Scale = Meshshur.Scale + vt(1,0,1)
  1350. wait(0)
  1351. end
  1352. for i = 0, 10 do
  1353. larm.Transparency = larm.Transparency + 0.1
  1354. rarm.Transparency = rarm.Transparency + 0.1
  1355. lleg.Transparency = lleg.Transparency + 0.1
  1356. rleg.Transparency = rleg.Transparency + 0.1
  1357. tors.Transparency = tors.Transparency + 0.1
  1358. hed.Transparency = hed.Transparency + 0.1
  1359. wait()
  1360. end
  1361. local pt1mass = NumberSequenceKeypoint.new(0,15,0)
  1362. local effecton = Instance.new("ParticleEmitter",root)
  1363. effecton.LightEmission = 1
  1364. effecton.Texture = "rbxassetid://242109931"
  1365. effecton.Color = ColorSequence.new(ColorSequence.new(Color3.new(0.992157, 1, 0.67451),Color3.new(1, 0.658824, 0.321569)))
  1366. effecton.Rate = 1000
  1367. effecton.Lifetime = NumberRange.new(0.75)
  1368. effecton.Size = NumberSequence.new({pt1mass,pt2})
  1369. effecton.Speed = NumberRange.new(5)
  1370. effecton.VelocitySpread = 100000000
  1371. effecton.RotSpeed = NumberRange.new(-300,300)
  1372. local ash = Instance.new("Sound",root)
  1373. ash.SoundId = "rbxassetid://181004943"
  1374. ash.Volume = 4
  1375. ash.Pitch = 0.5
  1376. ash:Play()
  1377. local sbs = Instance.new("BodyPosition", root)
  1378. sbs.P = 3000
  1379. sbs.D = 1000
  1380. sbs.maxForce = Vector3.new(500000, 500000000, 500000)
  1381. sbs.position = root.CFrame.p + Vector3.new(0, 200, 0)
  1382. wait(1)
  1383. sbs.position = root.CFrame.p - Vector3.new(0, 500, 0)
  1384. wait(0.1)
  1385. sbs:Destroy()
  1386. wait(0.15)
  1387. effecton.Rate = 0
  1388. local spart = Instance.new("Part",char)
  1389. spart.Size = vt(2,2,2)
  1390. spart.BrickColor = BrickColor.new("Deep orange")
  1391. spart.Transparency = 1
  1392. spart.CanCollide = false
  1393. spart.Material = "Neon"
  1394. spart.Anchored = true
  1395. spart.CFrame = root.CFrame + Vector3.new(0,0.1,0)
  1396. local tick = Instance.new("Sound",spart)
  1397. tick.SoundId = "rbxassetid://304529688"
  1398. tick.Volume = 1.5
  1399. tick.Pitch = 0.85
  1400. tick:Play()
  1401. local tickn = Instance.new("Sound",spart)
  1402. tickn.SoundId = "rbxassetid://138186576"
  1403. tickn.Volume = 1.5
  1404. tickn.Pitch = 1
  1405. tickn:Play()
  1406. local tick2e = Instance.new("Sound",spart)
  1407. tick2e.SoundId = "rbxassetid://272207079"
  1408. tick2e.Volume = 2.5
  1409. tick2e.Looped = true
  1410. tick2e.Pitch = 0.85
  1411. tick2e:Play()
  1412. local pt1er = NumberSequenceKeypoint.new(0,10,0)
  1413. local pt1er2 = NumberSequenceKeypoint.new(0,20,0)
  1414. local pt2er = NumberSequenceKeypoint.new(1,0,0)
  1415. local effectoz = Instance.new("ParticleEmitter",spart)
  1416. effectoz.Texture = "rbxassetid://242109931"
  1417. effectoz.LightEmission = 1
  1418. effectoz.Color = ColorSequence.new(ColorSequence.new(Color3.new(0.992157, 1, 0.67451),Color3.new(1, 0.658824, 0.321569)))
  1419. effectoz.Lifetime = NumberRange.new(2.5)
  1420. effectoz.Size = NumberSequence.new({pt1er,pt2er})
  1421. effectoz.Speed = NumberRange.new(0,0)
  1422. effectoz.Rotation = NumberRange.new(-300,300)
  1423. effectoz.Transparency = NumberSequence.new({pt1a,pt2a})
  1424. effectoz.RotSpeed = NumberRange.new(-500,500)
  1425. effectoz.Speed = NumberRange.new(5)
  1426. effectoz.VelocitySpread = 10000000
  1427. effectoz.Rate = 1000000000000
  1428. local effectoz2 = Instance.new("ParticleEmitter",spart)
  1429. effectoz2.Texture = "rbxassetid://242109931"
  1430. effectoz2.LightEmission = 1
  1431. effectoz2.Color = ColorSequence.new(ColorSequence.new(Color3.new(0.992157, 1, 0.67451),Color3.new(1, 0.658824, 0.321569)))
  1432. effectoz2.Lifetime = NumberRange.new(0.5)
  1433. effectoz2.Size = NumberSequence.new({pt1er2,pt2er})
  1434. effectoz2.Speed = NumberRange.new(0,0)
  1435. effectoz2.Rotation = NumberRange.new(-300,300)
  1436. effectoz2.RotSpeed = NumberRange.new(-500,500)
  1437. effectoz2.Speed = NumberRange.new(100)
  1438. effectoz2.VelocitySpread = 10000000
  1439. effectoz2.Rate = 1000000000000
  1440. spart.Size = vt(35,5,35)
  1441. spart.Transparency = 1
  1442. spart.CFrame = root.CFrame
  1443. wait(0.5)
  1444. spart.Touched:connect(function(hit)
  1445. Damagefunc(hit,25,30,-20,"Normal",root,.2,1)
  1446. end)
  1447. ash:Destroy()
  1448. effectoz2.Rate = 0
  1449. wait(5)
  1450. effecton:Destroy()
  1451. effectoz.Rate = 0
  1452. tick2e:Stop()
  1453. wait(2.5)
  1454. spart:Destroy()
  1455. wait(1)
  1456. for i = 0, 10 do
  1457. larm.Transparency = larm.Transparency - 0.1
  1458. rarm.Transparency = rarm.Transparency - 0.1
  1459. lleg.Transparency = lleg.Transparency - 0.1
  1460. rleg.Transparency = rleg.Transparency - 0.1
  1461. tors.Transparency = tors.Transparency - 0.1
  1462. hed.Transparency = hed.Transparency - 0.1
  1463. wait()
  1464. end
  1465. sbs:Destroy()
  1466. char.Humanoid.WalkSpeed = 16
  1467. for i = 0, 25 do
  1468. shur.CFrame = tors.CFrame + vt(0,-2.95,0)
  1469. Meshshur.Scale = Meshshur.Scale - vt(1,0,1)
  1470. wait(0)
  1471. end
  1472. shur:Destroy()
  1473. end
  1474.  
  1475. function MassiveFireBall()
  1476. local shur = Instance.new("Part",char)
  1477. local gahd = Instance.new("Sound",char)
  1478. char.Humanoid.WalkSpeed = 0
  1479. gahd.SoundId = "rbxassetid://313945165"
  1480. gahd.Volume = 2.5
  1481. gahd.Pitch = 0.6
  1482. gahd:Play()
  1483. shur.Transparency = 1
  1484. shur.Material = "Neon"
  1485. shur.BrickColor = bc("Bright red")
  1486. shur.Anchored = true
  1487. shur.CFrame = tors.CFrame + vt(0,-2.5,0)
  1488. shur.Size = vt(1,0.2,1)
  1489. shur.CanCollide = false
  1490. local dec = Instance.new("Decal",shur)
  1491. dec.Texture = symbolimg
  1492. dec.Face = "Top"
  1493. local dec2 = dec:Clone()
  1494. dec2.Parent = shur
  1495. dec2.Face = "Bottom"
  1496. local Meshshur = Instance.new("CylinderMesh",shur)
  1497. Meshshur.Scale = vt(0,1,0)
  1498. for i = 0, 25 do
  1499. shur.CFrame = tors.CFrame + vt(0,-2.95,0)
  1500. Meshshur.Scale = Meshshur.Scale + vt(1.25,0,1.25)
  1501. wait(0)
  1502. end
  1503. local touched = false
  1504. local delay = false
  1505. local spart = Instance.new("Part",char)
  1506. local tick = Instance.new("Sound",spart)
  1507. tick.SoundId = "rbxassetid://304448425"
  1508. tick.Volume = 1.5
  1509. tick.Pitch = 0.85
  1510. tick:Play()
  1511. spart.Size = vt(2,2,2)
  1512. spart.BrickColor = BrickColor.new("Deep orange")
  1513. spart.Transparency = 1
  1514. spart.CanCollide = false
  1515. spart.Material = "Neon"
  1516. spart.CFrame = hed.CFrame + Vector3.new(0,0.1,0)
  1517. local pt1e = NumberSequenceKeypoint.new(0,15,0)
  1518. local pt2e = NumberSequenceKeypoint.new(1,0,0)
  1519. local effecto = Instance.new("ParticleEmitter",spart)
  1520. effecto.Texture = "rbxassetid://242109931"
  1521. effecto.LightEmission = 1
  1522. effecto.LockedToPart = false
  1523. effecto.Color = ColorSequence.new(Color3.new(0.992157, 1, 0.67451),Color3.new(1, 0.658824, 0.321569))
  1524. effecto.Rate = 10000
  1525. effecto.Lifetime = NumberRange.new(0.5)
  1526. effecto.Size = NumberSequence.new({pt1e,pt2e})
  1527. effecto.Transparency = NumberSequence.new({pt1a,pt2a})
  1528. effecto.Speed = NumberRange.new(0,0)
  1529. effecto.RotSpeed = NumberRange.new(-500,500)
  1530. local bv = Instance.new("BodyVelocity")
  1531. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  1532. bv.velocity = mouse.Hit.lookVector * 150
  1533. bv.Parent = spart
  1534. wait(0.05)
  1535. spart.Touched:connect(function(hit)
  1536. if touched == false then
  1537. touched = true
  1538. if hit.Name == "Water" then
  1539. local pt1er = NumberSequenceKeypoint.new(0,15,0)
  1540. local pt2er = NumberSequenceKeypoint.new(1,0,0)
  1541. local smokecolor = Color3.new(0.5,0.5,0.5)
  1542. local tick = Instance.new("Sound",spart)
  1543. tick.SoundId = "rbxassetid://629468689"
  1544. tick.Volume = 1.5
  1545. tick.Pitch = 1
  1546. tick:Play()
  1547. effecto.Rate = 0
  1548. local effectoz = Instance.new("ParticleEmitter",spart)
  1549. effectoz.Texture = "rbxassetid://242109931"
  1550. effectoz.LightEmission = 0.75
  1551. effectoz.Color = ColorSequence.new(smokecolor)
  1552. effectoz.Lifetime = NumberRange.new(3)
  1553. effectoz.Transparency = NumberSequence.new({pt1a,pt2a})
  1554. effectoz.Size = NumberSequence.new({pt1er,pt2er})
  1555. effectoz.Rotation = NumberRange.new(-300,300)
  1556. effectoz.RotSpeed = NumberRange.new(-500,500)
  1557. effectoz.Speed = NumberRange.new(10)
  1558. effectoz.VelocitySpread = 75
  1559. effectoz.Rate = 1000000000000
  1560. spart.Anchored = true
  1561. wait(3)
  1562. effectoz.Rate = 0
  1563. wait(2.5)
  1564. spart:Destroy()
  1565. end
  1566. if hit.Name ~= "Water" then
  1567. local saveposition = spart.CFrame
  1568. spart.Anchored = true
  1569. local tick = Instance.new("Sound",spart)
  1570. tick.SoundId = "rbxassetid://304529688"
  1571. tick.Volume = 1.5
  1572. tick.Pitch = 0.85
  1573. tick:Play()
  1574. local tickn = Instance.new("Sound",spart)
  1575. tickn.SoundId = "rbxassetid://138186576"
  1576. tickn.Volume = 1.5
  1577. tickn.Pitch = 1
  1578. tickn:Play()
  1579. local tick2e = Instance.new("Sound",spart)
  1580. tick2e.SoundId = "rbxassetid://272207079"
  1581. tick2e.Volume = 2.5
  1582. tick2e.Looped = true
  1583. tick2e.Pitch = 0.85
  1584. tick2e:Play()
  1585. effecto:Destroy()
  1586. local pt1er = NumberSequenceKeypoint.new(0,15,0)
  1587. local pt1er2 = NumberSequenceKeypoint.new(0,25,0)
  1588. local pt2er = NumberSequenceKeypoint.new(1,0,0)
  1589. local effectoz = Instance.new("ParticleEmitter",spart)
  1590. effectoz.Texture = "rbxassetid://242109931"
  1591. effectoz.LightEmission = 1
  1592. effectoz.Color = ColorSequence.new(ColorSequence.new(Color3.new(0.992157, 1, 0.67451),Color3.new(1, 0.658824, 0.321569)))
  1593. effectoz.Lifetime = NumberRange.new(2.5)
  1594. effectoz.Size = NumberSequence.new({pt1er,pt2er})
  1595. effectoz.Speed = NumberRange.new(0,0)
  1596. effectoz.Rotation = NumberRange.new(-300,300)
  1597. effectoz.Transparency = NumberSequence.new({pt1a,pt2a})
  1598. effectoz.RotSpeed = NumberRange.new(-500,500)
  1599. effectoz.Speed = NumberRange.new(10)
  1600. effectoz.VelocitySpread = 10000000
  1601. effectoz.Rate = 1000000000000
  1602. local effectoz2 = Instance.new("ParticleEmitter",spart)
  1603. effectoz2.Texture = "rbxassetid://242109931"
  1604. effectoz2.LightEmission = 1
  1605. effectoz2.Color = ColorSequence.new(ColorSequence.new(Color3.new(0.992157, 1, 0.67451),Color3.new(1, 0.658824, 0.321569)))
  1606. effectoz2.Lifetime = NumberRange.new(0.5)
  1607. effectoz2.Size = NumberSequence.new({pt1er2,pt2er})
  1608. effectoz2.Speed = NumberRange.new(0,0)
  1609. effectoz2.Rotation = NumberRange.new(-300,300)
  1610. effectoz2.RotSpeed = NumberRange.new(-500,500)
  1611. effectoz2.Speed = NumberRange.new(250)
  1612. effectoz2.VelocitySpread = 10000000
  1613. effectoz2.Rate = 1000000000000
  1614. spart.Size = vt(25,25,25)
  1615. spart.Transparency = 1
  1616. spart.CFrame = saveposition
  1617. wait(0.5)
  1618. Damagefunc(hit,50,60,-20,"Normal",root,.2,1)
  1619. effectoz2.Rate = 0
  1620. wait(5)
  1621. effectoz.Rate = 0
  1622. tick2e:Stop()
  1623. wait(2.5)
  1624. spart:Destroy()
  1625. end
  1626. end
  1627. end)
  1628. char.Humanoid.WalkSpeed = 16
  1629. wait(1)
  1630. for i = 0, 25 do
  1631. shur.CFrame = tors.CFrame + vt(0,-2.95,0)
  1632. Meshshur.Scale = Meshshur.Scale - vt(1.25,0,1.25)
  1633. wait(0)
  1634. end
  1635. shur:Destroy()
  1636. end
  1637.  
  1638. mouse.KeyDown:connect(function(k)
  1639.  
  1640. k = k:lower()
  1641. if k == "q" and attacking == false then
  1642. if plr.Character and mouse.Hit and plr.Character:FindFirstChild('Head') and plr.Character:FindFirstChild('Right Arm') and plr.Character:FindFirstChild('Torso') and plr.Character.Torso:FindFirstChild('Left Shoulder') then
  1643. shooting = true
  1644.  
  1645. local Head = plr.Character.Head
  1646. local LeftShoulder = plr.Character.Torso["Left Shoulder"]
  1647. local LeftArm = plr.Character["Left Arm"]
  1648. local MousePosition = mouse.Hit.p
  1649. local ToMouse = (MousePosition - Head.Position).unit
  1650. local Angle = math.acos(ToMouse:Dot(Vector3.new(0, 1, 0)))
  1651. local FromRightArmPos = (Head.Position + Head.CFrame:vectorToWorldSpace(Vector3.new(((Head.Size.X / 2) + (LeftArm.Size.X / 2)), ((Head.Size.Y / 2) - (LeftArm.Size.Z / 2)), 0)))
  1652. local ToMouseRightArm = ((MousePosition - FromRightArmPos) * Vector3.new(1 ,0, 1)).unit
  1653. local Look = (Head.CFrame.lookVector * Vector3.new(1, 0, 1)).unit
  1654. local LateralAngle = math.acos(ToMouseRightArm:Dot(Look))
  1655. if tostring(LateralAngle) == "-1.#IND" then
  1656. LateralAngle = 0
  1657. end
  1658. tick.SoundId = "http://www.roblox.com/asset/?id=267083313"
  1659. tick.Volume = 1.5
  1660. tick.Pitch = 1
  1661. tick:Play()
  1662. tick.Looped = false
  1663. local Cross = Head.CFrame.lookVector:Cross(ToMouseRightArm)
  1664. if LateralAngle > (math.pi / 2) then
  1665. LateralAngle = (math.pi / 2)
  1666. end
  1667. if Cross.Y < 0 then
  1668. LateralAngle = -LateralAngle
  1669. end
  1670. LeftShoulder.C0 = CFrame.new(LeftShoulder.C0.p) * CFrame.Angles(((math.pi / 2) - Angle), ((math.pi / -2) + LateralAngle), math.pi/-2)
  1671. wait()
  1672.  
  1673. wait(1)
  1674. LeftShoulder.C0 = CFrame.new(LeftShoulder.C0.p)*CFrame.Angles(0,math.pi/-2,0)
  1675. shooting = false
  1676. end
  1677. if energy >= 10 then
  1678. energy = energy - 10
  1679. attacking = true
  1680. Fireball()
  1681. attacking = false
  1682. end
  1683. end
  1684. if k == "r" and attacking == false then
  1685. if energy >= 50 then
  1686. energy = energy - 50
  1687. attacking = true
  1688. MassiveFireBall()
  1689. attacking = false
  1690. end
  1691. end
  1692. if k == "t" and attacking == false then
  1693. if energy >= 100 then
  1694. energy = energy - 100
  1695. attacking = true
  1696. Rockets()
  1697. attacking = false
  1698. end
  1699. end
  1700. if k == "e" and attacking == false then
  1701. if plr.Character and mouse.Hit and plr.Character:FindFirstChild('Head') and plr.Character:FindFirstChild('Right Arm') and plr.Character:FindFirstChild('Torso') and plr.Character.Torso:FindFirstChild('Right Shoulder') then
  1702. shooting = true
  1703. local Head = plr.Character.Head
  1704. local RightShoulder = plr.Character.Torso["Right Shoulder"]
  1705. local RightArm = plr.Character["Right Arm"]
  1706. local MousePosition = mouse.Hit.p
  1707. local ToMouse = (MousePosition - Head.Position).unit
  1708. local Angle = math.acos(ToMouse:Dot(Vector3.new(0, 1, 0)))
  1709. local FromRightArmPos = (Head.Position + Head.CFrame:vectorToWorldSpace(Vector3.new(((Head.Size.X / 2) + (RightArm.Size.X / 2)), ((Head.Size.Y / 2) - (RightArm.Size.Z / 2)), 0)))
  1710. local ToMouseRightArm = ((MousePosition - FromRightArmPos) * Vector3.new(1 ,0, 1)).unit
  1711. local Look = (Head.CFrame.lookVector * Vector3.new(1, 0, 1)).unit
  1712. local LateralAngle = math.acos(ToMouseRightArm:Dot(Look))
  1713. if tostring(LateralAngle) == "-1.#IND" then
  1714. LateralAngle = 0
  1715. end
  1716. tick.SoundId = "http://www.roblox.com/asset/?id=267083313"
  1717. tick.Volume = 1.5
  1718. tick.Pitch = 1
  1719. tick:Play()
  1720. tick.Looped = false
  1721. local Cross = Head.CFrame.lookVector:Cross(ToMouseRightArm)
  1722. if LateralAngle > (math.pi / 2) then
  1723. LateralAngle = (math.pi / 2)
  1724. end
  1725. if Cross.Y < 0 then
  1726. LateralAngle = -LateralAngle
  1727. end
  1728. RightShoulder.C0 = CFrame.new(RightShoulder.C0.p) * CFrame.Angles(((math.pi / 2) - Angle), ((math.pi / 2) + LateralAngle), math.pi/2)
  1729. wait()
  1730.  
  1731. wait(1)
  1732. RightShoulder.C0 = CFrame.new(RightShoulder.C0.p)*CFrame.Angles(0,math.pi/2,0)
  1733. shooting = false
  1734. end
  1735. if energy >= 10 then
  1736. energy = energy - 10
  1737. attacking = true
  1738. Fireball()
  1739. attacking = false
  1740. end
  1741. end
  1742. if k == "0" and attacking == false then
  1743. if charge == false then
  1744. tick:Resume()
  1745. tick2:Resume()
  1746. charge = true
  1747. attacking = true
  1748. if charge == true then
  1749. effecto.Rate = 10000
  1750. end
  1751. end
  1752. end
  1753. end)
  1754. mouse.KeyUp:connect(function(k)
  1755.  
  1756. k = k:lower()
  1757. if k == "0" then
  1758. charge = false
  1759. tick:Pause()
  1760. tick2:Pause()
  1761. attacking = false
  1762. effecto.Rate = 0
  1763. end
  1764. end)
  1765.  
  1766. while wait() do
  1767. healthgui.Text = "Energy: " ..math.floor(energy).. "/1000"
  1768. if charge == true then
  1769. while true do
  1770. healthgui.Text = "Energy: " ..math.floor(energy).. "/1000"
  1771. energy = energy + 0.75
  1772. wait()
  1773. if energy > 1000 then
  1774. energy = 1000
  1775. end
  1776. if charge == false then
  1777. break
  1778. end
  1779. end
  1780. end
  1781.  
  1782. if energy > 1000 then
  1783. energy = 1000
  1784. end
  1785. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement