Advertisement
Goo345

Untitled

Jul 7th, 2018
154
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 363.38 KB | None | 0 0
  1. wait(0.2)
  2.  
  3. Player = game:GetService("Players").LocalPlayer
  4. PlayerGui = Player.PlayerGui
  5. Cam = workspace.CurrentCamera
  6. Backpack = Player.Backpack
  7. Character = Player.Character
  8. Humanoid = Character.Humanoid
  9. Mouse = Player:GetMouse()
  10. RootPart = Character["HumanoidRootPart"]
  11. Torso = Character["Torso"]
  12. Head = Character["Head"]
  13. RightArm = Character["Right Arm"]
  14. LeftArm = Character["Left Arm"]
  15. RightLeg = Character["Right Leg"]
  16. LeftLeg = Character["Left Leg"]
  17. RootJoint = RootPart["RootJoint"]
  18. Neck = Torso["Neck"]
  19. RightShoulder = Torso["Right Shoulder"]
  20. LeftShoulder = Torso["Left Shoulder"]
  21. RightHip = Torso["Right Hip"]
  22. LeftHip = Torso["Left Hip"]
  23. local sick = Instance.new("Sound",Character)
  24. sick.SoundId = "rbxassetid://203941422"
  25. sick.Looped = true
  26. sick.Pitch = 1
  27. sick.Volume = 1
  28. sick:Play()
  29. local FORM = 1
  30. local STAGE1MUSIC = "rbxassetid://147888653"
  31. local STAGE2MUSIC = "rbxassetid://212693212"
  32. local txt = Instance.new("BillboardGui", Character)
  33. CV="Lime green"
  34. txt.Adornee = Character.Head
  35. txt.Name = "_status"
  36. txt.Size = UDim2.new(2, 0, 1.2, 0)
  37. txt.StudsOffset = Vector3.new(-9, 8, 0)
  38. local text = Instance.new("TextLabel", txt)
  39. text.Size = UDim2.new(10, 0, 7, 0)
  40. text.FontSize = "Size24"
  41. text.TextScaled = true
  42. text.TextTransparency = 0
  43. text.BackgroundTransparency = 1
  44. text.TextTransparency = 0
  45. text.TextStrokeTransparency = 0
  46. text.Font = "Bodoni"
  47. text.TextStrokeColor3 = BrickColor.new("Crimson").Color
  48. text.TextColor3 = BrickColor.new("Really red").Color
  49. text.Text = "Red robot"
  50.  
  51.  
  52.  
  53. IT = Instance.new
  54. CF = CFrame.new
  55. VT = Vector3.new
  56. RAD = math.rad
  57. C3 = Color3.new
  58. UD2 = UDim2.new
  59. BRICKC = BrickColor.new
  60. ANGLES = CFrame.Angles
  61. EULER = CFrame.fromEulerAnglesXYZ
  62. COS = math.cos
  63. ACOS = math.acos
  64. SIN = math.sin
  65. ASIN = math.asin
  66. ABS = math.abs
  67. MRANDOM = math.random
  68. FLOOR = math.floor
  69.  
  70. function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
  71. local NEWMESH = IT(MESH)
  72. if MESH == "SpecialMesh" then
  73. NEWMESH.MeshType = MESHTYPE
  74. if MESHID ~= "nil" and MESHID ~= "" then
  75. NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID
  76. end
  77. if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
  78. NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID
  79. end
  80. end
  81. NEWMESH.Offset = OFFSET or VT(0, 0, 0)
  82. NEWMESH.Scale = SCALE
  83. NEWMESH.Parent = PARENT
  84. return NEWMESH
  85. end
  86.  
  87. function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
  88. local NEWPART = IT("Part")
  89. NEWPART.formFactor = FORMFACTOR
  90. NEWPART.Reflectance = REFLECTANCE
  91. NEWPART.Transparency = TRANSPARENCY
  92. NEWPART.CanCollide = false
  93. NEWPART.Locked = true
  94. NEWPART.Anchored = true
  95. if ANCHOR == false then
  96. NEWPART.Anchored = false
  97. end
  98. NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
  99. NEWPART.Name = NAME
  100. NEWPART.Size = SIZE
  101. NEWPART.Position = Torso.Position
  102. NEWPART.Material = MATERIAL
  103. NEWPART:BreakJoints()
  104. NEWPART.Parent = PARENT
  105. return NEWPART
  106. end
  107.  
  108. --//=================================\\
  109. --|| CUSTOMIZATION
  110. --\\=================================//
  111.  
  112. Player_Size = 1 --Size of the player.
  113. Animation_Speed = 3
  114. Animation_Speed2 = 0.7
  115. Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60)
  116.  
  117. local Speed = 16
  118. local Effects2 = {}
  119.  
  120. --//=================================\\
  121. --|| END OF CUSTOMIZATION
  122. --\\=================================//
  123.  
  124. local function weldBetween(a, b)
  125. local weldd = Instance.new("ManualWeld")
  126. weldd.Part0 = a
  127. weldd.Part1 = b
  128. weldd.C0 = CFrame.new()
  129. weldd.C1 = b.CFrame:inverse() * a.CFrame
  130. weldd.Parent = a
  131. return weldd
  132. end
  133.  
  134. --//=================================\\
  135. --|| USEFUL VALUES
  136. --\\=================================//
  137.  
  138. local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  139. local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  140. local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0))
  141. local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0))
  142. local CHANGEDEFENSE = 0
  143. local CHANGEDAMAGE = 0
  144. local CHANGEMOVEMENT = 0
  145. local ANIM = "Idle"
  146. local ATTACK = false
  147. local EQUIPPED = false
  148. local HOLD = false
  149. local COMBO = 1
  150. local Rooted = false
  151. local SINE = 0
  152. local KEYHOLD = false
  153. local CHANGE = 2 / Animation_Speed
  154. local WALKINGANIM = false
  155. local WALK = 0
  156. local VALUE1 = false
  157. local VALUE2 = false
  158. local ROBLOXIDLEANIMATION = IT("Animation")
  159. ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation"
  160. ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571"
  161. --ROBLOXIDLEANIMATION.Parent = Humanoid
  162. local WEAPONGUI = IT("ScreenGui", PlayerGui)
  163. WEAPONGUI.Name = "Weapon GUI"
  164. local Weapon = IT("Model")
  165. Weapon.Name = "Adds"
  166. local Effects = IT("Folder", Weapon)
  167. Effects.Name = "Effects"
  168. local TelekenesisEffects = IT("Folder", Weapon)
  169. TelekenesisEffects.Name = "HoldGraphics"
  170. local ANIMATOR = Humanoid.Animator
  171. local ANIMATE = Character.Animate
  172. local HITPLAYERSOUNDS = {--[["199149137", "199149186", "199149221", "199149235", "199149269", "199149297"--]]"263032172", "263032182", "263032200", "263032221", "263032252", "263033191"}
  173. local HITARMORSOUNDS = {"199149321", "199149338", "199149367", "199149409", "199149452"}
  174. local HITWEAPONSOUNDS = {"199148971", "199149025", "199149072", "199149109", "199149119"}
  175. local HITBLOCKSOUNDS = {"199148933", "199148947"}
  176. local UNANCHOR = true
  177. local TELEBODY = nil
  178. local NESISPART = nil
  179. local FINGERWORK = false
  180. local KEY = nil
  181. local PEWSOUND = {"907527750","907527912","907528019","907530553"}
  182.  
  183. local SKILLTEXTCOLOR = BRICKC("Maroon").Color
  184.  
  185. --//=================================\\
  186. --\\=================================//
  187.  
  188.  
  189. --//=================================\\
  190. --|| SAZERENOS' ARTIFICIAL HEARTBEAT
  191. --\\=================================//
  192.  
  193. ArtificialHB = Instance.new("BindableEvent", script)
  194. ArtificialHB.Name = "ArtificialHB"
  195.  
  196. script:WaitForChild("ArtificialHB")
  197.  
  198. frame = Frame_Speed
  199. tf = 0
  200. allowframeloss = false
  201. tossremainder = false
  202. lastframe = tick()
  203. script.ArtificialHB:Fire()
  204.  
  205. game:GetService("RunService").Heartbeat:connect(function(s, p)
  206. tf = tf + s
  207. if tf >= frame then
  208. if allowframeloss then
  209. script.ArtificialHB:Fire()
  210. lastframe = tick()
  211. else
  212. for i = 1, math.floor(tf / frame) do
  213. script.ArtificialHB:Fire()
  214. end
  215. lastframe = tick()
  216. end
  217. if tossremainder then
  218. tf = 0
  219. else
  220. tf = tf - frame * math.floor(tf / frame)
  221. end
  222. end
  223. end)
  224.  
  225. --//=================================\\
  226. --\\=================================//
  227.  
  228.  
  229.  
  230.  
  231.  
  232. --//=================================\\
  233. --|| SOME FUNCTIONS
  234. --\\=================================//
  235.  
  236. function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
  237. return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
  238. end
  239.  
  240. function PositiveAngle(NUMBER)
  241. if NUMBER >= 0 then
  242. NUMBER = 0
  243. end
  244. return NUMBER
  245. end
  246.  
  247. function NegativeAngle(NUMBER)
  248. if NUMBER <= 0 then
  249. NUMBER = 0
  250. end
  251. return NUMBER
  252. end
  253.  
  254. function Swait(NUMBER)
  255. if NUMBER == 0 or NUMBER == nil then
  256. ArtificialHB.Event:wait()
  257. else
  258. for i = 1, NUMBER do
  259. ArtificialHB.Event:wait()
  260. end
  261. end
  262. end
  263.  
  264. function QuaternionFromCFrame(cf)
  265. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  266. local trace = m00 + m11 + m22
  267. if trace > 0 then
  268. local s = math.sqrt(1 + trace)
  269. local recip = 0.5 / s
  270. return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  271. else
  272. local i = 0
  273. if m11 > m00 then
  274. i = 1
  275. end
  276. if m22 > (i == 0 and m00 or m11) then
  277. i = 2
  278. end
  279. if i == 0 then
  280. local s = math.sqrt(m00 - m11 - m22 + 1)
  281. local recip = 0.5 / s
  282. return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  283. elseif i == 1 then
  284. local s = math.sqrt(m11 - m22 - m00 + 1)
  285. local recip = 0.5 / s
  286. return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  287. elseif i == 2 then
  288. local s = math.sqrt(m22 - m00 - m11 + 1)
  289. local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  290. end
  291. end
  292. end
  293.  
  294. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  295. local xs, ys, zs = x + x, y + y, z + z
  296. local wx, wy, wz = w * xs, w * ys, w * zs
  297. local xx = x * xs
  298. local xy = x * ys
  299. local xz = x * zs
  300. local yy = y * ys
  301. local yz = y * zs
  302. local zz = z * zs
  303. 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))
  304. end
  305.  
  306. function QuaternionSlerp(a, b, t)
  307. local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  308. local startInterp, finishInterp;
  309. if cosTheta >= 0.0001 then
  310. if (1 - cosTheta) > 0.0001 then
  311. local theta = ACOS(cosTheta)
  312. local invSinTheta = 1 / SIN(theta)
  313. startInterp = SIN((1 - t) * theta) * invSinTheta
  314. finishInterp = SIN(t * theta) * invSinTheta
  315. else
  316. startInterp = 1 - t
  317. finishInterp = t
  318. end
  319. else
  320. if (1 + cosTheta) > 0.0001 then
  321. local theta = ACOS(-cosTheta)
  322. local invSinTheta = 1 / SIN(theta)
  323. startInterp = SIN((t - 1) * theta) * invSinTheta
  324. finishInterp = SIN(t * theta) * invSinTheta
  325. else
  326. startInterp = t - 1
  327. finishInterp = t
  328. end
  329. end
  330. 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
  331. end
  332.  
  333. function Clerp(a, b, t)
  334. local qa = {QuaternionFromCFrame(a)}
  335. local qb = {QuaternionFromCFrame(b)}
  336. local ax, ay, az = a.x, a.y, a.z
  337. local bx, by, bz = b.x, b.y, b.z
  338. local _t = 1 - t
  339. return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  340. end
  341.  
  342. function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME)
  343. local frame = IT("Frame")
  344. frame.BackgroundTransparency = TRANSPARENCY
  345. frame.BorderSizePixel = BORDERSIZEPIXEL
  346. frame.Position = POSITION
  347. frame.Size = SIZE
  348. frame.BackgroundColor3 = COLOR
  349. frame.BorderColor3 = BORDERCOLOR
  350. frame.Name = NAME
  351. frame.Parent = PARENT
  352. return frame
  353. end
  354.  
  355. function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME)
  356. local label = IT("TextLabel")
  357. label.BackgroundTransparency = 1
  358. label.Size = UD2(1, 0, 1, 0)
  359. label.Position = UD2(0, 0, 0, 0)
  360. label.TextColor3 = TEXTCOLOR
  361. label.TextStrokeTransparency = STROKETRANSPARENCY
  362. label.TextTransparency = TRANSPARENCY
  363. label.FontSize = TEXTFONTSIZE
  364. label.Font = TEXTFONT
  365. label.BorderSizePixel = BORDERSIZEPIXEL
  366. label.TextScaled = false
  367. label.Text = TEXT
  368. label.Name = NAME
  369. label.Parent = PARENT
  370. return label
  371. end
  372.  
  373. function NoOutlines(PART)
  374. PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10
  375. end
  376.  
  377.  
  378. function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
  379. local NEWWELD = IT(TYPE)
  380. NEWWELD.Part0 = PART0
  381. NEWWELD.Part1 = PART1
  382. NEWWELD.C0 = C0
  383. NEWWELD.C1 = C1
  384. NEWWELD.Parent = PARENT
  385. return NEWWELD
  386. end
  387.  
  388. function CreateSound(ID, PARENT, VOLUME, PITCH)
  389. local NEWSOUND = nil
  390. coroutine.resume(coroutine.create(function()
  391. NEWSOUND = IT("Sound", PARENT)
  392. NEWSOUND.Volume = VOLUME
  393. NEWSOUND.Pitch = PITCH
  394. NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID
  395. Swait()
  396. NEWSOUND:play()
  397. game:GetService("Debris"):AddItem(NEWSOUND, 10)
  398. end))
  399. return NEWSOUND
  400. end
  401.  
  402. function CFrameFromTopBack(at, top, back)
  403. local right = top:Cross(back)
  404. 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)
  405. end
  406.  
  407. function MakeForm(PART,TYPE)
  408. if TYPE == "Cyl" then
  409. local MSH = IT("CylinderMesh",PART)
  410. elseif TYPE == "Ball" then
  411. local MSH = IT("SpecialMesh",PART)
  412. MSH.MeshType = "Sphere"
  413. elseif TYPE == "Wedge" then
  414. local MSH = IT("SpecialMesh",PART)
  415. MSH.MeshType = "Wedge"
  416. end
  417. end
  418.  
  419. function CheckTableForString(Table, String)
  420. for i, v in pairs(Table) do
  421. if string.find(string.lower(String), string.lower(v)) then
  422. return true
  423. end
  424. end
  425. return false
  426. end
  427.  
  428. function CheckIntangible(Hit)
  429. local ProjectileNames = {"Water", "Arrow", "Projectile", "Effect", "Rail", "Lightning", "Bullet"}
  430. if Hit and Hit.Parent then
  431. if ((not Hit.CanCollide or CheckTableForString(ProjectileNames, Hit.Name)) and not Hit.Parent:FindFirstChild("Humanoid")) then
  432. return true
  433. end
  434. end
  435. return false
  436. end
  437.  
  438. Debris = game:GetService("Debris")
  439.  
  440. function CastZapRay(StartPos, Vec, Length, Ignore, DelayIfHit)
  441. local Direction = CFrame.new(StartPos, Vec).lookVector
  442. local Ignore = ((type(Ignore) == "table" and Ignore) or {Ignore})
  443. local RayHit, RayPos, RayNormal = game:GetService("Workspace"):FindPartOnRayWithIgnoreList(Ray.new(StartPos, Direction * Length), Ignore)
  444. if RayHit and CheckIntangible(RayHit) then
  445. if DelayIfHit then
  446. wait()
  447. end
  448. RayHit, RayPos, RayNormal = CastZapRay((RayPos + (Vec * 0.01)), Vec, (Length - ((StartPos - RayPos).magnitude)), Ignore, DelayIfHit)
  449. end
  450. return RayHit, RayPos, RayNormal
  451. end
  452.  
  453. function turnto(position)
  454. RootPart.CFrame=CFrame.new(RootPart.CFrame.p,VT(position.X,RootPart.Position.Y,position.Z)) * CFrame.new(0, 0, 0)
  455. end
  456.  
  457. function MagicSphere(SIZE,WAIT,CFRAME,COLOR,GROW)
  458. local wave = CreatePart(3, Effects, "Neon", 0, 0, BRICKC(COLOR), "Effect", VT(1,1,1), true)
  459. local mesh = IT("SpecialMesh",wave)
  460. mesh.MeshType = "Sphere"
  461. mesh.Scale = SIZE
  462. mesh.Offset = VT(0,0,0)
  463. wave.CFrame = CFRAME
  464. coroutine.resume(coroutine.create(function(PART)
  465. for i = 1, WAIT do
  466. Swait()
  467. mesh.Scale = mesh.Scale + GROW
  468. wave.Transparency = wave.Transparency + (1/WAIT)
  469. if wave.Transparency > 0.99 then
  470. wave:remove()
  471. end
  472. end
  473. end))
  474. end
  475.  
  476. function Slice(SIZE,WAIT,CFRAME,COLOR,GROW)
  477. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(1,1,1), true)
  478. local mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "448386996", "", VT(0,SIZE/10,SIZE/10), VT(0,0,0))
  479. wave.CFrame = CFRAME
  480. coroutine.resume(coroutine.create(function(PART)
  481. for i = 1, WAIT do
  482. Swait()
  483. mesh.Scale = mesh.Scale * GROW
  484. wave.Transparency = wave.Transparency + (0.5/WAIT)
  485. if wave.Transparency > 0.99 then
  486. wave:remove()
  487. end
  488. end
  489. end))
  490. end
  491.  
  492. function CreateDebreeRing(FLOOR,POSITION,SIZE,BLOCKSIZE,SWAIT)
  493. if FLOOR ~= nil then
  494. coroutine.resume(coroutine.create(function()
  495. local PART = CreatePart(3, Effects, "Plastic", 0, 1, "Pearl", "DebreeCenter", VT(0,0,0))
  496. PART.CFrame = CF(POSITION)
  497. for i = 1, 45 do
  498. local RingPiece = CreatePart(3, Effects, "Plastic", 0, 0, "Pearl", "DebreePart", BLOCKSIZE)
  499. RingPiece.Material = FLOOR.Material
  500. RingPiece.Color = FLOOR.Color
  501. 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)))
  502. Debris:AddItem(RingPiece,SWAIT)
  503. end
  504. PART:remove()
  505. end))
  506. end
  507. end
  508.  
  509. function CreateFlyingDebree(FLOOR,POSITION,AMOUNT,BLOCKSIZE,SWAIT,STRENGTH,DOESBREAK)
  510. if FLOOR ~= nil then
  511. for i = 1, AMOUNT do
  512. local DEBREE = CreatePart(3, Effects, "Neon", 0, 0, "Peal", "Debree", BLOCKSIZE, false)
  513. DEBREE.Material = FLOOR.Material
  514. DEBREE.Color = FLOOR.Color
  515. DEBREE.CFrame = POSITION * ANGLES(RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360)))
  516. DEBREE.Velocity = VT(MRANDOM(-STRENGTH,STRENGTH),MRANDOM(STRENGTH/2,STRENGTH*2),MRANDOM(-STRENGTH,STRENGTH))
  517. coroutine.resume(coroutine.create(function()
  518. if DOESBREAK == true then
  519. local IMPACT = false
  520. local Touched = DEBREE.Touched:Connect(function(hit)
  521. if hit.CanCollide == true and hit.Parent ~= Effects and IMPACT == false then
  522. IMPACT = true
  523. CreateFlyingDebree(FLOOR,DEBREE.CFrame,5,DEBREE.Size/2,SWAIT,STRENGTH,false)
  524. end
  525. end)
  526. end
  527. Swait(15)
  528. DEBREE.Parent = workspace
  529. DEBREE.CanCollide = true
  530. Debris:AddItem(DEBREE,SWAIT)
  531. end))
  532. end
  533. end
  534. end
  535.  
  536. function MagicBlock(SIZE,WAIT,CFRAME,COLOR,GROW)
  537. local wave = CreatePart(3, Effects, "Neon", 0, 0, BRICKC(COLOR), "Effect", VT(SIZE,SIZE,SIZE), true)
  538. local mesh = IT("BlockMesh",wave)
  539. wave.CFrame = CFRAME * ANGLES(RAD(math.random(-360,360)),RAD(math.random(-360,360)),RAD(math.random(-360,360)))
  540. coroutine.resume(coroutine.create(function(PART)
  541. for i = 1, WAIT do
  542. Swait()
  543. mesh.Scale = mesh.Scale + GROW
  544. wave.CFrame = CFRAME * ANGLES(RAD(math.random(-360,360)),RAD(math.random(-360,360)),RAD(math.random(-360,360)))
  545. wave.Transparency = wave.Transparency + (1/WAIT)
  546. if wave.Transparency > 0.99 then
  547. wave:remove()
  548. end
  549. end
  550. end))
  551. end
  552.  
  553. --//=================================\\
  554. --|| WEAPON CREATION
  555. --\\=================================//
  556.  
  557. local HITFLOOR = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4 * Player_Size, Character)
  558.  
  559. local HandlePart = CreatePart(3, Weapon, "DiamondPlate", 0, 0, "Maroon", "MainColor", VT(1.2,1.21,1.2),false)
  560. local Weld = CreateWeldOrSnapOrMotor("Weld", HandlePart, RightArm, HandlePart, CF(0, -0.6, 0) * ANGLES(RAD(0), RAD(90), RAD(0)), CF(0, 0, 0))
  561. local HandlePart = CreatePart(3, Weapon, "Metal", 0, 0, "EEE", "Handle", VT(1.05,1.21,0.5),false)
  562. HandlePart.Color = C3(0,0,0)
  563. local Weld = CreateWeldOrSnapOrMotor("Weld", HandlePart, RightArm, HandlePart, CF(0.3, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0)), CF(0, 0, 0))
  564.  
  565. local HandlePart = CreatePart(3, Weapon, "DiamondPlate", 0, 0, "Really black", "MainColor", VT(1.06,1.05,0.2),false)
  566. local Weld = CreateWeldOrSnapOrMotor("Weld", HandlePart, RightArm, HandlePart, CF(0, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0)), CF(0, 0, 0))
  567. local HandlePart = CreatePart(3, Weapon, "DiamondPlate", 0, 0, "Really black", "MainColor", VT(1.06,0.2,0.7),false)
  568. local Weld = CreateWeldOrSnapOrMotor("Weld", HandlePart, RightArm, HandlePart, CF(0.25, 0.6, 0) * ANGLES(RAD(0), RAD(90), RAD(0)), CF(0, 0, 0))
  569.  
  570. local HandlePart = CreatePart(3, Weapon, "Metal", 0, 0, "Really black", "Handle", VT(1.015,0.2,1.015),false)
  571. local Weld = CreateWeldOrSnapOrMotor("Weld", HandlePart, RightArm, HandlePart, CF(0, -0.2, 0) * ANGLES(RAD(0), RAD(90), RAD(0)), CF(0, 0, 0))
  572. local TelePart = CreatePart(3, Weapon, "Metal", 0, 0, "Really black", "Handle", VT(1,0.09,1),false)
  573. local Weld = CreateWeldOrSnapOrMotor("Weld", TelePart, RightArm, TelePart, CF(0, -1.161, 0) * ANGLES(RAD(0), RAD(90), RAD(0)), CF(0, 0, 0))
  574. MakeForm(TelePart,"Cyl")
  575. local TelePart = CreatePart(3, Weapon, "Neon", 0, 0, "Maroon", "MainColor", VT(0.7,0.1,0.7),false)
  576. local Weld = CreateWeldOrSnapOrMotor("Weld", TelePart, RightArm, TelePart, CF(0, -1.161, 0) * ANGLES(RAD(0), RAD(90), RAD(0)), CF(0, 0, 0))
  577. MakeForm(TelePart,"Cyl")
  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, -1.1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)), CF(0, 0, 0))
  580.  
  581. local HandlePart = CreatePart(3, Weapon, "Metal", 0, 0, "Really black", "Handle", VT(0.2,1.21,0.2),false)
  582. local Weld = CreateWeldOrSnapOrMotor("Weld", HandlePart, RightArm, HandlePart, CF(0.35, -0.2, 0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  583. MakeForm(HandlePart,"Cyl")
  584. local HandlePart = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Handle", VT(0.15,1.22,0),false)
  585. local Weld = CreateWeldOrSnapOrMotor("Weld", HandlePart, RightArm, HandlePart, CF(0.35, -0.2, 0) * ANGLES(RAD(90), RAD(45), RAD(0)), CF(0, 0, 0))
  586. local HandlePart = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Handle", VT(0.15,1.22,0),false)
  587. local Weld = CreateWeldOrSnapOrMotor("Weld", HandlePart, RightArm, HandlePart, CF(0.35, -0.2, 0) * ANGLES(RAD(90), RAD(-45), 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, -1, 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, -1, 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, -1, 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.4,0.4,0.4),false)
  614. 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))
  615. MakeForm(HandlePart,"Ball")
  616. local FingerPart = CreatePart(3, Weapon, "DiamondPlate", 0, 0, "Really black", "Handle", VT(0.25,0.2,0.25),false)
  617. 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))
  618. MakeForm(FingerPart,"Cyl")
  619. Weld.Name = "FingerJoint"
  620. local Part = CreatePart(3, Weapon, "DiamondPlate", 0, 0, "Really black", "MainColor", VT(0.26,0.3,0.26),false)
  621. local Weld = CreateWeldOrSnapOrMotor("Weld", Part, FingerPart, Part, CF(0,-0.15,0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  622. MakeForm(Part,"Cyl")
  623. local Part = CreatePart(3, Weapon, "DiamondPlate", 0, 0, "Really black", "MainColor", VT(0.26,0.2,0.26),false)
  624. local Weld = CreateWeldOrSnapOrMotor("Weld", Part, FingerPart, Part, CF(0,0.15,0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  625. MakeForm(Part,"Cyl")
  626.  
  627. local HandlePart = CreatePart(3, Weapon, "Metal", 0, 0, "Really black", "Handle", VT(0.4,0.4,0.4),false)
  628. 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))
  629. MakeForm(HandlePart,"Ball")
  630. local FingerPart = CreatePart(3, Weapon, "DiamondPlate", 0, 0, "Really black", "Handle", VT(0.25,0.2,0.25),false)
  631. 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))
  632. MakeForm(FingerPart,"Cyl")
  633. Weld.Name = "FingerJoint"
  634. local Part = CreatePart(3, Weapon, "DiamondPlate", 0, 0, "Really black", "MainColor", VT(0.26,0.3,0.26),false)
  635. local Weld = CreateWeldOrSnapOrMotor("Weld", Part, FingerPart, Part, CF(0,-0.15,0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  636. MakeForm(Part,"Cyl")
  637. local Part = CreatePart(3, Weapon, "DiamondPlate", 0, 0, "Really black", "MainColor", VT(0.26,0.2,0.26),false)
  638. local Weld = CreateWeldOrSnapOrMotor("Weld", Part, FingerPart, Part, CF(0,0.15,0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  639. MakeForm(Part,"Cyl")
  640.  
  641. local HandlePart = CreatePart(3, Weapon, "Metal", 0, 0, "Really black", "Handle", VT(0.4,0.4,0.4),false)
  642. 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))
  643. MakeForm(HandlePart,"Ball")
  644. local FingerPart = CreatePart(3, Weapon, "DiamondPlate", 0, 0, "Really black", "Handle", VT(0.25,0.25,0.25),false)
  645. 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))
  646. MakeForm(FingerPart,"Cyl")
  647. Weld.Name = "FingerJoint"
  648. local Part = CreatePart(3, Weapon, "DiamondPlate", 0, 0, "Really black", "MainColor", VT(0.26,0.3,0.26),false)
  649. local Weld = CreateWeldOrSnapOrMotor("Weld", Part, FingerPart, Part, CF(0,-0.15,0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  650. MakeForm(Part,"Cyl")
  651. local Part = CreatePart(3, Weapon, "DiamondPlate", 0, 0, "Really black", "MainColor", VT(0.26,0.25,0.26),false)
  652. local Weld = CreateWeldOrSnapOrMotor("Weld", Part, FingerPart, Part, CF(0,0.15,0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  653. MakeForm(Part,"Cyl")
  654.  
  655. local HandlePart = CreatePart(3, Weapon, "Metal", 0, 0, "Really black", "Handle", VT(0.4,0.4,0.4),false)
  656. 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))
  657. MakeForm(HandlePart,"Ball")
  658. local FingerPart = CreatePart(3, Weapon, "DiamondPlate", 0, 0, "Really black", "Handle", VT(0.25,0.25,0.25),false)
  659. 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))
  660. MakeForm(FingerPart,"Cyl")
  661. Weld.Name = "FingerJoint2"
  662. local Part = CreatePart(3, Weapon, "DiamondPlate", 0, 0, "Really black", "MainColor", VT(0.26,0.3,0.26),false)
  663. local Weld = CreateWeldOrSnapOrMotor("Weld", Part, FingerPart, Part, CF(0,-0.15,0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  664. MakeForm(Part,"Cyl")
  665. local Part = CreatePart(3, Weapon, "DiamondPlate", 0, 0, "Really black", "MainColor", VT(0.26,0.25,0.26),false)
  666. local Weld = CreateWeldOrSnapOrMotor("Weld", Part, FingerPart, Part, CF(0,0.15,0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  667. MakeForm(Part,"Cyl")
  668.  
  669. local HandlePart = CreatePart(3, Weapon, "Metal", 0, 0, "Really black", "Handle", VT(0.3,0.4,0.3),false)
  670. 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))
  671.  
  672. local HandlePart = CreatePart(3, Weapon, "Metal", 0, 0, "Really black", "Handle", VT(0.3,0.4,0.3),false)
  673. 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))
  674.  
  675. local HandlePart = CreatePart(3, Weapon, "Metal", 0, 0, "Really black", "Handle", VT(0.3,0.4,0.3),false)
  676. 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))
  677.  
  678. local HandlePart = CreatePart(3, Weapon, "Metal", 0, 0, "Really black", "Handle", VT(0.3,0.4,0.3),false)
  679. 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))
  680.  
  681. for _, c in pairs(Weapon:GetChildren()) do
  682. if c.ClassName == "Part" then
  683. c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  684. end
  685. end
  686.  
  687. Weapon.Parent = Character
  688.  
  689. Humanoid.Died:connect(function()
  690. ATTACK = true
  691. end)
  692.  
  693. 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")
  694. 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")
  695. 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")
  696. 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")
  697.  
  698. local SKILL1TEXT = CreateLabel(SKILL1FRAME, "[Z] Telekenesis", SKILLTEXTCOLOR, 7, "SciFi", 0, 2, 0.5, "Text 1")
  699. local SKILL2TEXT = CreateLabel(SKILL2FRAME, "[B] Rock Chuck", SKILLTEXTCOLOR, 7, "SciFi", 0, 2, 0.5, "Text 2")
  700. local SKILL3TEXT = CreateLabel(SKILL3FRAME, "[C] Inner Crusher", SKILLTEXTCOLOR, 7, "SciFi", 0, 2, 0.5, "Text 3")
  701. local SKILL4TEXT = CreateLabel(SKILL4FRAME, "[X] Meteor", SKILLTEXTCOLOR, 7, "SciFi", 0, 2, 0.5, "Text 4")
  702.  
  703. --//=================================\\
  704. --|| DAMAGE FUNCTIONS
  705. --\\=================================//
  706.  
  707. function StatLabel(LABELTYPE, CFRAME, TEXT, COLOR)
  708. local STATPART = CreatePart(3, Effects, "SmoothPlastic", 0, 1, "Really black", "Effect", VT())
  709. STATPART.CFrame = CF(CFRAME.p + VT(0, 1.5, 0))
  710. local BODYGYRO = IT("BodyGyro", STATPART)
  711. local BODYPOSITION = IT("BodyPosition", STATPART)
  712. BODYPOSITION.P = 2000
  713. BODYPOSITION.D = 100
  714. BODYPOSITION.maxForce = VT(math.huge, math.huge, math.huge)
  715. BODYPOSITION.position = STATPART.Position + VT(MRANDOM(-2, 2), 6, MRANDOM(-2, 2))
  716. game:GetService("Debris"):AddItem(STATPART ,5)
  717. local BILLBOARDGUI = Instance.new("BillboardGui", STATPART)
  718. BILLBOARDGUI.Adornee = STATPART
  719. BILLBOARDGUI.Size = UD2(2.5, 0, 2.5 ,0)
  720. BILLBOARDGUI.StudsOffset = VT(-2, 2, 0)
  721. BILLBOARDGUI.AlwaysOnTop = false
  722. local TEXTLABEL = Instance.new("TextLabel", BILLBOARDGUI)
  723. TEXTLABEL.BackgroundTransparency = 1
  724. TEXTLABEL.Size = UD2(2.5, 0, 2.5, 0)
  725. TEXTLABEL.Text = TEXT
  726. TEXTLABEL.Font = "SciFi"
  727. TEXTLABEL.FontSize="Size42"
  728. TEXTLABEL.TextColor3 = COLOR
  729. TEXTLABEL.TextStrokeTransparency = 1
  730. TEXTLABEL.TextScaled = true
  731. TEXTLABEL.TextWrapped = true
  732. coroutine.resume(coroutine.create(function(THEPART, THEBODYPOSITION, THETEXTLABEL)
  733. if LABELTYPE == "Normal" then
  734. for i = 1, 30 do
  735. Swait()
  736. STATPART.Position = STATPART.Position + VT(0, (15-i)/10 ,0)
  737. TEXTLABEL.TextTransparency = TEXTLABEL.TextTransparency + (1/30)
  738. end
  739. elseif LABELTYPE == "Debuff" then
  740. for i = 1, 30 do
  741. Swait()
  742. STATPART.Position = STATPART.Position - VT(0, i/10 ,0)
  743. TEXTLABEL.TextTransparency = TEXTLABEL.TextTransparency + (1/30)
  744. end
  745. elseif LABELTYPE == "Shock" then
  746. local ORIGIN = STATPART.Position
  747. for i = 1, 30 do
  748. Swait()
  749. STATPART.Position = ORIGIN + VT(MRANDOM(-2,2),MRANDOM(-2,2),MRANDOM(-2,2))
  750. TEXTLABEL.TextTransparency = TEXTLABEL.TextTransparency + (1/30)
  751. end
  752. end
  753. THEPART.Parent = nil
  754. end),STATPART, BODYPOSITION, TEXTLABEL)
  755. end
  756.  
  757. --//=================================\\
  758. --|| DAMAGING
  759. --\\=================================//
  760.  
  761. function ApplyDamage(Humanoid,Damage,CritRate,CritMultiplier)
  762. local defence = Instance.new("BoolValue",Humanoid.Parent)
  763. defence.Name = ("HitBy"..Player.Name)
  764. game:GetService("Debris"):AddItem(defence, 0.001)
  765. if Humanoid.Health ~= 0 then
  766. local CritChance = MRANDOM(1,100)
  767. if CritChance < CritRate + 1 then
  768. Damage = Damage*CritMultiplier
  769. end
  770. if Damage > Humanoid.Health then
  771. Damage = math.ceil(Humanoid.Health)
  772. if Damage == 10 then
  773. Damage = 0.5
  774. end
  775. end
  776. Humanoid.Health = Humanoid.Health - Damage
  777. if Humanoid.Parent:FindFirstChild("Head") then
  778. if CritChance < CritRate + 1 then
  779. StatLabel("Normal", Humanoid.Parent.Head.CFrame * CF(0, 0 + (Humanoid.Parent.Head.Size.z - 1), 0), "CRIT//"..Damage, C3(1, 0, 1))
  780. else
  781. StatLabel("Normal", Humanoid.Parent.Head.CFrame * CF(0, 0 + (Humanoid.Parent.Head.Size.z - 1), 0), Damage, C3(1, 0, 1))
  782. end
  783. end
  784. end
  785. end
  786.  
  787. function AoEDamage(position,radius,min,max,maxstrength,critrate,critmultiplier,CanBeDodgedByJumping)
  788. local dmg = math.random(min,max)
  789. for i,v in ipairs(workspace:GetChildren()) do
  790. if v:FindFirstChild("HitBy"..Player.Name) == nil then
  791. local body = v:GetChildren()
  792. for part = 1, #body do
  793. if(v:FindFirstChild("HitBy"..Player.Name) == nil and (body[part].ClassName == "Part" or body[part].ClassName == "MeshPart") and v ~= Character) then
  794. if(body[part].Position - position).Magnitude < radius then
  795. if v.ClassName == "Model" then
  796. if v:FindFirstChildOfClass("Humanoid") then
  797. if CanBeDodgedByJumping == true then
  798. if body[part].Position.Y < position.Y+5 then
  799. ApplyDamage(v:FindFirstChildOfClass("Humanoid"),dmg,critrate,critmultiplier)
  800. end
  801. else
  802. ApplyDamage(v:FindFirstChildOfClass("Humanoid"),dmg,critrate,critmultiplier)
  803. end
  804. local bv = Instance.new("BodyVelocity")
  805. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  806. bv.velocity = RootPart.CFrame.lookVector*maxstrength
  807. bv.Parent = body[part]
  808. Debris:AddItem(bv,0.2)
  809. end
  810. end
  811. end
  812. end
  813. end
  814. end
  815. if v:FindFirstChild("HitBy"..Player.Name) then
  816. v:FindFirstChild("HitBy"..Player.Name):remove()
  817. end
  818. end
  819. end
  820.  
  821. --//=================================\\
  822. --|| ATTACK FUNCTIONS AND STUFF
  823. --\\=================================//
  824.  
  825. function CastProperRay(StartPos, Vec, Length, Ignore)
  826. local Direction = CFrame.new(StartPos, Vec).lookVector
  827. local Ignore = ((type(Ignore) == "table" and Ignore) or {Ignore})
  828. local RayHit, RayPos, RayNormal = game:GetService("Workspace"):FindPartOnRayWithIgnoreList(Ray.new(StartPos, Direction * Length), Ignore)
  829. return RayHit, RayPos, RayNormal
  830. end
  831.  
  832. local PARTICLES = IT("ParticleEmitter")
  833.  
  834. function particles(art)
  835. local EyeSizes={
  836. NumberSequenceKeypoint.new(0,0,0),
  837. NumberSequenceKeypoint.new(1,1*FORM,0)
  838. }
  839. local EyeTrans={
  840. NumberSequenceKeypoint.new(0,0.5,0),
  841. NumberSequenceKeypoint.new(1,1,0)
  842. }
  843. local PE=PARTICLES:Clone()
  844. PE.Parent = art
  845. PE.LightEmission=.3
  846. PE.Color = ColorSequence.new(SKILLTEXTCOLOR)
  847. PE.Size=NumberSequence.new(EyeSizes)
  848. PE.Transparency=NumberSequence.new(EyeTrans)
  849. PE.Lifetime=NumberRange.new(0.35,0.35,0.35)
  850. PE.Rotation=NumberRange.new(0,360)
  851. PE.Rate=999
  852. PE.VelocitySpread = 10000
  853. PE.LockedToPart = true
  854. PE.Drag = 5
  855. PE.Speed = NumberRange.new(0,0,0)
  856. PE.Texture="http://www.roblox.com/asset/?id=1351966707"
  857. PE.ZOffset = -1.5
  858. PE.Name = "PE"
  859. end
  860.  
  861. function AttackTemplate()
  862. ATTACK = true
  863. Rooted = false
  864. for i=0, 1, 0.1 / Animation_Speed do
  865. Swait()
  866. 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)
  867. 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)
  868. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  869. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  870. 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)
  871. 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)
  872. end
  873. ATTACK = false
  874. Rooted = false
  875. end
  876.  
  877. function Telekenesis()
  878. if Mouse.Target ~= nil then
  879. if Mouse.Target.Anchored == false then
  880. local TELEPART = Mouse.Target
  881. local grav = Instance.new("BodyPosition",TELEPART)
  882. grav.P = 20000
  883. grav.maxForce = Vector3.new(math.huge,math.huge,math.huge)
  884. grav.Name = "GravityForce"
  885. local DIST = (RootPart.Position - TELEPART.Position).Magnitude
  886. ATTACK = true
  887. Rooted = true
  888. VALUE1 = true
  889. FINGERWORK = true
  890. local AUTOBREAK = false
  891. CreateSound(PEWSOUND[MRANDOM(1,#PEWSOUND)], RightArm, 5, 1)
  892. repeat
  893. Swait()
  894. local HEIGHT = (TELEPART.Position.Y - RightArm.Position.Y)
  895. turnto(Mouse.Hit.p)
  896. local RayHit,RayPos = CastProperRay(HandlePart.Position, Mouse.Hit.p, DIST, Character)
  897. grav.position = RayPos
  898. MagicSphere(VT(0.3,0.3,0.3),5,TelePart.CFrame,SKILLTEXTCOLOR,VT(-0.3,-0.3,-0.3)/5)
  899. 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)
  900. 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)
  901. 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)
  902. 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)
  903. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  904. 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)
  905. 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)
  906. if KEY ~= nil then
  907. if KEY == "b" then
  908. DIST = DIST - 10
  909. elseif KEY == "c" then
  910. DIST = DIST + 10
  911. elseif KEY == "x" then
  912. AUTOBREAK = true
  913. for i=0, 2, 0.1 / Animation_Speed do
  914. Swait()
  915. MagicSphere(VT(0.3,0.3,0.3),5,TelePart.CFrame,SKILLTEXTCOLOR,VT(-0.3,-0.3,-0.3)/5)
  916. 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)
  917. 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)
  918. 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)
  919. 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)
  920. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  921. 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)
  922. 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)
  923. end
  924. for i=0, 0.2, 0.1 / Animation_Speed do
  925. Swait()
  926. MagicSphere(VT(0.3,0.3,0.3),5,TelePart.CFrame,SKILLTEXTCOLOR,VT(-0.3,-0.3,-0.3)/5)
  927. 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)
  928. 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)
  929. 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)
  930. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.5, -0.5) * ANGLES(RAD(90+(HEIGHT)), RAD(0), RAD(45)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  931. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 2 / Animation_Speed)
  932. 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)
  933. 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)
  934. end
  935. MagicBlock(1,15,RightArm.CFrame*CF(0,-1.2,0),SKILLTEXTCOLOR,VT(0.2,0.2,0.2))
  936. CreateSound("907532865", RightArm, 5, 1)
  937. grav:remove()
  938. local bv = Instance.new("BodyVelocity")
  939. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  940. bv.velocity = CF(RootPart.Position,TELEPART.Position).lookVector*1500*FORM
  941. bv.Parent = TELEPART
  942. bv.Name = "MOVE"
  943. Debris:AddItem(bv,0.1)
  944. local Touched = Part.Touched:Connect(function(hit)
  945. if hit.CanCollide == true then
  946. if hit.Parent:FindFirstChildOfClass("Humanoid") and hit.Parent ~= Character then
  947. ApplyDamage(hit.Parent:FindFirstChildOfClass("Humanoid"),MRANDOM(3,7)*FORM,2,2)
  948. end
  949. end
  950. end)
  951. coroutine.resume(coroutine.create(function()
  952. Swait(250)
  953. Touched:disconnect()
  954. end))
  955. for i=0, 0.8, 0.1 / Animation_Speed do
  956. Swait()
  957. 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)
  958. 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)
  959. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.5, -0.5) * ANGLES(RAD(90+(HEIGHT)), RAD(0), RAD(45)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  960. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 2 / Animation_Speed)
  961. 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)
  962. 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)
  963. end
  964. elseif KEY == "z" then
  965. AUTOBREAK = true
  966. end
  967. KEY = nil
  968. end
  969. until AUTOBREAK == true
  970. if TELEPART ~= nil then
  971. grav:remove()
  972. end
  973. ATTACK = false
  974. Rooted = false
  975. VALUE1 = false
  976. FINGERWORK = false
  977. end
  978. end
  979. end
  980.  
  981. function RockChuck()
  982. if HITFLOOR ~= nil then
  983. ATTACK = true
  984. Rooted = true
  985. FINGERWORK = true
  986. local ROCKS = {}
  987. for i=0, 1, 0.1 / Animation_Speed do
  988. Swait()
  989. turnto(Mouse.Hit.p)
  990. MagicSphere(VT(0.3,0.3,0.3),5,TelePart.CFrame,SKILLTEXTCOLOR,VT(-0.3,-0.3,-0.3)/5)
  991. 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)
  992. 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)
  993. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.75, 0) * ANGLES(RAD(170), RAD(25), RAD(-15)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  994. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  995. 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)
  996. 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)
  997. end
  998. CreateSound(PEWSOUND[MRANDOM(1,#PEWSOUND)], RightArm, 5, 1)
  999. for i = 1, FORM*4 do
  1000. local ROCK = CreatePart(3, Effects, "Metal", 0, 0, "Really black", "Handle", VT(1.5,1.5,1.5)*FORM, false)
  1001. ROCK.Material = HITFLOOR.Material
  1002. ROCK.Color = HITFLOOR.Color
  1003. particles(ROCK)
  1004. 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)))
  1005. local grav = Instance.new("BodyPosition",ROCK)
  1006. grav.P = 20000
  1007. grav.maxForce = Vector3.new(math.huge,math.huge,math.huge)
  1008. grav.Name = "F"
  1009. grav.Position = ROCK.Position + VT(0,MRANDOM(15,25),0)
  1010. table.insert(ROCKS,ROCK)
  1011. end
  1012. for i=0, 1, 0.1 / Animation_Speed do
  1013. Swait()
  1014. turnto(Mouse.Hit.p)
  1015. MagicSphere(VT(0.5,0.5,0.5),5,TelePart.CFrame,SKILLTEXTCOLOR,VT(-0.5,-0.5,-0.5)/5)
  1016. 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)
  1017. 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)
  1018. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.75, 0) * ANGLES(RAD(170), RAD(25), RAD(-15)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  1019. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1020. 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)
  1021. 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)
  1022. end
  1023. for i=0, 0.2, 0.1 / Animation_Speed do
  1024. Swait()
  1025. turnto(Mouse.Hit.p)
  1026. MagicSphere(VT(0.5,0.5,0.5),5,TelePart.CFrame,SKILLTEXTCOLOR,VT(-0.5,-0.5,-0.5)/5)
  1027. 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)
  1028. 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)
  1029. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.5, -0.5) * ANGLES(RAD(90), RAD(25), RAD(0)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  1030. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1031. 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)
  1032. 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)
  1033. end
  1034. for e=1,#ROCKS do
  1035. for i = 1, 5 do
  1036. turnto(Mouse.Hit.p)
  1037. MagicSphere(VT(0.5,0.5,0.5),5,TelePart.CFrame,SKILLTEXTCOLOR,VT(-0.5,-0.5,-0.5)/5)
  1038. 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)
  1039. Swait()
  1040. end
  1041. if ROCKS[e]~=nil then
  1042. local Thing=ROCKS[e]
  1043. if Thing~=nil then
  1044. local Part=Thing
  1045. for i=0, 0.3, 0.1 / Animation_Speed do
  1046. Swait()
  1047. MagicSphere(VT(0.3,0.3,0.3),5,TelePart.CFrame,SKILLTEXTCOLOR,VT(-0.3,-0.3,-0.3)/5)
  1048. --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)
  1049. 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)
  1050. 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)
  1051. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.5, -0.5) * ANGLES(RAD(90), RAD(0), RAD(-45)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  1052. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  1053. 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)
  1054. 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)
  1055. end
  1056. for i=0, 0.2, 0.1 / Animation_Speed do
  1057. Swait()
  1058. MagicSphere(VT(0.3,0.3,0.3),5,TelePart.CFrame,SKILLTEXTCOLOR,VT(-0.3,-0.3,-0.3)/5)
  1059. --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)
  1060. 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)
  1061. 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)
  1062. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.5, -0.5) * ANGLES(RAD(90), RAD(0), RAD(45)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  1063. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 2 / Animation_Speed)
  1064. 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)
  1065. 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)
  1066. end
  1067. CreateSound("907532865", RightArm, 5, 1)
  1068. MagicBlock(1,15,RightArm.CFrame*CF(0,-1.2,0),SKILLTEXTCOLOR,VT(0.2,0.2,0.2))
  1069. Part.F:remove()
  1070. Part.CanCollide = true
  1071. local bv = Instance.new("BodyVelocity")
  1072. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  1073. bv.velocity = CF(Part.Position,Mouse.Hit.p).lookVector*500*FORM
  1074. bv.Parent = Part
  1075. bv.Name = "MOVE"
  1076. Debris:AddItem(bv,0.1)
  1077. local Touched = Part.Touched:Connect(function(hit)
  1078. if hit.CanCollide == true then
  1079. CreateFlyingDebree(Part,Part.CFrame,5,(Part.Size/5)*FORM,2,15)
  1080. Part:remove()
  1081. if hit.Parent:FindFirstChildOfClass("Humanoid") and hit.Parent ~= Character then
  1082. ApplyDamage(hit.Parent:FindFirstChildOfClass("Humanoid"),MRANDOM(15,25)*FORM,2,2)
  1083. end
  1084. end
  1085. end)
  1086. end
  1087. end
  1088. end
  1089. FINGERWORK = false
  1090. ATTACK = false
  1091. Rooted = false
  1092. end
  1093. end
  1094.  
  1095. local asd = Instance.new("ParticleEmitter")
  1096. asd.Color = ColorSequence.new(Color3.new(1, 0, 0), Color3.new(.5, 0, 0))
  1097. asd.LightEmission = .1
  1098. asd.Size = NumberSequence.new(0.2)
  1099. asd.Texture = "http://www.roblox.com/asset/?ID=291880914"
  1100. aaa = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.2),NumberSequenceKeypoint.new(1, 5)})
  1101. bbb = NumberSequence.new({NumberSequenceKeypoint.new(0, 1),NumberSequenceKeypoint.new(0.0636, 0), NumberSequenceKeypoint.new(1, 1)})
  1102. asd.Transparency = bbb
  1103. asd.Size = aaa
  1104. asd.ZOffset = .9
  1105. asd.Acceleration = Vector3.new(0, -5, 0)
  1106. asd.LockedToPart = false
  1107. asd.EmissionDirection = "Back"
  1108. asd.Lifetime = NumberRange.new(1, 2)
  1109. asd.Rotation = NumberRange.new(-100, 100)
  1110. asd.RotSpeed = NumberRange.new(-100, 100)
  1111. asd.Speed = NumberRange.new(2)
  1112. asd.Enabled = false
  1113. asd.VelocitySpread = 10000
  1114.  
  1115. function getbloody(victim,amount)
  1116. local prtcl = asd:Clone()
  1117. prtcl.Parent = victim
  1118. prtcl:Emit(amount)
  1119. Debris:AddItem(prtcl,5)
  1120. end
  1121.  
  1122. function InnerCrusher()
  1123. if Mouse.Target ~= nil then
  1124. if Mouse.Target.Anchored == false then
  1125. if Mouse.Target.Parent:FindFirstChildOfClass("Humanoid") then
  1126. local HUMAN = Mouse.Target.Parent:FindFirstChildOfClass("Humanoid")
  1127. local TELEPART = Mouse.Target
  1128. local grav = Instance.new("BodyPosition",TELEPART)
  1129. grav.P = 20000
  1130. grav.maxForce = Vector3.new(math.huge,math.huge,math.huge)
  1131. grav.Name = "GravityForce"
  1132. local DIST = (RootPart.Position - TELEPART.Position).Magnitude
  1133. ATTACK = true
  1134. Rooted = true
  1135. FINGERWORK = true
  1136. local AUTOBREAK = false
  1137. CreateSound(PEWSOUND[MRANDOM(1,#PEWSOUND)], RightArm, 5, 1)
  1138. for i = 1, 150 do
  1139. Swait()
  1140. local HEIGHT = (TELEPART.Position.Y - RightArm.Position.Y)
  1141. turnto(TELEPART.Position)
  1142. grav.Position = TELEPART.Position + VT(0,2,0)
  1143. MagicSphere(VT(0.3,0.3,0.3),5,TelePart.CFrame,SKILLTEXTCOLOR,VT(-0.3,-0.3,-0.3)/5)
  1144. 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)
  1145. 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)
  1146. 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)
  1147. 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)
  1148. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  1149. 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)
  1150. 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)
  1151. end
  1152. for i = 1, 50 do
  1153. Swait()
  1154. local HEIGHT = (TELEPART.Position.Y - RightArm.Position.Y)
  1155. turnto(TELEPART.Position)
  1156. MagicSphere(VT(0.3,0.3,0.3),5,TelePart.CFrame,SKILLTEXTCOLOR,VT(-0.3,-0.3,-0.3)/5)
  1157. 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)
  1158. 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)
  1159. 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)
  1160. 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)
  1161. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  1162. 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)
  1163. 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)
  1164. end
  1165. FINGERWORK = false
  1166. for i = 1, 50 do
  1167. Swait()
  1168. ApplyDamage(HUMAN,MRANDOM(1,2),2,2)
  1169. if MRANDOM(1,5) == 1 then
  1170. CreateSound(HITPLAYERSOUNDS[MRANDOM(1, #HITPLAYERSOUNDS)], TELEPART, 1, (math.random(8,12)/10))
  1171. end
  1172. local HEIGHT = (TELEPART.Position.Y - RightArm.Position.Y)
  1173. turnto(TELEPART.Position)
  1174. getbloody(TELEPART,5)
  1175. MagicSphere(VT(0.3,0.3,0.3),5,TelePart.CFrame,SKILLTEXTCOLOR,VT(-0.3,-0.3,-0.3)/5)
  1176. 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)
  1177. 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)
  1178. 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)
  1179. 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)
  1180. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  1181. 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)
  1182. 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)
  1183. end
  1184. TELEPART.Velocity = VT(0,0,0)
  1185. ATTACK = false
  1186. Rooted = false
  1187. grav:remove()
  1188. FINGERWORK = false
  1189. end
  1190. end
  1191. end
  1192. end
  1193.  
  1194. function Meteor()
  1195. ATTACK = true
  1196. Rooted = false
  1197. FINGERWORK = true
  1198. local ROCKS = {}
  1199. for i=0, 1, 0.1 / Animation_Speed do
  1200. Swait()
  1201. turnto(Mouse.Hit.p)
  1202. MagicSphere(VT(0.3,0.3,0.3),5,TelePart.CFrame,SKILLTEXTCOLOR,VT(-0.3,-0.3,-0.3)/5)
  1203. 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)
  1204. 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)
  1205. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.75, 0) * ANGLES(RAD(170), RAD(25), RAD(-15)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  1206. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1207. 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)
  1208. 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)
  1209. end
  1210. for i = 1, FORM do
  1211. local ROCK = CreatePart(3, Effects, "Granite", 0, 0, "Dark stone grey", "Handle", VT(25,25,25))
  1212. particles(ROCK)
  1213. local FIRE = IT("Fire",ROCK)
  1214. FIRE.Size = 60
  1215. FIRE.Heat = 0
  1216. FIRE.SecondaryColor = C3(0,0,0)
  1217. 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)))
  1218. ROCK.CanCollide = true
  1219. table.insert(ROCKS,ROCK)
  1220. end
  1221. CreateSound(PEWSOUND[MRANDOM(1,#PEWSOUND)], RightArm, 5, 1)
  1222. for i = 1, 50 do
  1223. Swait()
  1224. turnto(Mouse.Hit.p)
  1225. MagicSphere(VT(0.3,0.3,0.3),5,TelePart.CFrame,SKILLTEXTCOLOR,VT(-0.3,-0.3,-0.3)/5)
  1226. 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)
  1227. end
  1228. for e=1,#ROCKS do
  1229. for i = 1, 5 do
  1230. turnto(Mouse.Hit.p)
  1231. MagicSphere(VT(0.5,0.5,0.5),5,TelePart.CFrame,SKILLTEXTCOLOR,VT(-0.5,-0.5,-0.5)/5)
  1232. 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)
  1233. Swait()
  1234. end
  1235. if ROCKS[e]~=nil then
  1236. local Thing=ROCKS[e]
  1237. if Thing~=nil then
  1238. local Part=Thing
  1239. repeat
  1240. Swait()
  1241. turnto(Mouse.Hit.p)
  1242. MagicSphere(VT(0.3,0.3,0.3),5,TelePart.CFrame,SKILLTEXTCOLOR,VT(-0.3,-0.3,-0.3)/5)
  1243. 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)
  1244. 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)
  1245. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.75, 0) * ANGLES(RAD(170), RAD(25), RAD(-15)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  1246. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1247. 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)
  1248. 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)
  1249. until HOLD == true
  1250. for i=0, 0.3, 0.1 / Animation_Speed do
  1251. Swait()
  1252. turnto(Mouse.Hit.p)
  1253. MagicSphere(VT(0.3,0.3,0.3),5,TelePart.CFrame,SKILLTEXTCOLOR,VT(-0.3,-0.3,-0.3)/5)
  1254. 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)
  1255. 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)
  1256. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.75, 0) * ANGLES(RAD(25), RAD(90), RAD(-15)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  1257. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 2 / Animation_Speed)
  1258. 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)
  1259. 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)
  1260. end
  1261. CreateSound("907532865", RightArm, 5, 1)
  1262. MagicBlock(1,15,RightArm.CFrame*CF(0,-1.2,0),SKILLTEXTCOLOR,VT(0.2,0.2,0.2))
  1263. Part.Anchored = false
  1264. local bv = Instance.new("BodyVelocity")
  1265. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  1266. bv.velocity = CF(Part.Position,Mouse.Hit.p).lookVector*300*FORM
  1267. bv.Parent = Part
  1268. bv.Name = "MOVE"
  1269. Debris:AddItem(bv,0.1)
  1270. local IMPACT = false
  1271. local Touched = Part.Touched:Connect(function(hit)
  1272. if hit.CanCollide == true and IMPACT == false then
  1273. IMPACT = true
  1274. Part.PE.Enabled = false
  1275. CreateFlyingDebree(Part,Part.CFrame,5,(Part.Size/2),2,65,true)
  1276. Part.Transparency = 1
  1277. Part.Anchored = true
  1278. Part.CanCollide = false
  1279. Part.Fire.Enabled = false
  1280. Debris:AddItem(Part,5)
  1281. MagicSphere(Part.Size,15,Part.CFrame,"CGA brown",Part.Size)
  1282. MagicSphere(Part.Size,15,Part.CFrame,"Deep orange",Part.Size/1.8)
  1283. CreateSound("144699494", Part, 5, 1)
  1284. local FLOOR, HITPOS = Raycast(Part.Position, (CF(Part.Position, Part.Position + VT(0, -1, 0))).lookVector, 35 , Part)
  1285. if FLOOR ~= nil then
  1286. CreateDebreeRing(FLOOR,HITPOS,15,VT(10,10,10),2)
  1287. end
  1288. if hit.Parent:FindFirstChildOfClass("Humanoid") and hit.Parent ~= Character then
  1289. ApplyDamage(hit.Parent:FindFirstChildOfClass("Humanoid"),MRANDOM(65,75)*FORM,2,2)
  1290. end
  1291. AoEDamage(Part.Position,45,15,65,5,2,2,false)
  1292. end
  1293. end)
  1294. end
  1295. end
  1296. end
  1297. FINGERWORK = false
  1298. ATTACK = false
  1299. Rooted = false
  1300. end
  1301.  
  1302. --//=================================\\
  1303. --|| ASSIGN THINGS TO KEYS
  1304. --\\=================================//
  1305.  
  1306. function MouseDown(Mouse)
  1307. HOLD = true
  1308. if ATTACK == false then
  1309. end
  1310. end
  1311.  
  1312. function MouseUp(Mouse)
  1313. HOLD = false
  1314. end
  1315.  
  1316. function KeyDown(Key)
  1317. KEYHOLD = true
  1318. if VALUE1 == true then
  1319. KEY = Key
  1320. end
  1321.  
  1322. if Key == "z" and ATTACK == false then
  1323. Telekenesis()
  1324. end
  1325.  
  1326. if Key == "b" and ATTACK == false then
  1327. RockChuck()
  1328. end
  1329.  
  1330. if Key == "c" and ATTACK == false then
  1331. InnerCrusher()
  1332. end
  1333.  
  1334. if Key == "x" and ATTACK == false then
  1335. Meteor()
  1336. end
  1337.  
  1338. if Key == "m" and ATTACK == false and Player.Name == "Shackluster" then
  1339. if FORM == 1 then
  1340. FORM = 2
  1341. elseif FORM == 2 then
  1342. FORM = 1
  1343. end
  1344. end
  1345. end
  1346.  
  1347. function KeyUp(Key)
  1348. KEYHOLD = false
  1349. end
  1350.  
  1351. Mouse.Button1Down:connect(function(NEWKEY)
  1352. MouseDown(NEWKEY)
  1353. end)
  1354. Mouse.Button1Up:connect(function(NEWKEY)
  1355. MouseUp(NEWKEY)
  1356. end)
  1357. Mouse.KeyDown:connect(function(NEWKEY)
  1358. KeyDown(NEWKEY)
  1359. end)
  1360. Mouse.KeyUp:connect(function(NEWKEY)
  1361. KeyUp(NEWKEY)
  1362. end)
  1363.  
  1364. --//=================================\\
  1365. --\\=================================//
  1366.  
  1367.  
  1368. function unanchor()
  1369. if UNANCHOR == true then
  1370. for _, c in pairs(Weapon:GetChildren()) do
  1371. if c.ClassName == "Part" then
  1372. c.Anchored = false
  1373. end
  1374. end
  1375. for _, c in pairs(Character:GetChildren()) do
  1376. if c.ClassName == "Part" then
  1377. c.Anchored = false
  1378. elseif c.ClassName == "Accessory" then
  1379. c.Handle.Anchored = false
  1380. end
  1381. end
  1382. end
  1383. end
  1384.  
  1385.  
  1386. --//=================================\\
  1387. --|| WRAP THE WHOLE SCRIPT UP
  1388. --\\=================================//
  1389.  
  1390. Humanoid.Changed:connect(function(Jump)
  1391. if Jump == "Jump" and (Disable_Jump == true) then
  1392. Humanoid.Jump = false
  1393. end
  1394. end)
  1395.  
  1396. while true do
  1397. Swait()
  1398. ANIMATE.Parent = nil
  1399. local IDLEANIMATION = Humanoid:LoadAnimation(ROBLOXIDLEANIMATION)
  1400. IDLEANIMATION:Play()
  1401. SINE = SINE + CHANGE
  1402. local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude
  1403. local TORSOVERTICALVELOCITY = RootPart.Velocity.y
  1404. local LV = Torso.CFrame:pointToObjectSpace(Torso.Velocity - Torso.Position)
  1405. HITFLOOR = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4 * Player_Size, Character)
  1406. local WALKSPEEDVALUE = 6 / (Humanoid.WalkSpeed / 16)
  1407. if ANIM == "Walk" and TORSOVELOCITY > 1 then
  1408. 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)
  1409. 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)
  1410. 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)
  1411. 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)
  1412. elseif (ANIM ~= "Walk") or (TORSOVELOCITY < 1) then
  1413. RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1414. 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)
  1415. 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)
  1416. 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)
  1417. end
  1418. if TORSOVERTICALVELOCITY > 1 and HITFLOOR == nil then
  1419. ANIM = "Jump"
  1420. if ATTACK == false then
  1421. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1422. 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)
  1423. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(20)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed)
  1424. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  1425. 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)
  1426. 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)
  1427. end
  1428. elseif TORSOVERTICALVELOCITY < -1 and HITFLOOR == nil then
  1429. ANIM = "Fall"
  1430. if ATTACK == false then
  1431. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 ) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1432. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 , 0 + ((1) - 1)) * ANGLES(RAD(20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1433. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(60)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed)
  1434. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-60)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  1435. 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)
  1436. 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)
  1437. end
  1438. elseif TORSOVELOCITY < 1 and HITFLOOR ~= nil then
  1439. ANIM = "Idle"
  1440. if ATTACK == false then
  1441. 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)
  1442. 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)
  1443. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  1444. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  1445. 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)
  1446. 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)
  1447. end
  1448. elseif TORSOVELOCITY > 1 and HITFLOOR ~= nil then
  1449. ANIM = "Walk"
  1450. WALK = WALK + 1 / Animation_Speed
  1451. if WALK >= 15 - (5 * (Humanoid.WalkSpeed / 16 / Player_Size)) then
  1452. WALK = 0
  1453. if WALKINGANIM == true then
  1454. WALKINGANIM = false
  1455. elseif WALKINGANIM == false then
  1456. WALKINGANIM = true
  1457. end
  1458. end
  1459. --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)
  1460. --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)
  1461. if ATTACK == false then
  1462. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.1) * ANGLES(RAD(5), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1463. 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)
  1464. 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)
  1465. 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)
  1466. 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)
  1467. 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)
  1468. end
  1469. end
  1470. unanchor()
  1471. Humanoid.MaxHealth = "inf"
  1472. Humanoid.Health = "inf"
  1473. if Rooted == false then
  1474. Disable_Jump = false
  1475. Humanoid.WalkSpeed = Speed
  1476. elseif Rooted == true then
  1477. Disable_Jump = true
  1478. Humanoid.WalkSpeed = 0
  1479. end
  1480. if FORM == 1 then
  1481. if sick.SoundId ~= STAGE1MUSIC then
  1482. sick.SoundId = STAGE1MUSIC
  1483. sick:Play()
  1484. end
  1485. SKILLTEXTCOLOR = BRICKC("Maroon").Color
  1486. elseif FORM == 2 then
  1487. if sick.SoundId ~= STAGE2MUSIC then
  1488. sick.SoundId = STAGE2MUSIC
  1489. sick:Play()
  1490. end
  1491. SKILLTEXTCOLOR = BRICKC("Black").Color
  1492. end
  1493. if sick.Playing == false then
  1494. sick:Play()
  1495. end
  1496. sick.Parent = Character
  1497. SKILL1TEXT.TextColor4 = SKILLTEXTCOLOR
  1498. SKILL2TEXT.TextColor4 = SKILLTEXTCOLOR
  1499. SKILL3TEXT.TextColor4 = SKILLTEXTCOLOR
  1500. SKILL4TEXT.TextColor4 = SKILLTEXTCOLOR
  1501. for _, c in pairs(Weapon:GetChildren()) do
  1502. if c.ClassName == "Part" then
  1503. if c.Name == "MainColor" then
  1504. c.Color = SKILLTEXTCOLOR
  1505. end
  1506. if c:FindFirstChild("FingerJoint") then
  1507. local WELD = c:FindFirstChild("FingerJoint")
  1508. if FINGERWORK == false then
  1509. WELD.C1 = Clerp(WELD.C1, CF(-0.1, 0.3, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
  1510. elseif FINGERWORK == true then
  1511. WELD.C1 = Clerp(WELD.C1, CF(0, 0.3, 0) * ANGLES(RAD(0), RAD(0), RAD(-55)), 0.5 / Animation_Speed)
  1512. end
  1513. elseif c:FindFirstChild("FingerJoint2") then
  1514. local WELD = c:FindFirstChild("FingerJoint2")
  1515. if FINGERWORK == false then
  1516. WELD.C1 = Clerp(WELD.C1, CF(0, 0.3, 0.1) * ANGLES(RAD(90), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1517. elseif FINGERWORK == true then
  1518. WELD.C1 = Clerp(WELD.C1, CF(0, 0.3, 0) * ANGLES(RAD(-55), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1519. end
  1520. end
  1521. end
  1522. end
  1523. Humanoid.PlatformStand = false
  1524. Humanoid.Parent = Character
  1525. Character.Parent = workspace
  1526. script.Parent = PlayerGui
  1527. if VALUE1 == true then
  1528. SKILL1TEXT.Text = "[Z] Exit"
  1529. SKILL2TEXT.Text = "[B] Decrease"
  1530. SKILL3TEXT.Text = "[C] Increase"
  1531. SKILL4TEXT.Text = "[X] Force push"
  1532. elseif VALUE1 == false then
  1533. SKILL1TEXT.Text = "[Z] Telekenesis"
  1534. SKILL2TEXT.Text = "[B] Rock Chuck"
  1535. SKILL3TEXT.Text = "[C] Inner Crusher"
  1536. SKILL4TEXT.Text = "[X] Meteor"
  1537. end
  1538. end
  1539.  
  1540. --//=================================\\
  1541. --\\=================================//
  1542.  
  1543.  
  1544.  
  1545.  
  1546.  
  1547. --//====================================================\\--
  1548. --|| END OF SCRIPT
  1549. --\\====================================================//--wait(0.2)
  1550.  
  1551. Player = game:GetService("Players").LocalPlayer
  1552. PlayerGui = Player.PlayerGui
  1553. Cam = workspace.CurrentCamera
  1554. Backpack = Player.Backpack
  1555. Character = Player.Character
  1556. Humanoid = Character.Humanoid
  1557. Mouse = Player:GetMouse()
  1558. RootPart = Character["HumanoidRootPart"]
  1559. Torso = Character["Torso"]
  1560. Head = Character["Head"]
  1561. RightArm = Character["Right Arm"]
  1562. LeftArm = Character["Left Arm"]
  1563. RightLeg = Character["Right Leg"]
  1564. LeftLeg = Character["Left Leg"]
  1565. RootJoint = RootPart["RootJoint"]
  1566. Neck = Torso["Neck"]
  1567. RightShoulder = Torso["Right Shoulder"]
  1568. LeftShoulder = Torso["Left Shoulder"]
  1569. RightHip = Torso["Right Hip"]
  1570. LeftHip = Torso["Left Hip"]
  1571. local sick = Instance.new("Sound",Character)
  1572. sick.SoundId = "rbxassetid://203941422"
  1573. sick.Looped = true
  1574. sick.Pitch = 1
  1575. sick.Volume = 1
  1576. sick:Play()
  1577. local FORM = 1
  1578. local STAGE1MUSIC = "rbxassetid://147888653"
  1579. local STAGE2MUSIC = "rbxassetid://212693212"
  1580. local txt = Instance.new("BillboardGui", Character)
  1581. CV="Lime green"
  1582. txt.Adornee = Character.Head
  1583. txt.Name = "_status"
  1584. txt.Size = UDim2.new(2, 0, 1.2, 0)
  1585. txt.StudsOffset = Vector3.new(-9, 8, 0)
  1586. local text = Instance.new("TextLabel", txt)
  1587. text.Size = UDim2.new(10, 0, 7, 0)
  1588. text.FontSize = "Size24"
  1589. text.TextScaled = true
  1590. text.TextTransparency = 0
  1591. text.BackgroundTransparency = 1
  1592. text.TextTransparency = 0
  1593. text.TextStrokeTransparency = 0
  1594. text.Font = "Bodoni"
  1595. text.TextStrokeColor3 = BrickColor.new("Crimson").Color
  1596. text.TextColor3 = BrickColor.new("Really red").Color
  1597. text.Text = "Red robot"
  1598.  
  1599.  
  1600.  
  1601. IT = Instance.new
  1602. CF = CFrame.new
  1603. VT = Vector3.new
  1604. RAD = math.rad
  1605. C3 = Color3.new
  1606. UD2 = UDim2.new
  1607. BRICKC = BrickColor.new
  1608. ANGLES = CFrame.Angles
  1609. EULER = CFrame.fromEulerAnglesXYZ
  1610. COS = math.cos
  1611. ACOS = math.acos
  1612. SIN = math.sin
  1613. ASIN = math.asin
  1614. ABS = math.abs
  1615. MRANDOM = math.random
  1616. FLOOR = math.floor
  1617.  
  1618. function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
  1619. local NEWMESH = IT(MESH)
  1620. if MESH == "SpecialMesh" then
  1621. NEWMESH.MeshType = MESHTYPE
  1622. if MESHID ~= "nil" and MESHID ~= "" then
  1623. NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID
  1624. end
  1625. if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
  1626. NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID
  1627. end
  1628. end
  1629. NEWMESH.Offset = OFFSET or VT(0, 0, 0)
  1630. NEWMESH.Scale = SCALE
  1631. NEWMESH.Parent = PARENT
  1632. return NEWMESH
  1633. end
  1634.  
  1635. function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
  1636. local NEWPART = IT("Part")
  1637. NEWPART.formFactor = FORMFACTOR
  1638. NEWPART.Reflectance = REFLECTANCE
  1639. NEWPART.Transparency = TRANSPARENCY
  1640. NEWPART.CanCollide = false
  1641. NEWPART.Locked = true
  1642. NEWPART.Anchored = true
  1643. if ANCHOR == false then
  1644. NEWPART.Anchored = false
  1645. end
  1646. NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
  1647. NEWPART.Name = NAME
  1648. NEWPART.Size = SIZE
  1649. NEWPART.Position = Torso.Position
  1650. NEWPART.Material = MATERIAL
  1651. NEWPART:BreakJoints()
  1652. NEWPART.Parent = PARENT
  1653. return NEWPART
  1654. end
  1655.  
  1656. --//=================================\\
  1657. --|| CUSTOMIZATION
  1658. --\\=================================//
  1659.  
  1660. Player_Size = 1 --Size of the player.
  1661. Animation_Speed = 3
  1662. Animation_Speed2 = 0.7
  1663. Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60)
  1664.  
  1665. local Speed = 16
  1666. local Effects2 = {}
  1667.  
  1668. --//=================================\\
  1669. --|| END OF CUSTOMIZATION
  1670. --\\=================================//
  1671.  
  1672. local function weldBetween(a, b)
  1673. local weldd = Instance.new("ManualWeld")
  1674. weldd.Part0 = a
  1675. weldd.Part1 = b
  1676. weldd.C0 = CFrame.new()
  1677. weldd.C1 = b.CFrame:inverse() * a.CFrame
  1678. weldd.Parent = a
  1679. return weldd
  1680. end
  1681.  
  1682. --//=================================\\
  1683. --|| USEFUL VALUES
  1684. --\\=================================//
  1685.  
  1686. local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  1687. local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  1688. local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0))
  1689. local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0))
  1690. local CHANGEDEFENSE = 0
  1691. local CHANGEDAMAGE = 0
  1692. local CHANGEMOVEMENT = 0
  1693. local ANIM = "Idle"
  1694. local ATTACK = false
  1695. local EQUIPPED = false
  1696. local HOLD = false
  1697. local COMBO = 1
  1698. local Rooted = false
  1699. local SINE = 0
  1700. local KEYHOLD = false
  1701. local CHANGE = 2 / Animation_Speed
  1702. local WALKINGANIM = false
  1703. local WALK = 0
  1704. local VALUE1 = false
  1705. local VALUE2 = false
  1706. local ROBLOXIDLEANIMATION = IT("Animation")
  1707. ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation"
  1708. ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571"
  1709. --ROBLOXIDLEANIMATION.Parent = Humanoid
  1710. local WEAPONGUI = IT("ScreenGui", PlayerGui)
  1711. WEAPONGUI.Name = "Weapon GUI"
  1712. local Weapon = IT("Model")
  1713. Weapon.Name = "Adds"
  1714. local Effects = IT("Folder", Weapon)
  1715. Effects.Name = "Effects"
  1716. local TelekenesisEffects = IT("Folder", Weapon)
  1717. TelekenesisEffects.Name = "HoldGraphics"
  1718. local ANIMATOR = Humanoid.Animator
  1719. local ANIMATE = Character.Animate
  1720. local HITPLAYERSOUNDS = {--[["199149137", "199149186", "199149221", "199149235", "199149269", "199149297"--]]"263032172", "263032182", "263032200", "263032221", "263032252", "263033191"}
  1721. local HITARMORSOUNDS = {"199149321", "199149338", "199149367", "199149409", "199149452"}
  1722. local HITWEAPONSOUNDS = {"199148971", "199149025", "199149072", "199149109", "199149119"}
  1723. local HITBLOCKSOUNDS = {"199148933", "199148947"}
  1724. local UNANCHOR = true
  1725. local TELEBODY = nil
  1726. local NESISPART = nil
  1727. local FINGERWORK = false
  1728. local KEY = nil
  1729. local PEWSOUND = {"907527750","907527912","907528019","907530553"}
  1730.  
  1731. local SKILLTEXTCOLOR = BRICKC("Maroon").Color
  1732.  
  1733. --//=================================\\
  1734. --\\=================================//
  1735.  
  1736.  
  1737. --//=================================\\
  1738. --|| SAZERENOS' ARTIFICIAL HEARTBEAT
  1739. --\\=================================//
  1740.  
  1741. ArtificialHB = Instance.new("BindableEvent", script)
  1742. ArtificialHB.Name = "ArtificialHB"
  1743.  
  1744. script:WaitForChild("ArtificialHB")
  1745.  
  1746. frame = Frame_Speed
  1747. tf = 0
  1748. allowframeloss = false
  1749. tossremainder = false
  1750. lastframe = tick()
  1751. script.ArtificialHB:Fire()
  1752.  
  1753. game:GetService("RunService").Heartbeat:connect(function(s, p)
  1754. tf = tf + s
  1755. if tf >= frame then
  1756. if allowframeloss then
  1757. script.ArtificialHB:Fire()
  1758. lastframe = tick()
  1759. else
  1760. for i = 1, math.floor(tf / frame) do
  1761. script.ArtificialHB:Fire()
  1762. end
  1763. lastframe = tick()
  1764. end
  1765. if tossremainder then
  1766. tf = 0
  1767. else
  1768. tf = tf - frame * math.floor(tf / frame)
  1769. end
  1770. end
  1771. end)
  1772.  
  1773. --//=================================\\
  1774. --\\=================================//
  1775.  
  1776.  
  1777.  
  1778.  
  1779.  
  1780. --//=================================\\
  1781. --|| SOME FUNCTIONS
  1782. --\\=================================//
  1783.  
  1784. function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
  1785. return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
  1786. end
  1787.  
  1788. function PositiveAngle(NUMBER)
  1789. if NUMBER >= 0 then
  1790. NUMBER = 0
  1791. end
  1792. return NUMBER
  1793. end
  1794.  
  1795. function NegativeAngle(NUMBER)
  1796. if NUMBER <= 0 then
  1797. NUMBER = 0
  1798. end
  1799. return NUMBER
  1800. end
  1801.  
  1802. function Swait(NUMBER)
  1803. if NUMBER == 0 or NUMBER == nil then
  1804. ArtificialHB.Event:wait()
  1805. else
  1806. for i = 1, NUMBER do
  1807. ArtificialHB.Event:wait()
  1808. end
  1809. end
  1810. end
  1811.  
  1812. function QuaternionFromCFrame(cf)
  1813. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  1814. local trace = m00 + m11 + m22
  1815. if trace > 0 then
  1816. local s = math.sqrt(1 + trace)
  1817. local recip = 0.5 / s
  1818. return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  1819. else
  1820. local i = 0
  1821. if m11 > m00 then
  1822. i = 1
  1823. end
  1824. if m22 > (i == 0 and m00 or m11) then
  1825. i = 2
  1826. end
  1827. if i == 0 then
  1828. local s = math.sqrt(m00 - m11 - m22 + 1)
  1829. local recip = 0.5 / s
  1830. return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  1831. elseif i == 1 then
  1832. local s = math.sqrt(m11 - m22 - m00 + 1)
  1833. local recip = 0.5 / s
  1834. return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  1835. elseif i == 2 then
  1836. local s = math.sqrt(m22 - m00 - m11 + 1)
  1837. local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  1838. end
  1839. end
  1840. end
  1841.  
  1842. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  1843. local xs, ys, zs = x + x, y + y, z + z
  1844. local wx, wy, wz = w * xs, w * ys, w * zs
  1845. local xx = x * xs
  1846. local xy = x * ys
  1847. local xz = x * zs
  1848. local yy = y * ys
  1849. local yz = y * zs
  1850. local zz = z * zs
  1851. 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))
  1852. end
  1853.  
  1854. function QuaternionSlerp(a, b, t)
  1855. local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  1856. local startInterp, finishInterp;
  1857. if cosTheta >= 0.0001 then
  1858. if (1 - cosTheta) > 0.0001 then
  1859. local theta = ACOS(cosTheta)
  1860. local invSinTheta = 1 / SIN(theta)
  1861. startInterp = SIN((1 - t) * theta) * invSinTheta
  1862. finishInterp = SIN(t * theta) * invSinTheta
  1863. else
  1864. startInterp = 1 - t
  1865. finishInterp = t
  1866. end
  1867. else
  1868. if (1 + cosTheta) > 0.0001 then
  1869. local theta = ACOS(-cosTheta)
  1870. local invSinTheta = 1 / SIN(theta)
  1871. startInterp = SIN((t - 1) * theta) * invSinTheta
  1872. finishInterp = SIN(t * theta) * invSinTheta
  1873. else
  1874. startInterp = t - 1
  1875. finishInterp = t
  1876. end
  1877. end
  1878. 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
  1879. end
  1880.  
  1881. function Clerp(a, b, t)
  1882. local qa = {QuaternionFromCFrame(a)}
  1883. local qb = {QuaternionFromCFrame(b)}
  1884. local ax, ay, az = a.x, a.y, a.z
  1885. local bx, by, bz = b.x, b.y, b.z
  1886. local _t = 1 - t
  1887. return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  1888. end
  1889.  
  1890. function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME)
  1891. local frame = IT("Frame")
  1892. frame.BackgroundTransparency = TRANSPARENCY
  1893. frame.BorderSizePixel = BORDERSIZEPIXEL
  1894. frame.Position = POSITION
  1895. frame.Size = SIZE
  1896. frame.BackgroundColor3 = COLOR
  1897. frame.BorderColor3 = BORDERCOLOR
  1898. frame.Name = NAME
  1899. frame.Parent = PARENT
  1900. return frame
  1901. end
  1902.  
  1903. function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME)
  1904. local label = IT("TextLabel")
  1905. label.BackgroundTransparency = 1
  1906. label.Size = UD2(1, 0, 1, 0)
  1907. label.Position = UD2(0, 0, 0, 0)
  1908. label.TextColor3 = TEXTCOLOR
  1909. label.TextStrokeTransparency = STROKETRANSPARENCY
  1910. label.TextTransparency = TRANSPARENCY
  1911. label.FontSize = TEXTFONTSIZE
  1912. label.Font = TEXTFONT
  1913. label.BorderSizePixel = BORDERSIZEPIXEL
  1914. label.TextScaled = false
  1915. label.Text = TEXT
  1916. label.Name = NAME
  1917. label.Parent = PARENT
  1918. return label
  1919. end
  1920.  
  1921. function NoOutlines(PART)
  1922. PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10
  1923. end
  1924.  
  1925.  
  1926. function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
  1927. local NEWWELD = IT(TYPE)
  1928. NEWWELD.Part0 = PART0
  1929. NEWWELD.Part1 = PART1
  1930. NEWWELD.C0 = C0
  1931. NEWWELD.C1 = C1
  1932. NEWWELD.Parent = PARENT
  1933. return NEWWELD
  1934. end
  1935.  
  1936. function CreateSound(ID, PARENT, VOLUME, PITCH)
  1937. local NEWSOUND = nil
  1938. coroutine.resume(coroutine.create(function()
  1939. NEWSOUND = IT("Sound", PARENT)
  1940. NEWSOUND.Volume = VOLUME
  1941. NEWSOUND.Pitch = PITCH
  1942. NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID
  1943. Swait()
  1944. NEWSOUND:play()
  1945. game:GetService("Debris"):AddItem(NEWSOUND, 10)
  1946. end))
  1947. return NEWSOUND
  1948. end
  1949.  
  1950. function CFrameFromTopBack(at, top, back)
  1951. local right = top:Cross(back)
  1952. 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)
  1953. end
  1954.  
  1955. function MakeForm(PART,TYPE)
  1956. if TYPE == "Cyl" then
  1957. local MSH = IT("CylinderMesh",PART)
  1958. elseif TYPE == "Ball" then
  1959. local MSH = IT("SpecialMesh",PART)
  1960. MSH.MeshType = "Sphere"
  1961. elseif TYPE == "Wedge" then
  1962. local MSH = IT("SpecialMesh",PART)
  1963. MSH.MeshType = "Wedge"
  1964. end
  1965. end
  1966.  
  1967. function CheckTableForString(Table, String)
  1968. for i, v in pairs(Table) do
  1969. if string.find(string.lower(String), string.lower(v)) then
  1970. return true
  1971. end
  1972. end
  1973. return false
  1974. end
  1975.  
  1976. function CheckIntangible(Hit)
  1977. local ProjectileNames = {"Water", "Arrow", "Projectile", "Effect", "Rail", "Lightning", "Bullet"}
  1978. if Hit and Hit.Parent then
  1979. if ((not Hit.CanCollide or CheckTableForString(ProjectileNames, Hit.Name)) and not Hit.Parent:FindFirstChild("Humanoid")) then
  1980. return true
  1981. end
  1982. end
  1983. return false
  1984. end
  1985.  
  1986. Debris = game:GetService("Debris")
  1987.  
  1988. function CastZapRay(StartPos, Vec, Length, Ignore, DelayIfHit)
  1989. local Direction = CFrame.new(StartPos, Vec).lookVector
  1990. local Ignore = ((type(Ignore) == "table" and Ignore) or {Ignore})
  1991. local RayHit, RayPos, RayNormal = game:GetService("Workspace"):FindPartOnRayWithIgnoreList(Ray.new(StartPos, Direction * Length), Ignore)
  1992. if RayHit and CheckIntangible(RayHit) then
  1993. if DelayIfHit then
  1994. wait()
  1995. end
  1996. RayHit, RayPos, RayNormal = CastZapRay((RayPos + (Vec * 0.01)), Vec, (Length - ((StartPos - RayPos).magnitude)), Ignore, DelayIfHit)
  1997. end
  1998. return RayHit, RayPos, RayNormal
  1999. end
  2000.  
  2001. function turnto(position)
  2002. RootPart.CFrame=CFrame.new(RootPart.CFrame.p,VT(position.X,RootPart.Position.Y,position.Z)) * CFrame.new(0, 0, 0)
  2003. end
  2004.  
  2005. function MagicSphere(SIZE,WAIT,CFRAME,COLOR,GROW)
  2006. local wave = CreatePart(3, Effects, "Neon", 0, 0, BRICKC(COLOR), "Effect", VT(1,1,1), true)
  2007. local mesh = IT("SpecialMesh",wave)
  2008. mesh.MeshType = "Sphere"
  2009. mesh.Scale = SIZE
  2010. mesh.Offset = VT(0,0,0)
  2011. wave.CFrame = CFRAME
  2012. coroutine.resume(coroutine.create(function(PART)
  2013. for i = 1, WAIT do
  2014. Swait()
  2015. mesh.Scale = mesh.Scale + GROW
  2016. wave.Transparency = wave.Transparency + (1/WAIT)
  2017. if wave.Transparency > 0.99 then
  2018. wave:remove()
  2019. end
  2020. end
  2021. end))
  2022. end
  2023.  
  2024. function Slice(SIZE,WAIT,CFRAME,COLOR,GROW)
  2025. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(1,1,1), true)
  2026. local mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "448386996", "", VT(0,SIZE/10,SIZE/10), VT(0,0,0))
  2027. wave.CFrame = CFRAME
  2028. coroutine.resume(coroutine.create(function(PART)
  2029. for i = 1, WAIT do
  2030. Swait()
  2031. mesh.Scale = mesh.Scale * GROW
  2032. wave.Transparency = wave.Transparency + (0.5/WAIT)
  2033. if wave.Transparency > 0.99 then
  2034. wave:remove()
  2035. end
  2036. end
  2037. end))
  2038. end
  2039.  
  2040. function CreateDebreeRing(FLOOR,POSITION,SIZE,BLOCKSIZE,SWAIT)
  2041. if FLOOR ~= nil then
  2042. coroutine.resume(coroutine.create(function()
  2043. local PART = CreatePart(3, Effects, "Plastic", 0, 1, "Pearl", "DebreeCenter", VT(0,0,0))
  2044. PART.CFrame = CF(POSITION)
  2045. for i = 1, 45 do
  2046. local RingPiece = CreatePart(3, Effects, "Plastic", 0, 0, "Pearl", "DebreePart", BLOCKSIZE)
  2047. RingPiece.Material = FLOOR.Material
  2048. RingPiece.Color = FLOOR.Color
  2049. 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)))
  2050. Debris:AddItem(RingPiece,SWAIT)
  2051. end
  2052. PART:remove()
  2053. end))
  2054. end
  2055. end
  2056.  
  2057. function CreateFlyingDebree(FLOOR,POSITION,AMOUNT,BLOCKSIZE,SWAIT,STRENGTH,DOESBREAK)
  2058. if FLOOR ~= nil then
  2059. for i = 1, AMOUNT do
  2060. local DEBREE = CreatePart(3, Effects, "Neon", 0, 0, "Peal", "Debree", BLOCKSIZE, false)
  2061. DEBREE.Material = FLOOR.Material
  2062. DEBREE.Color = FLOOR.Color
  2063. DEBREE.CFrame = POSITION * ANGLES(RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360)))
  2064. DEBREE.Velocity = VT(MRANDOM(-STRENGTH,STRENGTH),MRANDOM(STRENGTH/2,STRENGTH*2),MRANDOM(-STRENGTH,STRENGTH))
  2065. coroutine.resume(coroutine.create(function()
  2066. if DOESBREAK == true then
  2067. local IMPACT = false
  2068. local Touched = DEBREE.Touched:Connect(function(hit)
  2069. if hit.CanCollide == true and hit.Parent ~= Effects and IMPACT == false then
  2070. IMPACT = true
  2071. CreateFlyingDebree(FLOOR,DEBREE.CFrame,5,DEBREE.Size/2,SWAIT,STRENGTH,false)
  2072. end
  2073. end)
  2074. end
  2075. Swait(15)
  2076. DEBREE.Parent = workspace
  2077. DEBREE.CanCollide = true
  2078. Debris:AddItem(DEBREE,SWAIT)
  2079. end))
  2080. end
  2081. end
  2082. end
  2083.  
  2084. function MagicBlock(SIZE,WAIT,CFRAME,COLOR,GROW)
  2085. local wave = CreatePart(3, Effects, "Neon", 0, 0, BRICKC(COLOR), "Effect", VT(SIZE,SIZE,SIZE), true)
  2086. local mesh = IT("BlockMesh",wave)
  2087. wave.CFrame = CFRAME * ANGLES(RAD(math.random(-360,360)),RAD(math.random(-360,360)),RAD(math.random(-360,360)))
  2088. coroutine.resume(coroutine.create(function(PART)
  2089. for i = 1, WAIT do
  2090. Swait()
  2091. mesh.Scale = mesh.Scale + GROW
  2092. wave.CFrame = CFRAME * ANGLES(RAD(math.random(-360,360)),RAD(math.random(-360,360)),RAD(math.random(-360,360)))
  2093. wave.Transparency = wave.Transparency + (1/WAIT)
  2094. if wave.Transparency > 0.99 then
  2095. wave:remove()
  2096. end
  2097. end
  2098. end))
  2099. end
  2100.  
  2101. --//=================================\\
  2102. --|| WEAPON CREATION
  2103. --\\=================================//
  2104.  
  2105. local HITFLOOR = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4 * Player_Size, Character)
  2106.  
  2107. local HandlePart = CreatePart(3, Weapon, "DiamondPlate", 0, 0, "Maroon", "MainColor", VT(1.2,1.21,1.2),false)
  2108. local Weld = CreateWeldOrSnapOrMotor("Weld", HandlePart, RightArm, HandlePart, CF(0, -0.6, 0) * ANGLES(RAD(0), RAD(90), RAD(0)), CF(0, 0, 0))
  2109. local HandlePart = CreatePart(3, Weapon, "Metal", 0, 0, "EEE", "Handle", VT(1.05,1.21,0.5),false)
  2110. HandlePart.Color = C3(0,0,0)
  2111. local Weld = CreateWeldOrSnapOrMotor("Weld", HandlePart, RightArm, HandlePart, CF(0.3, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0)), CF(0, 0, 0))
  2112.  
  2113. local HandlePart = CreatePart(3, Weapon, "DiamondPlate", 0, 0, "Really black", "MainColor", VT(1.06,1.05,0.2),false)
  2114. local Weld = CreateWeldOrSnapOrMotor("Weld", HandlePart, RightArm, HandlePart, CF(0, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0)), CF(0, 0, 0))
  2115. local HandlePart = CreatePart(3, Weapon, "DiamondPlate", 0, 0, "Really black", "MainColor", VT(1.06,0.2,0.7),false)
  2116. local Weld = CreateWeldOrSnapOrMotor("Weld", HandlePart, RightArm, HandlePart, CF(0.25, 0.6, 0) * ANGLES(RAD(0), RAD(90), RAD(0)), CF(0, 0, 0))
  2117.  
  2118. local HandlePart = CreatePart(3, Weapon, "Metal", 0, 0, "Really black", "Handle", VT(1.015,0.2,1.015),false)
  2119. local Weld = CreateWeldOrSnapOrMotor("Weld", HandlePart, RightArm, HandlePart, CF(0, -0.2, 0) * ANGLES(RAD(0), RAD(90), RAD(0)), CF(0, 0, 0))
  2120. local TelePart = CreatePart(3, Weapon, "Metal", 0, 0, "Really black", "Handle", VT(1,0.09,1),false)
  2121. local Weld = CreateWeldOrSnapOrMotor("Weld", TelePart, RightArm, TelePart, CF(0, -1.161, 0) * ANGLES(RAD(0), RAD(90), RAD(0)), CF(0, 0, 0))
  2122. MakeForm(TelePart,"Cyl")
  2123. local TelePart = CreatePart(3, Weapon, "Neon", 0, 0, "Maroon", "MainColor", VT(0.7,0.1,0.7),false)
  2124. local Weld = CreateWeldOrSnapOrMotor("Weld", TelePart, RightArm, TelePart, CF(0, -1.161, 0) * ANGLES(RAD(0), RAD(90), RAD(0)), CF(0, 0, 0))
  2125. MakeForm(TelePart,"Cyl")
  2126. local HandlePart = CreatePart(3, Weapon, "Metal", 0, 0, "Really black", "Handle", VT(1.015,0.2,1.015),false)
  2127. local Weld = CreateWeldOrSnapOrMotor("Weld", HandlePart, RightArm, HandlePart, CF(0, -1.1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)), CF(0, 0, 0))
  2128.  
  2129. local HandlePart = CreatePart(3, Weapon, "Metal", 0, 0, "Really black", "Handle", VT(0.2,1.21,0.2),false)
  2130. local Weld = CreateWeldOrSnapOrMotor("Weld", HandlePart, RightArm, HandlePart, CF(0.35, -0.2, 0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  2131. MakeForm(HandlePart,"Cyl")
  2132. local HandlePart = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Handle", VT(0.15,1.22,0),false)
  2133. local Weld = CreateWeldOrSnapOrMotor("Weld", HandlePart, RightArm, HandlePart, CF(0.35, -0.2, 0) * ANGLES(RAD(90), RAD(45), RAD(0)), CF(0, 0, 0))
  2134. local HandlePart = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Handle", VT(0.15,1.22,0),false)
  2135. local Weld = CreateWeldOrSnapOrMotor("Weld", HandlePart, RightArm, HandlePart, CF(0.35, -0.2, 0) * ANGLES(RAD(90), RAD(-45), RAD(0)), CF(0, 0, 0))
  2136.  
  2137. local HandlePart = CreatePart(3, Weapon, "Metal", 0, 0, "Really black", "Handle", VT(0.2,1.21,0.2),false)
  2138. local Weld = CreateWeldOrSnapOrMotor("Weld", HandlePart, RightArm, HandlePart, CF(-0.35, -0.2, 0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  2139. MakeForm(HandlePart,"Cyl")
  2140. local HandlePart = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Handle", VT(0.15,1.22,0),false)
  2141. local Weld = CreateWeldOrSnapOrMotor("Weld", HandlePart, RightArm, HandlePart, CF(-0.35, -0.2, 0) * ANGLES(RAD(90), RAD(45), RAD(0)), CF(0, 0, 0))
  2142. local HandlePart = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Handle", VT(0.15,1.22,0),false)
  2143. local Weld = CreateWeldOrSnapOrMotor("Weld", HandlePart, RightArm, HandlePart, CF(-0.35, -0.2, 0) * ANGLES(RAD(90), RAD(-45), RAD(0)), CF(0, 0, 0))
  2144.  
  2145. local HandlePart = CreatePart(3, Weapon, "Metal", 0, 0, "Really black", "Handle", VT(0.2,1.21,0.2),false)
  2146. local Weld = CreateWeldOrSnapOrMotor("Weld", HandlePart, RightArm, HandlePart, CF(0.35, -1, 0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  2147. MakeForm(HandlePart,"Cyl")
  2148. local HandlePart = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Handle", VT(0.15,1.22,0),false)
  2149. local Weld = CreateWeldOrSnapOrMotor("Weld", HandlePart, RightArm, HandlePart, CF(0.35, -1, 0) * ANGLES(RAD(90), RAD(45), RAD(0)), CF(0, 0, 0))
  2150. local HandlePart = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Handle", VT(0.15,1.22,0),false)
  2151. local Weld = CreateWeldOrSnapOrMotor("Weld", HandlePart, RightArm, HandlePart, CF(0.35, -1, 0) * ANGLES(RAD(90), RAD(-45), RAD(0)), CF(0, 0, 0))
  2152.  
  2153. local HandlePart = CreatePart(3, Weapon, "Metal", 0, 0, "Really black", "Handle", VT(0.2,1.21,0.2),false)
  2154. local Weld = CreateWeldOrSnapOrMotor("Weld", HandlePart, RightArm, HandlePart, CF(-0.35, -1, 0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  2155. MakeForm(HandlePart,"Cyl")
  2156. local HandlePart = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Handle", VT(0.15,1.22,0),false)
  2157. local Weld = CreateWeldOrSnapOrMotor("Weld", HandlePart, RightArm, HandlePart, CF(-0.35, -1, 0) * ANGLES(RAD(90), RAD(45), RAD(0)), CF(0, 0, 0))
  2158. local HandlePart = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Handle", VT(0.15,1.22,0),false)
  2159. local Weld = CreateWeldOrSnapOrMotor("Weld", HandlePart, RightArm, HandlePart, CF(-0.35, -1, 0) * ANGLES(RAD(90), RAD(-45), RAD(0)), CF(0, 0, 0))
  2160.  
  2161. local HandlePart = CreatePart(3, Weapon, "Metal", 0, 0, "Really black", "Handle", VT(0.4,0.4,0.4),false)
  2162. 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))
  2163. MakeForm(HandlePart,"Ball")
  2164. local FingerPart = CreatePart(3, Weapon, "DiamondPlate", 0, 0, "Really black", "Handle", VT(0.25,0.2,0.25),false)
  2165. 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))
  2166. MakeForm(FingerPart,"Cyl")
  2167. Weld.Name = "FingerJoint"
  2168. local Part = CreatePart(3, Weapon, "DiamondPlate", 0, 0, "Really black", "MainColor", VT(0.26,0.3,0.26),false)
  2169. local Weld = CreateWeldOrSnapOrMotor("Weld", Part, FingerPart, Part, CF(0,-0.15,0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  2170. MakeForm(Part,"Cyl")
  2171. local Part = CreatePart(3, Weapon, "DiamondPlate", 0, 0, "Really black", "MainColor", VT(0.26,0.2,0.26),false)
  2172. local Weld = CreateWeldOrSnapOrMotor("Weld", Part, FingerPart, Part, CF(0,0.15,0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  2173. MakeForm(Part,"Cyl")
  2174.  
  2175. local HandlePart = CreatePart(3, Weapon, "Metal", 0, 0, "Really black", "Handle", VT(0.4,0.4,0.4),false)
  2176. 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))
  2177. MakeForm(HandlePart,"Ball")
  2178. local FingerPart = CreatePart(3, Weapon, "DiamondPlate", 0, 0, "Really black", "Handle", VT(0.25,0.2,0.25),false)
  2179. 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))
  2180. MakeForm(FingerPart,"Cyl")
  2181. Weld.Name = "FingerJoint"
  2182. local Part = CreatePart(3, Weapon, "DiamondPlate", 0, 0, "Really black", "MainColor", VT(0.26,0.3,0.26),false)
  2183. local Weld = CreateWeldOrSnapOrMotor("Weld", Part, FingerPart, Part, CF(0,-0.15,0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  2184. MakeForm(Part,"Cyl")
  2185. local Part = CreatePart(3, Weapon, "DiamondPlate", 0, 0, "Really black", "MainColor", VT(0.26,0.2,0.26),false)
  2186. local Weld = CreateWeldOrSnapOrMotor("Weld", Part, FingerPart, Part, CF(0,0.15,0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  2187. MakeForm(Part,"Cyl")
  2188.  
  2189. local HandlePart = CreatePart(3, Weapon, "Metal", 0, 0, "Really black", "Handle", VT(0.4,0.4,0.4),false)
  2190. 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))
  2191. MakeForm(HandlePart,"Ball")
  2192. local FingerPart = CreatePart(3, Weapon, "DiamondPlate", 0, 0, "Really black", "Handle", VT(0.25,0.25,0.25),false)
  2193. 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))
  2194. MakeForm(FingerPart,"Cyl")
  2195. Weld.Name = "FingerJoint"
  2196. local Part = CreatePart(3, Weapon, "DiamondPlate", 0, 0, "Really black", "MainColor", VT(0.26,0.3,0.26),false)
  2197. local Weld = CreateWeldOrSnapOrMotor("Weld", Part, FingerPart, Part, CF(0,-0.15,0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  2198. MakeForm(Part,"Cyl")
  2199. local Part = CreatePart(3, Weapon, "DiamondPlate", 0, 0, "Really black", "MainColor", VT(0.26,0.25,0.26),false)
  2200. local Weld = CreateWeldOrSnapOrMotor("Weld", Part, FingerPart, Part, CF(0,0.15,0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  2201. MakeForm(Part,"Cyl")
  2202.  
  2203. local HandlePart = CreatePart(3, Weapon, "Metal", 0, 0, "Really black", "Handle", VT(0.4,0.4,0.4),false)
  2204. 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))
  2205. MakeForm(HandlePart,"Ball")
  2206. local FingerPart = CreatePart(3, Weapon, "DiamondPlate", 0, 0, "Really black", "Handle", VT(0.25,0.25,0.25),false)
  2207. 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))
  2208. MakeForm(FingerPart,"Cyl")
  2209. Weld.Name = "FingerJoint2"
  2210. local Part = CreatePart(3, Weapon, "DiamondPlate", 0, 0, "Really black", "MainColor", VT(0.26,0.3,0.26),false)
  2211. local Weld = CreateWeldOrSnapOrMotor("Weld", Part, FingerPart, Part, CF(0,-0.15,0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  2212. MakeForm(Part,"Cyl")
  2213. local Part = CreatePart(3, Weapon, "DiamondPlate", 0, 0, "Really black", "MainColor", VT(0.26,0.25,0.26),false)
  2214. local Weld = CreateWeldOrSnapOrMotor("Weld", Part, FingerPart, Part, CF(0,0.15,0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  2215. MakeForm(Part,"Cyl")
  2216.  
  2217. local HandlePart = CreatePart(3, Weapon, "Metal", 0, 0, "Really black", "Handle", VT(0.3,0.4,0.3),false)
  2218. 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))
  2219.  
  2220. local HandlePart = CreatePart(3, Weapon, "Metal", 0, 0, "Really black", "Handle", VT(0.3,0.4,0.3),false)
  2221. 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))
  2222.  
  2223. local HandlePart = CreatePart(3, Weapon, "Metal", 0, 0, "Really black", "Handle", VT(0.3,0.4,0.3),false)
  2224. 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))
  2225.  
  2226. local HandlePart = CreatePart(3, Weapon, "Metal", 0, 0, "Really black", "Handle", VT(0.3,0.4,0.3),false)
  2227. 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))
  2228.  
  2229. for _, c in pairs(Weapon:GetChildren()) do
  2230. if c.ClassName == "Part" then
  2231. c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  2232. end
  2233. end
  2234.  
  2235. Weapon.Parent = Character
  2236.  
  2237. Humanoid.Died:connect(function()
  2238. ATTACK = true
  2239. end)
  2240.  
  2241. 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")
  2242. 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")
  2243. 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")
  2244. 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")
  2245.  
  2246. local SKILL1TEXT = CreateLabel(SKILL1FRAME, "[Z] Telekenesis", SKILLTEXTCOLOR, 7, "SciFi", 0, 2, 0.5, "Text 1")
  2247. local SKILL2TEXT = CreateLabel(SKILL2FRAME, "[B] Rock Chuck", SKILLTEXTCOLOR, 7, "SciFi", 0, 2, 0.5, "Text 2")
  2248. local SKILL3TEXT = CreateLabel(SKILL3FRAME, "[C] Inner Crusher", SKILLTEXTCOLOR, 7, "SciFi", 0, 2, 0.5, "Text 3")
  2249. local SKILL4TEXT = CreateLabel(SKILL4FRAME, "[X] Meteor", SKILLTEXTCOLOR, 7, "SciFi", 0, 2, 0.5, "Text 4")
  2250.  
  2251. --//=================================\\
  2252. --|| DAMAGE FUNCTIONS
  2253. --\\=================================//
  2254.  
  2255. function StatLabel(LABELTYPE, CFRAME, TEXT, COLOR)
  2256. local STATPART = CreatePart(3, Effects, "SmoothPlastic", 0, 1, "Really black", "Effect", VT())
  2257. STATPART.CFrame = CF(CFRAME.p + VT(0, 1.5, 0))
  2258. local BODYGYRO = IT("BodyGyro", STATPART)
  2259. local BODYPOSITION = IT("BodyPosition", STATPART)
  2260. BODYPOSITION.P = 2000
  2261. BODYPOSITION.D = 100
  2262. BODYPOSITION.maxForce = VT(math.huge, math.huge, math.huge)
  2263. BODYPOSITION.position = STATPART.Position + VT(MRANDOM(-2, 2), 6, MRANDOM(-2, 2))
  2264. game:GetService("Debris"):AddItem(STATPART ,5)
  2265. local BILLBOARDGUI = Instance.new("BillboardGui", STATPART)
  2266. BILLBOARDGUI.Adornee = STATPART
  2267. BILLBOARDGUI.Size = UD2(2.5, 0, 2.5 ,0)
  2268. BILLBOARDGUI.StudsOffset = VT(-2, 2, 0)
  2269. BILLBOARDGUI.AlwaysOnTop = false
  2270. local TEXTLABEL = Instance.new("TextLabel", BILLBOARDGUI)
  2271. TEXTLABEL.BackgroundTransparency = 1
  2272. TEXTLABEL.Size = UD2(2.5, 0, 2.5, 0)
  2273. TEXTLABEL.Text = TEXT
  2274. TEXTLABEL.Font = "SciFi"
  2275. TEXTLABEL.FontSize="Size42"
  2276. TEXTLABEL.TextColor3 = COLOR
  2277. TEXTLABEL.TextStrokeTransparency = 1
  2278. TEXTLABEL.TextScaled = true
  2279. TEXTLABEL.TextWrapped = true
  2280. coroutine.resume(coroutine.create(function(THEPART, THEBODYPOSITION, THETEXTLABEL)
  2281. if LABELTYPE == "Normal" then
  2282. for i = 1, 30 do
  2283. Swait()
  2284. STATPART.Position = STATPART.Position + VT(0, (15-i)/10 ,0)
  2285. TEXTLABEL.TextTransparency = TEXTLABEL.TextTransparency + (1/30)
  2286. end
  2287. elseif LABELTYPE == "Debuff" then
  2288. for i = 1, 30 do
  2289. Swait()
  2290. STATPART.Position = STATPART.Position - VT(0, i/10 ,0)
  2291. TEXTLABEL.TextTransparency = TEXTLABEL.TextTransparency + (1/30)
  2292. end
  2293. elseif LABELTYPE == "Shock" then
  2294. local ORIGIN = STATPART.Position
  2295. for i = 1, 30 do
  2296. Swait()
  2297. STATPART.Position = ORIGIN + VT(MRANDOM(-2,2),MRANDOM(-2,2),MRANDOM(-2,2))
  2298. TEXTLABEL.TextTransparency = TEXTLABEL.TextTransparency + (1/30)
  2299. end
  2300. end
  2301. THEPART.Parent = nil
  2302. end),STATPART, BODYPOSITION, TEXTLABEL)
  2303. end
  2304.  
  2305. --//=================================\\
  2306. --|| DAMAGING
  2307. --\\=================================//
  2308.  
  2309. function ApplyDamage(Humanoid,Damage,CritRate,CritMultiplier)
  2310. local defence = Instance.new("BoolValue",Humanoid.Parent)
  2311. defence.Name = ("HitBy"..Player.Name)
  2312. game:GetService("Debris"):AddItem(defence, 0.001)
  2313. if Humanoid.Health ~= 0 then
  2314. local CritChance = MRANDOM(1,100)
  2315. if CritChance < CritRate + 1 then
  2316. Damage = Damage*CritMultiplier
  2317. end
  2318. if Damage > Humanoid.Health then
  2319. Damage = math.ceil(Humanoid.Health)
  2320. if Damage == 0 then
  2321. Damage = 0.1
  2322. end
  2323. end
  2324. Humanoid.Health = Humanoid.Health - Damage
  2325. if Humanoid.Parent:FindFirstChild("Head") then
  2326. if CritChance < CritRate + 1 then
  2327. StatLabel("Normal", Humanoid.Parent.Head.CFrame * CF(0, 0 + (Humanoid.Parent.Head.Size.z - 1), 0), "CRIT//"..Damage, C3(1, 0, 0))
  2328. else
  2329. StatLabel("Normal", Humanoid.Parent.Head.CFrame * CF(0, 0 + (Humanoid.Parent.Head.Size.z - 1), 0), Damage, C3(0, 0, 0))
  2330. end
  2331. end
  2332. end
  2333. end
  2334.  
  2335. function AoEDamage(position,radius,min,max,maxstrength,critrate,critmultiplier,CanBeDodgedByJumping)
  2336. local dmg = math.random(min,max)
  2337. for i,v in ipairs(workspace:GetChildren()) do
  2338. if v:FindFirstChild("HitBy"..Player.Name) == nil then
  2339. local body = v:GetChildren()
  2340. for part = 1, #body do
  2341. if(v:FindFirstChild("HitBy"..Player.Name) == nil and (body[part].ClassName == "Part" or body[part].ClassName == "MeshPart") and v ~= Character) then
  2342. if(body[part].Position - position).Magnitude < radius then
  2343. if v.ClassName == "Model" then
  2344. if v:FindFirstChildOfClass("Humanoid") then
  2345. if CanBeDodgedByJumping == true then
  2346. if body[part].Position.Y < position.Y+5 then
  2347. ApplyDamage(v:FindFirstChildOfClass("Humanoid"),dmg,critrate,critmultiplier)
  2348. end
  2349. else
  2350. ApplyDamage(v:FindFirstChildOfClass("Humanoid"),dmg,critrate,critmultiplier)
  2351. end
  2352. local bv = Instance.new("BodyVelocity")
  2353. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  2354. bv.velocity = RootPart.CFrame.lookVector*maxstrength
  2355. bv.Parent = body[part]
  2356. Debris:AddItem(bv,0.2)
  2357. end
  2358. end
  2359. end
  2360. end
  2361. end
  2362. end
  2363. if v:FindFirstChild("HitBy"..Player.Name) then
  2364. v:FindFirstChild("HitBy"..Player.Name):remove()
  2365. end
  2366. end
  2367. end
  2368.  
  2369. --//=================================\\
  2370. --|| ATTACK FUNCTIONS AND STUFF
  2371. --\\=================================//
  2372.  
  2373. function CastProperRay(StartPos, Vec, Length, Ignore)
  2374. local Direction = CFrame.new(StartPos, Vec).lookVector
  2375. local Ignore = ((type(Ignore) == "table" and Ignore) or {Ignore})
  2376. local RayHit, RayPos, RayNormal = game:GetService("Workspace"):FindPartOnRayWithIgnoreList(Ray.new(StartPos, Direction * Length), Ignore)
  2377. return RayHit, RayPos, RayNormal
  2378. end
  2379.  
  2380. local PARTICLES = IT("ParticleEmitter")
  2381.  
  2382. function particles(art)
  2383. local EyeSizes={
  2384. NumberSequenceKeypoint.new(0,0,0),
  2385. NumberSequenceKeypoint.new(1,1*FORM,0)
  2386. }
  2387. local EyeTrans={
  2388. NumberSequenceKeypoint.new(0,0.5,0),
  2389. NumberSequenceKeypoint.new(1,1,0)
  2390. }
  2391. local PE=PARTICLES:Clone()
  2392. PE.Parent = art
  2393. PE.LightEmission=.3
  2394. PE.Color = ColorSequence.new(SKILLTEXTCOLOR)
  2395. PE.Size=NumberSequence.new(EyeSizes)
  2396. PE.Transparency=NumberSequence.new(EyeTrans)
  2397. PE.Lifetime=NumberRange.new(0.35,0.35,0.35)
  2398. PE.Rotation=NumberRange.new(0,360)
  2399. PE.Rate=999
  2400. PE.VelocitySpread = 10000
  2401. PE.LockedToPart = true
  2402. PE.Drag = 5
  2403. PE.Speed = NumberRange.new(0,0,0)
  2404. PE.Texture="http://www.roblox.com/asset/?id=1351966707"
  2405. PE.ZOffset = -1.5
  2406. PE.Name = "PE"
  2407. end
  2408.  
  2409. function AttackTemplate()
  2410. ATTACK = true
  2411. Rooted = false
  2412. for i=0, 1, 0.1 / Animation_Speed do
  2413. Swait()
  2414. 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)
  2415. 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)
  2416. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  2417. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  2418. 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)
  2419. 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)
  2420. end
  2421. ATTACK = false
  2422. Rooted = false
  2423. end
  2424.  
  2425. function Telekenesis()
  2426. if Mouse.Target ~= nil then
  2427. if Mouse.Target.Anchored == false then
  2428. local TELEPART = Mouse.Target
  2429. local grav = Instance.new("BodyPosition",TELEPART)
  2430. grav.P = 20000
  2431. grav.maxForce = Vector3.new(math.huge,math.huge,math.huge)
  2432. grav.Name = "GravityForce"
  2433. local DIST = (RootPart.Position - TELEPART.Position).Magnitude
  2434. ATTACK = true
  2435. Rooted = true
  2436. VALUE1 = true
  2437. FINGERWORK = true
  2438. local AUTOBREAK = false
  2439. CreateSound(PEWSOUND[MRANDOM(1,#PEWSOUND)], RightArm, 5, 1)
  2440. repeat
  2441. Swait()
  2442. local HEIGHT = (TELEPART.Position.Y - RightArm.Position.Y)
  2443. turnto(Mouse.Hit.p)
  2444. local RayHit,RayPos = CastProperRay(HandlePart.Position, Mouse.Hit.p, DIST, Character)
  2445. grav.position = RayPos
  2446. MagicSphere(VT(0.3,0.3,0.3),5,TelePart.CFrame,SKILLTEXTCOLOR,VT(-0.3,-0.3,-0.3)/5)
  2447. 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)
  2448. 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)
  2449. 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)
  2450. 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)
  2451. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  2452. 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)
  2453. 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)
  2454. if KEY ~= nil then
  2455. if KEY == "b" then
  2456. DIST = DIST - 10
  2457. elseif KEY == "c" then
  2458. DIST = DIST + 10
  2459. elseif KEY == "x" then
  2460. AUTOBREAK = true
  2461. for i=0, 2, 0.1 / Animation_Speed do
  2462. Swait()
  2463. MagicSphere(VT(0.3,0.3,0.3),5,TelePart.CFrame,SKILLTEXTCOLOR,VT(-0.3,-0.3,-0.3)/5)
  2464. 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)
  2465. 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)
  2466. 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)
  2467. 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)
  2468. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  2469. 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)
  2470. 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)
  2471. end
  2472. for i=0, 0.2, 0.1 / Animation_Speed do
  2473. Swait()
  2474. MagicSphere(VT(0.3,0.3,0.3),5,TelePart.CFrame,SKILLTEXTCOLOR,VT(-0.3,-0.3,-0.3)/5)
  2475. 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)
  2476. 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)
  2477. 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)
  2478. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.5, -0.5) * ANGLES(RAD(90+(HEIGHT)), RAD(0), RAD(45)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  2479. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 2 / Animation_Speed)
  2480. 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)
  2481. 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)
  2482. end
  2483. MagicBlock(1,15,RightArm.CFrame*CF(0,-1.2,0),SKILLTEXTCOLOR,VT(0.2,0.2,0.2))
  2484. CreateSound("907532865", RightArm, 5, 1)
  2485. grav:remove()
  2486. local bv = Instance.new("BodyVelocity")
  2487. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  2488. bv.velocity = CF(RootPart.Position,TELEPART.Position).lookVector*1500*FORM
  2489. bv.Parent = TELEPART
  2490. bv.Name = "MOVE"
  2491. Debris:AddItem(bv,0.1)
  2492. local Touched = Part.Touched:Connect(function(hit)
  2493. if hit.CanCollide == true then
  2494. if hit.Parent:FindFirstChildOfClass("Humanoid") and hit.Parent ~= Character then
  2495. ApplyDamage(hit.Parent:FindFirstChildOfClass("Humanoid"),MRANDOM(3,7)*FORM,2,2)
  2496. end
  2497. end
  2498. end)
  2499. coroutine.resume(coroutine.create(function()
  2500. Swait(250)
  2501. Touched:disconnect()
  2502. end))
  2503. for i=0, 0.8, 0.1 / Animation_Speed do
  2504. Swait()
  2505. 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)
  2506. 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)
  2507. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.5, -0.5) * ANGLES(RAD(90+(HEIGHT)), RAD(0), RAD(45)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  2508. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 2 / Animation_Speed)
  2509. 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)
  2510. 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)
  2511. end
  2512. elseif KEY == "z" then
  2513. AUTOBREAK = true
  2514. end
  2515. KEY = nil
  2516. end
  2517. until AUTOBREAK == true
  2518. if TELEPART ~= nil then
  2519. grav:remove()
  2520. end
  2521. ATTACK = false
  2522. Rooted = false
  2523. VALUE1 = false
  2524. FINGERWORK = false
  2525. end
  2526. end
  2527. end
  2528.  
  2529. function RockChuck()
  2530. if HITFLOOR ~= nil then
  2531. ATTACK = true
  2532. Rooted = true
  2533. FINGERWORK = true
  2534. local ROCKS = {}
  2535. for i=0, 1, 0.1 / Animation_Speed do
  2536. Swait()
  2537. turnto(Mouse.Hit.p)
  2538. MagicSphere(VT(0.3,0.3,0.3),5,TelePart.CFrame,SKILLTEXTCOLOR,VT(-0.3,-0.3,-0.3)/5)
  2539. 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)
  2540. 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)
  2541. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.75, 0) * ANGLES(RAD(170), RAD(25), RAD(-15)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  2542. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  2543. 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)
  2544. 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)
  2545. end
  2546. CreateSound(PEWSOUND[MRANDOM(1,#PEWSOUND)], RightArm, 5, 1)
  2547. for i = 1, FORM*4 do
  2548. local ROCK = CreatePart(3, Effects, "Metal", 0, 0, "Really black", "Handle", VT(1.5,1.5,1.5)*FORM, false)
  2549. ROCK.Material = HITFLOOR.Material
  2550. ROCK.Color = HITFLOOR.Color
  2551. particles(ROCK)
  2552. 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)))
  2553. local grav = Instance.new("BodyPosition",ROCK)
  2554. grav.P = 20000
  2555. grav.maxForce = Vector3.new(math.huge,math.huge,math.huge)
  2556. grav.Name = "F"
  2557. grav.Position = ROCK.Position + VT(0,MRANDOM(15,25),0)
  2558. table.insert(ROCKS,ROCK)
  2559. end
  2560. for i=0, 1, 0.1 / Animation_Speed do
  2561. Swait()
  2562. turnto(Mouse.Hit.p)
  2563. MagicSphere(VT(0.5,0.5,0.5),5,TelePart.CFrame,SKILLTEXTCOLOR,VT(-0.5,-0.5,-0.5)/5)
  2564. 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)
  2565. 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)
  2566. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.75, 0) * ANGLES(RAD(170), RAD(25), RAD(-15)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  2567. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  2568. 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)
  2569. 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)
  2570. end
  2571. for i=0, 0.2, 0.1 / Animation_Speed do
  2572. Swait()
  2573. turnto(Mouse.Hit.p)
  2574. MagicSphere(VT(0.5,0.5,0.5),5,TelePart.CFrame,SKILLTEXTCOLOR,VT(-0.5,-0.5,-0.5)/5)
  2575. 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)
  2576. 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)
  2577. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.5, -0.5) * ANGLES(RAD(90), RAD(25), RAD(0)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  2578. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  2579. 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)
  2580. 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)
  2581. end
  2582. for e=1,#ROCKS do
  2583. for i = 1, 5 do
  2584. turnto(Mouse.Hit.p)
  2585. MagicSphere(VT(0.5,0.5,0.5),5,TelePart.CFrame,SKILLTEXTCOLOR,VT(-0.5,-0.5,-0.5)/5)
  2586. 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)
  2587. Swait()
  2588. end
  2589. if ROCKS[e]~=nil then
  2590. local Thing=ROCKS[e]
  2591. if Thing~=nil then
  2592. local Part=Thing
  2593. for i=0, 0.3, 0.1 / Animation_Speed do
  2594. Swait()
  2595. MagicSphere(VT(0.3,0.3,0.3),5,TelePart.CFrame,SKILLTEXTCOLOR,VT(-0.3,-0.3,-0.3)/5)
  2596. --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)
  2597. 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)
  2598. 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)
  2599. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.5, -0.5) * ANGLES(RAD(90), RAD(0), RAD(-45)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  2600. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  2601. 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)
  2602. 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)
  2603. end
  2604. for i=0, 0.2, 0.1 / Animation_Speed do
  2605. Swait()
  2606. MagicSphere(VT(0.3,0.3,0.3),5,TelePart.CFrame,SKILLTEXTCOLOR,VT(-0.3,-0.3,-0.3)/5)
  2607. --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)
  2608. 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)
  2609. 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)
  2610. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.5, -0.5) * ANGLES(RAD(90), RAD(0), RAD(45)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  2611. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 2 / Animation_Speed)
  2612. 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)
  2613. 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)
  2614. end
  2615. CreateSound("907532865", RightArm, 5, 1)
  2616. MagicBlock(1,15,RightArm.CFrame*CF(0,-1.2,0),SKILLTEXTCOLOR,VT(0.2,0.2,0.2))
  2617. Part.F:remove()
  2618. Part.CanCollide = true
  2619. local bv = Instance.new("BodyVelocity")
  2620. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  2621. bv.velocity = CF(Part.Position,Mouse.Hit.p).lookVector*500*FORM
  2622. bv.Parent = Part
  2623. bv.Name = "MOVE"
  2624. Debris:AddItem(bv,0.1)
  2625. local Touched = Part.Touched:Connect(function(hit)
  2626. if hit.CanCollide == true then
  2627. CreateFlyingDebree(Part,Part.CFrame,5,(Part.Size/5)*FORM,2,15)
  2628. Part:remove()
  2629. if hit.Parent:FindFirstChildOfClass("Humanoid") and hit.Parent ~= Character then
  2630. ApplyDamage(hit.Parent:FindFirstChildOfClass("Humanoid"),MRANDOM(15,25)*FORM,2,2)
  2631. end
  2632. end
  2633. end)
  2634. end
  2635. end
  2636. end
  2637. FINGERWORK = false
  2638. ATTACK = false
  2639. Rooted = false
  2640. end
  2641. end
  2642.  
  2643. local asd = Instance.new("ParticleEmitter")
  2644. asd.Color = ColorSequence.new(Color3.new(1, 0, 0), Color3.new(.5, 0, 0))
  2645. asd.LightEmission = .1
  2646. asd.Size = NumberSequence.new(0.2)
  2647. asd.Texture = "http://www.roblox.com/asset/?ID=291880914"
  2648. aaa = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.2),NumberSequenceKeypoint.new(1, 5)})
  2649. bbb = NumberSequence.new({NumberSequenceKeypoint.new(0, 1),NumberSequenceKeypoint.new(0.0636, 0), NumberSequenceKeypoint.new(1, 1)})
  2650. asd.Transparency = bbb
  2651. asd.Size = aaa
  2652. asd.ZOffset = .9
  2653. asd.Acceleration = Vector3.new(0, -5, 0)
  2654. asd.LockedToPart = false
  2655. asd.EmissionDirection = "Back"
  2656. asd.Lifetime = NumberRange.new(1, 2)
  2657. asd.Rotation = NumberRange.new(-100, 100)
  2658. asd.RotSpeed = NumberRange.new(-100, 100)
  2659. asd.Speed = NumberRange.new(2)
  2660. asd.Enabled = false
  2661. asd.VelocitySpread = 10000
  2662.  
  2663. function getbloody(victim,amount)
  2664. local prtcl = asd:Clone()
  2665. prtcl.Parent = victim
  2666. prtcl:Emit(amount)
  2667. Debris:AddItem(prtcl,5)
  2668. end
  2669.  
  2670. function InnerCrusher()
  2671. if Mouse.Target ~= nil then
  2672. if Mouse.Target.Anchored == false then
  2673. if Mouse.Target.Parent:FindFirstChildOfClass("Humanoid") then
  2674. local HUMAN = Mouse.Target.Parent:FindFirstChildOfClass("Humanoid")
  2675. local TELEPART = Mouse.Target
  2676. local grav = Instance.new("BodyPosition",TELEPART)
  2677. grav.P = 20000
  2678. grav.maxForce = Vector3.new(math.huge,math.huge,math.huge)
  2679. grav.Name = "GravityForce"
  2680. local DIST = (RootPart.Position - TELEPART.Position).Magnitude
  2681. ATTACK = true
  2682. Rooted = true
  2683. FINGERWORK = true
  2684. local AUTOBREAK = false
  2685. CreateSound(PEWSOUND[MRANDOM(1,#PEWSOUND)], RightArm, 5, 1)
  2686. for i = 1, 150 do
  2687. Swait()
  2688. local HEIGHT = (TELEPART.Position.Y - RightArm.Position.Y)
  2689. turnto(TELEPART.Position)
  2690. grav.Position = TELEPART.Position + VT(0,2,0)
  2691. MagicSphere(VT(0.3,0.3,0.3),5,TelePart.CFrame,SKILLTEXTCOLOR,VT(-0.3,-0.3,-0.3)/5)
  2692. 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)
  2693. 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)
  2694. 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)
  2695. 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)
  2696. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  2697. 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)
  2698. 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)
  2699. end
  2700. for i = 1, 50 do
  2701. Swait()
  2702. local HEIGHT = (TELEPART.Position.Y - RightArm.Position.Y)
  2703. turnto(TELEPART.Position)
  2704. MagicSphere(VT(0.3,0.3,0.3),5,TelePart.CFrame,SKILLTEXTCOLOR,VT(-0.3,-0.3,-0.3)/5)
  2705. 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)
  2706. 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)
  2707. 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)
  2708. 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)
  2709. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  2710. 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)
  2711. 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)
  2712. end
  2713. FINGERWORK = false
  2714. for i = 1, 50 do
  2715. Swait()
  2716. ApplyDamage(HUMAN,MRANDOM(1,2),2,2)
  2717. if MRANDOM(1,5) == 1 then
  2718. CreateSound(HITPLAYERSOUNDS[MRANDOM(1, #HITPLAYERSOUNDS)], TELEPART, 1, (math.random(8,12)/10))
  2719. end
  2720. local HEIGHT = (TELEPART.Position.Y - RightArm.Position.Y)
  2721. turnto(TELEPART.Position)
  2722. getbloody(TELEPART,5)
  2723. MagicSphere(VT(0.3,0.3,0.3),5,TelePart.CFrame,SKILLTEXTCOLOR,VT(-0.3,-0.3,-0.3)/5)
  2724. 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)
  2725. 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)
  2726. 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)
  2727. 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)
  2728. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  2729. 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)
  2730. 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)
  2731. end
  2732. TELEPART.Velocity = VT(0,0,0)
  2733. ATTACK = false
  2734. Rooted = false
  2735. grav:remove()
  2736. FINGERWORK = false
  2737. end
  2738. end
  2739. end
  2740. end
  2741.  
  2742. function Meteor()
  2743. ATTACK = true
  2744. Rooted = false
  2745. FINGERWORK = true
  2746. local ROCKS = {}
  2747. for i=0, 1, 0.1 / Animation_Speed do
  2748. Swait()
  2749. turnto(Mouse.Hit.p)
  2750. MagicSphere(VT(0.3,0.3,0.3),5,TelePart.CFrame,SKILLTEXTCOLOR,VT(-0.3,-0.3,-0.3)/5)
  2751. 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)
  2752. 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)
  2753. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.75, 0) * ANGLES(RAD(170), RAD(25), RAD(-15)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  2754. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  2755. 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)
  2756. 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)
  2757. end
  2758. for i = 1, FORM do
  2759. local ROCK = CreatePart(3, Effects, "Granite", 0, 0, "Dark stone grey", "Handle", VT(25,25,25))
  2760. particles(ROCK)
  2761. local FIRE = IT("Fire",ROCK)
  2762. FIRE.Size = 60
  2763. FIRE.Heat = 0
  2764. FIRE.SecondaryColor = C3(0,0,0)
  2765. 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)))
  2766. ROCK.CanCollide = true
  2767. table.insert(ROCKS,ROCK)
  2768. end
  2769. CreateSound(PEWSOUND[MRANDOM(1,#PEWSOUND)], RightArm, 5, 1)
  2770. for i = 1, 50 do
  2771. Swait()
  2772. turnto(Mouse.Hit.p)
  2773. MagicSphere(VT(0.3,0.3,0.3),5,TelePart.CFrame,SKILLTEXTCOLOR,VT(-0.3,-0.3,-0.3)/5)
  2774. 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)
  2775. end
  2776. for e=1,#ROCKS do
  2777. for i = 1, 5 do
  2778. turnto(Mouse.Hit.p)
  2779. MagicSphere(VT(0.5,0.5,0.5),5,TelePart.CFrame,SKILLTEXTCOLOR,VT(-0.5,-0.5,-0.5)/5)
  2780. 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)
  2781. Swait()
  2782. end
  2783. if ROCKS[e]~=nil then
  2784. local Thing=ROCKS[e]
  2785. if Thing~=nil then
  2786. local Part=Thing
  2787. repeat
  2788. Swait()
  2789. turnto(Mouse.Hit.p)
  2790. MagicSphere(VT(0.3,0.3,0.3),5,TelePart.CFrame,SKILLTEXTCOLOR,VT(-0.3,-0.3,-0.3)/5)
  2791. 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)
  2792. 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)
  2793. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.75, 0) * ANGLES(RAD(170), RAD(25), RAD(-15)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  2794. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  2795. 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)
  2796. 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)
  2797. until HOLD == true
  2798. for i=0, 0.3, 0.1 / Animation_Speed do
  2799. Swait()
  2800. turnto(Mouse.Hit.p)
  2801. MagicSphere(VT(0.3,0.3,0.3),5,TelePart.CFrame,SKILLTEXTCOLOR,VT(-0.3,-0.3,-0.3)/5)
  2802. 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)
  2803. 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)
  2804. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.75, 0) * ANGLES(RAD(25), RAD(90), RAD(-15)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  2805. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 2 / Animation_Speed)
  2806. 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)
  2807. 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)
  2808. end
  2809. CreateSound("907532865", RightArm, 5, 1)
  2810. MagicBlock(1,15,RightArm.CFrame*CF(0,-1.2,0),SKILLTEXTCOLOR,VT(0.2,0.2,0.2))
  2811. Part.Anchored = false
  2812. local bv = Instance.new("BodyVelocity")
  2813. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  2814. bv.velocity = CF(Part.Position,Mouse.Hit.p).lookVector*300*FORM
  2815. bv.Parent = Part
  2816. bv.Name = "MOVE"
  2817. Debris:AddItem(bv,0.1)
  2818. local IMPACT = false
  2819. local Touched = Part.Touched:Connect(function(hit)
  2820. if hit.CanCollide == true and IMPACT == false then
  2821. IMPACT = true
  2822. Part.PE.Enabled = false
  2823. CreateFlyingDebree(Part,Part.CFrame,5,(Part.Size/2),2,65,true)
  2824. Part.Transparency = 1
  2825. Part.Anchored = true
  2826. Part.CanCollide = false
  2827. Part.Fire.Enabled = false
  2828. Debris:AddItem(Part,5)
  2829. MagicSphere(Part.Size,15,Part.CFrame,"CGA brown",Part.Size)
  2830. MagicSphere(Part.Size,15,Part.CFrame,"Deep orange",Part.Size/1.8)
  2831. CreateSound("144699494", Part, 5, 1)
  2832. local FLOOR, HITPOS = Raycast(Part.Position, (CF(Part.Position, Part.Position + VT(0, -1, 0))).lookVector, 35 , Part)
  2833. if FLOOR ~= nil then
  2834. CreateDebreeRing(FLOOR,HITPOS,15,VT(10,10,10),2)
  2835. end
  2836. if hit.Parent:FindFirstChildOfClass("Humanoid") and hit.Parent ~= Character then
  2837. ApplyDamage(hit.Parent:FindFirstChildOfClass("Humanoid"),MRANDOM(65,75)*FORM,2,2)
  2838. end
  2839. AoEDamage(Part.Position,45,15,65,5,2,2,false)
  2840. end
  2841. end)
  2842. end
  2843. end
  2844. end
  2845. FINGERWORK = false
  2846. ATTACK = false
  2847. Rooted = false
  2848. end
  2849.  
  2850. --//=================================\\
  2851. --|| ASSIGN THINGS TO KEYS
  2852. --\\=================================//
  2853.  
  2854. function MouseDown(Mouse)
  2855. HOLD = true
  2856. if ATTACK == false then
  2857. end
  2858. end
  2859.  
  2860. function MouseUp(Mouse)
  2861. HOLD = false
  2862. end
  2863.  
  2864. function KeyDown(Key)
  2865. KEYHOLD = true
  2866. if VALUE1 == true then
  2867. KEY = Key
  2868. end
  2869.  
  2870. if Key == "z" and ATTACK == false then
  2871. Telekenesis()
  2872. end
  2873.  
  2874. if Key == "b" and ATTACK == false then
  2875. RockChuck()
  2876. end
  2877.  
  2878. if Key == "c" and ATTACK == false then
  2879. InnerCrusher()
  2880. end
  2881.  
  2882. if Key == "x" and ATTACK == false then
  2883. Meteor()
  2884. end
  2885.  
  2886. if Key == "m" and ATTACK == false and Player.Name == "Shackluster" then
  2887. if FORM == 1 then
  2888. FORM = 2
  2889. elseif FORM == 2 then
  2890. FORM = 1
  2891. end
  2892. end
  2893. end
  2894.  
  2895. function KeyUp(Key)
  2896. KEYHOLD = false
  2897. end
  2898.  
  2899. Mouse.Button1Down:connect(function(NEWKEY)
  2900. MouseDown(NEWKEY)
  2901. end)
  2902. Mouse.Button1Up:connect(function(NEWKEY)
  2903. MouseUp(NEWKEY)
  2904. end)
  2905. Mouse.KeyDown:connect(function(NEWKEY)
  2906. KeyDown(NEWKEY)
  2907. end)
  2908. Mouse.KeyUp:connect(function(NEWKEY)
  2909. KeyUp(NEWKEY)
  2910. end)
  2911.  
  2912. --//=================================\\
  2913. --\\=================================//
  2914.  
  2915.  
  2916. function unanchor()
  2917. if UNANCHOR == true then
  2918. for _, c in pairs(Weapon:GetChildren()) do
  2919. if c.ClassName == "Part" then
  2920. c.Anchored = false
  2921. end
  2922. end
  2923. for _, c in pairs(Character:GetChildren()) do
  2924. if c.ClassName == "Part" then
  2925. c.Anchored = false
  2926. elseif c.ClassName == "Accessory" then
  2927. c.Handle.Anchored = false
  2928. end
  2929. end
  2930. end
  2931. end
  2932.  
  2933.  
  2934. --//=================================\\
  2935. --|| WRAP THE WHOLE SCRIPT UP
  2936. --\\=================================//
  2937.  
  2938. Humanoid.Changed:connect(function(Jump)
  2939. if Jump == "Jump" and (Disable_Jump == true) then
  2940. Humanoid.Jump = false
  2941. end
  2942. end)
  2943.  
  2944. while true do
  2945. Swait()
  2946. ANIMATE.Parent = nil
  2947. local IDLEANIMATION = Humanoid:LoadAnimation(ROBLOXIDLEANIMATION)
  2948. IDLEANIMATION:Play()
  2949. SINE = SINE + CHANGE
  2950. local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude
  2951. local TORSOVERTICALVELOCITY = RootPart.Velocity.y
  2952. local LV = Torso.CFrame:pointToObjectSpace(Torso.Velocity - Torso.Position)
  2953. HITFLOOR = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4 * Player_Size, Character)
  2954. local WALKSPEEDVALUE = 6 / (Humanoid.WalkSpeed / 16)
  2955. if ANIM == "Walk" and TORSOVELOCITY > 1 then
  2956. 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)
  2957. 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)
  2958. 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)
  2959. 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)
  2960. elseif (ANIM ~= "Walk") or (TORSOVELOCITY < 1) then
  2961. RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  2962. 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)
  2963. 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)
  2964. 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)
  2965. end
  2966. if TORSOVERTICALVELOCITY > 1 and HITFLOOR == nil then
  2967. ANIM = "Jump"
  2968. if ATTACK == false then
  2969. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  2970. 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)
  2971. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(20)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed)
  2972. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  2973. 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)
  2974. 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)
  2975. end
  2976. elseif TORSOVERTICALVELOCITY < -1 and HITFLOOR == nil then
  2977. ANIM = "Fall"
  2978. if ATTACK == false then
  2979. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 ) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  2980. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 , 0 + ((1) - 1)) * ANGLES(RAD(20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  2981. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(60)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed)
  2982. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-60)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  2983. 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)
  2984. 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)
  2985. end
  2986. elseif TORSOVELOCITY < 1 and HITFLOOR ~= nil then
  2987. ANIM = "Idle"
  2988. if ATTACK == false then
  2989. 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)
  2990. 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)
  2991. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  2992. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  2993. 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)
  2994. 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)
  2995. end
  2996. elseif TORSOVELOCITY > 1 and HITFLOOR ~= nil then
  2997. ANIM = "Walk"
  2998. WALK = WALK + 1 / Animation_Speed
  2999. if WALK >= 15 - (5 * (Humanoid.WalkSpeed / 16 / Player_Size)) then
  3000. WALK = 0
  3001. if WALKINGANIM == true then
  3002. WALKINGANIM = false
  3003. elseif WALKINGANIM == false then
  3004. WALKINGANIM = true
  3005. end
  3006. end
  3007. --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)
  3008. --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)
  3009. if ATTACK == false then
  3010. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.1) * ANGLES(RAD(5), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  3011. 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)
  3012. 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)
  3013. 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)
  3014. 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)
  3015. 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)
  3016. end
  3017. end
  3018. unanchor()
  3019. Humanoid.MaxHealth = "inf"
  3020. Humanoid.Health = "inf"
  3021. if Rooted == false then
  3022. Disable_Jump = false
  3023. Humanoid.WalkSpeed = Speed
  3024. elseif Rooted == true then
  3025. Disable_Jump = true
  3026. Humanoid.WalkSpeed = 0
  3027. end
  3028. if FORM == 1 then
  3029. if sick.SoundId ~= STAGE1MUSIC then
  3030. sick.SoundId = STAGE1MUSIC
  3031. sick:Play()
  3032. end
  3033. SKILLTEXTCOLOR = BRICKC("Maroon").Color
  3034. elseif FORM == 2 then
  3035. if sick.SoundId ~= STAGE2MUSIC then
  3036. sick.SoundId = STAGE2MUSIC
  3037. sick:Play()
  3038. end
  3039. SKILLTEXTCOLOR = BRICKC("Black").Color
  3040. end
  3041. if sick.Playing == false then
  3042. sick:Play()
  3043. end
  3044. sick.Parent = Character
  3045. SKILL1TEXT.TextColor3 = SKILLTEXTCOLOR
  3046. SKILL2TEXT.TextColor3 = SKILLTEXTCOLOR
  3047. SKILL3TEXT.TextColor3 = SKILLTEXTCOLOR
  3048. SKILL4TEXT.TextColor3 = SKILLTEXTCOLOR
  3049. for _, c in pairs(Weapon:GetChildren()) do
  3050. if c.ClassName == "Part" then
  3051. if c.Name == "MainColor" then
  3052. c.Color = SKILLTEXTCOLOR
  3053. end
  3054. if c:FindFirstChild("FingerJoint") then
  3055. local WELD = c:FindFirstChild("FingerJoint")
  3056. if FINGERWORK == false then
  3057. WELD.C1 = Clerp(WELD.C1, CF(-0.1, 0.3, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
  3058. elseif FINGERWORK == true then
  3059. WELD.C1 = Clerp(WELD.C1, CF(0, 0.3, 0) * ANGLES(RAD(0), RAD(0), RAD(-55)), 0.5 / Animation_Speed)
  3060. end
  3061. elseif c:FindFirstChild("FingerJoint2") then
  3062. local WELD = c:FindFirstChild("FingerJoint2")
  3063. if FINGERWORK == false then
  3064. WELD.C1 = Clerp(WELD.C1, CF(0, 0.3, 0.1) * ANGLES(RAD(90), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  3065. elseif FINGERWORK == true then
  3066. WELD.C1 = Clerp(WELD.C1, CF(0, 0.3, 0) * ANGLES(RAD(-55), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  3067. end
  3068. end
  3069. end
  3070. end
  3071. Humanoid.PlatformStand = false
  3072. Humanoid.Parent = Character
  3073. Character.Parent = workspace
  3074. script.Parent = PlayerGui
  3075. if VALUE1 == true then
  3076. SKILL1TEXT.Text = "[Z] Exit"
  3077. SKILL2TEXT.Text = "[B] Decrease"
  3078. SKILL3TEXT.Text = "[C] Increase"
  3079. SKILL4TEXT.Text = "[X] Force push"
  3080. elseif VALUE1 == false then
  3081. SKILL1TEXT.Text = "[Z] Telekenesis"
  3082. SKILL2TEXT.Text = "[B] Rock Chuck"
  3083. SKILL3TEXT.Text = "[C] Inner Crusher"
  3084. SKILL4TEXT.Text = "[X] Meteor"
  3085. end
  3086. end
  3087.  
  3088. --//=================================\\
  3089. --\\=================================//
  3090.  
  3091.  
  3092.  
  3093.  
  3094.  
  3095. --//====================================================\\--
  3096. --|| END OF SCRIPT
  3097. --\\====================================================//--wait(0.2)
  3098.  
  3099. Player = game:GetService("Players").LocalPlayer
  3100. PlayerGui = Player.PlayerGui
  3101. Cam = workspace.CurrentCamera
  3102. Backpack = Player.Backpack
  3103. Character = Player.Character
  3104. Humanoid = Character.Humanoid
  3105. Mouse = Player:GetMouse()
  3106. RootPart = Character["HumanoidRootPart"]
  3107. Torso = Character["Torso"]
  3108. Head = Character["Head"]
  3109. RightArm = Character["Right Arm"]
  3110. LeftArm = Character["Left Arm"]
  3111. RightLeg = Character["Right Leg"]
  3112. LeftLeg = Character["Left Leg"]
  3113. RootJoint = RootPart["RootJoint"]
  3114. Neck = Torso["Neck"]
  3115. RightShoulder = Torso["Right Shoulder"]
  3116. LeftShoulder = Torso["Left Shoulder"]
  3117. RightHip = Torso["Right Hip"]
  3118. LeftHip = Torso["Left Hip"]
  3119. local sick = Instance.new("Sound",Character)
  3120. sick.SoundId = "rbxassetid://203941422"
  3121. sick.Looped = true
  3122. sick.Pitch = 1
  3123. sick.Volume = 1
  3124. sick:Play()
  3125. local FORM = 1
  3126. local STAGE1MUSIC = "rbxassetid://147888653"
  3127. local STAGE2MUSIC = "rbxassetid://212693212"
  3128. local txt = Instance.new("BillboardGui", Character)
  3129. CV="Lime green"
  3130. txt.Adornee = Character.Head
  3131. txt.Name = "_status"
  3132. txt.Size = UDim2.new(2, 0, 1.2, 0)
  3133. txt.StudsOffset = Vector3.new(-9, 8, 0)
  3134. local text = Instance.new("TextLabel", txt)
  3135. text.Size = UDim2.new(10, 0, 7, 0)
  3136. text.FontSize = "Size24"
  3137. text.TextScaled = true
  3138. text.TextTransparency = 0
  3139. text.BackgroundTransparency = 1
  3140. text.TextTransparency = 0
  3141. text.TextStrokeTransparency = 0
  3142. text.Font = "Bodoni"
  3143. text.TextStrokeColor3 = BrickColor.new("Crimson").Color
  3144. text.TextColor3 = BrickColor.new("Really red").Color
  3145. text.Text = "Red robot"
  3146.  
  3147.  
  3148.  
  3149. IT = Instance.new
  3150. CF = CFrame.new
  3151. VT = Vector3.new
  3152. RAD = math.rad
  3153. C3 = Color3.new
  3154. UD2 = UDim2.new
  3155. BRICKC = BrickColor.new
  3156. ANGLES = CFrame.Angles
  3157. EULER = CFrame.fromEulerAnglesXYZ
  3158. COS = math.cos
  3159. ACOS = math.acos
  3160. SIN = math.sin
  3161. ASIN = math.asin
  3162. ABS = math.abs
  3163. MRANDOM = math.random
  3164. FLOOR = math.floor
  3165.  
  3166. function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
  3167. local NEWMESH = IT(MESH)
  3168. if MESH == "SpecialMesh" then
  3169. NEWMESH.MeshType = MESHTYPE
  3170. if MESHID ~= "nil" and MESHID ~= "" then
  3171. NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID
  3172. end
  3173. if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
  3174. NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID
  3175. end
  3176. end
  3177. NEWMESH.Offset = OFFSET or VT(0, 0, 0)
  3178. NEWMESH.Scale = SCALE
  3179. NEWMESH.Parent = PARENT
  3180. return NEWMESH
  3181. end
  3182.  
  3183. function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
  3184. local NEWPART = IT("Part")
  3185. NEWPART.formFactor = FORMFACTOR
  3186. NEWPART.Reflectance = REFLECTANCE
  3187. NEWPART.Transparency = TRANSPARENCY
  3188. NEWPART.CanCollide = false
  3189. NEWPART.Locked = true
  3190. NEWPART.Anchored = true
  3191. if ANCHOR == false then
  3192. NEWPART.Anchored = false
  3193. end
  3194. NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
  3195. NEWPART.Name = NAME
  3196. NEWPART.Size = SIZE
  3197. NEWPART.Position = Torso.Position
  3198. NEWPART.Material = MATERIAL
  3199. NEWPART:BreakJoints()
  3200. NEWPART.Parent = PARENT
  3201. return NEWPART
  3202. end
  3203.  
  3204. --//=================================\\
  3205. --|| CUSTOMIZATION
  3206. --\\=================================//
  3207.  
  3208. Player_Size = 1 --Size of the player.
  3209. Animation_Speed = 3
  3210. Animation_Speed2 = 0.7
  3211. Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60)
  3212.  
  3213. local Speed = 16
  3214. local Effects2 = {}
  3215.  
  3216. --//=================================\\
  3217. --|| END OF CUSTOMIZATION
  3218. --\\=================================//
  3219.  
  3220. local function weldBetween(a, b)
  3221. local weldd = Instance.new("ManualWeld")
  3222. weldd.Part0 = a
  3223. weldd.Part1 = b
  3224. weldd.C0 = CFrame.new()
  3225. weldd.C1 = b.CFrame:inverse() * a.CFrame
  3226. weldd.Parent = a
  3227. return weldd
  3228. end
  3229.  
  3230. --//=================================\\
  3231. --|| USEFUL VALUES
  3232. --\\=================================//
  3233.  
  3234. local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  3235. local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  3236. local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0))
  3237. local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0))
  3238. local CHANGEDEFENSE = 0
  3239. local CHANGEDAMAGE = 0
  3240. local CHANGEMOVEMENT = 0
  3241. local ANIM = "Idle"
  3242. local ATTACK = false
  3243. local EQUIPPED = false
  3244. local HOLD = false
  3245. local COMBO = 1
  3246. local Rooted = false
  3247. local SINE = 0
  3248. local KEYHOLD = false
  3249. local CHANGE = 2 / Animation_Speed
  3250. local WALKINGANIM = false
  3251. local WALK = 0
  3252. local VALUE1 = false
  3253. local VALUE2 = false
  3254. local ROBLOXIDLEANIMATION = IT("Animation")
  3255. ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation"
  3256. ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571"
  3257. --ROBLOXIDLEANIMATION.Parent = Humanoid
  3258. local WEAPONGUI = IT("ScreenGui", PlayerGui)
  3259. WEAPONGUI.Name = "Weapon GUI"
  3260. local Weapon = IT("Model")
  3261. Weapon.Name = "Adds"
  3262. local Effects = IT("Folder", Weapon)
  3263. Effects.Name = "Effects"
  3264. local TelekenesisEffects = IT("Folder", Weapon)
  3265. TelekenesisEffects.Name = "HoldGraphics"
  3266. local ANIMATOR = Humanoid.Animator
  3267. local ANIMATE = Character.Animate
  3268. local HITPLAYERSOUNDS = {--[["199149137", "199149186", "199149221", "199149235", "199149269", "199149297"--]]"263032172", "263032182", "263032200", "263032221", "263032252", "263033191"}
  3269. local HITARMORSOUNDS = {"199149321", "199149338", "199149367", "199149409", "199149452"}
  3270. local HITWEAPONSOUNDS = {"199148971", "199149025", "199149072", "199149109", "199149119"}
  3271. local HITBLOCKSOUNDS = {"199148933", "199148947"}
  3272. local UNANCHOR = true
  3273. local TELEBODY = nil
  3274. local NESISPART = nil
  3275. local FINGERWORK = false
  3276. local KEY = nil
  3277. local PEWSOUND = {"907527750","907527912","907528019","907530553"}
  3278.  
  3279. local SKILLTEXTCOLOR = BRICKC("Maroon").Color
  3280.  
  3281. --//=================================\\
  3282. --\\=================================//
  3283.  
  3284.  
  3285. --//=================================\\
  3286. --|| SAZERENOS' ARTIFICIAL HEARTBEAT
  3287. --\\=================================//
  3288.  
  3289. ArtificialHB = Instance.new("BindableEvent", script)
  3290. ArtificialHB.Name = "ArtificialHB"
  3291.  
  3292. script:WaitForChild("ArtificialHB")
  3293.  
  3294. frame = Frame_Speed
  3295. tf = 0
  3296. allowframeloss = false
  3297. tossremainder = false
  3298. lastframe = tick()
  3299. script.ArtificialHB:Fire()
  3300.  
  3301. game:GetService("RunService").Heartbeat:connect(function(s, p)
  3302. tf = tf + s
  3303. if tf >= frame then
  3304. if allowframeloss then
  3305. script.ArtificialHB:Fire()
  3306. lastframe = tick()
  3307. else
  3308. for i = 1, math.floor(tf / frame) do
  3309. script.ArtificialHB:Fire()
  3310. end
  3311. lastframe = tick()
  3312. end
  3313. if tossremainder then
  3314. tf = 0
  3315. else
  3316. tf = tf - frame * math.floor(tf / frame)
  3317. end
  3318. end
  3319. end)
  3320.  
  3321. --//=================================\\
  3322. --\\=================================//
  3323.  
  3324.  
  3325.  
  3326.  
  3327.  
  3328. --//=================================\\
  3329. --|| SOME FUNCTIONS
  3330. --\\=================================//
  3331.  
  3332. function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
  3333. return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
  3334. end
  3335.  
  3336. function PositiveAngle(NUMBER)
  3337. if NUMBER >= 0 then
  3338. NUMBER = 0
  3339. end
  3340. return NUMBER
  3341. end
  3342.  
  3343. function NegativeAngle(NUMBER)
  3344. if NUMBER <= 0 then
  3345. NUMBER = 0
  3346. end
  3347. return NUMBER
  3348. end
  3349.  
  3350. function Swait(NUMBER)
  3351. if NUMBER == 0 or NUMBER == nil then
  3352. ArtificialHB.Event:wait()
  3353. else
  3354. for i = 1, NUMBER do
  3355. ArtificialHB.Event:wait()
  3356. end
  3357. end
  3358. end
  3359.  
  3360. function QuaternionFromCFrame(cf)
  3361. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  3362. local trace = m00 + m11 + m22
  3363. if trace > 0 then
  3364. local s = math.sqrt(1 + trace)
  3365. local recip = 0.5 / s
  3366. return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  3367. else
  3368. local i = 0
  3369. if m11 > m00 then
  3370. i = 1
  3371. end
  3372. if m22 > (i == 0 and m00 or m11) then
  3373. i = 2
  3374. end
  3375. if i == 0 then
  3376. local s = math.sqrt(m00 - m11 - m22 + 1)
  3377. local recip = 0.5 / s
  3378. return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  3379. elseif i == 1 then
  3380. local s = math.sqrt(m11 - m22 - m00 + 1)
  3381. local recip = 0.5 / s
  3382. return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  3383. elseif i == 2 then
  3384. local s = math.sqrt(m22 - m00 - m11 + 1)
  3385. local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  3386. end
  3387. end
  3388. end
  3389.  
  3390. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  3391. local xs, ys, zs = x + x, y + y, z + z
  3392. local wx, wy, wz = w * xs, w * ys, w * zs
  3393. local xx = x * xs
  3394. local xy = x * ys
  3395. local xz = x * zs
  3396. local yy = y * ys
  3397. local yz = y * zs
  3398. local zz = z * zs
  3399. 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))
  3400. end
  3401.  
  3402. function QuaternionSlerp(a, b, t)
  3403. local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  3404. local startInterp, finishInterp;
  3405. if cosTheta >= 0.0001 then
  3406. if (1 - cosTheta) > 0.0001 then
  3407. local theta = ACOS(cosTheta)
  3408. local invSinTheta = 1 / SIN(theta)
  3409. startInterp = SIN((1 - t) * theta) * invSinTheta
  3410. finishInterp = SIN(t * theta) * invSinTheta
  3411. else
  3412. startInterp = 1 - t
  3413. finishInterp = t
  3414. end
  3415. else
  3416. if (1 + cosTheta) > 0.0001 then
  3417. local theta = ACOS(-cosTheta)
  3418. local invSinTheta = 1 / SIN(theta)
  3419. startInterp = SIN((t - 1) * theta) * invSinTheta
  3420. finishInterp = SIN(t * theta) * invSinTheta
  3421. else
  3422. startInterp = t - 1
  3423. finishInterp = t
  3424. end
  3425. end
  3426. 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
  3427. end
  3428.  
  3429. function Clerp(a, b, t)
  3430. local qa = {QuaternionFromCFrame(a)}
  3431. local qb = {QuaternionFromCFrame(b)}
  3432. local ax, ay, az = a.x, a.y, a.z
  3433. local bx, by, bz = b.x, b.y, b.z
  3434. local _t = 1 - t
  3435. return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  3436. end
  3437.  
  3438. function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME)
  3439. local frame = IT("Frame")
  3440. frame.BackgroundTransparency = TRANSPARENCY
  3441. frame.BorderSizePixel = BORDERSIZEPIXEL
  3442. frame.Position = POSITION
  3443. frame.Size = SIZE
  3444. frame.BackgroundColor3 = COLOR
  3445. frame.BorderColor3 = BORDERCOLOR
  3446. frame.Name = NAME
  3447. frame.Parent = PARENT
  3448. return frame
  3449. end
  3450.  
  3451. function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME)
  3452. local label = IT("TextLabel")
  3453. label.BackgroundTransparency = 1
  3454. label.Size = UD2(1, 0, 1, 0)
  3455. label.Position = UD2(0, 0, 0, 0)
  3456. label.TextColor3 = TEXTCOLOR
  3457. label.TextStrokeTransparency = STROKETRANSPARENCY
  3458. label.TextTransparency = TRANSPARENCY
  3459. label.FontSize = TEXTFONTSIZE
  3460. label.Font = TEXTFONT
  3461. label.BorderSizePixel = BORDERSIZEPIXEL
  3462. label.TextScaled = false
  3463. label.Text = TEXT
  3464. label.Name = NAME
  3465. label.Parent = PARENT
  3466. return label
  3467. end
  3468.  
  3469. function NoOutlines(PART)
  3470. PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10
  3471. end
  3472.  
  3473.  
  3474. function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
  3475. local NEWWELD = IT(TYPE)
  3476. NEWWELD.Part0 = PART0
  3477. NEWWELD.Part1 = PART1
  3478. NEWWELD.C0 = C0
  3479. NEWWELD.C1 = C1
  3480. NEWWELD.Parent = PARENT
  3481. return NEWWELD
  3482. end
  3483.  
  3484. function CreateSound(ID, PARENT, VOLUME, PITCH)
  3485. local NEWSOUND = nil
  3486. coroutine.resume(coroutine.create(function()
  3487. NEWSOUND = IT("Sound", PARENT)
  3488. NEWSOUND.Volume = VOLUME
  3489. NEWSOUND.Pitch = PITCH
  3490. NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID
  3491. Swait()
  3492. NEWSOUND:play()
  3493. game:GetService("Debris"):AddItem(NEWSOUND, 10)
  3494. end))
  3495. return NEWSOUND
  3496. end
  3497.  
  3498. function CFrameFromTopBack(at, top, back)
  3499. local right = top:Cross(back)
  3500. 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)
  3501. end
  3502.  
  3503. function MakeForm(PART,TYPE)
  3504. if TYPE == "Cyl" then
  3505. local MSH = IT("CylinderMesh",PART)
  3506. elseif TYPE == "Ball" then
  3507. local MSH = IT("SpecialMesh",PART)
  3508. MSH.MeshType = "Sphere"
  3509. elseif TYPE == "Wedge" then
  3510. local MSH = IT("SpecialMesh",PART)
  3511. MSH.MeshType = "Wedge"
  3512. end
  3513. end
  3514.  
  3515. function CheckTableForString(Table, String)
  3516. for i, v in pairs(Table) do
  3517. if string.find(string.lower(String), string.lower(v)) then
  3518. return true
  3519. end
  3520. end
  3521. return false
  3522. end
  3523.  
  3524. function CheckIntangible(Hit)
  3525. local ProjectileNames = {"Water", "Arrow", "Projectile", "Effect", "Rail", "Lightning", "Bullet"}
  3526. if Hit and Hit.Parent then
  3527. if ((not Hit.CanCollide or CheckTableForString(ProjectileNames, Hit.Name)) and not Hit.Parent:FindFirstChild("Humanoid")) then
  3528. return true
  3529. end
  3530. end
  3531. return false
  3532. end
  3533.  
  3534. Debris = game:GetService("Debris")
  3535.  
  3536. function CastZapRay(StartPos, Vec, Length, Ignore, DelayIfHit)
  3537. local Direction = CFrame.new(StartPos, Vec).lookVector
  3538. local Ignore = ((type(Ignore) == "table" and Ignore) or {Ignore})
  3539. local RayHit, RayPos, RayNormal = game:GetService("Workspace"):FindPartOnRayWithIgnoreList(Ray.new(StartPos, Direction * Length), Ignore)
  3540. if RayHit and CheckIntangible(RayHit) then
  3541. if DelayIfHit then
  3542. wait()
  3543. end
  3544. RayHit, RayPos, RayNormal = CastZapRay((RayPos + (Vec * 0.01)), Vec, (Length - ((StartPos - RayPos).magnitude)), Ignore, DelayIfHit)
  3545. end
  3546. return RayHit, RayPos, RayNormal
  3547. end
  3548.  
  3549. function turnto(position)
  3550. RootPart.CFrame=CFrame.new(RootPart.CFrame.p,VT(position.X,RootPart.Position.Y,position.Z)) * CFrame.new(0, 0, 0)
  3551. end
  3552.  
  3553. function MagicSphere(SIZE,WAIT,CFRAME,COLOR,GROW)
  3554. local wave = CreatePart(3, Effects, "Neon", 0, 0, BRICKC(COLOR), "Effect", VT(1,1,1), true)
  3555. local mesh = IT("SpecialMesh",wave)
  3556. mesh.MeshType = "Sphere"
  3557. mesh.Scale = SIZE
  3558. mesh.Offset = VT(0,0,0)
  3559. wave.CFrame = CFRAME
  3560. coroutine.resume(coroutine.create(function(PART)
  3561. for i = 1, WAIT do
  3562. Swait()
  3563. mesh.Scale = mesh.Scale + GROW
  3564. wave.Transparency = wave.Transparency + (1/WAIT)
  3565. if wave.Transparency > 0.99 then
  3566. wave:remove()
  3567. end
  3568. end
  3569. end))
  3570. end
  3571.  
  3572. function Slice(SIZE,WAIT,CFRAME,COLOR,GROW)
  3573. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(1,1,1), true)
  3574. local mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "448386996", "", VT(0,SIZE/10,SIZE/10), VT(0,0,0))
  3575. wave.CFrame = CFRAME
  3576. coroutine.resume(coroutine.create(function(PART)
  3577. for i = 1, WAIT do
  3578. Swait()
  3579. mesh.Scale = mesh.Scale * GROW
  3580. wave.Transparency = wave.Transparency + (0.5/WAIT)
  3581. if wave.Transparency > 0.99 then
  3582. wave:remove()
  3583. end
  3584. end
  3585. end))
  3586. end
  3587.  
  3588. function CreateDebreeRing(FLOOR,POSITION,SIZE,BLOCKSIZE,SWAIT)
  3589. if FLOOR ~= nil then
  3590. coroutine.resume(coroutine.create(function()
  3591. local PART = CreatePart(3, Effects, "Plastic", 0, 1, "Pearl", "DebreeCenter", VT(0,0,0))
  3592. PART.CFrame = CF(POSITION)
  3593. for i = 1, 45 do
  3594. local RingPiece = CreatePart(3, Effects, "Plastic", 0, 0, "Pearl", "DebreePart", BLOCKSIZE)
  3595. RingPiece.Material = FLOOR.Material
  3596. RingPiece.Color = FLOOR.Color
  3597. 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)))
  3598. Debris:AddItem(RingPiece,SWAIT)
  3599. end
  3600. PART:remove()
  3601. end))
  3602. end
  3603. end
  3604.  
  3605. function CreateFlyingDebree(FLOOR,POSITION,AMOUNT,BLOCKSIZE,SWAIT,STRENGTH,DOESBREAK)
  3606. if FLOOR ~= nil then
  3607. for i = 1, AMOUNT do
  3608. local DEBREE = CreatePart(3, Effects, "Neon", 0, 0, "Peal", "Debree", BLOCKSIZE, false)
  3609. DEBREE.Material = FLOOR.Material
  3610. DEBREE.Color = FLOOR.Color
  3611. DEBREE.CFrame = POSITION * ANGLES(RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360)))
  3612. DEBREE.Velocity = VT(MRANDOM(-STRENGTH,STRENGTH),MRANDOM(STRENGTH/2,STRENGTH*2),MRANDOM(-STRENGTH,STRENGTH))
  3613. coroutine.resume(coroutine.create(function()
  3614. if DOESBREAK == true then
  3615. local IMPACT = false
  3616. local Touched = DEBREE.Touched:Connect(function(hit)
  3617. if hit.CanCollide == true and hit.Parent ~= Effects and IMPACT == false then
  3618. IMPACT = true
  3619. CreateFlyingDebree(FLOOR,DEBREE.CFrame,5,DEBREE.Size/2,SWAIT,STRENGTH,false)
  3620. end
  3621. end)
  3622. end
  3623. Swait(15)
  3624. DEBREE.Parent = workspace
  3625. DEBREE.CanCollide = true
  3626. Debris:AddItem(DEBREE,SWAIT)
  3627. end))
  3628. end
  3629. end
  3630. end
  3631.  
  3632. function MagicBlock(SIZE,WAIT,CFRAME,COLOR,GROW)
  3633. local wave = CreatePart(3, Effects, "Neon", 0, 0, BRICKC(COLOR), "Effect", VT(SIZE,SIZE,SIZE), true)
  3634. local mesh = IT("BlockMesh",wave)
  3635. wave.CFrame = CFRAME * ANGLES(RAD(math.random(-360,360)),RAD(math.random(-360,360)),RAD(math.random(-360,360)))
  3636. coroutine.resume(coroutine.create(function(PART)
  3637. for i = 1, WAIT do
  3638. Swait()
  3639. mesh.Scale = mesh.Scale + GROW
  3640. wave.CFrame = CFRAME * ANGLES(RAD(math.random(-360,360)),RAD(math.random(-360,360)),RAD(math.random(-360,360)))
  3641. wave.Transparency = wave.Transparency + (1/WAIT)
  3642. if wave.Transparency > 0.99 then
  3643. wave:remove()
  3644. end
  3645. end
  3646. end))
  3647. end
  3648.  
  3649. --//=================================\\
  3650. --|| WEAPON CREATION
  3651. --\\=================================//
  3652.  
  3653. local HITFLOOR = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4 * Player_Size, Character)
  3654.  
  3655. local HandlePart = CreatePart(3, Weapon, "DiamondPlate", 0, 0, "Maroon", "MainColor", VT(1.2,1.21,1.2),false)
  3656. local Weld = CreateWeldOrSnapOrMotor("Weld", HandlePart, RightArm, HandlePart, CF(0, -0.6, 0) * ANGLES(RAD(0), RAD(90), RAD(0)), CF(0, 0, 0))
  3657. local HandlePart = CreatePart(3, Weapon, "Metal", 0, 0, "EEE", "Handle", VT(1.05,1.21,0.5),false)
  3658. HandlePart.Color = C3(0,0,0)
  3659. local Weld = CreateWeldOrSnapOrMotor("Weld", HandlePart, RightArm, HandlePart, CF(0.3, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0)), CF(0, 0, 0))
  3660.  
  3661. local HandlePart = CreatePart(3, Weapon, "DiamondPlate", 0, 0, "Really black", "MainColor", VT(1.06,1.05,0.2),false)
  3662. local Weld = CreateWeldOrSnapOrMotor("Weld", HandlePart, RightArm, HandlePart, CF(0, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0)), CF(0, 0, 0))
  3663. local HandlePart = CreatePart(3, Weapon, "DiamondPlate", 0, 0, "Really black", "MainColor", VT(1.06,0.2,0.7),false)
  3664. local Weld = CreateWeldOrSnapOrMotor("Weld", HandlePart, RightArm, HandlePart, CF(0.25, 0.6, 0) * ANGLES(RAD(0), RAD(90), RAD(0)), CF(0, 0, 0))
  3665.  
  3666. local HandlePart = CreatePart(3, Weapon, "Metal", 0, 0, "Really black", "Handle", VT(1.015,0.2,1.015),false)
  3667. local Weld = CreateWeldOrSnapOrMotor("Weld", HandlePart, RightArm, HandlePart, CF(0, -0.2, 0) * ANGLES(RAD(0), RAD(90), RAD(0)), CF(0, 0, 0))
  3668. local TelePart = CreatePart(3, Weapon, "Metal", 0, 0, "Really black", "Handle", VT(1,0.09,1),false)
  3669. local Weld = CreateWeldOrSnapOrMotor("Weld", TelePart, RightArm, TelePart, CF(0, -1.161, 0) * ANGLES(RAD(0), RAD(90), RAD(0)), CF(0, 0, 0))
  3670. MakeForm(TelePart,"Cyl")
  3671. local TelePart = CreatePart(3, Weapon, "Neon", 0, 0, "Maroon", "MainColor", VT(0.7,0.1,0.7),false)
  3672. local Weld = CreateWeldOrSnapOrMotor("Weld", TelePart, RightArm, TelePart, CF(0, -1.161, 0) * ANGLES(RAD(0), RAD(90), RAD(0)), CF(0, 0, 0))
  3673. MakeForm(TelePart,"Cyl")
  3674. local HandlePart = CreatePart(3, Weapon, "Metal", 0, 0, "Really black", "Handle", VT(1.015,0.2,1.015),false)
  3675. local Weld = CreateWeldOrSnapOrMotor("Weld", HandlePart, RightArm, HandlePart, CF(0, -1.1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)), CF(0, 0, 0))
  3676.  
  3677. local HandlePart = CreatePart(3, Weapon, "Metal", 0, 0, "Really black", "Handle", VT(0.2,1.21,0.2),false)
  3678. local Weld = CreateWeldOrSnapOrMotor("Weld", HandlePart, RightArm, HandlePart, CF(0.35, -0.2, 0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  3679. MakeForm(HandlePart,"Cyl")
  3680. local HandlePart = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Handle", VT(0.15,1.22,0),false)
  3681. local Weld = CreateWeldOrSnapOrMotor("Weld", HandlePart, RightArm, HandlePart, CF(0.35, -0.2, 0) * ANGLES(RAD(90), RAD(45), RAD(0)), CF(0, 0, 0))
  3682. local HandlePart = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Handle", VT(0.15,1.22,0),false)
  3683. local Weld = CreateWeldOrSnapOrMotor("Weld", HandlePart, RightArm, HandlePart, CF(0.35, -0.2, 0) * ANGLES(RAD(90), RAD(-45), RAD(0)), CF(0, 0, 0))
  3684.  
  3685. local HandlePart = CreatePart(3, Weapon, "Metal", 0, 0, "Really black", "Handle", VT(0.2,1.21,0.2),false)
  3686. local Weld = CreateWeldOrSnapOrMotor("Weld", HandlePart, RightArm, HandlePart, CF(-0.35, -0.2, 0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  3687. MakeForm(HandlePart,"Cyl")
  3688. local HandlePart = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Handle", VT(0.15,1.22,0),false)
  3689. local Weld = CreateWeldOrSnapOrMotor("Weld", HandlePart, RightArm, HandlePart, CF(-0.35, -0.2, 0) * ANGLES(RAD(90), RAD(45), RAD(0)), CF(0, 0, 0))
  3690. local HandlePart = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Handle", VT(0.15,1.22,0),false)
  3691. local Weld = CreateWeldOrSnapOrMotor("Weld", HandlePart, RightArm, HandlePart, CF(-0.35, -0.2, 0) * ANGLES(RAD(90), RAD(-45), RAD(0)), CF(0, 0, 0))
  3692.  
  3693. local HandlePart = CreatePart(3, Weapon, "Metal", 0, 0, "Really black", "Handle", VT(0.2,1.21,0.2),false)
  3694. local Weld = CreateWeldOrSnapOrMotor("Weld", HandlePart, RightArm, HandlePart, CF(0.35, -1, 0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  3695. MakeForm(HandlePart,"Cyl")
  3696. local HandlePart = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Handle", VT(0.15,1.22,0),false)
  3697. local Weld = CreateWeldOrSnapOrMotor("Weld", HandlePart, RightArm, HandlePart, CF(0.35, -1, 0) * ANGLES(RAD(90), RAD(45), RAD(0)), CF(0, 0, 0))
  3698. local HandlePart = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Handle", VT(0.15,1.22,0),false)
  3699. local Weld = CreateWeldOrSnapOrMotor("Weld", HandlePart, RightArm, HandlePart, CF(0.35, -1, 0) * ANGLES(RAD(90), RAD(-45), RAD(0)), CF(0, 0, 0))
  3700.  
  3701. local HandlePart = CreatePart(3, Weapon, "Metal", 0, 0, "Really black", "Handle", VT(0.2,1.21,0.2),false)
  3702. local Weld = CreateWeldOrSnapOrMotor("Weld", HandlePart, RightArm, HandlePart, CF(-0.35, -1, 0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  3703. MakeForm(HandlePart,"Cyl")
  3704. local HandlePart = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Handle", VT(0.15,1.22,0),false)
  3705. local Weld = CreateWeldOrSnapOrMotor("Weld", HandlePart, RightArm, HandlePart, CF(-0.35, -1, 0) * ANGLES(RAD(90), RAD(45), RAD(0)), CF(0, 0, 0))
  3706. local HandlePart = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Handle", VT(0.15,1.22,0),false)
  3707. local Weld = CreateWeldOrSnapOrMotor("Weld", HandlePart, RightArm, HandlePart, CF(-0.35, -1, 0) * ANGLES(RAD(90), RAD(-45), RAD(0)), CF(0, 0, 0))
  3708.  
  3709. local HandlePart = CreatePart(3, Weapon, "Metal", 0, 0, "Really black", "Handle", VT(0.4,0.4,0.4),false)
  3710. 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))
  3711. MakeForm(HandlePart,"Ball")
  3712. local FingerPart = CreatePart(3, Weapon, "DiamondPlate", 0, 0, "Really black", "Handle", VT(0.25,0.2,0.25),false)
  3713. 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))
  3714. MakeForm(FingerPart,"Cyl")
  3715. Weld.Name = "FingerJoint"
  3716. local Part = CreatePart(3, Weapon, "DiamondPlate", 0, 0, "Really black", "MainColor", VT(0.26,0.3,0.26),false)
  3717. local Weld = CreateWeldOrSnapOrMotor("Weld", Part, FingerPart, Part, CF(0,-0.15,0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  3718. MakeForm(Part,"Cyl")
  3719. local Part = CreatePart(3, Weapon, "DiamondPlate", 0, 0, "Really black", "MainColor", VT(0.26,0.2,0.26),false)
  3720. local Weld = CreateWeldOrSnapOrMotor("Weld", Part, FingerPart, Part, CF(0,0.15,0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  3721. MakeForm(Part,"Cyl")
  3722.  
  3723. local HandlePart = CreatePart(3, Weapon, "Metal", 0, 0, "Really black", "Handle", VT(0.4,0.4,0.4),false)
  3724. 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))
  3725. MakeForm(HandlePart,"Ball")
  3726. local FingerPart = CreatePart(3, Weapon, "DiamondPlate", 0, 0, "Really black", "Handle", VT(0.25,0.2,0.25),false)
  3727. 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))
  3728. MakeForm(FingerPart,"Cyl")
  3729. Weld.Name = "FingerJoint"
  3730. local Part = CreatePart(3, Weapon, "DiamondPlate", 0, 0, "Really black", "MainColor", VT(0.26,0.3,0.26),false)
  3731. local Weld = CreateWeldOrSnapOrMotor("Weld", Part, FingerPart, Part, CF(0,-0.15,0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  3732. MakeForm(Part,"Cyl")
  3733. local Part = CreatePart(3, Weapon, "DiamondPlate", 0, 0, "Really black", "MainColor", VT(0.26,0.2,0.26),false)
  3734. local Weld = CreateWeldOrSnapOrMotor("Weld", Part, FingerPart, Part, CF(0,0.15,0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  3735. MakeForm(Part,"Cyl")
  3736.  
  3737. local HandlePart = CreatePart(3, Weapon, "Metal", 0, 0, "Really black", "Handle", VT(0.4,0.4,0.4),false)
  3738. 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))
  3739. MakeForm(HandlePart,"Ball")
  3740. local FingerPart = CreatePart(3, Weapon, "DiamondPlate", 0, 0, "Really black", "Handle", VT(0.25,0.25,0.25),false)
  3741. 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))
  3742. MakeForm(FingerPart,"Cyl")
  3743. Weld.Name = "FingerJoint"
  3744. local Part = CreatePart(3, Weapon, "DiamondPlate", 0, 0, "Really black", "MainColor", VT(0.26,0.3,0.26),false)
  3745. local Weld = CreateWeldOrSnapOrMotor("Weld", Part, FingerPart, Part, CF(0,-0.15,0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  3746. MakeForm(Part,"Cyl")
  3747. local Part = CreatePart(3, Weapon, "DiamondPlate", 0, 0, "Really black", "MainColor", VT(0.26,0.25,0.26),false)
  3748. local Weld = CreateWeldOrSnapOrMotor("Weld", Part, FingerPart, Part, CF(0,0.15,0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  3749. MakeForm(Part,"Cyl")
  3750.  
  3751. local HandlePart = CreatePart(3, Weapon, "Metal", 0, 0, "Really black", "Handle", VT(0.4,0.4,0.4),false)
  3752. 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))
  3753. MakeForm(HandlePart,"Ball")
  3754. local FingerPart = CreatePart(3, Weapon, "DiamondPlate", 0, 0, "Really black", "Handle", VT(0.25,0.25,0.25),false)
  3755. 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))
  3756. MakeForm(FingerPart,"Cyl")
  3757. Weld.Name = "FingerJoint2"
  3758. local Part = CreatePart(3, Weapon, "DiamondPlate", 0, 0, "Really black", "MainColor", VT(0.26,0.3,0.26),false)
  3759. local Weld = CreateWeldOrSnapOrMotor("Weld", Part, FingerPart, Part, CF(0,-0.15,0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  3760. MakeForm(Part,"Cyl")
  3761. local Part = CreatePart(3, Weapon, "DiamondPlate", 0, 0, "Really black", "MainColor", VT(0.26,0.25,0.26),false)
  3762. local Weld = CreateWeldOrSnapOrMotor("Weld", Part, FingerPart, Part, CF(0,0.15,0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  3763. MakeForm(Part,"Cyl")
  3764.  
  3765. local HandlePart = CreatePart(3, Weapon, "Metal", 0, 0, "Really black", "Handle", VT(0.3,0.4,0.3),false)
  3766. 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))
  3767.  
  3768. local HandlePart = CreatePart(3, Weapon, "Metal", 0, 0, "Really black", "Handle", VT(0.3,0.4,0.3),false)
  3769. 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))
  3770.  
  3771. local HandlePart = CreatePart(3, Weapon, "Metal", 0, 0, "Really black", "Handle", VT(0.3,0.4,0.3),false)
  3772. 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))
  3773.  
  3774. local HandlePart = CreatePart(3, Weapon, "Metal", 0, 0, "Really black", "Handle", VT(0.3,0.4,0.3),false)
  3775. 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))
  3776.  
  3777. for _, c in pairs(Weapon:GetChildren()) do
  3778. if c.ClassName == "Part" then
  3779. c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  3780. end
  3781. end
  3782.  
  3783. Weapon.Parent = Character
  3784.  
  3785. Humanoid.Died:connect(function()
  3786. ATTACK = true
  3787. end)
  3788.  
  3789. 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")
  3790. 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")
  3791. 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")
  3792. 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")
  3793.  
  3794. local SKILL1TEXT = CreateLabel(SKILL1FRAME, "[Z] Telekenesis", SKILLTEXTCOLOR, 7, "SciFi", 0, 2, 0.5, "Text 1")
  3795. local SKILL2TEXT = CreateLabel(SKILL2FRAME, "[B] Rock Chuck", SKILLTEXTCOLOR, 7, "SciFi", 0, 2, 0.5, "Text 2")
  3796. local SKILL3TEXT = CreateLabel(SKILL3FRAME, "[C] Inner Crusher", SKILLTEXTCOLOR, 7, "SciFi", 0, 2, 0.5, "Text 3")
  3797. local SKILL4TEXT = CreateLabel(SKILL4FRAME, "[X] Meteor", SKILLTEXTCOLOR, 7, "SciFi", 0, 2, 0.5, "Text 4")
  3798.  
  3799. --//=================================\\
  3800. --|| DAMAGE FUNCTIONS
  3801. --\\=================================//
  3802.  
  3803. function StatLabel(LABELTYPE, CFRAME, TEXT, COLOR)
  3804. local STATPART = CreatePart(3, Effects, "SmoothPlastic", 0, 1, "Really black", "Effect", VT())
  3805. STATPART.CFrame = CF(CFRAME.p + VT(0, 1.5, 0))
  3806. local BODYGYRO = IT("BodyGyro", STATPART)
  3807. local BODYPOSITION = IT("BodyPosition", STATPART)
  3808. BODYPOSITION.P = 2000
  3809. BODYPOSITION.D = 100
  3810. BODYPOSITION.maxForce = VT(math.huge, math.huge, math.huge)
  3811. BODYPOSITION.position = STATPART.Position + VT(MRANDOM(-2, 2), 6, MRANDOM(-2, 2))
  3812. game:GetService("Debris"):AddItem(STATPART ,5)
  3813. local BILLBOARDGUI = Instance.new("BillboardGui", STATPART)
  3814. BILLBOARDGUI.Adornee = STATPART
  3815. BILLBOARDGUI.Size = UD2(2.5, 0, 2.5 ,0)
  3816. BILLBOARDGUI.StudsOffset = VT(-2, 2, 0)
  3817. BILLBOARDGUI.AlwaysOnTop = false
  3818. local TEXTLABEL = Instance.new("TextLabel", BILLBOARDGUI)
  3819. TEXTLABEL.BackgroundTransparency = 1
  3820. TEXTLABEL.Size = UD2(2.5, 0, 2.5, 0)
  3821. TEXTLABEL.Text = TEXT
  3822. TEXTLABEL.Font = "SciFi"
  3823. TEXTLABEL.FontSize="Size42"
  3824. TEXTLABEL.TextColor3 = COLOR
  3825. TEXTLABEL.TextStrokeTransparency = 1
  3826. TEXTLABEL.TextScaled = true
  3827. TEXTLABEL.TextWrapped = true
  3828. coroutine.resume(coroutine.create(function(THEPART, THEBODYPOSITION, THETEXTLABEL)
  3829. if LABELTYPE == "Normal" then
  3830. for i = 1, 30 do
  3831. Swait()
  3832. STATPART.Position = STATPART.Position + VT(0, (15-i)/10 ,0)
  3833. TEXTLABEL.TextTransparency = TEXTLABEL.TextTransparency + (1/30)
  3834. end
  3835. elseif LABELTYPE == "Debuff" then
  3836. for i = 1, 30 do
  3837. Swait()
  3838. STATPART.Position = STATPART.Position - VT(0, i/10 ,0)
  3839. TEXTLABEL.TextTransparency = TEXTLABEL.TextTransparency + (1/30)
  3840. end
  3841. elseif LABELTYPE == "Shock" then
  3842. local ORIGIN = STATPART.Position
  3843. for i = 1, 30 do
  3844. Swait()
  3845. STATPART.Position = ORIGIN + VT(MRANDOM(-2,2),MRANDOM(-2,2),MRANDOM(-2,2))
  3846. TEXTLABEL.TextTransparency = TEXTLABEL.TextTransparency + (1/30)
  3847. end
  3848. end
  3849. THEPART.Parent = nil
  3850. end),STATPART, BODYPOSITION, TEXTLABEL)
  3851. end
  3852.  
  3853. --//=================================\\
  3854. --|| DAMAGING
  3855. --\\=================================//
  3856.  
  3857. function ApplyDamage(Humanoid,Damage,CritRate,CritMultiplier)
  3858. local defence = Instance.new("BoolValue",Humanoid.Parent)
  3859. defence.Name = ("HitBy"..Player.Name)
  3860. game:GetService("Debris"):AddItem(defence, 0.001)
  3861. if Humanoid.Health ~= 0 then
  3862. local CritChance = MRANDOM(1,100)
  3863. if CritChance < CritRate + 1 then
  3864. Damage = Damage*CritMultiplier
  3865. end
  3866. if Damage > Humanoid.Health then
  3867. Damage = math.ceil(Humanoid.Health)
  3868. if Damage == 0 then
  3869. Damage = 0.1
  3870. end
  3871. end
  3872. Humanoid.Health = Humanoid.Health - Damage
  3873. if Humanoid.Parent:FindFirstChild("Head") then
  3874. if CritChance < CritRate + 1 then
  3875. StatLabel("Normal", Humanoid.Parent.Head.CFrame * CF(0, 0 + (Humanoid.Parent.Head.Size.z - 1), 0), "CRIT//"..Damage, C3(1, 0, 0))
  3876. else
  3877. StatLabel("Normal", Humanoid.Parent.Head.CFrame * CF(0, 0 + (Humanoid.Parent.Head.Size.z - 1), 0), Damage, C3(0, 0, 0))
  3878. end
  3879. end
  3880. end
  3881. end
  3882.  
  3883. function AoEDamage(position,radius,min,max,maxstrength,critrate,critmultiplier,CanBeDodgedByJumping)
  3884. local dmg = math.random(min,max)
  3885. for i,v in ipairs(workspace:GetChildren()) do
  3886. if v:FindFirstChild("HitBy"..Player.Name) == nil then
  3887. local body = v:GetChildren()
  3888. for part = 1, #body do
  3889. if(v:FindFirstChild("HitBy"..Player.Name) == nil and (body[part].ClassName == "Part" or body[part].ClassName == "MeshPart") and v ~= Character) then
  3890. if(body[part].Position - position).Magnitude < radius then
  3891. if v.ClassName == "Model" then
  3892. if v:FindFirstChildOfClass("Humanoid") then
  3893. if CanBeDodgedByJumping == true then
  3894. if body[part].Position.Y < position.Y+5 then
  3895. ApplyDamage(v:FindFirstChildOfClass("Humanoid"),dmg,critrate,critmultiplier)
  3896. end
  3897. else
  3898. ApplyDamage(v:FindFirstChildOfClass("Humanoid"),dmg,critrate,critmultiplier)
  3899. end
  3900. local bv = Instance.new("BodyVelocity")
  3901. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  3902. bv.velocity = RootPart.CFrame.lookVector*maxstrength
  3903. bv.Parent = body[part]
  3904. Debris:AddItem(bv,0.2)
  3905. end
  3906. end
  3907. end
  3908. end
  3909. end
  3910. end
  3911. if v:FindFirstChild("HitBy"..Player.Name) then
  3912. v:FindFirstChild("HitBy"..Player.Name):remove()
  3913. end
  3914. end
  3915. end
  3916.  
  3917. --//=================================\\
  3918. --|| ATTACK FUNCTIONS AND STUFF
  3919. --\\=================================//
  3920.  
  3921. function CastProperRay(StartPos, Vec, Length, Ignore)
  3922. local Direction = CFrame.new(StartPos, Vec).lookVector
  3923. local Ignore = ((type(Ignore) == "table" and Ignore) or {Ignore})
  3924. local RayHit, RayPos, RayNormal = game:GetService("Workspace"):FindPartOnRayWithIgnoreList(Ray.new(StartPos, Direction * Length), Ignore)
  3925. return RayHit, RayPos, RayNormal
  3926. end
  3927.  
  3928. local PARTICLES = IT("ParticleEmitter")
  3929.  
  3930. function particles(art)
  3931. local EyeSizes={
  3932. NumberSequenceKeypoint.new(0,0,0),
  3933. NumberSequenceKeypoint.new(1,1*FORM,0)
  3934. }
  3935. local EyeTrans={
  3936. NumberSequenceKeypoint.new(0,0.5,0),
  3937. NumberSequenceKeypoint.new(1,1,0)
  3938. }
  3939. local PE=PARTICLES:Clone()
  3940. PE.Parent = art
  3941. PE.LightEmission=.3
  3942. PE.Color = ColorSequence.new(SKILLTEXTCOLOR)
  3943. PE.Size=NumberSequence.new(EyeSizes)
  3944. PE.Transparency=NumberSequence.new(EyeTrans)
  3945. PE.Lifetime=NumberRange.new(0.35,0.35,0.35)
  3946. PE.Rotation=NumberRange.new(0,360)
  3947. PE.Rate=999
  3948. PE.VelocitySpread = 10000
  3949. PE.LockedToPart = true
  3950. PE.Drag = 5
  3951. PE.Speed = NumberRange.new(0,0,0)
  3952. PE.Texture="http://www.roblox.com/asset/?id=1351966707"
  3953. PE.ZOffset = -1.5
  3954. PE.Name = "PE"
  3955. end
  3956.  
  3957. function AttackTemplate()
  3958. ATTACK = true
  3959. Rooted = false
  3960. for i=0, 1, 0.1 / Animation_Speed do
  3961. Swait()
  3962. 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)
  3963. 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)
  3964. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  3965. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  3966. 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)
  3967. 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)
  3968. end
  3969. ATTACK = false
  3970. Rooted = false
  3971. end
  3972.  
  3973. function Telekenesis()
  3974. if Mouse.Target ~= nil then
  3975. if Mouse.Target.Anchored == false then
  3976. local TELEPART = Mouse.Target
  3977. local grav = Instance.new("BodyPosition",TELEPART)
  3978. grav.P = 20000
  3979. grav.maxForce = Vector3.new(math.huge,math.huge,math.huge)
  3980. grav.Name = "GravityForce"
  3981. local DIST = (RootPart.Position - TELEPART.Position).Magnitude
  3982. ATTACK = true
  3983. Rooted = true
  3984. VALUE1 = true
  3985. FINGERWORK = true
  3986. local AUTOBREAK = false
  3987. CreateSound(PEWSOUND[MRANDOM(1,#PEWSOUND)], RightArm, 5, 1)
  3988. repeat
  3989. Swait()
  3990. local HEIGHT = (TELEPART.Position.Y - RightArm.Position.Y)
  3991. turnto(Mouse.Hit.p)
  3992. local RayHit,RayPos = CastProperRay(HandlePart.Position, Mouse.Hit.p, DIST, Character)
  3993. grav.position = RayPos
  3994. MagicSphere(VT(0.3,0.3,0.3),5,TelePart.CFrame,SKILLTEXTCOLOR,VT(-0.3,-0.3,-0.3)/5)
  3995. 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)
  3996. 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)
  3997. 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)
  3998. 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)
  3999. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  4000. 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)
  4001. 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)
  4002. if KEY ~= nil then
  4003. if KEY == "b" then
  4004. DIST = DIST - 10
  4005. elseif KEY == "c" then
  4006. DIST = DIST + 10
  4007. elseif KEY == "x" then
  4008. AUTOBREAK = true
  4009. for i=0, 2, 0.1 / Animation_Speed do
  4010. Swait()
  4011. MagicSphere(VT(0.3,0.3,0.3),5,TelePart.CFrame,SKILLTEXTCOLOR,VT(-0.3,-0.3,-0.3)/5)
  4012. 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)
  4013. 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)
  4014. 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)
  4015. 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)
  4016. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  4017. 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)
  4018. 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)
  4019. end
  4020. for i=0, 0.2, 0.1 / Animation_Speed do
  4021. Swait()
  4022. MagicSphere(VT(0.3,0.3,0.3),5,TelePart.CFrame,SKILLTEXTCOLOR,VT(-0.3,-0.3,-0.3)/5)
  4023. 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)
  4024. 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)
  4025. 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)
  4026. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.5, -0.5) * ANGLES(RAD(90+(HEIGHT)), RAD(0), RAD(45)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  4027. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 2 / Animation_Speed)
  4028. 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)
  4029. 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)
  4030. end
  4031. MagicBlock(1,15,RightArm.CFrame*CF(0,-1.2,0),SKILLTEXTCOLOR,VT(0.2,0.2,0.2))
  4032. CreateSound("907532865", RightArm, 5, 1)
  4033. grav:remove()
  4034. local bv = Instance.new("BodyVelocity")
  4035. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  4036. bv.velocity = CF(RootPart.Position,TELEPART.Position).lookVector*1500*FORM
  4037. bv.Parent = TELEPART
  4038. bv.Name = "MOVE"
  4039. Debris:AddItem(bv,0.1)
  4040. local Touched = Part.Touched:Connect(function(hit)
  4041. if hit.CanCollide == true then
  4042. if hit.Parent:FindFirstChildOfClass("Humanoid") and hit.Parent ~= Character then
  4043. ApplyDamage(hit.Parent:FindFirstChildOfClass("Humanoid"),MRANDOM(3,7)*FORM,2,2)
  4044. end
  4045. end
  4046. end)
  4047. coroutine.resume(coroutine.create(function()
  4048. Swait(250)
  4049. Touched:disconnect()
  4050. end))
  4051. for i=0, 0.8, 0.1 / Animation_Speed do
  4052. Swait()
  4053. 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)
  4054. 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)
  4055. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.5, -0.5) * ANGLES(RAD(90+(HEIGHT)), RAD(0), RAD(45)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  4056. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 2 / Animation_Speed)
  4057. 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)
  4058. 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)
  4059. end
  4060. elseif KEY == "z" then
  4061. AUTOBREAK = true
  4062. end
  4063. KEY = nil
  4064. end
  4065. until AUTOBREAK == true
  4066. if TELEPART ~= nil then
  4067. grav:remove()
  4068. end
  4069. ATTACK = false
  4070. Rooted = false
  4071. VALUE1 = false
  4072. FINGERWORK = false
  4073. end
  4074. end
  4075. end
  4076.  
  4077. function RockChuck()
  4078. if HITFLOOR ~= nil then
  4079. ATTACK = true
  4080. Rooted = true
  4081. FINGERWORK = true
  4082. local ROCKS = {}
  4083. for i=0, 1, 0.1 / Animation_Speed do
  4084. Swait()
  4085. turnto(Mouse.Hit.p)
  4086. MagicSphere(VT(0.3,0.3,0.3),5,TelePart.CFrame,SKILLTEXTCOLOR,VT(-0.3,-0.3,-0.3)/5)
  4087. 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)
  4088. 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)
  4089. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.75, 0) * ANGLES(RAD(170), RAD(25), RAD(-15)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  4090. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  4091. 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)
  4092. 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)
  4093. end
  4094. CreateSound(PEWSOUND[MRANDOM(1,#PEWSOUND)], RightArm, 5, 1)
  4095. for i = 1, FORM*4 do
  4096. local ROCK = CreatePart(3, Effects, "Metal", 0, 0, "Really black", "Handle", VT(1.5,1.5,1.5)*FORM, false)
  4097. ROCK.Material = HITFLOOR.Material
  4098. ROCK.Color = HITFLOOR.Color
  4099. particles(ROCK)
  4100. 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)))
  4101. local grav = Instance.new("BodyPosition",ROCK)
  4102. grav.P = 20000
  4103. grav.maxForce = Vector3.new(math.huge,math.huge,math.huge)
  4104. grav.Name = "F"
  4105. grav.Position = ROCK.Position + VT(0,MRANDOM(15,25),0)
  4106. table.insert(ROCKS,ROCK)
  4107. end
  4108. for i=0, 1, 0.1 / Animation_Speed do
  4109. Swait()
  4110. turnto(Mouse.Hit.p)
  4111. MagicSphere(VT(0.5,0.5,0.5),5,TelePart.CFrame,SKILLTEXTCOLOR,VT(-0.5,-0.5,-0.5)/5)
  4112. 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)
  4113. 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)
  4114. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.75, 0) * ANGLES(RAD(170), RAD(25), RAD(-15)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  4115. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  4116. 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)
  4117. 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)
  4118. end
  4119. for i=0, 0.2, 0.1 / Animation_Speed do
  4120. Swait()
  4121. turnto(Mouse.Hit.p)
  4122. MagicSphere(VT(0.5,0.5,0.5),5,TelePart.CFrame,SKILLTEXTCOLOR,VT(-0.5,-0.5,-0.5)/5)
  4123. 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)
  4124. 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)
  4125. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.5, -0.5) * ANGLES(RAD(90), RAD(25), RAD(0)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  4126. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  4127. 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)
  4128. 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)
  4129. end
  4130. for e=1,#ROCKS do
  4131. for i = 1, 5 do
  4132. turnto(Mouse.Hit.p)
  4133. MagicSphere(VT(0.5,0.5,0.5),5,TelePart.CFrame,SKILLTEXTCOLOR,VT(-0.5,-0.5,-0.5)/5)
  4134. 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)
  4135. Swait()
  4136. end
  4137. if ROCKS[e]~=nil then
  4138. local Thing=ROCKS[e]
  4139. if Thing~=nil then
  4140. local Part=Thing
  4141. for i=0, 0.3, 0.1 / Animation_Speed do
  4142. Swait()
  4143. MagicSphere(VT(0.3,0.3,0.3),5,TelePart.CFrame,SKILLTEXTCOLOR,VT(-0.3,-0.3,-0.3)/5)
  4144. --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)
  4145. 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)
  4146. 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)
  4147. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.5, -0.5) * ANGLES(RAD(90), RAD(0), RAD(-45)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  4148. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  4149. 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)
  4150. 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)
  4151. end
  4152. for i=0, 0.2, 0.1 / Animation_Speed do
  4153. Swait()
  4154. MagicSphere(VT(0.3,0.3,0.3),5,TelePart.CFrame,SKILLTEXTCOLOR,VT(-0.3,-0.3,-0.3)/5)
  4155. --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)
  4156. 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)
  4157. 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)
  4158. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.5, -0.5) * ANGLES(RAD(90), RAD(0), RAD(45)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  4159. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 2 / Animation_Speed)
  4160. 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)
  4161. 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)
  4162. end
  4163. CreateSound("907532865", RightArm, 5, 1)
  4164. MagicBlock(1,15,RightArm.CFrame*CF(0,-1.2,0),SKILLTEXTCOLOR,VT(0.2,0.2,0.2))
  4165. Part.F:remove()
  4166. Part.CanCollide = true
  4167. local bv = Instance.new("BodyVelocity")
  4168. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  4169. bv.velocity = CF(Part.Position,Mouse.Hit.p).lookVector*500*FORM
  4170. bv.Parent = Part
  4171. bv.Name = "MOVE"
  4172. Debris:AddItem(bv,0.1)
  4173. local Touched = Part.Touched:Connect(function(hit)
  4174. if hit.CanCollide == true then
  4175. CreateFlyingDebree(Part,Part.CFrame,5,(Part.Size/5)*FORM,2,15)
  4176. Part:remove()
  4177. if hit.Parent:FindFirstChildOfClass("Humanoid") and hit.Parent ~= Character then
  4178. ApplyDamage(hit.Parent:FindFirstChildOfClass("Humanoid"),MRANDOM(15,25)*FORM,2,2)
  4179. end
  4180. end
  4181. end)
  4182. end
  4183. end
  4184. end
  4185. FINGERWORK = false
  4186. ATTACK = false
  4187. Rooted = false
  4188. end
  4189. end
  4190.  
  4191. local asd = Instance.new("ParticleEmitter")
  4192. asd.Color = ColorSequence.new(Color3.new(1, 0, 0), Color3.new(.5, 0, 0))
  4193. asd.LightEmission = .1
  4194. asd.Size = NumberSequence.new(0.2)
  4195. asd.Texture = "http://www.roblox.com/asset/?ID=291880914"
  4196. aaa = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.2),NumberSequenceKeypoint.new(1, 5)})
  4197. bbb = NumberSequence.new({NumberSequenceKeypoint.new(0, 1),NumberSequenceKeypoint.new(0.0636, 0), NumberSequenceKeypoint.new(1, 1)})
  4198. asd.Transparency = bbb
  4199. asd.Size = aaa
  4200. asd.ZOffset = .9
  4201. asd.Acceleration = Vector3.new(0, -5, 0)
  4202. asd.LockedToPart = false
  4203. asd.EmissionDirection = "Back"
  4204. asd.Lifetime = NumberRange.new(1, 2)
  4205. asd.Rotation = NumberRange.new(-100, 100)
  4206. asd.RotSpeed = NumberRange.new(-100, 100)
  4207. asd.Speed = NumberRange.new(2)
  4208. asd.Enabled = false
  4209. asd.VelocitySpread = 10000
  4210.  
  4211. function getbloody(victim,amount)
  4212. local prtcl = asd:Clone()
  4213. prtcl.Parent = victim
  4214. prtcl:Emit(amount)
  4215. Debris:AddItem(prtcl,5)
  4216. end
  4217.  
  4218. function InnerCrusher()
  4219. if Mouse.Target ~= nil then
  4220. if Mouse.Target.Anchored == false then
  4221. if Mouse.Target.Parent:FindFirstChildOfClass("Humanoid") then
  4222. local HUMAN = Mouse.Target.Parent:FindFirstChildOfClass("Humanoid")
  4223. local TELEPART = Mouse.Target
  4224. local grav = Instance.new("BodyPosition",TELEPART)
  4225. grav.P = 20000
  4226. grav.maxForce = Vector3.new(math.huge,math.huge,math.huge)
  4227. grav.Name = "GravityForce"
  4228. local DIST = (RootPart.Position - TELEPART.Position).Magnitude
  4229. ATTACK = true
  4230. Rooted = true
  4231. FINGERWORK = true
  4232. local AUTOBREAK = false
  4233. CreateSound(PEWSOUND[MRANDOM(1,#PEWSOUND)], RightArm, 5, 1)
  4234. for i = 1, 150 do
  4235. Swait()
  4236. local HEIGHT = (TELEPART.Position.Y - RightArm.Position.Y)
  4237. turnto(TELEPART.Position)
  4238. grav.Position = TELEPART.Position + VT(0,2,0)
  4239. MagicSphere(VT(0.3,0.3,0.3),5,TelePart.CFrame,SKILLTEXTCOLOR,VT(-0.3,-0.3,-0.3)/5)
  4240. 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)
  4241. 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)
  4242. 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)
  4243. 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)
  4244. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  4245. 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)
  4246. 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)
  4247. end
  4248. for i = 1, 50 do
  4249. Swait()
  4250. local HEIGHT = (TELEPART.Position.Y - RightArm.Position.Y)
  4251. turnto(TELEPART.Position)
  4252. MagicSphere(VT(0.3,0.3,0.3),5,TelePart.CFrame,SKILLTEXTCOLOR,VT(-0.3,-0.3,-0.3)/5)
  4253. 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)
  4254. 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)
  4255. 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)
  4256. 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)
  4257. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  4258. 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)
  4259. 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)
  4260. end
  4261. FINGERWORK = false
  4262. for i = 1, 50 do
  4263. Swait()
  4264. ApplyDamage(HUMAN,MRANDOM(1,2),2,2)
  4265. if MRANDOM(1,5) == 1 then
  4266. CreateSound(HITPLAYERSOUNDS[MRANDOM(1, #HITPLAYERSOUNDS)], TELEPART, 1, (math.random(8,12)/10))
  4267. end
  4268. local HEIGHT = (TELEPART.Position.Y - RightArm.Position.Y)
  4269. turnto(TELEPART.Position)
  4270. getbloody(TELEPART,5)
  4271. MagicSphere(VT(0.3,0.3,0.3),5,TelePart.CFrame,SKILLTEXTCOLOR,VT(-0.3,-0.3,-0.3)/5)
  4272. 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)
  4273. 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)
  4274. 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)
  4275. 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)
  4276. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  4277. 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)
  4278. 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)
  4279. end
  4280. TELEPART.Velocity = VT(0,0,0)
  4281. ATTACK = false
  4282. Rooted = false
  4283. grav:remove()
  4284. FINGERWORK = false
  4285. end
  4286. end
  4287. end
  4288. end
  4289.  
  4290. function Meteor()
  4291. ATTACK = true
  4292. Rooted = false
  4293. FINGERWORK = true
  4294. local ROCKS = {}
  4295. for i=0, 1, 0.1 / Animation_Speed do
  4296. Swait()
  4297. turnto(Mouse.Hit.p)
  4298. MagicSphere(VT(0.3,0.3,0.3),5,TelePart.CFrame,SKILLTEXTCOLOR,VT(-0.3,-0.3,-0.3)/5)
  4299. 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)
  4300. 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)
  4301. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.75, 0) * ANGLES(RAD(170), RAD(25), RAD(-15)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  4302. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  4303. 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)
  4304. 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)
  4305. end
  4306. for i = 1, FORM do
  4307. local ROCK = CreatePart(3, Effects, "Granite", 0, 0, "Dark stone grey", "Handle", VT(25,25,25))
  4308. particles(ROCK)
  4309. local FIRE = IT("Fire",ROCK)
  4310. FIRE.Size = 60
  4311. FIRE.Heat = 0
  4312. FIRE.SecondaryColor = C3(0,0,0)
  4313. 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)))
  4314. ROCK.CanCollide = true
  4315. table.insert(ROCKS,ROCK)
  4316. end
  4317. CreateSound(PEWSOUND[MRANDOM(1,#PEWSOUND)], RightArm, 5, 1)
  4318. for i = 1, 50 do
  4319. Swait()
  4320. turnto(Mouse.Hit.p)
  4321. MagicSphere(VT(0.3,0.3,0.3),5,TelePart.CFrame,SKILLTEXTCOLOR,VT(-0.3,-0.3,-0.3)/5)
  4322. 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)
  4323. end
  4324. for e=1,#ROCKS do
  4325. for i = 1, 5 do
  4326. turnto(Mouse.Hit.p)
  4327. MagicSphere(VT(0.5,0.5,0.5),5,TelePart.CFrame,SKILLTEXTCOLOR,VT(-0.5,-0.5,-0.5)/5)
  4328. 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)
  4329. Swait()
  4330. end
  4331. if ROCKS[e]~=nil then
  4332. local Thing=ROCKS[e]
  4333. if Thing~=nil then
  4334. local Part=Thing
  4335. repeat
  4336. Swait()
  4337. turnto(Mouse.Hit.p)
  4338. MagicSphere(VT(0.3,0.3,0.3),5,TelePart.CFrame,SKILLTEXTCOLOR,VT(-0.3,-0.3,-0.3)/5)
  4339. 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)
  4340. 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)
  4341. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.75, 0) * ANGLES(RAD(170), RAD(25), RAD(-15)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  4342. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  4343. 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)
  4344. 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)
  4345. until HOLD == true
  4346. for i=0, 0.3, 0.1 / Animation_Speed do
  4347. Swait()
  4348. turnto(Mouse.Hit.p)
  4349. MagicSphere(VT(0.3,0.3,0.3),5,TelePart.CFrame,SKILLTEXTCOLOR,VT(-0.3,-0.3,-0.3)/5)
  4350. 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)
  4351. 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)
  4352. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.75, 0) * ANGLES(RAD(25), RAD(90), RAD(-15)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  4353. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 2 / Animation_Speed)
  4354. 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)
  4355. 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)
  4356. end
  4357. CreateSound("907532865", RightArm, 5, 1)
  4358. MagicBlock(1,15,RightArm.CFrame*CF(0,-1.2,0),SKILLTEXTCOLOR,VT(0.2,0.2,0.2))
  4359. Part.Anchored = false
  4360. local bv = Instance.new("BodyVelocity")
  4361. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  4362. bv.velocity = CF(Part.Position,Mouse.Hit.p).lookVector*300*FORM
  4363. bv.Parent = Part
  4364. bv.Name = "MOVE"
  4365. Debris:AddItem(bv,0.1)
  4366. local IMPACT = false
  4367. local Touched = Part.Touched:Connect(function(hit)
  4368. if hit.CanCollide == true and IMPACT == false then
  4369. IMPACT = true
  4370. Part.PE.Enabled = false
  4371. CreateFlyingDebree(Part,Part.CFrame,5,(Part.Size/2),2,65,true)
  4372. Part.Transparency = 1
  4373. Part.Anchored = true
  4374. Part.CanCollide = false
  4375. Part.Fire.Enabled = false
  4376. Debris:AddItem(Part,5)
  4377. MagicSphere(Part.Size,15,Part.CFrame,"CGA brown",Part.Size)
  4378. MagicSphere(Part.Size,15,Part.CFrame,"Deep orange",Part.Size/1.8)
  4379. CreateSound("144699494", Part, 5, 1)
  4380. local FLOOR, HITPOS = Raycast(Part.Position, (CF(Part.Position, Part.Position + VT(0, -1, 0))).lookVector, 35 , Part)
  4381. if FLOOR ~= nil then
  4382. CreateDebreeRing(FLOOR,HITPOS,15,VT(10,10,10),2)
  4383. end
  4384. if hit.Parent:FindFirstChildOfClass("Humanoid") and hit.Parent ~= Character then
  4385. ApplyDamage(hit.Parent:FindFirstChildOfClass("Humanoid"),MRANDOM(65,75)*FORM,2,2)
  4386. end
  4387. AoEDamage(Part.Position,45,15,65,5,2,2,false)
  4388. end
  4389. end)
  4390. end
  4391. end
  4392. end
  4393. FINGERWORK = false
  4394. ATTACK = false
  4395. Rooted = false
  4396. end
  4397.  
  4398. --//=================================\\
  4399. --|| ASSIGN THINGS TO KEYS
  4400. --\\=================================//
  4401.  
  4402. function MouseDown(Mouse)
  4403. HOLD = true
  4404. if ATTACK == false then
  4405. end
  4406. end
  4407.  
  4408. function MouseUp(Mouse)
  4409. HOLD = false
  4410. end
  4411.  
  4412. function KeyDown(Key)
  4413. KEYHOLD = true
  4414. if VALUE1 == true then
  4415. KEY = Key
  4416. end
  4417.  
  4418. if Key == "z" and ATTACK == false then
  4419. Telekenesis()
  4420. end
  4421.  
  4422. if Key == "b" and ATTACK == false then
  4423. RockChuck()
  4424. end
  4425.  
  4426. if Key == "c" and ATTACK == false then
  4427. InnerCrusher()
  4428. end
  4429.  
  4430. if Key == "x" and ATTACK == false then
  4431. Meteor()
  4432. end
  4433.  
  4434. if Key == "m" and ATTACK == false and Player.Name == "Shackluster" then
  4435. if FORM == 1 then
  4436. FORM = 2
  4437. elseif FORM == 2 then
  4438. FORM = 1
  4439. end
  4440. end
  4441. end
  4442.  
  4443. function KeyUp(Key)
  4444. KEYHOLD = false
  4445. end
  4446.  
  4447. Mouse.Button1Down:connect(function(NEWKEY)
  4448. MouseDown(NEWKEY)
  4449. end)
  4450. Mouse.Button1Up:connect(function(NEWKEY)
  4451. MouseUp(NEWKEY)
  4452. end)
  4453. Mouse.KeyDown:connect(function(NEWKEY)
  4454. KeyDown(NEWKEY)
  4455. end)
  4456. Mouse.KeyUp:connect(function(NEWKEY)
  4457. KeyUp(NEWKEY)
  4458. end)
  4459.  
  4460. --//=================================\\
  4461. --\\=================================//
  4462.  
  4463.  
  4464. function unanchor()
  4465. if UNANCHOR == true then
  4466. for _, c in pairs(Weapon:GetChildren()) do
  4467. if c.ClassName == "Part" then
  4468. c.Anchored = false
  4469. end
  4470. end
  4471. for _, c in pairs(Character:GetChildren()) do
  4472. if c.ClassName == "Part" then
  4473. c.Anchored = false
  4474. elseif c.ClassName == "Accessory" then
  4475. c.Handle.Anchored = false
  4476. end
  4477. end
  4478. end
  4479. end
  4480.  
  4481.  
  4482. --//=================================\\
  4483. --|| WRAP THE WHOLE SCRIPT UP
  4484. --\\=================================//
  4485.  
  4486. Humanoid.Changed:connect(function(Jump)
  4487. if Jump == "Jump" and (Disable_Jump == true) then
  4488. Humanoid.Jump = false
  4489. end
  4490. end)
  4491.  
  4492. while true do
  4493. Swait()
  4494. ANIMATE.Parent = nil
  4495. local IDLEANIMATION = Humanoid:LoadAnimation(ROBLOXIDLEANIMATION)
  4496. IDLEANIMATION:Play()
  4497. SINE = SINE + CHANGE
  4498. local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude
  4499. local TORSOVERTICALVELOCITY = RootPart.Velocity.y
  4500. local LV = Torso.CFrame:pointToObjectSpace(Torso.Velocity - Torso.Position)
  4501. HITFLOOR = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4 * Player_Size, Character)
  4502. local WALKSPEEDVALUE = 6 / (Humanoid.WalkSpeed / 16)
  4503. if ANIM == "Walk" and TORSOVELOCITY > 1 then
  4504. 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)
  4505. 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)
  4506. 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)
  4507. 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)
  4508. elseif (ANIM ~= "Walk") or (TORSOVELOCITY < 1) then
  4509. RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  4510. 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)
  4511. 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)
  4512. 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)
  4513. end
  4514. if TORSOVERTICALVELOCITY > 1 and HITFLOOR == nil then
  4515. ANIM = "Jump"
  4516. if ATTACK == false then
  4517. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  4518. 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)
  4519. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(20)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed)
  4520. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  4521. 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)
  4522. 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)
  4523. end
  4524. elseif TORSOVERTICALVELOCITY < -1 and HITFLOOR == nil then
  4525. ANIM = "Fall"
  4526. if ATTACK == false then
  4527. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 ) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  4528. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 , 0 + ((1) - 1)) * ANGLES(RAD(20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  4529. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(60)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed)
  4530. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-60)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  4531. 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)
  4532. 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)
  4533. end
  4534. elseif TORSOVELOCITY < 1 and HITFLOOR ~= nil then
  4535. ANIM = "Idle"
  4536. if ATTACK == false then
  4537. 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)
  4538. 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)
  4539. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  4540. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  4541. 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)
  4542. 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)
  4543. end
  4544. elseif TORSOVELOCITY > 1 and HITFLOOR ~= nil then
  4545. ANIM = "Walk"
  4546. WALK = WALK + 1 / Animation_Speed
  4547. if WALK >= 15 - (5 * (Humanoid.WalkSpeed / 16 / Player_Size)) then
  4548. WALK = 0
  4549. if WALKINGANIM == true then
  4550. WALKINGANIM = false
  4551. elseif WALKINGANIM == false then
  4552. WALKINGANIM = true
  4553. end
  4554. end
  4555. --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)
  4556. --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)
  4557. if ATTACK == false then
  4558. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.1) * ANGLES(RAD(5), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  4559. 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)
  4560. 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)
  4561. 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)
  4562. 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)
  4563. 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)
  4564. end
  4565. end
  4566. unanchor()
  4567. Humanoid.MaxHealth = "inf"
  4568. Humanoid.Health = "inf"
  4569. if Rooted == false then
  4570. Disable_Jump = false
  4571. Humanoid.WalkSpeed = Speed
  4572. elseif Rooted == true then
  4573. Disable_Jump = true
  4574. Humanoid.WalkSpeed = 0
  4575. end
  4576. if FORM == 1 then
  4577. if sick.SoundId ~= STAGE1MUSIC then
  4578. sick.SoundId = STAGE1MUSIC
  4579. sick:Play()
  4580. end
  4581. SKILLTEXTCOLOR = BRICKC("Maroon").Color
  4582. elseif FORM == 2 then
  4583. if sick.SoundId ~= STAGE2MUSIC then
  4584. sick.SoundId = STAGE2MUSIC
  4585. sick:Play()
  4586. end
  4587. SKILLTEXTCOLOR = BRICKC("Black").Color
  4588. end
  4589. if sick.Playing == false then
  4590. sick:Play()
  4591. end
  4592. sick.Parent = Character
  4593. SKILL1TEXT.TextColor3 = SKILLTEXTCOLOR
  4594. SKILL2TEXT.TextColor3 = SKILLTEXTCOLOR
  4595. SKILL3TEXT.TextColor3 = SKILLTEXTCOLOR
  4596. SKILL4TEXT.TextColor3 = SKILLTEXTCOLOR
  4597. for _, c in pairs(Weapon:GetChildren()) do
  4598. if c.ClassName == "Part" then
  4599. if c.Name == "MainColor" then
  4600. c.Color = SKILLTEXTCOLOR
  4601. end
  4602. if c:FindFirstChild("FingerJoint") then
  4603. local WELD = c:FindFirstChild("FingerJoint")
  4604. if FINGERWORK == false then
  4605. WELD.C1 = Clerp(WELD.C1, CF(-0.1, 0.3, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
  4606. elseif FINGERWORK == true then
  4607. WELD.C1 = Clerp(WELD.C1, CF(0, 0.3, 0) * ANGLES(RAD(0), RAD(0), RAD(-55)), 0.5 / Animation_Speed)
  4608. end
  4609. elseif c:FindFirstChild("FingerJoint2") then
  4610. local WELD = c:FindFirstChild("FingerJoint2")
  4611. if FINGERWORK == false then
  4612. WELD.C1 = Clerp(WELD.C1, CF(0, 0.3, 0.1) * ANGLES(RAD(90), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  4613. elseif FINGERWORK == true then
  4614. WELD.C1 = Clerp(WELD.C1, CF(0, 0.3, 0) * ANGLES(RAD(-55), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  4615. end
  4616. end
  4617. end
  4618. end
  4619. Humanoid.PlatformStand = false
  4620. Humanoid.Parent = Character
  4621. Character.Parent = workspace
  4622. script.Parent = PlayerGui
  4623. if VALUE1 == true then
  4624. SKILL1TEXT.Text = "[Z] Exit"
  4625. SKILL2TEXT.Text = "[B] Decrease"
  4626. SKILL3TEXT.Text = "[C] Increase"
  4627. SKILL4TEXT.Text = "[X] Force push"
  4628. elseif VALUE1 == false then
  4629. SKILL1TEXT.Text = "[Z] Telekenesis"
  4630. SKILL2TEXT.Text = "[B] Rock Chuck"
  4631. SKILL3TEXT.Text = "[C] Inner Crusher"
  4632. SKILL4TEXT.Text = "[X] Meteor"
  4633. end
  4634. end
  4635.  
  4636. --//=================================\\
  4637. --\\=================================//
  4638.  
  4639.  
  4640.  
  4641.  
  4642.  
  4643. --//====================================================\\--
  4644. --|| END OF SCRIPT
  4645. --\\====================================================//--wait(0.2)
  4646.  
  4647. Player = game:GetService("Players").LocalPlayer
  4648. PlayerGui = Player.PlayerGui
  4649. Cam = workspace.CurrentCamera
  4650. Backpack = Player.Backpack
  4651. Character = Player.Character
  4652. Humanoid = Character.Humanoid
  4653. Mouse = Player:GetMouse()
  4654. RootPart = Character["HumanoidRootPart"]
  4655. Torso = Character["Torso"]
  4656. Head = Character["Head"]
  4657. RightArm = Character["Right Arm"]
  4658. LeftArm = Character["Left Arm"]
  4659. RightLeg = Character["Right Leg"]
  4660. LeftLeg = Character["Left Leg"]
  4661. RootJoint = RootPart["RootJoint"]
  4662. Neck = Torso["Neck"]
  4663. RightShoulder = Torso["Right Shoulder"]
  4664. LeftShoulder = Torso["Left Shoulder"]
  4665. RightHip = Torso["Right Hip"]
  4666. LeftHip = Torso["Left Hip"]
  4667. local sick = Instance.new("Sound",Character)
  4668. sick.SoundId = "rbxassetid://203941422"
  4669. sick.Looped = true
  4670. sick.Pitch = 1
  4671. sick.Volume = 1
  4672. sick:Play()
  4673. local FORM = 1
  4674. local STAGE1MUSIC = "rbxassetid://147888653"
  4675. local STAGE2MUSIC = "rbxassetid://212693212"
  4676. local txt = Instance.new("BillboardGui", Character)
  4677. CV="Lime green"
  4678. txt.Adornee = Character.Head
  4679. txt.Name = "_status"
  4680. txt.Size = UDim2.new(2, 0, 1.2, 0)
  4681. txt.StudsOffset = Vector3.new(-9, 8, 0)
  4682. local text = Instance.new("TextLabel", txt)
  4683. text.Size = UDim2.new(10, 0, 7, 0)
  4684. text.FontSize = "Size24"
  4685. text.TextScaled = true
  4686. text.TextTransparency = 0
  4687. text.BackgroundTransparency = 1
  4688. text.TextTransparency = 0
  4689. text.TextStrokeTransparency = 0
  4690. text.Font = "Bodoni"
  4691. text.TextStrokeColor3 = BrickColor.new("Crimson").Color
  4692. text.TextColor3 = BrickColor.new("Really red").Color
  4693. text.Text = "Red robot"
  4694.  
  4695.  
  4696.  
  4697. IT = Instance.new
  4698. CF = CFrame.new
  4699. VT = Vector3.new
  4700. RAD = math.rad
  4701. C3 = Color3.new
  4702. UD2 = UDim2.new
  4703. BRICKC = BrickColor.new
  4704. ANGLES = CFrame.Angles
  4705. EULER = CFrame.fromEulerAnglesXYZ
  4706. COS = math.cos
  4707. ACOS = math.acos
  4708. SIN = math.sin
  4709. ASIN = math.asin
  4710. ABS = math.abs
  4711. MRANDOM = math.random
  4712. FLOOR = math.floor
  4713.  
  4714. function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
  4715. local NEWMESH = IT(MESH)
  4716. if MESH == "SpecialMesh" then
  4717. NEWMESH.MeshType = MESHTYPE
  4718. if MESHID ~= "nil" and MESHID ~= "" then
  4719. NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID
  4720. end
  4721. if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
  4722. NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID
  4723. end
  4724. end
  4725. NEWMESH.Offset = OFFSET or VT(0, 0, 0)
  4726. NEWMESH.Scale = SCALE
  4727. NEWMESH.Parent = PARENT
  4728. return NEWMESH
  4729. end
  4730.  
  4731. function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
  4732. local NEWPART = IT("Part")
  4733. NEWPART.formFactor = FORMFACTOR
  4734. NEWPART.Reflectance = REFLECTANCE
  4735. NEWPART.Transparency = TRANSPARENCY
  4736. NEWPART.CanCollide = false
  4737. NEWPART.Locked = true
  4738. NEWPART.Anchored = true
  4739. if ANCHOR == false then
  4740. NEWPART.Anchored = false
  4741. end
  4742. NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
  4743. NEWPART.Name = NAME
  4744. NEWPART.Size = SIZE
  4745. NEWPART.Position = Torso.Position
  4746. NEWPART.Material = MATERIAL
  4747. NEWPART:BreakJoints()
  4748. NEWPART.Parent = PARENT
  4749. return NEWPART
  4750. end
  4751.  
  4752. --//=================================\\
  4753. --|| CUSTOMIZATION
  4754. --\\=================================//
  4755.  
  4756. Player_Size = 1 --Size of the player.
  4757. Animation_Speed = 3
  4758. Animation_Speed2 = 0.7
  4759. Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60)
  4760.  
  4761. local Speed = 16
  4762. local Effects2 = {}
  4763.  
  4764. --//=================================\\
  4765. --|| END OF CUSTOMIZATION
  4766. --\\=================================//
  4767.  
  4768. local function weldBetween(a, b)
  4769. local weldd = Instance.new("ManualWeld")
  4770. weldd.Part0 = a
  4771. weldd.Part1 = b
  4772. weldd.C0 = CFrame.new()
  4773. weldd.C1 = b.CFrame:inverse() * a.CFrame
  4774. weldd.Parent = a
  4775. return weldd
  4776. end
  4777.  
  4778. --//=================================\\
  4779. --|| USEFUL VALUES
  4780. --\\=================================//
  4781.  
  4782. local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  4783. local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  4784. local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0))
  4785. local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0))
  4786. local CHANGEDEFENSE = 0
  4787. local CHANGEDAMAGE = 0
  4788. local CHANGEMOVEMENT = 0
  4789. local ANIM = "Idle"
  4790. local ATTACK = false
  4791. local EQUIPPED = false
  4792. local HOLD = false
  4793. local COMBO = 1
  4794. local Rooted = false
  4795. local SINE = 0
  4796. local KEYHOLD = false
  4797. local CHANGE = 2 / Animation_Speed
  4798. local WALKINGANIM = false
  4799. local WALK = 0
  4800. local VALUE1 = false
  4801. local VALUE2 = false
  4802. local ROBLOXIDLEANIMATION = IT("Animation")
  4803. ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation"
  4804. ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571"
  4805. --ROBLOXIDLEANIMATION.Parent = Humanoid
  4806. local WEAPONGUI = IT("ScreenGui", PlayerGui)
  4807. WEAPONGUI.Name = "Weapon GUI"
  4808. local Weapon = IT("Model")
  4809. Weapon.Name = "Adds"
  4810. local Effects = IT("Folder", Weapon)
  4811. Effects.Name = "Effects"
  4812. local TelekenesisEffects = IT("Folder", Weapon)
  4813. TelekenesisEffects.Name = "HoldGraphics"
  4814. local ANIMATOR = Humanoid.Animator
  4815. local ANIMATE = Character.Animate
  4816. local HITPLAYERSOUNDS = {--[["199149137", "199149186", "199149221", "199149235", "199149269", "199149297"--]]"263032172", "263032182", "263032200", "263032221", "263032252", "263033191"}
  4817. local HITARMORSOUNDS = {"199149321", "199149338", "199149367", "199149409", "199149452"}
  4818. local HITWEAPONSOUNDS = {"199148971", "199149025", "199149072", "199149109", "199149119"}
  4819. local HITBLOCKSOUNDS = {"199148933", "199148947"}
  4820. local UNANCHOR = true
  4821. local TELEBODY = nil
  4822. local NESISPART = nil
  4823. local FINGERWORK = false
  4824. local KEY = nil
  4825. local PEWSOUND = {"907527750","907527912","907528019","907530553"}
  4826.  
  4827. local SKILLTEXTCOLOR = BRICKC("Maroon").Color
  4828.  
  4829. --//=================================\\
  4830. --\\=================================//
  4831.  
  4832.  
  4833. --//=================================\\
  4834. --|| SAZERENOS' ARTIFICIAL HEARTBEAT
  4835. --\\=================================//
  4836.  
  4837. ArtificialHB = Instance.new("BindableEvent", script)
  4838. ArtificialHB.Name = "ArtificialHB"
  4839.  
  4840. script:WaitForChild("ArtificialHB")
  4841.  
  4842. frame = Frame_Speed
  4843. tf = 0
  4844. allowframeloss = false
  4845. tossremainder = false
  4846. lastframe = tick()
  4847. script.ArtificialHB:Fire()
  4848.  
  4849. game:GetService("RunService").Heartbeat:connect(function(s, p)
  4850. tf = tf + s
  4851. if tf >= frame then
  4852. if allowframeloss then
  4853. script.ArtificialHB:Fire()
  4854. lastframe = tick()
  4855. else
  4856. for i = 1, math.floor(tf / frame) do
  4857. script.ArtificialHB:Fire()
  4858. end
  4859. lastframe = tick()
  4860. end
  4861. if tossremainder then
  4862. tf = 0
  4863. else
  4864. tf = tf - frame * math.floor(tf / frame)
  4865. end
  4866. end
  4867. end)
  4868.  
  4869. --//=================================\\
  4870. --\\=================================//
  4871.  
  4872.  
  4873.  
  4874.  
  4875.  
  4876. --//=================================\\
  4877. --|| SOME FUNCTIONS
  4878. --\\=================================//
  4879.  
  4880. function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
  4881. return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
  4882. end
  4883.  
  4884. function PositiveAngle(NUMBER)
  4885. if NUMBER >= 0 then
  4886. NUMBER = 0
  4887. end
  4888. return NUMBER
  4889. end
  4890.  
  4891. function NegativeAngle(NUMBER)
  4892. if NUMBER <= 0 then
  4893. NUMBER = 0
  4894. end
  4895. return NUMBER
  4896. end
  4897.  
  4898. function Swait(NUMBER)
  4899. if NUMBER == 0 or NUMBER == nil then
  4900. ArtificialHB.Event:wait()
  4901. else
  4902. for i = 1, NUMBER do
  4903. ArtificialHB.Event:wait()
  4904. end
  4905. end
  4906. end
  4907.  
  4908. function QuaternionFromCFrame(cf)
  4909. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  4910. local trace = m00 + m11 + m22
  4911. if trace > 0 then
  4912. local s = math.sqrt(1 + trace)
  4913. local recip = 0.5 / s
  4914. return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  4915. else
  4916. local i = 0
  4917. if m11 > m00 then
  4918. i = 1
  4919. end
  4920. if m22 > (i == 0 and m00 or m11) then
  4921. i = 2
  4922. end
  4923. if i == 0 then
  4924. local s = math.sqrt(m00 - m11 - m22 + 1)
  4925. local recip = 0.5 / s
  4926. return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  4927. elseif i == 1 then
  4928. local s = math.sqrt(m11 - m22 - m00 + 1)
  4929. local recip = 0.5 / s
  4930. return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  4931. elseif i == 2 then
  4932. local s = math.sqrt(m22 - m00 - m11 + 1)
  4933. local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  4934. end
  4935. end
  4936. end
  4937.  
  4938. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  4939. local xs, ys, zs = x + x, y + y, z + z
  4940. local wx, wy, wz = w * xs, w * ys, w * zs
  4941. local xx = x * xs
  4942. local xy = x * ys
  4943. local xz = x * zs
  4944. local yy = y * ys
  4945. local yz = y * zs
  4946. local zz = z * zs
  4947. 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))
  4948. end
  4949.  
  4950. function QuaternionSlerp(a, b, t)
  4951. local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  4952. local startInterp, finishInterp;
  4953. if cosTheta >= 0.0001 then
  4954. if (1 - cosTheta) > 0.0001 then
  4955. local theta = ACOS(cosTheta)
  4956. local invSinTheta = 1 / SIN(theta)
  4957. startInterp = SIN((1 - t) * theta) * invSinTheta
  4958. finishInterp = SIN(t * theta) * invSinTheta
  4959. else
  4960. startInterp = 1 - t
  4961. finishInterp = t
  4962. end
  4963. else
  4964. if (1 + cosTheta) > 0.0001 then
  4965. local theta = ACOS(-cosTheta)
  4966. local invSinTheta = 1 / SIN(theta)
  4967. startInterp = SIN((t - 1) * theta) * invSinTheta
  4968. finishInterp = SIN(t * theta) * invSinTheta
  4969. else
  4970. startInterp = t - 1
  4971. finishInterp = t
  4972. end
  4973. end
  4974. 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
  4975. end
  4976.  
  4977. function Clerp(a, b, t)
  4978. local qa = {QuaternionFromCFrame(a)}
  4979. local qb = {QuaternionFromCFrame(b)}
  4980. local ax, ay, az = a.x, a.y, a.z
  4981. local bx, by, bz = b.x, b.y, b.z
  4982. local _t = 1 - t
  4983. return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  4984. end
  4985.  
  4986. function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME)
  4987. local frame = IT("Frame")
  4988. frame.BackgroundTransparency = TRANSPARENCY
  4989. frame.BorderSizePixel = BORDERSIZEPIXEL
  4990. frame.Position = POSITION
  4991. frame.Size = SIZE
  4992. frame.BackgroundColor3 = COLOR
  4993. frame.BorderColor3 = BORDERCOLOR
  4994. frame.Name = NAME
  4995. frame.Parent = PARENT
  4996. return frame
  4997. end
  4998.  
  4999. function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME)
  5000. local label = IT("TextLabel")
  5001. label.BackgroundTransparency = 1
  5002. label.Size = UD2(1, 0, 1, 0)
  5003. label.Position = UD2(0, 0, 0, 0)
  5004. label.TextColor3 = TEXTCOLOR
  5005. label.TextStrokeTransparency = STROKETRANSPARENCY
  5006. label.TextTransparency = TRANSPARENCY
  5007. label.FontSize = TEXTFONTSIZE
  5008. label.Font = TEXTFONT
  5009. label.BorderSizePixel = BORDERSIZEPIXEL
  5010. label.TextScaled = false
  5011. label.Text = TEXT
  5012. label.Name = NAME
  5013. label.Parent = PARENT
  5014. return label
  5015. end
  5016.  
  5017. function NoOutlines(PART)
  5018. PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10
  5019. end
  5020.  
  5021.  
  5022. function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
  5023. local NEWWELD = IT(TYPE)
  5024. NEWWELD.Part0 = PART0
  5025. NEWWELD.Part1 = PART1
  5026. NEWWELD.C0 = C0
  5027. NEWWELD.C1 = C1
  5028. NEWWELD.Parent = PARENT
  5029. return NEWWELD
  5030. end
  5031.  
  5032. function CreateSound(ID, PARENT, VOLUME, PITCH)
  5033. local NEWSOUND = nil
  5034. coroutine.resume(coroutine.create(function()
  5035. NEWSOUND = IT("Sound", PARENT)
  5036. NEWSOUND.Volume = VOLUME
  5037. NEWSOUND.Pitch = PITCH
  5038. NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID
  5039. Swait()
  5040. NEWSOUND:play()
  5041. game:GetService("Debris"):AddItem(NEWSOUND, 10)
  5042. end))
  5043. return NEWSOUND
  5044. end
  5045.  
  5046. function CFrameFromTopBack(at, top, back)
  5047. local right = top:Cross(back)
  5048. 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)
  5049. end
  5050.  
  5051. function MakeForm(PART,TYPE)
  5052. if TYPE == "Cyl" then
  5053. local MSH = IT("CylinderMesh",PART)
  5054. elseif TYPE == "Ball" then
  5055. local MSH = IT("SpecialMesh",PART)
  5056. MSH.MeshType = "Sphere"
  5057. elseif TYPE == "Wedge" then
  5058. local MSH = IT("SpecialMesh",PART)
  5059. MSH.MeshType = "Wedge"
  5060. end
  5061. end
  5062.  
  5063. function CheckTableForString(Table, String)
  5064. for i, v in pairs(Table) do
  5065. if string.find(string.lower(String), string.lower(v)) then
  5066. return true
  5067. end
  5068. end
  5069. return false
  5070. end
  5071.  
  5072. function CheckIntangible(Hit)
  5073. local ProjectileNames = {"Water", "Arrow", "Projectile", "Effect", "Rail", "Lightning", "Bullet"}
  5074. if Hit and Hit.Parent then
  5075. if ((not Hit.CanCollide or CheckTableForString(ProjectileNames, Hit.Name)) and not Hit.Parent:FindFirstChild("Humanoid")) then
  5076. return true
  5077. end
  5078. end
  5079. return false
  5080. end
  5081.  
  5082. Debris = game:GetService("Debris")
  5083.  
  5084. function CastZapRay(StartPos, Vec, Length, Ignore, DelayIfHit)
  5085. local Direction = CFrame.new(StartPos, Vec).lookVector
  5086. local Ignore = ((type(Ignore) == "table" and Ignore) or {Ignore})
  5087. local RayHit, RayPos, RayNormal = game:GetService("Workspace"):FindPartOnRayWithIgnoreList(Ray.new(StartPos, Direction * Length), Ignore)
  5088. if RayHit and CheckIntangible(RayHit) then
  5089. if DelayIfHit then
  5090. wait()
  5091. end
  5092. RayHit, RayPos, RayNormal = CastZapRay((RayPos + (Vec * 0.01)), Vec, (Length - ((StartPos - RayPos).magnitude)), Ignore, DelayIfHit)
  5093. end
  5094. return RayHit, RayPos, RayNormal
  5095. end
  5096.  
  5097. function turnto(position)
  5098. RootPart.CFrame=CFrame.new(RootPart.CFrame.p,VT(position.X,RootPart.Position.Y,position.Z)) * CFrame.new(0, 0, 0)
  5099. end
  5100.  
  5101. function MagicSphere(SIZE,WAIT,CFRAME,COLOR,GROW)
  5102. local wave = CreatePart(3, Effects, "Neon", 0, 0, BRICKC(COLOR), "Effect", VT(1,1,1), true)
  5103. local mesh = IT("SpecialMesh",wave)
  5104. mesh.MeshType = "Sphere"
  5105. mesh.Scale = SIZE
  5106. mesh.Offset = VT(0,0,0)
  5107. wave.CFrame = CFRAME
  5108. coroutine.resume(coroutine.create(function(PART)
  5109. for i = 1, WAIT do
  5110. Swait()
  5111. mesh.Scale = mesh.Scale + GROW
  5112. wave.Transparency = wave.Transparency + (1/WAIT)
  5113. if wave.Transparency > 0.99 then
  5114. wave:remove()
  5115. end
  5116. end
  5117. end))
  5118. end
  5119.  
  5120. function Slice(SIZE,WAIT,CFRAME,COLOR,GROW)
  5121. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(1,1,1), true)
  5122. local mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "448386996", "", VT(0,SIZE/10,SIZE/10), VT(0,0,0))
  5123. wave.CFrame = CFRAME
  5124. coroutine.resume(coroutine.create(function(PART)
  5125. for i = 1, WAIT do
  5126. Swait()
  5127. mesh.Scale = mesh.Scale * GROW
  5128. wave.Transparency = wave.Transparency + (0.5/WAIT)
  5129. if wave.Transparency > 0.99 then
  5130. wave:remove()
  5131. end
  5132. end
  5133. end))
  5134. end
  5135.  
  5136. function CreateDebreeRing(FLOOR,POSITION,SIZE,BLOCKSIZE,SWAIT)
  5137. if FLOOR ~= nil then
  5138. coroutine.resume(coroutine.create(function()
  5139. local PART = CreatePart(3, Effects, "Plastic", 0, 1, "Pearl", "DebreeCenter", VT(0,0,0))
  5140. PART.CFrame = CF(POSITION)
  5141. for i = 1, 45 do
  5142. local RingPiece = CreatePart(3, Effects, "Plastic", 0, 0, "Pearl", "DebreePart", BLOCKSIZE)
  5143. RingPiece.Material = FLOOR.Material
  5144. RingPiece.Color = FLOOR.Color
  5145. 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)))
  5146. Debris:AddItem(RingPiece,SWAIT)
  5147. end
  5148. PART:remove()
  5149. end))
  5150. end
  5151. end
  5152.  
  5153. function CreateFlyingDebree(FLOOR,POSITION,AMOUNT,BLOCKSIZE,SWAIT,STRENGTH,DOESBREAK)
  5154. if FLOOR ~= nil then
  5155. for i = 1, AMOUNT do
  5156. local DEBREE = CreatePart(3, Effects, "Neon", 0, 0, "Peal", "Debree", BLOCKSIZE, false)
  5157. DEBREE.Material = FLOOR.Material
  5158. DEBREE.Color = FLOOR.Color
  5159. DEBREE.CFrame = POSITION * ANGLES(RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360)))
  5160. DEBREE.Velocity = VT(MRANDOM(-STRENGTH,STRENGTH),MRANDOM(STRENGTH/2,STRENGTH*2),MRANDOM(-STRENGTH,STRENGTH))
  5161. coroutine.resume(coroutine.create(function()
  5162. if DOESBREAK == true then
  5163. local IMPACT = false
  5164. local Touched = DEBREE.Touched:Connect(function(hit)
  5165. if hit.CanCollide == true and hit.Parent ~= Effects and IMPACT == false then
  5166. IMPACT = true
  5167. CreateFlyingDebree(FLOOR,DEBREE.CFrame,5,DEBREE.Size/2,SWAIT,STRENGTH,false)
  5168. end
  5169. end)
  5170. end
  5171. Swait(15)
  5172. DEBREE.Parent = workspace
  5173. DEBREE.CanCollide = true
  5174. Debris:AddItem(DEBREE,SWAIT)
  5175. end))
  5176. end
  5177. end
  5178. end
  5179.  
  5180. function MagicBlock(SIZE,WAIT,CFRAME,COLOR,GROW)
  5181. local wave = CreatePart(3, Effects, "Neon", 0, 0, BRICKC(COLOR), "Effect", VT(SIZE,SIZE,SIZE), true)
  5182. local mesh = IT("BlockMesh",wave)
  5183. wave.CFrame = CFRAME * ANGLES(RAD(math.random(-360,360)),RAD(math.random(-360,360)),RAD(math.random(-360,360)))
  5184. coroutine.resume(coroutine.create(function(PART)
  5185. for i = 1, WAIT do
  5186. Swait()
  5187. mesh.Scale = mesh.Scale + GROW
  5188. wave.CFrame = CFRAME * ANGLES(RAD(math.random(-360,360)),RAD(math.random(-360,360)),RAD(math.random(-360,360)))
  5189. wave.Transparency = wave.Transparency + (1/WAIT)
  5190. if wave.Transparency > 0.99 then
  5191. wave:remove()
  5192. end
  5193. end
  5194. end))
  5195. end
  5196.  
  5197. --//=================================\\
  5198. --|| WEAPON CREATION
  5199. --\\=================================//
  5200.  
  5201. local HITFLOOR = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4 * Player_Size, Character)
  5202.  
  5203. local HandlePart = CreatePart(3, Weapon, "DiamondPlate", 0, 0, "Maroon", "MainColor", VT(1.2,1.21,1.2),false)
  5204. local Weld = CreateWeldOrSnapOrMotor("Weld", HandlePart, RightArm, HandlePart, CF(0, -0.6, 0) * ANGLES(RAD(0), RAD(90), RAD(0)), CF(0, 0, 0))
  5205. local HandlePart = CreatePart(3, Weapon, "Metal", 0, 0, "EEE", "Handle", VT(1.05,1.21,0.5),false)
  5206. HandlePart.Color = C3(0,0,0)
  5207. local Weld = CreateWeldOrSnapOrMotor("Weld", HandlePart, RightArm, HandlePart, CF(0.3, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0)), CF(0, 0, 0))
  5208.  
  5209. local HandlePart = CreatePart(3, Weapon, "DiamondPlate", 0, 0, "Really black", "MainColor", VT(1.06,1.05,0.2),false)
  5210. local Weld = CreateWeldOrSnapOrMotor("Weld", HandlePart, RightArm, HandlePart, CF(0, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0)), CF(0, 0, 0))
  5211. local HandlePart = CreatePart(3, Weapon, "DiamondPlate", 0, 0, "Really black", "MainColor", VT(1.06,0.2,0.7),false)
  5212. local Weld = CreateWeldOrSnapOrMotor("Weld", HandlePart, RightArm, HandlePart, CF(0.25, 0.6, 0) * ANGLES(RAD(0), RAD(90), RAD(0)), CF(0, 0, 0))
  5213.  
  5214. local HandlePart = CreatePart(3, Weapon, "Metal", 0, 0, "Really black", "Handle", VT(1.015,0.2,1.015),false)
  5215. local Weld = CreateWeldOrSnapOrMotor("Weld", HandlePart, RightArm, HandlePart, CF(0, -0.2, 0) * ANGLES(RAD(0), RAD(90), RAD(0)), CF(0, 0, 0))
  5216. local TelePart = CreatePart(3, Weapon, "Metal", 0, 0, "Really black", "Handle", VT(1,0.09,1),false)
  5217. local Weld = CreateWeldOrSnapOrMotor("Weld", TelePart, RightArm, TelePart, CF(0, -1.161, 0) * ANGLES(RAD(0), RAD(90), RAD(0)), CF(0, 0, 0))
  5218. MakeForm(TelePart,"Cyl")
  5219. local TelePart = CreatePart(3, Weapon, "Neon", 0, 0, "Maroon", "MainColor", VT(0.7,0.1,0.7),false)
  5220. local Weld = CreateWeldOrSnapOrMotor("Weld", TelePart, RightArm, TelePart, CF(0, -1.161, 0) * ANGLES(RAD(0), RAD(90), RAD(0)), CF(0, 0, 0))
  5221. MakeForm(TelePart,"Cyl")
  5222. local HandlePart = CreatePart(3, Weapon, "Metal", 0, 0, "Really black", "Handle", VT(1.015,0.2,1.015),false)
  5223. local Weld = CreateWeldOrSnapOrMotor("Weld", HandlePart, RightArm, HandlePart, CF(0, -1.1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)), CF(0, 0, 0))
  5224.  
  5225. local HandlePart = CreatePart(3, Weapon, "Metal", 0, 0, "Really black", "Handle", VT(0.2,1.21,0.2),false)
  5226. local Weld = CreateWeldOrSnapOrMotor("Weld", HandlePart, RightArm, HandlePart, CF(0.35, -0.2, 0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  5227. MakeForm(HandlePart,"Cyl")
  5228. local HandlePart = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Handle", VT(0.15,1.22,0),false)
  5229. local Weld = CreateWeldOrSnapOrMotor("Weld", HandlePart, RightArm, HandlePart, CF(0.35, -0.2, 0) * ANGLES(RAD(90), RAD(45), RAD(0)), CF(0, 0, 0))
  5230. local HandlePart = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Handle", VT(0.15,1.22,0),false)
  5231. local Weld = CreateWeldOrSnapOrMotor("Weld", HandlePart, RightArm, HandlePart, CF(0.35, -0.2, 0) * ANGLES(RAD(90), RAD(-45), RAD(0)), CF(0, 0, 0))
  5232.  
  5233. local HandlePart = CreatePart(3, Weapon, "Metal", 0, 0, "Really black", "Handle", VT(0.2,1.21,0.2),false)
  5234. local Weld = CreateWeldOrSnapOrMotor("Weld", HandlePart, RightArm, HandlePart, CF(-0.35, -0.2, 0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  5235. MakeForm(HandlePart,"Cyl")
  5236. local HandlePart = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Handle", VT(0.15,1.22,0),false)
  5237. local Weld = CreateWeldOrSnapOrMotor("Weld", HandlePart, RightArm, HandlePart, CF(-0.35, -0.2, 0) * ANGLES(RAD(90), RAD(45), RAD(0)), CF(0, 0, 0))
  5238. local HandlePart = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Handle", VT(0.15,1.22,0),false)
  5239. local Weld = CreateWeldOrSnapOrMotor("Weld", HandlePart, RightArm, HandlePart, CF(-0.35, -0.2, 0) * ANGLES(RAD(90), RAD(-45), RAD(0)), CF(0, 0, 0))
  5240.  
  5241. local HandlePart = CreatePart(3, Weapon, "Metal", 0, 0, "Really black", "Handle", VT(0.2,1.21,0.2),false)
  5242. local Weld = CreateWeldOrSnapOrMotor("Weld", HandlePart, RightArm, HandlePart, CF(0.35, -1, 0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  5243. MakeForm(HandlePart,"Cyl")
  5244. local HandlePart = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Handle", VT(0.15,1.22,0),false)
  5245. local Weld = CreateWeldOrSnapOrMotor("Weld", HandlePart, RightArm, HandlePart, CF(0.35, -1, 0) * ANGLES(RAD(90), RAD(45), RAD(0)), CF(0, 0, 0))
  5246. local HandlePart = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Handle", VT(0.15,1.22,0),false)
  5247. local Weld = CreateWeldOrSnapOrMotor("Weld", HandlePart, RightArm, HandlePart, CF(0.35, -1, 0) * ANGLES(RAD(90), RAD(-45), RAD(0)), CF(0, 0, 0))
  5248.  
  5249. local HandlePart = CreatePart(3, Weapon, "Metal", 0, 0, "Really black", "Handle", VT(0.2,1.21,0.2),false)
  5250. local Weld = CreateWeldOrSnapOrMotor("Weld", HandlePart, RightArm, HandlePart, CF(-0.35, -1, 0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  5251. MakeForm(HandlePart,"Cyl")
  5252. local HandlePart = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Handle", VT(0.15,1.22,0),false)
  5253. local Weld = CreateWeldOrSnapOrMotor("Weld", HandlePart, RightArm, HandlePart, CF(-0.35, -1, 0) * ANGLES(RAD(90), RAD(45), RAD(0)), CF(0, 0, 0))
  5254. local HandlePart = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Handle", VT(0.15,1.22,0),false)
  5255. local Weld = CreateWeldOrSnapOrMotor("Weld", HandlePart, RightArm, HandlePart, CF(-0.35, -1, 0) * ANGLES(RAD(90), RAD(-45), RAD(0)), CF(0, 0, 0))
  5256.  
  5257. local HandlePart = CreatePart(3, Weapon, "Metal", 0, 0, "Really black", "Handle", VT(0.4,0.4,0.4),false)
  5258. 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))
  5259. MakeForm(HandlePart,"Ball")
  5260. local FingerPart = CreatePart(3, Weapon, "DiamondPlate", 0, 0, "Really black", "Handle", VT(0.25,0.2,0.25),false)
  5261. 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))
  5262. MakeForm(FingerPart,"Cyl")
  5263. Weld.Name = "FingerJoint"
  5264. local Part = CreatePart(3, Weapon, "DiamondPlate", 0, 0, "Really black", "MainColor", VT(0.26,0.3,0.26),false)
  5265. local Weld = CreateWeldOrSnapOrMotor("Weld", Part, FingerPart, Part, CF(0,-0.15,0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  5266. MakeForm(Part,"Cyl")
  5267. local Part = CreatePart(3, Weapon, "DiamondPlate", 0, 0, "Really black", "MainColor", VT(0.26,0.2,0.26),false)
  5268. local Weld = CreateWeldOrSnapOrMotor("Weld", Part, FingerPart, Part, CF(0,0.15,0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  5269. MakeForm(Part,"Cyl")
  5270.  
  5271. local HandlePart = CreatePart(3, Weapon, "Metal", 0, 0, "Really black", "Handle", VT(0.4,0.4,0.4),false)
  5272. 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))
  5273. MakeForm(HandlePart,"Ball")
  5274. local FingerPart = CreatePart(3, Weapon, "DiamondPlate", 0, 0, "Really black", "Handle", VT(0.25,0.2,0.25),false)
  5275. 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))
  5276. MakeForm(FingerPart,"Cyl")
  5277. Weld.Name = "FingerJoint"
  5278. local Part = CreatePart(3, Weapon, "DiamondPlate", 0, 0, "Really black", "MainColor", VT(0.26,0.3,0.26),false)
  5279. local Weld = CreateWeldOrSnapOrMotor("Weld", Part, FingerPart, Part, CF(0,-0.15,0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  5280. MakeForm(Part,"Cyl")
  5281. local Part = CreatePart(3, Weapon, "DiamondPlate", 0, 0, "Really black", "MainColor", VT(0.26,0.2,0.26),false)
  5282. local Weld = CreateWeldOrSnapOrMotor("Weld", Part, FingerPart, Part, CF(0,0.15,0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  5283. MakeForm(Part,"Cyl")
  5284.  
  5285. local HandlePart = CreatePart(3, Weapon, "Metal", 0, 0, "Really black", "Handle", VT(0.4,0.4,0.4),false)
  5286. 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))
  5287. MakeForm(HandlePart,"Ball")
  5288. local FingerPart = CreatePart(3, Weapon, "DiamondPlate", 0, 0, "Really black", "Handle", VT(0.25,0.25,0.25),false)
  5289. 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))
  5290. MakeForm(FingerPart,"Cyl")
  5291. Weld.Name = "FingerJoint"
  5292. local Part = CreatePart(3, Weapon, "DiamondPlate", 0, 0, "Really black", "MainColor", VT(0.26,0.3,0.26),false)
  5293. local Weld = CreateWeldOrSnapOrMotor("Weld", Part, FingerPart, Part, CF(0,-0.15,0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  5294. MakeForm(Part,"Cyl")
  5295. local Part = CreatePart(3, Weapon, "DiamondPlate", 0, 0, "Really black", "MainColor", VT(0.26,0.25,0.26),false)
  5296. local Weld = CreateWeldOrSnapOrMotor("Weld", Part, FingerPart, Part, CF(0,0.15,0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  5297. MakeForm(Part,"Cyl")
  5298.  
  5299. local HandlePart = CreatePart(3, Weapon, "Metal", 0, 0, "Really black", "Handle", VT(0.4,0.4,0.4),false)
  5300. 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))
  5301. MakeForm(HandlePart,"Ball")
  5302. local FingerPart = CreatePart(3, Weapon, "DiamondPlate", 0, 0, "Really black", "Handle", VT(0.25,0.25,0.25),false)
  5303. 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))
  5304. MakeForm(FingerPart,"Cyl")
  5305. Weld.Name = "FingerJoint2"
  5306. local Part = CreatePart(3, Weapon, "DiamondPlate", 0, 0, "Really black", "MainColor", VT(0.26,0.3,0.26),false)
  5307. local Weld = CreateWeldOrSnapOrMotor("Weld", Part, FingerPart, Part, CF(0,-0.15,0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  5308. MakeForm(Part,"Cyl")
  5309. local Part = CreatePart(3, Weapon, "DiamondPlate", 0, 0, "Really black", "MainColor", VT(0.26,0.25,0.26),false)
  5310. local Weld = CreateWeldOrSnapOrMotor("Weld", Part, FingerPart, Part, CF(0,0.15,0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  5311. MakeForm(Part,"Cyl")
  5312.  
  5313. local HandlePart = CreatePart(3, Weapon, "Metal", 0, 0, "Really black", "Handle", VT(0.3,0.4,0.3),false)
  5314. 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))
  5315.  
  5316. local HandlePart = CreatePart(3, Weapon, "Metal", 0, 0, "Really black", "Handle", VT(0.3,0.4,0.3),false)
  5317. 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))
  5318.  
  5319. local HandlePart = CreatePart(3, Weapon, "Metal", 0, 0, "Really black", "Handle", VT(0.3,0.4,0.3),false)
  5320. 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))
  5321.  
  5322. local HandlePart = CreatePart(3, Weapon, "Metal", 0, 0, "Really black", "Handle", VT(0.3,0.4,0.3),false)
  5323. 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))
  5324.  
  5325. for _, c in pairs(Weapon:GetChildren()) do
  5326. if c.ClassName == "Part" then
  5327. c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  5328. end
  5329. end
  5330.  
  5331. Weapon.Parent = Character
  5332.  
  5333. Humanoid.Died:connect(function()
  5334. ATTACK = true
  5335. end)
  5336.  
  5337. 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")
  5338. 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")
  5339. 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")
  5340. 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")
  5341.  
  5342. local SKILL1TEXT = CreateLabel(SKILL1FRAME, "[Z] Telekenesis", SKILLTEXTCOLOR, 7, "SciFi", 0, 2, 0.5, "Text 1")
  5343. local SKILL2TEXT = CreateLabel(SKILL2FRAME, "[B] Rock Chuck", SKILLTEXTCOLOR, 7, "SciFi", 0, 2, 0.5, "Text 2")
  5344. local SKILL3TEXT = CreateLabel(SKILL3FRAME, "[C] Inner Crusher", SKILLTEXTCOLOR, 7, "SciFi", 0, 2, 0.5, "Text 3")
  5345. local SKILL4TEXT = CreateLabel(SKILL4FRAME, "[X] Meteor", SKILLTEXTCOLOR, 7, "SciFi", 0, 2, 0.5, "Text 4")
  5346.  
  5347. --//=================================\\
  5348. --|| DAMAGE FUNCTIONS
  5349. --\\=================================//
  5350.  
  5351. function StatLabel(LABELTYPE, CFRAME, TEXT, COLOR)
  5352. local STATPART = CreatePart(3, Effects, "SmoothPlastic", 0, 1, "Really black", "Effect", VT())
  5353. STATPART.CFrame = CF(CFRAME.p + VT(0, 1.5, 0))
  5354. local BODYGYRO = IT("BodyGyro", STATPART)
  5355. local BODYPOSITION = IT("BodyPosition", STATPART)
  5356. BODYPOSITION.P = 2000
  5357. BODYPOSITION.D = 100
  5358. BODYPOSITION.maxForce = VT(math.huge, math.huge, math.huge)
  5359. BODYPOSITION.position = STATPART.Position + VT(MRANDOM(-2, 2), 6, MRANDOM(-2, 2))
  5360. game:GetService("Debris"):AddItem(STATPART ,5)
  5361. local BILLBOARDGUI = Instance.new("BillboardGui", STATPART)
  5362. BILLBOARDGUI.Adornee = STATPART
  5363. BILLBOARDGUI.Size = UD2(2.5, 0, 2.5 ,0)
  5364. BILLBOARDGUI.StudsOffset = VT(-2, 2, 0)
  5365. BILLBOARDGUI.AlwaysOnTop = false
  5366. local TEXTLABEL = Instance.new("TextLabel", BILLBOARDGUI)
  5367. TEXTLABEL.BackgroundTransparency = 1
  5368. TEXTLABEL.Size = UD2(2.5, 0, 2.5, 0)
  5369. TEXTLABEL.Text = TEXT
  5370. TEXTLABEL.Font = "SciFi"
  5371. TEXTLABEL.FontSize="Size42"
  5372. TEXTLABEL.TextColor3 = COLOR
  5373. TEXTLABEL.TextStrokeTransparency = 1
  5374. TEXTLABEL.TextScaled = true
  5375. TEXTLABEL.TextWrapped = true
  5376. coroutine.resume(coroutine.create(function(THEPART, THEBODYPOSITION, THETEXTLABEL)
  5377. if LABELTYPE == "Normal" then
  5378. for i = 1, 30 do
  5379. Swait()
  5380. STATPART.Position = STATPART.Position + VT(0, (15-i)/10 ,0)
  5381. TEXTLABEL.TextTransparency = TEXTLABEL.TextTransparency + (1/30)
  5382. end
  5383. elseif LABELTYPE == "Debuff" then
  5384. for i = 1, 30 do
  5385. Swait()
  5386. STATPART.Position = STATPART.Position - VT(0, i/10 ,0)
  5387. TEXTLABEL.TextTransparency = TEXTLABEL.TextTransparency + (1/30)
  5388. end
  5389. elseif LABELTYPE == "Shock" then
  5390. local ORIGIN = STATPART.Position
  5391. for i = 1, 30 do
  5392. Swait()
  5393. STATPART.Position = ORIGIN + VT(MRANDOM(-2,2),MRANDOM(-2,2),MRANDOM(-2,2))
  5394. TEXTLABEL.TextTransparency = TEXTLABEL.TextTransparency + (1/30)
  5395. end
  5396. end
  5397. THEPART.Parent = nil
  5398. end),STATPART, BODYPOSITION, TEXTLABEL)
  5399. end
  5400.  
  5401. --//=================================\\
  5402. --|| DAMAGING
  5403. --\\=================================//
  5404.  
  5405. function ApplyDamage(Humanoid,Damage,CritRate,CritMultiplier)
  5406. local defence = Instance.new("BoolValue",Humanoid.Parent)
  5407. defence.Name = ("HitBy"..Player.Name)
  5408. game:GetService("Debris"):AddItem(defence, 0.001)
  5409. if Humanoid.Health ~= 0 then
  5410. local CritChance = MRANDOM(1,100)
  5411. if CritChance < CritRate + 1 then
  5412. Damage = Damage*CritMultiplier
  5413. end
  5414. if Damage > Humanoid.Health then
  5415. Damage = math.ceil(Humanoid.Health)
  5416. if Damage == 0 then
  5417. Damage = 0.1
  5418. end
  5419. end
  5420. Humanoid.Health = Humanoid.Health - Damage
  5421. if Humanoid.Parent:FindFirstChild("Head") then
  5422. if CritChance < CritRate + 1 then
  5423. StatLabel("Normal", Humanoid.Parent.Head.CFrame * CF(0, 0 + (Humanoid.Parent.Head.Size.z - 1), 0), "CRIT//"..Damage, C3(1, 0, 0))
  5424. else
  5425. StatLabel("Normal", Humanoid.Parent.Head.CFrame * CF(0, 0 + (Humanoid.Parent.Head.Size.z - 1), 0), Damage, C3(0, 0, 0))
  5426. end
  5427. end
  5428. end
  5429. end
  5430.  
  5431. function AoEDamage(position,radius,min,max,maxstrength,critrate,critmultiplier,CanBeDodgedByJumping)
  5432. local dmg = math.random(min,max)
  5433. for i,v in ipairs(workspace:GetChildren()) do
  5434. if v:FindFirstChild("HitBy"..Player.Name) == nil then
  5435. local body = v:GetChildren()
  5436. for part = 1, #body do
  5437. if(v:FindFirstChild("HitBy"..Player.Name) == nil and (body[part].ClassName == "Part" or body[part].ClassName == "MeshPart") and v ~= Character) then
  5438. if(body[part].Position - position).Magnitude < radius then
  5439. if v.ClassName == "Model" then
  5440. if v:FindFirstChildOfClass("Humanoid") then
  5441. if CanBeDodgedByJumping == true then
  5442. if body[part].Position.Y < position.Y+5 then
  5443. ApplyDamage(v:FindFirstChildOfClass("Humanoid"),dmg,critrate,critmultiplier)
  5444. end
  5445. else
  5446. ApplyDamage(v:FindFirstChildOfClass("Humanoid"),dmg,critrate,critmultiplier)
  5447. end
  5448. local bv = Instance.new("BodyVelocity")
  5449. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  5450. bv.velocity = RootPart.CFrame.lookVector*maxstrength
  5451. bv.Parent = body[part]
  5452. Debris:AddItem(bv,0.2)
  5453. end
  5454. end
  5455. end
  5456. end
  5457. end
  5458. end
  5459. if v:FindFirstChild("HitBy"..Player.Name) then
  5460. v:FindFirstChild("HitBy"..Player.Name):remove()
  5461. end
  5462. end
  5463. end
  5464.  
  5465. --//=================================\\
  5466. --|| ATTACK FUNCTIONS AND STUFF
  5467. --\\=================================//
  5468.  
  5469. function CastProperRay(StartPos, Vec, Length, Ignore)
  5470. local Direction = CFrame.new(StartPos, Vec).lookVector
  5471. local Ignore = ((type(Ignore) == "table" and Ignore) or {Ignore})
  5472. local RayHit, RayPos, RayNormal = game:GetService("Workspace"):FindPartOnRayWithIgnoreList(Ray.new(StartPos, Direction * Length), Ignore)
  5473. return RayHit, RayPos, RayNormal
  5474. end
  5475.  
  5476. local PARTICLES = IT("ParticleEmitter")
  5477.  
  5478. function particles(art)
  5479. local EyeSizes={
  5480. NumberSequenceKeypoint.new(0,0,0),
  5481. NumberSequenceKeypoint.new(1,1*FORM,0)
  5482. }
  5483. local EyeTrans={
  5484. NumberSequenceKeypoint.new(0,0.5,0),
  5485. NumberSequenceKeypoint.new(1,1,0)
  5486. }
  5487. local PE=PARTICLES:Clone()
  5488. PE.Parent = art
  5489. PE.LightEmission=.3
  5490. PE.Color = ColorSequence.new(SKILLTEXTCOLOR)
  5491. PE.Size=NumberSequence.new(EyeSizes)
  5492. PE.Transparency=NumberSequence.new(EyeTrans)
  5493. PE.Lifetime=NumberRange.new(0.35,0.35,0.35)
  5494. PE.Rotation=NumberRange.new(0,360)
  5495. PE.Rate=999
  5496. PE.VelocitySpread = 10000
  5497. PE.LockedToPart = true
  5498. PE.Drag = 5
  5499. PE.Speed = NumberRange.new(0,0,0)
  5500. PE.Texture="http://www.roblox.com/asset/?id=1351966707"
  5501. PE.ZOffset = -1.5
  5502. PE.Name = "PE"
  5503. end
  5504.  
  5505. function AttackTemplate()
  5506. ATTACK = true
  5507. Rooted = false
  5508. for i=0, 1, 0.1 / Animation_Speed do
  5509. Swait()
  5510. 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)
  5511. 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)
  5512. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  5513. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  5514. 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)
  5515. 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)
  5516. end
  5517. ATTACK = false
  5518. Rooted = false
  5519. end
  5520.  
  5521. function Telekenesis()
  5522. if Mouse.Target ~= nil then
  5523. if Mouse.Target.Anchored == false then
  5524. local TELEPART = Mouse.Target
  5525. local grav = Instance.new("BodyPosition",TELEPART)
  5526. grav.P = 20000
  5527. grav.maxForce = Vector3.new(math.huge,math.huge,math.huge)
  5528. grav.Name = "GravityForce"
  5529. local DIST = (RootPart.Position - TELEPART.Position).Magnitude
  5530. ATTACK = true
  5531. Rooted = true
  5532. VALUE1 = true
  5533. FINGERWORK = true
  5534. local AUTOBREAK = false
  5535. CreateSound(PEWSOUND[MRANDOM(1,#PEWSOUND)], RightArm, 5, 1)
  5536. repeat
  5537. Swait()
  5538. local HEIGHT = (TELEPART.Position.Y - RightArm.Position.Y)
  5539. turnto(Mouse.Hit.p)
  5540. local RayHit,RayPos = CastProperRay(HandlePart.Position, Mouse.Hit.p, DIST, Character)
  5541. grav.position = RayPos
  5542. MagicSphere(VT(0.3,0.3,0.3),5,TelePart.CFrame,SKILLTEXTCOLOR,VT(-0.3,-0.3,-0.3)/5)
  5543. 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)
  5544. 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)
  5545. 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)
  5546. 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)
  5547. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  5548. 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)
  5549. 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)
  5550. if KEY ~= nil then
  5551. if KEY == "b" then
  5552. DIST = DIST - 10
  5553. elseif KEY == "c" then
  5554. DIST = DIST + 10
  5555. elseif KEY == "x" then
  5556. AUTOBREAK = true
  5557. for i=0, 2, 0.1 / Animation_Speed do
  5558. Swait()
  5559. MagicSphere(VT(0.3,0.3,0.3),5,TelePart.CFrame,SKILLTEXTCOLOR,VT(-0.3,-0.3,-0.3)/5)
  5560. 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)
  5561. 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)
  5562. 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)
  5563. 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)
  5564. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  5565. 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)
  5566. 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)
  5567. end
  5568. for i=0, 0.2, 0.1 / Animation_Speed do
  5569. Swait()
  5570. MagicSphere(VT(0.3,0.3,0.3),5,TelePart.CFrame,SKILLTEXTCOLOR,VT(-0.3,-0.3,-0.3)/5)
  5571. 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)
  5572. 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)
  5573. 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)
  5574. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.5, -0.5) * ANGLES(RAD(90+(HEIGHT)), RAD(0), RAD(45)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  5575. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 2 / Animation_Speed)
  5576. 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)
  5577. 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)
  5578. end
  5579. MagicBlock(1,15,RightArm.CFrame*CF(0,-1.2,0),SKILLTEXTCOLOR,VT(0.2,0.2,0.2))
  5580. CreateSound("907532865", RightArm, 5, 1)
  5581. grav:remove()
  5582. local bv = Instance.new("BodyVelocity")
  5583. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  5584. bv.velocity = CF(RootPart.Position,TELEPART.Position).lookVector*1500*FORM
  5585. bv.Parent = TELEPART
  5586. bv.Name = "MOVE"
  5587. Debris:AddItem(bv,0.1)
  5588. local Touched = Part.Touched:Connect(function(hit)
  5589. if hit.CanCollide == true then
  5590. if hit.Parent:FindFirstChildOfClass("Humanoid") and hit.Parent ~= Character then
  5591. ApplyDamage(hit.Parent:FindFirstChildOfClass("Humanoid"),MRANDOM(3,7)*FORM,2,2)
  5592. end
  5593. end
  5594. end)
  5595. coroutine.resume(coroutine.create(function()
  5596. Swait(250)
  5597. Touched:disconnect()
  5598. end))
  5599. for i=0, 0.8, 0.1 / Animation_Speed do
  5600. Swait()
  5601. 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)
  5602. 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)
  5603. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.5, -0.5) * ANGLES(RAD(90+(HEIGHT)), RAD(0), RAD(45)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  5604. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 2 / Animation_Speed)
  5605. 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)
  5606. 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)
  5607. end
  5608. elseif KEY == "z" then
  5609. AUTOBREAK = true
  5610. end
  5611. KEY = nil
  5612. end
  5613. until AUTOBREAK == true
  5614. if TELEPART ~= nil then
  5615. grav:remove()
  5616. end
  5617. ATTACK = false
  5618. Rooted = false
  5619. VALUE1 = false
  5620. FINGERWORK = false
  5621. end
  5622. end
  5623. end
  5624.  
  5625. function RockChuck()
  5626. if HITFLOOR ~= nil then
  5627. ATTACK = true
  5628. Rooted = true
  5629. FINGERWORK = true
  5630. local ROCKS = {}
  5631. for i=0, 1, 0.1 / Animation_Speed do
  5632. Swait()
  5633. turnto(Mouse.Hit.p)
  5634. MagicSphere(VT(0.3,0.3,0.3),5,TelePart.CFrame,SKILLTEXTCOLOR,VT(-0.3,-0.3,-0.3)/5)
  5635. 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)
  5636. 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)
  5637. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.75, 0) * ANGLES(RAD(170), RAD(25), RAD(-15)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  5638. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  5639. 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)
  5640. 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)
  5641. end
  5642. CreateSound(PEWSOUND[MRANDOM(1,#PEWSOUND)], RightArm, 5, 1)
  5643. for i = 1, FORM*4 do
  5644. local ROCK = CreatePart(3, Effects, "Metal", 0, 0, "Really black", "Handle", VT(1.5,1.5,1.5)*FORM, false)
  5645. ROCK.Material = HITFLOOR.Material
  5646. ROCK.Color = HITFLOOR.Color
  5647. particles(ROCK)
  5648. 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)))
  5649. local grav = Instance.new("BodyPosition",ROCK)
  5650. grav.P = 20000
  5651. grav.maxForce = Vector3.new(math.huge,math.huge,math.huge)
  5652. grav.Name = "F"
  5653. grav.Position = ROCK.Position + VT(0,MRANDOM(15,25),0)
  5654. table.insert(ROCKS,ROCK)
  5655. end
  5656. for i=0, 1, 0.1 / Animation_Speed do
  5657. Swait()
  5658. turnto(Mouse.Hit.p)
  5659. MagicSphere(VT(0.5,0.5,0.5),5,TelePart.CFrame,SKILLTEXTCOLOR,VT(-0.5,-0.5,-0.5)/5)
  5660. 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)
  5661. 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)
  5662. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.75, 0) * ANGLES(RAD(170), RAD(25), RAD(-15)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  5663. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  5664. 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)
  5665. 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)
  5666. end
  5667. for i=0, 0.2, 0.1 / Animation_Speed do
  5668. Swait()
  5669. turnto(Mouse.Hit.p)
  5670. MagicSphere(VT(0.5,0.5,0.5),5,TelePart.CFrame,SKILLTEXTCOLOR,VT(-0.5,-0.5,-0.5)/5)
  5671. 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)
  5672. 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)
  5673. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.5, -0.5) * ANGLES(RAD(90), RAD(25), RAD(0)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  5674. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  5675. 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)
  5676. 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)
  5677. end
  5678. for e=1,#ROCKS do
  5679. for i = 1, 5 do
  5680. turnto(Mouse.Hit.p)
  5681. MagicSphere(VT(0.5,0.5,0.5),5,TelePart.CFrame,SKILLTEXTCOLOR,VT(-0.5,-0.5,-0.5)/5)
  5682. 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)
  5683. Swait()
  5684. end
  5685. if ROCKS[e]~=nil then
  5686. local Thing=ROCKS[e]
  5687. if Thing~=nil then
  5688. local Part=Thing
  5689. for i=0, 0.3, 0.1 / Animation_Speed do
  5690. Swait()
  5691. MagicSphere(VT(0.3,0.3,0.3),5,TelePart.CFrame,SKILLTEXTCOLOR,VT(-0.3,-0.3,-0.3)/5)
  5692. --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)
  5693. 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)
  5694. 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)
  5695. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.5, -0.5) * ANGLES(RAD(90), RAD(0), RAD(-45)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  5696. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  5697. 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)
  5698. 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)
  5699. end
  5700. for i=0, 0.2, 0.1 / Animation_Speed do
  5701. Swait()
  5702. MagicSphere(VT(0.3,0.3,0.3),5,TelePart.CFrame,SKILLTEXTCOLOR,VT(-0.3,-0.3,-0.3)/5)
  5703. --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)
  5704. 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)
  5705. 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)
  5706. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.5, -0.5) * ANGLES(RAD(90), RAD(0), RAD(45)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  5707. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 2 / Animation_Speed)
  5708. 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)
  5709. 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)
  5710. end
  5711. CreateSound("907532865", RightArm, 5, 1)
  5712. MagicBlock(1,15,RightArm.CFrame*CF(0,-1.2,0),SKILLTEXTCOLOR,VT(0.2,0.2,0.2))
  5713. Part.F:remove()
  5714. Part.CanCollide = true
  5715. local bv = Instance.new("BodyVelocity")
  5716. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  5717. bv.velocity = CF(Part.Position,Mouse.Hit.p).lookVector*500*FORM
  5718. bv.Parent = Part
  5719. bv.Name = "MOVE"
  5720. Debris:AddItem(bv,0.1)
  5721. local Touched = Part.Touched:Connect(function(hit)
  5722. if hit.CanCollide == true then
  5723. CreateFlyingDebree(Part,Part.CFrame,5,(Part.Size/5)*FORM,2,15)
  5724. Part:remove()
  5725. if hit.Parent:FindFirstChildOfClass("Humanoid") and hit.Parent ~= Character then
  5726. ApplyDamage(hit.Parent:FindFirstChildOfClass("Humanoid"),MRANDOM(15,25)*FORM,2,2)
  5727. end
  5728. end
  5729. end)
  5730. end
  5731. end
  5732. end
  5733. FINGERWORK = false
  5734. ATTACK = false
  5735. Rooted = false
  5736. end
  5737. end
  5738.  
  5739. local asd = Instance.new("ParticleEmitter")
  5740. asd.Color = ColorSequence.new(Color3.new(1, 0, 0), Color3.new(.5, 0, 0))
  5741. asd.LightEmission = .1
  5742. asd.Size = NumberSequence.new(0.2)
  5743. asd.Texture = "http://www.roblox.com/asset/?ID=291880914"
  5744. aaa = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.2),NumberSequenceKeypoint.new(1, 5)})
  5745. bbb = NumberSequence.new({NumberSequenceKeypoint.new(0, 1),NumberSequenceKeypoint.new(0.0636, 0), NumberSequenceKeypoint.new(1, 1)})
  5746. asd.Transparency = bbb
  5747. asd.Size = aaa
  5748. asd.ZOffset = .9
  5749. asd.Acceleration = Vector3.new(0, -5, 0)
  5750. asd.LockedToPart = false
  5751. asd.EmissionDirection = "Back"
  5752. asd.Lifetime = NumberRange.new(1, 2)
  5753. asd.Rotation = NumberRange.new(-100, 100)
  5754. asd.RotSpeed = NumberRange.new(-100, 100)
  5755. asd.Speed = NumberRange.new(2)
  5756. asd.Enabled = false
  5757. asd.VelocitySpread = 10000
  5758.  
  5759. function getbloody(victim,amount)
  5760. local prtcl = asd:Clone()
  5761. prtcl.Parent = victim
  5762. prtcl:Emit(amount)
  5763. Debris:AddItem(prtcl,5)
  5764. end
  5765.  
  5766. function InnerCrusher()
  5767. if Mouse.Target ~= nil then
  5768. if Mouse.Target.Anchored == false then
  5769. if Mouse.Target.Parent:FindFirstChildOfClass("Humanoid") then
  5770. local HUMAN = Mouse.Target.Parent:FindFirstChildOfClass("Humanoid")
  5771. local TELEPART = Mouse.Target
  5772. local grav = Instance.new("BodyPosition",TELEPART)
  5773. grav.P = 20000
  5774. grav.maxForce = Vector3.new(math.huge,math.huge,math.huge)
  5775. grav.Name = "GravityForce"
  5776. local DIST = (RootPart.Position - TELEPART.Position).Magnitude
  5777. ATTACK = true
  5778. Rooted = true
  5779. FINGERWORK = true
  5780. local AUTOBREAK = false
  5781. CreateSound(PEWSOUND[MRANDOM(1,#PEWSOUND)], RightArm, 5, 1)
  5782. for i = 1, 150 do
  5783. Swait()
  5784. local HEIGHT = (TELEPART.Position.Y - RightArm.Position.Y)
  5785. turnto(TELEPART.Position)
  5786. grav.Position = TELEPART.Position + VT(0,2,0)
  5787. MagicSphere(VT(0.3,0.3,0.3),5,TelePart.CFrame,SKILLTEXTCOLOR,VT(-0.3,-0.3,-0.3)/5)
  5788. 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)
  5789. 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)
  5790. 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)
  5791. 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)
  5792. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  5793. 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)
  5794. 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)
  5795. end
  5796. for i = 1, 50 do
  5797. Swait()
  5798. local HEIGHT = (TELEPART.Position.Y - RightArm.Position.Y)
  5799. turnto(TELEPART.Position)
  5800. MagicSphere(VT(0.3,0.3,0.3),5,TelePart.CFrame,SKILLTEXTCOLOR,VT(-0.3,-0.3,-0.3)/5)
  5801. 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)
  5802. 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)
  5803. 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)
  5804. 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)
  5805. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  5806. 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)
  5807. 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)
  5808. end
  5809. FINGERWORK = false
  5810. for i = 1, 50 do
  5811. Swait()
  5812. ApplyDamage(HUMAN,MRANDOM(1,2),2,2)
  5813. if MRANDOM(1,5) == 1 then
  5814. CreateSound(HITPLAYERSOUNDS[MRANDOM(1, #HITPLAYERSOUNDS)], TELEPART, 1, (math.random(8,12)/10))
  5815. end
  5816. local HEIGHT = (TELEPART.Position.Y - RightArm.Position.Y)
  5817. turnto(TELEPART.Position)
  5818. getbloody(TELEPART,5)
  5819. MagicSphere(VT(0.3,0.3,0.3),5,TelePart.CFrame,SKILLTEXTCOLOR,VT(-0.3,-0.3,-0.3)/5)
  5820. 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)
  5821. 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)
  5822. 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)
  5823. 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)
  5824. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  5825. 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)
  5826. 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)
  5827. end
  5828. TELEPART.Velocity = VT(0,0,0)
  5829. ATTACK = false
  5830. Rooted = false
  5831. grav:remove()
  5832. FINGERWORK = false
  5833. end
  5834. end
  5835. end
  5836. end
  5837.  
  5838. function Meteor()
  5839. ATTACK = true
  5840. Rooted = false
  5841. FINGERWORK = true
  5842. local ROCKS = {}
  5843. for i=0, 1, 0.1 / Animation_Speed do
  5844. Swait()
  5845. turnto(Mouse.Hit.p)
  5846. MagicSphere(VT(0.3,0.3,0.3),5,TelePart.CFrame,SKILLTEXTCOLOR,VT(-0.3,-0.3,-0.3)/5)
  5847. 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)
  5848. 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)
  5849. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.75, 0) * ANGLES(RAD(170), RAD(25), RAD(-15)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  5850. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  5851. 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)
  5852. 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)
  5853. end
  5854. for i = 1, FORM do
  5855. local ROCK = CreatePart(3, Effects, "Granite", 0, 0, "Dark stone grey", "Handle", VT(25,25,25))
  5856. particles(ROCK)
  5857. local FIRE = IT("Fire",ROCK)
  5858. FIRE.Size = 60
  5859. FIRE.Heat = 0
  5860. FIRE.SecondaryColor = C3(0,0,0)
  5861. 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)))
  5862. ROCK.CanCollide = true
  5863. table.insert(ROCKS,ROCK)
  5864. end
  5865. CreateSound(PEWSOUND[MRANDOM(1,#PEWSOUND)], RightArm, 5, 1)
  5866. for i = 1, 50 do
  5867. Swait()
  5868. turnto(Mouse.Hit.p)
  5869. MagicSphere(VT(0.3,0.3,0.3),5,TelePart.CFrame,SKILLTEXTCOLOR,VT(-0.3,-0.3,-0.3)/5)
  5870. 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)
  5871. end
  5872. for e=1,#ROCKS do
  5873. for i = 1, 5 do
  5874. turnto(Mouse.Hit.p)
  5875. MagicSphere(VT(0.5,0.5,0.5),5,TelePart.CFrame,SKILLTEXTCOLOR,VT(-0.5,-0.5,-0.5)/5)
  5876. 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)
  5877. Swait()
  5878. end
  5879. if ROCKS[e]~=nil then
  5880. local Thing=ROCKS[e]
  5881. if Thing~=nil then
  5882. local Part=Thing
  5883. repeat
  5884. Swait()
  5885. turnto(Mouse.Hit.p)
  5886. MagicSphere(VT(0.3,0.3,0.3),5,TelePart.CFrame,SKILLTEXTCOLOR,VT(-0.3,-0.3,-0.3)/5)
  5887. 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)
  5888. 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)
  5889. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.75, 0) * ANGLES(RAD(170), RAD(25), RAD(-15)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  5890. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  5891. 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)
  5892. 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)
  5893. until HOLD == true
  5894. for i=0, 0.3, 0.1 / Animation_Speed do
  5895. Swait()
  5896. turnto(Mouse.Hit.p)
  5897. MagicSphere(VT(0.3,0.3,0.3),5,TelePart.CFrame,SKILLTEXTCOLOR,VT(-0.3,-0.3,-0.3)/5)
  5898. 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)
  5899. 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)
  5900. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.75, 0) * ANGLES(RAD(25), RAD(90), RAD(-15)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  5901. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 2 / Animation_Speed)
  5902. 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)
  5903. 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)
  5904. end
  5905. CreateSound("907532865", RightArm, 5, 1)
  5906. MagicBlock(1,15,RightArm.CFrame*CF(0,-1.2,0),SKILLTEXTCOLOR,VT(0.2,0.2,0.2))
  5907. Part.Anchored = false
  5908. local bv = Instance.new("BodyVelocity")
  5909. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  5910. bv.velocity = CF(Part.Position,Mouse.Hit.p).lookVector*300*FORM
  5911. bv.Parent = Part
  5912. bv.Name = "MOVE"
  5913. Debris:AddItem(bv,0.1)
  5914. local IMPACT = false
  5915. local Touched = Part.Touched:Connect(function(hit)
  5916. if hit.CanCollide == true and IMPACT == false then
  5917. IMPACT = true
  5918. Part.PE.Enabled = false
  5919. CreateFlyingDebree(Part,Part.CFrame,5,(Part.Size/2),2,65,true)
  5920. Part.Transparency = 1
  5921. Part.Anchored = true
  5922. Part.CanCollide = false
  5923. Part.Fire.Enabled = false
  5924. Debris:AddItem(Part,5)
  5925. MagicSphere(Part.Size,15,Part.CFrame,"CGA brown",Part.Size)
  5926. MagicSphere(Part.Size,15,Part.CFrame,"Deep orange",Part.Size/1.8)
  5927. CreateSound("144699494", Part, 5, 1)
  5928. local FLOOR, HITPOS = Raycast(Part.Position, (CF(Part.Position, Part.Position + VT(0, -1, 0))).lookVector, 35 , Part)
  5929. if FLOOR ~= nil then
  5930. CreateDebreeRing(FLOOR,HITPOS,15,VT(10,10,10),2)
  5931. end
  5932. if hit.Parent:FindFirstChildOfClass("Humanoid") and hit.Parent ~= Character then
  5933. ApplyDamage(hit.Parent:FindFirstChildOfClass("Humanoid"),MRANDOM(65,75)*FORM,2,2)
  5934. end
  5935. AoEDamage(Part.Position,45,15,65,5,2,2,false)
  5936. end
  5937. end)
  5938. end
  5939. end
  5940. end
  5941. FINGERWORK = false
  5942. ATTACK = false
  5943. Rooted = false
  5944. end
  5945.  
  5946. --//=================================\\
  5947. --|| ASSIGN THINGS TO KEYS
  5948. --\\=================================//
  5949.  
  5950. function MouseDown(Mouse)
  5951. HOLD = true
  5952. if ATTACK == false then
  5953. end
  5954. end
  5955.  
  5956. function MouseUp(Mouse)
  5957. HOLD = false
  5958. end
  5959.  
  5960. function KeyDown(Key)
  5961. KEYHOLD = true
  5962. if VALUE1 == true then
  5963. KEY = Key
  5964. end
  5965.  
  5966. if Key == "z" and ATTACK == false then
  5967. Telekenesis()
  5968. end
  5969.  
  5970. if Key == "b" and ATTACK == false then
  5971. RockChuck()
  5972. end
  5973.  
  5974. if Key == "c" and ATTACK == false then
  5975. InnerCrusher()
  5976. end
  5977.  
  5978. if Key == "x" and ATTACK == false then
  5979. Meteor()
  5980. end
  5981.  
  5982. if Key == "m" and ATTACK == false and Player.Name == "Shackluster" then
  5983. if FORM == 1 then
  5984. FORM = 2
  5985. elseif FORM == 2 then
  5986. FORM = 1
  5987. end
  5988. end
  5989. end
  5990.  
  5991. function KeyUp(Key)
  5992. KEYHOLD = false
  5993. end
  5994.  
  5995. Mouse.Button1Down:connect(function(NEWKEY)
  5996. MouseDown(NEWKEY)
  5997. end)
  5998. Mouse.Button1Up:connect(function(NEWKEY)
  5999. MouseUp(NEWKEY)
  6000. end)
  6001. Mouse.KeyDown:connect(function(NEWKEY)
  6002. KeyDown(NEWKEY)
  6003. end)
  6004. Mouse.KeyUp:connect(function(NEWKEY)
  6005. KeyUp(NEWKEY)
  6006. end)
  6007.  
  6008. --//=================================\\
  6009. --\\=================================//
  6010.  
  6011.  
  6012. function unanchor()
  6013. if UNANCHOR == true then
  6014. for _, c in pairs(Weapon:GetChildren()) do
  6015. if c.ClassName == "Part" then
  6016. c.Anchored = false
  6017. end
  6018. end
  6019. for _, c in pairs(Character:GetChildren()) do
  6020. if c.ClassName == "Part" then
  6021. c.Anchored = false
  6022. elseif c.ClassName == "Accessory" then
  6023. c.Handle.Anchored = false
  6024. end
  6025. end
  6026. end
  6027. end
  6028.  
  6029.  
  6030. --//=================================\\
  6031. --|| WRAP THE WHOLE SCRIPT UP
  6032. --\\=================================//
  6033.  
  6034. Humanoid.Changed:connect(function(Jump)
  6035. if Jump == "Jump" and (Disable_Jump == true) then
  6036. Humanoid.Jump = false
  6037. end
  6038. end)
  6039.  
  6040. while true do
  6041. Swait()
  6042. ANIMATE.Parent = nil
  6043. local IDLEANIMATION = Humanoid:LoadAnimation(ROBLOXIDLEANIMATION)
  6044. IDLEANIMATION:Play()
  6045. SINE = SINE + CHANGE
  6046. local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude
  6047. local TORSOVERTICALVELOCITY = RootPart.Velocity.y
  6048. local LV = Torso.CFrame:pointToObjectSpace(Torso.Velocity - Torso.Position)
  6049. HITFLOOR = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4 * Player_Size, Character)
  6050. local WALKSPEEDVALUE = 6 / (Humanoid.WalkSpeed / 16)
  6051. if ANIM == "Walk" and TORSOVELOCITY > 1 then
  6052. 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)
  6053. 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)
  6054. 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)
  6055. 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)
  6056. elseif (ANIM ~= "Walk") or (TORSOVELOCITY < 1) then
  6057. RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  6058. 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)
  6059. 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)
  6060. 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)
  6061. end
  6062. if TORSOVERTICALVELOCITY > 1 and HITFLOOR == nil then
  6063. ANIM = "Jump"
  6064. if ATTACK == false then
  6065. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  6066. 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)
  6067. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(20)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed)
  6068. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  6069. 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)
  6070. 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)
  6071. end
  6072. elseif TORSOVERTICALVELOCITY < -1 and HITFLOOR == nil then
  6073. ANIM = "Fall"
  6074. if ATTACK == false then
  6075. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 ) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  6076. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 , 0 + ((1) - 1)) * ANGLES(RAD(20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  6077. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(60)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed)
  6078. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-60)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  6079. 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)
  6080. 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)
  6081. end
  6082. elseif TORSOVELOCITY < 1 and HITFLOOR ~= nil then
  6083. ANIM = "Idle"
  6084. if ATTACK == false then
  6085. 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)
  6086. 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)
  6087. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  6088. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  6089. 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)
  6090. 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)
  6091. end
  6092. elseif TORSOVELOCITY > 1 and HITFLOOR ~= nil then
  6093. ANIM = "Walk"
  6094. WALK = WALK + 1 / Animation_Speed
  6095. if WALK >= 15 - (5 * (Humanoid.WalkSpeed / 16 / Player_Size)) then
  6096. WALK = 0
  6097. if WALKINGANIM == true then
  6098. WALKINGANIM = false
  6099. elseif WALKINGANIM == false then
  6100. WALKINGANIM = true
  6101. end
  6102. end
  6103. --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)
  6104. --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)
  6105. if ATTACK == false then
  6106. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.1) * ANGLES(RAD(5), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  6107. 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)
  6108. 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)
  6109. 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)
  6110. 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)
  6111. 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)
  6112. end
  6113. end
  6114. unanchor()
  6115. Humanoid.MaxHealth = "inf"
  6116. Humanoid.Health = "inf"
  6117. if Rooted == false then
  6118. Disable_Jump = false
  6119. Humanoid.WalkSpeed = Speed
  6120. elseif Rooted == true then
  6121. Disable_Jump = true
  6122. Humanoid.WalkSpeed = 0
  6123. end
  6124. if FORM == 1 then
  6125. if sick.SoundId ~= STAGE1MUSIC then
  6126. sick.SoundId = STAGE1MUSIC
  6127. sick:Play()
  6128. end
  6129. SKILLTEXTCOLOR = BRICKC("Maroon").Color
  6130. elseif FORM == 2 then
  6131. if sick.SoundId ~= STAGE2MUSIC then
  6132. sick.SoundId = STAGE2MUSIC
  6133. sick:Play()
  6134. end
  6135. SKILLTEXTCOLOR = BRICKC("Black").Color
  6136. end
  6137. if sick.Playing == false then
  6138. sick:Play()
  6139. end
  6140. sick.Parent = Character
  6141. SKILL1TEXT.TextColor3 = SKILLTEXTCOLOR
  6142. SKILL2TEXT.TextColor3 = SKILLTEXTCOLOR
  6143. SKILL3TEXT.TextColor3 = SKILLTEXTCOLOR
  6144. SKILL4TEXT.TextColor3 = SKILLTEXTCOLOR
  6145. for _, c in pairs(Weapon:GetChildren()) do
  6146. if c.ClassName == "Part" then
  6147. if c.Name == "MainColor" then
  6148. c.Color = SKILLTEXTCOLOR
  6149. end
  6150. if c:FindFirstChild("FingerJoint") then
  6151. local WELD = c:FindFirstChild("FingerJoint")
  6152. if FINGERWORK == false then
  6153. WELD.C1 = Clerp(WELD.C1, CF(-0.1, 0.3, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
  6154. elseif FINGERWORK == true then
  6155. WELD.C1 = Clerp(WELD.C1, CF(0, 0.3, 0) * ANGLES(RAD(0), RAD(0), RAD(-55)), 0.5 / Animation_Speed)
  6156. end
  6157. elseif c:FindFirstChild("FingerJoint2") then
  6158. local WELD = c:FindFirstChild("FingerJoint2")
  6159. if FINGERWORK == false then
  6160. WELD.C1 = Clerp(WELD.C1, CF(0, 0.3, 0.1) * ANGLES(RAD(90), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  6161. elseif FINGERWORK == true then
  6162. WELD.C1 = Clerp(WELD.C1, CF(0, 0.3, 0) * ANGLES(RAD(-55), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  6163. end
  6164. end
  6165. end
  6166. end
  6167. Humanoid.PlatformStand = false
  6168. Humanoid.Parent = Character
  6169. Character.Parent = workspace
  6170. script.Parent = PlayerGui
  6171. if VALUE1 == true then
  6172. SKILL1TEXT.Text = "[Z] Exit"
  6173. SKILL2TEXT.Text = "[B] Decrease"
  6174. SKILL3TEXT.Text = "[C] Increase"
  6175. SKILL4TEXT.Text = "[X] Force push"
  6176. elseif VALUE1 == false then
  6177. SKILL1TEXT.Text = "[Z] Telekenesis"
  6178. SKILL2TEXT.Text = "[B] Rock Chuck"
  6179. SKILL3TEXT.Text = "[C] Inner Crusher"
  6180. SKILL4TEXT.Text = "[X] Meteor"
  6181. end
  6182. end
  6183.  
  6184. --//=================================\\
  6185. --\\=================================//
  6186.  
  6187.  
  6188.  
  6189.  
  6190.  
  6191. --//====================================================\\--
  6192. --|| END OF SCRIPT
  6193. --\\====================================================//--wait(0.2)
  6194.  
  6195. Player = game:GetService("Players").LocalPlayer
  6196. PlayerGui = Player.PlayerGui
  6197. Cam = workspace.CurrentCamera
  6198. Backpack = Player.Backpack
  6199. Character = Player.Character
  6200. Humanoid = Character.Humanoid
  6201. Mouse = Player:GetMouse()
  6202. RootPart = Character["HumanoidRootPart"]
  6203. Torso = Character["Torso"]
  6204. Head = Character["Head"]
  6205. RightArm = Character["Right Arm"]
  6206. LeftArm = Character["Left Arm"]
  6207. RightLeg = Character["Right Leg"]
  6208. LeftLeg = Character["Left Leg"]
  6209. RootJoint = RootPart["RootJoint"]
  6210. Neck = Torso["Neck"]
  6211. RightShoulder = Torso["Right Shoulder"]
  6212. LeftShoulder = Torso["Left Shoulder"]
  6213. RightHip = Torso["Right Hip"]
  6214. LeftHip = Torso["Left Hip"]
  6215. local sick = Instance.new("Sound",Character)
  6216. sick.SoundId = "rbxassetid://203941422"
  6217. sick.Looped = true
  6218. sick.Pitch = 1
  6219. sick.Volume = 1
  6220. sick:Play()
  6221. local FORM = 1
  6222. local STAGE1MUSIC = "rbxassetid://147888653"
  6223. local STAGE2MUSIC = "rbxassetid://212693212"
  6224. local txt = Instance.new("BillboardGui", Character)
  6225. CV="Lime green"
  6226. txt.Adornee = Character.Head
  6227. txt.Name = "_status"
  6228. txt.Size = UDim2.new(2, 0, 1.2, 0)
  6229. txt.StudsOffset = Vector3.new(-9, 8, 0)
  6230. local text = Instance.new("TextLabel", txt)
  6231. text.Size = UDim2.new(10, 0, 7, 0)
  6232. text.FontSize = "Size24"
  6233. text.TextScaled = true
  6234. text.TextTransparency = 0
  6235. text.BackgroundTransparency = 1
  6236. text.TextTransparency = 0
  6237. text.TextStrokeTransparency = 0
  6238. text.Font = "Bodoni"
  6239. text.TextStrokeColor3 = BrickColor.new("Crimson").Color
  6240. text.TextColor3 = BrickColor.new("Really red").Color
  6241. text.Text = "Red robot"
  6242.  
  6243.  
  6244.  
  6245. IT = Instance.new
  6246. CF = CFrame.new
  6247. VT = Vector3.new
  6248. RAD = math.rad
  6249. C3 = Color3.new
  6250. UD2 = UDim2.new
  6251. BRICKC = BrickColor.new
  6252. ANGLES = CFrame.Angles
  6253. EULER = CFrame.fromEulerAnglesXYZ
  6254. COS = math.cos
  6255. ACOS = math.acos
  6256. SIN = math.sin
  6257. ASIN = math.asin
  6258. ABS = math.abs
  6259. MRANDOM = math.random
  6260. FLOOR = math.floor
  6261.  
  6262. function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
  6263. local NEWMESH = IT(MESH)
  6264. if MESH == "SpecialMesh" then
  6265. NEWMESH.MeshType = MESHTYPE
  6266. if MESHID ~= "nil" and MESHID ~= "" then
  6267. NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID
  6268. end
  6269. if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
  6270. NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID
  6271. end
  6272. end
  6273. NEWMESH.Offset = OFFSET or VT(0, 0, 0)
  6274. NEWMESH.Scale = SCALE
  6275. NEWMESH.Parent = PARENT
  6276. return NEWMESH
  6277. end
  6278.  
  6279. function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
  6280. local NEWPART = IT("Part")
  6281. NEWPART.formFactor = FORMFACTOR
  6282. NEWPART.Reflectance = REFLECTANCE
  6283. NEWPART.Transparency = TRANSPARENCY
  6284. NEWPART.CanCollide = false
  6285. NEWPART.Locked = true
  6286. NEWPART.Anchored = true
  6287. if ANCHOR == false then
  6288. NEWPART.Anchored = false
  6289. end
  6290. NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
  6291. NEWPART.Name = NAME
  6292. NEWPART.Size = SIZE
  6293. NEWPART.Position = Torso.Position
  6294. NEWPART.Material = MATERIAL
  6295. NEWPART:BreakJoints()
  6296. NEWPART.Parent = PARENT
  6297. return NEWPART
  6298. end
  6299.  
  6300. --//=================================\\
  6301. --|| CUSTOMIZATION
  6302. --\\=================================//
  6303.  
  6304. Player_Size = 1 --Size of the player.
  6305. Animation_Speed = 3
  6306. Animation_Speed2 = 0.7
  6307. Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60)
  6308.  
  6309. local Speed = 16
  6310. local Effects2 = {}
  6311.  
  6312. --//=================================\\
  6313. --|| END OF CUSTOMIZATION
  6314. --\\=================================//
  6315.  
  6316. local function weldBetween(a, b)
  6317. local weldd = Instance.new("ManualWeld")
  6318. weldd.Part0 = a
  6319. weldd.Part1 = b
  6320. weldd.C0 = CFrame.new()
  6321. weldd.C1 = b.CFrame:inverse() * a.CFrame
  6322. weldd.Parent = a
  6323. return weldd
  6324. end
  6325.  
  6326. --//=================================\\
  6327. --|| USEFUL VALUES
  6328. --\\=================================//
  6329.  
  6330. local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  6331. local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  6332. local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0))
  6333. local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0))
  6334. local CHANGEDEFENSE = 0
  6335. local CHANGEDAMAGE = 0
  6336. local CHANGEMOVEMENT = 0
  6337. local ANIM = "Idle"
  6338. local ATTACK = false
  6339. local EQUIPPED = false
  6340. local HOLD = false
  6341. local COMBO = 1
  6342. local Rooted = false
  6343. local SINE = 0
  6344. local KEYHOLD = false
  6345. local CHANGE = 2 / Animation_Speed
  6346. local WALKINGANIM = false
  6347. local WALK = 0
  6348. local VALUE1 = false
  6349. local VALUE2 = false
  6350. local ROBLOXIDLEANIMATION = IT("Animation")
  6351. ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation"
  6352. ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571"
  6353. --ROBLOXIDLEANIMATION.Parent = Humanoid
  6354. local WEAPONGUI = IT("ScreenGui", PlayerGui)
  6355. WEAPONGUI.Name = "Weapon GUI"
  6356. local Weapon = IT("Model")
  6357. Weapon.Name = "Adds"
  6358. local Effects = IT("Folder", Weapon)
  6359. Effects.Name = "Effects"
  6360. local TelekenesisEffects = IT("Folder", Weapon)
  6361. TelekenesisEffects.Name = "HoldGraphics"
  6362. local ANIMATOR = Humanoid.Animator
  6363. local ANIMATE = Character.Animate
  6364. local HITPLAYERSOUNDS = {--[["199149137", "199149186", "199149221", "199149235", "199149269", "199149297"--]]"263032172", "263032182", "263032200", "263032221", "263032252", "263033191"}
  6365. local HITARMORSOUNDS = {"199149321", "199149338", "199149367", "199149409", "199149452"}
  6366. local HITWEAPONSOUNDS = {"199148971", "199149025", "199149072", "199149109", "199149119"}
  6367. local HITBLOCKSOUNDS = {"199148933", "199148947"}
  6368. local UNANCHOR = true
  6369. local TELEBODY = nil
  6370. local NESISPART = nil
  6371. local FINGERWORK = false
  6372. local KEY = nil
  6373. local PEWSOUND = {"907527750","907527912","907528019","907530553"}
  6374.  
  6375. local SKILLTEXTCOLOR = BRICKC("Maroon").Color
  6376.  
  6377. --//=================================\\
  6378. --\\=================================//
  6379.  
  6380.  
  6381. --//=================================\\
  6382. --|| SAZERENOS' ARTIFICIAL HEARTBEAT
  6383. --\\=================================//
  6384.  
  6385. ArtificialHB = Instance.new("BindableEvent", script)
  6386. ArtificialHB.Name = "ArtificialHB"
  6387.  
  6388. script:WaitForChild("ArtificialHB")
  6389.  
  6390. frame = Frame_Speed
  6391. tf = 0
  6392. allowframeloss = false
  6393. tossremainder = false
  6394. lastframe = tick()
  6395. script.ArtificialHB:Fire()
  6396.  
  6397. game:GetService("RunService").Heartbeat:connect(function(s, p)
  6398. tf = tf + s
  6399. if tf >= frame then
  6400. if allowframeloss then
  6401. script.ArtificialHB:Fire()
  6402. lastframe = tick()
  6403. else
  6404. for i = 1, math.floor(tf / frame) do
  6405. script.ArtificialHB:Fire()
  6406. end
  6407. lastframe = tick()
  6408. end
  6409. if tossremainder then
  6410. tf = 0
  6411. else
  6412. tf = tf - frame * math.floor(tf / frame)
  6413. end
  6414. end
  6415. end)
  6416.  
  6417. --//=================================\\
  6418. --\\=================================//
  6419.  
  6420.  
  6421.  
  6422.  
  6423.  
  6424. --//=================================\\
  6425. --|| SOME FUNCTIONS
  6426. --\\=================================//
  6427.  
  6428. function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
  6429. return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
  6430. end
  6431.  
  6432. function PositiveAngle(NUMBER)
  6433. if NUMBER >= 0 then
  6434. NUMBER = 0
  6435. end
  6436. return NUMBER
  6437. end
  6438.  
  6439. function NegativeAngle(NUMBER)
  6440. if NUMBER <= 0 then
  6441. NUMBER = 0
  6442. end
  6443. return NUMBER
  6444. end
  6445.  
  6446. function Swait(NUMBER)
  6447. if NUMBER == 0 or NUMBER == nil then
  6448. ArtificialHB.Event:wait()
  6449. else
  6450. for i = 1, NUMBER do
  6451. ArtificialHB.Event:wait()
  6452. end
  6453. end
  6454. end
  6455.  
  6456. function QuaternionFromCFrame(cf)
  6457. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  6458. local trace = m00 + m11 + m22
  6459. if trace > 0 then
  6460. local s = math.sqrt(1 + trace)
  6461. local recip = 0.5 / s
  6462. return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  6463. else
  6464. local i = 0
  6465. if m11 > m00 then
  6466. i = 1
  6467. end
  6468. if m22 > (i == 0 and m00 or m11) then
  6469. i = 2
  6470. end
  6471. if i == 0 then
  6472. local s = math.sqrt(m00 - m11 - m22 + 1)
  6473. local recip = 0.5 / s
  6474. return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  6475. elseif i == 1 then
  6476. local s = math.sqrt(m11 - m22 - m00 + 1)
  6477. local recip = 0.5 / s
  6478. return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  6479. elseif i == 2 then
  6480. local s = math.sqrt(m22 - m00 - m11 + 1)
  6481. local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  6482. end
  6483. end
  6484. end
  6485.  
  6486. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  6487. local xs, ys, zs = x + x, y + y, z + z
  6488. local wx, wy, wz = w * xs, w * ys, w * zs
  6489. local xx = x * xs
  6490. local xy = x * ys
  6491. local xz = x * zs
  6492. local yy = y * ys
  6493. local yz = y * zs
  6494. local zz = z * zs
  6495. 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))
  6496. end
  6497.  
  6498. function QuaternionSlerp(a, b, t)
  6499. local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  6500. local startInterp, finishInterp;
  6501. if cosTheta >= 0.0001 then
  6502. if (1 - cosTheta) > 0.0001 then
  6503. local theta = ACOS(cosTheta)
  6504. local invSinTheta = 1 / SIN(theta)
  6505. startInterp = SIN((1 - t) * theta) * invSinTheta
  6506. finishInterp = SIN(t * theta) * invSinTheta
  6507. else
  6508. startInterp = 1 - t
  6509. finishInterp = t
  6510. end
  6511. else
  6512. if (1 + cosTheta) > 0.0001 then
  6513. local theta = ACOS(-cosTheta)
  6514. local invSinTheta = 1 / SIN(theta)
  6515. startInterp = SIN((t - 1) * theta) * invSinTheta
  6516. finishInterp = SIN(t * theta) * invSinTheta
  6517. else
  6518. startInterp = t - 1
  6519. finishInterp = t
  6520. end
  6521. end
  6522. 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
  6523. end
  6524.  
  6525. function Clerp(a, b, t)
  6526. local qa = {QuaternionFromCFrame(a)}
  6527. local qb = {QuaternionFromCFrame(b)}
  6528. local ax, ay, az = a.x, a.y, a.z
  6529. local bx, by, bz = b.x, b.y, b.z
  6530. local _t = 1 - t
  6531. return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  6532. end
  6533.  
  6534. function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME)
  6535. local frame = IT("Frame")
  6536. frame.BackgroundTransparency = TRANSPARENCY
  6537. frame.BorderSizePixel = BORDERSIZEPIXEL
  6538. frame.Position = POSITION
  6539. frame.Size = SIZE
  6540. frame.BackgroundColor3 = COLOR
  6541. frame.BorderColor3 = BORDERCOLOR
  6542. frame.Name = NAME
  6543. frame.Parent = PARENT
  6544. return frame
  6545. end
  6546.  
  6547. function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME)
  6548. local label = IT("TextLabel")
  6549. label.BackgroundTransparency = 1
  6550. label.Size = UD2(1, 0, 1, 0)
  6551. label.Position = UD2(0, 0, 0, 0)
  6552. label.TextColor3 = TEXTCOLOR
  6553. label.TextStrokeTransparency = STROKETRANSPARENCY
  6554. label.TextTransparency = TRANSPARENCY
  6555. label.FontSize = TEXTFONTSIZE
  6556. label.Font = TEXTFONT
  6557. label.BorderSizePixel = BORDERSIZEPIXEL
  6558. label.TextScaled = false
  6559. label.Text = TEXT
  6560. label.Name = NAME
  6561. label.Parent = PARENT
  6562. return label
  6563. end
  6564.  
  6565. function NoOutlines(PART)
  6566. PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10
  6567. end
  6568.  
  6569.  
  6570. function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
  6571. local NEWWELD = IT(TYPE)
  6572. NEWWELD.Part0 = PART0
  6573. NEWWELD.Part1 = PART1
  6574. NEWWELD.C0 = C0
  6575. NEWWELD.C1 = C1
  6576. NEWWELD.Parent = PARENT
  6577. return NEWWELD
  6578. end
  6579.  
  6580. function CreateSound(ID, PARENT, VOLUME, PITCH)
  6581. local NEWSOUND = nil
  6582. coroutine.resume(coroutine.create(function()
  6583. NEWSOUND = IT("Sound", PARENT)
  6584. NEWSOUND.Volume = VOLUME
  6585. NEWSOUND.Pitch = PITCH
  6586. NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID
  6587. Swait()
  6588. NEWSOUND:play()
  6589. game:GetService("Debris"):AddItem(NEWSOUND, 10)
  6590. end))
  6591. return NEWSOUND
  6592. end
  6593.  
  6594. function CFrameFromTopBack(at, top, back)
  6595. local right = top:Cross(back)
  6596. 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)
  6597. end
  6598.  
  6599. function MakeForm(PART,TYPE)
  6600. if TYPE == "Cyl" then
  6601. local MSH = IT("CylinderMesh",PART)
  6602. elseif TYPE == "Ball" then
  6603. local MSH = IT("SpecialMesh",PART)
  6604. MSH.MeshType = "Sphere"
  6605. elseif TYPE == "Wedge" then
  6606. local MSH = IT("SpecialMesh",PART)
  6607. MSH.MeshType = "Wedge"
  6608. end
  6609. end
  6610.  
  6611. function CheckTableForString(Table, String)
  6612. for i, v in pairs(Table) do
  6613. if string.find(string.lower(String), string.lower(v)) then
  6614. return true
  6615. end
  6616. end
  6617. return false
  6618. end
  6619.  
  6620. function CheckIntangible(Hit)
  6621. local ProjectileNames = {"Water", "Arrow", "Projectile", "Effect", "Rail", "Lightning", "Bullet"}
  6622. if Hit and Hit.Parent then
  6623. if ((not Hit.CanCollide or CheckTableForString(ProjectileNames, Hit.Name)) and not Hit.Parent:FindFirstChild("Humanoid")) then
  6624. return true
  6625. end
  6626. end
  6627. return false
  6628. end
  6629.  
  6630. Debris = game:GetService("Debris")
  6631.  
  6632. function CastZapRay(StartPos, Vec, Length, Ignore, DelayIfHit)
  6633. local Direction = CFrame.new(StartPos, Vec).lookVector
  6634. local Ignore = ((type(Ignore) == "table" and Ignore) or {Ignore})
  6635. local RayHit, RayPos, RayNormal = game:GetService("Workspace"):FindPartOnRayWithIgnoreList(Ray.new(StartPos, Direction * Length), Ignore)
  6636. if RayHit and CheckIntangible(RayHit) then
  6637. if DelayIfHit then
  6638. wait()
  6639. end
  6640. RayHit, RayPos, RayNormal = CastZapRay((RayPos + (Vec * 0.01)), Vec, (Length - ((StartPos - RayPos).magnitude)), Ignore, DelayIfHit)
  6641. end
  6642. return RayHit, RayPos, RayNormal
  6643. end
  6644.  
  6645. function turnto(position)
  6646. RootPart.CFrame=CFrame.new(RootPart.CFrame.p,VT(position.X,RootPart.Position.Y,position.Z)) * CFrame.new(0, 0, 0)
  6647. end
  6648.  
  6649. function MagicSphere(SIZE,WAIT,CFRAME,COLOR,GROW)
  6650. local wave = CreatePart(3, Effects, "Neon", 0, 0, BRICKC(COLOR), "Effect", VT(1,1,1), true)
  6651. local mesh = IT("SpecialMesh",wave)
  6652. mesh.MeshType = "Sphere"
  6653. mesh.Scale = SIZE
  6654. mesh.Offset = VT(0,0,0)
  6655. wave.CFrame = CFRAME
  6656. coroutine.resume(coroutine.create(function(PART)
  6657. for i = 1, WAIT do
  6658. Swait()
  6659. mesh.Scale = mesh.Scale + GROW
  6660. wave.Transparency = wave.Transparency + (1/WAIT)
  6661. if wave.Transparency > 0.99 then
  6662. wave:remove()
  6663. end
  6664. end
  6665. end))
  6666. end
  6667.  
  6668. function Slice(SIZE,WAIT,CFRAME,COLOR,GROW)
  6669. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(1,1,1), true)
  6670. local mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "448386996", "", VT(0,SIZE/10,SIZE/10), VT(0,0,0))
  6671. wave.CFrame = CFRAME
  6672. coroutine.resume(coroutine.create(function(PART)
  6673. for i = 1, WAIT do
  6674. Swait()
  6675. mesh.Scale = mesh.Scale * GROW
  6676. wave.Transparency = wave.Transparency + (0.5/WAIT)
  6677. if wave.Transparency > 0.99 then
  6678. wave:remove()
  6679. end
  6680. end
  6681. end))
  6682. end
  6683.  
  6684. function CreateDebreeRing(FLOOR,POSITION,SIZE,BLOCKSIZE,SWAIT)
  6685. if FLOOR ~= nil then
  6686. coroutine.resume(coroutine.create(function()
  6687. local PART = CreatePart(3, Effects, "Plastic", 0, 1, "Pearl", "DebreeCenter", VT(0,0,0))
  6688. PART.CFrame = CF(POSITION)
  6689. for i = 1, 45 do
  6690. local RingPiece = CreatePart(3, Effects, "Plastic", 0, 0, "Pearl", "DebreePart", BLOCKSIZE)
  6691. RingPiece.Material = FLOOR.Material
  6692. RingPiece.Color = FLOOR.Color
  6693. 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)))
  6694. Debris:AddItem(RingPiece,SWAIT)
  6695. end
  6696. PART:remove()
  6697. end))
  6698. end
  6699. end
  6700.  
  6701. function CreateFlyingDebree(FLOOR,POSITION,AMOUNT,BLOCKSIZE,SWAIT,STRENGTH,DOESBREAK)
  6702. if FLOOR ~= nil then
  6703. for i = 1, AMOUNT do
  6704. local DEBREE = CreatePart(3, Effects, "Neon", 0, 0, "Peal", "Debree", BLOCKSIZE, false)
  6705. DEBREE.Material = FLOOR.Material
  6706. DEBREE.Color = FLOOR.Color
  6707. DEBREE.CFrame = POSITION * ANGLES(RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360)))
  6708. DEBREE.Velocity = VT(MRANDOM(-STRENGTH,STRENGTH),MRANDOM(STRENGTH/2,STRENGTH*2),MRANDOM(-STRENGTH,STRENGTH))
  6709. coroutine.resume(coroutine.create(function()
  6710. if DOESBREAK == true then
  6711. local IMPACT = false
  6712. local Touched = DEBREE.Touched:Connect(function(hit)
  6713. if hit.CanCollide == true and hit.Parent ~= Effects and IMPACT == false then
  6714. IMPACT = true
  6715. CreateFlyingDebree(FLOOR,DEBREE.CFrame,5,DEBREE.Size/2,SWAIT,STRENGTH,false)
  6716. end
  6717. end)
  6718. end
  6719. Swait(15)
  6720. DEBREE.Parent = workspace
  6721. DEBREE.CanCollide = true
  6722. Debris:AddItem(DEBREE,SWAIT)
  6723. end))
  6724. end
  6725. end
  6726. end
  6727.  
  6728. function MagicBlock(SIZE,WAIT,CFRAME,COLOR,GROW)
  6729. local wave = CreatePart(3, Effects, "Neon", 0, 0, BRICKC(COLOR), "Effect", VT(SIZE,SIZE,SIZE), true)
  6730. local mesh = IT("BlockMesh",wave)
  6731. wave.CFrame = CFRAME * ANGLES(RAD(math.random(-360,360)),RAD(math.random(-360,360)),RAD(math.random(-360,360)))
  6732. coroutine.resume(coroutine.create(function(PART)
  6733. for i = 1, WAIT do
  6734. Swait()
  6735. mesh.Scale = mesh.Scale + GROW
  6736. wave.CFrame = CFRAME * ANGLES(RAD(math.random(-360,360)),RAD(math.random(-360,360)),RAD(math.random(-360,360)))
  6737. wave.Transparency = wave.Transparency + (1/WAIT)
  6738. if wave.Transparency > 0.99 then
  6739. wave:remove()
  6740. end
  6741. end
  6742. end))
  6743. end
  6744.  
  6745. --//=================================\\
  6746. --|| WEAPON CREATION
  6747. --\\=================================//
  6748.  
  6749. local HITFLOOR = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4 * Player_Size, Character)
  6750.  
  6751. local HandlePart = CreatePart(3, Weapon, "DiamondPlate", 0, 0, "Maroon", "MainColor", VT(1.2,1.21,1.2),false)
  6752. local Weld = CreateWeldOrSnapOrMotor("Weld", HandlePart, RightArm, HandlePart, CF(0, -0.6, 0) * ANGLES(RAD(0), RAD(90), RAD(0)), CF(0, 0, 0))
  6753. local HandlePart = CreatePart(3, Weapon, "Metal", 0, 0, "EEE", "Handle", VT(1.05,1.21,0.5),false)
  6754. HandlePart.Color = C3(0,0,0)
  6755. local Weld = CreateWeldOrSnapOrMotor("Weld", HandlePart, RightArm, HandlePart, CF(0.3, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0)), CF(0, 0, 0))
  6756.  
  6757. local HandlePart = CreatePart(3, Weapon, "DiamondPlate", 0, 0, "Really black", "MainColor", VT(1.06,1.05,0.2),false)
  6758. local Weld = CreateWeldOrSnapOrMotor("Weld", HandlePart, RightArm, HandlePart, CF(0, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0)), CF(0, 0, 0))
  6759. local HandlePart = CreatePart(3, Weapon, "DiamondPlate", 0, 0, "Really black", "MainColor", VT(1.06,0.2,0.7),false)
  6760. local Weld = CreateWeldOrSnapOrMotor("Weld", HandlePart, RightArm, HandlePart, CF(0.25, 0.6, 0) * ANGLES(RAD(0), RAD(90), RAD(0)), CF(0, 0, 0))
  6761.  
  6762. local HandlePart = CreatePart(3, Weapon, "Metal", 0, 0, "Really black", "Handle", VT(1.015,0.2,1.015),false)
  6763. local Weld = CreateWeldOrSnapOrMotor("Weld", HandlePart, RightArm, HandlePart, CF(0, -0.2, 0) * ANGLES(RAD(0), RAD(90), RAD(0)), CF(0, 0, 0))
  6764. local TelePart = CreatePart(3, Weapon, "Metal", 0, 0, "Really black", "Handle", VT(1,0.09,1),false)
  6765. local Weld = CreateWeldOrSnapOrMotor("Weld", TelePart, RightArm, TelePart, CF(0, -1.161, 0) * ANGLES(RAD(0), RAD(90), RAD(0)), CF(0, 0, 0))
  6766. MakeForm(TelePart,"Cyl")
  6767. local TelePart = CreatePart(3, Weapon, "Neon", 0, 0, "Maroon", "MainColor", VT(0.7,0.1,0.7),false)
  6768. local Weld = CreateWeldOrSnapOrMotor("Weld", TelePart, RightArm, TelePart, CF(0, -1.161, 0) * ANGLES(RAD(0), RAD(90), RAD(0)), CF(0, 0, 0))
  6769. MakeForm(TelePart,"Cyl")
  6770. local HandlePart = CreatePart(3, Weapon, "Metal", 0, 0, "Really black", "Handle", VT(1.015,0.2,1.015),false)
  6771. local Weld = CreateWeldOrSnapOrMotor("Weld", HandlePart, RightArm, HandlePart, CF(0, -1.1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)), CF(0, 0, 0))
  6772.  
  6773. local HandlePart = CreatePart(3, Weapon, "Metal", 0, 0, "Really black", "Handle", VT(0.2,1.21,0.2),false)
  6774. local Weld = CreateWeldOrSnapOrMotor("Weld", HandlePart, RightArm, HandlePart, CF(0.35, -0.2, 0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  6775. MakeForm(HandlePart,"Cyl")
  6776. local HandlePart = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Handle", VT(0.15,1.22,0),false)
  6777. local Weld = CreateWeldOrSnapOrMotor("Weld", HandlePart, RightArm, HandlePart, CF(0.35, -0.2, 0) * ANGLES(RAD(90), RAD(45), RAD(0)), CF(0, 0, 0))
  6778. local HandlePart = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Handle", VT(0.15,1.22,0),false)
  6779. local Weld = CreateWeldOrSnapOrMotor("Weld", HandlePart, RightArm, HandlePart, CF(0.35, -0.2, 0) * ANGLES(RAD(90), RAD(-45), RAD(0)), CF(0, 0, 0))
  6780.  
  6781. local HandlePart = CreatePart(3, Weapon, "Metal", 0, 0, "Really black", "Handle", VT(0.2,1.21,0.2),false)
  6782. local Weld = CreateWeldOrSnapOrMotor("Weld", HandlePart, RightArm, HandlePart, CF(-0.35, -0.2, 0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  6783. MakeForm(HandlePart,"Cyl")
  6784. local HandlePart = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Handle", VT(0.15,1.22,0),false)
  6785. local Weld = CreateWeldOrSnapOrMotor("Weld", HandlePart, RightArm, HandlePart, CF(-0.35, -0.2, 0) * ANGLES(RAD(90), RAD(45), RAD(0)), CF(0, 0, 0))
  6786. local HandlePart = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Handle", VT(0.15,1.22,0),false)
  6787. local Weld = CreateWeldOrSnapOrMotor("Weld", HandlePart, RightArm, HandlePart, CF(-0.35, -0.2, 0) * ANGLES(RAD(90), RAD(-45), RAD(0)), CF(0, 0, 0))
  6788.  
  6789. local HandlePart = CreatePart(3, Weapon, "Metal", 0, 0, "Really black", "Handle", VT(0.2,1.21,0.2),false)
  6790. local Weld = CreateWeldOrSnapOrMotor("Weld", HandlePart, RightArm, HandlePart, CF(0.35, -1, 0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  6791. MakeForm(HandlePart,"Cyl")
  6792. local HandlePart = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Handle", VT(0.15,1.22,0),false)
  6793. local Weld = CreateWeldOrSnapOrMotor("Weld", HandlePart, RightArm, HandlePart, CF(0.35, -1, 0) * ANGLES(RAD(90), RAD(45), RAD(0)), CF(0, 0, 0))
  6794. local HandlePart = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Handle", VT(0.15,1.22,0),false)
  6795. local Weld = CreateWeldOrSnapOrMotor("Weld", HandlePart, RightArm, HandlePart, CF(0.35, -1, 0) * ANGLES(RAD(90), RAD(-45), RAD(0)), CF(0, 0, 0))
  6796.  
  6797. local HandlePart = CreatePart(3, Weapon, "Metal", 0, 0, "Really black", "Handle", VT(0.2,1.21,0.2),false)
  6798. local Weld = CreateWeldOrSnapOrMotor("Weld", HandlePart, RightArm, HandlePart, CF(-0.35, -1, 0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  6799. MakeForm(HandlePart,"Cyl")
  6800. local HandlePart = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Handle", VT(0.15,1.22,0),false)
  6801. local Weld = CreateWeldOrSnapOrMotor("Weld", HandlePart, RightArm, HandlePart, CF(-0.35, -1, 0) * ANGLES(RAD(90), RAD(45), RAD(0)), CF(0, 0, 0))
  6802. local HandlePart = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Handle", VT(0.15,1.22,0),false)
  6803. local Weld = CreateWeldOrSnapOrMotor("Weld", HandlePart, RightArm, HandlePart, CF(-0.35, -1, 0) * ANGLES(RAD(90), RAD(-45), RAD(0)), CF(0, 0, 0))
  6804.  
  6805. local HandlePart = CreatePart(3, Weapon, "Metal", 0, 0, "Really black", "Handle", VT(0.4,0.4,0.4),false)
  6806. 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))
  6807. MakeForm(HandlePart,"Ball")
  6808. local FingerPart = CreatePart(3, Weapon, "DiamondPlate", 0, 0, "Really black", "Handle", VT(0.25,0.2,0.25),false)
  6809. 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))
  6810. MakeForm(FingerPart,"Cyl")
  6811. Weld.Name = "FingerJoint"
  6812. local Part = CreatePart(3, Weapon, "DiamondPlate", 0, 0, "Really black", "MainColor", VT(0.26,0.3,0.26),false)
  6813. local Weld = CreateWeldOrSnapOrMotor("Weld", Part, FingerPart, Part, CF(0,-0.15,0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  6814. MakeForm(Part,"Cyl")
  6815. local Part = CreatePart(3, Weapon, "DiamondPlate", 0, 0, "Really black", "MainColor", VT(0.26,0.2,0.26),false)
  6816. local Weld = CreateWeldOrSnapOrMotor("Weld", Part, FingerPart, Part, CF(0,0.15,0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  6817. MakeForm(Part,"Cyl")
  6818.  
  6819. local HandlePart = CreatePart(3, Weapon, "Metal", 0, 0, "Really black", "Handle", VT(0.4,0.4,0.4),false)
  6820. 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))
  6821. MakeForm(HandlePart,"Ball")
  6822. local FingerPart = CreatePart(3, Weapon, "DiamondPlate", 0, 0, "Really black", "Handle", VT(0.25,0.2,0.25),false)
  6823. 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))
  6824. MakeForm(FingerPart,"Cyl")
  6825. Weld.Name = "FingerJoint"
  6826. local Part = CreatePart(3, Weapon, "DiamondPlate", 0, 0, "Really black", "MainColor", VT(0.26,0.3,0.26),false)
  6827. local Weld = CreateWeldOrSnapOrMotor("Weld", Part, FingerPart, Part, CF(0,-0.15,0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  6828. MakeForm(Part,"Cyl")
  6829. local Part = CreatePart(3, Weapon, "DiamondPlate", 0, 0, "Really black", "MainColor", VT(0.26,0.2,0.26),false)
  6830. local Weld = CreateWeldOrSnapOrMotor("Weld", Part, FingerPart, Part, CF(0,0.15,0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  6831. MakeForm(Part,"Cyl")
  6832.  
  6833. local HandlePart = CreatePart(3, Weapon, "Metal", 0, 0, "Really black", "Handle", VT(0.4,0.4,0.4),false)
  6834. 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))
  6835. MakeForm(HandlePart,"Ball")
  6836. local FingerPart = CreatePart(3, Weapon, "DiamondPlate", 0, 0, "Really black", "Handle", VT(0.25,0.25,0.25),false)
  6837. 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))
  6838. MakeForm(FingerPart,"Cyl")
  6839. Weld.Name = "FingerJoint"
  6840. local Part = CreatePart(3, Weapon, "DiamondPlate", 0, 0, "Really black", "MainColor", VT(0.26,0.3,0.26),false)
  6841. local Weld = CreateWeldOrSnapOrMotor("Weld", Part, FingerPart, Part, CF(0,-0.15,0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  6842. MakeForm(Part,"Cyl")
  6843. local Part = CreatePart(3, Weapon, "DiamondPlate", 0, 0, "Really black", "MainColor", VT(0.26,0.25,0.26),false)
  6844. local Weld = CreateWeldOrSnapOrMotor("Weld", Part, FingerPart, Part, CF(0,0.15,0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  6845. MakeForm(Part,"Cyl")
  6846.  
  6847. local HandlePart = CreatePart(3, Weapon, "Metal", 0, 0, "Really black", "Handle", VT(0.4,0.4,0.4),false)
  6848. 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))
  6849. MakeForm(HandlePart,"Ball")
  6850. local FingerPart = CreatePart(3, Weapon, "DiamondPlate", 0, 0, "Really black", "Handle", VT(0.25,0.25,0.25),false)
  6851. 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))
  6852. MakeForm(FingerPart,"Cyl")
  6853. Weld.Name = "FingerJoint2"
  6854. local Part = CreatePart(3, Weapon, "DiamondPlate", 0, 0, "Really black", "MainColor", VT(0.26,0.3,0.26),false)
  6855. local Weld = CreateWeldOrSnapOrMotor("Weld", Part, FingerPart, Part, CF(0,-0.15,0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  6856. MakeForm(Part,"Cyl")
  6857. local Part = CreatePart(3, Weapon, "DiamondPlate", 0, 0, "Really black", "MainColor", VT(0.26,0.25,0.26),false)
  6858. local Weld = CreateWeldOrSnapOrMotor("Weld", Part, FingerPart, Part, CF(0,0.15,0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  6859. MakeForm(Part,"Cyl")
  6860.  
  6861. local HandlePart = CreatePart(3, Weapon, "Metal", 0, 0, "Really black", "Handle", VT(0.3,0.4,0.3),false)
  6862. 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))
  6863.  
  6864. local HandlePart = CreatePart(3, Weapon, "Metal", 0, 0, "Really black", "Handle", VT(0.3,0.4,0.3),false)
  6865. 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))
  6866.  
  6867. local HandlePart = CreatePart(3, Weapon, "Metal", 0, 0, "Really black", "Handle", VT(0.3,0.4,0.3),false)
  6868. 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))
  6869.  
  6870. local HandlePart = CreatePart(3, Weapon, "Metal", 0, 0, "Really black", "Handle", VT(0.3,0.4,0.3),false)
  6871. 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))
  6872.  
  6873. for _, c in pairs(Weapon:GetChildren()) do
  6874. if c.ClassName == "Part" then
  6875. c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  6876. end
  6877. end
  6878.  
  6879. Weapon.Parent = Character
  6880.  
  6881. Humanoid.Died:connect(function()
  6882. ATTACK = true
  6883. end)
  6884.  
  6885. 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")
  6886. 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")
  6887. 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")
  6888. 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")
  6889.  
  6890. local SKILL1TEXT = CreateLabel(SKILL1FRAME, "[Z] Telekenesis", SKILLTEXTCOLOR, 7, "SciFi", 0, 2, 0.5, "Text 1")
  6891. local SKILL2TEXT = CreateLabel(SKILL2FRAME, "[B] Rock Chuck", SKILLTEXTCOLOR, 7, "SciFi", 0, 2, 0.5, "Text 2")
  6892. local SKILL3TEXT = CreateLabel(SKILL3FRAME, "[C] Inner Crusher", SKILLTEXTCOLOR, 7, "SciFi", 0, 2, 0.5, "Text 3")
  6893. local SKILL4TEXT = CreateLabel(SKILL4FRAME, "[X] Meteor", SKILLTEXTCOLOR, 7, "SciFi", 0, 2, 0.5, "Text 4")
  6894.  
  6895. --//=================================\\
  6896. --|| DAMAGE FUNCTIONS
  6897. --\\=================================//
  6898.  
  6899. function StatLabel(LABELTYPE, CFRAME, TEXT, COLOR)
  6900. local STATPART = CreatePart(3, Effects, "SmoothPlastic", 0, 1, "Really black", "Effect", VT())
  6901. STATPART.CFrame = CF(CFRAME.p + VT(0, 1.5, 0))
  6902. local BODYGYRO = IT("BodyGyro", STATPART)
  6903. local BODYPOSITION = IT("BodyPosition", STATPART)
  6904. BODYPOSITION.P = 2000
  6905. BODYPOSITION.D = 100
  6906. BODYPOSITION.maxForce = VT(math.huge, math.huge, math.huge)
  6907. BODYPOSITION.position = STATPART.Position + VT(MRANDOM(-2, 2), 6, MRANDOM(-2, 2))
  6908. game:GetService("Debris"):AddItem(STATPART ,5)
  6909. local BILLBOARDGUI = Instance.new("BillboardGui", STATPART)
  6910. BILLBOARDGUI.Adornee = STATPART
  6911. BILLBOARDGUI.Size = UD2(2.5, 0, 2.5 ,0)
  6912. BILLBOARDGUI.StudsOffset = VT(-2, 2, 0)
  6913. BILLBOARDGUI.AlwaysOnTop = false
  6914. local TEXTLABEL = Instance.new("TextLabel", BILLBOARDGUI)
  6915. TEXTLABEL.BackgroundTransparency = 1
  6916. TEXTLABEL.Size = UD2(2.5, 0, 2.5, 0)
  6917. TEXTLABEL.Text = TEXT
  6918. TEXTLABEL.Font = "SciFi"
  6919. TEXTLABEL.FontSize="Size42"
  6920. TEXTLABEL.TextColor3 = COLOR
  6921. TEXTLABEL.TextStrokeTransparency = 1
  6922. TEXTLABEL.TextScaled = true
  6923. TEXTLABEL.TextWrapped = true
  6924. coroutine.resume(coroutine.create(function(THEPART, THEBODYPOSITION, THETEXTLABEL)
  6925. if LABELTYPE == "Normal" then
  6926. for i = 1, 30 do
  6927. Swait()
  6928. STATPART.Position = STATPART.Position + VT(0, (15-i)/10 ,0)
  6929. TEXTLABEL.TextTransparency = TEXTLABEL.TextTransparency + (1/30)
  6930. end
  6931. elseif LABELTYPE == "Debuff" then
  6932. for i = 1, 30 do
  6933. Swait()
  6934. STATPART.Position = STATPART.Position - VT(0, i/10 ,0)
  6935. TEXTLABEL.TextTransparency = TEXTLABEL.TextTransparency + (1/30)
  6936. end
  6937. elseif LABELTYPE == "Shock" then
  6938. local ORIGIN = STATPART.Position
  6939. for i = 1, 30 do
  6940. Swait()
  6941. STATPART.Position = ORIGIN + VT(MRANDOM(-2,2),MRANDOM(-2,2),MRANDOM(-2,2))
  6942. TEXTLABEL.TextTransparency = TEXTLABEL.TextTransparency + (1/30)
  6943. end
  6944. end
  6945. THEPART.Parent = nil
  6946. end),STATPART, BODYPOSITION, TEXTLABEL)
  6947. end
  6948.  
  6949. --//=================================\\
  6950. --|| DAMAGING
  6951. --\\=================================//
  6952.  
  6953. function ApplyDamage(Humanoid,Damage,CritRate,CritMultiplier)
  6954. local defence = Instance.new("BoolValue",Humanoid.Parent)
  6955. defence.Name = ("HitBy"..Player.Name)
  6956. game:GetService("Debris"):AddItem(defence, 0.001)
  6957. if Humanoid.Health ~= 0 then
  6958. local CritChance = MRANDOM(1,100)
  6959. if CritChance < CritRate + 1 then
  6960. Damage = Damage*CritMultiplier
  6961. end
  6962. if Damage > Humanoid.Health then
  6963. Damage = math.ceil(Humanoid.Health)
  6964. if Damage == 0 then
  6965. Damage = 0.1
  6966. end
  6967. end
  6968. Humanoid.Health = Humanoid.Health - Damage
  6969. if Humanoid.Parent:FindFirstChild("Head") then
  6970. if CritChance < CritRate + 1 then
  6971. StatLabel("Normal", Humanoid.Parent.Head.CFrame * CF(0, 0 + (Humanoid.Parent.Head.Size.z - 1), 0), "CRIT//"..Damage, C3(1, 0, 0))
  6972. else
  6973. StatLabel("Normal", Humanoid.Parent.Head.CFrame * CF(0, 0 + (Humanoid.Parent.Head.Size.z - 1), 0), Damage, C3(0, 0, 0))
  6974. end
  6975. end
  6976. end
  6977. end
  6978.  
  6979. function AoEDamage(position,radius,min,max,maxstrength,critrate,critmultiplier,CanBeDodgedByJumping)
  6980. local dmg = math.random(min,max)
  6981. for i,v in ipairs(workspace:GetChildren()) do
  6982. if v:FindFirstChild("HitBy"..Player.Name) == nil then
  6983. local body = v:GetChildren()
  6984. for part = 1, #body do
  6985. if(v:FindFirstChild("HitBy"..Player.Name) == nil and (body[part].ClassName == "Part" or body[part].ClassName == "MeshPart") and v ~= Character) then
  6986. if(body[part].Position - position).Magnitude < radius then
  6987. if v.ClassName == "Model" then
  6988. if v:FindFirstChildOfClass("Humanoid") then
  6989. if CanBeDodgedByJumping == true then
  6990. if body[part].Position.Y < position.Y+5 then
  6991. ApplyDamage(v:FindFirstChildOfClass("Humanoid"),dmg,critrate,critmultiplier)
  6992. end
  6993. else
  6994. ApplyDamage(v:FindFirstChildOfClass("Humanoid"),dmg,critrate,critmultiplier)
  6995. end
  6996. local bv = Instance.new("BodyVelocity")
  6997. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  6998. bv.velocity = RootPart.CFrame.lookVector*maxstrength
  6999. bv.Parent = body[part]
  7000. Debris:AddItem(bv,0.2)
  7001. end
  7002. end
  7003. end
  7004. end
  7005. end
  7006. end
  7007. if v:FindFirstChild("HitBy"..Player.Name) then
  7008. v:FindFirstChild("HitBy"..Player.Name):remove()
  7009. end
  7010. end
  7011. end
  7012.  
  7013. --//=================================\\
  7014. --|| ATTACK FUNCTIONS AND STUFF
  7015. --\\=================================//
  7016.  
  7017. function CastProperRay(StartPos, Vec, Length, Ignore)
  7018. local Direction = CFrame.new(StartPos, Vec).lookVector
  7019. local Ignore = ((type(Ignore) == "table" and Ignore) or {Ignore})
  7020. local RayHit, RayPos, RayNormal = game:GetService("Workspace"):FindPartOnRayWithIgnoreList(Ray.new(StartPos, Direction * Length), Ignore)
  7021. return RayHit, RayPos, RayNormal
  7022. end
  7023.  
  7024. local PARTICLES = IT("ParticleEmitter")
  7025.  
  7026. function particles(art)
  7027. local EyeSizes={
  7028. NumberSequenceKeypoint.new(0,0,0),
  7029. NumberSequenceKeypoint.new(1,1*FORM,0)
  7030. }
  7031. local EyeTrans={
  7032. NumberSequenceKeypoint.new(0,0.5,0),
  7033. NumberSequenceKeypoint.new(1,1,0)
  7034. }
  7035. local PE=PARTICLES:Clone()
  7036. PE.Parent = art
  7037. PE.LightEmission=.3
  7038. PE.Color = ColorSequence.new(SKILLTEXTCOLOR)
  7039. PE.Size=NumberSequence.new(EyeSizes)
  7040. PE.Transparency=NumberSequence.new(EyeTrans)
  7041. PE.Lifetime=NumberRange.new(0.35,0.35,0.35)
  7042. PE.Rotation=NumberRange.new(0,360)
  7043. PE.Rate=999
  7044. PE.VelocitySpread = 10000
  7045. PE.LockedToPart = true
  7046. PE.Drag = 5
  7047. PE.Speed = NumberRange.new(0,0,0)
  7048. PE.Texture="http://www.roblox.com/asset/?id=1351966707"
  7049. PE.ZOffset = -1.5
  7050. PE.Name = "PE"
  7051. end
  7052.  
  7053. function AttackTemplate()
  7054. ATTACK = true
  7055. Rooted = false
  7056. for i=0, 1, 0.1 / Animation_Speed do
  7057. Swait()
  7058. 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)
  7059. 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)
  7060. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  7061. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  7062. 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)
  7063. 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)
  7064. end
  7065. ATTACK = false
  7066. Rooted = false
  7067. end
  7068.  
  7069. function Telekenesis()
  7070. if Mouse.Target ~= nil then
  7071. if Mouse.Target.Anchored == false then
  7072. local TELEPART = Mouse.Target
  7073. local grav = Instance.new("BodyPosition",TELEPART)
  7074. grav.P = 20000
  7075. grav.maxForce = Vector3.new(math.huge,math.huge,math.huge)
  7076. grav.Name = "GravityForce"
  7077. local DIST = (RootPart.Position - TELEPART.Position).Magnitude
  7078. ATTACK = true
  7079. Rooted = true
  7080. VALUE1 = true
  7081. FINGERWORK = true
  7082. local AUTOBREAK = false
  7083. CreateSound(PEWSOUND[MRANDOM(1,#PEWSOUND)], RightArm, 5, 1)
  7084. repeat
  7085. Swait()
  7086. local HEIGHT = (TELEPART.Position.Y - RightArm.Position.Y)
  7087. turnto(Mouse.Hit.p)
  7088. local RayHit,RayPos = CastProperRay(HandlePart.Position, Mouse.Hit.p, DIST, Character)
  7089. grav.position = RayPos
  7090. MagicSphere(VT(0.3,0.3,0.3),5,TelePart.CFrame,SKILLTEXTCOLOR,VT(-0.3,-0.3,-0.3)/5)
  7091. 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)
  7092. 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)
  7093. 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)
  7094. 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)
  7095. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  7096. 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)
  7097. 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)
  7098. if KEY ~= nil then
  7099. if KEY == "b" then
  7100. DIST = DIST - 10
  7101. elseif KEY == "c" then
  7102. DIST = DIST + 10
  7103. elseif KEY == "x" then
  7104. AUTOBREAK = true
  7105. for i=0, 2, 0.1 / Animation_Speed do
  7106. Swait()
  7107. MagicSphere(VT(0.3,0.3,0.3),5,TelePart.CFrame,SKILLTEXTCOLOR,VT(-0.3,-0.3,-0.3)/5)
  7108. 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)
  7109. 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)
  7110. 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)
  7111. 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)
  7112. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  7113. 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)
  7114. 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)
  7115. end
  7116. for i=0, 0.2, 0.1 / Animation_Speed do
  7117. Swait()
  7118. MagicSphere(VT(0.3,0.3,0.3),5,TelePart.CFrame,SKILLTEXTCOLOR,VT(-0.3,-0.3,-0.3)/5)
  7119. 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)
  7120. 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)
  7121. 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)
  7122. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.5, -0.5) * ANGLES(RAD(90+(HEIGHT)), RAD(0), RAD(45)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  7123. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 2 / Animation_Speed)
  7124. 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)
  7125. 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)
  7126. end
  7127. MagicBlock(1,15,RightArm.CFrame*CF(0,-1.2,0),SKILLTEXTCOLOR,VT(0.2,0.2,0.2))
  7128. CreateSound("907532865", RightArm, 5, 1)
  7129. grav:remove()
  7130. local bv = Instance.new("BodyVelocity")
  7131. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  7132. bv.velocity = CF(RootPart.Position,TELEPART.Position).lookVector*1500*FORM
  7133. bv.Parent = TELEPART
  7134. bv.Name = "MOVE"
  7135. Debris:AddItem(bv,0.1)
  7136. local Touched = Part.Touched:Connect(function(hit)
  7137. if hit.CanCollide == true then
  7138. if hit.Parent:FindFirstChildOfClass("Humanoid") and hit.Parent ~= Character then
  7139. ApplyDamage(hit.Parent:FindFirstChildOfClass("Humanoid"),MRANDOM(3,7)*FORM,2,2)
  7140. end
  7141. end
  7142. end)
  7143. coroutine.resume(coroutine.create(function()
  7144. Swait(250)
  7145. Touched:disconnect()
  7146. end))
  7147. for i=0, 0.8, 0.1 / Animation_Speed do
  7148. Swait()
  7149. 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)
  7150. 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)
  7151. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.5, -0.5) * ANGLES(RAD(90+(HEIGHT)), RAD(0), RAD(45)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  7152. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 2 / Animation_Speed)
  7153. 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)
  7154. 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)
  7155. end
  7156. elseif KEY == "z" then
  7157. AUTOBREAK = true
  7158. end
  7159. KEY = nil
  7160. end
  7161. until AUTOBREAK == true
  7162. if TELEPART ~= nil then
  7163. grav:remove()
  7164. end
  7165. ATTACK = false
  7166. Rooted = false
  7167. VALUE1 = false
  7168. FINGERWORK = false
  7169. end
  7170. end
  7171. end
  7172.  
  7173. function RockChuck()
  7174. if HITFLOOR ~= nil then
  7175. ATTACK = true
  7176. Rooted = true
  7177. FINGERWORK = true
  7178. local ROCKS = {}
  7179. for i=0, 1, 0.1 / Animation_Speed do
  7180. Swait()
  7181. turnto(Mouse.Hit.p)
  7182. MagicSphere(VT(0.3,0.3,0.3),5,TelePart.CFrame,SKILLTEXTCOLOR,VT(-0.3,-0.3,-0.3)/5)
  7183. 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)
  7184. 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)
  7185. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.75, 0) * ANGLES(RAD(170), RAD(25), RAD(-15)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  7186. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  7187. 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)
  7188. 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)
  7189. end
  7190. CreateSound(PEWSOUND[MRANDOM(1,#PEWSOUND)], RightArm, 5, 1)
  7191. for i = 1, FORM*4 do
  7192. local ROCK = CreatePart(3, Effects, "Metal", 0, 0, "Really black", "Handle", VT(1.5,1.5,1.5)*FORM, false)
  7193. ROCK.Material = HITFLOOR.Material
  7194. ROCK.Color = HITFLOOR.Color
  7195. particles(ROCK)
  7196. 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)))
  7197. local grav = Instance.new("BodyPosition",ROCK)
  7198. grav.P = 20000
  7199. grav.maxForce = Vector3.new(math.huge,math.huge,math.huge)
  7200. grav.Name = "F"
  7201. grav.Position = ROCK.Position + VT(0,MRANDOM(15,25),0)
  7202. table.insert(ROCKS,ROCK)
  7203. end
  7204. for i=0, 1, 0.1 / Animation_Speed do
  7205. Swait()
  7206. turnto(Mouse.Hit.p)
  7207. MagicSphere(VT(0.5,0.5,0.5),5,TelePart.CFrame,SKILLTEXTCOLOR,VT(-0.5,-0.5,-0.5)/5)
  7208. 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)
  7209. 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)
  7210. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.75, 0) * ANGLES(RAD(170), RAD(25), RAD(-15)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  7211. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  7212. 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)
  7213. 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)
  7214. end
  7215. for i=0, 0.2, 0.1 / Animation_Speed do
  7216. Swait()
  7217. turnto(Mouse.Hit.p)
  7218. MagicSphere(VT(0.5,0.5,0.5),5,TelePart.CFrame,SKILLTEXTCOLOR,VT(-0.5,-0.5,-0.5)/5)
  7219. 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)
  7220. 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)
  7221. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.5, -0.5) * ANGLES(RAD(90), RAD(25), RAD(0)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  7222. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  7223. 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)
  7224. 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)
  7225. end
  7226. for e=1,#ROCKS do
  7227. for i = 1, 5 do
  7228. turnto(Mouse.Hit.p)
  7229. MagicSphere(VT(0.5,0.5,0.5),5,TelePart.CFrame,SKILLTEXTCOLOR,VT(-0.5,-0.5,-0.5)/5)
  7230. 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)
  7231. Swait()
  7232. end
  7233. if ROCKS[e]~=nil then
  7234. local Thing=ROCKS[e]
  7235. if Thing~=nil then
  7236. local Part=Thing
  7237. for i=0, 0.3, 0.1 / Animation_Speed do
  7238. Swait()
  7239. MagicSphere(VT(0.3,0.3,0.3),5,TelePart.CFrame,SKILLTEXTCOLOR,VT(-0.3,-0.3,-0.3)/5)
  7240. --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)
  7241. 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)
  7242. 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)
  7243. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.5, -0.5) * ANGLES(RAD(90), RAD(0), RAD(-45)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  7244. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  7245. 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)
  7246. 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)
  7247. end
  7248. for i=0, 0.2, 0.1 / Animation_Speed do
  7249. Swait()
  7250. MagicSphere(VT(0.3,0.3,0.3),5,TelePart.CFrame,SKILLTEXTCOLOR,VT(-0.3,-0.3,-0.3)/5)
  7251. --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)
  7252. 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)
  7253. 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)
  7254. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.5, -0.5) * ANGLES(RAD(90), RAD(0), RAD(45)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  7255. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 2 / Animation_Speed)
  7256. 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)
  7257. 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)
  7258. end
  7259. CreateSound("907532865", RightArm, 5, 1)
  7260. MagicBlock(1,15,RightArm.CFrame*CF(0,-1.2,0),SKILLTEXTCOLOR,VT(0.2,0.2,0.2))
  7261. Part.F:remove()
  7262. Part.CanCollide = true
  7263. local bv = Instance.new("BodyVelocity")
  7264. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  7265. bv.velocity = CF(Part.Position,Mouse.Hit.p).lookVector*500*FORM
  7266. bv.Parent = Part
  7267. bv.Name = "MOVE"
  7268. Debris:AddItem(bv,0.1)
  7269. local Touched = Part.Touched:Connect(function(hit)
  7270. if hit.CanCollide == true then
  7271. CreateFlyingDebree(Part,Part.CFrame,5,(Part.Size/5)*FORM,2,15)
  7272. Part:remove()
  7273. if hit.Parent:FindFirstChildOfClass("Humanoid") and hit.Parent ~= Character then
  7274. ApplyDamage(hit.Parent:FindFirstChildOfClass("Humanoid"),MRANDOM(15,25)*FORM,2,2)
  7275. end
  7276. end
  7277. end)
  7278. end
  7279. end
  7280. end
  7281. FINGERWORK = false
  7282. ATTACK = false
  7283. Rooted = false
  7284. end
  7285. end
  7286.  
  7287. local asd = Instance.new("ParticleEmitter")
  7288. asd.Color = ColorSequence.new(Color3.new(1, 0, 0), Color3.new(.5, 0, 0))
  7289. asd.LightEmission = .1
  7290. asd.Size = NumberSequence.new(0.2)
  7291. asd.Texture = "http://www.roblox.com/asset/?ID=291880914"
  7292. aaa = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.2),NumberSequenceKeypoint.new(1, 5)})
  7293. bbb = NumberSequence.new({NumberSequenceKeypoint.new(0, 1),NumberSequenceKeypoint.new(0.0636, 0), NumberSequenceKeypoint.new(1, 1)})
  7294. asd.Transparency = bbb
  7295. asd.Size = aaa
  7296. asd.ZOffset = .9
  7297. asd.Acceleration = Vector3.new(0, -5, 0)
  7298. asd.LockedToPart = false
  7299. asd.EmissionDirection = "Back"
  7300. asd.Lifetime = NumberRange.new(1, 2)
  7301. asd.Rotation = NumberRange.new(-100, 100)
  7302. asd.RotSpeed = NumberRange.new(-100, 100)
  7303. asd.Speed = NumberRange.new(2)
  7304. asd.Enabled = false
  7305. asd.VelocitySpread = 10000
  7306.  
  7307. function getbloody(victim,amount)
  7308. local prtcl = asd:Clone()
  7309. prtcl.Parent = victim
  7310. prtcl:Emit(amount)
  7311. Debris:AddItem(prtcl,5)
  7312. end
  7313.  
  7314. function InnerCrusher()
  7315. if Mouse.Target ~= nil then
  7316. if Mouse.Target.Anchored == false then
  7317. if Mouse.Target.Parent:FindFirstChildOfClass("Humanoid") then
  7318. local HUMAN = Mouse.Target.Parent:FindFirstChildOfClass("Humanoid")
  7319. local TELEPART = Mouse.Target
  7320. local grav = Instance.new("BodyPosition",TELEPART)
  7321. grav.P = 20000
  7322. grav.maxForce = Vector3.new(math.huge,math.huge,math.huge)
  7323. grav.Name = "GravityForce"
  7324. local DIST = (RootPart.Position - TELEPART.Position).Magnitude
  7325. ATTACK = true
  7326. Rooted = true
  7327. FINGERWORK = true
  7328. local AUTOBREAK = false
  7329. CreateSound(PEWSOUND[MRANDOM(1,#PEWSOUND)], RightArm, 5, 1)
  7330. for i = 1, 150 do
  7331. Swait()
  7332. local HEIGHT = (TELEPART.Position.Y - RightArm.Position.Y)
  7333. turnto(TELEPART.Position)
  7334. grav.Position = TELEPART.Position + VT(0,2,0)
  7335. MagicSphere(VT(0.3,0.3,0.3),5,TelePart.CFrame,SKILLTEXTCOLOR,VT(-0.3,-0.3,-0.3)/5)
  7336. 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)
  7337. 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)
  7338. 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)
  7339. 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)
  7340. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  7341. 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)
  7342. 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)
  7343. end
  7344. for i = 1, 50 do
  7345. Swait()
  7346. local HEIGHT = (TELEPART.Position.Y - RightArm.Position.Y)
  7347. turnto(TELEPART.Position)
  7348. MagicSphere(VT(0.3,0.3,0.3),5,TelePart.CFrame,SKILLTEXTCOLOR,VT(-0.3,-0.3,-0.3)/5)
  7349. 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)
  7350. 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)
  7351. 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)
  7352. 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)
  7353. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  7354. 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)
  7355. 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)
  7356. end
  7357. FINGERWORK = false
  7358. for i = 1, 50 do
  7359. Swait()
  7360. ApplyDamage(HUMAN,MRANDOM(1,2),2,2)
  7361. if MRANDOM(1,5) == 1 then
  7362. CreateSound(HITPLAYERSOUNDS[MRANDOM(1, #HITPLAYERSOUNDS)], TELEPART, 1, (math.random(8,12)/10))
  7363. end
  7364. local HEIGHT = (TELEPART.Position.Y - RightArm.Position.Y)
  7365. turnto(TELEPART.Position)
  7366. getbloody(TELEPART,5)
  7367. MagicSphere(VT(0.3,0.3,0.3),5,TelePart.CFrame,SKILLTEXTCOLOR,VT(-0.3,-0.3,-0.3)/5)
  7368. 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)
  7369. 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)
  7370. 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)
  7371. 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)
  7372. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  7373. 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)
  7374. 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)
  7375. end
  7376. TELEPART.Velocity = VT(0,0,0)
  7377. ATTACK = false
  7378. Rooted = false
  7379. grav:remove()
  7380. FINGERWORK = false
  7381. end
  7382. end
  7383. end
  7384. end
  7385.  
  7386. function Meteor()
  7387. ATTACK = true
  7388. Rooted = false
  7389. FINGERWORK = true
  7390. local ROCKS = {}
  7391. for i=0, 1, 0.1 / Animation_Speed do
  7392. Swait()
  7393. turnto(Mouse.Hit.p)
  7394. MagicSphere(VT(0.3,0.3,0.3),5,TelePart.CFrame,SKILLTEXTCOLOR,VT(-0.3,-0.3,-0.3)/5)
  7395. 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)
  7396. 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)
  7397. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.75, 0) * ANGLES(RAD(170), RAD(25), RAD(-15)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  7398. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  7399. 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)
  7400. 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)
  7401. end
  7402. for i = 1, FORM do
  7403. local ROCK = CreatePart(3, Effects, "Granite", 0, 0, "Dark stone grey", "Handle", VT(25,25,25))
  7404. particles(ROCK)
  7405. local FIRE = IT("Fire",ROCK)
  7406. FIRE.Size = 60
  7407. FIRE.Heat = 0
  7408. FIRE.SecondaryColor = C3(0,0,0)
  7409. 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)))
  7410. ROCK.CanCollide = true
  7411. table.insert(ROCKS,ROCK)
  7412. end
  7413. CreateSound(PEWSOUND[MRANDOM(1,#PEWSOUND)], RightArm, 5, 1)
  7414. for i = 1, 50 do
  7415. Swait()
  7416. turnto(Mouse.Hit.p)
  7417. MagicSphere(VT(0.3,0.3,0.3),5,TelePart.CFrame,SKILLTEXTCOLOR,VT(-0.3,-0.3,-0.3)/5)
  7418. 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)
  7419. end
  7420. for e=1,#ROCKS do
  7421. for i = 1, 5 do
  7422. turnto(Mouse.Hit.p)
  7423. MagicSphere(VT(0.5,0.5,0.5),5,TelePart.CFrame,SKILLTEXTCOLOR,VT(-0.5,-0.5,-0.5)/5)
  7424. 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)
  7425. Swait()
  7426. end
  7427. if ROCKS[e]~=nil then
  7428. local Thing=ROCKS[e]
  7429. if Thing~=nil then
  7430. local Part=Thing
  7431. repeat
  7432. Swait()
  7433. turnto(Mouse.Hit.p)
  7434. MagicSphere(VT(0.3,0.3,0.3),5,TelePart.CFrame,SKILLTEXTCOLOR,VT(-0.3,-0.3,-0.3)/5)
  7435. 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)
  7436. 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)
  7437. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.75, 0) * ANGLES(RAD(170), RAD(25), RAD(-15)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  7438. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  7439. 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)
  7440. 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)
  7441. until HOLD == true
  7442. for i=0, 0.3, 0.1 / Animation_Speed do
  7443. Swait()
  7444. turnto(Mouse.Hit.p)
  7445. MagicSphere(VT(0.3,0.3,0.3),5,TelePart.CFrame,SKILLTEXTCOLOR,VT(-0.3,-0.3,-0.3)/5)
  7446. 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)
  7447. 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)
  7448. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.75, 0) * ANGLES(RAD(25), RAD(90), RAD(-15)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  7449. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 2 / Animation_Speed)
  7450. 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)
  7451. 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)
  7452. end
  7453. CreateSound("907532865", RightArm, 5, 1)
  7454. MagicBlock(1,15,RightArm.CFrame*CF(0,-1.2,0),SKILLTEXTCOLOR,VT(0.2,0.2,0.2))
  7455. Part.Anchored = false
  7456. local bv = Instance.new("BodyVelocity")
  7457. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  7458. bv.velocity = CF(Part.Position,Mouse.Hit.p).lookVector*300*FORM
  7459. bv.Parent = Part
  7460. bv.Name = "MOVE"
  7461. Debris:AddItem(bv,0.1)
  7462. local IMPACT = false
  7463. local Touched = Part.Touched:Connect(function(hit)
  7464. if hit.CanCollide == true and IMPACT == false then
  7465. IMPACT = true
  7466. Part.PE.Enabled = false
  7467. CreateFlyingDebree(Part,Part.CFrame,5,(Part.Size/2),2,65,true)
  7468. Part.Transparency = 1
  7469. Part.Anchored = true
  7470. Part.CanCollide = false
  7471. Part.Fire.Enabled = false
  7472. Debris:AddItem(Part,5)
  7473. MagicSphere(Part.Size,15,Part.CFrame,"CGA brown",Part.Size)
  7474. MagicSphere(Part.Size,15,Part.CFrame,"Deep orange",Part.Size/1.8)
  7475. CreateSound("144699494", Part, 5, 1)
  7476. local FLOOR, HITPOS = Raycast(Part.Position, (CF(Part.Position, Part.Position + VT(0, -1, 0))).lookVector, 35 , Part)
  7477. if FLOOR ~= nil then
  7478. CreateDebreeRing(FLOOR,HITPOS,15,VT(10,10,10),2)
  7479. end
  7480. if hit.Parent:FindFirstChildOfClass("Humanoid") and hit.Parent ~= Character then
  7481. ApplyDamage(hit.Parent:FindFirstChildOfClass("Humanoid"),MRANDOM(65,75)*FORM,2,2)
  7482. end
  7483. AoEDamage(Part.Position,45,15,65,5,2,2,false)
  7484. end
  7485. end)
  7486. end
  7487. end
  7488. end
  7489. FINGERWORK = false
  7490. ATTACK = false
  7491. Rooted = false
  7492. end
  7493.  
  7494. --//=================================\\
  7495. --|| ASSIGN THINGS TO KEYS
  7496. --\\=================================//
  7497.  
  7498. function MouseDown(Mouse)
  7499. HOLD = true
  7500. if ATTACK == false then
  7501. end
  7502. end
  7503.  
  7504. function MouseUp(Mouse)
  7505. HOLD = false
  7506. end
  7507.  
  7508. function KeyDown(Key)
  7509. KEYHOLD = true
  7510. if VALUE1 == true then
  7511. KEY = Key
  7512. end
  7513.  
  7514. if Key == "z" and ATTACK == false then
  7515. Telekenesis()
  7516. end
  7517.  
  7518. if Key == "b" and ATTACK == false then
  7519. RockChuck()
  7520. end
  7521.  
  7522. if Key == "c" and ATTACK == false then
  7523. InnerCrusher()
  7524. end
  7525.  
  7526. if Key == "x" and ATTACK == false then
  7527. Meteor()
  7528. end
  7529.  
  7530. if Key == "m" and ATTACK == false and Player.Name == "Shackluster" then
  7531. if FORM == 1 then
  7532. FORM = 2
  7533. elseif FORM == 2 then
  7534. FORM = 1
  7535. end
  7536. end
  7537. end
  7538.  
  7539. function KeyUp(Key)
  7540. KEYHOLD = false
  7541. end
  7542.  
  7543. Mouse.Button1Down:connect(function(NEWKEY)
  7544. MouseDown(NEWKEY)
  7545. end)
  7546. Mouse.Button1Up:connect(function(NEWKEY)
  7547. MouseUp(NEWKEY)
  7548. end)
  7549. Mouse.KeyDown:connect(function(NEWKEY)
  7550. KeyDown(NEWKEY)
  7551. end)
  7552. Mouse.KeyUp:connect(function(NEWKEY)
  7553. KeyUp(NEWKEY)
  7554. end)
  7555.  
  7556. --//=================================\\
  7557. --\\=================================//
  7558.  
  7559.  
  7560. function unanchor()
  7561. if UNANCHOR == true then
  7562. for _, c in pairs(Weapon:GetChildren()) do
  7563. if c.ClassName == "Part" then
  7564. c.Anchored = false
  7565. end
  7566. end
  7567. for _, c in pairs(Character:GetChildren()) do
  7568. if c.ClassName == "Part" then
  7569. c.Anchored = false
  7570. elseif c.ClassName == "Accessory" then
  7571. c.Handle.Anchored = false
  7572. end
  7573. end
  7574. end
  7575. end
  7576.  
  7577.  
  7578. --//=================================\\
  7579. --|| WRAP THE WHOLE SCRIPT UP
  7580. --\\=================================//
  7581.  
  7582. Humanoid.Changed:connect(function(Jump)
  7583. if Jump == "Jump" and (Disable_Jump == true) then
  7584. Humanoid.Jump = false
  7585. end
  7586. end)
  7587.  
  7588. while true do
  7589. Swait()
  7590. ANIMATE.Parent = nil
  7591. local IDLEANIMATION = Humanoid:LoadAnimation(ROBLOXIDLEANIMATION)
  7592. IDLEANIMATION:Play()
  7593. SINE = SINE + CHANGE
  7594. local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude
  7595. local TORSOVERTICALVELOCITY = RootPart.Velocity.y
  7596. local LV = Torso.CFrame:pointToObjectSpace(Torso.Velocity - Torso.Position)
  7597. HITFLOOR = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4 * Player_Size, Character)
  7598. local WALKSPEEDVALUE = 6 / (Humanoid.WalkSpeed / 16)
  7599. if ANIM == "Walk" and TORSOVELOCITY > 1 then
  7600. 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)
  7601. 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)
  7602. 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)
  7603. 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)
  7604. elseif (ANIM ~= "Walk") or (TORSOVELOCITY < 1) then
  7605. RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  7606. 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)
  7607. 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)
  7608. 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)
  7609. end
  7610. if TORSOVERTICALVELOCITY > 1 and HITFLOOR == nil then
  7611. ANIM = "Jump"
  7612. if ATTACK == false then
  7613. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  7614. 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)
  7615. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(20)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed)
  7616. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  7617. 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)
  7618. 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)
  7619. end
  7620. elseif TORSOVERTICALVELOCITY < -1 and HITFLOOR == nil then
  7621. ANIM = "Fall"
  7622. if ATTACK == false then
  7623. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 ) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  7624. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 , 0 + ((1) - 1)) * ANGLES(RAD(20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  7625. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(60)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed)
  7626. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-60)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  7627. 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)
  7628. 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)
  7629. end
  7630. elseif TORSOVELOCITY < 1 and HITFLOOR ~= nil then
  7631. ANIM = "Idle"
  7632. if ATTACK == false then
  7633. 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)
  7634. 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)
  7635. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  7636. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  7637. 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)
  7638. 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)
  7639. end
  7640. elseif TORSOVELOCITY > 1 and HITFLOOR ~= nil then
  7641. ANIM = "Walk"
  7642. WALK = WALK + 1 / Animation_Speed
  7643. if WALK >= 15 - (5 * (Humanoid.WalkSpeed / 16 / Player_Size)) then
  7644. WALK = 0
  7645. if WALKINGANIM == true then
  7646. WALKINGANIM = false
  7647. elseif WALKINGANIM == false then
  7648. WALKINGANIM = true
  7649. end
  7650. end
  7651. --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)
  7652. --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)
  7653. if ATTACK == false then
  7654. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.1) * ANGLES(RAD(5), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  7655. 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)
  7656. 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)
  7657. 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)
  7658. 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)
  7659. 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)
  7660. end
  7661. end
  7662. unanchor()
  7663. Humanoid.MaxHealth = "inf"
  7664. Humanoid.Health = "inf"
  7665. if Rooted == false then
  7666. Disable_Jump = false
  7667. Humanoid.WalkSpeed = Speed
  7668. elseif Rooted == true then
  7669. Disable_Jump = true
  7670. Humanoid.WalkSpeed = 0
  7671. end
  7672. if FORM == 1 then
  7673. if sick.SoundId ~= STAGE1MUSIC then
  7674. sick.SoundId = STAGE1MUSIC
  7675. sick:Play()
  7676. end
  7677. SKILLTEXTCOLOR = BRICKC("Maroon").Color
  7678. elseif FORM == 2 then
  7679. if sick.SoundId ~= STAGE2MUSIC then
  7680. sick.SoundId = STAGE2MUSIC
  7681. sick:Play()
  7682. end
  7683. SKILLTEXTCOLOR = BRICKC("Black").Color
  7684. end
  7685. if sick.Playing == false then
  7686. sick:Play()
  7687. end
  7688. sick.Parent = Character
  7689. SKILL1TEXT.TextColor3 = SKILLTEXTCOLOR
  7690. SKILL2TEXT.TextColor3 = SKILLTEXTCOLOR
  7691. SKILL3TEXT.TextColor3 = SKILLTEXTCOLOR
  7692. SKILL4TEXT.TextColor3 = SKILLTEXTCOLOR
  7693. for _, c in pairs(Weapon:GetChildren()) do
  7694. if c.ClassName == "Part" then
  7695. if c.Name == "MainColor" then
  7696. c.Color = SKILLTEXTCOLOR
  7697. end
  7698. if c:FindFirstChild("FingerJoint") then
  7699. local WELD = c:FindFirstChild("FingerJoint")
  7700. if FINGERWORK == false then
  7701. WELD.C1 = Clerp(WELD.C1, CF(-0.1, 0.3, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
  7702. elseif FINGERWORK == true then
  7703. WELD.C1 = Clerp(WELD.C1, CF(0, 0.3, 0) * ANGLES(RAD(0), RAD(0), RAD(-55)), 0.5 / Animation_Speed)
  7704. end
  7705. elseif c:FindFirstChild("FingerJoint2") then
  7706. local WELD = c:FindFirstChild("FingerJoint2")
  7707. if FINGERWORK == false then
  7708. WELD.C1 = Clerp(WELD.C1, CF(0, 0.3, 0.1) * ANGLES(RAD(90), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  7709. elseif FINGERWORK == true then
  7710. WELD.C1 = Clerp(WELD.C1, CF(0, 0.3, 0) * ANGLES(RAD(-55), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  7711. end
  7712. end
  7713. end
  7714. end
  7715. Humanoid.PlatformStand = false
  7716. Humanoid.Parent = Character
  7717. Character.Parent = workspace
  7718. script.Parent = PlayerGui
  7719. if VALUE1 == true then
  7720. SKILL1TEXT.Text = "[Z] Exit"
  7721. SKILL2TEXT.Text = "[B] Decrease"
  7722. SKILL3TEXT.Text = "[C] Increase"
  7723. SKILL4TEXT.Text = "[X] Force push"
  7724. elseif VALUE1 == false then
  7725. SKILL1TEXT.Text = "[Z] Telekenesis"
  7726. SKILL2TEXT.Text = "[B] Rock Chuck"
  7727. SKILL3TEXT.Text = "[C] Inner Crusher"
  7728. SKILL4TEXT.Text = "[X] Meteor"
  7729. end
  7730. end
  7731.  
  7732. --//=================================\\
  7733. --\\=================================//
  7734.  
  7735.  
  7736.  
  7737.  
  7738.  
  7739. --//====================================================\\--
  7740. --|| END OF SCRIPT
  7741. --\\====================================================//--
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement