Advertisement
bmrx13

robot glove

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