Advertisement
memberhero

Earth Magic

May 4th, 2018
402
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 72.85 KB | None | 0 0
  1. --//====================================================\\--
  2. --|| EDITED BY GOODGUYAIDEN CREATED BY SHACKLUSTER
  3. --\\====================================================//--
  4.  
  5.  
  6.  
  7. wait(0.2)
  8.  
  9.  
  10.  
  11. Player = game:GetService("Players").LocalPlayer
  12. PlayerGui = Player.PlayerGui
  13. Cam = workspace.CurrentCamera
  14. Backpack = Player.Backpack
  15. Character = Player.Character
  16. Humanoid = Character.Humanoid
  17. Mouse = Player:GetMouse()
  18. RootPart = Character["HumanoidRootPart"]
  19. Torso = Character["Torso"]
  20. Head = Character["Head"]
  21. RightArm = Character["Right Arm"]
  22. LeftArm = Character["Left Arm"]
  23. RightLeg = Character["Right Leg"]
  24. LeftLeg = Character["Left Leg"]
  25. RootJoint = RootPart["RootJoint"]
  26. Neck = Torso["Neck"]
  27. RightShoulder = Torso["Right Shoulder"]
  28. LeftShoulder = Torso["Left Shoulder"]
  29. RightHip = Torso["Right Hip"]
  30. LeftHip = Torso["Left Hip"]
  31. local sick = Instance.new("Sound",Character)
  32. sick.SoundId = "rbxassetid://203941422"
  33. sick.Looped = true
  34. sick.Pitch = 1
  35. sick.Volume = 1
  36. sick:Play()
  37. local FORM = 1
  38. local STAGE1MUSIC = "rbxassetid://147888653"
  39. local STAGE2MUSIC = "rbxassetid://212693212"
  40. local txt = Instance.new("BillboardGui", Character)
  41. CV="Lime green"
  42. txt.Adornee = Character.Head
  43. txt.Name = "_status"
  44. txt.Size = UDim2.new(2, 0, 1.2, 0)
  45. txt.StudsOffset = Vector3.new(-9, 8, 0)
  46. local text = Instance.new("TextLabel", txt)
  47. text.Size = UDim2.new(10, 0, 7, 0)
  48. text.FontSize = "Size24"
  49. text.TextScaled = true
  50. text.TextTransparency = 0
  51. text.BackgroundTransparency = 1
  52. text.TextTransparency = 0
  53. text.TextStrokeTransparency = 0
  54. text.Font = "Bodoni"
  55. text.TextStrokeColor3 = BrickColor.new("Crimson").Color
  56. text.TextColor3 = BrickColor.new("Really red").Color
  57. text.Text = " "
  58.  
  59.  
  60.  
  61. IT = Instance.new
  62. CF = CFrame.new
  63. VT = Vector3.new
  64. RAD = math.rad
  65. C3 = Color3.new
  66. UD2 = UDim2.new
  67. BRICKC = BrickColor.new
  68. ANGLES = CFrame.Angles
  69. EULER = CFrame.fromEulerAnglesXYZ
  70. COS = math.cos
  71. ACOS = math.acos
  72. SIN = math.sin
  73. ASIN = math.asin
  74. ABS = math.abs
  75. MRANDOM = math.random
  76. FLOOR = math.floor
  77.  
  78. function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
  79. local NEWMESH = IT(MESH)
  80. if MESH == "SpecialMesh" then
  81. NEWMESH.MeshType = MESHTYPE
  82. if MESHID ~= "nil" and MESHID ~= "" then
  83. NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID
  84. end
  85. if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
  86. NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID
  87. end
  88. end
  89. NEWMESH.Offset = OFFSET or VT(0, 0, 0)
  90. NEWMESH.Scale = SCALE
  91. NEWMESH.Parent = PARENT
  92. return NEWMESH
  93. end
  94.  
  95. function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
  96. local NEWPART = IT("Part")
  97. NEWPART.formFactor = FORMFACTOR
  98. NEWPART.Reflectance = REFLECTANCE
  99. NEWPART.Transparency = TRANSPARENCY
  100. NEWPART.CanCollide = false
  101. NEWPART.Locked = true
  102. NEWPART.Anchored = true
  103. if ANCHOR == false then
  104. NEWPART.Anchored = false
  105. end
  106. NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
  107. NEWPART.Name = NAME
  108. NEWPART.Size = SIZE
  109. NEWPART.Position = Torso.Position
  110. NEWPART.Material = MATERIAL
  111. NEWPART:BreakJoints()
  112. NEWPART.Parent = PARENT
  113. return NEWPART
  114. end
  115.  
  116. --//=================================\\
  117. --|| CUSTOMIZATION
  118. --\\=================================//
  119.  
  120. Player_Size = 1 --Size of the player.
  121. Animation_Speed = 3
  122. Animation_Speed2 = 0.7
  123. Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60)
  124.  
  125. local Speed = 16
  126. local Effects2 = {}
  127.  
  128. --//=================================\\
  129. --|| END OF CUSTOMIZATION
  130. --\\=================================//
  131.  
  132. local function weldBetween(a, b)
  133. local weldd = Instance.new("ManualWeld")
  134. weldd.Part0 = a
  135. weldd.Part1 = b
  136. weldd.C0 = CFrame.new()
  137. weldd.C1 = b.CFrame:inverse() * a.CFrame
  138. weldd.Parent = a
  139. return weldd
  140. end
  141.  
  142. --//=================================\\
  143. --|| USEFUL VALUES
  144. --\\=================================//
  145.  
  146. local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  147. local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  148. local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0))
  149. local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0))
  150. local CHANGEDEFENSE = 0
  151. local CHANGEDAMAGE = 0
  152. local CHANGEMOVEMENT = 0
  153. local ANIM = "Idle"
  154. local ATTACK = false
  155. local EQUIPPED = false
  156. local HOLD = false
  157. local COMBO = 1
  158. local Rooted = false
  159. local SINE = 0
  160. local KEYHOLD = false
  161. local CHANGE = 2 / Animation_Speed
  162. local WALKINGANIM = false
  163. local WALK = 0
  164. local VALUE1 = false
  165. local VALUE2 = false
  166. local ROBLOXIDLEANIMATION = IT("Animation")
  167. ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation"
  168. ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571"
  169. --ROBLOXIDLEANIMATION.Parent = Humanoid
  170. local WEAPONGUI = IT("ScreenGui", PlayerGui)
  171. WEAPONGUI.Name = "Weapon GUI"
  172. local Weapon = IT("Model")
  173. Weapon.Name = "Adds"
  174. local Effects = IT("Folder", Weapon)
  175. Effects.Name = "Effects"
  176. local TelekenesisEffects = IT("Folder", Weapon)
  177. TelekenesisEffects.Name = "HoldGraphics"
  178. local ANIMATOR = Humanoid.Animator
  179. local ANIMATE = Character.Animate
  180. local HITPLAYERSOUNDS = {--[["199149137", "199149186", "199149221", "199149235", "199149269", "199149297"--]]"263032172", "263032182", "263032200", "263032221", "263032252", "263033191"}
  181. local HITARMORSOUNDS = {"199149321", "199149338", "199149367", "199149409", "199149452"}
  182. local HITWEAPONSOUNDS = {"199148971", "199149025", "199149072", "199149109", "199149119"}
  183. local HITBLOCKSOUNDS = {"199148933", "199148947"}
  184. local UNANCHOR = true
  185. local TELEBODY = nil
  186. local NESISPART = nil
  187. local FINGERWORK = false
  188. local KEY = nil
  189. local PEWSOUND = {"907527750","907527912","907528019","907530553"}
  190.  
  191. local SKILLTEXTCOLOR = BRICKC("Maroon").Color
  192.  
  193. --//=================================\\
  194. --\\=================================//
  195.  
  196.  
  197. --//=================================\\
  198. --|| SAZERENOS' ARTIFICIAL HEARTBEAT
  199. --\\=================================//
  200.  
  201. ArtificialHB = Instance.new("BindableEvent", script)
  202. ArtificialHB.Name = "ArtificialHB"
  203.  
  204. script:WaitForChild("ArtificialHB")
  205.  
  206. frame = Frame_Speed
  207. tf = 0
  208. allowframeloss = false
  209. tossremainder = false
  210. lastframe = tick()
  211. script.ArtificialHB:Fire()
  212.  
  213. game:GetService("RunService").Heartbeat:connect(function(s, p)
  214. tf = tf + s
  215. if tf >= frame then
  216. if allowframeloss then
  217. script.ArtificialHB:Fire()
  218. lastframe = tick()
  219. else
  220. for i = 1, math.floor(tf / frame) do
  221. script.ArtificialHB:Fire()
  222. end
  223. lastframe = tick()
  224. end
  225. if tossremainder then
  226. tf = 0
  227. else
  228. tf = tf - frame * math.floor(tf / frame)
  229. end
  230. end
  231. end)
  232.  
  233. --//=================================\\
  234. --\\=================================//
  235.  
  236.  
  237.  
  238.  
  239.  
  240. --//=================================\\
  241. --|| SOME FUNCTIONS
  242. --\\=================================//
  243.  
  244. function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
  245. return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
  246. end
  247.  
  248. function PositiveAngle(NUMBER)
  249. if NUMBER >= 0 then
  250. NUMBER = 0
  251. end
  252. return NUMBER
  253. end
  254.  
  255. function NegativeAngle(NUMBER)
  256. if NUMBER <= 0 then
  257. NUMBER = 0
  258. end
  259. return NUMBER
  260. end
  261.  
  262. function Swait(NUMBER)
  263. if NUMBER == 0 or NUMBER == nil then
  264. ArtificialHB.Event:wait()
  265. else
  266. for i = 1, NUMBER do
  267. ArtificialHB.Event:wait()
  268. end
  269. end
  270. end
  271.  
  272. function QuaternionFromCFrame(cf)
  273. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  274. local trace = m00 + m11 + m22
  275. if trace > 0 then
  276. local s = math.sqrt(1 + trace)
  277. local recip = 0.5 / s
  278. return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  279. else
  280. local i = 0
  281. if m11 > m00 then
  282. i = 1
  283. end
  284. if m22 > (i == 0 and m00 or m11) then
  285. i = 2
  286. end
  287. if i == 0 then
  288. local s = math.sqrt(m00 - m11 - m22 + 1)
  289. local recip = 0.5 / s
  290. return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  291. elseif i == 1 then
  292. local s = math.sqrt(m11 - m22 - m00 + 1)
  293. local recip = 0.5 / s
  294. return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  295. elseif i == 2 then
  296. local s = math.sqrt(m22 - m00 - m11 + 1)
  297. local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  298. end
  299. end
  300. end
  301.  
  302. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  303. local xs, ys, zs = x + x, y + y, z + z
  304. local wx, wy, wz = w * xs, w * ys, w * zs
  305. local xx = x * xs
  306. local xy = x * ys
  307. local xz = x * zs
  308. local yy = y * ys
  309. local yz = y * zs
  310. local zz = z * zs
  311. 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))
  312. end
  313.  
  314. function QuaternionSlerp(a, b, t)
  315. local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  316. local startInterp, finishInterp;
  317. if cosTheta >= 0.0001 then
  318. if (1 - cosTheta) > 0.0001 then
  319. local theta = ACOS(cosTheta)
  320. local invSinTheta = 1 / SIN(theta)
  321. startInterp = SIN((1 - t) * theta) * invSinTheta
  322. finishInterp = SIN(t * theta) * invSinTheta
  323. else
  324. startInterp = 1 - t
  325. finishInterp = t
  326. end
  327. else
  328. if (1 + cosTheta) > 0.0001 then
  329. local theta = ACOS(-cosTheta)
  330. local invSinTheta = 1 / SIN(theta)
  331. startInterp = SIN((t - 1) * theta) * invSinTheta
  332. finishInterp = SIN(t * theta) * invSinTheta
  333. else
  334. startInterp = t - 1
  335. finishInterp = t
  336. end
  337. end
  338. 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
  339. end
  340.  
  341. function Clerp(a, b, t)
  342. local qa = {QuaternionFromCFrame(a)}
  343. local qb = {QuaternionFromCFrame(b)}
  344. local ax, ay, az = a.x, a.y, a.z
  345. local bx, by, bz = b.x, b.y, b.z
  346. local _t = 1 - t
  347. return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  348. end
  349.  
  350. function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME)
  351. local frame = IT("Frame")
  352. frame.BackgroundTransparency = TRANSPARENCY
  353. frame.BorderSizePixel = BORDERSIZEPIXEL
  354. frame.Position = POSITION
  355. frame.Size = SIZE
  356. frame.BackgroundColor3 = COLOR
  357. frame.BorderColor3 = BORDERCOLOR
  358. frame.Name = NAME
  359. frame.Parent = PARENT
  360. return frame
  361. end
  362.  
  363. function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME)
  364. local label = IT("TextLabel")
  365. label.BackgroundTransparency = 1
  366. label.Size = UD2(1, 0, 1, 0)
  367. label.Position = UD2(0, 0, 0, 0)
  368. label.TextColor3 = TEXTCOLOR
  369. label.TextStrokeTransparency = STROKETRANSPARENCY
  370. label.TextTransparency = TRANSPARENCY
  371. label.FontSize = TEXTFONTSIZE
  372. label.Font = TEXTFONT
  373. label.BorderSizePixel = BORDERSIZEPIXEL
  374. label.TextScaled = false
  375. label.Text = TEXT
  376. label.Name = NAME
  377. label.Parent = PARENT
  378. return label
  379. end
  380.  
  381. function NoOutlines(PART)
  382. PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10
  383. end
  384.  
  385.  
  386. function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
  387. local NEWWELD = IT(TYPE)
  388. NEWWELD.Part0 = PART0
  389. NEWWELD.Part1 = PART1
  390. NEWWELD.C0 = C0
  391. NEWWELD.C1 = C1
  392. NEWWELD.Parent = PARENT
  393. return NEWWELD
  394. end
  395.  
  396. function CreateSound(ID, PARENT, VOLUME, PITCH)
  397. local NEWSOUND = nil
  398. coroutine.resume(coroutine.create(function()
  399. NEWSOUND = IT("Sound", PARENT)
  400. NEWSOUND.Volume = VOLUME
  401. NEWSOUND.Pitch = PITCH
  402. NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID
  403. Swait()
  404. NEWSOUND:play()
  405. game:GetService("Debris"):AddItem(NEWSOUND, 10)
  406. end))
  407. return NEWSOUND
  408. end
  409.  
  410. function CFrameFromTopBack(at, top, back)
  411. local right = top:Cross(back)
  412. 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)
  413. end
  414.  
  415. function MakeForm(PART,TYPE)
  416. if TYPE == "Cyl" then
  417. local MSH = IT("CylinderMesh",PART)
  418. elseif TYPE == "Ball" then
  419. local MSH = IT("SpecialMesh",PART)
  420. MSH.MeshType = "Sphere"
  421. elseif TYPE == "Wedge" then
  422. local MSH = IT("SpecialMesh",PART)
  423. MSH.MeshType = "Wedge"
  424. end
  425. end
  426.  
  427. function CheckTableForString(Table, String)
  428. for i, v in pairs(Table) do
  429. if string.find(string.lower(String), string.lower(v)) then
  430. return true
  431. end
  432. end
  433. return false
  434. end
  435.  
  436. function CheckIntangible(Hit)
  437. local ProjectileNames = {"Water", "Arrow", "Projectile", "Effect", "Rail", "Lightning", "Bullet"}
  438. if Hit and Hit.Parent then
  439. if ((not Hit.CanCollide or CheckTableForString(ProjectileNames, Hit.Name)) and not Hit.Parent:FindFirstChild("Humanoid")) then
  440. return true
  441. end
  442. end
  443. return false
  444. end
  445.  
  446. Debris = game:GetService("Debris")
  447.  
  448. function CastZapRay(StartPos, Vec, Length, Ignore, DelayIfHit)
  449. local Direction = CFrame.new(StartPos, Vec).lookVector
  450. local Ignore = ((type(Ignore) == "table" and Ignore) or {Ignore})
  451. local RayHit, RayPos, RayNormal = game:GetService("Workspace"):FindPartOnRayWithIgnoreList(Ray.new(StartPos, Direction * Length), Ignore)
  452. if RayHit and CheckIntangible(RayHit) then
  453. if DelayIfHit then
  454. wait()
  455. end
  456. RayHit, RayPos, RayNormal = CastZapRay((RayPos + (Vec * 0.01)), Vec, (Length - ((StartPos - RayPos).magnitude)), Ignore, DelayIfHit)
  457. end
  458. return RayHit, RayPos, RayNormal
  459. end
  460.  
  461. function turnto(position)
  462. RootPart.CFrame=CFrame.new(RootPart.CFrame.p,VT(position.X,RootPart.Position.Y,position.Z)) * CFrame.new(0, 0, 0)
  463. end
  464.  
  465. function MagicSphere(SIZE,WAIT,CFRAME,COLOR,GROW)
  466. local wave = CreatePart(3, Effects, "Neon", 0, 0, BRICKC(COLOR), "Effect", VT(1,1,1), true)
  467. local mesh = IT("SpecialMesh",wave)
  468. mesh.MeshType = "Sphere"
  469. mesh.Scale = SIZE
  470. mesh.Offset = VT(0,0,0)
  471. wave.CFrame = CFRAME
  472. coroutine.resume(coroutine.create(function(PART)
  473. for i = 1, WAIT do
  474. Swait()
  475. mesh.Scale = mesh.Scale + GROW
  476. wave.Transparency = wave.Transparency + (1/WAIT)
  477. if wave.Transparency > 0.99 then
  478. wave:remove()
  479. end
  480. end
  481. end))
  482. end
  483.  
  484. function Slice(SIZE,WAIT,CFRAME,COLOR,GROW)
  485. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(1,1,1), true)
  486. local mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "448386996", "", VT(0,SIZE/10,SIZE/10), VT(0,0,0))
  487. wave.CFrame = CFRAME
  488. coroutine.resume(coroutine.create(function(PART)
  489. for i = 1, WAIT do
  490. Swait()
  491. mesh.Scale = mesh.Scale * GROW
  492. wave.Transparency = wave.Transparency + (0.5/WAIT)
  493. if wave.Transparency > 0.99 then
  494. wave:remove()
  495. end
  496. end
  497. end))
  498. end
  499.  
  500. function CreateDebreeRing(FLOOR,POSITION,SIZE,BLOCKSIZE,SWAIT)
  501. if FLOOR ~= nil then
  502. coroutine.resume(coroutine.create(function()
  503. local PART = CreatePart(3, Effects, "Plastic", 0, 1, "Pearl", "DebreeCenter", VT(0,0,0))
  504. PART.CFrame = CF(POSITION)
  505. for i = 1, 45 do
  506. local RingPiece = CreatePart(3, Effects, "Plastic", 0, 0, "Pearl", "DebreePart", BLOCKSIZE)
  507. RingPiece.Material = FLOOR.Material
  508. RingPiece.Color = FLOOR.Color
  509. RingPiece.CFrame = PART.CFrame * ANGLES(RAD(0), RAD(i*8), RAD(0)) * CF(SIZE*4, 0, 0) * ANGLES(RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360)))
  510. Debris:AddItem(RingPiece,SWAIT)
  511. end
  512. PART:remove()
  513. end))
  514. end
  515. end
  516.  
  517. function CreateFlyingDebree(FLOOR,POSITION,AMOUNT,BLOCKSIZE,SWAIT,STRENGTH,DOESBREAK)
  518. if FLOOR ~= nil then
  519. for i = 1, AMOUNT do
  520. local DEBREE = CreatePart(3, Effects, "Neon", 0, 0, "Peal", "Debree", BLOCKSIZE, false)
  521. DEBREE.Material = FLOOR.Material
  522. DEBREE.Color = FLOOR.Color
  523. DEBREE.CFrame = POSITION * ANGLES(RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360)))
  524. DEBREE.Velocity = VT(MRANDOM(-STRENGTH,STRENGTH),MRANDOM(STRENGTH/2,STRENGTH*2),MRANDOM(-STRENGTH,STRENGTH))
  525. coroutine.resume(coroutine.create(function()
  526. if DOESBREAK == true then
  527. local IMPACT = false
  528. local Touched = DEBREE.Touched:Connect(function(hit)
  529. if hit.CanCollide == true and hit.Parent ~= Effects and IMPACT == false then
  530. IMPACT = true
  531. CreateFlyingDebree(FLOOR,DEBREE.CFrame,5,DEBREE.Size/2,SWAIT,STRENGTH,false)
  532. end
  533. end)
  534. end
  535. Swait(15)
  536. DEBREE.Parent = workspace
  537. DEBREE.CanCollide = true
  538. Debris:AddItem(DEBREE,SWAIT)
  539. end))
  540. end
  541. end
  542. end
  543.  
  544. function MagicBlock(SIZE,WAIT,CFRAME,COLOR,GROW)
  545. local wave = CreatePart(3, Effects, "Neon", 0, 0, BRICKC(COLOR), "Effect", VT(SIZE,SIZE,SIZE), true)
  546. local mesh = IT("BlockMesh",wave)
  547. wave.CFrame = CFRAME * ANGLES(RAD(math.random(-360,360)),RAD(math.random(-360,360)),RAD(math.random(-360,360)))
  548. coroutine.resume(coroutine.create(function(PART)
  549. for i = 1, WAIT do
  550. Swait()
  551. mesh.Scale = mesh.Scale + GROW
  552. wave.CFrame = CFRAME * ANGLES(RAD(math.random(-360,360)),RAD(math.random(-360,360)),RAD(math.random(-360,360)))
  553. wave.Transparency = wave.Transparency + (1/WAIT)
  554. if wave.Transparency > 0.99 then
  555. wave:remove()
  556. end
  557. end
  558. end))
  559. end
  560.  
  561. --//=================================\\
  562. --|| WEAPON CREATION
  563. --\\=================================//
  564.  
  565. local HITFLOOR = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4 * Player_Size, Character)
  566.  
  567. local HandlePart = CreatePart(3, Weapon, "DiamondPlate", 0, 0, "Maroon", "MainColor", VT(1.2,1.21,1.2),false)
  568. local Weld = CreateWeldOrSnapOrMotor("Weld", HandlePart, RightArm, HandlePart, CF(0, -0.6, 0) * ANGLES(RAD(0), RAD(90), RAD(0)), CF(0, 0, 0))
  569. local HandlePart = CreatePart(3, Weapon, "Metal", 0, 0, "EEE", "Handle", VT(1.05,1.21,0.5),false)
  570. HandlePart.Color = C3(0,0,0)
  571. local Weld = CreateWeldOrSnapOrMotor("Weld", HandlePart, RightArm, HandlePart, CF(0.3, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0)), CF(0, 0, 0))
  572.  
  573. local HandlePart = CreatePart(3, Weapon, "DiamondPlate", 0, 0, "Really black", "MainColor", VT(1.06,1.05,0.2),false)
  574. local Weld = CreateWeldOrSnapOrMotor("Weld", HandlePart, RightArm, HandlePart, CF(0, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0)), CF(0, 0, 0))
  575. local HandlePart = CreatePart(3, Weapon, "DiamondPlate", 0, 0, "Really black", "MainColor", VT(1.06,0.2,0.7),false)
  576. local Weld = CreateWeldOrSnapOrMotor("Weld", HandlePart, RightArm, HandlePart, CF(0.25, 0.6, 0) * ANGLES(RAD(0), RAD(90), RAD(0)), CF(0, 0, 0))
  577.  
  578. local HandlePart = CreatePart(3, Weapon, "Metal", 0, 0, "Really black", "Handle", VT(1.015,0.2,1.015),false)
  579. local Weld = CreateWeldOrSnapOrMotor("Weld", HandlePart, RightArm, HandlePart, CF(0, -0.2, 0) * ANGLES(RAD(0), RAD(90), RAD(0)), CF(0, 0, 0))
  580. local TelePart = CreatePart(3, Weapon, "Metal", 0, 0, "Really black", "Handle", VT(1,0.09,1),false)
  581. local Weld = CreateWeldOrSnapOrMotor("Weld", TelePart, RightArm, TelePart, CF(0, -1.161, 0) * ANGLES(RAD(0), RAD(90), RAD(0)), CF(0, 0, 0))
  582. MakeForm(TelePart,"Cyl")
  583. local TelePart = CreatePart(3, Weapon, "Neon", 0, 0, "Maroon", "MainColor", VT(0.7,0.1,0.7),false)
  584. local Weld = CreateWeldOrSnapOrMotor("Weld", TelePart, RightArm, TelePart, CF(0, -1.161, 0) * ANGLES(RAD(0), RAD(90), RAD(0)), CF(0, 0, 0))
  585. MakeForm(TelePart,"Cyl")
  586. local HandlePart = CreatePart(3, Weapon, "Metal", 0, 0, "Really black", "Handle", VT(1.015,0.2,1.015),false)
  587. local Weld = CreateWeldOrSnapOrMotor("Weld", HandlePart, RightArm, HandlePart, CF(0, -1.1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)), CF(0, 0, 0))
  588.  
  589. local HandlePart = CreatePart(3, Weapon, "Metal", 0, 0, "Really black", "Handle", VT(0.2,1.21,0.2),false)
  590. local Weld = CreateWeldOrSnapOrMotor("Weld", HandlePart, RightArm, HandlePart, CF(0.35, -0.2, 0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  591. MakeForm(HandlePart,"Cyl")
  592. local HandlePart = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Handle", VT(0.15,1.22,0),false)
  593. local Weld = CreateWeldOrSnapOrMotor("Weld", HandlePart, RightArm, HandlePart, CF(0.35, -0.2, 0) * ANGLES(RAD(90), RAD(45), RAD(0)), CF(0, 0, 0))
  594. local HandlePart = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Handle", VT(0.15,1.22,0),false)
  595. local Weld = CreateWeldOrSnapOrMotor("Weld", HandlePart, RightArm, HandlePart, CF(0.35, -0.2, 0) * ANGLES(RAD(90), RAD(-45), RAD(0)), CF(0, 0, 0))
  596.  
  597. local HandlePart = CreatePart(3, Weapon, "Metal", 0, 0, "Really black", "Handle", VT(0.2,1.21,0.2),false)
  598. local Weld = CreateWeldOrSnapOrMotor("Weld", HandlePart, RightArm, HandlePart, CF(-0.35, -0.2, 0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  599. MakeForm(HandlePart,"Cyl")
  600. local HandlePart = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Handle", VT(0.15,1.22,0),false)
  601. local Weld = CreateWeldOrSnapOrMotor("Weld", HandlePart, RightArm, HandlePart, CF(-0.35, -0.2, 0) * ANGLES(RAD(90), RAD(45), RAD(0)), CF(0, 0, 0))
  602. local HandlePart = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Handle", VT(0.15,1.22,0),false)
  603. local Weld = CreateWeldOrSnapOrMotor("Weld", HandlePart, RightArm, HandlePart, CF(-0.35, -0.2, 0) * ANGLES(RAD(90), RAD(-45), RAD(0)), CF(0, 0, 0))
  604.  
  605. local HandlePart = CreatePart(3, Weapon, "Metal", 0, 0, "Really black", "Handle", VT(0.2,1.21,0.2),false)
  606. local Weld = CreateWeldOrSnapOrMotor("Weld", HandlePart, RightArm, HandlePart, CF(0.35, -1, 0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  607. MakeForm(HandlePart,"Cyl")
  608. local HandlePart = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Handle", VT(0.15,1.22,0),false)
  609. local Weld = CreateWeldOrSnapOrMotor("Weld", HandlePart, RightArm, HandlePart, CF(0.35, -1, 0) * ANGLES(RAD(90), RAD(45), RAD(0)), CF(0, 0, 0))
  610. local HandlePart = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Handle", VT(0.15,1.22,0),false)
  611. local Weld = CreateWeldOrSnapOrMotor("Weld", HandlePart, RightArm, HandlePart, CF(0.35, -1, 0) * ANGLES(RAD(90), RAD(-45), RAD(0)), CF(0, 0, 0))
  612.  
  613. local HandlePart = CreatePart(3, Weapon, "Metal", 0, 0, "Really black", "Handle", VT(0.2,1.21,0.2),false)
  614. local Weld = CreateWeldOrSnapOrMotor("Weld", HandlePart, RightArm, HandlePart, CF(-0.35, -1, 0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  615. MakeForm(HandlePart,"Cyl")
  616. local HandlePart = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Handle", VT(0.15,1.22,0),false)
  617. local Weld = CreateWeldOrSnapOrMotor("Weld", HandlePart, RightArm, HandlePart, CF(-0.35, -1, 0) * ANGLES(RAD(90), RAD(45), RAD(0)), CF(0, 0, 0))
  618. local HandlePart = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Handle", VT(0.15,1.22,0),false)
  619. local Weld = CreateWeldOrSnapOrMotor("Weld", HandlePart, RightArm, HandlePart, CF(-0.35, -1, 0) * ANGLES(RAD(90), RAD(-45), RAD(0)), CF(0, 0, 0))
  620.  
  621. local HandlePart = CreatePart(3, Weapon, "Metal", 0, 0, "Really black", "Handle", VT(0.4,0.4,0.4),false)
  622. local Weld = CreateWeldOrSnapOrMotor("Weld", HandlePart, RightArm, HandlePart, CF(0.45, -0.9, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0.3, 0))
  623. MakeForm(HandlePart,"Ball")
  624. local FingerPart = CreatePart(3, Weapon, "DiamondPlate", 0, 0, "Really black", "Handle", VT(0.25,0.2,0.25),false)
  625. local Weld = CreateWeldOrSnapOrMotor("Weld", FingerPart, RightArm, FingerPart, CF(0.45, -1.1, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0.3, 0))
  626. MakeForm(FingerPart,"Cyl")
  627. Weld.Name = "FingerJoint"
  628. local Part = CreatePart(3, Weapon, "DiamondPlate", 0, 0, "Really black", "MainColor", VT(0.26,0.3,0.26),false)
  629. local Weld = CreateWeldOrSnapOrMotor("Weld", Part, FingerPart, Part, CF(0,-0.15,0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  630. MakeForm(Part,"Cyl")
  631. local Part = CreatePart(3, Weapon, "DiamondPlate", 0, 0, "Really black", "MainColor", VT(0.26,0.2,0.26),false)
  632. local Weld = CreateWeldOrSnapOrMotor("Weld", Part, FingerPart, Part, CF(0,0.15,0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  633. MakeForm(Part,"Cyl")
  634.  
  635. local HandlePart = CreatePart(3, Weapon, "Metal", 0, 0, "Really black", "Handle", VT(0.4,0.4,0.4),false)
  636. local Weld = CreateWeldOrSnapOrMotor("Weld", HandlePart, RightArm, HandlePart, CF(0.45, -0.9, 0.35) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0.3, 0))
  637. MakeForm(HandlePart,"Ball")
  638. local FingerPart = CreatePart(3, Weapon, "DiamondPlate", 0, 0, "Really black", "Handle", VT(0.25,0.2,0.25),false)
  639. local Weld = CreateWeldOrSnapOrMotor("Weld", FingerPart, RightArm, FingerPart, CF(0.45, -1.1, 0.35) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0.3, 0))
  640. MakeForm(FingerPart,"Cyl")
  641. Weld.Name = "FingerJoint"
  642. local Part = CreatePart(3, Weapon, "DiamondPlate", 0, 0, "Really black", "MainColor", VT(0.26,0.3,0.26),false)
  643. local Weld = CreateWeldOrSnapOrMotor("Weld", Part, FingerPart, Part, CF(0,-0.15,0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  644. MakeForm(Part,"Cyl")
  645. local Part = CreatePart(3, Weapon, "DiamondPlate", 0, 0, "Really black", "MainColor", VT(0.26,0.2,0.26),false)
  646. local Weld = CreateWeldOrSnapOrMotor("Weld", Part, FingerPart, Part, CF(0,0.15,0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  647. MakeForm(Part,"Cyl")
  648.  
  649. local HandlePart = CreatePart(3, Weapon, "Metal", 0, 0, "Really black", "Handle", VT(0.4,0.4,0.4),false)
  650. local Weld = CreateWeldOrSnapOrMotor("Weld", HandlePart, RightArm, HandlePart, CF(0.45, -0.9, -0.35) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0.3, 0))
  651. MakeForm(HandlePart,"Ball")
  652. local FingerPart = CreatePart(3, Weapon, "DiamondPlate", 0, 0, "Really black", "Handle", VT(0.25,0.25,0.25),false)
  653. local Weld = CreateWeldOrSnapOrMotor("Weld", FingerPart, RightArm, FingerPart, CF(0.45, -1.1, -0.35) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0.3, 0))
  654. MakeForm(FingerPart,"Cyl")
  655. Weld.Name = "FingerJoint"
  656. local Part = CreatePart(3, Weapon, "DiamondPlate", 0, 0, "Really black", "MainColor", VT(0.26,0.3,0.26),false)
  657. local Weld = CreateWeldOrSnapOrMotor("Weld", Part, FingerPart, Part, CF(0,-0.15,0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  658. MakeForm(Part,"Cyl")
  659. local Part = CreatePart(3, Weapon, "DiamondPlate", 0, 0, "Really black", "MainColor", VT(0.26,0.25,0.26),false)
  660. local Weld = CreateWeldOrSnapOrMotor("Weld", Part, FingerPart, Part, CF(0,0.15,0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  661. MakeForm(Part,"Cyl")
  662.  
  663. local HandlePart = CreatePart(3, Weapon, "Metal", 0, 0, "Really black", "Handle", VT(0.4,0.4,0.4),false)
  664. local Weld = CreateWeldOrSnapOrMotor("Weld", HandlePart, RightArm, HandlePart, CF(-0.35, -0.9, -0.5) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0.3, 0))
  665. MakeForm(HandlePart,"Ball")
  666. local FingerPart = CreatePart(3, Weapon, "DiamondPlate", 0, 0, "Really black", "Handle", VT(0.25,0.25,0.25),false)
  667. local Weld = CreateWeldOrSnapOrMotor("Weld", FingerPart, RightArm, FingerPart, CF(-0.35, -1.1, -0.5) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0.3, 0))
  668. MakeForm(FingerPart,"Cyl")
  669. Weld.Name = "FingerJoint2"
  670. local Part = CreatePart(3, Weapon, "DiamondPlate", 0, 0, "Really black", "MainColor", VT(0.26,0.3,0.26),false)
  671. local Weld = CreateWeldOrSnapOrMotor("Weld", Part, FingerPart, Part, CF(0,-0.15,0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  672. MakeForm(Part,"Cyl")
  673. local Part = CreatePart(3, Weapon, "DiamondPlate", 0, 0, "Really black", "MainColor", VT(0.26,0.25,0.26),false)
  674. local Weld = CreateWeldOrSnapOrMotor("Weld", Part, FingerPart, Part, CF(0,0.15,0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  675. MakeForm(Part,"Cyl")
  676.  
  677. local HandlePart = CreatePart(3, Weapon, "Metal", 0, 0, "Really black", "Handle", VT(0.3,0.4,0.3),false)
  678. local Weld = CreateWeldOrSnapOrMotor("Weld", HandlePart, RightArm, HandlePart, CF(0.5, -0.6, 0.5) * ANGLES(RAD(0), RAD(90), RAD(0)), CF(0, 0, 0))
  679.  
  680. local HandlePart = CreatePart(3, Weapon, "Metal", 0, 0, "Really black", "Handle", VT(0.3,0.4,0.3),false)
  681. local Weld = CreateWeldOrSnapOrMotor("Weld", HandlePart, RightArm, HandlePart, CF(-0.5, -0.6, -0.5) * ANGLES(RAD(0), RAD(90), RAD(0)), CF(0, 0, 0))
  682.  
  683. local HandlePart = CreatePart(3, Weapon, "Metal", 0, 0, "Really black", "Handle", VT(0.3,0.4,0.3),false)
  684. local Weld = CreateWeldOrSnapOrMotor("Weld", HandlePart, RightArm, HandlePart, CF(-0.5, -0.6, 0.5) * ANGLES(RAD(0), RAD(90), RAD(0)), CF(0, 0, 0))
  685.  
  686. local HandlePart = CreatePart(3, Weapon, "Metal", 0, 0, "Really black", "Handle", VT(0.3,0.4,0.3),false)
  687. local Weld = CreateWeldOrSnapOrMotor("Weld", HandlePart, RightArm, HandlePart, CF(0.5, -0.6, -0.5) * ANGLES(RAD(0), RAD(90), RAD(0)), CF(0, 0, 0))
  688.  
  689. for _, c in pairs(Weapon:GetChildren()) do
  690. if c.ClassName == "Part" then
  691. c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  692. end
  693. end
  694.  
  695. Weapon.Parent = Character
  696.  
  697. Humanoid.Died:connect(function()
  698. ATTACK = true
  699. end)
  700.  
  701. local SKILL1FRAME = CreateFrame(WEAPONGUI, 0.5, 2, UD2(0.23, 0, 0.80, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 1 Frame")
  702. local SKILL2FRAME = CreateFrame(WEAPONGUI, 0.5, 2, UD2(0.50, 0, 0.80, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 2 Frame")
  703. local SKILL3FRAME = CreateFrame(WEAPONGUI, 0.5, 2, UD2(0.365, 0, 0.90, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 3 Frame")
  704. local SKILL4FRAME = CreateFrame(WEAPONGUI, 0.5, 2, UD2(0.365, 0, 0.70, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 3 Frame")
  705.  
  706. local SKILL1TEXT = CreateLabel(SKILL1FRAME, "[Z] Telekenesis", SKILLTEXTCOLOR, 7, "SciFi", 0, 2, 0.5, "Text 1")
  707. local SKILL2TEXT = CreateLabel(SKILL2FRAME, "[B] Rock Chuck", SKILLTEXTCOLOR, 7, "SciFi", 0, 2, 0.5, "Text 2")
  708. local SKILL3TEXT = CreateLabel(SKILL3FRAME, "[C] Inner Crusher", SKILLTEXTCOLOR, 7, "SciFi", 0, 2, 0.5, "Text 3")
  709. local SKILL4TEXT = CreateLabel(SKILL4FRAME, "[X] Meteor", SKILLTEXTCOLOR, 7, "SciFi", 0, 2, 0.5, "Text 4")
  710.  
  711. --//=================================\\
  712. --|| DAMAGE FUNCTIONS
  713. --\\=================================//
  714.  
  715. function StatLabel(LABELTYPE, CFRAME, TEXT, COLOR)
  716. local STATPART = CreatePart(3, Effects, "SmoothPlastic", 0, 1, "Really black", "Effect", VT())
  717. STATPART.CFrame = CF(CFRAME.p + VT(0, 1.5, 0))
  718. local BODYGYRO = IT("BodyGyro", STATPART)
  719. local BODYPOSITION = IT("BodyPosition", STATPART)
  720. BODYPOSITION.P = 2000
  721. BODYPOSITION.D = 100
  722. BODYPOSITION.maxForce = VT(math.huge, math.huge, math.huge)
  723. BODYPOSITION.position = STATPART.Position + VT(MRANDOM(-2, 2), 6, MRANDOM(-2, 2))
  724. game:GetService("Debris"):AddItem(STATPART ,5)
  725. local BILLBOARDGUI = Instance.new("BillboardGui", STATPART)
  726. BILLBOARDGUI.Adornee = STATPART
  727. BILLBOARDGUI.Size = UD2(2.5, 0, 2.5 ,0)
  728. BILLBOARDGUI.StudsOffset = VT(-2, 2, 0)
  729. BILLBOARDGUI.AlwaysOnTop = false
  730. local TEXTLABEL = Instance.new("TextLabel", BILLBOARDGUI)
  731. TEXTLABEL.BackgroundTransparency = 1
  732. TEXTLABEL.Size = UD2(2.5, 0, 2.5, 0)
  733. TEXTLABEL.Text = TEXT
  734. TEXTLABEL.Font = "SciFi"
  735. TEXTLABEL.FontSize="Size42"
  736. TEXTLABEL.TextColor3 = COLOR
  737. TEXTLABEL.TextStrokeTransparency = 1
  738. TEXTLABEL.TextScaled = true
  739. TEXTLABEL.TextWrapped = true
  740. coroutine.resume(coroutine.create(function(THEPART, THEBODYPOSITION, THETEXTLABEL)
  741. if LABELTYPE == "Normal" then
  742. for i = 1, 30 do
  743. Swait()
  744. STATPART.Position = STATPART.Position + VT(0, (15-i)/10 ,0)
  745. TEXTLABEL.TextTransparency = TEXTLABEL.TextTransparency + (1/30)
  746. end
  747. elseif LABELTYPE == "Debuff" then
  748. for i = 1, 30 do
  749. Swait()
  750. STATPART.Position = STATPART.Position - VT(0, i/10 ,0)
  751. TEXTLABEL.TextTransparency = TEXTLABEL.TextTransparency + (1/30)
  752. end
  753. elseif LABELTYPE == "Shock" then
  754. local ORIGIN = STATPART.Position
  755. for i = 1, 30 do
  756. Swait()
  757. STATPART.Position = ORIGIN + VT(MRANDOM(-2,2),MRANDOM(-2,2),MRANDOM(-2,2))
  758. TEXTLABEL.TextTransparency = TEXTLABEL.TextTransparency + (1/30)
  759. end
  760. end
  761. THEPART.Parent = nil
  762. end),STATPART, BODYPOSITION, TEXTLABEL)
  763. end
  764.  
  765. --//=================================\\
  766. --|| DAMAGING
  767. --\\=================================//
  768.  
  769. function ApplyDamage(Humanoid,Damage,CritRate,CritMultiplier)
  770. local defence = Instance.new("BoolValue",Humanoid.Parent)
  771. defence.Name = ("HitBy"..Player.Name)
  772. game:GetService("Debris"):AddItem(defence, 0.001)
  773. if Humanoid.Health ~= 0 then
  774. local CritChance = MRANDOM(1,100)
  775. if CritChance < CritRate + 1 then
  776. Damage = Damage*CritMultiplier
  777. end
  778. if Damage > Humanoid.Health then
  779. Damage = math.ceil(Humanoid.Health)
  780. if Damage == 0 then
  781. Damage = 0.1
  782. end
  783. end
  784. Humanoid.Health = Humanoid.Health - Damage
  785. if Humanoid.Parent:FindFirstChild("Head") then
  786. if CritChance < CritRate + 1 then
  787. StatLabel("Normal", Humanoid.Parent.Head.CFrame * CF(0, 0 + (Humanoid.Parent.Head.Size.z - 1), 0), "CRIT//"..Damage, C3(1, 0, 0))
  788. else
  789. StatLabel("Normal", Humanoid.Parent.Head.CFrame * CF(0, 0 + (Humanoid.Parent.Head.Size.z - 1), 0), Damage, C3(0, 0, 0))
  790. end
  791. end
  792. end
  793. end
  794.  
  795. function AoEDamage(position,radius,min,max,maxstrength,critrate,critmultiplier,CanBeDodgedByJumping)
  796. local dmg = math.random(min,max)
  797. for i,v in ipairs(workspace:GetChildren()) do
  798. if v:FindFirstChild("HitBy"..Player.Name) == nil then
  799. local body = v:GetChildren()
  800. for part = 1, #body do
  801. if(v:FindFirstChild("HitBy"..Player.Name) == nil and (body[part].ClassName == "Part" or body[part].ClassName == "MeshPart") and v ~= Character) then
  802. if(body[part].Position - position).Magnitude < radius then
  803. if v.ClassName == "Model" then
  804. if v:FindFirstChildOfClass("Humanoid") then
  805. if CanBeDodgedByJumping == true then
  806. if body[part].Position.Y < position.Y+5 then
  807. ApplyDamage(v:FindFirstChildOfClass("Humanoid"),dmg,critrate,critmultiplier)
  808. end
  809. else
  810. ApplyDamage(v:FindFirstChildOfClass("Humanoid"),dmg,critrate,critmultiplier)
  811. end
  812. local bv = Instance.new("BodyVelocity")
  813. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  814. bv.velocity = RootPart.CFrame.lookVector*maxstrength
  815. bv.Parent = body[part]
  816. Debris:AddItem(bv,0.2)
  817. end
  818. end
  819. end
  820. end
  821. end
  822. end
  823. if v:FindFirstChild("HitBy"..Player.Name) then
  824. v:FindFirstChild("HitBy"..Player.Name):remove()
  825. end
  826. end
  827. end
  828.  
  829. --//=================================\\
  830. --|| ATTACK FUNCTIONS AND STUFF
  831. --\\=================================//
  832.  
  833. function CastProperRay(StartPos, Vec, Length, Ignore)
  834. local Direction = CFrame.new(StartPos, Vec).lookVector
  835. local Ignore = ((type(Ignore) == "table" and Ignore) or {Ignore})
  836. local RayHit, RayPos, RayNormal = game:GetService("Workspace"):FindPartOnRayWithIgnoreList(Ray.new(StartPos, Direction * Length), Ignore)
  837. return RayHit, RayPos, RayNormal
  838. end
  839.  
  840. local PARTICLES = IT("ParticleEmitter")
  841.  
  842. function particles(art)
  843. local EyeSizes={
  844. NumberSequenceKeypoint.new(0,0,0),
  845. NumberSequenceKeypoint.new(1,1*FORM,0)
  846. }
  847. local EyeTrans={
  848. NumberSequenceKeypoint.new(0,0.5,0),
  849. NumberSequenceKeypoint.new(1,1,0)
  850. }
  851. local PE=PARTICLES:Clone()
  852. PE.Parent = art
  853. PE.LightEmission=.3
  854. PE.Color = ColorSequence.new(SKILLTEXTCOLOR)
  855. PE.Size=NumberSequence.new(EyeSizes)
  856. PE.Transparency=NumberSequence.new(EyeTrans)
  857. PE.Lifetime=NumberRange.new(0.35,0.35,0.35)
  858. PE.Rotation=NumberRange.new(0,360)
  859. PE.Rate=999
  860. PE.VelocitySpread = 10000
  861. PE.LockedToPart = true
  862. PE.Drag = 5
  863. PE.Speed = NumberRange.new(0,0,0)
  864. PE.Texture="http://www.roblox.com/asset/?id=1351966707"
  865. PE.ZOffset = -1.5
  866. PE.Name = "PE"
  867. end
  868.  
  869. function AttackTemplate()
  870. ATTACK = true
  871. Rooted = false
  872. for i=0, 1, 0.1 / Animation_Speed do
  873. Swait()
  874. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  875. 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)
  876. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  877. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  878. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  879. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  880. end
  881. ATTACK = false
  882. Rooted = false
  883. end
  884.  
  885. function Telekenesis()
  886. if Mouse.Target ~= nil then
  887. if Mouse.Target.Anchored == false then
  888. local TELEPART = Mouse.Target
  889. local grav = Instance.new("BodyPosition",TELEPART)
  890. grav.P = 20000
  891. grav.maxForce = Vector3.new(math.huge,math.huge,math.huge)
  892. grav.Name = "GravityForce"
  893. local DIST = (RootPart.Position - TELEPART.Position).Magnitude
  894. ATTACK = true
  895. Rooted = true
  896. VALUE1 = true
  897. FINGERWORK = true
  898. local AUTOBREAK = false
  899. CreateSound(PEWSOUND[MRANDOM(1,#PEWSOUND)], RightArm, 5, 1)
  900. repeat
  901. Swait()
  902. local HEIGHT = (TELEPART.Position.Y - RightArm.Position.Y)
  903. turnto(Mouse.Hit.p)
  904. local RayHit,RayPos = CastProperRay(HandlePart.Position, Mouse.Hit.p, DIST, Character)
  905. grav.position = RayPos
  906. MagicSphere(VT(0.3,0.3,0.3),5,TelePart.CFrame,SKILLTEXTCOLOR,VT(-0.3,-0.3,-0.3)/5)
  907. MagicSphere(VT(TELEPART.Size.Z,TELEPART.Size.Z,TELEPART.Size.Z),5,TELEPART.CFrame,SKILLTEXTCOLOR,VT(-TELEPART.Size.Z,-TELEPART.Size.Z,-TELEPART.Size.Z)/5)
  908. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(45)), 0.5 / Animation_Speed)
  909. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(-45)), 0.5 / Animation_Speed)
  910. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -0.5) * ANGLES(RAD(90+(HEIGHT)), RAD(0), RAD(45)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  911. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  912. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  913. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  914. if KEY ~= nil then
  915. if KEY == "b" then
  916. DIST = DIST - 10
  917. elseif KEY == "c" then
  918. DIST = DIST + 10
  919. elseif KEY == "x" then
  920. AUTOBREAK = true
  921. for i=0, 2, 0.1 / Animation_Speed do
  922. Swait()
  923. MagicSphere(VT(0.3,0.3,0.3),5,TelePart.CFrame,SKILLTEXTCOLOR,VT(-0.3,-0.3,-0.3)/5)
  924. MagicSphere(VT(TELEPART.Size.Z,TELEPART.Size.Z,TELEPART.Size.Z),5,TELEPART.CFrame,SKILLTEXTCOLOR,VT(-TELEPART.Size.Z,-TELEPART.Size.Z,-TELEPART.Size.Z)/5)
  925. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(-45)), 0.15 / Animation_Speed)
  926. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(45)), 0.15 / Animation_Speed)
  927. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.5, -0.5) * ANGLES(RAD(90+(HEIGHT)), RAD(0), RAD(-45)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  928. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  929. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  930. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  931. end
  932. for i=0, 0.2, 0.1 / Animation_Speed do
  933. Swait()
  934. MagicSphere(VT(0.3,0.3,0.3),5,TelePart.CFrame,SKILLTEXTCOLOR,VT(-0.3,-0.3,-0.3)/5)
  935. MagicSphere(VT(TELEPART.Size.Z,TELEPART.Size.Z,TELEPART.Size.Z),5,TELEPART.CFrame,SKILLTEXTCOLOR,VT(-TELEPART.Size.Z,-TELEPART.Size.Z,-TELEPART.Size.Z)/5)
  936. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(45)), 2 / Animation_Speed)
  937. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(-45)), 2 / Animation_Speed)
  938. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.5, -0.5) * ANGLES(RAD(90+(HEIGHT)), RAD(0), RAD(45)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  939. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 2 / Animation_Speed)
  940. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 2 / Animation_Speed)
  941. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 2 / Animation_Speed)
  942. end
  943. MagicBlock(1,15,RightArm.CFrame*CF(0,-1.2,0),SKILLTEXTCOLOR,VT(0.2,0.2,0.2))
  944. CreateSound("907532865", RightArm, 5, 1)
  945. grav:remove()
  946. local bv = Instance.new("BodyVelocity")
  947. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  948. bv.velocity = CF(RootPart.Position,TELEPART.Position).lookVector*1500*FORM
  949. bv.Parent = TELEPART
  950. bv.Name = "MOVE"
  951. Debris:AddItem(bv,0.1)
  952. local Touched = Part.Touched:Connect(function(hit)
  953. if hit.CanCollide == true then
  954. if hit.Parent:FindFirstChildOfClass("Humanoid") and hit.Parent ~= Character then
  955. ApplyDamage(hit.Parent:FindFirstChildOfClass("Humanoid"),MRANDOM(3,7)*FORM,2,2)
  956. end
  957. end
  958. end)
  959. coroutine.resume(coroutine.create(function()
  960. Swait(250)
  961. Touched:disconnect()
  962. end))
  963. for i=0, 0.8, 0.1 / Animation_Speed do
  964. Swait()
  965. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(45)), 2 / Animation_Speed)
  966. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(-45)), 2 / Animation_Speed)
  967. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.5, -0.5) * ANGLES(RAD(90+(HEIGHT)), RAD(0), RAD(45)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  968. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 2 / Animation_Speed)
  969. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 2 / Animation_Speed)
  970. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 2 / Animation_Speed)
  971. end
  972. elseif KEY == "z" then
  973. AUTOBREAK = true
  974. end
  975. KEY = nil
  976. end
  977. until AUTOBREAK == true
  978. if TELEPART ~= nil then
  979. grav:remove()
  980. end
  981. ATTACK = false
  982. Rooted = false
  983. VALUE1 = false
  984. FINGERWORK = false
  985. end
  986. end
  987. end
  988.  
  989. function RockChuck()
  990. if HITFLOOR ~= nil then
  991. ATTACK = true
  992. Rooted = true
  993. FINGERWORK = true
  994. local ROCKS = {}
  995. for i=0, 1, 0.1 / Animation_Speed do
  996. Swait()
  997. turnto(Mouse.Hit.p)
  998. MagicSphere(VT(0.3,0.3,0.3),5,TelePart.CFrame,SKILLTEXTCOLOR,VT(-0.3,-0.3,-0.3)/5)
  999. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1000. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 ) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1001. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.75, 0) * ANGLES(RAD(170), RAD(25), RAD(-15)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  1002. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1003. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1004. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1005. end
  1006. CreateSound(PEWSOUND[MRANDOM(1,#PEWSOUND)], RightArm, 5, 1)
  1007. for i = 1, FORM*4 do
  1008. local ROCK = CreatePart(3, Effects, "Metal", 0, 0, "Really black", "Handle", VT(1.5,1.5,1.5)*FORM, false)
  1009. ROCK.Material = HITFLOOR.Material
  1010. ROCK.Color = HITFLOOR.Color
  1011. particles(ROCK)
  1012. ROCK.CFrame = RootPart.CFrame*CF(MRANDOM(-15,15),-7,MRANDOM(-15,15)) * ANGLES(RAD(math.random(-360,360)),RAD(math.random(-360,360)),RAD(math.random(-360,360)))
  1013. local grav = Instance.new("BodyPosition",ROCK)
  1014. grav.P = 20000
  1015. grav.maxForce = Vector3.new(math.huge,math.huge,math.huge)
  1016. grav.Name = "F"
  1017. grav.Position = ROCK.Position + VT(0,MRANDOM(15,25),0)
  1018. table.insert(ROCKS,ROCK)
  1019. end
  1020. for i=0, 1, 0.1 / Animation_Speed do
  1021. Swait()
  1022. turnto(Mouse.Hit.p)
  1023. MagicSphere(VT(0.5,0.5,0.5),5,TelePart.CFrame,SKILLTEXTCOLOR,VT(-0.5,-0.5,-0.5)/5)
  1024. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1025. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 ) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1026. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.75, 0) * ANGLES(RAD(170), RAD(25), RAD(-15)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  1027. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1028. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1029. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1030. end
  1031. for i=0, 0.2, 0.1 / Animation_Speed do
  1032. Swait()
  1033. turnto(Mouse.Hit.p)
  1034. MagicSphere(VT(0.5,0.5,0.5),5,TelePart.CFrame,SKILLTEXTCOLOR,VT(-0.5,-0.5,-0.5)/5)
  1035. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1036. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 ) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1037. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.5, -0.5) * ANGLES(RAD(90), RAD(25), RAD(0)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  1038. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1039. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1040. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1041. end
  1042. for e=1,#ROCKS do
  1043. for i = 1, 5 do
  1044. turnto(Mouse.Hit.p)
  1045. MagicSphere(VT(0.5,0.5,0.5),5,TelePart.CFrame,SKILLTEXTCOLOR,VT(-0.5,-0.5,-0.5)/5)
  1046. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1047. Swait()
  1048. end
  1049. if ROCKS[e]~=nil then
  1050. local Thing=ROCKS[e]
  1051. if Thing~=nil then
  1052. local Part=Thing
  1053. for i=0, 0.3, 0.1 / Animation_Speed do
  1054. Swait()
  1055. MagicSphere(VT(0.3,0.3,0.3),5,TelePart.CFrame,SKILLTEXTCOLOR,VT(-0.3,-0.3,-0.3)/5)
  1056. --MagicSphere(VT(TELEPART.Size.Z,TELEPART.Size.Z,TELEPART.Size.Z),5,TELEPART.CFrame,SKILLTEXTCOLOR,VT(-TELEPART.Size.Z,-TELEPART.Size.Z,-TELEPART.Size.Z)/5)
  1057. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(-45)), 0.5 / Animation_Speed)
  1058. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(45)), 0.5 / Animation_Speed)
  1059. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.5, -0.5) * ANGLES(RAD(90), RAD(0), RAD(-45)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  1060. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  1061. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1062. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1063. end
  1064. for i=0, 0.2, 0.1 / Animation_Speed do
  1065. Swait()
  1066. MagicSphere(VT(0.3,0.3,0.3),5,TelePart.CFrame,SKILLTEXTCOLOR,VT(-0.3,-0.3,-0.3)/5)
  1067. --MagicSphere(VT(TELEPART.Size.Z,TELEPART.Size.Z,TELEPART.Size.Z),5,TELEPART.CFrame,SKILLTEXTCOLOR,VT(-TELEPART.Size.Z,-TELEPART.Size.Z,-TELEPART.Size.Z)/5)
  1068. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(45)), 2 / Animation_Speed)
  1069. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(-45)), 2 / Animation_Speed)
  1070. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.5, -0.5) * ANGLES(RAD(90), RAD(0), RAD(45)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  1071. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 2 / Animation_Speed)
  1072. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 2 / Animation_Speed)
  1073. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 2 / Animation_Speed)
  1074. end
  1075. CreateSound("907532865", RightArm, 5, 1)
  1076. MagicBlock(1,15,RightArm.CFrame*CF(0,-1.2,0),SKILLTEXTCOLOR,VT(0.2,0.2,0.2))
  1077. Part.F:remove()
  1078. Part.CanCollide = true
  1079. local bv = Instance.new("BodyVelocity")
  1080. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  1081. bv.velocity = CF(Part.Position,Mouse.Hit.p).lookVector*500*FORM
  1082. bv.Parent = Part
  1083. bv.Name = "MOVE"
  1084. Debris:AddItem(bv,0.1)
  1085. local Touched = Part.Touched:Connect(function(hit)
  1086. if hit.CanCollide == true then
  1087. CreateFlyingDebree(Part,Part.CFrame,5,(Part.Size/5)*FORM,2,15)
  1088. Part:remove()
  1089. if hit.Parent:FindFirstChildOfClass("Humanoid") and hit.Parent ~= Character then
  1090. ApplyDamage(hit.Parent:FindFirstChildOfClass("Humanoid"),MRANDOM(15,25)*FORM,2,2)
  1091. end
  1092. end
  1093. end)
  1094. end
  1095. end
  1096. end
  1097. FINGERWORK = false
  1098. ATTACK = false
  1099. Rooted = false
  1100. end
  1101. end
  1102.  
  1103. local asd = Instance.new("ParticleEmitter")
  1104. asd.Color = ColorSequence.new(Color3.new(1, 0, 0), Color3.new(.5, 0, 0))
  1105. asd.LightEmission = .1
  1106. asd.Size = NumberSequence.new(0.2)
  1107. asd.Texture = "http://www.roblox.com/asset/?ID=291880914"
  1108. aaa = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.2),NumberSequenceKeypoint.new(1, 5)})
  1109. bbb = NumberSequence.new({NumberSequenceKeypoint.new(0, 1),NumberSequenceKeypoint.new(0.0636, 0), NumberSequenceKeypoint.new(1, 1)})
  1110. asd.Transparency = bbb
  1111. asd.Size = aaa
  1112. asd.ZOffset = .9
  1113. asd.Acceleration = Vector3.new(0, -5, 0)
  1114. asd.LockedToPart = false
  1115. asd.EmissionDirection = "Back"
  1116. asd.Lifetime = NumberRange.new(1, 2)
  1117. asd.Rotation = NumberRange.new(-100, 100)
  1118. asd.RotSpeed = NumberRange.new(-100, 100)
  1119. asd.Speed = NumberRange.new(2)
  1120. asd.Enabled = false
  1121. asd.VelocitySpread = 10000
  1122.  
  1123. function getbloody(victim,amount)
  1124. local prtcl = asd:Clone()
  1125. prtcl.Parent = victim
  1126. prtcl:Emit(amount)
  1127. Debris:AddItem(prtcl,5)
  1128. end
  1129.  
  1130. function InnerCrusher()
  1131. if Mouse.Target ~= nil then
  1132. if Mouse.Target.Anchored == false then
  1133. if Mouse.Target.Parent:FindFirstChildOfClass("Humanoid") then
  1134. local HUMAN = Mouse.Target.Parent:FindFirstChildOfClass("Humanoid")
  1135. local TELEPART = Mouse.Target
  1136. local grav = Instance.new("BodyPosition",TELEPART)
  1137. grav.P = 20000
  1138. grav.maxForce = Vector3.new(math.huge,math.huge,math.huge)
  1139. grav.Name = "GravityForce"
  1140. local DIST = (RootPart.Position - TELEPART.Position).Magnitude
  1141. ATTACK = true
  1142. Rooted = true
  1143. FINGERWORK = true
  1144. local AUTOBREAK = false
  1145. CreateSound(PEWSOUND[MRANDOM(1,#PEWSOUND)], RightArm, 5, 1)
  1146. for i = 1, 150 do
  1147. Swait()
  1148. local HEIGHT = (TELEPART.Position.Y - RightArm.Position.Y)
  1149. turnto(TELEPART.Position)
  1150. grav.Position = TELEPART.Position + VT(0,2,0)
  1151. MagicSphere(VT(0.3,0.3,0.3),5,TelePart.CFrame,SKILLTEXTCOLOR,VT(-0.3,-0.3,-0.3)/5)
  1152. MagicSphere(VT(TELEPART.Size.Z,TELEPART.Size.Z,TELEPART.Size.Z),5,TELEPART.CFrame,SKILLTEXTCOLOR,VT(-TELEPART.Size.Z,-TELEPART.Size.Z,-TELEPART.Size.Z)/5)
  1153. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(45)), 0.5 / Animation_Speed)
  1154. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(-45)), 0.5 / Animation_Speed)
  1155. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -0.5) * ANGLES(RAD(90+(HEIGHT)), RAD(0), RAD(45)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  1156. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  1157. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1158. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1159. end
  1160. for i = 1, 50 do
  1161. Swait()
  1162. local HEIGHT = (TELEPART.Position.Y - RightArm.Position.Y)
  1163. turnto(TELEPART.Position)
  1164. MagicSphere(VT(0.3,0.3,0.3),5,TelePart.CFrame,SKILLTEXTCOLOR,VT(-0.3,-0.3,-0.3)/5)
  1165. MagicSphere(VT(TELEPART.Size.Z,TELEPART.Size.Z,TELEPART.Size.Z),5,TELEPART.CFrame,SKILLTEXTCOLOR,VT(-TELEPART.Size.Z,-TELEPART.Size.Z,-TELEPART.Size.Z)/5)
  1166. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(45)), 0.5 / Animation_Speed)
  1167. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(-45)), 0.5 / Animation_Speed)
  1168. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -0.5) * ANGLES(RAD(90+(HEIGHT)), RAD(0), RAD(45)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  1169. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  1170. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1171. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1172. end
  1173. FINGERWORK = false
  1174. for i = 1, 50 do
  1175. Swait()
  1176. ApplyDamage(HUMAN,MRANDOM(1,2),2,2)
  1177. if MRANDOM(1,5) == 1 then
  1178. CreateSound(HITPLAYERSOUNDS[MRANDOM(1, #HITPLAYERSOUNDS)], TELEPART, 1, (math.random(8,12)/10))
  1179. end
  1180. local HEIGHT = (TELEPART.Position.Y - RightArm.Position.Y)
  1181. turnto(TELEPART.Position)
  1182. getbloody(TELEPART,5)
  1183. MagicSphere(VT(0.3,0.3,0.3),5,TelePart.CFrame,SKILLTEXTCOLOR,VT(-0.3,-0.3,-0.3)/5)
  1184. MagicSphere(VT(TELEPART.Size.Z,TELEPART.Size.Z,TELEPART.Size.Z),5,TELEPART.CFrame,SKILLTEXTCOLOR,VT(-TELEPART.Size.Z,-TELEPART.Size.Z,-TELEPART.Size.Z)/5)
  1185. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(45)), 0.5 / Animation_Speed)
  1186. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(-45)), 0.5 / Animation_Speed)
  1187. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -0.5) * ANGLES(RAD(90+(HEIGHT)), RAD(0), RAD(45)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  1188. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  1189. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1190. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1191. end
  1192. TELEPART.Velocity = VT(0,0,0)
  1193. ATTACK = false
  1194. Rooted = false
  1195. grav:remove()
  1196. FINGERWORK = false
  1197. end
  1198. end
  1199. end
  1200. end
  1201.  
  1202. function Meteor()
  1203. ATTACK = true
  1204. Rooted = false
  1205. FINGERWORK = true
  1206. local ROCKS = {}
  1207. for i=0, 1, 0.1 / Animation_Speed do
  1208. Swait()
  1209. turnto(Mouse.Hit.p)
  1210. MagicSphere(VT(0.3,0.3,0.3),5,TelePart.CFrame,SKILLTEXTCOLOR,VT(-0.3,-0.3,-0.3)/5)
  1211. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1212. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 ) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1213. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.75, 0) * ANGLES(RAD(170), RAD(25), RAD(-15)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  1214. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1215. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1216. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1217. end
  1218. for i = 1, FORM do
  1219. local ROCK = CreatePart(3, Effects, "Granite", 0, 0, "Dark stone grey", "Handle", VT(25,25,25))
  1220. particles(ROCK)
  1221. local FIRE = IT("Fire",ROCK)
  1222. FIRE.Size = 60
  1223. FIRE.Heat = 0
  1224. FIRE.SecondaryColor = C3(0,0,0)
  1225. ROCK.CFrame = RootPart.CFrame*CF(MRANDOM(-45,45),750,MRANDOM(-45,45)) * ANGLES(RAD(math.random(-360,360)),RAD(math.random(-360,360)),RAD(math.random(-360,360)))
  1226. ROCK.CanCollide = true
  1227. table.insert(ROCKS,ROCK)
  1228. end
  1229. CreateSound(PEWSOUND[MRANDOM(1,#PEWSOUND)], RightArm, 5, 1)
  1230. for i = 1, 50 do
  1231. Swait()
  1232. turnto(Mouse.Hit.p)
  1233. MagicSphere(VT(0.3,0.3,0.3),5,TelePart.CFrame,SKILLTEXTCOLOR,VT(-0.3,-0.3,-0.3)/5)
  1234. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1235. end
  1236. for e=1,#ROCKS do
  1237. for i = 1, 5 do
  1238. turnto(Mouse.Hit.p)
  1239. MagicSphere(VT(0.5,0.5,0.5),5,TelePart.CFrame,SKILLTEXTCOLOR,VT(-0.5,-0.5,-0.5)/5)
  1240. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1241. Swait()
  1242. end
  1243. if ROCKS[e]~=nil then
  1244. local Thing=ROCKS[e]
  1245. if Thing~=nil then
  1246. local Part=Thing
  1247. repeat
  1248. Swait()
  1249. turnto(Mouse.Hit.p)
  1250. MagicSphere(VT(0.3,0.3,0.3),5,TelePart.CFrame,SKILLTEXTCOLOR,VT(-0.3,-0.3,-0.3)/5)
  1251. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1252. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 ) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1253. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.75, 0) * ANGLES(RAD(170), RAD(25), RAD(-15)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  1254. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1255. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1256. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1257. until HOLD == true
  1258. for i=0, 0.3, 0.1 / Animation_Speed do
  1259. Swait()
  1260. turnto(Mouse.Hit.p)
  1261. MagicSphere(VT(0.3,0.3,0.3),5,TelePart.CFrame,SKILLTEXTCOLOR,VT(-0.3,-0.3,-0.3)/5)
  1262. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 2 / Animation_Speed)
  1263. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 ) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1264. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.75, 0) * ANGLES(RAD(25), RAD(90), RAD(-15)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  1265. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 2 / Animation_Speed)
  1266. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 2 / Animation_Speed)
  1267. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 2 / Animation_Speed)
  1268. end
  1269. CreateSound("907532865", RightArm, 5, 1)
  1270. MagicBlock(1,15,RightArm.CFrame*CF(0,-1.2,0),SKILLTEXTCOLOR,VT(0.2,0.2,0.2))
  1271. Part.Anchored = false
  1272. local bv = Instance.new("BodyVelocity")
  1273. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  1274. bv.velocity = CF(Part.Position,Mouse.Hit.p).lookVector*300*FORM
  1275. bv.Parent = Part
  1276. bv.Name = "MOVE"
  1277. Debris:AddItem(bv,0.1)
  1278. local IMPACT = false
  1279. local Touched = Part.Touched:Connect(function(hit)
  1280. if hit.CanCollide == true and IMPACT == false then
  1281. IMPACT = true
  1282. Part.PE.Enabled = false
  1283. CreateFlyingDebree(Part,Part.CFrame,5,(Part.Size/2),2,65,true)
  1284. Part.Transparency = 1
  1285. Part.Anchored = true
  1286. Part.CanCollide = false
  1287. Part.Fire.Enabled = false
  1288. Debris:AddItem(Part,5)
  1289. MagicSphere(Part.Size,15,Part.CFrame,"CGA brown",Part.Size)
  1290. MagicSphere(Part.Size,15,Part.CFrame,"Deep orange",Part.Size/1.8)
  1291. CreateSound("144699494", Part, 5, 1)
  1292. local FLOOR, HITPOS = Raycast(Part.Position, (CF(Part.Position, Part.Position + VT(0, -1, 0))).lookVector, 35 , Part)
  1293. if FLOOR ~= nil then
  1294. CreateDebreeRing(FLOOR,HITPOS,15,VT(10,10,10),2)
  1295. end
  1296. if hit.Parent:FindFirstChildOfClass("Humanoid") and hit.Parent ~= Character then
  1297. ApplyDamage(hit.Parent:FindFirstChildOfClass("Humanoid"),MRANDOM(65,75)*FORM,2,2)
  1298. end
  1299. AoEDamage(Part.Position,45,15,65,5,2,2,false)
  1300. end
  1301. end)
  1302. end
  1303. end
  1304. end
  1305. FINGERWORK = false
  1306. ATTACK = false
  1307. Rooted = false
  1308. end
  1309.  
  1310. --//=================================\\
  1311. --|| ASSIGN THINGS TO KEYS
  1312. --\\=================================//
  1313.  
  1314. function MouseDown(Mouse)
  1315. HOLD = true
  1316. if ATTACK == false then
  1317. end
  1318. end
  1319.  
  1320. function MouseUp(Mouse)
  1321. HOLD = false
  1322. end
  1323.  
  1324. function KeyDown(Key)
  1325. KEYHOLD = true
  1326. if VALUE1 == true then
  1327. KEY = Key
  1328. end
  1329.  
  1330. if Key == "z" and ATTACK == false then
  1331. Telekenesis()
  1332. end
  1333.  
  1334. if Key == "b" and ATTACK == false then
  1335. RockChuck()
  1336. end
  1337.  
  1338. if Key == "c" and ATTACK == false then
  1339. InnerCrusher()
  1340. end
  1341.  
  1342. if Key == "x" and ATTACK == false then
  1343. Meteor()
  1344. end
  1345.  
  1346. if Key == "m" and ATTACK == false and Player.Name == "Shackluster" then
  1347. if FORM == 1 then
  1348. FORM = 2
  1349. elseif FORM == 2 then
  1350. FORM = 1
  1351. end
  1352. end
  1353. end
  1354.  
  1355. function KeyUp(Key)
  1356. KEYHOLD = false
  1357. end
  1358.  
  1359. Mouse.Button1Down:connect(function(NEWKEY)
  1360. MouseDown(NEWKEY)
  1361. end)
  1362. Mouse.Button1Up:connect(function(NEWKEY)
  1363. MouseUp(NEWKEY)
  1364. end)
  1365. Mouse.KeyDown:connect(function(NEWKEY)
  1366. KeyDown(NEWKEY)
  1367. end)
  1368. Mouse.KeyUp:connect(function(NEWKEY)
  1369. KeyUp(NEWKEY)
  1370. end)
  1371.  
  1372. --//=================================\\
  1373. --\\=================================//
  1374.  
  1375.  
  1376. function unanchor()
  1377. if UNANCHOR == true then
  1378. for _, c in pairs(Weapon:GetChildren()) do
  1379. if c.ClassName == "Part" then
  1380. c.Anchored = false
  1381. end
  1382. end
  1383. for _, c in pairs(Character:GetChildren()) do
  1384. if c.ClassName == "Part" then
  1385. c.Anchored = false
  1386. elseif c.ClassName == "Accessory" then
  1387. c.Handle.Anchored = false
  1388. end
  1389. end
  1390. end
  1391. end
  1392.  
  1393.  
  1394. --//=================================\\
  1395. --|| WRAP THE WHOLE SCRIPT UP
  1396. --\\=================================//
  1397.  
  1398. Humanoid.Changed:connect(function(Jump)
  1399. if Jump == "Jump" and (Disable_Jump == true) then
  1400. Humanoid.Jump = false
  1401. end
  1402. end)
  1403.  
  1404. while true do
  1405. Swait()
  1406. ANIMATE.Parent = nil
  1407. local IDLEANIMATION = Humanoid:LoadAnimation(ROBLOXIDLEANIMATION)
  1408. IDLEANIMATION:Play()
  1409. SINE = SINE + CHANGE
  1410. local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude
  1411. local TORSOVERTICALVELOCITY = RootPart.Velocity.y
  1412. local LV = Torso.CFrame:pointToObjectSpace(Torso.Velocity - Torso.Position)
  1413. HITFLOOR = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4 * Player_Size, Character)
  1414. local WALKSPEEDVALUE = 6 / (Humanoid.WalkSpeed / 16)
  1415. if ANIM == "Walk" and TORSOVELOCITY > 1 then
  1416. RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, -0.15 * COS(SINE / (WALKSPEEDVALUE / 2)) * Player_Size) * ANGLES(RAD(0), RAD(0) - RootPart.RotVelocity.Y / 75, RAD(0)), 2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  1417. Neck.C1 = Clerp(Neck.C1, CF(0 * Player_Size, -0.5 * Player_Size, 0 * Player_Size) * 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)
  1418. RightHip.C1 = Clerp(RightHip.C1, CF(0.5 * Player_Size, 0.875 * Player_Size - 0.125 * SIN(SINE / WALKSPEEDVALUE) * Player_Size, -0.125 * COS(SINE / WALKSPEEDVALUE) * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0) - RightLeg.RotVelocity.Y / 75, RAD(0), RAD(76 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  1419. LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5 * Player_Size, 0.875 * Player_Size + 0.125 * SIN(SINE / WALKSPEEDVALUE) * Player_Size, 0.125 * COS(SINE / WALKSPEEDVALUE) * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0) + LeftLeg.RotVelocity.Y / 75, RAD(0), RAD(76 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  1420. elseif (ANIM ~= "Walk") or (TORSOVELOCITY < 1) then
  1421. RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1422. Neck.C1 = Clerp(Neck.C1, CF(0 * Player_Size, -0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-90), RAD(0), RAD(180)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1423. RightHip.C1 = Clerp(RightHip.C1, CF(0.5 * Player_Size, 1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1424. LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5 * Player_Size, 1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1425. end
  1426. if TORSOVERTICALVELOCITY > 1 and HITFLOOR == nil then
  1427. ANIM = "Jump"
  1428. if ATTACK == false then
  1429. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1430. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 * Player_Size, 0 + ((1) - 1)) * ANGLES(RAD(-20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1431. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(20)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed)
  1432. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  1433. 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)
  1434. 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)
  1435. end
  1436. elseif TORSOVERTICALVELOCITY < -1 and HITFLOOR == nil then
  1437. ANIM = "Fall"
  1438. if ATTACK == false then
  1439. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 ) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1440. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 , 0 + ((1) - 1)) * ANGLES(RAD(20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1441. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(60)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed)
  1442. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-60)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  1443. 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)
  1444. 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)
  1445. end
  1446. elseif TORSOVELOCITY < 1 and HITFLOOR ~= nil then
  1447. ANIM = "Idle"
  1448. if ATTACK == false then
  1449. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1450. 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)
  1451. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  1452. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  1453. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1454. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1455. end
  1456. elseif TORSOVELOCITY > 1 and HITFLOOR ~= nil then
  1457. ANIM = "Walk"
  1458. WALK = WALK + 1 / Animation_Speed
  1459. if WALK >= 15 - (5 * (Humanoid.WalkSpeed / 16 / Player_Size)) then
  1460. WALK = 0
  1461. if WALKINGANIM == true then
  1462. WALKINGANIM = false
  1463. elseif WALKINGANIM == false then
  1464. WALKINGANIM = true
  1465. end
  1466. end
  1467. --RightHip.C1 = Clerp(RightHip.C1, CF(0.5 * Player_Size, 0.875 * Player_Size - 0.125 * SIN(SINE / WALKSPEEDVALUE) * Player_Size, -0.125 * COS(SINE / WALKSPEEDVALUE) * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0) - RightLeg.RotVelocity.Y / 75, RAD(0), RAD(60 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  1468. --LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5 * Player_Size, 0.875 * Player_Size + 0.125 * SIN(SINE / WALKSPEEDVALUE) * Player_Size, 0.125 * COS(SINE / WALKSPEEDVALUE) * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0) + LeftLeg.RotVelocity.Y / 75, RAD(0), RAD(60 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  1469. if ATTACK == false then
  1470. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.1) * ANGLES(RAD(5), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1471. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5 - 8 * SIN(SINE / (WALKSPEEDVALUE / 2))), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1472. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(60 * COS(SINE / WALKSPEEDVALUE)), RAD(0), RAD(5)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  1473. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-60 * COS(SINE / WALKSPEEDVALUE)), RAD(0), RAD(-5)) * LEFTSHOULDERC0, 0.35 / Animation_Speed)
  1474. RightHip.C0 = Clerp(RightHip.C0, CF(1 , -1 - 0.15 * COS(SINE / WALKSPEEDVALUE*2), -0.2+ 0.2 * COS(SINE / WALKSPEEDVALUE)) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(-15)), 2 / Animation_Speed)
  1475. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.15 * COS(SINE / WALKSPEEDVALUE*2), -0.2+ -0.2 * COS(SINE / WALKSPEEDVALUE)) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(15)), 2 / Animation_Speed)
  1476. end
  1477. end
  1478. unanchor()
  1479. Humanoid.MaxHealth = "inf"
  1480. Humanoid.Health = "inf"
  1481. if Rooted == false then
  1482. Disable_Jump = false
  1483. Humanoid.WalkSpeed = Speed
  1484. elseif Rooted == true then
  1485. Disable_Jump = true
  1486. Humanoid.WalkSpeed = 0
  1487. end
  1488. if FORM == 1 then
  1489. if sick.SoundId ~= STAGE1MUSIC then
  1490. sick.SoundId = STAGE1MUSIC
  1491. sick:Play()
  1492. end
  1493. SKILLTEXTCOLOR = BRICKC("Maroon").Color
  1494. elseif FORM == 2 then
  1495. if sick.SoundId ~= STAGE2MUSIC then
  1496. sick.SoundId = STAGE2MUSIC
  1497. sick:Play()
  1498. end
  1499. SKILLTEXTCOLOR = BRICKC("Black").Color
  1500. end
  1501. if sick.Playing == false then
  1502. sick:Play()
  1503. end
  1504. sick.Parent = Character
  1505. SKILL1TEXT.TextColor3 = SKILLTEXTCOLOR
  1506. SKILL2TEXT.TextColor3 = SKILLTEXTCOLOR
  1507. SKILL3TEXT.TextColor3 = SKILLTEXTCOLOR
  1508. SKILL4TEXT.TextColor3 = SKILLTEXTCOLOR
  1509. for _, c in pairs(Weapon:GetChildren()) do
  1510. if c.ClassName == "Part" then
  1511. if c.Name == "MainColor" then
  1512. c.Color = SKILLTEXTCOLOR
  1513. end
  1514. if c:FindFirstChild("FingerJoint") then
  1515. local WELD = c:FindFirstChild("FingerJoint")
  1516. if FINGERWORK == false then
  1517. WELD.C1 = Clerp(WELD.C1, CF(-0.1, 0.3, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
  1518. elseif FINGERWORK == true then
  1519. WELD.C1 = Clerp(WELD.C1, CF(0, 0.3, 0) * ANGLES(RAD(0), RAD(0), RAD(-55)), 0.5 / Animation_Speed)
  1520. end
  1521. elseif c:FindFirstChild("FingerJoint2") then
  1522. local WELD = c:FindFirstChild("FingerJoint2")
  1523. if FINGERWORK == false then
  1524. WELD.C1 = Clerp(WELD.C1, CF(0, 0.3, 0.1) * ANGLES(RAD(90), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1525. elseif FINGERWORK == true then
  1526. WELD.C1 = Clerp(WELD.C1, CF(0, 0.3, 0) * ANGLES(RAD(-55), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1527. end
  1528. end
  1529. end
  1530. end
  1531. Humanoid.PlatformStand = false
  1532. Humanoid.Parent = Character
  1533. Character.Parent = workspace
  1534. script.Parent = PlayerGui
  1535. if VALUE1 == true then
  1536. SKILL1TEXT.Text = "[Z] Exit"
  1537. SKILL2TEXT.Text = "[B] Decrease"
  1538. SKILL3TEXT.Text = "[C] Increase"
  1539. SKILL4TEXT.Text = "[X] Force push"
  1540. elseif VALUE1 == false then
  1541. SKILL1TEXT.Text = "[Z] Telekenesis"
  1542. SKILL2TEXT.Text = "[B] Rock Chuck"
  1543. SKILL3TEXT.Text = "[C] Inner Crusher"
  1544. SKILL4TEXT.Text = "[X] Meteor"
  1545. end
  1546. end
  1547.  
  1548. --//=================================\\
  1549. --\\=================================//
  1550.  
  1551.  
  1552.  
  1553.  
  1554.  
  1555. --//====================================================\\--
  1556. --|| END OF SCRIPT
  1557. --\\====================================================//--
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement