Advertisement
memberhero

Untitled

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