Advertisement
Sheckles

lightning

May 17th, 2018
388
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 61.22 KB | None | 0 0
  1. --//=====================================================================\\--
  2. --|| CREATED BY SHACKLUSTER EDIT BY OMEGANOSCOPE ||--
  3. --|| ||--
  4. --|| ARCANE ADVENTURES LIGHTNING ||--
  5. --\\=====================================================================//--
  6.  
  7. wait(0.2)
  8.  
  9. Player = game:GetService("Players").LocalPlayer
  10. PlayerGui = Player.PlayerGui
  11. Cam = workspace.CurrentCamera
  12. Backpack = Player.Backpack
  13. Character = Player.Character
  14. Humanoid = Character.Humanoid
  15. Mouse = Player:GetMouse()
  16. RootPart = Character["HumanoidRootPart"]
  17. Torso = Character["Torso"]
  18. Head = Character["Head"]
  19. RightArm = Character["Right Arm"]
  20. LeftArm = Character["Left Arm"]
  21. RightLeg = Character["Right Leg"]
  22. LeftLeg = Character["Left Leg"]
  23. RootJoint = RootPart["RootJoint"]
  24. Neck = Torso["Neck"]
  25. RightShoulder = Torso["Right Shoulder"]
  26. LeftShoulder = Torso["Left Shoulder"]
  27. RightHip = Torso["Right Hip"]
  28. LeftHip = Torso["Left Hip"]
  29. local sick = Instance.new("Sound",Character)
  30.  
  31. IT = Instance.new
  32. CF = CFrame.new
  33. VT = Vector3.new
  34. RAD = math.rad
  35. C3 = Color3.new
  36. UD2 = UDim2.new
  37. BRICKC = BrickColor.new
  38. ANGLES = CFrame.Angles
  39. EULER = CFrame.fromEulerAnglesXYZ
  40. COS = math.cos
  41. ACOS = math.acos
  42. SIN = math.sin
  43. ASIN = math.asin
  44. ABS = math.abs
  45. MRANDOM = math.random
  46. FLOOR = math.floor
  47.  
  48. --//=================================\\
  49. --|| USEFUL VALUES
  50. --\\=================================//
  51.  
  52. Animation_Speed = 3
  53. local Walkspeed = 16
  54. Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60)
  55. local Speed = 16
  56. local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  57. local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  58. local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0))
  59. local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0))
  60. local DAMAGEMULTIPLIER = 1
  61. local ANIM = "Idle"
  62. local ATTACK = false
  63. local EQUIPPED = false
  64. local HOLD = false
  65. local COMBO = 1
  66. local Rooted = false
  67. local SINE = 0
  68. local KEYHOLD = false
  69. local CHANGE = 2 / Animation_Speed
  70. local WALKINGANIM = false
  71. local VALUE1 = false
  72. local VALUE2 = false
  73. local ROBLOXIDLEANIMATION = IT("Animation")
  74. ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation"
  75. ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571"
  76. --ROBLOXIDLEANIMATION.Parent = Humanoid
  77. local WEAPONGUI = IT("ScreenGui", PlayerGui)
  78. WEAPONGUI.Name = "Weapon GUI"
  79. local Effects = IT("Folder", Character)
  80. Effects.Name = "Effects"
  81. local ANIMATOR = Humanoid.Animator
  82. local ANIMATE = Character.Animate
  83. local UNANCHOR = true
  84. local SHOCKSOUND = 1544280726
  85. local RINGSOUND = 340505360
  86. local ULTHIT = 412831137
  87.  
  88. --//=================================\\
  89. --\\=================================//
  90.  
  91.  
  92. --//=================================\\
  93. --|| SAZERENOS' ARTIFICIAL HEARTBEAT
  94. --\\=================================//
  95.  
  96. ArtificialHB = Instance.new("BindableEvent", script)
  97. ArtificialHB.Name = "ArtificialHB"
  98.  
  99. script:WaitForChild("ArtificialHB")
  100.  
  101. frame = Frame_Speed
  102. tf = 0
  103. allowframeloss = false
  104. tossremainder = false
  105. lastframe = tick()
  106. script.ArtificialHB:Fire()
  107.  
  108. game:GetService("RunService").Heartbeat:connect(function(s, p)
  109. tf = tf + s
  110. if tf >= frame then
  111. if allowframeloss then
  112. script.ArtificialHB:Fire()
  113. lastframe = tick()
  114. else
  115. for i = 1, math.floor(tf / frame) do
  116. script.ArtificialHB:Fire()
  117. end
  118. lastframe = tick()
  119. end
  120. if tossremainder then
  121. tf = 0
  122. else
  123. tf = tf - frame * math.floor(tf / frame)
  124. end
  125. end
  126. end)
  127.  
  128. --//=================================\\
  129. --\\=================================//
  130.  
  131. --//=================================\\
  132. --|| SOME FUNCTIONS
  133. --\\=================================//
  134.  
  135. function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
  136. return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
  137. end
  138.  
  139. function PositiveAngle(NUMBER)
  140. if NUMBER >= 0 then
  141. NUMBER = 0
  142. end
  143. return NUMBER
  144. end
  145.  
  146. function NegativeAngle(NUMBER)
  147. if NUMBER <= 0 then
  148. NUMBER = 0
  149. end
  150. return NUMBER
  151. end
  152.  
  153. function Swait(NUMBER)
  154. if NUMBER == 0 or NUMBER == nil then
  155. ArtificialHB.Event:wait()
  156. else
  157. for i = 1, NUMBER do
  158. ArtificialHB.Event:wait()
  159. end
  160. end
  161. end
  162.  
  163. function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
  164. local NEWMESH = IT(MESH)
  165. if MESH == "SpecialMesh" then
  166. NEWMESH.MeshType = MESHTYPE
  167. if MESHID ~= "nil" and MESHID ~= "" then
  168. NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID
  169. end
  170. if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
  171. NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID
  172. end
  173. end
  174. NEWMESH.Offset = OFFSET or VT(0, 0, 0)
  175. NEWMESH.Scale = SCALE
  176. NEWMESH.Parent = PARENT
  177. return NEWMESH
  178. end
  179.  
  180. function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
  181. local NEWPART = IT("Part")
  182. NEWPART.formFactor = FORMFACTOR
  183. NEWPART.Reflectance = REFLECTANCE
  184. NEWPART.Transparency = TRANSPARENCY
  185. NEWPART.CanCollide = false
  186. NEWPART.Locked = true
  187. NEWPART.Anchored = true
  188. if ANCHOR == false then
  189. NEWPART.Anchored = false
  190. end
  191. NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
  192. NEWPART.Name = NAME
  193. NEWPART.Size = SIZE
  194. NEWPART.Position = Torso.Position
  195. NEWPART.Material = MATERIAL
  196. NEWPART:BreakJoints()
  197. NEWPART.Parent = PARENT
  198. return NEWPART
  199. end
  200.  
  201. local function weldBetween(a, b)
  202. local weldd = Instance.new("ManualWeld")
  203. weldd.Part0 = a
  204. weldd.Part1 = b
  205. weldd.C0 = CFrame.new()
  206. weldd.C1 = b.CFrame:inverse() * a.CFrame
  207. weldd.Parent = a
  208. return weldd
  209. end
  210.  
  211.  
  212. function QuaternionFromCFrame(cf)
  213. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  214. local trace = m00 + m11 + m22
  215. if trace > 0 then
  216. local s = math.sqrt(1 + trace)
  217. local recip = 0.5 / s
  218. return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  219. else
  220. local i = 0
  221. if m11 > m00 then
  222. i = 1
  223. end
  224. if m22 > (i == 0 and m00 or m11) then
  225. i = 2
  226. end
  227. if i == 0 then
  228. local s = math.sqrt(m00 - m11 - m22 + 1)
  229. local recip = 0.5 / s
  230. return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  231. elseif i == 1 then
  232. local s = math.sqrt(m11 - m22 - m00 + 1)
  233. local recip = 0.5 / s
  234. return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  235. elseif i == 2 then
  236. local s = math.sqrt(m22 - m00 - m11 + 1)
  237. local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  238. end
  239. end
  240. end
  241.  
  242. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  243. local xs, ys, zs = x + x, y + y, z + z
  244. local wx, wy, wz = w * xs, w * ys, w * zs
  245. local xx = x * xs
  246. local xy = x * ys
  247. local xz = x * zs
  248. local yy = y * ys
  249. local yz = y * zs
  250. local zz = z * zs
  251. return CFrame.new(px, py, pz, 1 - (yy + zz), xy - wz, xz + wy, xy + wz, 1 - (xx + zz), yz - wx, xz - wy, yz + wx, 1 - (xx + yy))
  252. end
  253.  
  254. function QuaternionSlerp(a, b, t)
  255. local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  256. local startInterp, finishInterp;
  257. if cosTheta >= 0.0001 then
  258. if (1 - cosTheta) > 0.0001 then
  259. local theta = ACOS(cosTheta)
  260. local invSinTheta = 1 / SIN(theta)
  261. startInterp = SIN((1 - t) * theta) * invSinTheta
  262. finishInterp = SIN(t * theta) * invSinTheta
  263. else
  264. startInterp = 1 - t
  265. finishInterp = t
  266. end
  267. else
  268. if (1 + cosTheta) > 0.0001 then
  269. local theta = ACOS(-cosTheta)
  270. local invSinTheta = 1 / SIN(theta)
  271. startInterp = SIN((t - 1) * theta) * invSinTheta
  272. finishInterp = SIN(t * theta) * invSinTheta
  273. else
  274. startInterp = t - 1
  275. finishInterp = t
  276. end
  277. end
  278. return a[1] * startInterp + b[1] * finishInterp, a[2] * startInterp + b[2] * finishInterp, a[3] * startInterp + b[3] * finishInterp, a[4] * startInterp + b[4] * finishInterp
  279. end
  280.  
  281. function Clerp(a, b, t)
  282. local qa = {QuaternionFromCFrame(a)}
  283. local qb = {QuaternionFromCFrame(b)}
  284. local ax, ay, az = a.x, a.y, a.z
  285. local bx, by, bz = b.x, b.y, b.z
  286. local _t = 1 - t
  287. return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  288. end
  289.  
  290. function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME)
  291. local frame = IT("Frame")
  292. frame.BackgroundTransparency = TRANSPARENCY
  293. frame.BorderSizePixel = BORDERSIZEPIXEL
  294. frame.Position = POSITION
  295. frame.Size = SIZE
  296. frame.BackgroundColor3 = COLOR
  297. frame.BorderColor3 = BORDERCOLOR
  298. frame.Name = NAME
  299. frame.Parent = PARENT
  300. return frame
  301. end
  302.  
  303. function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME)
  304. local label = IT("TextLabel")
  305. label.BackgroundTransparency = 1
  306. label.Size = UD2(1, 0, 1, 0)
  307. label.Position = UD2(0, 0, 0, 0)
  308. label.TextColor3 = TEXTCOLOR
  309. label.TextStrokeTransparency = STROKETRANSPARENCY
  310. label.TextTransparency = TRANSPARENCY
  311. label.FontSize = TEXTFONTSIZE
  312. label.Font = TEXTFONT
  313. label.BorderSizePixel = BORDERSIZEPIXEL
  314. label.TextScaled = false
  315. label.Text = TEXT
  316. label.Name = NAME
  317. label.Parent = PARENT
  318. return label
  319. end
  320.  
  321. function NoOutlines(PART)
  322. PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10
  323. end
  324.  
  325. function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
  326. local NEWWELD = IT(TYPE)
  327. NEWWELD.Part0 = PART0
  328. NEWWELD.Part1 = PART1
  329. NEWWELD.C0 = C0
  330. NEWWELD.C1 = C1
  331. NEWWELD.Parent = PARENT
  332. return NEWWELD
  333. end
  334.  
  335. local S = IT("Sound")
  336. function CreateSound(ID, PARENT, VOLUME, PITCH, DOESLOOP)
  337. local NEWSOUND = nil
  338. coroutine.resume(coroutine.create(function()
  339. NEWSOUND = S:Clone()
  340. NEWSOUND.Parent = PARENT
  341. NEWSOUND.Volume = VOLUME
  342. NEWSOUND.Pitch = PITCH
  343. NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID
  344. NEWSOUND:play()
  345. if DOESLOOP == true then
  346. NEWSOUND.Looped = true
  347. else
  348. repeat wait(1) until NEWSOUND.Playing == false
  349. NEWSOUND:remove()
  350. end
  351. end))
  352. return NEWSOUND
  353. end
  354.  
  355. function CFrameFromTopBack(at, top, back)
  356. local right = top:Cross(back)
  357. return CF(at.x, at.y, at.z, right.x, top.x, back.x, right.y, top.y, back.y, right.z, top.z, back.z)
  358. end
  359.  
  360. --WACKYEFFECT({EffectType = "", Size = VT(1,1,1), Size2 = VT(0,0,0), Transparency = 0, Transparency2 = 1, CFrame = CF(), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  361. function WACKYEFFECT(Table)
  362. local TYPE = (Table.EffectType or "Sphere")
  363. local SIZE = (Table.Size or VT(1,1,1))
  364. local ENDSIZE = (Table.Size2 or VT(0,0,0))
  365. local TRANSPARENCY = (Table.Transparency or 0)
  366. local ENDTRANSPARENCY = (Table.Transparency2 or 1)
  367. local CFRAME = (Table.CFrame or Torso.CFrame)
  368. local MOVEDIRECTION = (Table.MoveToPos or nil)
  369. local ROTATION1 = (Table.RotationX or 0)
  370. local ROTATION2 = (Table.RotationY or 0)
  371. local ROTATION3 = (Table.RotationZ or 0)
  372. local MATERIAL = (Table.Material or "Neon")
  373. local COLOR = (Table.Color or C3(1,1,1))
  374. local TIME = (Table.Time or 45)
  375. local SOUNDID = (Table.SoundID or nil)
  376. local SOUNDPITCH = (Table.SoundPitch or nil)
  377. local SOUNDVOLUME = (Table.SoundVolume or nil)
  378. coroutine.resume(coroutine.create(function()
  379. local PLAYSSOUND = false
  380. local SOUND = nil
  381. local EFFECT = CreatePart(3, Effects, MATERIAL, 0, TRANSPARENCY, BRICKC("Pearl"), "Effect", VT(1,1,1), true)
  382. if SOUNDID ~= nil and SOUNDPITCH ~= nil and SOUNDVOLUME ~= nil then
  383. PLAYSSOUND = true
  384. SOUND = CreateSound(SOUNDID, EFFECT, SOUNDVOLUME, SOUNDPITCH, false)
  385. end
  386. EFFECT.Color = COLOR
  387. local MSH = nil
  388. if TYPE == "Sphere" then
  389. MSH = CreateMesh("SpecialMesh", EFFECT, "Sphere", "", "", SIZE, VT(0,0,0))
  390. elseif TYPE == "Block" then
  391. MSH = IT("BlockMesh",EFFECT)
  392. MSH.Scale = VT(SIZE.X,SIZE.X,SIZE.X)
  393. elseif TYPE == "Wave" then
  394. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "20329976", "", SIZE, VT(0,0,-SIZE.X/8))
  395. elseif TYPE == "Ring" then
  396. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "559831844", "", VT(SIZE.X,SIZE.X,0.1), VT(0,0,0))
  397. elseif TYPE == "Slash" then
  398. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662586858", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  399. elseif TYPE == "Round Slash" then
  400. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662585058", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  401. elseif TYPE == "Swirl" then
  402. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "1051557", "", SIZE, VT(0,0,0))
  403. elseif TYPE == "Skull" then
  404. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "4770583", "", SIZE, VT(0,0,0))
  405. elseif TYPE == "Crystal" then
  406. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "9756362", "", SIZE, VT(0,0,0))
  407. elseif TYPE == "Cloud" then
  408. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "1290033", "", SIZE, VT(0,0,0))
  409. end
  410. if MSH ~= nil then
  411. local MOVESPEED = nil
  412. if MOVEDIRECTION ~= nil then
  413. MOVESPEED = (CFRAME.p - MOVEDIRECTION).Magnitude/TIME
  414. end
  415. local GROWTH = SIZE - ENDSIZE
  416. local TRANS = TRANSPARENCY - ENDTRANSPARENCY
  417. if TYPE == "Block" then
  418. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  419. else
  420. EFFECT.CFrame = CFRAME
  421. end
  422. for LOOP = 1, TIME+1 do
  423. Swait()
  424. MSH.Scale = MSH.Scale - GROWTH/TIME
  425. if TYPE == "Wave" then
  426. MSH.Offset = VT(0,0,-MSH.Scale.X/8)
  427. end
  428. EFFECT.Transparency = EFFECT.Transparency - TRANS/TIME
  429. if TYPE == "Block" then
  430. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  431. else
  432. EFFECT.CFrame = EFFECT.CFrame*ANGLES(RAD(ROTATION1),RAD(ROTATION2),RAD(ROTATION3))
  433. end
  434. if MOVEDIRECTION ~= nil then
  435. local ORI = EFFECT.Orientation
  436. EFFECT.CFrame = CF(EFFECT.Position,MOVEDIRECTION)*CF(0,0,-MOVESPEED)
  437. EFFECT.Orientation = ORI
  438. end
  439. end
  440. if PLAYSSOUND == false then
  441. EFFECT:remove()
  442. else
  443. repeat Swait() until SOUND.Playing == false
  444. EFFECT:remove()
  445. end
  446. else
  447. if PLAYSSOUND == false then
  448. EFFECT:remove()
  449. else
  450. repeat Swait() until SOUND.Playing == false
  451. EFFECT:remove()
  452. end
  453. end
  454. end))
  455. end
  456.  
  457. function MakeForm(PART,TYPE)
  458. if TYPE == "Cyl" then
  459. local MSH = IT("CylinderMesh",PART)
  460. elseif TYPE == "Ball" then
  461. local MSH = IT("SpecialMesh",PART)
  462. MSH.MeshType = "Sphere"
  463. elseif TYPE == "Wedge" then
  464. local MSH = IT("SpecialMesh",PART)
  465. MSH.MeshType = "Wedge"
  466. end
  467. end
  468.  
  469. Debris = game:GetService("Debris")
  470.  
  471. function CastProperRay(StartPos, EndPos, Distance, Ignore)
  472. local DIRECTION = CF(StartPos,EndPos).lookVector
  473. return Raycast(StartPos, DIRECTION, Distance, Ignore)
  474. end
  475.  
  476. function turnto(position)
  477. RootPart.CFrame=CFrame.new(RootPart.CFrame.p,VT(position.X,RootPart.Position.Y,position.Z)) * CFrame.new(0, 0, 0)
  478. end
  479.  
  480. --Lightning({Color = C3(1,1,1), Start = Torso.Position, End = Mouse.Hit.p, SegmentL = 2, Thickness = 0.1, DoesFade = false, Ignore = Character, MaxDist = 400, Branches = false})
  481. function Lightning(Table)
  482. local Color = Table.Color or C3(1,1,1)
  483. local StartPos = Table.Start or Torso.Position
  484. local EndPos = Table.End or Mouse.Hit.p
  485. local SegmentLength = Table.SegmentL or 2
  486. local Thickness = Table.Thickness or 0.1
  487. local Dissapear = Table.DoesFade or false
  488. local Parent = Table.Ignore or Character
  489. local MaxDist = Table.MaxDist or 400
  490. local Branches = Table.Branches or false
  491. local HIT,HITPOS = CastProperRay(StartPos, EndPos, MaxDist, Parent)
  492. local DISTANCE = math.ceil((StartPos - HITPOS).Magnitude/SegmentLength)
  493. local LIGHTNINGMODEL = IT("Model",Effects)
  494. LIGHTNINGMODEL.Name = "Lightning"
  495. local LastBolt = nil
  496. for E = 1, DISTANCE do
  497. local ExtraSize = (DISTANCE-E)/25
  498. local PART = CreatePart(3, LIGHTNINGMODEL, "Neon", 0, 0, BRICKC("Pearl"), "LightningPart"..E, VT(Thickness+ExtraSize,SegmentLength,Thickness+ExtraSize))
  499. PART.Color = Color
  500. MakeForm(PART,"Cyl")
  501. if LastBolt == nil then
  502. PART.CFrame = CF(StartPos,HITPOS)*ANGLES(RAD(90),RAD(0),RAD(0))*CF(0,-PART.Size.Y/2,0)
  503. else
  504. PART.CFrame = CF(LastBolt.CFrame*CF(0,-LastBolt.Size.Y/2,0).p,CF(HITPOS)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))*CF(0,0,SegmentLength/3+(DISTANCE-E)).p)*ANGLES(RAD(90),RAD(0),RAD(0))*CF(0,-PART.Size.Y/2,0)
  505. end
  506. LastBolt = PART
  507. if Branches == true then
  508. local CHOICE = MRANDOM(1,7+((DISTANCE-E)*2))
  509. if CHOICE == 1 then
  510. local LASTBRANCH = nil
  511. for i = 1, MRANDOM(2,5) do
  512. local ExtraSize2 = ((DISTANCE-E)/35)/i
  513. local PART = CreatePart(3, LIGHTNINGMODEL, "Neon", 0, 0, BRICKC("Pearl"), "Branch"..E.."-"..i, VT(Thickness+ExtraSize2,SegmentLength,Thickness+ExtraSize2))
  514. PART.Color = Color
  515. MakeForm(PART,"Cyl")
  516. if LASTBRANCH == nil then
  517. PART.CFrame = CF(LastBolt.CFrame*CF(0,-LastBolt.Size.Y/2,0).p,LastBolt.CFrame*CF(0,-LastBolt.Size.Y/2,0)*ANGLES(RAD(0),RAD(0),RAD(MRANDOM(0,360)))*CF(0,Thickness*7,0)*CF(0,0,-1).p)*ANGLES(RAD(90),RAD(0),RAD(0))*CF(0,-PART.Size.Y/2,0)
  518. else
  519. PART.CFrame = CF(LASTBRANCH.CFrame*CF(0,-LASTBRANCH.Size.Y/2,0).p,LASTBRANCH.CFrame*CF(0,-LASTBRANCH.Size.Y/2,0)*ANGLES(RAD(0),RAD(0),RAD(MRANDOM(0,360)))*CF(0,Thickness*3,0)*CF(0,0,-1).p)*ANGLES(RAD(90),RAD(0),RAD(0))*CF(0,-PART.Size.Y/2,0)
  520. end
  521. LASTBRANCH = PART
  522. end
  523. end
  524. end
  525. end
  526. if Dissapear == true then
  527. coroutine.resume(coroutine.create(function()
  528. for i = 1, 30 do
  529. Swait()
  530. for _, c in pairs(LIGHTNINGMODEL:GetChildren()) do
  531. if c.ClassName == "Part" then
  532. c.Transparency = i/30
  533. end
  534. end
  535. end
  536. LIGHTNINGMODEL:remove()
  537. end))
  538. elseif Dissapear == false then
  539. Debris:AddItem(LIGHTNINGMODEL,0.1)
  540. end
  541. return {End = LastBolt.CFrame*CF(0,0,-LastBolt.Size.Z/2).p,LastBolt = LastBolt,Model = LIGHTNINGMODEL}
  542. end
  543.  
  544. local Particle = IT("ParticleEmitter",nil)
  545. Particle.Enabled = false
  546. Particle.LightEmission = 1
  547. Particle.Rate = 150
  548. Particle.ZOffset = 1
  549. Particle.Rotation = NumberRange.new(-180, 180)
  550.  
  551. --ParticleEmitter({Speed = 5, RotSpeed = NumberRange.new(-15, 15), Drag = 0, Size1 = 1, Size2 = 5, Lifetime1 = 1, Lifetime2 = 1.5, Parent = Torso, Emit = 100, Offset = 360, Enabled = false, Color1 = C3(1,1,1), Color2 = C3(1,1,1), Texture = ""})
  552. function ParticleEmitter(Table)
  553. local PRTCL = Particle:Clone()
  554. local Color1 = Table.Color1 or C3(1,1,1)
  555. local Color2 = Table.Color2 or C3(1,1,1)
  556. local Speed = Table.Speed or 5
  557. local Drag = Table.Drag or 0
  558. local Size1 = Table.Size1 or 1
  559. local Size2 = Table.Size2 or 5
  560. local Lifetime1 = Table.Lifetime1 or 1
  561. local Lifetime2 = Table.Lifetime2 or 1.5
  562. local Parent = Table.Parent or Torso
  563. local Emit = Table.Emit or 100
  564. local Offset = Table.Offset or 360
  565. local Acel = Table.Acel or VT(0,0,0)
  566. local Enabled = Table.Enabled or false
  567. local Texture = Table.Texture or "281983280"
  568. local RotS = Table.RotSpeed or NumberRange.new(-15, 15)
  569. local Trans1 = Table.Transparency1 or 0
  570. local Trans2 = Table.Transparency2 or 0
  571. PRTCL.Parent = Parent
  572. PRTCL.RotSpeed = RotS
  573. PRTCL.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,Trans1),NumberSequenceKeypoint.new(1,Trans2)})
  574. PRTCL.Texture = "http://www.roblox.com/asset/?id="..Texture
  575. PRTCL.Color = ColorSequence.new(Color1,Color2)
  576. PRTCL.Size = NumberSequence.new(Size1,Size2)
  577. PRTCL.Lifetime = NumberRange.new(Lifetime1,Lifetime2)
  578. PRTCL.Speed = NumberRange.new(Speed)
  579. PRTCL.VelocitySpread = Offset
  580. PRTCL.Drag = Drag
  581. PRTCL.Acceleration = Acel
  582. if Enabled == false then
  583. PRTCL:Emit(Emit)
  584. Debris:AddItem(PRTCL,Lifetime2)
  585. else
  586. PRTCL.Enabled = true
  587. end
  588. return PRTCL
  589. end
  590.  
  591. --//=================================\\
  592. --|| WEAPON CREATION
  593. --\\=================================//
  594.  
  595. local SKILLTEXTCOLOR = C3(1,1,1)
  596. local SKILLFONT = "Fantasy"
  597. local SKILLTEXTSIZE = 5
  598. local POWER = 1000
  599. local MAXPOWER = 1000
  600.  
  601. Humanoid.Died:connect(function()
  602. ATTACK = true
  603. end)
  604.  
  605. local SKILL1FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.01, 0, 0.83, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 1 Frame")
  606. local SKILL2FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.012, 0, 0.78, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 2 Frame")
  607. local SKILL3FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.03, 0, 0.73, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 3 Frame")
  608. local SHIFTFR = CreateFrame(WEAPONGUI, 1, 2, UD2(0.30, 0, 0.87, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Charging")
  609.  
  610. local SKILL1TEXT = CreateLabel(SKILL1FRAME, "[Q] Lightning Bolt", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0, "Text 1")
  611. local SKILL2TEXT = CreateLabel(SKILL2FRAME, "[R] Lightning Stomp", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0, "Text 2")
  612. local SKILL3TEXT = CreateLabel(SKILL3FRAME, "[X] Lightning Annihilation", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0, "Text 3")
  613. local SHIFTX = CreateLabel(SHIFTFR, "[SHIFT] Charge", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0, "How2Shift")
  614.  
  615. local MANABAR = CreateFrame(WEAPONGUI, 0.5, 1, UD2(0.1, 0, 0.90, 0), UD2(0.26, 0, 0.02, 0), C3(0,0,0), C3(0, 0, 0),"Mana Bar")
  616. local MANACOVER = CreateFrame(MANABAR, 0, 0, UD2(0, 0, 0, 0), UD2(0, 0, 1, 0), BRICKC"Electric blue".Color, C3(0, 0, 0),"Mana Cover")
  617. local MANATEXT = CreateLabel(MANABAR, POWER.."/"..MAXPOWER, SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0, "MP")
  618.  
  619. local A = IT("Attachment",Torso)
  620. local TORSOTHUNDER = ParticleEmitter({Speed = 0.2, RotSpeed = NumberRange.new(-15, 15), Drag = 2, Size1 = 4, Size2 = 6, Lifetime1 = 0.01, Lifetime2 = 0.1, Parent = A, Emit = 100, Offset = 360, Enabled = true, Color1 = BRICKC"Electric blue".Color, Color2 = BRICKC"Electric blue".Color})
  621. TORSOTHUNDER.Enabled = false
  622. TORSOTHUNDER.Rate = 5
  623. local TORSOTHUNDER2 = ParticleEmitter({Texture = 281983242, Speed = 0.2, RotSpeed = NumberRange.new(-15, 15), Drag = 2, Size1 = 4, Size2 = 6, Lifetime1 = 0.01, Lifetime2 = 0.1, Parent = A, Emit = 100, Offset = 360, Enabled = true, Color1 = BRICKC"Electric blue".Color, Color2 = BRICKC"Electric blue".Color})
  624. TORSOTHUNDER2.Enabled = false
  625. TORSOTHUNDER2.Rate = 5
  626. local B = IT("Attachment",RootPart)
  627. B.Position = VT(0,-3,0)
  628. local CHARGE = ParticleEmitter({Transparency1 = 1, Transparency2 = 0.5, Acel = VT(0,15,0), Texture = 301261210, Speed = 3, RotSpeed = NumberRange.new(-150, 150), Drag = -0.5, Size1 = 2, Size2 = 0, Lifetime1 = 1, Lifetime2 = 1.2, Parent = B, Emit = 100, Offset = 360, Enabled = true, Color1 = BRICKC"Electric blue".Color, Color2 = BRICKC"Electric blue".Color})
  629. CHARGE.ZOffset = 1.5
  630. CHARGE.Enabled = false
  631. CHARGE.Rate = 999
  632.  
  633. local FF = IT("ForceField",Character)
  634. FF.Visible = false
  635. Humanoid.MaxHealth = 100
  636. Humanoid.Health = 100
  637. local HEALTHBAR = CreateFrame(WEAPONGUI, 0.5, 1, UD2(0.1, 0, 0.93, 0), UD2(0.26, 0, 0.02, 0), C3(0,0,0), C3(0, 0, 0),"Health Bar")
  638. local HEALTHCOVER = CreateFrame(HEALTHBAR, 0, 0, UD2(0, 0, 0, 0), UD2(0, 0, 1, 0), BRICKC"Shamrock".Color, C3(0, 0, 0),"Health Cover")
  639. local HEALTHTEXT = CreateLabel(HEALTHBAR, Humanoid.Health.."/"..Humanoid.MaxHealth, SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0, "HP")
  640. Character.Health:remove()
  641.  
  642. --//=================================\\
  643. --|| DAMAGING
  644. --\\=================================//
  645.  
  646. function ApplyDamage(Humanoid,Damage,TorsoPart)
  647. local defence = Instance.new("BoolValue",Humanoid.Parent)
  648. defence.Name = ("HitBy"..Player.Name)
  649. game:GetService("Debris"):AddItem(defence, 0.001)
  650. Damage = Damage * DAMAGEMULTIPLIER
  651. if Humanoid.Health ~= 0 then
  652. local CritChance = MRANDOM(1,50)
  653. if Damage > Humanoid.Health then
  654. Damage = math.ceil(Humanoid.Health)
  655. if Damage == 0 then
  656. Damage = 0.1
  657. end
  658. end
  659. Humanoid.Health = Humanoid.Health - Damage
  660. end
  661. end
  662.  
  663. function AfterZap(Humanoid,Times,Dmg)
  664. coroutine.resume(coroutine.create(function()
  665. if Humanoid ~= nil then
  666. local ZAP = ParticleEmitter({Speed = 0.2, RotSpeed = NumberRange.new(-15, 15), Drag = 2, Size1 = 2, Size2 = 3, Lifetime1 = 0.01, Lifetime2 = 0.1, Parent = Humanoid.Torso, Emit = 100, Offset = 360, Enabled = true, Color1 = BRICKC"Electric blue".Color, Color2 = BRICKC"Electric blue".Color})
  667. ZAP.Rate = 75
  668. for i = 1, Times do
  669. wait(1)
  670. if Humanoid ~= nil and Humanoid.Health > 0 then
  671. Humanoid.Health = Humanoid.Health - Dmg
  672. CreateSound(SHOCKSOUND,Humanoid.Torso,1,MRANDOM(13,16)/10,false)
  673. else
  674. break
  675. end
  676. end
  677. ZAP.Enabled = false
  678. Debris:AddItem(ZAP,3)
  679. end
  680. end))
  681. end
  682.  
  683. function ApplyAoE(POSITION,RANGE,MINDMG,MAXDMG,FLING,DOESAFTERZAP,ZAPCOUNTER)
  684. local CHILDREN = workspace:GetDescendants()
  685. for index, CHILD in pairs(CHILDREN) do
  686. if CHILD.ClassName == "Model" and CHILD ~= Character then
  687. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  688. if HUM then
  689. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  690. if TORSO then
  691. if (TORSO.Position - POSITION).Magnitude <= RANGE then
  692. if DOESAFTERZAP == true then
  693. AfterZap(HUM,ZAPCOUNTER,math.ceil(MINDMG/7))
  694. end
  695. local DMG = MRANDOM(MINDMG,MAXDMG)
  696. ApplyDamage(HUM,DMG,TORSO)
  697. if FLING > 0 then
  698. for _, c in pairs(CHILD:GetChildren()) do
  699. if c:IsA("BasePart") then
  700. local bv = Instance.new("BodyVelocity")
  701. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  702. bv.velocity = CF(POSITION,TORSO.Position).lookVector*FLING
  703. bv.Parent = c
  704. Debris:AddItem(bv,0.05)
  705. end
  706. end
  707. end
  708. end
  709. end
  710. end
  711. end
  712. end
  713. end
  714.  
  715. --//=================================\\
  716. --|| ATTACK FUNCTIONS AND STUFF
  717. --\\=================================//
  718.  
  719. local DECAL = IT("Decal",nil)
  720.  
  721. function MagicRing(PART,CFRAME)
  722. local RING = CreatePart(3, Effects, "Granite", 0, 1, "Maroon", "MagicRing", VT(0,0,0),false)
  723. local WELD = CreateWeldOrSnapOrMotor("Weld", PART, PART, RING, CFRAME, CF(0, 0, 0))
  724. local MESH = IT("BlockMesh",RING)
  725. local BOTTOMTEXTURE = DECAL:Clone()
  726. BOTTOMTEXTURE.Parent = RING
  727. BOTTOMTEXTURE.Face = "Bottom"
  728. BOTTOMTEXTURE.Texture = "http://www.roblox.com/asset/?id=314842290"
  729. BOTTOMTEXTURE.Name = "BottomTexture"
  730. local TOPTEXTURE = DECAL:Clone()
  731. TOPTEXTURE.Parent = RING
  732. TOPTEXTURE.Face = "Top"
  733. TOPTEXTURE.Texture = "http://www.roblox.com/asset/?id=314842440"
  734. TOPTEXTURE.Name = "TopTexture"
  735. local T = ParticleEmitter({Transparency1 = 0.2, Transparency2 = 1, Texture = 1084975295, Speed = 0, RotSpeed = NumberRange.new(-15, 15), Drag = 2, Size1 = 0, Size2 = 10, Lifetime1 = 1, Lifetime2 = 1, Parent = RING, Emit = 25, Offset = 360, Enabled = false, Color1 = BRICKC"Electric blue".Color, Color2 = BRICKC"Electric blue".Color})
  736. T.LockedToPart = true
  737. return RING,WELD,MESH
  738. end
  739.  
  740. function Charge()
  741. ATTACK = true
  742. Rooted = true
  743. TORSOTHUNDER.Enabled = true
  744. TORSOTHUNDER2.Enabled = true
  745. CHARGE.Enabled = true
  746. local LOOP = CreateSound(516142778,Torso,0,1,true)
  747. local LOOP2 = CreateSound(1393698948,Torso,0,2,true)
  748. repeat
  749. Swait()
  750. if POWER < MAXPOWER then
  751. POWER = POWER + 1
  752. elseif POWER > MAXPOWER then
  753. POWER = MAXPOWER
  754. end
  755. if LOOP.Volume < 5 then
  756. LOOP.Volume = LOOP.Volume + 0.2
  757. end
  758. if LOOP2.Volume < 5 then
  759. LOOP2.Volume = LOOP2.Volume + 0.2
  760. end
  761. TORSOTHUNDER.Rate = MRANDOM(15,45)
  762. TORSOTHUNDER2.Rate = MRANDOM(15,45)
  763. Humanoid.Health = Humanoid.Health + 1
  764. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  765. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15), RAD(0), RAD(0)), 1 / Animation_Speed)
  766. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(-15), RAD(25)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  767. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(15), RAD(-25)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  768. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(0), RAD(85), RAD(0)) * ANGLES(RAD(-2), RAD(0), RAD(0)), 1 / Animation_Speed)
  769. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-85), RAD(0)) * ANGLES(RAD(-2), RAD(0), RAD(0)), 1 / Animation_Speed)
  770. until KEYHOLD == false or POWER == MAXPOWER and Humanoid.Health == Humanoid.MaxHealth
  771. CHARGE.Enabled = false
  772. TORSOTHUNDER.Enabled = false
  773. TORSOTHUNDER2.Enabled = false
  774. coroutine.resume(coroutine.create(function()
  775. repeat
  776. Swait()
  777. LOOP.Volume = LOOP.Volume - 0.2
  778. LOOP2.Volume = LOOP2.Volume - 0.2
  779. until LOOP.Volume <= 0
  780. LOOP:remove()
  781. end))
  782. ATTACK = false
  783. Rooted = false
  784. end
  785.  
  786. function PoisonBolt()
  787. ATTACK = true
  788. Rooted = true
  789. local STRENGTH = 100
  790. local TIER = 1
  791. local GRAV = IT("BodyPosition",RootPart)
  792. GRAV.D = 250
  793. GRAV.P = 20000
  794. GRAV.MaxForce = VT(math.huge,math.huge,math.huge)
  795. GRAV.Position = RootPart.Position
  796. local G = IT("BodyGyro",RootPart)
  797. G.D = 250
  798. G.P = 200000
  799. G.MaxTorque = VT(math.huge,math.huge,math.huge)
  800. local RING,WELD,MESH = MagicRing(RightArm,CF(0,-1.2,0))
  801. CreateSound(RINGSOUND,RING,5,1,false)
  802. repeat
  803. Swait()
  804. STRENGTH = STRENGTH + 0.3
  805. if STRENGTH > 200 then
  806. STRENGTH = 200
  807. end
  808. if MESH.Scale.X < 120 then
  809. MESH.Scale = MESH.Scale + VT(3,0,3)
  810. elseif MESH.Scale.X < 200 then
  811. MESH.Scale = MESH.Scale + VT(0.3,0,0.3)
  812. end
  813. G.cframe = CF(RootPart.Position,Mouse.Hit.p)
  814. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(45)), 1 / Animation_Speed)
  815. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(-45)), 1 / Animation_Speed)
  816. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.5, -0.2) * ANGLES(RAD(90), RAD(0), RAD(45)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  817. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  818. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(0), RAD(74), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 1 / Animation_Speed)
  819. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-74), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 1 / Animation_Speed)
  820. until KEYHOLD == false and MESH.Scale.X >= 120
  821. if STRENGTH >= 150 and STRENGTH ~= 200 and POWER >= 35 then
  822. POWER = POWER - 35
  823. TIER = 2
  824. elseif STRENGTH == 200 and POWER >= 75 then
  825. POWER = POWER - 75
  826. TIER = 3
  827. end
  828. --print("STRENGTH:"..STRENGTH.."/TIER:"..TIER)
  829. if TIER == 1 then
  830. local ZAP = Lightning({Color = BRICKC"Electric blue".Color, Start = RING.Position, End = Mouse.Hit.p, SegmentL = 2, Thickness = 0.1, DoesFade = true, Ignore = Character, MaxDist = 100, Branches = false})
  831. if ZAP.End ~= nil then
  832. ApplyAoE(ZAP.End,10,5,15,35,true,6)
  833. WACKYEFFECT({EffectType = "Sphere", Size = VT(1,1,1), Size2 = VT(8,8,8)*2, Transparency = 0, Transparency2 = 1, CFrame = CF(ZAP.End), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = BRICKC"Electric blue".Color, SoundID = SHOCKSOUND, SoundPitch = MRANDOM(9,11)/10, SoundVolume = 6})
  834. WACKYEFFECT({Time = 65, EffectType = "Cloud", Size = VT(1,1,1), Size2 = VT(5,5,5), Transparency = 0.5, Transparency2 = 1, CFrame = CF(ZAP.End) * ANGLES(RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = MRANDOM(-100,100)/150, RotationY = MRANDOM(-100,100)/150, RotationZ = MRANDOM(-100,100)/150, Material = "Neon", Color = C3(0,0,0), SoundID = nil, SoundPitch = MRANDOM(9,11)/10, SoundVolume = 3})
  835. end
  836. elseif TIER == 2 then
  837. local ZAP = Lightning({Color = BRICKC"Electric blue".Color, Start = RING.Position, End = Mouse.Hit.p, SegmentL = 2.5, Thickness = 0.1, DoesFade = true, Ignore = Character, MaxDist = 200, Branches = false})
  838. if ZAP.End ~= nil then
  839. ApplyAoE(ZAP.End,15,15,25,35,true,8)
  840. WACKYEFFECT({EffectType = "Sphere", Size = VT(1,1,1), Size2 = VT(8,8,8)*4, Transparency = 0, Transparency2 = 1, CFrame = CF(ZAP.End), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = BRICKC"Electric blue".Color, SoundID = SHOCKSOUND, SoundPitch = MRANDOM(7,10)/10, SoundVolume = 6})
  841. WACKYEFFECT({Time = 75, EffectType = "Cloud", Size = VT(1,1,1), Size2 = VT(5,5,5)*2, Transparency = 0.5, Transparency2 = 1, CFrame = CF(ZAP.End) * ANGLES(RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = MRANDOM(-100,100)/150, RotationY = MRANDOM(-100,100)/150, RotationZ = MRANDOM(-100,100)/150, Material = "Neon", Color = C3(0,0,0), SoundID = nil, SoundPitch = MRANDOM(9,11)/10, SoundVolume = 3})
  842. end
  843. elseif TIER == 3 then
  844. local ZAP = Lightning({Color = BRICKC"Electric blue".Color, Start = RING.Position, End = Mouse.Hit.p, SegmentL = 3, Thickness = 0.1, DoesFade = true, Ignore = Character, MaxDist = 300, Branches = true})
  845. if ZAP.End ~= nil then
  846. ApplyAoE(ZAP.End,20,15,25,35,true,12)
  847. WACKYEFFECT({EffectType = "Sphere", Size = VT(1,1,1), Size2 = VT(8,8,8)*8, Transparency = 0, Transparency2 = 1, CFrame = CF(ZAP.End), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = BRICKC"Electric blue".Color, SoundID = SHOCKSOUND, SoundPitch = MRANDOM(5,8)/10, SoundVolume = 6})
  848. WACKYEFFECT({Time = 125, EffectType = "Cloud", Size = VT(1,1,1), Size2 = VT(5,5,5)*4, Transparency = 0.5, Transparency2 = 1, CFrame = CF(ZAP.End) * ANGLES(RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = MRANDOM(-100,100)/150, RotationY = MRANDOM(-100,100)/150, RotationZ = MRANDOM(-100,100)/150, Material = "Neon", Color = C3(0,0,0), SoundID = nil, SoundPitch = MRANDOM(9,11)/10, SoundVolume = 3})
  849. for i = 1, 4 do
  850. Lightning({Color = BRICKC"Electric blue".Color, Start = ZAP.End, End = ZAP.End+VT(MRANDOM(-45,45),MRANDOM(-45,45),MRANDOM(-45,45)), SegmentL = 3, Thickness = 0.1, DoesFade = true, Ignore = Character, MaxDist = 15, Branches = false})
  851. end
  852. end
  853. end
  854. wait(0.5)
  855. RING.Anchored = true
  856. WELD:remove()
  857. coroutine.resume(coroutine.create(function()
  858. for i = 1, 25 do
  859. Swait()
  860. RING.TopTexture.Transparency = RING.TopTexture.Transparency + 1/25
  861. RING.BottomTexture.Transparency = RING.BottomTexture.Transparency + 1/25
  862. MESH.Scale = MESH.Scale - VT(3,0,3)
  863. end
  864. RING:remove()
  865. end))
  866. ATTACK = false
  867. Rooted = false
  868. G:remove()
  869. GRAV:remove()
  870. end
  871.  
  872. function ToxicStomp()
  873. ATTACK = true
  874. Rooted = false
  875. local GRAV = IT("BodyPosition",RootPart)
  876. GRAV.D = 250
  877. GRAV.P = 20000
  878. GRAV.MaxForce = VT(math.huge,math.huge,math.huge)
  879. GRAV.Position = RootPart.Position
  880. local RING,WELD,MESH = MagicRing(RightLeg,CF(0,-1.2,0))
  881. CreateSound(RINGSOUND,RING,5,1,false)
  882. local STRENGTH = 100
  883. local TIER = 1
  884. repeat
  885. Swait()
  886. STRENGTH = STRENGTH + 0.3
  887. if STRENGTH > 200 then
  888. STRENGTH = 200
  889. end
  890. if MESH.Scale.X < 120 then
  891. MESH.Scale = MESH.Scale + VT(3,0,3)
  892. elseif MESH.Scale.X < 200 then
  893. MESH.Scale = MESH.Scale + VT(0.3,0,0.3)
  894. end
  895. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(-5), RAD(0), RAD(0)), 1 / Animation_Speed)
  896. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-5), RAD(0), RAD(0)), 1 / Animation_Speed)
  897. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(120), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  898. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(120), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  899. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.25, -0.65) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 1 / Animation_Speed)
  900. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(-15), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 1 / Animation_Speed)
  901. until KEYHOLD == false and MESH.Scale.X >= 120
  902. if STRENGTH >= 150 and STRENGTH ~= 200 and POWER >= 45 then
  903. POWER = POWER - 45
  904. TIER = 2
  905. elseif STRENGTH == 200 and POWER >= 100 then
  906. POWER = POWER - 100
  907. TIER = 3
  908. end
  909. for i=0, 0.2, 0.1 / Animation_Speed do
  910. Swait()
  911. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(-25), RAD(0), RAD(0)), 1 / Animation_Speed)
  912. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-5), RAD(0), RAD(0)), 1 / Animation_Speed)
  913. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(150), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  914. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(150), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  915. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.25, -0.65) * ANGLES(RAD(10), RAD(90), RAD(0)) * ANGLES(RAD(-1), RAD(0), RAD(0)), 1 / Animation_Speed)
  916. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(-15), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 1 / Animation_Speed)
  917. end
  918. for i=0, 0.2, 0.1 / Animation_Speed do
  919. Swait()
  920. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0.6) * ANGLES(RAD(15), RAD(0), RAD(0)), 1 / Animation_Speed)
  921. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-5), RAD(0), RAD(0)), 1 / Animation_Speed)
  922. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(120), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  923. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(120), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  924. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.5) * ANGLES(RAD(20), RAD(90), RAD(0)) * ANGLES(RAD(-1), RAD(0), RAD(0)), 1 / Animation_Speed)
  925. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(-25), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 1 / Animation_Speed)
  926. end
  927. coroutine.resume(coroutine.create(function()
  928. if TIER == 1 then
  929. local AOE = CreatePart(3, Effects, "Granite", 0, 1, "Maroon", "Stomp", VT(30,0,30))
  930. AOE.CFrame = CF(RightLeg.Position-VT(0,1,0))
  931. local PARTCL = ParticleEmitter({Texture = 281983280, Speed = 0.2, RotSpeed = NumberRange.new(-15, 15), Drag = 2, Size1 = 4, Size2 = 6, Lifetime1 = 0.01, Lifetime2 = 0.1, Parent = AOE, Emit = 100, Offset = 360, Enabled = true, Color1 = BRICKC"Electric blue".Color, Color2 = BRICKC"Electric blue".Color})
  932. PARTCL.Rate = 999
  933. CreateSound(304999618,AOE,5,1,false)
  934. CreateSound(130972023,AOE,4,1,false)
  935. ApplyAoE(AOE.Position,15,15,25,35,true,5)
  936. WACKYEFFECT({EffectType = "Wave", Size = VT(11,1,11), Size2 = VT(45,3,45), Transparency = 0, Transparency2 = 1, CFrame = CF(AOE.Position), MoveToPos = nil, RotationX = 0, RotationY = 15, RotationZ = 0, Material = "Neon", Color = BRICKC"Electric blue".Color, SoundID = nil, SoundPitch = MRANDOM(5,8)/10, SoundVolume = 6})
  937. wait(2)
  938. PARTCL.Enabled = false
  939. Debris:AddItem(AOE,2)
  940. elseif TIER == 2 then
  941. local AOE = CreatePart(3, Effects, "Granite", 0, 1, "Maroon", "Stomp", VT(40,0,40))
  942. AOE.CFrame = CF(RightLeg.Position-VT(0,1,0))
  943. local PARTCL = ParticleEmitter({Texture = 281983280, Speed = 0.2, RotSpeed = NumberRange.new(-15, 15), Drag = 2, Size1 = 4, Size2 = 6, Lifetime1 = 0.01, Lifetime2 = 0.1, Parent = AOE, Emit = 100, Offset = 360, Enabled = true, Color1 = BRICKC"Electric blue".Color, Color2 = BRICKC"Electric blue".Color})
  944. PARTCL.Rate = 999
  945. CreateSound(304999618,AOE,5,1,false)
  946. CreateSound(130972023,AOE,4,1,false)
  947. ApplyAoE(AOE.Position,20,25,35,35,true,6)
  948. WACKYEFFECT({EffectType = "Wave", Size = VT(11,1,11), Size2 = VT(55,3,55), Transparency = 0, Transparency2 = 1, CFrame = CF(AOE.Position), MoveToPos = nil, RotationX = 0, RotationY = 15, RotationZ = 0, Material = "Neon", Color = BRICKC"Electric blue".Color, SoundID = nil, SoundPitch = MRANDOM(5,8)/10, SoundVolume = 6})
  949. wait(2)
  950. PARTCL.Enabled = false
  951. Debris:AddItem(AOE,2)
  952. elseif TIER == 3 then
  953. local AOE = CreatePart(3, Effects, "Granite", 0, 1, "Maroon", "Stomp", VT(50,0,50))
  954. AOE.CFrame = CF(RightLeg.Position-VT(0,1,0))
  955. local PARTCL = ParticleEmitter({Texture = 281983280, Speed = 0.2, RotSpeed = NumberRange.new(-15, 15), Drag = 2, Size1 = 4, Size2 = 6, Lifetime1 = 0.01, Lifetime2 = 0.1, Parent = AOE, Emit = 100, Offset = 360, Enabled = true, Color1 = BRICKC"Electric blue".Color, Color2 = BRICKC"Electric blue".Color})
  956. PARTCL.Rate = 999
  957. CreateSound(304999618,AOE,5,1,false)
  958. CreateSound(130972023,AOE,4,1,false)
  959. for i = 1, 3 do
  960. ApplyAoE(AOE.Position,30,5,15,5,true,7)WACKYEFFECT({EffectType = "Wave", Size = VT(11,1,11), Size2 = VT(55,3,55), Transparency = 0, Transparency2 = 1, CFrame = CF(AOE.Position), MoveToPos = nil, RotationX = 0, RotationY = 15, RotationZ = 0, Material = "Neon", Color = BRICKC"Electric blue".Color, SoundID = nil, SoundPitch = MRANDOM(5,8)/10, SoundVolume = 6})
  961. wait(0.5)
  962. end
  963. wait(1.5)
  964. PARTCL.Enabled = false
  965. Debris:AddItem(AOE,2)
  966. end
  967. end))
  968. for i=0, 2, 0.1 / Animation_Speed do
  969. Swait()
  970. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0.6) * ANGLES(RAD(15), RAD(0), RAD(0)), 1 / Animation_Speed)
  971. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-5), RAD(0), RAD(0)), 1 / Animation_Speed)
  972. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(120), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  973. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(120), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  974. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.5) * ANGLES(RAD(20), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  975. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(-25), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 1 / Animation_Speed)
  976. end
  977. RING.Anchored = true
  978. WELD:remove()
  979. coroutine.resume(coroutine.create(function()
  980. for i = 1, 25 do
  981. Swait()
  982. RING.TopTexture.Transparency = RING.TopTexture.Transparency + 1/25
  983. RING.BottomTexture.Transparency = RING.BottomTexture.Transparency + 1/25
  984. MESH.Scale = MESH.Scale - VT(3,0,3)
  985. end
  986. RING:remove()
  987. end))
  988. GRAV:remove()
  989. ATTACK = false
  990. Rooted = false
  991. end
  992.  
  993. function ToxicDevastation()
  994. ATTACK = true
  995. Rooted = false
  996. Speed = 5
  997. local STRENGTH = 50
  998. local TIER = 1
  999. for i=0, 1, 0.1 / Animation_Speed do
  1000. Swait()
  1001. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -1.5) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1002. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-25), RAD(0), RAD(0)), 1 / Animation_Speed)
  1003. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-15), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1004. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-15), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1005. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.15, -0.5) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1006. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.3) * ANGLES(RAD(-90), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1007. end
  1008. local POS = RootPart.Position
  1009. Rooted = true
  1010. Speed = Walkspeed
  1011. local TIMER = 0
  1012. local bv = Instance.new("BodyVelocity")
  1013. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  1014. bv.velocity = CF(RootPart.Position,RootPart.Position+VT(0,5,0)).lookVector*150
  1015. bv.Parent = RootPart
  1016. WACKYEFFECT({EffectType = "Wave", Size = VT(0,0,0), Size2 = VT(5,1,5), Transparency = 0, Transparency2 = 1, CFrame = CF(RootPart.Position+VT(0,-3.5,0)), MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = BRICKC"Pearl".Color, SoundID = 1112042117, SoundPitch = MRANDOM(5,8)/10, SoundVolume = 6})
  1017. repeat
  1018. Swait()
  1019. TIMER = TIMER + 1
  1020. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1021. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1022. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(20)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed)
  1023. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  1024. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.3) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(-20)), 0.2 / Animation_Speed)
  1025. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.3) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(20)), 0.2 / Animation_Speed)
  1026. until RootPart.Position.Y > POS.Y+80 or TIMER > 100
  1027. local GRAV = IT("BodyPosition",RootPart)
  1028. GRAV.D = 250
  1029. GRAV.P = 20000
  1030. GRAV.MaxForce = VT(math.huge,math.huge,math.huge)
  1031. GRAV.Position = RootPart.Position
  1032. bv:remove()
  1033. local G = IT("BodyGyro",RootPart)
  1034. G.D = 250
  1035. G.P = 200000
  1036. G.MaxTorque = VT(math.huge,math.huge,math.huge)
  1037. local RING,WELD,MESH = MagicRing(Torso,CF(0,3,0))
  1038. CreateSound(RINGSOUND,RING,5,1,false)
  1039. local ORB = CreatePart(3, Effects, "Neon", 0, 0, "Electric blue", "Ball", VT(3,3,3))
  1040. MakeForm(ORB,"Ball")
  1041. local LOOP = 0
  1042. repeat
  1043. Swait()
  1044. LOOP = LOOP + 1
  1045. ORB.CFrame = Torso.CFrame*CF(0,4+ORB.Size.X/2,0)
  1046. STRENGTH = STRENGTH + 0.3
  1047. if STRENGTH > 200 then
  1048. STRENGTH = 200
  1049. else
  1050. ORB.Size = ORB.Size + VT(0.02,0.02,0.02)
  1051. end
  1052. if MESH.Scale.X < 120 then
  1053. MESH.Scale = MESH.Scale + VT(5,0,5)
  1054. elseif MESH.Scale.X < 200 then
  1055. MESH.Scale = MESH.Scale + VT(0.6,0,0.6)
  1056. end
  1057. if LOOP == 4 then
  1058. LOOP = 0
  1059. POWER = POWER - 1
  1060. end
  1061. if MRANDOM(1,25) == 1 then
  1062. Lightning({Color = ORB.Color, Start = ORB.Position, End = ORB.Position+VT(MRANDOM(-45,45),MRANDOM(-45,45),MRANDOM(-45,45)), SegmentL = 1, Thickness = 0.1, DoesFade = false, Ignore = Character, MaxDist = ORB.Size.X, Branches = false})
  1063. end
  1064. G.cframe = CF(RootPart.Position,Mouse.Hit.p)
  1065. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1066. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1067. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(170), RAD(0), RAD(15)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1068. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(170), RAD(0), RAD(-15)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1069. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(0), RAD(74), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 1 / Animation_Speed)
  1070. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-74), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 1 / Animation_Speed)
  1071. until (KEYHOLD == false and MESH.Scale.X >= 170) or POWER == 0
  1072. if STRENGTH >= 150 and STRENGTH ~= 200 then
  1073. TIER = 2
  1074. elseif STRENGTH == 200 then
  1075. TIER = 3
  1076. end
  1077. coroutine.resume(coroutine.create(function()
  1078. ORB.CFrame = CF(ORB.Position,Mouse.Hit.p)
  1079. CreateSound(1112042117,ORB,5,0.8,false)
  1080. for i = 1, 200 do
  1081. Swait()
  1082. ORB.CFrame = ORB.CFrame*CF(0,0,-2)
  1083. if MRANDOM(1,5) == 1 then
  1084. Lightning({Color = ORB.Color, Start = ORB.Position, End = ORB.Position+VT(MRANDOM(-45,45),MRANDOM(-45,45),MRANDOM(-45,45)), SegmentL = 1, Thickness = 0.1, DoesFade = false, Ignore = Character, MaxDist = ORB.Size.X, Branches = false})
  1085. end
  1086. local HIT = Raycast(ORB.Position, ORB.CFrame.lookVector, ORB.Size.X/2, Character)
  1087. if HIT ~= nil then
  1088. ORB.Transparency = 1
  1089. coroutine.resume(coroutine.create(function()
  1090. local COLOR = ORB.Color
  1091. local POS = ORB.Position
  1092. local SIZE = ORB.Size
  1093. local TIMES = 12 + TIER*3
  1094. local FAKEORB = CreatePart(3, Effects, "Neon", 0, 0, "Electric blue", "Ball", ORB.Size)
  1095. FAKEORB.CFrame = CF(POS)
  1096. MakeForm(FAKEORB,"Ball")
  1097. local TIME = 0
  1098. ApplyAoE(FAKEORB.Position,30+(25*TIER),15,25,0,true,10)
  1099. WACKYEFFECT({Time = 35, EffectType = "Sphere", Size = FAKEORB.Size, Size2 = VT(35+(25*TIER),35+(25*TIER),35+(25*TIER)), Transparency = 0.8, Transparency2 = 1, CFrame = CF(POS), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = COLOR, SoundID = 178452241, SoundPitch = 1, SoundVolume = 6})
  1100. for i = 1, 5 do
  1101. WACKYEFFECT({Time = 15, EffectType = "Wave", Size = VT(5,0,5), Size2 = VT(35+(25*TIER),3,35+(25*TIER)), Transparency = 0.5, Transparency2 = 1, CFrame = CF(POS) * ANGLES(RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 0, RotationY = -5, RotationZ = 0, Material = "Neon", Color = COLOR, SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
  1102. end
  1103. for i = 1, TIMES*20 do
  1104. TIME = TIME + 1
  1105. wait()
  1106. if MRANDOM(1,math.ceil(5+(i/15))) == 1 then
  1107. Lightning({Color = ORB.Color, Start = FAKEORB.Position, End = FAKEORB.Position+VT(MRANDOM(-45,45),MRANDOM(-45,45),MRANDOM(-45,45)), SegmentL = 1, Thickness = 0.1, DoesFade = false, Ignore = Character, MaxDist = i/5, Branches = false})
  1108. end
  1109. FAKEORB.Size = FAKEORB.Size - SIZE/(TIMES*20)
  1110. if TIME >= 20 then
  1111. TIME = 0
  1112. ApplyAoE(FAKEORB.Position,30+(25*TIER),15,25,0,true,10)
  1113. WACKYEFFECT({Time = 35, EffectType = "Sphere", Size = FAKEORB.Size, Size2 = VT(35+(25*TIER),35+(25*TIER),35+(25*TIER)), Transparency = 0.8, Transparency2 = 1, CFrame = CF(POS), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = COLOR, SoundID = 178452241, SoundPitch = 1, SoundVolume = 6})
  1114. for i = 1, 5 do
  1115. WACKYEFFECT({Time = 15, EffectType = "Wave", Size = VT(5,0,5), Size2 = VT(35+(25*TIER),3,35+(25*TIER)), Transparency = 0.5, Transparency2 = 1, CFrame = CF(POS) * ANGLES(RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 0, RotationY = -5, RotationZ = 0, Material = "Neon", Color = COLOR, SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
  1116. end
  1117. end
  1118. end
  1119. FAKEORB:remove()
  1120. end))
  1121. break
  1122. end
  1123. end
  1124. ORB:remove()
  1125. end))
  1126. for i=0, 1, 0.1 / Animation_Speed do
  1127. Swait()
  1128. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(5), RAD(0), RAD(0)), 1 / Animation_Speed)
  1129. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15), RAD(0), RAD(0)), 1 / Animation_Speed)
  1130. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(-15)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1131. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(15)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1132. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(0), RAD(74), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 1 / Animation_Speed)
  1133. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-74), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 1 / Animation_Speed)
  1134. end
  1135. coroutine.resume(coroutine.create(function()
  1136. for i = 1, 25 do
  1137. Swait()
  1138. RING.TopTexture.Transparency = RING.TopTexture.Transparency + 1/25
  1139. RING.BottomTexture.Transparency = RING.BottomTexture.Transparency + 1/25
  1140. MESH.Scale = MESH.Scale - VT(3,0,3)
  1141. end
  1142. RING:remove()
  1143. end))
  1144. GRAV:remove()
  1145. G:remove()
  1146. ATTACK = false
  1147. Rooted = false
  1148. end
  1149.  
  1150. --//=================================\\
  1151. --|| ASSIGN THINGS TO KEYS
  1152. --\\=================================//
  1153.  
  1154. function MouseDown(Mouse)
  1155. if ATTACK == false then
  1156. end
  1157. end
  1158.  
  1159. function MouseUp(Mouse)
  1160. HOLD = false
  1161. end
  1162.  
  1163. function KeyDown(Key)
  1164. KEYHOLD = true
  1165. if Key == "q" and ATTACK == false and POWER >= 50 then
  1166. POWER = POWER - 50
  1167. PoisonBolt()
  1168. end
  1169.  
  1170. if Key == "r" and ATTACK == false and POWER >= 125 then
  1171. POWER = POWER - 125
  1172. ToxicStomp()
  1173. end
  1174.  
  1175. if Key == "x" and ATTACK == false and POWER >= 250 then
  1176. POWER = POWER - 250
  1177. ToxicDevastation()
  1178. end
  1179.  
  1180. if string.byte(Key) == 48 and ATTACK == false and (POWER ~= MAXPOWER or Humanoid.Health ~= Humanoid.MaxHealth) then
  1181. Charge()
  1182. end
  1183.  
  1184. if string.byte(Key) == 50 and ATTACK == false then
  1185. if Walkspeed == 16 then
  1186. Walkspeed = 30
  1187. Speed = 30
  1188. elseif Walkspeed == 30 then
  1189. Walkspeed = 16
  1190. Speed = 16
  1191. end
  1192. end
  1193. end
  1194.  
  1195. function KeyUp(Key)
  1196. KEYHOLD = false
  1197. end
  1198.  
  1199. Mouse.Button1Down:connect(function(NEWKEY)
  1200. MouseDown(NEWKEY)
  1201. end)
  1202. Mouse.Button1Up:connect(function(NEWKEY)
  1203. MouseUp(NEWKEY)
  1204. end)
  1205. Mouse.KeyDown:connect(function(NEWKEY)
  1206. KeyDown(NEWKEY)
  1207. end)
  1208. Mouse.KeyUp:connect(function(NEWKEY)
  1209. KeyUp(NEWKEY)
  1210. end)
  1211.  
  1212. --//=================================\\
  1213. --\\=================================//
  1214.  
  1215.  
  1216. function unanchor()
  1217. if UNANCHOR == true then
  1218. g = Character:GetChildren()
  1219. for i = 1, #g do
  1220. if g[i].ClassName == "Part" then
  1221. g[i].Anchored = false
  1222. end
  1223. end
  1224. end
  1225. end
  1226.  
  1227.  
  1228. --//=================================\\
  1229. --|| WRAP THE WHOLE SCRIPT UP
  1230. --\\=================================//
  1231.  
  1232. Humanoid.Changed:connect(function(Jump)
  1233. if Jump == "Jump" and (Disable_Jump == true) then
  1234. Humanoid.Jump = false
  1235. end
  1236. end)
  1237.  
  1238. while true do
  1239. Swait()
  1240. script.Parent = WEAPONGUI
  1241. ANIMATE.Parent = nil
  1242. for _,v in next, Humanoid:GetPlayingAnimationTracks() do
  1243. v:Stop();
  1244. end
  1245. SINE = SINE + CHANGE
  1246. local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude
  1247. local TORSOVERTICALVELOCITY = RootPart.Velocity.y
  1248. local HITFLOOR = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4, Character)
  1249. local WALKSPEEDVALUE = 5
  1250. if ANIM == "Walk" and TORSOVELOCITY > 1 then
  1251. if Humanoid.WalkSpeed <= 20 then
  1252. RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, -0.05 * COS(SINE / (WALKSPEEDVALUE / 2))) * ANGLES(RAD(0), RAD(0) - RootPart.RotVelocity.Y / 75, RAD(0)), 2 * 1 / Animation_Speed)
  1253. Neck.C1 = Clerp(Neck.C1, CF(0, -0.5, 0) * ANGLES(RAD(-90), RAD(0), RAD(180)) * ANGLES(RAD(2.5 * SIN(SINE / (WALKSPEEDVALUE / 2))), RAD(0), RAD(0) - Head.RotVelocity.Y / 30), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  1254. RightHip.C1 = Clerp(RightHip.C1, CF(0.5, 0.875 - 0.125 * SIN(SINE / WALKSPEEDVALUE) - 0.05 * COS(SINE / WALKSPEEDVALUE*2), -0.125 * COS(SINE / WALKSPEEDVALUE) +0.2+ 0.2 * COS(SINE / WALKSPEEDVALUE)) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0) - RightLeg.RotVelocity.Y / 75, RAD(0), RAD(45 * COS(SINE / WALKSPEEDVALUE))), 0.5 / Animation_Speed)
  1255. LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5, 0.875 + 0.125 * SIN(SINE / WALKSPEEDVALUE) - 0.05 * COS(SINE / WALKSPEEDVALUE*2), 0.125 * COS(SINE / WALKSPEEDVALUE) +0.2+ -0.2 * COS(SINE / WALKSPEEDVALUE)) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0) + LeftLeg.RotVelocity.Y / 75, RAD(0), RAD(45 * COS(SINE / WALKSPEEDVALUE))), 0.5 / Animation_Speed)
  1256. else
  1257. RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, -0.15 * COS(SINE / (WALKSPEEDVALUE / (2*1.3)))) * ANGLES(RAD(0), RAD(0) - RootPart.RotVelocity.Y / 75, RAD(0)), 2 * 1 / Animation_Speed)
  1258. Neck.C1 = Clerp(Neck.C1, CF(0, -0.5, 0) * ANGLES(RAD(-90), RAD(0), RAD(180)) * ANGLES(RAD(2.5 * SIN(SINE / (WALKSPEEDVALUE / (2*1.3)))), RAD(0), RAD(0) - Head.RotVelocity.Y / 30), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  1259. RightHip.C1 = Clerp(RightHip.C1, CF(0.5, 0.875 - 0.125 * SIN(SINE / WALKSPEEDVALUE*1.3) - 0.15 * COS(SINE / WALKSPEEDVALUE*(2*1.3)), -0.125 * COS(SINE / WALKSPEEDVALUE*1.3) +0.2+ 0.2 * COS(SINE / WALKSPEEDVALUE*1.3)) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0) - RightLeg.RotVelocity.Y / 75, RAD(0), RAD(75 * COS(SINE / WALKSPEEDVALUE*1.3))), 0.5 / Animation_Speed)
  1260. LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5, 0.875 + 0.125 * SIN(SINE / WALKSPEEDVALUE*1.3) - 0.15 * COS(SINE / WALKSPEEDVALUE*(2*1.3)), 0.125 * COS(SINE / WALKSPEEDVALUE*1.3) +0.2+ -0.2 * COS(SINE / WALKSPEEDVALUE*1.3)) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0) + LeftLeg.RotVelocity.Y / 75, RAD(0), RAD(75 * COS(SINE / WALKSPEEDVALUE*1.3))), 0.5 / Animation_Speed)
  1261. end
  1262. elseif (ANIM ~= "Walk") or (TORSOVELOCITY < 1) then
  1263. RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1264. Neck.C1 = Clerp(Neck.C1, CF(0, -0.5, 0) * ANGLES(RAD(-90), RAD(0), RAD(180)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1265. RightHip.C1 = Clerp(RightHip.C1, CF(0.5, 1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1266. LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5, 1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1267. end
  1268. if TORSOVERTICALVELOCITY > 1 and HITFLOOR == nil then
  1269. ANIM = "Jump"
  1270. if ATTACK == false then
  1271. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1272. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1273. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(20)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed)
  1274. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  1275. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.3) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(-20)), 0.2 / Animation_Speed)
  1276. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.3) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(20)), 0.2 / Animation_Speed)
  1277. end
  1278. elseif TORSOVERTICALVELOCITY < -1 and HITFLOOR == nil then
  1279. ANIM = "Fall"
  1280. if ATTACK == false then
  1281. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 ) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1282. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 , 0 + ((1) - 1)) * ANGLES(RAD(20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1283. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(60)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed)
  1284. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-60)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  1285. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(20)), 0.2 / Animation_Speed)
  1286. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(10)), 0.2 / Animation_Speed)
  1287. end
  1288. elseif TORSOVELOCITY < 1 and HITFLOOR ~= nil then
  1289. ANIM = "Idle"
  1290. if ATTACK == false then
  1291. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0 - 0.05 * COS(SINE / 12), 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(-2 + 2 * COS(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1292. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1293. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(-15), RAD(5 + 1 * COS(SINE / 12))) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  1294. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(15), RAD(-5 - 1 * COS(SINE / 12))) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  1295. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(-2 + 2 * COS(SINE / 12)), RAD(74), RAD(0)) * ANGLES(RAD(-2), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1296. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(-2 + 2 * COS(SINE / 12)), RAD(-74), RAD(0)) * ANGLES(RAD(-2), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1297. end
  1298. elseif TORSOVELOCITY > 1 and HITFLOOR ~= nil then
  1299. ANIM = "Walk"
  1300. if ATTACK == false then
  1301. if Humanoid.WalkSpeed <= 20 then
  1302. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.1) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1303. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1304. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(30 * COS(SINE / WALKSPEEDVALUE)), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 0.85 / Animation_Speed)
  1305. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-30 * COS(SINE / WALKSPEEDVALUE)), RAD(0), RAD(0)) * LEFTSHOULDERC0, 0.85 / Animation_Speed)
  1306. RightHip.C0 = Clerp(RightHip.C0, CF(1 , -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(-15)), 2 / Animation_Speed)
  1307. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(15)), 2 / Animation_Speed)
  1308. elseif Humanoid.WalkSpeed > 20 then
  1309. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.1) * ANGLES(RAD(35), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1310. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-35), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1311. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(35), RAD(35), RAD(0)) * ANGLES(RAD(60 * COS(SINE / WALKSPEEDVALUE*1.3)), RAD(0), RAD(2)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  1312. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(35), RAD(-35), RAD(0)) * ANGLES(RAD(-60 * COS(SINE / WALKSPEEDVALUE*1.3)), RAD(0), RAD(-2)) * LEFTSHOULDERC0, 2 / Animation_Speed)
  1313. RightHip.C0 = Clerp(RightHip.C0, CF(1 , -1, 0) * ANGLES(RAD(0), RAD(80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(6)), 2 / Animation_Speed)
  1314. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(-6)), 2 / Animation_Speed)
  1315. end
  1316. end
  1317. end
  1318. unanchor()
  1319. if Rooted == false then
  1320. Disable_Jump = false
  1321. Humanoid.WalkSpeed = Speed
  1322. elseif Rooted == true then
  1323. Disable_Jump = true
  1324. Humanoid.WalkSpeed = 0
  1325. end
  1326. sick.SoundId = "rbxassetid://0"
  1327. sick.Looped = true
  1328. sick.Pitch = 1
  1329. sick.Volume = 3
  1330. sick.Parent = Torso
  1331. sick.Playing = true
  1332. MANACOVER:TweenSize(UD2(1 * (POWER / MAXPOWER), 0, 1, 0), "Out", "Quad", 0.1, 0.1)
  1333. MANATEXT.Text = POWER.."/"..MAXPOWER
  1334. HEALTHCOVER:TweenSize(UD2(1 * (Humanoid.Health / Humanoid.MaxHealth), 0, 1, 0), "Out", "Quad", 0.1, 0.1)
  1335. HEALTHTEXT.Text = math.ceil(Humanoid.Health).."/"..Humanoid.MaxHealth
  1336. Humanoid.Health = Humanoid.Health + 0.05
  1337. end
  1338.  
  1339. --//=================================\\
  1340. --\\=================================//
  1341.  
  1342.  
  1343.  
  1344.  
  1345.  
  1346. --//====================================================\\--
  1347. --|| END OF SCRIPT
  1348. --\\====================================================//--
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement