Advertisement
RIDHOCRaIWIW

yey

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