Advertisement
MrSlakyx

Blue robot

Jul 9th, 2018
216
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 72.69 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://703736885"
  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 = "Antique"
  47. text.TextStrokeColor3 = BrickColor.new("New Yeller").Color
  48. text.TextColor3 = BrickColor.new("New Yeller").Color
  49. text.Text = "Slav Bot"
  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("New Yeller").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, "New Yeller", "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, "New Yeller", "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 == 0 then
  773. Damage = 0.1
  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, 0))
  780. else
  781. StatLabel("Normal", Humanoid.Parent.Head.CFrame * CF(0, 0 + (Humanoid.Parent.Head.Size.z - 1), 0), Damage, C3(0, 0, 0))
  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("New Yeller").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.TextColor3 = SKILLTEXTCOLOR
  1498. SKILL2TEXT.TextColor3 = SKILLTEXTCOLOR
  1499. SKILL3TEXT.TextColor3 = SKILLTEXTCOLOR
  1500. SKILL4TEXT.TextColor3 = 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. --\\====================================================//--
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement