Advertisement
masterofdesires1

Untitled

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