Advertisement
Dark_EccentricYT

Untitled

Dec 7th, 2020 (edited)
137,654
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 50.78 KB | None | 0 0
  1. print(
  2. [[Cyber Knight
  3. Keybinds:
  4. T - Laugh
  5. C - TP Kill
  6. X - Fire Barrage
  7. N - Change BG Song
  8. ]]
  9. )
  10.  
  11. --Keybinds
  12. _G.UnReanimateKey = "q" --The keybind for unreanimating.
  13. _G.ReanimateKey = "e" --The keybind for reanimating.
  14. _G.R6ToggleKey = "r" --The keybind for toggling R15 to R6.
  15. _G.GodmodeToggleKey = "t" --The keybind for toggling godmode.
  16. --Options
  17. _G.GodMode = true --Set to true if you want godmode.
  18. _G.R6 = true --Set to true if you wanna enable R15 to R6 when your R15.
  19. _G.FastLoading = true --Set to true if you want godmode to load faster.
  20. _G.AutoReanimate = true --Set to true if you want to auto reanimate and disable keybinds after executing.
  21.  
  22. loadstring(game:HttpGet("https://paste.ee/r/5K7Kc/0"))()
  23.  
  24. local script = game:GetObjects("rbxassetid://5902081139")[1]
  25.  
  26. workspace.FallenPartsDestroyHeight = -1000
  27.  
  28. local invpart = Instance.new("Part", game:GetService("Players").LocalPlayer.Character)
  29. invpart.Anchored = true
  30. invpart.Position = Vector3.new(0, -50, 0)
  31. invpart.CanCollide = false
  32. local InvAtt = Instance.new("Attachment", invpart)
  33.  
  34. local hat = game:GetService("Players").LocalPlayer.Character["fff_fox"]
  35. hat.Handle:FindFirstChildOfClass("SpecialMesh"):Destroy()
  36. hat.Handle.CustomAtt0:Destroy()
  37. hat.Handle.CustomAtt1:Destroy()
  38.  
  39. local function weld(part0, part1)
  40. local attachment0 = Instance.new("Attachment", part0)
  41. if part0 == hat.Handle then
  42. attachment0.Rotation = Vector3.new(0, 0, 0) --Edit if u want custom rotationing
  43. attachment0.Position = Vector3.new(0, 0, 0) --Edit if u want custom positioning
  44. end
  45. local attachment1 = Instance.new("Attachment", part1)
  46. local weldpos = Instance.new("AlignPosition", part0)
  47. weldpos.Attachment0 = attachment0
  48. weldpos.Attachment1 = attachment1
  49. weldpos.RigidityEnabled = false
  50. weldpos.ReactionForceEnabled = false
  51. weldpos.ApplyAtCenterOfMass = false
  52. weldpos.MaxForce = 10000
  53. weldpos.MaxVelocity = 10000
  54. weldpos.Responsiveness = 10000
  55. local weldrot = Instance.new("AlignOrientation", part0)
  56. weldrot.Attachment0 = attachment0
  57. weldrot.Attachment1 = attachment1
  58. weldrot.ReactionTorqueEnabled = true
  59. weldrot.PrimaryAxisOnly = false
  60. weldrot.MaxTorque = 10000
  61. weldrot.MaxAngularVelocity = 10000
  62. weldrot.Responsiveness = 10000
  63. end
  64.  
  65. local function invweld(part0)
  66. local attachment0 = Instance.new("Attachment", part0)
  67. local attachment1 = InvAtt
  68. local weldpos = Instance.new("AlignPosition", part0)
  69. weldpos.Enabled = false
  70. weldpos.Name = "InvPos"
  71. weldpos.Attachment0 = attachment0
  72. weldpos.Attachment1 = attachment1
  73. weldpos.RigidityEnabled = false
  74. weldpos.ReactionForceEnabled = false
  75. weldpos.ApplyAtCenterOfMass = false
  76. weldpos.MaxForce = 10000
  77. weldpos.MaxVelocity = 10000
  78. weldpos.Responsiveness = 10000
  79. local weldrot = Instance.new("AlignOrientation", part0)
  80. weldrot.Enabled = false
  81. weldrot.Name = "InvRot"
  82. weldrot.Attachment0 = attachment0
  83. weldrot.Attachment1 = attachment1
  84. weldrot.ReactionTorqueEnabled = true
  85. weldrot.PrimaryAxisOnly = false
  86. weldrot.MaxTorque = 10000
  87. weldrot.MaxAngularVelocity = 10000
  88. weldrot.Responsiveness = 10000
  89. end
  90.  
  91. weld(hat.Handle, script.Armor.RightArmArmor.Fire)
  92. invweld(hat.Handle)
  93.  
  94. local p = Instance.new("Part", game:GetService("Players").LocalPlayer.Character)
  95. p.CanCollide = true
  96. p.Transparency = 1
  97. local w = Instance.new("Weld", p)
  98. w.Part0 = p
  99. w.Part1 = game:GetService("Players").LocalPlayer.Character.NullwareReanim.HumanoidRootPart
  100. w.C0 = w.C0 + Vector3.new(0, 2.5, 0)
  101.  
  102. local AHB = Instance.new("BindableEvent")
  103.  
  104. local FPS = 30
  105.  
  106. local TimeFrame = 0
  107.  
  108. local LastFrame = tick()
  109. local Frame = 1/FPS
  110.  
  111. game:service'RunService'.Heartbeat:connect(function(s,p)
  112. TimeFrame = TimeFrame + s
  113. if(TimeFrame >= Frame)then
  114. for i = 1,math.floor(TimeFrame/Frame) do
  115. AHB:Fire()
  116. end
  117. LastFrame=tick()
  118. TimeFrame=TimeFrame-Frame*math.floor(TimeFrame/Frame)
  119. end
  120. end)
  121.  
  122.  
  123. function swait(dur)
  124. if(dur == 0 or typeof(dur) ~= 'number')then
  125. AHB.Event:wait()
  126. else
  127. for i = 1, dur*FPS do
  128. AHB.Event:wait()
  129. end
  130. end
  131. end
  132.  
  133. -- converter by Drahazar
  134. -- converted using Drahazar's Void SB Script Converter
  135.  
  136. --//====================================================\\--
  137. --|| CREATED BY HELKERN USING SHACK BASE
  138. --\\====================================================//--
  139.  
  140. wait(0.2)
  141.  
  142. Player = game:GetService("Players").LocalPlayer
  143. PlayerGui = Player.PlayerGui
  144. Cam = workspace.CurrentCamera
  145. Backpack = Player.Backpack
  146. Character = game:GetService("Players").LocalPlayer.Character["NullwareReanim"]
  147. Humanoid = Character.Humanoid
  148. Mouse = Player:GetMouse()
  149. RootPart = Character["HumanoidRootPart"]
  150. Torso = Character["Torso"]
  151. Head = Character["Head"]
  152. RightArm = Character["Right Arm"]
  153. LeftArm = Character["Left Arm"]
  154. RightLeg = Character["Right Leg"]
  155. LeftLeg = Character["Left Leg"]
  156. RootJoint = RootPart["RootJoint"]
  157. Neck = Torso["Neck"]
  158. RightShoulder = Torso["Right Shoulder"]
  159. LeftShoulder = Torso["Left Shoulder"]
  160. RightHip = Torso["Right Hip"]
  161. LeftHip = Torso["Left Hip"]
  162. local sick = Instance.new("Sound",Torso)
  163.  
  164. IT = Instance.new
  165. CF = CFrame.new
  166. VT = Vector3.new
  167. RAD = math.rad
  168. C3 = Color3.new
  169. UD2 = UDim2.new
  170. BRICKC = BrickColor.new
  171. ANGLES = CFrame.Angles
  172. EULER = CFrame.fromEulerAnglesXYZ
  173. COS = math.cos
  174. ACOS = math.acos
  175. SIN = math.sin
  176. ASIN = math.asin
  177. ABS = math.abs
  178. MRANDOM = math.random
  179. FLOOR = math.floor
  180.  
  181. --//=================================\\
  182. --|| USEFUL VALUES
  183. --\\=================================//
  184.  
  185. Animation_Speed = 3
  186. Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60)
  187. local dist = 0
  188. local part = Instance.new("Part", Character.Parent)
  189. part.Anchored = true
  190. part.Transparency = 1
  191. local Speed = 16
  192. local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  193. local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  194. local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0))
  195. local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0))
  196. local DAMAGEMULTIPLIER = 1
  197. local ANIM = "Idle"
  198. local ATTACK = false
  199. local ATTACKM = ""
  200. local EQUIPPED = false
  201. local HOLD = false
  202. local COMBO = 1
  203. local Rooted = false
  204. local SINE = 0
  205. local KEYHOLD = false
  206. local CHANGE = 2 / Animation_Speed
  207. local WALKINGANIM = false
  208. local VALUE1 = false
  209. local VALUE2 = false
  210. local ROBLOXIDLEANIMATION = IT("Animation")
  211. ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation"
  212. ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571"
  213. --ROBLOXIDLEANIMATION.Parent = Humanoid
  214. local WEAPONGUI = IT("ScreenGui", PlayerGui)
  215. WEAPONGUI.Name = "Weapon GUI"
  216. local Effects = IT("Folder", Character.Parent)
  217. Effects.Name = "Effects"
  218. local ANIMATOR = Humanoid.Animator
  219. local ANIMATE = Character.Animate
  220. ANIMATOR:Destroy()
  221. local UNANCHOR = true
  222. local HITPLAYERSOUNDS = {--[["199149137", "199149186", "199149221", "199149235", "199149269", "199149297"--]]"263032172", "263032182", "263032200", "263032221", "263032252", "263033191"}
  223.  
  224. local hrpz = game:GetService("Players").LocalPlayer.Character.HumanoidRootPart
  225.  
  226. hrpz.Name = "HumanoidRootPart"
  227. hrpz.Transparency = 0.5
  228. hrpz.Anchored = false
  229. if hrpz:FindFirstChildOfClass("AlignPosition") then
  230. hrpz:FindFirstChildOfClass("AlignPosition"):Destroy()
  231. end
  232. if hrpz:FindFirstChildOfClass("AlignOrientation") then
  233. hrpz:FindFirstChildOfClass("AlignOrientation"):Destroy()
  234. end
  235. local bp = Instance.new("BodyPosition", hrpz)
  236. bp.Position = game:GetService("Players").LocalPlayer.Character.NullwareReanim.HumanoidRootPart.Position
  237. bp.D = 9999999
  238. bp.P = 999999999999999
  239. bp.MaxForce = Vector3.new(math.huge,math.huge,math.huge)
  240. local flinger = Instance.new("BodyAngularVelocity",hrpz)
  241. flinger.MaxTorque = Vector3.new(math.huge,math.huge,math.huge)
  242. flinger.P = 1000000000000000000000000000
  243. flinger.AngularVelocity = Vector3.new(10000,10000,10000)
  244. spawn(function()
  245. while game:GetService("RunService").Heartbeat:Wait() do
  246. if ATTACK == false then
  247. bp.Position = game:GetService("Players").LocalPlayer.Character.NullwareReanim.HumanoidRootPart.Position
  248. else
  249. if ATTACKM == "tpkill" then
  250. local tar = game:GetService("Players").LocalPlayer:GetMouse().Target
  251. bp.Position = tar.Position
  252. elseif ATTACKM == "firebarrage" then
  253. part.CFrame = RootPart.CFrame + RootPart.CFrame.lookVector*dist*2
  254. bp.Position = part.Position
  255. end
  256. end
  257. end
  258. end)
  259.  
  260. --//=================================\\
  261. --\\=================================//
  262.  
  263.  
  264. --//=================================\\
  265. --|| SAZERENOS' ARTIFICIAL HEARTBEAT
  266. --\\=================================//
  267.  
  268. ArtificialHB = Instance.new("BindableEvent")
  269. ArtificialHB.Name = "ArtificialHB"
  270.  
  271. frame = Frame_Speed
  272. tf = 0
  273. allowframeloss = false
  274. tossremainder = false
  275. lastframe = tick()
  276. ArtificialHB:Fire()
  277.  
  278. game:GetService("RunService").Heartbeat:connect(function(s, p)
  279. tf = tf + s
  280. if tf >= frame then
  281. if allowframeloss then
  282. ArtificialHB:Fire()
  283. lastframe = tick()
  284. else
  285. for i = 1, math.floor(tf / frame) do
  286. ArtificialHB:Fire()
  287. end
  288. lastframe = tick()
  289. end
  290. if tossremainder then
  291. tf = 0
  292. else
  293. tf = tf - frame * math.floor(tf / frame)
  294. end
  295. end
  296. end)
  297.  
  298. --//=================================\\
  299. --\\=================================//
  300.  
  301. --//=================================\\
  302. --|| SOME FUNCTIONS
  303. --\\=================================//
  304.  
  305. function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
  306. return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
  307. end
  308.  
  309. function PositiveAngle(NUMBER)
  310. if NUMBER >= 0 then
  311. NUMBER = 0
  312. end
  313. return NUMBER
  314. end
  315.  
  316. function NegativeAngle(NUMBER)
  317. if NUMBER <= 0 then
  318. NUMBER = 0
  319. end
  320. return NUMBER
  321. end
  322.  
  323. function Swait(NUMBER)
  324. if NUMBER == 0 or NUMBER == nil then
  325. ArtificialHB.Event:wait()
  326. else
  327. for i = 1, NUMBER do
  328. ArtificialHB.Event:wait()
  329. end
  330. end
  331. end
  332.  
  333. function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
  334. local NEWMESH = IT(MESH)
  335. if MESH == "SpecialMesh" then
  336. NEWMESH.MeshType = MESHTYPE
  337. if MESHID ~= "nil" and MESHID ~= "" then
  338. NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID
  339. end
  340. if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
  341. NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID
  342. end
  343. end
  344. NEWMESH.Offset = OFFSET or VT(0, 0, 0)
  345. NEWMESH.Scale = SCALE
  346. NEWMESH.Parent = PARENT
  347. return NEWMESH
  348. end
  349.  
  350. function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
  351. local NEWPART = IT("Part")
  352. NEWPART.formFactor = FORMFACTOR
  353. NEWPART.Reflectance = REFLECTANCE
  354. NEWPART.Transparency = TRANSPARENCY
  355. NEWPART.CanCollide = false
  356. NEWPART.Locked = true
  357. NEWPART.Anchored = true
  358. if ANCHOR == false then
  359. NEWPART.Anchored = false
  360. end
  361. NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
  362. NEWPART.Name = NAME
  363. NEWPART.Size = SIZE
  364. NEWPART.Position = Torso.Position
  365. NEWPART.Material = MATERIAL
  366. NEWPART:BreakJoints()
  367. NEWPART.Parent = PARENT
  368. return NEWPART
  369. end
  370.  
  371. local function weldBetween(a, b)
  372. local weldd = Instance.new("ManualWeld")
  373. weldd.Part0 = a
  374. weldd.Part1 = b
  375. weldd.C0 = CFrame.new()
  376. weldd.C1 = b.CFrame:inverse() * a.CFrame
  377. weldd.Parent = a
  378. return weldd
  379. end
  380.  
  381.  
  382. function QuaternionFromCFrame(cf)
  383. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  384. local trace = m00 + m11 + m22
  385. if trace > 0 then
  386. local s = math.sqrt(1 + trace)
  387. local recip = 0.5 / s
  388. return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  389. else
  390. local i = 0
  391. if m11 > m00 then
  392. i = 1
  393. end
  394. if m22 > (i == 0 and m00 or m11) then
  395. i = 2
  396. end
  397. if i == 0 then
  398. local s = math.sqrt(m00 - m11 - m22 + 1)
  399. local recip = 0.5 / s
  400. return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  401. elseif i == 1 then
  402. local s = math.sqrt(m11 - m22 - m00 + 1)
  403. local recip = 0.5 / s
  404. return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  405. elseif i == 2 then
  406. local s = math.sqrt(m22 - m00 - m11 + 1)
  407. local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  408. end
  409. end
  410. end
  411.  
  412. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  413. local xs, ys, zs = x + x, y + y, z + z
  414. local wx, wy, wz = w * xs, w * ys, w * zs
  415. local xx = x * xs
  416. local xy = x * ys
  417. local xz = x * zs
  418. local yy = y * ys
  419. local yz = y * zs
  420. local zz = z * zs
  421. 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))
  422. end
  423.  
  424. function QuaternionSlerp(a, b, t)
  425. local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  426. local startInterp, finishInterp;
  427. if cosTheta >= 0.0001 then
  428. if (1 - cosTheta) > 0.0001 then
  429. local theta = ACOS(cosTheta)
  430. local invSinTheta = 1 / SIN(theta)
  431. startInterp = SIN((1 - t) * theta) * invSinTheta
  432. finishInterp = SIN(t * theta) * invSinTheta
  433. else
  434. startInterp = 1 - t
  435. finishInterp = t
  436. end
  437. else
  438. if (1 + cosTheta) > 0.0001 then
  439. local theta = ACOS(-cosTheta)
  440. local invSinTheta = 1 / SIN(theta)
  441. startInterp = SIN((t - 1) * theta) * invSinTheta
  442. finishInterp = SIN(t * theta) * invSinTheta
  443. else
  444. startInterp = t - 1
  445. finishInterp = t
  446. end
  447. end
  448. 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
  449. end
  450.  
  451. function Clerp(a, b, t)
  452. local qa = {QuaternionFromCFrame(a)}
  453. local qb = {QuaternionFromCFrame(b)}
  454. local ax, ay, az = a.x, a.y, a.z
  455. local bx, by, bz = b.x, b.y, b.z
  456. local _t = 1 - t
  457. return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  458. end
  459.  
  460. function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME)
  461. local frame = IT("Frame")
  462. frame.BackgroundTransparency = TRANSPARENCY
  463. frame.BorderSizePixel = BORDERSIZEPIXEL
  464. frame.Position = POSITION
  465. frame.Size = SIZE
  466. frame.BackgroundColor3 = COLOR
  467. frame.BorderColor3 = BORDERCOLOR
  468. frame.Name = NAME
  469. frame.Parent = PARENT
  470. return frame
  471. end
  472.  
  473. function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME)
  474. local label = IT("TextLabel")
  475. label.BackgroundTransparency = 1
  476. label.Size = UD2(1, 0, 1, 0)
  477. label.Position = UD2(0, 0, 0, 0)
  478. label.TextColor3 = TEXTCOLOR
  479. label.TextStrokeTransparency = STROKETRANSPARENCY
  480. label.TextTransparency = TRANSPARENCY
  481. label.FontSize = TEXTFONTSIZE
  482. label.Font = TEXTFONT
  483. label.BorderSizePixel = BORDERSIZEPIXEL
  484. label.TextScaled = false
  485. label.Text = TEXT
  486. label.Name = NAME
  487. label.Parent = PARENT
  488. return label
  489. end
  490.  
  491. function NoOutlines(PART)
  492. PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10
  493. end
  494.  
  495. function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
  496. local NEWWELD = IT(TYPE)
  497. NEWWELD.Part0 = PART0
  498. NEWWELD.Part1 = PART1
  499. NEWWELD.C0 = C0
  500. NEWWELD.C1 = C1
  501. NEWWELD.Parent = PARENT
  502. return NEWWELD
  503. end
  504.  
  505. local S = IT("Sound")
  506. function CreateSound(ID, PARENT, VOLUME, PITCH, DOESLOOP)
  507. local NEWSOUND = nil
  508. coroutine.resume(coroutine.create(function()
  509. NEWSOUND = S:Clone()
  510. NEWSOUND.EmitterSize = 5*VOLUME
  511. NEWSOUND.Parent = PARENT
  512. NEWSOUND.Volume = VOLUME
  513. NEWSOUND.Pitch = PITCH
  514. NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID
  515. NEWSOUND:play()
  516. if DOESLOOP == true then
  517. NEWSOUND.Looped = true
  518. else
  519. repeat wait(1) until NEWSOUND.Playing == false
  520. NEWSOUND:remove()
  521. end
  522. end))
  523. return NEWSOUND
  524. end
  525.  
  526. function CFrameFromTopBack(at, top, back)
  527. local right = top:Cross(back)
  528. 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)
  529. end
  530.  
  531. --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})
  532. function WACKYEFFECT(Table)
  533. local TYPE = (Table.EffectType or "Sphere")
  534. local SIZE = (Table.Size or VT(1,1,1))
  535. local ENDSIZE = (Table.Size2 or VT(0,0,0))
  536. local TRANSPARENCY = (Table.Transparency or 0)
  537. local ENDTRANSPARENCY = (Table.Transparency2 or 1)
  538. local CFRAME = (Table.CFrame or Torso.CFrame)
  539. local MOVEDIRECTION = (Table.MoveToPos or nil)
  540. local ROTATION1 = (Table.RotationX or 0)
  541. local ROTATION2 = (Table.RotationY or 0)
  542. local ROTATION3 = (Table.RotationZ or 0)
  543. local MATERIAL = (Table.Material or "Neon")
  544. local COLOR = (Table.Color or C3(1,1,1))
  545. local TIME = (Table.Time or 45)
  546. local SOUNDID = (Table.SoundID or nil)
  547. local SOUNDPITCH = (Table.SoundPitch or nil)
  548. local SOUNDVOLUME = (Table.SoundVolume or nil)
  549. coroutine.resume(coroutine.create(function()
  550. local PLAYSSOUND = false
  551. local SOUND = nil
  552. local EFFECT = CreatePart(3, Effects, MATERIAL, 0, TRANSPARENCY, BRICKC("Pearl"), "Effect", VT(1,1,1), true)
  553. if SOUNDID ~= nil and SOUNDPITCH ~= nil and SOUNDVOLUME ~= nil then
  554. PLAYSSOUND = true
  555. SOUND = CreateSound(SOUNDID, EFFECT, SOUNDVOLUME, SOUNDPITCH, false)
  556. end
  557. EFFECT.Color = COLOR
  558. local MSH = nil
  559. if TYPE == "Sphere" then
  560. MSH = CreateMesh("SpecialMesh", EFFECT, "Sphere", "", "", SIZE, VT(0,0,0))
  561. elseif TYPE == "Block" then
  562. MSH = IT("BlockMesh",EFFECT)
  563. MSH.Scale = VT(SIZE.X,SIZE.X,SIZE.X)
  564. elseif TYPE == "Wave" then
  565. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "20329976", "", SIZE, VT(0,0,-SIZE.X/8))
  566. elseif TYPE == "Ring" then
  567. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "559831844", "", VT(SIZE.X,SIZE.X,0.1), VT(0,0,0))
  568. elseif TYPE == "Slash" then
  569. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662586858", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  570. elseif TYPE == "Round Slash" then
  571. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662585058", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  572. elseif TYPE == "Swirl" then
  573. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "1051557", "", SIZE, VT(0,0,0))
  574. elseif TYPE == "Skull" then
  575. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "4770583", "", SIZE, VT(0,0,0))
  576. elseif TYPE == "Crystal" then
  577. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "9756362", "", SIZE, VT(0,0,0))
  578. end
  579. if MSH ~= nil then
  580. local MOVESPEED = nil
  581. if MOVEDIRECTION ~= nil then
  582. MOVESPEED = (CFRAME.p - MOVEDIRECTION).Magnitude/TIME
  583. end
  584. local GROWTH = SIZE - ENDSIZE
  585. local TRANS = TRANSPARENCY - ENDTRANSPARENCY
  586. if TYPE == "Block" then
  587. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  588. else
  589. EFFECT.CFrame = CFRAME
  590. end
  591. for LOOP = 1, TIME+1 do
  592. Swait()
  593. MSH.Scale = MSH.Scale - GROWTH/TIME
  594. if TYPE == "Wave" then
  595. MSH.Offset = VT(0,0,-MSH.Scale.X/8)
  596. end
  597. EFFECT.Transparency = EFFECT.Transparency - TRANS/TIME
  598. if TYPE == "Block" then
  599. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  600. else
  601. EFFECT.CFrame = EFFECT.CFrame*ANGLES(RAD(ROTATION1),RAD(ROTATION2),RAD(ROTATION3))
  602. end
  603. if MOVEDIRECTION ~= nil then
  604. local ORI = EFFECT.Orientation
  605. EFFECT.CFrame = CF(EFFECT.Position,MOVEDIRECTION)*CF(0,0,-MOVESPEED)
  606. EFFECT.Orientation = ORI
  607. end
  608. end
  609. if PLAYSSOUND == false then
  610. EFFECT:remove()
  611. else
  612. repeat Swait() until SOUND.Playing == false
  613. EFFECT:remove()
  614. end
  615. else
  616. if PLAYSSOUND == false then
  617. EFFECT:remove()
  618. else
  619. repeat Swait() until SOUND.Playing == false
  620. EFFECT:remove()
  621. end
  622. end
  623. end))
  624. end
  625.  
  626. function WACKYEFFECT2(Table)
  627. local TYPE = (Table.EffectType or "Sphere")
  628. local SIZE = (Table.Size or VT(1,1,1))
  629. local ENDSIZE = (Table.Size2 or VT(0,0,0))
  630. local TRANSPARENCY = (Table.Transparency or 0)
  631. local ENDTRANSPARENCY = (Table.Transparency2 or 1)
  632. local CFRAME = (Table.CFrame or Torso.CFrame)
  633. local MOVEDIRECTION = (Table.MoveToPos or nil)
  634. local ROTATION1 = (Table.RotationX or 0)
  635. local ROTATION2 = (Table.RotationY or 0)
  636. local ROTATION3 = (Table.RotationZ or 0)
  637. local MATERIAL = (Table.Material or "Neon")
  638. local COLOR = (Table.Color or C3(1,1,1))
  639. local TIME = (Table.Time or 45)
  640. local SOUNDID = (Table.SoundID or nil)
  641. local SOUNDPITCH = (Table.SoundPitch or nil)
  642. local SOUNDVOLUME = (Table.SoundVolume or nil)
  643. local ISCHAOS = (Table.Chaos or false)
  644. coroutine.resume(coroutine.create(function()
  645. local PLAYSSOUND = false
  646. local SOUND = nil
  647. local EFFECT = CreatePart(3, Effects, MATERIAL, 0, TRANSPARENCY, BRICKC"a", "Effect", VT(1,1,1), true)
  648. EFFECT.Color = COLOR
  649. if SOUNDID ~= nil and SOUNDPITCH ~= nil and SOUNDVOLUME ~= nil then
  650. PLAYSSOUND = true
  651. SOUND = CreateSound(SOUNDID, EFFECT, SOUNDVOLUME, SOUNDPITCH, false)
  652. end
  653.  
  654. local MSH = nil
  655. if TYPE == "Sphere" then
  656. MSH = CreateMesh("SpecialMesh", EFFECT, "Sphere", "", "", SIZE, VT(0,0,0))
  657. elseif TYPE == "Block" or TYPE == "Box" then
  658. MSH = IT("BlockMesh",EFFECT)
  659. MSH.Scale = SIZE
  660. elseif TYPE == "Wave" then
  661. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "20329976", "", SIZE, VT(0,0,-SIZE.X/8))
  662. elseif TYPE == "Ring" then
  663. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "559831844", "", VT(SIZE.X,SIZE.X,0.1), VT(0,0,0))
  664. elseif TYPE == "Slash" then
  665. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662586858", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  666. elseif TYPE == "Round Slash" then
  667. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662585058", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  668. elseif TYPE == "Swirl" then
  669. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "1051557", "", SIZE, VT(0,0,0))
  670. elseif TYPE == "Skull" then
  671. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "4770583", "", SIZE, VT(0,0,0))
  672. elseif TYPE == "Crystal" then
  673. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "9756362", "", SIZE, VT(0,0,0))
  674. end
  675. if MSH ~= nil then
  676. local MOVESPEED = nil
  677. if MOVEDIRECTION ~= nil then
  678. MOVESPEED = (CFRAME.p - MOVEDIRECTION).Magnitude/TIME
  679. end
  680. local GROWTH = SIZE - ENDSIZE
  681. local TRANS = TRANSPARENCY - ENDTRANSPARENCY
  682. if TYPE == "Block" then
  683. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  684. else
  685. EFFECT.CFrame = CFRAME
  686. end
  687. for LOOP = 1, TIME+1 do
  688. Swait()
  689. MSH.Scale = MSH.Scale - GROWTH/TIME
  690. if ISCHAOS == true then
  691. EFFECT.Color = BrickColor.Random().Color
  692. end
  693. if TYPE == "Wave" then
  694. MSH.Offset = VT(0,0,-MSH.Scale.X/8)
  695. end
  696. EFFECT.Transparency = EFFECT.Transparency - TRANS/TIME
  697.  
  698. if TYPE == "Block" then
  699. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  700. else
  701. EFFECT.CFrame = EFFECT.CFrame*ANGLES(RAD(ROTATION1),RAD(ROTATION2),RAD(ROTATION3))
  702. end
  703. if MOVEDIRECTION ~= nil then
  704. local ORI = EFFECT.Orientation
  705. EFFECT.CFrame = CF(EFFECT.Position,MOVEDIRECTION)*CF(0,0,-MOVESPEED)
  706. EFFECT.Orientation = ORI
  707. end
  708. end
  709. if PLAYSSOUND == false then
  710. EFFECT:remove()
  711. else
  712. repeat Swait() until EFFECT:FindFirstChildOfClass("Sound") == nil
  713. EFFECT:remove()
  714. end
  715. else
  716. if PLAYSSOUND == false then
  717. EFFECT:remove()
  718. else
  719. repeat Swait() until EFFECT:FindFirstChildOfClass("Sound") == nil
  720. EFFECT:remove()
  721. end
  722. end
  723. end))
  724. end
  725.  
  726. function Aura(bonuspeed, FastSpeed, type, pos, x1, y1, z1, value, color, outerpos, MType)
  727. local type = type
  728. local rng = Instance.new("Part", Effects)
  729. rng.Anchored = true
  730. rng.Color = color
  731. rng.CanCollide = false
  732. rng.FormFactor = 3
  733. rng.Name = "Ring"
  734. rng.Material = "Neon"
  735. rng.Size = Vector3.new(1, 1, 1)
  736. rng.Transparency = 0
  737. rng.TopSurface = 0
  738. rng.BottomSurface = 0
  739. rng.CFrame = pos
  740. rng.CFrame = rng.CFrame + rng.CFrame.lookVector * outerpos
  741. local rngm = Instance.new("SpecialMesh", rng)
  742. rngm.MeshType = MType
  743. rngm.Scale = Vector3.new(x1, y1, z1)
  744. local scaler2 = 1
  745. local speeder = FastSpeed
  746. if type == "Add" then
  747. scaler2 = 1 * value
  748. elseif type == "Divide" then
  749. scaler2 = 1 / value
  750. end
  751. coroutine.resume(coroutine.create(function()
  752. for i = 0, 10 / bonuspeed, 0.1 do
  753. swait()
  754. if type == "Add" then
  755. scaler2 = scaler2 - 0.01 * value / bonuspeed
  756. elseif type == "Divide" then
  757. scaler2 = scaler2 - 0.01 / value * bonuspeed
  758. end
  759. speeder = speeder - 0.01 * FastSpeed * bonuspeed
  760. rng.CFrame = rng.CFrame + rng.CFrame.lookVector * speeder * bonuspeed
  761. rng.Transparency = rng.Transparency + 0.01 * bonuspeed
  762. rngm.Scale = rngm.Scale + Vector3.new(scaler2 * bonuspeed, scaler2 * bonuspeed, 0)
  763. end
  764. rng:Destroy()
  765. end))
  766. end
  767.  
  768.  
  769. function MakeForm(PART,TYPE)
  770. if TYPE == "Cyl" then
  771. local MSH = IT("CylinderMesh",PART)
  772. elseif TYPE == "Ball" then
  773. local MSH = IT("SpecialMesh",PART)
  774. MSH.MeshType = "Sphere"
  775. elseif TYPE == "Wedge" then
  776. local MSH = IT("SpecialMesh",PART)
  777. MSH.MeshType = "Wedge"
  778. end
  779. end
  780.  
  781. Debris = game:GetService("Debris")
  782.  
  783. function CastProperRay(StartPos, EndPos, Distance, Ignore)
  784. local DIRECTION = CF(StartPos,EndPos).lookVector
  785. return Raycast(StartPos, DIRECTION, Distance, Ignore)
  786. end
  787.  
  788.  
  789. function Gyro(PARENT)
  790. local GYRO = IT("BodyGyro",PARENT)
  791. GYRO.D = 750
  792. GYRO.P = 20000
  793. GYRO.MaxTorque = VT(0,40000000,0)
  794. return GYRO
  795. end
  796.  
  797. function POSITION(PARENT)
  798. local grav = Instance.new("BodyPosition",PARENT)
  799. grav.D = 15
  800. grav.P = 20000
  801. grav.maxForce = Vector3.new(math.huge,math.huge,math.huge)
  802. return grav
  803. end
  804.  
  805. function FacialShadow()
  806. local SHADOWS = {}
  807. for i = 1, 16 do
  808. local FACE = CreatePart(3, Effects, "Fabric", 0, 0+(i-1)/16.2, "Dark stone grey", "FaceGradient", VT(1.01,0.65,1.01),false)
  809. FACE.Color = C3(0,0,0)
  810. Head:FindFirstChildOfClass("SpecialMesh"):Clone().Parent = FACE
  811. CreateWeldOrSnapOrMotor("Weld", Head, Head, FACE, CF(0,0.35-(i-1)/25,0), CF(0, 0, 0))
  812. table.insert(SHADOWS,FACE)
  813. end
  814. local UNDO = function()
  815. for i = 1, #SHADOWS do
  816. SHADOWS[i]:remove()
  817. end
  818. end
  819. return UNDO
  820. end
  821.  
  822. function GetRoot(MODEL,ROOT)
  823. if ROOT == true then
  824. return MODEL:FindFirstChild("HumanoidRootPart") or MODEL:FindFirstChild("Torso") or MODEL:FindFirstChild("UpperTorso")
  825. else
  826. return MODEL:FindFirstChild("Torso") or MODEL:FindFirstChild("UpperTorso")
  827. end
  828. end
  829.  
  830. function CreateFlyingDebree(FLOOR,POSITION,AMOUNT,BLOCKSIZE,SWAIT,STRENGTH)
  831. if FLOOR ~= nil then
  832. for i = 1, AMOUNT do
  833. local DEBREE = CreatePart(3, Effects, "Neon", FLOOR.Reflectance, FLOOR.Transparency, "Peal", "Debree", BLOCKSIZE, false)
  834. DEBREE.Material = FLOOR.Material
  835. DEBREE.Color = FLOOR.Color
  836. DEBREE.CFrame = POSITION * ANGLES(RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360)))
  837. DEBREE.Velocity = VT(MRANDOM(-STRENGTH,STRENGTH),MRANDOM(-STRENGTH,STRENGTH),MRANDOM(-STRENGTH,STRENGTH))
  838. coroutine.resume(coroutine.create(function()
  839. Swait(15)
  840. DEBREE.Parent = workspace
  841. DEBREE.CanCollide = true
  842. Debris:AddItem(DEBREE,SWAIT)
  843. end))
  844. end
  845. end
  846. end
  847.  
  848. function SHAKECAM(POSITION,RANGE,INTENSITY,TIME)
  849. local CHILDREN = workspace:GetDescendants()
  850. for index, CHILD in pairs(CHILDREN) do
  851. if CHILD.ClassName == "Model" then
  852. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  853. if HUM then
  854. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  855. if TORSO then
  856. if (TORSO.Position - POSITION).Magnitude <= RANGE then
  857. local CAMSHAKER = script.CamShake:Clone()
  858. CAMSHAKER.Shake.Value = INTENSITY
  859. CAMSHAKER.Timer.Value = TIME
  860. CAMSHAKER.Parent = CHILD
  861. CAMSHAKER.Disabled = false
  862. end
  863. end
  864. end
  865. end
  866. end
  867. end
  868.  
  869. function CharacterFade(COLOR,TIMER)
  870. coroutine.resume(coroutine.create(function()
  871. local FADE = IT("Model",Effects)
  872. for _, c in pairs(Character:GetChildren()) do
  873. if c.ClassName == "Part" and c ~= RootPart and c ~= LeftL and c ~= LeftA and c ~= RightA and c ~= Helmet and c ~= TorsA and c ~= RightL then
  874. local FADER = c:Clone()
  875. FADER.Color = COLOR
  876. FADER.CFrame = c.CFrame
  877. FADER.Parent = FADE
  878. FADER.Anchored = true
  879. FADER.CanCollide = false
  880. FADER.Transparency = 0.25
  881. FADER:BreakJoints()
  882. FADER.Material = "Neon"
  883. FADER:ClearAllChildren()
  884. if FADER.Name == "Head" then
  885. FADER.Size = VT(1,1,1)
  886. end
  887. end
  888. end
  889. local TRANS = 0.75/TIMER
  890. for i = 1, TIMER do
  891. Swait()
  892. for _, c in pairs(FADE:GetChildren()) do
  893. if c.ClassName == "Part" then
  894. c.Transparency = c.Transparency + TRANS
  895. end
  896. end
  897. end
  898. FADE:remove()
  899. end))
  900. end
  901.  
  902.  
  903. --//=================================\\
  904. --|| WEAPON CREATION
  905. --\\=================================//
  906. local Armor = script.Armor
  907. local Helmet = Armor.Helmet
  908. Helmet.Parent = Character
  909. for i,v in pairs(Helmet:GetChildren()) do
  910. v.Anchored = false
  911. end
  912. local HelmetWeld = CreateWeldOrSnapOrMotor("Weld",Head,Helmet.Main,Head,CF(0,0,0),CF(0,0,0))
  913.  
  914. local LeftA = Armor.LeftArmArmor
  915. LeftA.Parent = Character
  916. for i,v in pairs(LeftA:GetChildren()) do
  917. v.Anchored = false
  918. end
  919. local LeftAWeld = CreateWeldOrSnapOrMotor("Weld",LeftArm,LeftA.Main,LeftArm,CF(0,0,0),CF(0,0,0))
  920.  
  921. local LeftL = Armor.LeftLegArmor
  922. LeftL.Parent = Character
  923. for i,v in pairs(LeftL:GetChildren()) do
  924. v.Anchored = false
  925. end
  926. local LeftLWeld = CreateWeldOrSnapOrMotor("Weld",LeftLeg,LeftL.Main,LeftLeg,CF(0,0,0),CF(0,0,0))
  927.  
  928. local RightA = Armor.RightArmArmor
  929. RightA.Parent = Character
  930. for i,v in pairs(RightA:GetChildren()) do
  931. v.Anchored = false
  932. end
  933. local RightAWeld = CreateWeldOrSnapOrMotor("Weld",RightArm,RightA.Main,RightArm,CF(0,0,0),CF(0,0,0))
  934.  
  935. local RightL = Armor.RightLegArmor
  936. RightL.Parent = Character
  937. for i,v in pairs(RightL:GetChildren()) do
  938. v.Anchored = false
  939. end
  940. local RightLWeld = CreateWeldOrSnapOrMotor("Weld",RightLeg,RightL.Main,RightLeg,CF(0,0,0),CF(0,0,0))
  941.  
  942. local TorsA = Armor.TorsoArmor
  943. TorsA.Parent = Character
  944. for i,v in pairs(TorsA:GetChildren()) do
  945. v.Anchored = false
  946. end
  947. local TorsAWeld = CreateWeldOrSnapOrMotor("Weld",Torso,TorsA.Main,Torso,CF(0,0,0),CF(0,0,0))
  948.  
  949. local FireBall = RightA.Fire
  950. local FlameA = FireBall.Flame
  951. local FlameB = FireBall.Sparks
  952. local FlameW = RightA.Main.FireWeld
  953.  
  954. for i,v in pairs(Character:GetChildren()) do
  955. if v:IsA("Part") then
  956. v.Transparency = 1
  957. end
  958. end
  959.  
  960. function EnableFire()
  961. hat.Handle.AlignPosition.Enabled = true
  962. hat.Handle.AlignOrientation.Enabled = true
  963. hat.Handle.InvPos.Enabled = false
  964. hat.Handle.InvRot.Enabled = false
  965. FireBall.Transparency = 0
  966. FlameA.Enabled = true
  967. FlameB.Enabled = true
  968. end
  969.  
  970. function DisableFire()
  971. hat.Handle.AlignPosition.Enabled = false
  972. hat.Handle.AlignOrientation.Enabled = false
  973. hat.Handle.InvPos.Enabled = true
  974. hat.Handle.InvRot.Enabled = true
  975. FireBall.Transparency = 1
  976. FlameA.Enabled = false
  977. FlameB.Enabled = false
  978. end
  979.  
  980.  
  981.  
  982.  
  983. --//=================================\\
  984. --|| DAMAGING
  985. --\\=================================//
  986. function Kill(Char)
  987. local NewCharacter = IT("Model",Effects)
  988. NewCharacter.Name = "Lava"
  989. for _, c in pairs(Char:GetDescendants()) do
  990. if c:IsA("BasePart") and c.Transparency == 0 then
  991. c:BreakJoints()
  992. c.Material = "Neon"
  993. c.Color = Color3.fromRGB(255,85,0)
  994. coroutine.resume(coroutine.create(function()
  995. while wait() do
  996. c.Size = VT(c.Size.X - 0.01,c.Size.Y - 0.01,c.Size.Z - 0.01)
  997. end
  998. end))
  999. c.CanCollide = true
  1000. c.Transparency = 0
  1001. if c:FindFirstChildOfClass("SpecialMesh") then
  1002. c:FindFirstChildOfClass("SpecialMesh").TextureId = ""
  1003. end
  1004. if c.Name == "Head" then
  1005. c:ClearAllChildren()
  1006. c.Size = VT(c.Size.Y,c.Size.Y,c.Size.Y)
  1007. end
  1008. if c.ClassName == "MeshPart" then
  1009. c.TextureID = ""
  1010. end
  1011. if c:FindFirstChildOfClass("BodyPosition") then
  1012. c:FindFirstChildOfClass("BodyPosition"):remove()
  1013. end
  1014. if c:FindFirstChildOfClass("ParticleEmitter") then
  1015. c:FindFirstChildOfClass("ParticleEmitter"):remove()
  1016. end
  1017. c.Parent = NewCharacter
  1018. c.Name = "DeadPart"
  1019. c.Velocity = VT(MRANDOM(-45,45),MRANDOM(-45,45),MRANDOM(-45,45))/15
  1020. c.RotVelocity = VT(MRANDOM(-45,45),MRANDOM(-15,85),MRANDOM(-45,45))
  1021. end
  1022. end
  1023. Char:remove()
  1024. Debris:AddItem(NewCharacter,5)
  1025. coroutine.resume(coroutine.create(function()
  1026. wait(5)
  1027. if game:GetService("Players"):GetPlayerFromCharacter(Char) then
  1028. game:GetService("Players"):GetPlayerFromCharacter(Char):LoadCharacter()
  1029. end
  1030. end))
  1031. end
  1032.  
  1033. function ApplyDamage(Humanoid,Damage)
  1034. Damage = Damage * DAMAGEMULTIPLIER
  1035. if Humanoid.Health < 2000 then
  1036. if Humanoid.Health - Damage > 0 then
  1037. Humanoid.Health = Humanoid.Health - Damage
  1038. else
  1039. Humanoid.Parent:BreakJoints()
  1040. end
  1041. else
  1042. Humanoid.Parent:BreakJoints()
  1043. end
  1044. end
  1045.  
  1046. function ApplyAoE(POSITION,RANGE,MINDMG,MAXDMG,FLING,INSTAKILL)
  1047. for index, CHILD in pairs(workspace:GetDescendants()) do
  1048. if CHILD.ClassName == "Model" and CHILD ~= Character then
  1049. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  1050. if HUM then
  1051. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  1052. if TORSO then
  1053. if (TORSO.Position - POSITION).Magnitude <= RANGE then
  1054. if INSTAKILL == true then
  1055. Kill(CHILD)
  1056. else
  1057. local DMG = MRANDOM(MINDMG,MAXDMG)
  1058. ApplyDamage(HUM,DMG)
  1059. end
  1060. if FLING > 0 then
  1061. for _, c in pairs(CHILD:GetChildren()) do
  1062. if c:IsA("BasePart") then
  1063. local bv = Instance.new("BodyVelocity")
  1064. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  1065. bv.velocity = CF(POSITION,TORSO.Position).lookVector*FLING
  1066. bv.Parent = c
  1067. Debris:AddItem(bv,0.05)
  1068. end
  1069. end
  1070. end
  1071. end
  1072. end
  1073. end
  1074. end
  1075. end
  1076. end
  1077.  
  1078. --//=================================\\
  1079. --|| ATTACK FUNCTIONS AND STUFF
  1080. --\\=================================//
  1081. SONG = 925278639
  1082.  
  1083. function Explodelol()
  1084. ATTACK = true
  1085. Rooted = true
  1086. DisableFire()
  1087. local HITFLOOR,HITPOS = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 3.7, Character)
  1088. for i = 1,30 do
  1089. swait()
  1090. local Alpha = .2
  1091. WACKYEFFECT2({EffectType = "Box", Size = VT(1,1,1), Size2 = VT(1,1,1), Transparency = 0, Transparency2 = 1, CFrame = RightLeg.CFrame * CF(0,-1,0), MoveToPos = nil, RotationX = MRANDOM(-5,5), RotationY = MRANDOM(-5,5), RotationZ = MRANDOM(-5,5), Material = "Neon", Color = Color3.fromRGB(255,85,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1092. RootJoint.C0 = RootJoint.C0:lerp(CF(0,0,0)*ANGLES(RAD(-90),RAD(0),RAD(-180)),Alpha)
  1093. LeftShoulder.C0 = LeftShoulder.C0:lerp(CF(-0.9,0.5,0)*ANGLES(RAD(-90),RAD(-78.7),RAD(-90)),Alpha)
  1094. RightShoulder.C0 = RightShoulder.C0:lerp(CF(0.9,0.5,0)*ANGLES(RAD(-90),RAD(76.8),RAD(90)),Alpha)
  1095. Neck.C0 =Neck.C0:lerp(CF(0,1,-0.1)*ANGLES(RAD(-80.8),RAD(0),RAD(180)),Alpha)
  1096. LeftHip.C0 = LeftHip.C0:lerp(CF(-1,-1,0.1)*ANGLES(RAD(0),RAD(-77.9),RAD(0)),Alpha)
  1097. RightHip.C0 = RightHip.C0:lerp(CF(1,0.1,-0.8)*ANGLES(RAD(0),RAD(86.2),RAD(0)),Alpha)
  1098. end
  1099. WACKYEFFECT({Time = 35, EffectType = "Sphere", Size = VT(0,.4,0), Size2 = VT(50,0,50), Transparency = 0, Transparency2 = 1, CFrame = CF(HITPOS), MoveToPos = nil, RotationZ = 0, Material = "Neon", Color = Color3.fromRGB(255,85,0), UseBoomerangMath = true ,SizeBoomerang = 15, SoundID = nil, SoundPitch = nil, SoundVolume = nil,Chaos = false})
  1100. WACKYEFFECT({Time = 35, EffectType = "Sphere", Size = VT(0,.4,0), Size2 = VT(50,0,50), Transparency = 0, Transparency2 = 1, CFrame = CF(HITPOS), MoveToPos = nil, RotationZ = 0, Material = "Neon", Color = Color3.fromRGB(239, 154, 35), UseBoomerangMath = true ,SizeBoomerang = 15, SoundID = nil, SoundPitch = nil, SoundVolume = nil,Chaos = false})
  1101. WACKYEFFECT({Time = 35, EffectType = "Sphere", Size = VT(1,.4,1), Size2 = VT(35,50,35), Transparency = 0, Transparency2 = 1, CFrame = CF(HITPOS), MoveToPos = nil, RotationZ = 0, Material = "Neon", Color = Color3.fromRGB(255,85,0), UseBoomerangMath = true ,SizeBoomerang = 15, SoundID = nil, SoundPitch = nil, SoundVolume = nil,Chaos = false})
  1102. WACKYEFFECT({Time = 35, EffectType = "Sphere", Size = VT(0,.4,0), Size2 = VT(25,40,25), Transparency = 0, Transparency2 = 1, CFrame = CF(HITPOS), MoveToPos = nil, RotationZ = 0, Material = "Neon", Color = Color3.fromRGB(239, 154, 35), UseBoomerangMath = true ,SizeBoomerang = 15, SoundID = nil, SoundPitch = nil, SoundVolume = nil,Chaos = false})
  1103. for i = 1,20 do
  1104. swait()
  1105. local Alpha = .7
  1106. RootJoint.C0 = RootJoint.C0:lerp(CF(0,0,-0.3)*ANGLES(RAD(-105),RAD(0),RAD(-180)),Alpha)
  1107. LeftShoulder.C0 = LeftShoulder.C0:lerp(CF(-0.9,0.5,-0.1)*ANGLES(RAD(-90),RAD(-78.7),RAD(-76.3)),Alpha)
  1108. RightShoulder.C0 = RightShoulder.C0:lerp(CF(0.9,0.4,-0.2)*ANGLES(RAD(-90),RAD(76.8),RAD(65.9)),Alpha)
  1109. Neck.C0 =Neck.C0:lerp(CF(0,1,-0.1)*ANGLES(RAD(-78.4),RAD(0),RAD(-180)),Alpha)
  1110. LeftHip.C0 = LeftHip.C0:lerp(CF(-1,-1.1,0.1)*ANGLES(RAD(15),RAD(-77.9),RAD(0)),Alpha)
  1111. RightHip.C0 = RightHip.C0:lerp(CF(1,-0.8,-0.7)*ANGLES(RAD(15),RAD(86.2),RAD(0)),Alpha)
  1112. end
  1113. EnableFire()
  1114. ATTACK = false
  1115. Rooted = false
  1116. end
  1117.  
  1118. function FireBarrage()
  1119. ATTACK = true
  1120. ATTACKM = "firebarrage"
  1121. dist = 0
  1122. local Alpha = .14
  1123. DisableFire()
  1124. for i = 0,20 do
  1125. swait()
  1126. WACKYEFFECT2({EffectType = "Box", Size = VT(1,1,1), Size2 = VT(1,1,1), Transparency = 0, Transparency2 = 1, CFrame = RightArm.CFrame * CF(0,-1,0), MoveToPos = nil, RotationX = MRANDOM(-5,5), RotationY = MRANDOM(-5,5), RotationZ = MRANDOM(-5,5), Material = "Neon", Color = Color3.fromRGB(255,85,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1127. RootJoint.C0 = RootJoint.C0:lerp(CF(-0.2,0,0.4)*ANGLES(RAD(-90),RAD(0),RAD(131.6)),Alpha)
  1128. LeftShoulder.C0 = LeftShoulder.C0:lerp(CF(-1,0.5,-0.1)*ANGLES(RAD(-22.8),RAD(-78.1),RAD(-22.3)),Alpha)
  1129. RightShoulder.C0 = RightShoulder.C0:lerp(CF(1,0.5,-0.2)*ANGLES(RAD(-171.6),RAD(53.9),RAD(-94.6)),Alpha)
  1130. Neck.C0 =Neck.C0:lerp(CF(0,1,0)*ANGLES(RAD(-90),RAD(0),RAD(-133.5)),Alpha)
  1131. LeftHip.C0 = LeftHip.C0:lerp(CF(-0.8,-1,0.3)*ANGLES(RAD(0),RAD(-27.1),RAD(0)),Alpha)
  1132. RightHip.C0 = RightHip.C0:lerp(CF(0.9,-1,-0.2)*ANGLES(RAD(-180),RAD(86.8),RAD(-180)),Alpha)
  1133. end
  1134. coroutine.resume(coroutine.create(function()
  1135. Swait(10)
  1136. for i = 0,3 do
  1137. swait()
  1138. WACKYEFFECT2({EffectType = "Wave", Size = VT(0,0,0), Size2 = VT(3,3,3), Transparency = 0, Transparency2 = 1, CFrame = RightArm.CFrame * CF(0,-2,0) * ANGLES(RAD(-180),RAD(0),RAD(0)), MoveToPos = nil, RotationX = nil, RotationY = MRANDOM(-5,5), RotationZ = nil, Material = "Neon", Color = Color3.fromRGB(255,255,255), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1139. end
  1140. end))
  1141. for i = 0,3 do
  1142. swait()
  1143. local hb = CreatePart(3,Effects,"Neon",0,1,"Flame orange","Hitb",VT(20,20,20),true)
  1144. hb.CFrame = RootPart.CFrame + RootPart.CFrame.lookVector*dist*2
  1145. WACKYEFFECT2({EffectType = "Wave", Size = VT(0,0,0), Size2 = VT(3,3,3), Transparency = 0, Transparency2 = 1, CFrame = RightArm.CFrame * CF(0,-2,0) * ANGLES(RAD(-180),RAD(0),RAD(0)), MoveToPos = nil, RotationX = nil, RotationY = MRANDOM(-5,5), RotationZ = nil, Material = "Neon", Color = Color3.fromRGB(255,255,255), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1146. end
  1147. for i = 0,3,0.1 do
  1148. swait()
  1149. Debris:AddItem(hb,0.2)
  1150. local Alpha = .4
  1151. RootJoint.C0 = RootJoint.C0:lerp(CF(-0.2,0,0.5)*ANGLES(RAD(-97.2),RAD(0),RAD(-132.9)),Alpha)
  1152. LeftShoulder.C0 = LeftShoulder.C0:lerp(CF(-1,0.5,-0.1)*ANGLES(RAD(-22.8),RAD(-78.1),RAD(-22.3)),Alpha)
  1153. RightShoulder.C0 = RightShoulder.C0:lerp(CF(0.9,0.5,-0.5)*ANGLES(RAD(1.5),RAD(49.5),RAD(100.4)),Alpha)
  1154. Neck.C0 =Neck.C0:lerp(CF(0,1,0)*ANGLES(RAD(-86),RAD(-4.6),RAD(131.1)),Alpha)
  1155. LeftHip.C0 = LeftHip.C0:lerp(CF(-0.3,-1.1,0.2)*ANGLES(RAD(3.1),RAD(19.2),RAD(5.5)),Alpha)
  1156. RightHip.C0 = RightHip.C0:lerp(CF(0.9,-0.9,0)*ANGLES(RAD(-1.7),RAD(51.3),RAD(8.4)),Alpha)
  1157. dist = dist + 1
  1158. WACKYEFFECT2({EffectType = "Box", Size = VT(0,0,0), Size2 = VT(1+dist/2,1+dist/2,1+dist/2), Transparency = 0, Transparency2 = 1, CFrame = RootPart.CFrame * CF(0,1,.1 * dist) + RootPart.CFrame.lookVector*dist*2, MoveToPos = nil, RotationX = MRANDOM(-5,5), RotationY = MRANDOM(-5,5), RotationZ = MRANDOM(-5,5), Material = "Neon", Color = Color3.fromRGB(255,85,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1159. end
  1160. ATTACK = false
  1161. EnableFire()
  1162. end
  1163.  
  1164. function laugh()
  1165. ATTACK = true
  1166. DisableFire()
  1167. CreateSound(3724751315,RootPart,4,1,false)
  1168. for i = 0,50 do
  1169. swait()
  1170. local Alpha = .4
  1171. RootJoint.C0 = RootJoint.C0:lerp(CF(0,0 + 0.07 * COS(SINE/6),0.2)*ANGLES(RAD(-83.4),RAD(0),RAD(-180)),Alpha)
  1172. LeftShoulder.C0 = LeftShoulder.C0:lerp(CF(-1,0.5+ 0.1 * SIN(SINE/6),0)*ANGLES(RAD(-22.7),RAD(-78.1),RAD(-15.3)),Alpha)
  1173. RightShoulder.C0 = RightShoulder.C0:lerp(CF(1,0.5 + 0.1 * SIN(SINE/6),0)*ANGLES(RAD(-21.6),RAD(76.5),RAD(11.9)),Alpha)
  1174. Neck.C0 =Neck.C0:lerp(CF(0,1,-0.1)*ANGLES(RAD(-72.4),RAD(0),RAD(-180)),Alpha)
  1175. LeftHip.C0 = LeftHip.C0:lerp(CF(-1,-1- 0.07 * COS(SINE/6),-0.1)*ANGLES(RAD(-6.6),RAD(-75.6),RAD(0)),Alpha)
  1176. RightHip.C0 = RightHip.C0:lerp(CF(1,-1- 0.07 * COS(SINE/6),0)*ANGLES(RAD(-6.6),RAD(75.7),RAD(0)),Alpha)
  1177. end
  1178. ATTACK = false
  1179. EnableFire()
  1180. end
  1181.  
  1182. function song()
  1183. if SONG == 925278639 then
  1184. SONG = 701895896
  1185. elseif SONG == 701895896 then
  1186. SONG = 1768540477
  1187. elseif SONG == 1768540477 then
  1188. SONG = 1227592267
  1189. elseif SONG == 1227592267 then
  1190. SONG = 3704092097
  1191. elseif SONG == 3704092097 then
  1192. SONG = 871275016
  1193. elseif SONG == 871275016 then
  1194. SONG = 925278639
  1195. end
  1196. end
  1197.  
  1198. function TpKill()
  1199. ATTACK = true
  1200. ATTACKM = "tpkill"
  1201. if Mouse.Target.Parent ~= Character and Mouse.Target.Parent.Parent ~= Character and Mouse.Target.Parent:FindFirstChildOfClass("Humanoid") ~= nil and Mouse.Target ~= nil then
  1202. DisableFire()
  1203. local HUM = Mouse.Target.Parent:FindFirstChildOfClass("Humanoid")
  1204. local TORSO = HUM.Parent:FindFirstChild("Torso") or HUM.Parent:FindFirstChild("UpperTorso")
  1205. if TORSO then
  1206. RootPart.CFrame = TORSO.CFrame + TORSO.CFrame.lookVector * -3
  1207. CharacterFade(Color3.fromRGB(255,85,0),60)
  1208. for i = 0,25 do
  1209. local Alpha = .1
  1210. Swait()
  1211. RootJoint.C0 = RootJoint.C0:lerp(CF(0,0,0)*ANGLES(RAD(-90),RAD(0),RAD(139.1)),Alpha)
  1212. LeftShoulder.C0 = LeftShoulder.C0:lerp(CF(-0.9,0.5,0.1)*ANGLES(RAD(0),RAD(-74.6),RAD(0)),Alpha)
  1213. RightShoulder.C0 = RightShoulder.C0:lerp(CF(1,0.4,0.3)*ANGLES(RAD(178.9),RAD(59.9),RAD(-90)),Alpha)
  1214. Neck.C0 =Neck.C0:lerp(CF(0,1,0)*ANGLES(RAD(-90),RAD(0),RAD(-139.1)),Alpha)
  1215. LeftHip.C0 = LeftHip.C0:lerp(CF(-0.9,-1,0.2)*ANGLES(RAD(0),RAD(-64.7),RAD(0)),Alpha)
  1216. RightHip.C0 = RightHip.C0:lerp(CF(1,-1,0.1)*ANGLES(RAD(0),RAD(80.8),RAD(0)),Alpha)
  1217. end
  1218. wait(.5)
  1219. for i = 0,30 do
  1220. Swait()
  1221. local Alpha = .1
  1222. RootJoint.C0 = RootJoint.C0:lerp(CF(-0.1,0,-0.1)*ANGLES(RAD(-90),RAD(0),RAD(-162.7)),Alpha)
  1223. LeftShoulder.C0 = LeftShoulder.C0:lerp(CF(-0.9,0.5,0.1)*ANGLES(RAD(0),RAD(-74.6),RAD(0)),Alpha)
  1224. RightShoulder.C0 = RightShoulder.C0:lerp(CF(0.9,0.6,-0.1)*ANGLES(RAD(-1.1),RAD(69.7),RAD(126.7)),Alpha)
  1225. Neck.C0 =Neck.C0:lerp(CF(0.1,1,0)*ANGLES(RAD(-76.4),RAD(-4.2),RAD(163.2)),Alpha)
  1226. LeftHip.C0 = LeftHip.C0:lerp(CF(-0.9,-1,0.2)*ANGLES(RAD(0),RAD(-64.7),RAD(0)),Alpha)
  1227. RightHip.C0 = RightHip.C0:lerp(CF(1,-1,0.1)*ANGLES(RAD(0),RAD(80.8),RAD(0)),Alpha)
  1228. end
  1229. Debris:AddItem(CORE,0.02)
  1230. Debris:AddItem(GRAB,0.02)
  1231. end
  1232. end
  1233. TPKILL = false
  1234. ATTACK = false
  1235. EnableFire()
  1236. end
  1237.  
  1238.  
  1239. --//=================================\\
  1240. --|| ASSIGN THINGS TO KEYS
  1241. --\\=================================//
  1242.  
  1243. function MouseDown(Mouse)
  1244. if ATTACK == false then
  1245. end
  1246. end
  1247.  
  1248. function MouseUp(Mouse)
  1249. HOLD = false
  1250. end
  1251.  
  1252. function KeyDown(Key)
  1253. KEYHOLD = true
  1254. if Key == "t" and ATTACK == false then
  1255. laugh()
  1256. end
  1257.  
  1258. if Key == "c" and ATTACK == false then
  1259. TpKill()
  1260. end
  1261.  
  1262. if Key == "x" and ATTACK == false then
  1263. FireBarrage()
  1264. end
  1265.  
  1266. if Key == "n" then
  1267. song()
  1268. end
  1269. end
  1270.  
  1271. function KeyUp(Key)
  1272. KEYHOLD = false
  1273. end
  1274.  
  1275. Mouse.Button1Down:connect(function(NEWKEY)
  1276. MouseDown(NEWKEY)
  1277. end)
  1278. Mouse.Button1Up:connect(function(NEWKEY)
  1279. MouseUp(NEWKEY)
  1280. end)
  1281. Mouse.KeyDown:connect(function(NEWKEY)
  1282. KeyDown(NEWKEY)
  1283. end)
  1284. Mouse.KeyUp:connect(function(NEWKEY)
  1285. KeyUp(NEWKEY)
  1286. end)
  1287.  
  1288. --//=================================\\
  1289. --\\=================================//
  1290.  
  1291. function unanchor()
  1292. for _, c in pairs(Character:GetChildren()) do
  1293. if c:IsA("BasePart") and c ~= RootPart then
  1294. c.Anchored = false
  1295. end
  1296. end
  1297. if UNANCHOR == true then
  1298. RootPart.Anchored = false
  1299. else
  1300. RootPart.Anchored = true
  1301. end
  1302. end
  1303.  
  1304. --//=================================\\
  1305. --|| WRAP THE WHOLE SCRIPT UP
  1306. --\\=================================//
  1307.  
  1308. Humanoid.Changed:connect(function(Jump)
  1309. if Jump == "Jump" and (Disable_Jump == true) then
  1310. Humanoid.Jump = false
  1311. end
  1312. end)
  1313.  
  1314. while true do
  1315. Swait()
  1316. script.Parent = WEAPONGUI
  1317. ANIMATE.Parent = nil
  1318. for _,v in next, Humanoid:GetPlayingAnimationTracks() do
  1319. v:Stop();
  1320. end
  1321. Humanoid.DisplayDistanceType = "None"
  1322. SINE = SINE + CHANGE*2
  1323. local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude
  1324. local TORSOVERTICALVELOCITY = RootPart.Velocity.y
  1325. local HITFLOOR,HITPOS,NORMAL = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4+Humanoid.HipHeight, Character)
  1326. local WALKSPEEDVALUE = 10 / (Humanoid.WalkSpeed / 16)
  1327. FlameW.C0 = FlameW.C0:lerp(CF(0,-0.3 - 0.3 * SIN(SINE/50),0) * ANGLES(RAD(0),RAD(0),RAD(0)),.1)
  1328. if TORSOVERTICALVELOCITY > 1 and HITFLOOR == nil then
  1329. ANIM = "Jump"
  1330. if ATTACK == false then
  1331. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 ) * ANGLES(RAD(-5), RAD(0), RAD(0)), 1 / Animation_Speed)
  1332. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 , 0 + ((1) - 1)) * ANGLES(RAD(-25), RAD(0), RAD(0)), 1 / Animation_Speed)
  1333. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-35), RAD(0), RAD(25 + 10 * COS(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1334. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-35), RAD(0), RAD(-25 - 10 * COS(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1335. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.4, -0.6) * ANGLES(RAD(1), RAD(90), RAD(0)) * ANGLES(RAD(-1 * SIN(SINE / 6)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1336. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-85), RAD(0)) * ANGLES(RAD(-1 * SIN(SINE / 6)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1337. end
  1338. elseif TORSOVERTICALVELOCITY < -1 and HITFLOOR == nil then
  1339. ANIM = "Fall"
  1340. if ATTACK == false then
  1341. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 ) * ANGLES(RAD(15), RAD(0), RAD(0)), 1 / Animation_Speed)
  1342. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 , 0 + ((1) - 1)) * ANGLES(RAD(15), RAD(0), RAD(0)), 1 / Animation_Speed)
  1343. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(35 - 4 * COS(SINE / 6)), RAD(0), RAD(45 + 10 * COS(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1344. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(35 - 4 * COS(SINE / 6)), RAD(0), RAD(-45 - 10 * COS(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1345. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.3, -0.7) * ANGLES(RAD(-25 + 5 * SIN(SINE / 12)), RAD(90), RAD(0)) * ANGLES(RAD(-1 * SIN(SINE / 6)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1346. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.8, -0.3) * ANGLES(RAD(-10), RAD(-80), RAD(0)) * ANGLES(RAD(-1 * SIN(SINE / 6)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1347. end
  1348. elseif TORSOVELOCITY < 1 and HITFLOOR ~= nil then
  1349. ANIM = "Idle"
  1350. if ATTACK == false then
  1351. local Alpha = .1
  1352. RootJoint.C0 = RootJoint.C0:lerp(CF(0,0 + 0.08 * COS(SINE/28),0)*ANGLES(RAD(-90 + 2 * COS(SINE/28)),RAD(0),RAD(-180)),Alpha)
  1353. LeftShoulder.C0 = LeftShoulder.C0:lerp(CF(-1,0.5 + 0.08 * SIN(SINE/28),-0.1)*ANGLES(RAD(-22.8 + 4 * COS(SINE/28)),RAD(-78.1 - 8 * COS(SINE/28)),RAD(-22.3 + 3 * SIN(SINE/28))),Alpha)
  1354. RightShoulder.C0 = RightShoulder.C0:lerp(CF(1,0.5 + 0.05 * SIN(SINE/28),-0.3)*ANGLES(RAD(-21.6 - 4 * COS(SINE/28)),RAD(76.5 + 8 * COS(SINE/28)),RAD(-175.5 - 2 * SIN(SINE/28))),Alpha)
  1355. Neck.C0 =Neck.C0:lerp(CF(0,1,0)*ANGLES(RAD(-90 + 3 * SIN(SINE/28)),RAD(0),RAD(-180)),Alpha)
  1356. LeftHip.C0 = LeftHip.C0:lerp(CF(-1,-1- 0.08 * COS(SINE/28),0)*ANGLES(RAD(0- 2 * COS(SINE/28)),RAD(-75.6),RAD(0)),Alpha)
  1357. RightHip.C0 = RightHip.C0:lerp(CF(1,-1- 0.08 * COS(SINE/28),0.1)*ANGLES(RAD(0- 2 * COS(SINE/28)),RAD(75.7),RAD(0)),Alpha)
  1358. end
  1359. elseif TORSOVELOCITY > 1 and HITFLOOR ~= nil then
  1360. ANIM = "Walk"
  1361. if ATTACK == false then
  1362. local Alpha = .1
  1363. RootJoint.C0 = RootJoint.C0:lerp(CF(0,0 -0.1 * COS(SINE/WALKSPEEDVALUE),-0.3-0.15*COS(SINE/WALKSPEEDVALUE))*ANGLES(RAD(-100),RAD(0),RAD(-180 - 0.75 *COS(SINE/WALKSPEEDVALUE))+ RootPart.RotVelocity.Y / 75),Alpha)
  1364. LeftShoulder.C0 = LeftShoulder.C0:lerp(CF(-1,0.5 + 0.08 * SIN(SINE/28),-0.1)*ANGLES(RAD(-30 + 40 * COS(SINE/WALKSPEEDVALUE)),RAD(-78.1),RAD(-22.3)),Alpha)
  1365. RightShoulder.C0 = RightShoulder.C0:lerp(CF(1,0.5,-0.3)*ANGLES(RAD(-21.6),RAD(76.5),RAD(-175.5 )),Alpha)
  1366. Neck.C0 =Neck.C0:lerp(CF(0,1,0)*ANGLES(RAD(-90),RAD(0),RAD(-180)),Alpha)
  1367. LeftHip.C0 = LeftHip.C0:lerp(CF(-1,-0.8 - 0.25 * COS(SINE/WALKSPEEDVALUE),0.4 * SIN(SINE/WALKSPEEDVALUE))*ANGLES(RAD(-10 - 22.5*SIN(SINE/WALKSPEEDVALUE)+ RootPart.RotVelocity.Y / 75),RAD(-90 ),RAD(0)) * ANGLES(RAD(0 + 2 * COS(SINE/WALKSPEEDVALUE)),RAD(0),RAD(0)),Alpha)
  1368. RightHip.C0 = RightHip.C0:lerp(CF(1,-0.8 + 0.25 * COS(SINE/WALKSPEEDVALUE),-0.4 * SIN(SINE/WALKSPEEDVALUE))*ANGLES(RAD(-10 + 22.5*SIN(SINE/WALKSPEEDVALUE))+ RootPart.RotVelocity.Y / -75,RAD(90),RAD(0)) * ANGLES(RAD(0 - 2 * COS(SINE/WALKSPEEDVALUE)),RAD(0),RAD(0)),Alpha)
  1369. end
  1370. end
  1371.  
  1372. local POSITION = CF(HITPOS)*ANGLES(RAD(0),RAD(MRANDOM(0,360)),RAD(0))*CF(MRANDOM(5,10),6,0).p
  1373. local SPHEREFLOOR,SPHEREPOS = Raycast(POSITION+VT(0,1,0), (CF(POSITION, POSITION + VT(0, -2, 0))).lookVector, 5, Character)
  1374. if MRANDOM(1,4) == 1 then
  1375. if HITFLOOR ~= nil then
  1376. --WACKYEFFECT({Time = MRANDOM(5,15)*5, EffectType = "Sphere", Size = VT(0.7,1.3,0.7), Size2 = VT(0.7,1.3,0.7), Transparency = 0, Transparency2 = 1, CFrame = CF(SPHEREPOS+VT(0,0,0))*ANGLES(RAD(MRANDOM(0,0)),RAD(MRANDOM(-45,45)),RAD(MRANDOM(0,0))), MoveToPos = SPHEREPOS+VT(0,MRANDOM(15,25)/1.2,0), MRANDOM(-25,25)/12, RotationY = nil, RotationZ = nil, Material = "Neon", Color = Color3.fromRGB(255,85,0), SoundID = nil, SoundPitch = MRANDOM(12,16)/10, SoundVolume = 2})
  1377. Aura(9,MRANDOM(5,15)/35,"Add",RootPart.CFrame*CF(MRANDOM(-17,17),-5.5,MRANDOM(-17,17))*ANGLES(RAD(90 + MRANDOM(-13,13)),RAD(MRANDOM(-13,13)),RAD(MRANDOM(-13,13))),0.7,0.7,1.3,0,Color3.fromRGB(255,85,0),0, "Sphere")
  1378. end
  1379. end
  1380.  
  1381. unanchor()
  1382. Humanoid.MaxHealth = 1e4
  1383. Humanoid.Health = 1e4
  1384. if Rooted == false then
  1385. Disable_Jump = false
  1386. Humanoid.WalkSpeed = Speed
  1387. elseif Rooted == true then
  1388. Disable_Jump = true
  1389. Humanoid.WalkSpeed = 0
  1390. end
  1391. sick.SoundId = "rbxassetid://"..SONG
  1392. sick.Looped = true
  1393. sick.Pitch = 1
  1394. sick.Volume = 5
  1395. sick.Playing = true
  1396. end
  1397.  
  1398. --//=================================\\
  1399. --\\=================================//
  1400.  
  1401. --701895896
  1402.  
  1403.  
  1404.  
  1405. --//====================================================\\--
  1406. --|| END OF SCRIPT
  1407. --\\====================================================//--
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement