Advertisement
StarzoZero

wao2

Jan 27th, 2019
624
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 145.53 KB | None | 0 0
  1.  
  2.  
  3. if game:GetService("RunService"):IsClient()then error("Please run as a server script. Use h/ instead of hl/.")end;print("FE Compatibility: by WaverlyCole");InternalData = {}
  4. do
  5. script.Parent = owner.Character
  6. local Event = Instance.new("RemoteEvent");Event.Name = "UserInput"
  7. local function NewFakeEvent()
  8. local Bind = Instance.new("BindableEvent")
  9. local Fake;Fake = {Connections = {},
  10. fakeEvent=true;
  11. Connect=function(self,Func)
  12. Bind.Event:connect(Func)
  13. self.Connections[Bind] = true
  14. return setmetatable({Connected = true},{
  15. __index = function (self,Index)
  16. if Index:lower() == "disconnect" then
  17. return function() Fake.Connections[Bind] = false;self.Connected = false end
  18. end
  19. return Fake[Index]
  20. end;
  21. __tostring = function() return "Connection" end;
  22. })
  23. end}
  24. Fake.connect = Fake.Connect;return Fake;
  25. end
  26. local Mouse = {Target=nil,Hit=CFrame.new(),KeyUp=NewFakeEvent(),KeyDown=NewFakeEvent(),Button1Up=NewFakeEvent(),Button1Down=NewFakeEvent()}
  27. local UserInputService = {InputBegan=NewFakeEvent(),InputEnded=NewFakeEvent()}
  28. local ContextActionService = {Actions={},BindAction = function(self,actionName,Func,touch,...)
  29. self.Actions[actionName] = Func and {Name=actionName,Function=Func,Keys={...}} or nil
  30. end};ContextActionService.UnBindAction = ContextActionService.BindAction
  31. local function TriggerEvent(self,Event,...)
  32. local Trigger = Mouse[Event]
  33. if Trigger and Trigger.fakeEvent and Trigger.Connections then
  34. for Connection,Active in pairs(Trigger.Connections) do if Active then Connection:Fire(...) end end
  35. end
  36. end
  37. Mouse.TrigEvent = TriggerEvent;UserInputService.TrigEvent = TriggerEvent
  38. Event.OnServerEvent:Connect(function(FiredBy,Input)
  39. if FiredBy.Name ~= owner.Name then return end
  40. if Input.MouseEvent then
  41. Mouse.Target = Input.Target;Mouse.Hit = Input.Hit
  42. else
  43. local Begin = Input.UserInputState == Enum.UserInputState.Begin
  44. if Input.UserInputType == Enum.UserInputType.MouseButton1 then return Mouse:TrigEvent(Begin and "Button1Down" or "Button1Up") end
  45. for _,Action in pairs(ContextActionService.Actions) do
  46. for _,Key in pairs(Action.Keys) do if Key==Input.KeyCode then Action.Function(Action.Name,Input.UserInputState,Input) end end
  47. end
  48. Mouse:TrigEvent(Begin and "KeyDown" or "KeyUp",Input.KeyCode.Name:lower())
  49. UserInputService:TrigEvent(Begin and "InputBegan" or "InputEnded",Input,false)
  50. end
  51. end)
  52. InternalData["Mouse"] = Mouse;InternalData["ContextActionService"] = ContextActionService;InternalData["UserInputService"] = UserInputService
  53. Event.Parent = NLS([[
  54. local Player = owner;local Event = script:WaitForChild("UserInput");local UserInputService = game:GetService("UserInputService");local Mouse = Player:GetMouse()
  55. local Input = function(Input,gameProcessedEvent)
  56. if gameProcessedEvent then return end
  57. Event:FireServer({KeyCode=Input.KeyCode,UserInputType=Input.UserInputType,UserInputState=Input.UserInputState})
  58. end
  59. UserInputService.InputBegan:Connect(Input);UserInputService.InputEnded:Connect(Input)
  60. local Hit,Target
  61. while wait(1/30) do
  62. if Hit ~= Mouse.Hit or Target ~= Mouse.Target then
  63. Hit,Target = Mouse.Hit,Mouse.Target;Event:FireServer({["MouseEvent"]=true,["Target"]=Target,["Hit"]=Hit})
  64. end
  65. end
  66. ]],owner.Character)
  67. end
  68. RealGame = game;game = setmetatable({},{
  69. __index = function (self,Index)
  70. local Sandbox = function (Thing)
  71. if Thing:IsA("Player") then
  72. local RealPlayer = Thing
  73. return setmetatable({},{
  74. __index = function (self,Index)
  75. local Type = type(RealPlayer[Index])
  76. if Type == "function" then
  77. if Index:lower() == "getmouse" or Index:lower() == "mouse" then
  78. return function (self)return InternalData["Mouse"] end
  79. end
  80. return function (self,...)return RealPlayer[Index](RealPlayer,...) end
  81. end
  82. return RealPlayer[Index]
  83. end;
  84. __tostring = function(self) return RealPlayer.Name end
  85. })
  86. end
  87. end
  88. if RealGame[Index] then
  89. local Type = type(RealGame[Index])
  90. if Type == "function" then
  91. if Index:lower() == "getservice" or Index:lower() == "service" then
  92. return function (self,Service)
  93. local FakeServices = {
  94. ["players"] = function()
  95. return setmetatable({},{
  96. __index = function (self2,Index2)
  97. local RealService = RealGame:GetService(Service)
  98. local Type2 = type(Index2)
  99. if Type2 == "function" then
  100. return function (self,...) return RealService[Index2](RealService,...)end
  101. else
  102. if Index2:lower() == "localplayer" then return Sandbox(owner) end
  103. return RealService[Index2]
  104. end
  105. end;
  106. __tostring = function(self) return RealGame:GetService(Service).Name end
  107. })
  108. end;
  109. ["contextactionservice"] = function() return InternalData["ContextActionService"] end;
  110. ["userinputservice"] = function() return InternalData["UserInputService"] end;
  111. ["runservice"] = function()
  112. return setmetatable({},{
  113. __index = function(self2,Index2)
  114. local RealService = RealGame:GetService(Service)
  115. local Type2 = type(Index2)
  116. if Type2 == "function" then
  117. return function (self,...) return RealService[Index2](RealService,...) end
  118. else
  119. local RunServices = {
  120. ["bindtorenderstep"] = function() return function (self,Name,Priority,Function) return RealGame:GetService("RunService").Stepped:Connect(Function) end end;
  121. ["renderstepped"] = function() return RealService["Stepped"] end
  122. }
  123. if RunServices[Index2:lower()] then return RunServices[Index2:lower()]() end
  124. return RealService[Index2]
  125. end
  126. end
  127. })
  128. end
  129. }
  130. if FakeServices[Service:lower()] then return FakeServices[Service:lower()]() end
  131. return RealGame:GetService(Service)
  132. end
  133. end
  134. return function (self,...) return RealGame[Index](RealGame,...) end
  135. else
  136. if game:GetService(Index) then return game:GetService(Index) end
  137. return RealGame[Index]
  138. end
  139. end
  140. return nil
  141. end
  142. });Game = game;owner = game:GetService("Players").LocalPlayer;script = Instance.new("Script");print("Complete! Running...")
  143.  
  144. -----------------------
  145. --WhAT ANOTHER ONE????????!--
  146. -------------------------------------------------------
  147. --A script By makhail07
  148.  
  149. --Discord Creterisk#2958
  150.  
  151.  
  152. --https://cdn.discordapp.com/attachments/424766294303309844/424769047436197888/e41a6cbd-23cb-4553-bd39-1338429743a7.png
  153. -------------------------------------------------------
  154.  
  155. local FavIDs = {
  156. 340106355, --Nefl Crystals
  157. 927529620, --Dimension
  158. 876981900, --Fantasy
  159. 398987889, --Ordinary Days
  160. 1117396305, --Oh wait, it's you.
  161. 885996042, --Action Winter Journey
  162. 919231299, --Sprawling Idiot Effigy
  163. 743466274, --Good Day Sunshine
  164. 727411183, --Knife Fight
  165. 1402748531, --The Earth Is Counting On You!
  166. 595230126 --Robot Language
  167. }
  168.  
  169.  
  170.  
  171. --The reality of my life isn't real but a Universe -makhail07
  172. wait()
  173. local plr = game:service'Players'.LocalPlayer
  174. print('Local User is '..plr.Name)
  175. local char = plr.Character
  176. local hum = char.Humanoid
  177. local ra = char["Right Arm"]
  178. local la= char["Left Arm"]
  179. local rl= char["Right Leg"]
  180. local ll = char["Left Leg"]
  181. local hed = char.Head
  182. local root = char.HumanoidRootPart
  183. local rootj = root.RootJoint
  184. local tors = char.Torso
  185. local mouse = plr:GetMouse()
  186. local RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14)
  187. local RHCF = CFrame.fromEulerAnglesXYZ(0, 1.6, 0)
  188. local LHCF = CFrame.fromEulerAnglesXYZ(0, -1.6, 0)
  189. local EdgyMode = false
  190. local Divinity = false
  191. local Fighter = false
  192. local Purity = false
  193. local Destruction = false
  194. local helpme = false
  195. local Planetary = false
  196. local maincolor = BrickColor.new("Institutional white")
  197. -------------------------------------------------------
  198. --Start Good Stuff--
  199. -------------------------------------------------------
  200. CF = CFrame.new
  201. angles = CFrame.Angles
  202. attack = false
  203. Euler = CFrame.fromEulerAnglesXYZ
  204. Rad = math.rad
  205. IT = Instance.new
  206. BrickC = BrickColor.new
  207. Cos = math.cos
  208. Acos = math.acos
  209. Sin = math.sin
  210. Asin = math.asin
  211. Abs = math.abs
  212. Mrandom = math.random
  213. Floor = math.floor
  214. -------------------------------------------------------
  215. --End Good Stuff--
  216. -------------------------------------------------------
  217. necko = CF(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  218. RSH, LSH = nil, nil
  219. RW = Instance.new("Weld")
  220. LW = Instance.new("Weld")
  221. RH = tors["Right Hip"]
  222. LH = tors["Left Hip"]
  223. RSH = tors["Right Shoulder"]
  224. LSH = tors["Left Shoulder"]
  225. RSH.Parent = nil
  226. LSH.Parent = nil
  227. RW.Name = "RW"
  228. RW.Part0 = tors
  229. RW.C0 = CF(1.5, 0.5, 0)
  230. RW.C1 = CF(0, 0.5, 0)
  231. RW.Part1 = ra
  232. RW.Parent = tors
  233. LW.Name = "LW"
  234. LW.Part0 = tors
  235. LW.C0 = CF(-1.5, 0.5, 0)
  236. LW.C1 = CF(0, 0.5, 0)
  237. LW.Part1 = la
  238. LW.Parent = tors
  239. Effects = {}
  240.  
  241. -------------------------------------------------------
  242. --Start HeartBeat--
  243. -------------------------------------------------------
  244. ArtificialHB = Instance.new("BindableEvent", script)
  245. ArtificialHB.Name = "Heartbeat"
  246. script:WaitForChild("Heartbeat")
  247.  
  248. frame = 1 / 60
  249. tf = 0
  250. allowframeloss = false
  251. tossremainder = false
  252.  
  253.  
  254. lastframe = tick()
  255. script.Heartbeat:Fire()
  256.  
  257.  
  258. game:GetService("RunService").Heartbeat:connect(function(s, p)
  259. tf = tf + s
  260. if tf >= frame then
  261. if allowframeloss then
  262. script.Heartbeat:Fire()
  263. lastframe = tick()
  264. else
  265. for i = 1, math.floor(tf / frame) do
  266. script.Heartbeat:Fire()
  267. end
  268. lastframe = tick()
  269. end
  270. if tossremainder then
  271. tf = 0
  272. else
  273. tf = tf - frame * math.floor(tf / frame)
  274. end
  275. end
  276. end)
  277. -------------------------------------------------------
  278. --End HeartBeat--
  279. -------------------------------------------------------
  280.  
  281. -------------------------------------------------------
  282. --Start Important Functions--
  283. -------------------------------------------------------
  284. function swait(num)
  285. if num == 0 or num == nil then
  286. game:service("RunService").Stepped:wait(0)
  287. else
  288. for i = 0, num do
  289. game:service("RunService").Stepped:wait(0)
  290. end
  291. end
  292. end
  293. function thread(f)
  294. coroutine.resume(coroutine.create(f))
  295. end
  296. function clerp(a, b, t)
  297. local qa = {
  298. QuaternionFromCFrame(a)
  299. }
  300. local qb = {
  301. QuaternionFromCFrame(b)
  302. }
  303. local ax, ay, az = a.x, a.y, a.z
  304. local bx, by, bz = b.x, b.y, b.z
  305. local _t = 1 - t
  306. return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  307. end
  308. function QuaternionFromCFrame(cf)
  309. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  310. local trace = m00 + m11 + m22
  311. if trace > 0 then
  312. local s = math.sqrt(1 + trace)
  313. local recip = 0.5 / s
  314. return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  315. else
  316. local i = 0
  317. if m00 < m11 then
  318. i = 1
  319. end
  320. if m22 > (i == 0 and m00 or m11) then
  321. i = 2
  322. end
  323. if i == 0 then
  324. local s = math.sqrt(m00 - m11 - m22 + 1)
  325. local recip = 0.5 / s
  326. return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  327. elseif i == 1 then
  328. local s = math.sqrt(m11 - m22 - m00 + 1)
  329. local recip = 0.5 / s
  330. return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  331. elseif i == 2 then
  332. local s = math.sqrt(m22 - m00 - m11 + 1)
  333. local recip = 0.5 / s
  334. return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  335. end
  336. end
  337. end
  338. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  339. local xs, ys, zs = x + x, y + y, z + z
  340. local wx, wy, wz = w * xs, w * ys, w * zs
  341. local xx = x * xs
  342. local xy = x * ys
  343. local xz = x * zs
  344. local yy = y * ys
  345. local yz = y * zs
  346. local zz = z * zs
  347. 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))
  348. end
  349. function QuaternionSlerp(a, b, t)
  350. local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  351. local startInterp, finishInterp
  352. if cosTheta >= 1.0E-4 then
  353. if 1 - cosTheta > 1.0E-4 then
  354. local theta = math.acos(cosTheta)
  355. local invSinTheta = 1 / Sin(theta)
  356. startInterp = Sin((1 - t) * theta) * invSinTheta
  357. finishInterp = Sin(t * theta) * invSinTheta
  358. else
  359. startInterp = 1 - t
  360. finishInterp = t
  361. end
  362. elseif 1 + cosTheta > 1.0E-4 then
  363. local theta = math.acos(-cosTheta)
  364. local invSinTheta = 1 / Sin(theta)
  365. startInterp = Sin((t - 1) * theta) * invSinTheta
  366. finishInterp = Sin(t * theta) * invSinTheta
  367. else
  368. startInterp = t - 1
  369. finishInterp = t
  370. end
  371. 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
  372. end
  373. function rayCast(Position, Direction, Range, Ignore)
  374. return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore)
  375. end
  376. local RbxUtility = LoadLibrary("RbxUtility")
  377. local Create = RbxUtility.Create
  378.  
  379. -------------------------------------------------------
  380. --Start Damage Function--
  381. -------------------------------------------------------
  382. function Damage(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch)
  383. if hit.Parent == nil then
  384. return
  385. end
  386. local h = hit.Parent:FindFirstChildOfClass("Humanoid")
  387. for _, v in pairs(hit.Parent:children()) do
  388. if v:IsA("Humanoid") then
  389. h = v
  390. end
  391. end
  392. if h ~= nil and hit.Parent.Name ~= char.Name and hit.Parent:FindFirstChild("UpperTorso") ~= nil then
  393.  
  394. hit.Parent:FindFirstChild("Head"):BreakJoints()
  395. end
  396.  
  397. if h ~= nil and hit.Parent.Name ~= char.Name and hit.Parent:FindFirstChild("Torso") ~= nil then
  398. if hit.Parent:findFirstChild("DebounceHit") ~= nil then
  399. if hit.Parent.DebounceHit.Value == true then
  400. return
  401. end
  402. end
  403. if insta == true then
  404. hit.Parent:FindFirstChild("Head"):BreakJoints()
  405. end
  406. local c = Create("ObjectValue"){
  407. Name = "creator",
  408. Value = game:service("Players").LocalPlayer,
  409. Parent = h,
  410. }
  411. game:GetService("Debris"):AddItem(c, .5)
  412. if HitSound ~= nil and HitPitch ~= nil then
  413. CFuncs.Sound.Create(HitSound, hit, 1, HitPitch)
  414. end
  415. local Damage = math.random(minim, maxim)
  416. local blocked = false
  417. local block = hit.Parent:findFirstChild("Block")
  418. if block ~= nil then
  419. if block.className == "IntValue" then
  420. if block.Value > 0 then
  421. blocked = true
  422. block.Value = block.Value - 1
  423. print(block.Value)
  424. end
  425. end
  426. end
  427. if blocked == false then
  428. h.Health = h.Health - Damage
  429. ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, maincolor.Color)
  430. else
  431. h.Health = h.Health - (Damage / 2)
  432. ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, maincolor.Color)
  433. end
  434. if Type == "Knockdown" then
  435. local hum = hit.Parent.Humanoid
  436. hum.PlatformStand = true
  437. coroutine.resume(coroutine.create(function(HHumanoid)
  438. swait(1)
  439. HHumanoid.PlatformStand = false
  440. end), hum)
  441. local angle = (hit.Position - (Property.Position + Vector3.new(0, 0, 0))).unit
  442. local bodvol = Create("BodyVelocity"){
  443. velocity = angle * knockback,
  444. P = 5000,
  445. maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  446. Parent = hit,
  447. }
  448. local rl = Create("BodyAngularVelocity"){
  449. P = 3000,
  450. maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000,
  451. angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)),
  452. Parent = hit,
  453. }
  454. game:GetService("Debris"):AddItem(bodvol, .5)
  455. game:GetService("Debris"):AddItem(rl, .5)
  456. elseif Type == "Normal" then
  457. local vp = Create("BodyVelocity"){
  458. P = 500,
  459. maxForce = Vector3.new(math.huge, 0, math.huge),
  460. velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05,
  461. }
  462. if knockback > 0 then
  463. vp.Parent = hit.Parent.Torso
  464. end
  465. game:GetService("Debris"):AddItem(vp, .5)
  466. elseif Type == "Up" then
  467. local bodyVelocity = Create("BodyVelocity"){
  468. velocity = Vector3.new(0, 20, 0),
  469. P = 5000,
  470. maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  471. Parent = hit,
  472. }
  473. game:GetService("Debris"):AddItem(bodyVelocity, .5)
  474. elseif Type == "DarkUp" then
  475. coroutine.resume(coroutine.create(function()
  476. for i = 0, 1, 0.1 do
  477. swait()
  478. Effects.Block.Create(BrickColor.new("Black"), hit.Parent.Torso.CFrame, 5, 5, 5, 1, 1, 1, .08, 1)
  479. end
  480. end))
  481. local bodyVelocity = Create("BodyVelocity"){
  482. velocity = Vector3.new(0, 20, 0),
  483. P = 5000,
  484. maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  485. Parent = hit,
  486. }
  487. game:GetService("Debris"):AddItem(bodyVelocity, 1)
  488. elseif Type == "Snare" then
  489. local bp = Create("BodyPosition"){
  490. P = 2000,
  491. D = 100,
  492. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  493. position = hit.Parent.Torso.Position,
  494. Parent = hit.Parent.Torso,
  495. }
  496. game:GetService("Debris"):AddItem(bp, 1)
  497. elseif Type == "Freeze" then
  498. local BodPos = Create("BodyPosition"){
  499. P = 50000,
  500. D = 1000,
  501. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  502. position = hit.Parent.Torso.Position,
  503. Parent = hit.Parent.Torso,
  504. }
  505. local BodGy = Create("BodyGyro") {
  506. maxTorque = Vector3.new(4e+005, 4e+005, 4e+005) * math.huge ,
  507. P = 20e+003,
  508. Parent = hit.Parent.Torso,
  509. cframe = hit.Parent.Torso.CFrame,
  510. }
  511. hit.Parent.Torso.Anchored = true
  512. coroutine.resume(coroutine.create(function(Part)
  513. swait(1.5)
  514. Part.Anchored = false
  515. end), hit.Parent.Torso)
  516. game:GetService("Debris"):AddItem(BodPos, 3)
  517. game:GetService("Debris"):AddItem(BodGy, 3)
  518. end
  519. local debounce = Create("BoolValue"){
  520. Name = "DebounceHit",
  521. Parent = hit.Parent,
  522. Value = true,
  523. }
  524. game:GetService("Debris"):AddItem(debounce, Delay)
  525. c = Create("ObjectValue"){
  526. Name = "creator",
  527. Value = Player,
  528. Parent = h,
  529. }
  530. game:GetService("Debris"):AddItem(c, .5)
  531. end
  532. end
  533. -------------------------------------------------------
  534. --End Damage Function--
  535. -------------------------------------------------------
  536.  
  537. -------------------------------------------------------
  538. --Start Damage Function Customization--
  539. -------------------------------------------------------
  540. function ShowDamage(Pos, Text, Time, Color)
  541. local Rate = (1 / 30)
  542. local Pos = (Pos or Vector3.new(0, 0, 0))
  543. local Text = (Text or "")
  544. local Time = (Time or 2)
  545. local Color = (Color or Color3.new(1, 0, 1))
  546. local EffectPart = CFuncs.Part.Create(workspace, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", Vector3.new(0, 0, 0))
  547. EffectPart.Anchored = true
  548. local BillboardGui = Create("BillboardGui"){
  549. Size = UDim2.new(3, 0, 3, 0),
  550. Adornee = EffectPart,
  551. Parent = EffectPart,
  552. }
  553. local TextLabel = Create("TextLabel"){
  554. BackgroundTransparency = 1,
  555. Size = UDim2.new(1, 0, 1, 0),
  556. Text = Text,
  557. Font = "Highway",
  558. TextColor3 = Color,
  559. TextScaled = true,
  560. TextStrokeColor3 = Color3.fromRGB(0,0,0),
  561. Parent = BillboardGui,
  562. }
  563. game.Debris:AddItem(EffectPart, (Time))
  564. EffectPart.Parent = game:GetService("Workspace")
  565. delay(0, function()
  566. local Frames = (Time / Rate)
  567. for Frame = 1, Frames do
  568. wait(Rate)
  569. local Percent = (Frame / Frames)
  570. EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0)
  571. TextLabel.TextTransparency = Percent
  572. end
  573. if EffectPart and EffectPart.Parent then
  574. EffectPart:Destroy()
  575. end
  576. end)
  577. end
  578. -------------------------------------------------------
  579. --End Damage Function Customization--
  580. -------------------------------------------------------
  581.  
  582. function MagniDamage(Part, magni, mindam, maxdam, knock, Type)
  583. for _, c in pairs(workspace:children()) do
  584. local hum = c:findFirstChild("Humanoid")
  585. if hum ~= nil then
  586. local head = c:findFirstChild("Head")
  587. if head ~= nil then
  588. local targ = head.Position - Part.Position
  589. local mag = targ.magnitude
  590. if magni >= mag and c.Name ~= plr.Name then
  591. Damage(head, head, mindam, maxdam, knock, Type, root, 0.1, "http://www.roblox.com/asset/?id=0", 1.2)
  592. end
  593. end
  594. end
  595. end
  596. end
  597.  
  598.  
  599. CFuncs = {
  600. Part = {
  601. Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  602. local Part = Create("Part")({
  603. Parent = Parent,
  604. Reflectance = Reflectance,
  605. Transparency = Transparency,
  606. CanCollide = false,
  607. Locked = true,
  608. BrickColor = BrickColor.new(tostring(BColor)),
  609. Name = Name,
  610. Size = Size,
  611. Material = Material
  612. })
  613. RemoveOutlines(Part)
  614. return Part
  615. end
  616. },
  617. Mesh = {
  618. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  619. local Msh = Create(Mesh)({
  620. Parent = Part,
  621. Offset = OffSet,
  622. Scale = Scale
  623. })
  624. if Mesh == "SpecialMesh" then
  625. Msh.MeshType = MeshType
  626. Msh.MeshId = MeshId
  627. end
  628. return Msh
  629. end
  630. },
  631. Mesh = {
  632. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  633. local Msh = Create(Mesh)({
  634. Parent = Part,
  635. Offset = OffSet,
  636. Scale = Scale
  637. })
  638. if Mesh == "SpecialMesh" then
  639. Msh.MeshType = MeshType
  640. Msh.MeshId = MeshId
  641. end
  642. return Msh
  643. end
  644. },
  645. Weld = {
  646. Create = function(Parent, Part0, Part1, C0, C1)
  647. local Weld = Create("Weld")({
  648. Parent = Parent,
  649. Part0 = Part0,
  650. Part1 = Part1,
  651. C0 = C0,
  652. C1 = C1
  653. })
  654. return Weld
  655. end
  656. },
  657. Sound = {
  658. Create = function(id, par, vol, pit)
  659. coroutine.resume(coroutine.create(function()
  660. local S = Create("Sound")({
  661. Volume = vol,
  662. Pitch = pit or 1,
  663. SoundId = id,
  664. Parent = par or workspace
  665. })
  666. wait()
  667. S:play()
  668. game:GetService("Debris"):AddItem(S, 6)
  669. end))
  670. end
  671. },
  672. ParticleEmitter = {
  673. Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread)
  674. local fp = Create("ParticleEmitter")({
  675. Parent = Parent,
  676. Color = ColorSequence.new(Color1, Color2),
  677. LightEmission = LightEmission,
  678. Size = Size,
  679. Texture = Texture,
  680. Transparency = Transparency,
  681. ZOffset = ZOffset,
  682. Acceleration = Accel,
  683. Drag = Drag,
  684. LockedToPart = LockedToPart,
  685. VelocityInheritance = VelocityInheritance,
  686. EmissionDirection = EmissionDirection,
  687. Enabled = Enabled,
  688. Lifetime = LifeTime,
  689. Rate = Rate,
  690. Rotation = Rotation,
  691. RotSpeed = RotSpeed,
  692. Speed = Speed,
  693. VelocitySpread = VelocitySpread
  694. })
  695. return fp
  696. end
  697. }
  698. }
  699. function RemoveOutlines(part)
  700. part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10
  701. end
  702. function CreatePart(FormFactor, Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  703. local Part = Create("Part")({
  704. formFactor = FormFactor,
  705. Parent = Parent,
  706. Reflectance = Reflectance,
  707. Transparency = Transparency,
  708. CanCollide = false,
  709. Locked = true,
  710. BrickColor = BrickColor.new(tostring(BColor)),
  711. Name = Name,
  712. Size = Size,
  713. Material = Material
  714. })
  715. RemoveOutlines(Part)
  716. return Part
  717. end
  718. function CreateMesh(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  719. local Msh = Create(Mesh)({
  720. Parent = Part,
  721. Offset = OffSet,
  722. Scale = Scale
  723. })
  724. if Mesh == "SpecialMesh" then
  725. Msh.MeshType = MeshType
  726. Msh.MeshId = MeshId
  727. end
  728. return Msh
  729. end
  730. function CreateWeld(Parent, Part0, Part1, C0, C1)
  731. local Weld = Create("Weld")({
  732. Parent = Parent,
  733. Part0 = Part0,
  734. Part1 = Part1,
  735. C0 = C0,
  736. C1 = C1
  737. })
  738. return Weld
  739. end
  740.  
  741.  
  742. -------------------------------------------------------
  743. --Start Effect Function--
  744. -------------------------------------------------------
  745. EffectModel = Instance.new("Model", char)
  746. Effects = {
  747. Block = {
  748. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type)
  749. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  750. prt.Anchored = true
  751. prt.CFrame = cframe
  752. local msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  753. game:GetService("Debris"):AddItem(prt, 10)
  754. if Type == 1 or Type == nil then
  755. table.insert(Effects, {
  756. prt,
  757. "Block1",
  758. delay,
  759. x3,
  760. y3,
  761. z3,
  762. msh
  763. })
  764. elseif Type == 2 then
  765. table.insert(Effects, {
  766. prt,
  767. "Block2",
  768. delay,
  769. x3,
  770. y3,
  771. z3,
  772. msh
  773. })
  774. else
  775. table.insert(Effects, {
  776. prt,
  777. "Block3",
  778. delay,
  779. x3,
  780. y3,
  781. z3,
  782. msh
  783. })
  784. end
  785. end
  786. },
  787. Sphere = {
  788. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  789. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  790. prt.Anchored = true
  791. prt.CFrame = cframe
  792. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  793. game:GetService("Debris"):AddItem(prt, 10)
  794. table.insert(Effects, {
  795. prt,
  796. "Cylinder",
  797. delay,
  798. x3,
  799. y3,
  800. z3,
  801. msh
  802. })
  803. end
  804. },
  805. Cylinder = {
  806. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  807. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  808. prt.Anchored = true
  809. prt.CFrame = cframe
  810. local msh = CFuncs.Mesh.Create("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  811. game:GetService("Debris"):AddItem(prt, 10)
  812. table.insert(Effects, {
  813. prt,
  814. "Cylinder",
  815. delay,
  816. x3,
  817. y3,
  818. z3,
  819. msh
  820. })
  821. end
  822. },
  823. Wave = {
  824. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  825. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  826. prt.Anchored = true
  827. prt.CFrame = cframe
  828. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://20329976", Vector3.new(0, 0, 0), Vector3.new(x1 / 60, y1 / 60, z1 / 60))
  829. game:GetService("Debris"):AddItem(prt, 10)
  830. table.insert(Effects, {
  831. prt,
  832. "Cylinder",
  833. delay,
  834. x3 / 60,
  835. y3 / 60,
  836. z3 / 60,
  837. msh
  838. })
  839. end
  840. },
  841. Ring = {
  842. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  843. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  844. prt.Anchored = true
  845. prt.CFrame = cframe
  846. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://3270017", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  847. game:GetService("Debris"):AddItem(prt, 10)
  848. table.insert(Effects, {
  849. prt,
  850. "Cylinder",
  851. delay,
  852. x3,
  853. y3,
  854. z3,
  855. msh
  856. })
  857. end
  858. },
  859. Break = {
  860. Create = function(brickcolor, cframe, x1, y1, z1)
  861. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5))
  862. prt.Anchored = true
  863. prt.CFrame = cframe * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  864. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  865. local num = math.random(10, 50) / 1000
  866. game:GetService("Debris"):AddItem(prt, 10)
  867. table.insert(Effects, {
  868. prt,
  869. "Shatter",
  870. num,
  871. prt.CFrame,
  872. math.random() - math.random(),
  873. 0,
  874. math.random(50, 100) / 100
  875. })
  876. end
  877. },
  878. Spiral = {
  879. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  880. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  881. prt.Anchored = true
  882. prt.CFrame = cframe
  883. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://1051557", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  884. game:GetService("Debris"):AddItem(prt, 10)
  885. table.insert(Effects, {
  886. prt,
  887. "Cylinder",
  888. delay,
  889. x3,
  890. y3,
  891. z3,
  892. msh
  893. })
  894. end
  895. },
  896. Push = {
  897. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  898. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  899. prt.Anchored = true
  900. prt.CFrame = cframe
  901. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://437347603", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  902. game:GetService("Debris"):AddItem(prt, 10)
  903. table.insert(Effects, {
  904. prt,
  905. "Cylinder",
  906. delay,
  907. x3,
  908. y3,
  909. z3,
  910. msh
  911. })
  912. end
  913. }
  914. }
  915. -------------------------------------------------------
  916. --End Effect Function--
  917. -------------------------------------------------------
  918.  
  919. function CreateSound(ID, PARENT, VOLUME, PITCH)
  920. local NSound = nil
  921. coroutine.resume(coroutine.create(function()
  922. NSound = Instance.new("Sound", PARENT)
  923. NSound.Volume = VOLUME
  924. NSound.Pitch = PITCH
  925. NSound.SoundId = "http://www.roblox.com/asset/?id="..ID
  926. swait()
  927. NSound:play()
  928. game:GetService("Debris"):AddItem(NSound, 10)
  929. end))
  930. return NSound
  931. end
  932.  
  933. function BlockEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type)
  934. local prt = CreatePart(3, workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  935. prt.Anchored = true
  936. prt.CFrame = cframe
  937. local msh = CreateMesh("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  938. game:GetService("Debris"):AddItem(prt, 10)
  939. if Type == 1 or Type == nil then
  940. table.insert(Effects, {
  941. prt,
  942. "Block1",
  943. delay,
  944. x3,
  945. y3,
  946. z3,
  947. msh
  948. })
  949. elseif Type == 2 then
  950. table.insert(Effects, {
  951. prt,
  952. "Block2",
  953. delay,
  954. x3,
  955. y3,
  956. z3,
  957. msh
  958. })
  959. elseif Type == 3 then
  960. table.insert(Effects, {
  961. prt,
  962. "Block3",
  963. delay,
  964. x3,
  965. y3,
  966. z3,
  967. msh
  968. })
  969. end
  970. end
  971.  
  972. function part(formfactor,parent,reflectance,transparency,brickcolor,name,size)
  973. local fp=Instance.new("Part")
  974. fp.formFactor=formfactor
  975. fp.Parent=parent
  976. fp.Reflectance=reflectance
  977. fp.Transparency=transparency
  978. fp.CanCollide=false
  979. fp.Locked=true
  980. fp.BrickColor=brickcolor
  981. fp.Name=name
  982. fp.Size=size
  983. fp.Position=tors.Position
  984. RemoveOutlines(fp)
  985. fp.Material="SmoothPlastic"
  986. fp:BreakJoints()
  987. return fp
  988. end
  989.  
  990. function mesh(Mesh,part,meshtype,meshid,offset,scale)
  991. local mesh=Instance.new(Mesh)
  992. mesh.Parent=part
  993. if Mesh=="SpecialMesh" then
  994. mesh.MeshType=meshtype
  995. if meshid~="nil" then
  996. mesh.MeshId="http://www.roblox.com/asset/?id="..meshid
  997. end
  998. end
  999. mesh.Offset=offset
  1000. mesh.Scale=scale
  1001. return mesh
  1002. end
  1003.  
  1004. function MagicShockTrailAlt2(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, rottype)
  1005. local prt = part(3, char, 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5))
  1006. prt.Anchored = true
  1007. prt.Material = "Neon"
  1008. prt.CFrame = cframe
  1009. local msh = mesh("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1010. game:GetService("Debris"):AddItem(prt, 5)
  1011. coroutine.resume(coroutine.create(function(Part, Mesh)
  1012. local rtype = rottype
  1013. for i = 0, 1, delay do
  1014. swait()
  1015. if rtype == 1 then
  1016. prt.CFrame = prt.CFrame * CFrame.Angles(0, 0, 0.1)
  1017. elseif rtype == 2 then
  1018. prt.CFrame = prt.CFrame * CFrame.Angles(0, 0, -0.1)
  1019. end
  1020. prt.Transparency = i
  1021. Mesh.Scale = Mesh.Scale + Vector3.new(x3, y3, z3)
  1022. end
  1023. Part.Parent = nil
  1024. end), prt, msh)
  1025. end
  1026.  
  1027.  
  1028. function MagicBlock(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  1029. local prt = part(3, char, 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5))
  1030. prt.Anchored = true
  1031. prt.Material = "Neon"
  1032. prt.CFrame = cframe
  1033. prt.CFrame = prt.CFrame * Euler(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  1034. local msh = mesh("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1035. game:GetService("Debris"):AddItem(prt, 5)
  1036. coroutine.resume(coroutine.create(function(Part, Mesh)
  1037. for i = 0, 1, delay do
  1038. swait()
  1039. Part.CFrame = Part.CFrame * Euler(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  1040. Part.Transparency = i
  1041. Mesh.Scale = Mesh.Scale + Vector3.new(x3, y3, z3)
  1042. end
  1043. Part.Parent = nil
  1044. end), prt, msh)
  1045. end
  1046.  
  1047.  
  1048. function MagicShockAlt(brickcolor, cframe, x1, y1, x3, y3, delay, rottype)
  1049. local prt = part(3, char, 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5))
  1050. prt.Anchored = true
  1051. prt.Material = "Neon"
  1052. prt.CFrame = cframe
  1053. local msh = mesh("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, 0.01))
  1054. game:GetService("Debris"):AddItem(prt, 5)
  1055. coroutine.resume(coroutine.create(function(Part, Mesh)
  1056. local rtype = rottype
  1057. for i = 0, 1, delay do
  1058. swait()
  1059. if rtype == 1 then
  1060. prt.CFrame = prt.CFrame * CFrame.Angles(0, 0, 0.1)
  1061. elseif rtype == 2 then
  1062. prt.CFrame = prt.CFrame * CFrame.Angles(0, 0, -0.1)
  1063. end
  1064. prt.Transparency = i
  1065. Mesh.Scale = Mesh.Scale + Vector3.new(x3, y3, 0)
  1066. end
  1067. Part.Parent = nil
  1068. end), prt, msh)
  1069. end
  1070.  
  1071. function Eviscerate(dude)
  1072. if dude.Name ~= char then
  1073. local bgf = IT("BodyGyro", dude.Head)
  1074. bgf.CFrame = bgf.CFrame * CFrame.fromEulerAnglesXYZ(Rad(-90), 0, 0)
  1075. local val = IT("BoolValue", dude)
  1076. val.Name = "IsHit"
  1077. local ds = coroutine.wrap(function()
  1078. dude:WaitForChild("Head"):BreakJoints()
  1079. wait(0.5)
  1080. target = nil
  1081. coroutine.resume(coroutine.create(function()
  1082. for i, v in pairs(dude:GetChildren()) do
  1083. if v:IsA("Accessory") then
  1084. v:Destroy()
  1085. end
  1086. if v:IsA("Humanoid") then
  1087. v:Destroy()
  1088. end
  1089. if v:IsA("CharacterMesh") then
  1090. v:Destroy()
  1091. end
  1092. if v:IsA("Model") then
  1093. v:Destroy()
  1094. end
  1095. if v:IsA("Part") or v:IsA("MeshPart") then
  1096. for x, o in pairs(v:GetChildren()) do
  1097. if o:IsA("Decal") then
  1098. o:Destroy()
  1099. end
  1100. end
  1101. coroutine.resume(coroutine.create(function()
  1102. v.Material = "Neon"
  1103. v.CanCollide = false
  1104. local PartEmmit1 = IT("ParticleEmitter", v)
  1105. PartEmmit1.LightEmission = 1
  1106. PartEmmit1.Texture = "rbxassetid://284205403"
  1107. PartEmmit1.Color = ColorSequence.new(maincolor.Color)
  1108. PartEmmit1.Rate = 150
  1109. PartEmmit1.Lifetime = NumberRange.new(1)
  1110. PartEmmit1.Size = NumberSequence.new({
  1111. NumberSequenceKeypoint.new(0, 0.75, 0),
  1112. NumberSequenceKeypoint.new(1, 0, 0)
  1113. })
  1114. PartEmmit1.Transparency = NumberSequence.new({
  1115. NumberSequenceKeypoint.new(0, 0, 0),
  1116. NumberSequenceKeypoint.new(1, 1, 0)
  1117. })
  1118. PartEmmit1.Speed = NumberRange.new(0, 0)
  1119. PartEmmit1.VelocitySpread = 30000
  1120. PartEmmit1.Rotation = NumberRange.new(-500, 500)
  1121. PartEmmit1.RotSpeed = NumberRange.new(-500, 500)
  1122. local BodPoss = IT("BodyPosition", v)
  1123. BodPoss.P = 3000
  1124. BodPoss.D = 1000
  1125. BodPoss.maxForce = Vector3.new(50000000000, 50000000000, 50000000000)
  1126. BodPoss.position = v.Position + Vector3.new(Mrandom(-15, 15), Mrandom(-15, 15), Mrandom(-15, 15))
  1127. v.Color = maincolor.Color
  1128. coroutine.resume(coroutine.create(function()
  1129. for i = 0, 49 do
  1130. swait(1)
  1131. v.Transparency = v.Transparency + 0.08
  1132. end
  1133. wait(0.5)
  1134. PartEmmit1.Enabled = false
  1135. wait(3)
  1136. v:Destroy()
  1137. dude:Destroy()
  1138. end))
  1139. end))
  1140. end
  1141. end
  1142. end))
  1143. end)
  1144. ds()
  1145. end
  1146. end
  1147. function FindNearestHead(Position, Distance, SinglePlayer)
  1148. if SinglePlayer then
  1149. return Distance > (SinglePlayer.Torso.CFrame.p - Position).magnitude
  1150. end
  1151. local List = {}
  1152. for i, v in pairs(workspace:GetChildren()) do
  1153. if v:IsA("Model") and v:findFirstChild("Head") and v ~= char and Distance >= (v.Head.Position - Position).magnitude then
  1154. table.insert(List, v)
  1155. end
  1156. end
  1157. return List
  1158. end
  1159. function sphereMK(bonuspeed, FastSpeed, type, pos, x1, y1, z1, value, color, outerpos)
  1160. local type = type
  1161. local rng = Instance.new("Part", char)
  1162. rng.Anchored = true
  1163. rng.BrickColor = color
  1164. rng.CanCollide = false
  1165. rng.FormFactor = 3
  1166. rng.Name = "Ring"
  1167. rng.Material = "Neon"
  1168. rng.Size = Vector3.new(1, 1, 1)
  1169. rng.Transparency = 0
  1170. rng.TopSurface = 0
  1171. rng.BottomSurface = 0
  1172. rng.CFrame = pos
  1173. rng.CFrame = rng.CFrame + rng.CFrame.lookVector * outerpos
  1174. local rngm = Instance.new("SpecialMesh", rng)
  1175. rngm.MeshType = "Sphere"
  1176. rngm.Scale = Vector3.new(x1, y1, z1)
  1177. local scaler2 = 1
  1178. local speeder = FastSpeed
  1179. if type == "Add" then
  1180. scaler2 = 1 * value
  1181. elseif type == "Divide" then
  1182. scaler2 = 1 / value
  1183. end
  1184. coroutine.resume(coroutine.create(function()
  1185. for i = 0, 10 / bonuspeed, 0.1 do
  1186. swait()
  1187. if type == "Add" then
  1188. scaler2 = scaler2 - 0.01 * value / bonuspeed
  1189. elseif type == "Divide" then
  1190. scaler2 = scaler2 - 0.01 / value * bonuspeed
  1191. end
  1192. speeder = speeder - 0.01 * FastSpeed * bonuspeed
  1193. rng.CFrame = rng.CFrame + rng.CFrame.lookVector * speeder * bonuspeed
  1194. rng.Transparency = rng.Transparency + 0.01 * bonuspeed
  1195. rngm.Scale = rngm.Scale + Vector3.new(scaler2 * bonuspeed, scaler2 * bonuspeed, 0)
  1196. end
  1197. rng:Destroy()
  1198. end))
  1199. end
  1200. -------------------------------------------------------
  1201. --End Important Functions--
  1202. -------------------------------------------------------
  1203.  
  1204. --[[
  1205. Thanks for using Build-To-Lua by jarredbcv.
  1206. ]]--
  1207.  
  1208. New = function(Object, Parent, Name, Data)
  1209. local Object = Instance.new(Object)
  1210. for Index, Value in pairs(Data or {}) do
  1211. Object[Index] = Value
  1212. end
  1213. Object.Parent = Parent
  1214. Object.Name = Name
  1215. return Object
  1216. end
  1217.  
  1218. NewInstance = function(instance,parent,properties)
  1219. local inst = Instance.new(instance,parent)
  1220. if(properties)then
  1221. for i,v in next, properties do
  1222. pcall(function() inst[i] = v end)
  1223. end
  1224. end
  1225. return inst;
  1226. end
  1227.  
  1228. Gunty = New("Model",char,"Gunty",{})
  1229. Handle = New("Part",Gunty,"Handle",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.Metal,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.799999952, 0.980000019, 1),CFrame = CFrame.new(-6.17461252, 2.89117765, -81.6553421, 0.999894261, 0.010924357, 0.00963267777, -0.0110270018, 0.999882579, 0.0106679145, -0.00951499958, -0.0107729975, 0.999897003),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),})
  1230. Mesh = New("BlockMesh",Handle,"Mesh",{Scale = Vector3.new(1.03999996, 1, 1.03999996),})
  1231. Neon_Part = New("Part",Gunty,"Neon_Part",{BrickColor = BrickColor.new("Institutional white"),Material = Enum.Material.Neon,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.449999958, 0.300000012, 1.00999999),CFrame = CFrame.new(-5.79491472, 3.31696463, -81.668541, 0.999894381, 0.0109243579, 0.00963267963, -0.0110270027, 0.999882698, 0.0106679164, -0.00951499958, -0.0107729975, 0.999897122),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.972549, 0.972549, 0.972549),})
  1232. Mesh = New("BlockMesh",Neon_Part,"Mesh",{Scale = Vector3.new(1.14999998, 0.699999988, 1.04999995),})
  1233. mot = New("Motor",Neon_Part,"mot",{Part0 = Neon_Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.999894023, -0.0110269999, -0.00951499958, 0.0109243551, 0.99988234, -0.0107729975, 0.00963267405, 0.0106679108, 0.999896765),C1 = CFrame.new(0.375087738, 0.43002677, -0.00499725342, 0.999894023, -0.0110269999, -0.00951499958, 0.0109243551, 0.99988234, -0.0107729975, 0.00963267405, 0.0106679108, 0.999896765),})
  1234. Part = New("Part",Gunty,"Part",{BrickColor = BrickColor.new("Fossil"),Material = Enum.Material.Metal,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.400000006, 0.800000012, 1.43999994),CFrame = CFrame.new(-5.77552652, 2.79678607, -81.6581802, 0.999894381, 0.0109243579, 0.00963267963, -0.0110270027, 0.999882698, 0.0106679164, -0.00951499958, -0.0107729975, 0.999897122),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.623529, 0.631373, 0.67451),})
  1235. Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1, 1, 0.850000024),})
  1236. mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.999894023, -0.0110269999, -0.00951499958, 0.0109243551, 0.99988234, -0.0107729975, 0.00963267405, 0.0106679108, 0.999896765),C1 = CFrame.new(0.400111198, -0.089990139, 0, 0.999894023, -0.0110269999, -0.00951499958, 0.0109243551, 0.99988234, -0.0107729975, 0.00963267405, 0.0106679108, 0.999896765),})
  1237. Part = New("Part",Gunty,"Part",{BrickColor = BrickColor.new("Smoky grey"),Material = Enum.Material.Metal,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.50999999, 1.00999999, 1.38),CFrame = CFrame.new(-5.79167271, 2.89196372, -81.6569061, 0.999894142, 0.0109243561, 0.00963267591, -0.0110270008, 0.99988246, 0.0106679127, -0.00951499958, -0.0107729975, 0.999896884),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.356863, 0.364706, 0.411765),})
  1238. Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1, 1, 0.850000024),})
  1239. mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.999894023, -0.0110269999, -0.00951499958, 0.0109243551, 0.99988234, -0.0107729975, 0.00963267405, 0.0106679108, 0.999896765),C1 = CFrame.new(0.382905483, 0.00498604774, 0.00213623047, 0.999894023, -0.0110269999, -0.00951499958, 0.0109243551, 0.99988234, -0.0107729975, 0.00963267405, 0.0106679108, 0.999896765),})
  1240. Part = New("Part",Gunty,"Part",{BrickColor = BrickColor.new("Smoky grey"),Material = Enum.Material.Metal,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.340000033, 0.179999962, 1.27999997),CFrame = CFrame.new(-6.43716383, 3.22691417, -81.656456, 0.999894381, 0.0109243579, 0.00963267963, -0.0110270027, 0.999882698, 0.0106679164, -0.00951499958, -0.0107729975, 0.999897122),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.356863, 0.364706, 0.411765),})
  1241. Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1, 1, 0.850000024),})
  1242. mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.999894023, -0.0110269999, -0.00951499958, 0.0109243551, 0.99988234, -0.0107729975, 0.00963267405, 0.0106679108, 0.999896765),C1 = CFrame.new(-0.266214848, 0.332840681, -6.10351563e-05, 0.999894023, -0.0110269999, -0.00951499958, 0.0109243551, 0.99988234, -0.0107729975, 0.00963267405, 0.0106679108, 0.999896765),})
  1243. Part = New("Part",Gunty,"Part",{BrickColor = BrickColor.new("Smoky grey"),Material = Enum.Material.Metal,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.340000033, 0.239999965, 1.27999997),CFrame = CFrame.new(-6.43716383, 2.87691402, -81.6564636, 0.999894381, 0.0109243579, 0.00963267963, -0.0110270027, 0.999882698, 0.0106679164, -0.00951499958, -0.0107729975, 0.999897122),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.356863, 0.364706, 0.411765),})
  1244. Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1, 1, 0.850000024),})
  1245. mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.999894023, -0.0110269999, -0.00951499958, 0.0109243551, 0.99988234, -0.0107729975, 0.00963267405, 0.0106679108, 0.999896765),C1 = CFrame.new(-0.262355328, -0.0171182156, -0.00379943848, 0.999894023, -0.0110269999, -0.00951499958, 0.0109243551, 0.99988234, -0.0107729975, 0.00963267405, 0.0106679108, 0.999896765),})
  1246. Part = New("Part",Gunty,"Part",{BrickColor = BrickColor.new("Smoky grey"),Material = Enum.Material.Metal,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.380000025, 0.239999965, 1.27999997),CFrame = CFrame.new(-6.41705704, 2.5166924, -81.6567535, 0.999894381, 0.0109243579, 0.00963267963, -0.0110270027, 0.999882698, 0.0106679164, -0.00951499958, -0.0107729975, 0.999897122),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.356863, 0.364706, 0.411765),})
  1247. Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1, 1, 0.850000024),})
  1248. mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.999894023, -0.0110269999, -0.00951499958, 0.0109243551, 0.99988234, -0.0107729975, 0.00963267405, 0.0106679108, 0.999896765),C1 = CFrame.new(-0.238276005, -0.37707448, -0.00774383545, 0.999894023, -0.0110269999, -0.00951499958, 0.0109243551, 0.99988234, -0.0107729975, 0.00963267405, 0.0106679108, 0.999896765),})
  1249. Neon_Part = New("Part",Gunty,"Neon_Part",{BrickColor = BrickColor.new("Institutional white"),Material = Enum.Material.Neon,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.080000028, 0.829999983, 1.24000001),CFrame = CFrame.new(-6.28731203, 2.83357024, -81.6548691, 0.999894381, 0.0109243579, 0.00963267963, -0.0110270027, 0.999882698, 0.0106679164, -0.00951499958, -0.0107729975, 0.999897122),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.972549, 0.972549, 0.972549),})
  1250. Mesh = New("BlockMesh",Neon_Part,"Mesh",{Scale = Vector3.new(1, 1, 0.850000024),})
  1251. mot = New("Motor",Neon_Part,"mot",{Part0 = Neon_Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.999894023, -0.0110269999, -0.00951499958, 0.0109243551, 0.99988234, -0.0107729975, 0.00963267405, 0.0106679108, 0.999896765),C1 = CFrame.new(-0.112056732, -0.058836937, -0.00122833252, 0.999894023, -0.0110269999, -0.00951499958, 0.0109243551, 0.99988234, -0.0107729975, 0.00963267405, 0.0106679108, 0.999896765),})
  1252. Neon_Part = New("Part",Gunty,"Neon_Part",{BrickColor = BrickColor.new("Institutional white"),Material = Enum.Material.Neon,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.580000043, 0.209999949, 1.24000001),CFrame = CFrame.new(-6.30723286, 3.2204814, -81.6576462, 0.999894381, 0.0109243579, 0.00963267963, -0.0110270027, 0.999882698, 0.0106679164, -0.00951499958, -0.0107729975, 0.999897122),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.972549, 0.972549, 0.972549),})
  1253. Mesh = New("BlockMesh",Neon_Part,"Mesh",{Scale = Vector3.new(1, 1, 0.850000024),})
  1254. mot = New("Motor",Neon_Part,"mot",{Part0 = Neon_Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.999894023, -0.0110269999, -0.00951499958, 0.0109243551, 0.99988234, -0.0107729975, 0.00963267405, 0.0106679108, 0.999896765),C1 = CFrame.new(-0.136215687, 0.327841043, -6.86645508e-05, 0.999894023, -0.0110269999, -0.00951499958, 0.0109243551, 0.99988234, -0.0107729975, 0.00963267405, 0.0106679108, 0.999896765),})
  1255. Neon_Part = New("Part",Gunty,"Neon_Part",{BrickColor = BrickColor.new("Institutional white"),Material = Enum.Material.Neon,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.580000043, 0.269999951, 1.24000001),CFrame = CFrame.new(-6.30756044, 2.87048483, -81.6573257, 0.999894381, 0.0109243579, 0.00963267963, -0.0110270027, 0.999882698, 0.0106679164, -0.00951499958, -0.0107729975, 0.999897122),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.972549, 0.972549, 0.972549),})
  1256. Mesh = New("BlockMesh",Neon_Part,"Mesh",{Scale = Vector3.new(1, 1, 0.850000024),})
  1257. mot = New("Motor",Neon_Part,"mot",{Part0 = Neon_Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.999894023, -0.0110269999, -0.00951499958, 0.0109243551, 0.99988234, -0.0107729975, 0.00963267405, 0.0106679108, 0.999896765),C1 = CFrame.new(-0.132686615, -0.0221214294, -0.0034866333, 0.999894023, -0.0110269999, -0.00951499958, 0.0109243551, 0.99988234, -0.0107729975, 0.00963267405, 0.0106679108, 0.999896765),})
  1258. Neon_Part = New("Part",Gunty,"Neon_Part",{BrickColor = BrickColor.new("Institutional white"),Material = Enum.Material.Neon,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.580000043, 0.249999955, 1.25),CFrame = CFrame.new(-6.30751181, 2.53053808, -81.6523285, 0.999894381, 0.0109243579, 0.00963267963, -0.0110270027, 0.999882698, 0.0106679164, -0.00951499958, -0.0107729975, 0.999897122),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.972549, 0.972549, 0.972549),})
  1259. Mesh = New("BlockMesh",Neon_Part,"Mesh",{Scale = Vector3.new(1, 1, 0.850000024),})
  1260. mot = New("Motor",Neon_Part,"mot",{Part0 = Neon_Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.999894023, -0.0110269999, -0.00951499958, 0.0109243551, 0.99988234, -0.0107729975, 0.00963267405, 0.0106679108, 0.999896765),C1 = CFrame.new(-0.128937244, -0.362081289, -0.00211334229, 0.999894023, -0.0110269999, -0.00951499958, 0.0109243551, 0.99988234, -0.0107729975, 0.00963267405, 0.0106679108, 0.999896765),})
  1261. Part = New("Part",Gunty,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.Metal,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.200000003, 0.600000024, 0.200000003),CFrame = CFrame.new(-5.71910667, 3.10924911, -81.0621643, 0.968651533, -0.24823907, 0.00961919595, 0.248137087, 0.968666732, 0.0106559293, -0.0119630033, -0.007934995, 0.999897361),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),})
  1262. Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(0.5, 0.899999976, 0.400000006),})
  1263. mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.968651116, 0.248137027, -0.0119630015, -0.248238936, 0.968666434, -0.007934995, 0.00961919129, 0.0106559228, 0.999897003),C1 = CFrame.new(0.447408676, 0.216631651, 0.599830627, 0.999894023, -0.0110269999, -0.00951499958, 0.0109243551, 0.99988234, -0.0107729975, 0.00963267405, 0.0106679108, 0.999896765),})
  1264. Part = New("Part",Gunty,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.Metal,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.200000003, 0.600000024, 0.200000003),CFrame = CFrame.new(-5.74061537, 3.09643626, -82.2620392, 0.968651533, -0.24823907, 0.00961919595, 0.248137087, 0.968666732, 0.0106559293, -0.0119630033, -0.007934995, 0.999897361),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),})
  1265. Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(0.5, 0.899999976, 0.400000006),})
  1266. mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.968651116, 0.248137027, -0.0119630015, -0.248238936, 0.968666434, -0.007934995, 0.00961919129, 0.0106559228, 0.999897003),C1 = CFrame.new(0.437460423, 0.216511488, -0.600265503, 0.999894023, -0.0110269999, -0.00951499958, 0.0109243551, 0.99988234, -0.0107729975, 0.00963267405, 0.0106679108, 0.999896765),})
  1267. Part = New("Part",Gunty,"Part",{BrickColor = BrickColor.new("Fossil"),Material = Enum.Material.Metal,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.200000003, 0.200000003, 1.4000001),CFrame = CFrame.new(-5.66842175, 2.87551188, -81.6588593, 0.699307382, 0.714757025, 0.00962753966, -0.714821219, 0.699226558, 0.0106663266, 0.000891998934, -0.0143409977, 0.999897063),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.623529, 0.631373, 0.67451),})
  1268. Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(0.200000003, 0.200000003, 0.930000007),})
  1269. mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.699307024, -0.714820981, 0.000891999982, 0.714756727, 0.69922626, -0.0143409977, 0.00962753501, 0.010666322, 0.999896765),C1 = CFrame.new(0.506342888, -0.0100963116, 0.00119018555, 0.999894023, -0.0110269999, -0.00951499958, 0.0109243551, 0.99988234, -0.0107729975, 0.00963267405, 0.0106679108, 0.999896765),})
  1270. Part = New("Part",Gunty,"Part",{BrickColor = BrickColor.new("Smoky grey"),Material = Enum.Material.Metal,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.320000023, 0.919999957, 1.27999997),CFrame = CFrame.new(-6.08716917, 2.84636235, -81.6569443, 0.999894381, 0.0109243579, 0.00963267963, -0.0110270027, 0.999882698, 0.0106679164, -0.00951499958, -0.0107729975, 0.999897122),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.356863, 0.364706, 0.411765),})
  1271. Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1, 1, 0.850000024),})
  1272. mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.999894023, -0.0110269999, -0.00951499958, 0.0109243551, 0.99988234, -0.0107729975, 0.00963267405, 0.0106679108, 0.999896765),C1 = CFrame.new(0.0879435539, -0.0438375473, -0.00123596191, 0.999894023, -0.0110269999, -0.00951499958, 0.0109243551, 0.99988234, -0.0107729975, 0.00963267405, 0.0106679108, 0.999896765),})
  1273. Neon_Part = New("Part",Gunty,"Neon_Part",{BrickColor = BrickColor.new("Institutional white"),Material = Enum.Material.Neon,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.329999983, 0.269999981, 0.860000074),CFrame = CFrame.new(-5.68526602, 2.76024342, -81.6548996, 0.999894381, 0.0109243579, 0.00963267963, -0.0110270027, 0.999882698, 0.0106679164, -0.00951499958, -0.0107729975, 0.999897122),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.972549, 0.972549, 0.972549),})
  1274. Mesh = New("BlockMesh",Neon_Part,"Mesh",{Scale = Vector3.new(1, 1, 0.850000024),})
  1275. mot = New("Motor",Neon_Part,"mot",{Part0 = Neon_Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.999894023, -0.0110269999, -0.00951499958, 0.0109243551, 0.99988234, -0.0107729975, 0.00963267405, 0.0106679108, 0.999896765),C1 = CFrame.new(0.4907341, -0.125577688, 0.0037612915, 0.999894023, -0.0110269999, -0.00951499958, 0.0109243551, 0.99988234, -0.0107729975, 0.00963267405, 0.0106679108, 0.999896765),})
  1276. Part = New("Part",Gunty,"Part",{BrickColor = BrickColor.new("Fossil"),Material = Enum.Material.Metal,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.279999971, 0.389999986, 1.05000007),CFrame = CFrame.new(-5.67011929, 2.75067925, -81.6596603, 0.999894381, 0.0109243579, 0.00963267963, -0.0110270027, 0.999882698, 0.0106679164, -0.00951499958, -0.0107729975, 0.999897122),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.623529, 0.631373, 0.67451),})
  1277. Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1, 1, 0.850000024),})
  1278. mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.999894023, -0.0110269999, -0.00951499958, 0.0109243551, 0.99988234, -0.0107729975, 0.00963267405, 0.0106679108, 0.999896765),C1 = CFrame.new(0.506030083, -0.134924173, -0.000953674316, 0.999894023, -0.0110269999, -0.00951499958, 0.0109243551, 0.99988234, -0.0107729975, 0.00963267405, 0.0106679108, 0.999896765),})
  1279. Credits = New("Part",Gunty,"Credits",{BrickColor = BrickColor.new("Fossil"),Material = Enum.Material.Metal,Size = Vector3.new(0.249999985, 0.230000019, 0.0599999875),CFrame = CFrame.new(-5.65182352, 3.14374733, -82.1123657, 1.00000036, -2.32830644e-10, 1.86264515e-09, 2.76486389e-10, 0.945462108, -0.325733244, 2.79396772e-09, 0.325733304, 0.945462048),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.623529, 0.631373, 0.67451),})
  1280. mot = New("Motor",Credits,"mot",{Part0 = Credits,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 0.94546175, 0.325733155, 0, -0.325733155, 0.94546175),C1 = CFrame.new(0.524296761, 0.263174534, -0.449249268, 0.999894023, -0.0110269999, -0.00951499958, 0.0109243551, 0.99988234, -0.0107729975, 0.00963267405, 0.0106679108, 0.999896765),})
  1281. Credits = New("Part",Gunty,"Credits",{BrickColor = BrickColor.new("Fossil"),Material = Enum.Material.Metal,Size = Vector3.new(0.249999985, 0.150000021, 0.0599999875),CFrame = CFrame.new(-5.651824, 3.16514564, -82.0512466, 1.00000036, -1.28056854e-09, 1.86264515e-09, 2.76486389e-10, 0.990724444, 0.135888785, 2.79396772e-09, -0.13588877, 0.990724444),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.623529, 0.631373, 0.67451),})
  1282. mot = New("Motor",Credits,"mot",{Part0 = Credits,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 0.990724087, -0.135888726, 0, 0.135888726, 0.990724087),C1 = CFrame.new(0.523478985, 0.283911943, -0.387901306, 0.999894023, -0.0110269999, -0.00951499958, 0.0109243551, 0.99988234, -0.0107729975, 0.00963267405, 0.0106679108, 0.999896765),})
  1283. Credits = New("Part",Gunty,"Credits",{BrickColor = BrickColor.new("Fossil"),Material = Enum.Material.Metal,Size = Vector3.new(0.249999985, 0.170000017, 0.0599999875),CFrame = CFrame.new(-5.651824, 3.15523815, -81.9898987, 1.00000036, -9.31322575e-10, 1.86264515e-09, 2.76486389e-10, 0.841228187, -0.540680885, 2.79396772e-09, 0.540680885, 0.841228247),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.623529, 0.631373, 0.67451),})
  1284. mot = New("Motor",Credits,"mot",{Part0 = Credits,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 0.841227949, 0.540680707, 0, -0.540680707, 0.841227949),C1 = CFrame.new(0.523004532, 0.273344755, -0.326667786, 0.999894023, -0.0110269999, -0.00951499958, 0.0109243551, 0.99988234, -0.0107729975, 0.00963267405, 0.0106679108, 0.999896765),})
  1285. Credits = New("Part",Gunty,"Credits",{BrickColor = BrickColor.new("Fossil"),Material = Enum.Material.Metal,Size = Vector3.new(0.249999985, 0.230000019, 0.0599999875),CFrame = CFrame.new(-5.65182352, 3.12556744, -81.9521408, 1.00000036, -5.82076609e-10, 9.31322575e-10, 2.76486389e-10, 0.99409467, -0.10851986, 2.79396772e-09, 0.108519867, 0.99409461),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.623529, 0.631373, 0.67451),})
  1286. mot = New("Motor",Credits,"mot",{Part0 = Credits,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 0.994094312, 0.10851983, 0, -0.10851983, 0.994094312),C1 = CFrame.new(0.522972584, 0.243270636, -0.289230347, 0.999894023, -0.0110269999, -0.00951499958, 0.0109243551, 0.99988234, -0.0107729975, 0.00963267405, 0.0106679108, 0.999896765),})
  1287. Part = New("Part",Gunty,"Part",{BrickColor = BrickColor.new("Fossil"),Material = Enum.Material.Metal,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.200000003, 0.200000003, 1.18000007),CFrame = CFrame.new(-6.06842232, 2.94551158, -81.6588593, 0.699307382, 0.714757025, 0.00962753966, -0.714821219, 0.699226558, 0.0106663266, 0.000891998934, -0.0143409977, 0.999897063),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.623529, 0.631373, 0.67451),})
  1288. Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(0.200000003, 0.200000003, 0.930000007),})
  1289. mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.699307024, -0.714820981, 0.000891999982, 0.714756727, 0.69922626, -0.0143409977, 0.00962753501, 0.010666322, 0.999896765),C1 = CFrame.new(0.105613232, 0.0555255413, -0.00191497803, 0.999894023, -0.0110269999, -0.00951499958, 0.0109243551, 0.99988234, -0.0107729975, 0.00963267405, 0.0106679108, 0.999896765),})
  1290.  
  1291. local HW = NewInstance('Motor', char, {Part0 = ra, Part1 = Handle, C0 = CF(-.1,-.51,0)})
  1292.  
  1293. for _,v in next, Gunty:children() do
  1294. v.CanCollide = false
  1295. end
  1296.  
  1297. local all, last = {}, nil
  1298. ArmourParts = {}
  1299. ArmourParts2 = {}
  1300. NeonParts = {}
  1301. function scan(p)
  1302. for _, v in pairs(p:GetChildren()) do
  1303. if v:IsA("BasePart") then
  1304. if v.BrickColor == BrickColor.new("Smoky grey") then
  1305. table.insert(ArmourParts, v)
  1306. end
  1307. if v.BrickColor == BrickColor.new("Fossil") then
  1308. table.insert(ArmourParts2, v)
  1309. end
  1310. if v.BrickColor == BrickColor.new("Institutional white") then
  1311. table.insert(NeonParts, v)
  1312. end
  1313. if last then
  1314. local w = Instance.new("Weld")
  1315. w.Part0, w.Part1 = last, v
  1316. w.C0 = v.CFrame:toObjectSpace(last.CFrame):inverse()
  1317. w.Parent = last
  1318. end
  1319. table.insert(all, v)
  1320. last = v
  1321. end
  1322. scan(v)
  1323. end
  1324. end
  1325. scan(Gunty)
  1326. for _, v in pairs(all) do
  1327. v.Anchored = false
  1328. v.CanCollide = false
  1329. end
  1330. function resetmode()
  1331. for i, v in pairs(ArmourParts) do
  1332. v.BrickColor = BrickColor.new("Smoky grey")
  1333. end
  1334. for i, v in pairs(ArmourParts2) do
  1335. v.BrickColor = BrickColor.new("Fossil")
  1336. end
  1337. for i, v in pairs(NeonParts) do
  1338. v.BrickColor = BrickColor.new("Institutional white")
  1339. end
  1340. maincolor = BrickColor.new("Institutional white")
  1341. end
  1342. -------------------------------------------------------
  1343. --Start Music Option--
  1344. -------------------------------------------------------
  1345. local Music = Instance.new("Sound",tors)
  1346. Music.Volume = 2.5
  1347. Music.SoundId = "rbxassetid://414060051"
  1348. Music.Looped = true
  1349. Music.Pitch = 1 --Pitcher
  1350. Music:Play()
  1351. -------------------------------------------------------
  1352. --End Music Option--
  1353. -------------------------------------------------------
  1354.  
  1355. local naeeym2 = Instance.new("BillboardGui",char)
  1356. naeeym2.AlwaysOnTop = true
  1357. naeeym2.Size = UDim2.new(5,35,2,35)
  1358. naeeym2.StudsOffset = Vector3.new(0,2,0)
  1359. naeeym2.Adornee = hed
  1360. naeeym2.Name = "Name"
  1361.  
  1362. local tecks2 = Instance.new("TextLabel",naeeym2)
  1363. tecks2.BackgroundTransparency = 1
  1364. tecks2.TextScaled = true
  1365. tecks2.BorderSizePixel = 0
  1366. tecks2.Text = "Neutral"
  1367. tecks2.Font = "Code"
  1368. tecks2.TextSize = 30
  1369. tecks2.TextStrokeTransparency = 0
  1370. tecks2.TextColor3 = Color3.new(0,0,0)
  1371. tecks2.TextStrokeColor3 = Color3.fromRGB(0, 0, 0)
  1372. tecks2.Size = UDim2.new(1,0,0.5,0)
  1373. tecks2.Parent = naeeym2
  1374.  
  1375. -------------------------------------------------------
  1376. --Start Attacks N Stuff--
  1377. -------------------------------------------------------
  1378. local sine=0
  1379. function HitboxFunction(Pose, lifetime, siz1, siz2, siz3, Radie, Min, Max, kb, atype)
  1380. local Hitboxpart = Instance.new("Part", EffectModel)
  1381. RemoveOutlines(Hitboxpart)
  1382. Hitboxpart.Size = Vector3.new(siz1, siz2, siz3)
  1383. Hitboxpart.CanCollide = false
  1384. Hitboxpart.Transparency = 1
  1385. Hitboxpart.Anchored = true
  1386. Hitboxpart.CFrame = Pose
  1387. game:GetService("Debris"):AddItem(Hitboxpart, lifetime)
  1388. MagniDamage(Hitboxpart, Radie, Min, Max, kb, atype)
  1389. end
  1390. wait2 = false
  1391. combo = 1
  1392. mouse.Button1Down:connect(function(key)
  1393. if attack == false then
  1394. attack = true
  1395. hum.WalkSpeed = 3.01
  1396. if combo == 1 and wait2 == false then
  1397. wait2 = true
  1398. for i = 0, 1.2, 0.1 do
  1399. swait()
  1400. rootj.C0 = clerp(rootj.C0, RootCF * CFrame.new(0, -0.5, 0) * angles(math.rad(-5), math.rad(0), math.rad(-35)), 0.3)
  1401. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(math.rad(-10), math.rad(0), math.rad(0)), 0.1)
  1402. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0.8) * angles(math.rad(90), math.rad(0), math.rad(20)), 0.1)
  1403. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(-10)), 0.3)
  1404. RH.C0 = clerp(RH.C0, CFrame.new(1, -1, -0.2) * RHCF * angles(math.rad(-2.5), math.rad(0), math.rad(-0)), 0.3)
  1405. LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * LHCF * angles(math.rad(-2.5), math.rad(15), math.rad(-20)), 0.3)
  1406. end
  1407. CreateSound("138097048", ra, 3, .8)
  1408. HitboxFunction(ra.CFrame, 0.01, 1, 1, 1, 7, 6, 9, 3, "Normal")
  1409. for i = 0, 1.2, 0.1 do
  1410. swait()
  1411. BlockEffect(maincolor, Handle.CFrame, 21, 41, 21, -2, -3, -2, 0.08, 2)
  1412. rootj.C0 = clerp(rootj.C0, RootCF * CFrame.new(0, -0.5, 0) * angles(math.rad(5), math.rad(0), math.rad(55)), 0.3)
  1413. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(math.rad(10), math.rad(0), math.rad(0)), 0.1)
  1414. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, -0.8) * angles(math.rad(95), math.rad(0), math.rad(40)), 0.1)
  1415. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(-10)), 0.3)
  1416. RH.C0 = clerp(RH.C0, CFrame.new(1, -1, 0) * RHCF * angles(math.rad(-2.5), math.rad(-25), math.rad(-17)), 0.3)
  1417. LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * LHCF * angles(math.rad(-2.5), math.rad(-0), math.rad(0)), 0.3)
  1418. end
  1419. combo = 2
  1420. end
  1421. if combo == 2 and wait2 == false then
  1422. wait2 = true
  1423. for i = 0, 1.2, 0.1 do
  1424. swait()
  1425. rootj.C0 = clerp(rootj.C0, RootCF * CFrame.new(0, -0.5, 0) * angles(math.rad(-25), math.rad(10), math.rad(-65)), 0.3)
  1426. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(math.rad(10), math.rad(0), math.rad(0)), 0.1)
  1427. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(10)), 0.1)
  1428. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(-10)), 0.3)
  1429. RH.C0 = clerp(RH.C0, CFrame.new(1, -1, 0) * RHCF * angles(math.rad(-2.5), math.rad(-25), math.rad(-25)), 0.3)
  1430. LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * LHCF * angles(math.rad(-2.5), math.rad(-0), math.rad(-20)), 0.3)
  1431. end
  1432. CreateSound("138097048", rl, 3, 1)
  1433. HitboxFunction(ll.CFrame, 0.01, 1, 1, 1, 7, 5, 10, 3, "Normal")
  1434. for i = 0, 1.6, 0.1 do
  1435. swait()
  1436. rootj.C0 = clerp(rootj.C0, RootCF * CFrame.new(0, -0.5, 0) * angles(math.rad(-15), math.rad(0), math.rad(65+255.45*i)), 0.3)
  1437. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(math.rad(10), math.rad(0), math.rad(0)), 0.1)
  1438. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(54), math.rad(0), math.rad(35)), 0.1)
  1439. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-34), math.rad(0), math.rad(-35)), 0.3)
  1440. RH.C0 = clerp(RH.C0, CFrame.new(1, -1, 0) * RHCF * angles(math.rad(-2.5), math.rad(-25), math.rad(95)), 0.3)
  1441. LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * LHCF * angles(math.rad(-4.5), math.rad(-30), math.rad(0)), 0.3)
  1442. end
  1443. combo = 3
  1444. end
  1445. if combo == 3 and wait2 == false then
  1446. for i = 0, 1.2, 0.1 do
  1447. swait()
  1448. rootj.C0 = clerp(rootj.C0, RootCF * CFrame.new(0, -0.5, 0) * angles(math.rad(-5), math.rad(0), math.rad(-35)), 0.3)
  1449. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(math.rad(-10), math.rad(0), math.rad(0)), 0.1)
  1450. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0.8) * angles(math.rad(90), math.rad(0), math.rad(20)), 0.1)
  1451. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(-10)), 0.3)
  1452. RH.C0 = clerp(RH.C0, CFrame.new(1, -1, -0.2) * RHCF * angles(math.rad(-2.5), math.rad(0), math.rad(-0)), 0.3)
  1453. LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * LHCF * angles(math.rad(-2.5), math.rad(15), math.rad(-20)), 0.3)
  1454. end
  1455. CreateSound("138097048", ra, 3, .8)
  1456. HitboxFunction(ra.CFrame, 0.01, 1, 1, 1, 7, 24, 36, 3, "Normal")
  1457. for i = 0, 1.2, 0.1 do
  1458. swait()
  1459. rootj.C0 = clerp(rootj.C0, RootCF * CFrame.new(0, -0.5, 0) * angles(math.rad(5), math.rad(0), math.rad(35)), 0.3)
  1460. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(math.rad(10), math.rad(0), math.rad(0)), 0.1)
  1461. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, -0.8) * angles(math.rad(96), math.rad(0), math.rad(10)), 0.1)
  1462. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(-10)), 0.3)
  1463. RH.C0 = clerp(RH.C0, CFrame.new(1, -1, 0) * RHCF * angles(math.rad(-2.5), math.rad(-25), math.rad(-0)), 0.3)
  1464. LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * LHCF * angles(math.rad(-2.5), math.rad(-0), math.rad(0)), 0.3)
  1465. end
  1466. Effects.Sphere.Create(maincolor, ra.CFrame * CFrame.new(0,-2,0) , 85, 85, 85, 0.1, 0.1, 0.1, 0.03)
  1467. Effects.Ring.Create(maincolor, ra.CFrame * CFrame.new(0,-2,0) , 2, 2, 2, 0.1, 0.1, 0.1, 0.03)
  1468. HitboxFunction(ra.CFrame, 0.01, 1, 1, 1, 7, 24, 36, 3, "Normal")
  1469. for i = 0, 1.2, 0.1 do
  1470. swait()
  1471. rootj.C0 = clerp(rootj.C0, RootCF * CFrame.new(0, -0.5, 0) * angles(math.rad(5), math.rad(0), math.rad(-35)), 0.3)
  1472. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(math.rad(10), math.rad(0), math.rad(0)), 0.1)
  1473. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, -0.8) * angles(math.rad(25), math.rad(0), math.rad(10)), 0.1)
  1474. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(-10)), 0.3)
  1475. RH.C0 = clerp(RH.C0, CFrame.new(1, -1, 0) * RHCF * angles(math.rad(-2.5), math.rad(-25), math.rad(-0)), 0.3)
  1476. LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * LHCF * angles(math.rad(-2.5), math.rad(-0), math.rad(0)), 0.3)
  1477. end
  1478. combo = 1
  1479. end
  1480. hum.WalkSpeed = 8
  1481. wait2 = false
  1482. attack = false
  1483. end
  1484. end)
  1485. function Decapitate()
  1486. local target = nil
  1487. local targettorso = nil
  1488. if mouse.Target.Parent ~= char and mouse.Target.Parent.Parent ~= char and mouse.Target.Parent:FindFirstChild("Humanoid") ~= nil then
  1489. if mouse.Target.Parent.Humanoid.PlatformStand == false then
  1490. target = mouse.Target.Parent.Humanoid
  1491. targettorso = mouse.Target.Parent:FindFirstChild("Torso") or mouse.Target.Parent:FindFirstChild("UpperTorso")
  1492. targethead = mouse.Target.Parent:FindFirstChild("Head")
  1493. end
  1494. end
  1495. if target ~= nil then
  1496. targettorso.Anchored = true
  1497. attack = true
  1498. hum.WalkSpeed = 0
  1499. root.CFrame = targettorso.CFrame * CF(0,0,2.6)
  1500. for i = 0,4.2,0.1 do
  1501. swait()
  1502. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-40)), 0.15)
  1503. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(40)), 0.3)
  1504. RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-9), Rad(0), Rad(-10)), 0.15)
  1505. LH.C0 = clerp(LH.C0, CF(-1, -0.6 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-8), Rad(0), Rad(10)), 0.15)
  1506. RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(115), Rad(0), Rad(35)), 0.1)
  1507. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(25), Rad(0), Rad(-15)), 0.1)
  1508. end
  1509. local ModelHead01 = New("Model", char, "", {})
  1510. local Humanoid01 = New("Humanoid", ModelHead01, "Humanoid", {})
  1511. local Head01 = targethead:Clone()
  1512. targethead.Transparency = 1
  1513. Head01.Parent = ModelHead01
  1514. local weldHead01 = Instance.new("Weld")
  1515. weldHead01.Parent = Head01
  1516. weldHead01.Part0 = targethead
  1517. weldHead01.Part1 = Head01
  1518. weldHead01.C1 = CFrame.new(0, 0, 0)
  1519. targethead.face:Remove()
  1520. weldHead01.Part0 = ra
  1521. weldHead01.C1 = CFrame.new(0, 0, 1.2) * angles(math.rad(90), math.rad(0), math.rad(0))
  1522. targettorso:BreakJoints()
  1523. CreateSound("314390675", targettorso, 5, .7)
  1524. for i = 0,3.2,0.1 do
  1525. swait()
  1526. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(90)), 0.15)
  1527. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(-90)), 0.3)
  1528. RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-5), Rad(0), Rad(0)), 0.15)
  1529. LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-5), Rad(0), Rad(50)), 0.15)
  1530. RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(115), Rad(20), Rad(90)), 0.1)
  1531. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(25), Rad(0), Rad(-15)), 0.1)
  1532. end
  1533. for i = 0,4.2,0.1 do
  1534. swait()
  1535. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-40)), 0.15)
  1536. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(40)), 0.3)
  1537. RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-5), Rad(0), Rad(0)), 0.15)
  1538. LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-5), Rad(0), Rad(-0)), 0.15)
  1539. RW.C0 = clerp(RW.C0, CF(1.4, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(185), Rad(0), Rad(15)), 0.1)
  1540. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(45), Rad(0), Rad(-15)), 0.1)
  1541. end
  1542. CreateSound("541909763", targettorso, 5, .8)
  1543. weldHead01:Destroy()
  1544. Head01.CanCollide = true
  1545. local bodyVelocity2 = Create("BodyVelocity")({
  1546. velocity = Vector3.new(0, 10, 0) + root.CFrame.lookVector * 50,
  1547. P = 5000,
  1548. maxForce = Vector3.new(8000, 8000, 8000),
  1549. Parent = Head01
  1550. })
  1551. game:GetService("Debris"):AddItem(bodyVelocity2, 0.05)
  1552. for i = 0,6.2,0.1 do
  1553. swait()
  1554. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(40)), 0.15)
  1555. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(-40)), 0.3)
  1556. RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-5), Rad(0), Rad(0)), 0.15)
  1557. LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-5), Rad(0), Rad(-0)), 0.15)
  1558. RW.C0 = clerp(RW.C0, CF(1.4, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(65), Rad(0), Rad(-15)), 0.1)
  1559. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(45), Rad(0), Rad(-15)), 0.1)
  1560. end
  1561. targettorso.Anchored = false
  1562. attack = false
  1563. hum.WalkSpeed = 8
  1564. root.CFrame = targettorso.CFrame * CF(0,0,3.4)
  1565. end
  1566. end
  1567. function Laugh()
  1568. attack = true
  1569. hum.WalkSpeed = 0
  1570. CreateSound("300208779", hed, 10, 1)
  1571. for i = 0,9,0.1 do
  1572. swait()
  1573. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 2)) * angles(Rad(-30), Rad(0), Rad(0)), 0.15)
  1574. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-30 - 2.5 * Sin(sine / 2)), Rad(0), Rad(0)), 0.3)
  1575. if Mrandom(1,15) == 1 then
  1576. tors.Neck.C0 = clerp(tors.Neck.C0, necko * CF(0, 0, 0 + ((1) - 1)) * angles(Rad(Mrandom(-15,15)), Rad(Mrandom(-15,15)), Rad(Mrandom(-15,15))), 1)
  1577. end
  1578. RH.C0 = clerp(RH.C0, CF(1, -1 - 0.1 * Cos(sine / 2), 0.025 * Cos(sine / 2)) * RHCF * angles(Rad(-4.5 - 7.5 * Sin(sine / 2)), Rad(0), Rad(-30)), 0.15)
  1579. LH.C0 = clerp(LH.C0, CF(-1, -1 - 0.1 * Cos(sine / 2), 0.025 * Cos(sine / 2)) * LHCF * angles(Rad(-6.5 - 7.5 * Sin(sine / 2)), Rad(0), Rad(30)), 0.15)
  1580. RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 2), 0.025 * Cos(sine / 2)) * angles(Rad(-35 - 7.5 * Sin(sine / 2)), Rad(0), Rad(15 - 7.5 * Sin(sine / 2))), 0.1)
  1581. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 2), 0.025 * Cos(sine / 2)) * angles(Rad(-35 - 7.5 * Sin(sine / 2)), Rad(0), Rad(-15 - 7.5 * Sin(sine / 2))), 0.1)
  1582. end
  1583. attack = false
  1584. hum.WalkSpeed = 10
  1585. end
  1586. function Flying_Kick()
  1587. attack = true
  1588. hum.WalkSpeed = 0
  1589. for i = 0,2.7,0.1 do
  1590. swait()
  1591. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -.7 + 0.1 * Cos(sine / 20)) * angles(Rad(20), Rad(0), Rad(0)), 0.15)
  1592. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-20), Rad(0), Rad(0)), 0.3)
  1593. RH.C0 = clerp(RH.C0, CF(1, -0.3 - 0.1 * Cos(sine / 20), -.6 + 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-5), Rad(0), Rad(0)), 0.15)
  1594. LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-5), Rad(0), Rad(30)), 0.15)
  1595. RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(-20), Rad(0), Rad(15)), 0.1)
  1596. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(-20), Rad(0), Rad(-15)), 0.1)
  1597. end
  1598. local bodyVelocity = Create("BodyVelocity")({
  1599. velocity = Vector3.new(0, 0, 0) + root.CFrame.lookVector * 250,
  1600. P = 5000,
  1601. maxForce = Vector3.new(9e99, 9e99, 9e99),
  1602. Parent = root
  1603. })
  1604. game:GetService("Debris"):AddItem(bodyVelocity, 0.05)
  1605. CreateSound("138097048", rl, 3, 1)
  1606. for i = 0,2.1,0.1 do
  1607. swait()
  1608. HitboxFunction(rl.CFrame, 0.01, 1, 1, 1, 7, 6, 8, 3, "Knockdown")
  1609. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, .6 + 0.1 * Cos(sine / 20)) * angles(Rad(0), Rad(20), Rad(90)), 0.15)
  1610. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(-90)), 0.3)
  1611. RH.C0 = clerp(RH.C0, CF(.4, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-125), Rad(0), Rad(0)), 0.15)
  1612. LH.C0 = clerp(LH.C0, CF(-1.3, -1.3 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(35), Rad(0), Rad(0)), 0.15)
  1613. RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(90)), 0.1)
  1614. LW.C0 = clerp(LW.C0, CF(-1.9, 0.8 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-215)), 0.1)
  1615. end
  1616. attack = false
  1617. hum.WalkSpeed = 8
  1618. end
  1619. function UpperCut()
  1620. attack = true
  1621. hum.WalkSpeed = 0
  1622. for i = 0,2.3,0.1 do
  1623. swait()
  1624. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -.7 + 0.1 * Cos(sine / 20)) * angles(Rad(20), Rad(0), Rad(0)), 0.15)
  1625. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(20), Rad(0), Rad(0)), 0.3)
  1626. RH.C0 = clerp(RH.C0, CF(1, -0.3 - 0.1 * Cos(sine / 20), -.6 + 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-5), Rad(0), Rad(0)), 0.15)
  1627. LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-5), Rad(0), Rad(30)), 0.15)
  1628. RW.C0 = clerp(RW.C0, CF(.8, 0.5 + 0.05 * Sin(sine / 30), -.8 + 0.025 * Cos(sine / 20)) * angles(Rad(165), Rad(0), Rad(0)), 0.1)
  1629. LW.C0 = clerp(LW.C0, CF(-1, 0.5 + 0.05 * Sin(sine / 30), -1 + 0.025 * Cos(sine / 20)) * angles(Rad(90), Rad(0), Rad(75)), 0.1)
  1630. end
  1631. CreateSound("138097048", ra, 3, .8)
  1632. HitboxFunction(ra.CFrame, 0.01, 1, 1, 1, 7, 6, 8, 3, "Knockdown")
  1633. for i = 0,2.8,0.1 do
  1634. swait()
  1635. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -.1 + 0.1 * Cos(sine / 20)) * angles(Rad(-35), Rad(0), Rad(10)), 0.15)
  1636. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-20), Rad(0), Rad(0)), 0.3)
  1637. RH.C0 = clerp(RH.C0, CF(1, -1.2 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-5), Rad(0), Rad(-55)), 0.15)
  1638. LH.C0 = clerp(LH.C0, CF(-1, -1.2 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-5), Rad(0), Rad(35)), 0.15)
  1639. RW.C0 = clerp(RW.C0, CF(1.3, .8 + 0.05 * Sin(sine / 30), -.6 + 0.025 * Cos(sine / 20)) * angles(Rad(125), Rad(0), Rad(0)), 0.1)
  1640. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(-40), Rad(0), Rad(-10)), 0.1)
  1641. end
  1642. attack = false
  1643. hum.WalkSpeed = 8
  1644. end
  1645. function Spinning_Kick()
  1646. attack = true
  1647. hum.WalkSpeed = 3.01
  1648. for i = 0, 1.2, 0.1 do
  1649. swait()
  1650. rootj.C0 = clerp(rootj.C0, RootCF * CFrame.new(0, -0.5, 0) * angles(math.rad(-25), math.rad(10), math.rad(-65)), 0.3)
  1651. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(math.rad(10), math.rad(0), math.rad(0)), 0.1)
  1652. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(10)), 0.1)
  1653. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(-10)), 0.3)
  1654. RH.C0 = clerp(RH.C0, CFrame.new(1, -1, 0) * RHCF * angles(math.rad(-2.5), math.rad(-25), math.rad(-25)), 0.3)
  1655. LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * LHCF * angles(math.rad(-2.5), math.rad(-0), math.rad(-20)), 0.3)
  1656. end
  1657. for i = 0, 4.6, 0.1 do
  1658. swait()
  1659. CreateSound("138097048", rl, 3, 1)
  1660. HitboxFunction(ll.CFrame, 0.01, 1, 1, 1, 7, 5, 10, 3, "Normal")
  1661. rootj.C0 = clerp(rootj.C0, RootCF * CFrame.new(0, -0.5, 0) * angles(math.rad(-15), math.rad(0), math.rad(65 + 255.45 * i)), 0.3)
  1662. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(math.rad(10), math.rad(0), math.rad(0)), 0.1)
  1663. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-54), math.rad(0), math.rad(47)), 0.1)
  1664. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-34), math.rad(0), math.rad(-47)), 0.3)
  1665. RH.C0 = clerp(RH.C0, CFrame.new(1, -1, 0) * RHCF * angles(math.rad(-2.5), math.rad(-25), math.rad(95)), 0.3)
  1666. LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * LHCF * angles(math.rad(-4.5), math.rad(-30), math.rad(30)), 0.3)
  1667. end
  1668. attack = false
  1669. hum.WalkSpeed = 8
  1670. end
  1671. function Beam_Of_Light()
  1672.  
  1673. end
  1674. function Blast_Of_God()
  1675. attack = true
  1676. hum.WalkSpeed = 3.01
  1677. for i = 0,6.3,0.1 do
  1678. swait()
  1679. Effects.Sphere.Create(BrickC("New Yeller"), ra.CFrame * CF(0, -1, 0), 2, 2, 2, 3, 3, 3, 0.05)
  1680. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, 1.2 + 0.3 * Cos(sine / 20)) * angles(Rad(5), Rad(0), Rad(90)), 0.15)
  1681. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-4.5 * Sin(sine / 30)), Rad(0), Rad(-90)), 0.3)
  1682. RH.C0 = clerp(RH.C0, CF(1, -0.4 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5 + 3 * Sin(sine / 20)), Rad(0), Rad(-20 + 2.5 * Sin(sine / 20))), 0.15)
  1683. LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5 + 3 * Sin(sine / 20)), Rad(0), Rad(0 + 2.5 * Sin(sine / 20))), 0.15)
  1684. RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(-3 * Sin(sine / 20)), Rad(-10 * Sin(sine / 20)), Rad(90 - 2.5 * Sin(sine / 20))), 0.1)
  1685. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(4 * Sin(sine / 20)), Rad(10 * Sin(sine / 20)), Rad(-13 + 2.5 * Sin(sine / 20))), 0.1)
  1686. end
  1687. Effects.Block.Create(BrickC("New Yeller"), ra.CFrame * CF(0, -1, 0), 2, 2, 2, 11, 11, 11, 0.05)
  1688. Effects.Block.Create(BrickC("New Yeller"), ra.CFrame * CF(0, -1, 0), 2, 2, 2, 11, 11, 11, 0.03)
  1689. Effects.Block.Create(BrickC("New Yeller"), ra.CFrame * CF(0, -1, 0), 2, 2, 2, 11, 11, 11, 0.05)
  1690. Effects.Block.Create(BrickC("New Yeller"), ra.CFrame * CF(0, -1, 0), 2, 2, 2, 11, 11, 11, 0.05)
  1691. Effects.Block.Create(BrickC("New Yeller"), ra.CFrame * CF(0, -1, 0), 2, 2, 2, 10.5, 10.5, 10.5, 0.05)
  1692. Effects.Ring.Create(BrickC("New Yeller"), ra.CFrame * angles(Rad(90),0,0) * CF(0, -1, 0), 2, 2, 2, 7.6, 7.6, 7.6, 0.03)
  1693. CreateSound("142070127", tors, 10, 1)
  1694. MagniDamage(ra, 12, 40, 60, 10, "Normal")
  1695. for i = 0,2.6,0.1 do
  1696. swait()
  1697. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, 1.2 + 0.3 * Cos(sine / 20)) * angles(Rad(-25), Rad(0), Rad(90)), 0.15)
  1698. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-4.5 * Sin(sine / 30)), Rad(0), Rad(-90)), 0.3)
  1699. RH.C0 = clerp(RH.C0, CF(1, -0.4 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-16 + 3 * Sin(sine / 20)), Rad(0), Rad(20 + 2.5 * Sin(sine / 20))), 0.15)
  1700. LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-25 + 3 * Sin(sine / 20)), Rad(0), Rad(0 + 2.5 * Sin(sine / 20))), 0.15)
  1701. RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(-3 * Sin(sine / 20)), Rad(-10 * Sin(sine / 20)), Rad(195 - 2.5 * Sin(sine / 20))), 0.1)
  1702. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(4 * Sin(sine / 20)), Rad(10 * Sin(sine / 20)), Rad(-35 + 2.5 * Sin(sine / 20))), 0.1)
  1703. end
  1704. attack = false
  1705. hum.WalkSpeed = 8
  1706. end
  1707. function Diablo_Explosion()
  1708. attack = true
  1709. hum.WalkSpeed = 3.01
  1710. for i = 0,6.3,0.1 do
  1711. swait()
  1712. Effects.Block.Create(BrickC("Really red"), ra.CFrame * CF(0, -1, 0), 2, 2, 2, 3, 3, 3, 0.05)
  1713. Effects.Block.Create(BrickC("Really red"), la.CFrame * CF(0, -1, 0), 2, 2, 2, 3, 3, 3, 0.05)
  1714. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, 1.3 + 0.6 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(0)), 0.15)
  1715. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-20 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3)
  1716. RH.C0 = clerp(RH.C0, CF(1, -0.5 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-4.5 + 3 * Sin(sine / 20)), Rad(0), Rad(10 + 3 * Sin(sine / 20))), 0.15)
  1717. LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-6.5 + 3 * Sin(sine / 20)), Rad(0), Rad(20 + 3 * Sin(sine / 20))), 0.15)
  1718. RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(-10 * Cos(sine / 20)), Rad(90 - 2.5 * Sin(sine / 20))), 0.1)
  1719. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(10 * Cos(sine / 20)), Rad(-90 + 2.5 * Sin(sine / 20))), 0.1)
  1720. end
  1721. Effects.Sphere.Create(BrickC("Really red"), root.CFrame * CF(0, 1, -4), 2, 2, 2, 14, 14, 14, 0.05)
  1722. Effects.Sphere.Create(BrickC("Really red"), root.CFrame * CF(0, 1, -4), 2, 2, 2, 11, 11, 11, 0.03)
  1723. Effects.Sphere.Create(BrickC("Really red"), root.CFrame * CF(0, 1, -4), 2, 2, 2, 8, 8, 8, 0.05)
  1724. Effects.Sphere.Create(BrickC("Really red"), root.CFrame * CF(0, 1, -4), 2, 2, 2, 6, 6, 6, 0.05)
  1725. Effects.Sphere.Create(BrickC("Really red"), root.CFrame * CF(0, 1, -4), 2, 2, 2, 10.5, 10.5, 10.5, 0.05)
  1726. Effects.Ring.Create(BrickC("Really red"), root.CFrame * CF(0, 0, -4), 2, 2, 2, 3.6, 3.6, 3.6, 0.03)
  1727. CreateSound("142070127", tors, 10, 1)
  1728. MagniDamage(tors, 12, 34, 54, 10, "DarkUp")
  1729. for i = 0,4.6,0.1 do
  1730. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, 1.3 + 0.6 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(0)), 0.15)
  1731. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(20 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3)
  1732. RH.C0 = clerp(RH.C0, CF(1, -0.5 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-4.5 + 3 * Sin(sine / 20)), Rad(0), Rad(10 + 3 * Sin(sine / 20))), 0.15)
  1733. LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-6.5 + 3 * Sin(sine / 20)), Rad(0), Rad(-10 + 3 * Sin(sine / 20))), 0.15)
  1734. RW.C0 = clerp(RW.C0, CF(1, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(90), Rad(-10 * Cos(sine / 20)), Rad(-35 - 2.5 * Sin(sine / 20))), 0.1)
  1735. LW.C0 = clerp(LW.C0, CF(-1, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(90), Rad(10 * Cos(sine / 20)), Rad(35 + 2.5 * Sin(sine / 20))), 0.1)
  1736. end
  1737. wait(.6)
  1738. attack = false
  1739. hum.WalkSpeed = 8
  1740. end
  1741. function Hell_From_Above()
  1742. local UhhhhThing = New("Part",EffectModel,"ref",{Transparency = 1,Size = Vector3.new(.2,.2,.2),CFrame = tors.CFrame,Anchored = true,CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,})
  1743. attack = true
  1744. hum.WalkSpeed = 3.01
  1745. for i = 0,6.3,0.1 do
  1746. swait()
  1747. Effects.Block.Create(BrickC("Really red"), ra.CFrame * CF(0, -1, 0), 2, 2, 2, 3, 3, 3, 0.05)
  1748. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, 1.3 + 0.6 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(0)), 0.15)
  1749. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-20 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3)
  1750. RH.C0 = clerp(RH.C0, CF(1, -0.5 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-4.5 + 3 * Sin(sine / 20)), Rad(0), Rad(10 + 3 * Sin(sine / 20))), 0.15)
  1751. LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-6.5 + 3 * Sin(sine / 20)), Rad(0), Rad(-10 + 3 * Sin(sine / 20))), 0.15)
  1752. RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(180), Rad(-10 * Cos(sine / 20)), Rad(15 - 2.5 * Sin(sine / 20))), 0.1)
  1753. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(10 * Cos(sine / 20)), Rad(-15 + 2.5 * Sin(sine / 20))), 0.1)
  1754. end
  1755. CreateSound("142070127", tors, 10, 1)
  1756. Effects.Sphere.Create(BrickC("Really red"), ra.CFrame * CF(0, -1, 0), 2, 2, 2, 6, 6, 6, 0.05)
  1757. Effects.Sphere.Create(BrickC("Really red"), ra.CFrame * CF(0, -1, 0), 2, 2, 2, 6, 6, 6, 0.05)
  1758. Effects.Sphere.Create(BrickC("Really red"), ra.CFrame * CF(0, -1, 0), 2, 2, 2, 6, 6, 6, 0.05)
  1759. Effects.Sphere.Create(BrickC("Really red"), ra.CFrame * CF(0, -1, 0), 2, 2, 2, 6, 6, 6, 0.05)
  1760. for i = 0,3.8,0.1 do
  1761. swait()
  1762. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, 1.3 + 0.6 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(0)), 0.15)
  1763. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-20 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3)
  1764. RH.C0 = clerp(RH.C0, CF(1, -0.5 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-4.5 + 3 * Sin(sine / 20)), Rad(0), Rad(10 + 3 * Sin(sine / 20))), 0.15)
  1765. LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-6.5 + 3 * Sin(sine / 20)), Rad(0), Rad(-10 + 3 * Sin(sine / 20))), 0.15)
  1766. RW.C0 = clerp(RW.C0, CF(1.5, .2 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(180), Rad(-10 * Cos(sine / 20)), Rad(15 - 2.5 * Sin(sine / 20))), 0.1)
  1767. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(10 * Cos(sine / 20)), Rad(-15 + 2.5 * Sin(sine / 20))), 0.1)
  1768. end
  1769. CreateSound("224339201", tors, 10, 0.5)
  1770. for i = 1, 3 do
  1771. MagniDamage(UhhhhThing, 12, 34, 54, 10, "DarkUp")
  1772. UhhhhThing.CFrame = mouse.Hit
  1773. Effects.Cylinder.Create(BrickColor.new("Really red"), UhhhhThing.CFrame, .5, 9999, .5, 10, 0, 10, 0.05)
  1774. Effects.Block.Create(BrickColor.new("Really red"), UhhhhThing.CFrame, 1, 1, 1, 10, 10, 10, 0.05)
  1775. end
  1776. UhhhhThing:Destroy()
  1777. attack = false
  1778. hum.WalkSpeed = 8
  1779. end
  1780. function Spinning_Below()
  1781. attack = true
  1782. hum.WalkSpeed = 3.01
  1783. CreateSound("649634100", tors, 10, 0.5)
  1784. for i = 0,6.3,0.1 do
  1785. swait()
  1786. Effects.Block.Create(BrickC("Really red"), ra.CFrame * CF(0, -1, 0), 2, 2, 2, 3, 3, 3, 0.05)
  1787. Effects.Block.Create(BrickC("Really red"), la.CFrame * CF(0, -1, 0), 2, 2, 2, 3, 3, 3, 0.05)
  1788. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, 1.3 + 0.6 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(0 + 255.45 * i)), 0.15)
  1789. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-20 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3)
  1790. RH.C0 = clerp(RH.C0, CF(1, -0.7 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-4.5 + 3 * Sin(sine / 20)), Rad(0), Rad(10 + 3 * Sin(sine / 20))), 0.15)
  1791. LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-6.5 + 3 * Sin(sine / 20)), Rad(0), Rad(-10 + 3 * Sin(sine / 20))), 0.15)
  1792. RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(-10 * Cos(sine / 20)), Rad(90 - 2.5 * Sin(sine / 20))), 0.1)
  1793. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(10 * Cos(sine / 20)), Rad(-90 + 2.5 * Sin(sine / 20))), 0.1)
  1794. end
  1795. attack = false
  1796. hum.WalkSpeed = 8
  1797. end
  1798. function Purity_Slam()
  1799. attack = true
  1800. for i = 0,5.2,0.1 do
  1801. swait()
  1802. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(-20), Rad(0), Rad(0)), 0.15)
  1803. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-20 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3)
  1804. RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-4.5), Rad(0), Rad(-20)), 0.15)
  1805. LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-6.5), Rad(5 * Cos(sine / 20)), Rad(25)), 0.15)
  1806. RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(200), Rad(0), Rad(25 - 2.5 * Sin(sine / 20))), 0.1)
  1807. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(200), Rad(0), Rad(-25 + 2.5 * Sin(sine / 20))), 0.1)
  1808. end
  1809. CreateSound("331666100", tors, 10, 1)
  1810. Effects.Ring.Create(BrickC("Toothpaste"), root.CFrame * CF(0, -2.7, 0) * angles(Rad(90),Rad(0),Rad(0)), 2, 2, 2, 3.6, 3.6, 3.6, 0.03)
  1811. Effects.Ring.Create(BrickC("Toothpaste"), root.CFrame * CF(0, -2.3, 0) * angles(Rad(90),Rad(0),Rad(0)), 2, 2, 2, 5.6, 5.6, 5.6, 0.03)
  1812. Effects.Ring.Create(BrickC("Toothpaste"), root.CFrame * CF(0, -1.7, 0) * angles(Rad(90),Rad(0),Rad(0)), 2, 2, 2, 8.6, 8.6, 8.6, 0.03)
  1813. Effects.Ring.Create(BrickC("Toothpaste"), root.CFrame * CF(0, -1.3, 0) * angles(Rad(90),Rad(0),Rad(0)), 2, 2, 2, 10.6, 10, 10, 0.03)
  1814. MagniDamage(tors, 12, 40, 60, 10, "Normal")
  1815. coroutine.resume(coroutine.create(function()
  1816. for i = 0,1.8,0.1 do
  1817. swait()
  1818. hum.CameraOffset = Vector3.new(Mrandom(-3,3),Mrandom(-3,3),Mrandom(-3,3))
  1819. end
  1820. for i = 0,1.8,0.1 do
  1821. swait()
  1822. hum.CameraOffset = Vector3.new(0,0,0)
  1823. end
  1824. end))
  1825. for i = 1,4.7,0.1 do
  1826. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -1.4 + 0.1 * Cos(sine / 20)) * angles(Rad(45), Rad(0), Rad(0)), 0.15)
  1827. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(35), Rad(0), Rad(0)), 0.3)
  1828. RH.C0 = clerp(RH.C0, CF(1, .4 - 0.1 * Cos(sine / 20), -.6 + 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-5), Rad(0), Rad(45)), 0.15)
  1829. LH.C0 = clerp(LH.C0, CF(-1, -0.6 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-5), Rad(0), Rad(-0)), 0.15)
  1830. RW.C0 = clerp(RW.C0, CF(1.5, 0.1 + 0.05 * Sin(sine / 30), -.4 + 0.025 * Cos(sine / 20)) * angles(Rad(65), Rad(0), Rad(25)), 0.1)
  1831. LW.C0 = clerp(LW.C0, CF(-1.5, 0.1 + 0.05 * Sin(sine / 30), -.4 + 0.025 * Cos(sine / 20)) * angles(Rad(65), Rad(0), Rad(-25)), 0.1)
  1832. end
  1833. wait(.6)
  1834. attack = false
  1835. end
  1836. function Painful_Stomp()
  1837. attack = true
  1838. for i = 0,5.2,0.1 do
  1839. swait()
  1840. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(-20), Rad(0), Rad(0)), 0.15)
  1841. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-20 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3)
  1842. RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-4.5), Rad(0), Rad(-20)), 0.15)
  1843. LH.C0 = clerp(LH.C0, CF(-1, -0.3 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-6.5), Rad(5 * Cos(sine / 20)), Rad(25)), 0.15)
  1844. RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(135), Rad(0), Rad(-45 - 2.5 * Sin(sine / 20))), 0.1)
  1845. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(135), Rad(0), Rad(45 + 2.5 * Sin(sine / 20))), 0.1)
  1846. end
  1847. CreateSound("331666100", char, 10, 1)
  1848. Effects.Sphere.Create(BrickColor.Random(), root.CFrame * CF(0, -1, 0), 2, 2, 2, 10.6, 10.6, 10.6, 0.05)
  1849. Effects.Sphere.Create(BrickColor.Random(), root.CFrame * CF(0, -1, 0), 2, 2, 2, 10.6, 10.6, 10.6, 0.05)
  1850. Effects.Sphere.Create(BrickColor.Random(), root.CFrame * CF(0, -1, 0), 2, 2, 2, 10.6, 10.6, 10.6, 0.05)
  1851. Effects.Sphere.Create(BrickColor.Random(), root.CFrame * CF(0, -1, 0), 2, 2, 2, 10.6, 10.6, 10.6, 0.05)
  1852. Effects.Sphere.Create(BrickColor.Random(), root.CFrame * CF(0, -1, 0), 2, 2, 2, 10.6, 35.6, 10.6, 0.05)
  1853. Effects.Sphere.Create(BrickColor.Random(), root.CFrame * CF(0, -3, 0), 2, 2, 2, 150.6, .4, 150.6, 0.05)
  1854. Effects.Ring.Create(BrickColor.Random(), root.CFrame * CF(0, -1.7, 0) * angles(Rad(90),Rad(0),Rad(0)), 2, 2, 2, 8.6, 8.6, 8.6, 0.03)
  1855. for i, v in pairs(FindNearestHead(tors.CFrame.p, 52.5)) do
  1856. if v:FindFirstChild("Head") then
  1857. Eviscerate(v)
  1858. end
  1859. end
  1860. coroutine.resume(coroutine.create(function()
  1861. for i = 0,2.8,0.1 do
  1862. swait()
  1863. hum.CameraOffset = Vector3.new(Mrandom(-3,3),Mrandom(-3,3),Mrandom(-3,3))
  1864. end
  1865. for i = 0,1.8,0.1 do
  1866. swait()
  1867. hum.CameraOffset = Vector3.new(0,0,0)
  1868. end
  1869. end))
  1870. for i = 0,3.7,0.1 do
  1871. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(20), Rad(0), Rad(0)), 0.15)
  1872. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(20 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3)
  1873. RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-4.5), Rad(0), Rad(20)), 0.15)
  1874. LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-6.5), Rad(5 * Cos(sine / 20)), Rad(-25)), 0.15)
  1875. RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(-40), Rad(0), Rad(25 - 2.5 * Sin(sine / 20))), 0.1)
  1876. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(-40), Rad(0), Rad(-25 + 2.5 * Sin(sine / 20))), 0.1)
  1877. end
  1878. wait(.6)
  1879. attack = false
  1880. end
  1881. function Ending()
  1882. local target = nil
  1883. local targettorso = nil
  1884. if mouse.Target.Parent ~= char and mouse.Target.Parent.Parent ~= char and mouse.Target.Parent:FindFirstChild("Humanoid") ~= nil then
  1885. if mouse.Target.Parent.Humanoid.PlatformStand == false then
  1886. targetT = mouse.Target.Parent
  1887. target = mouse.Target.Parent.Humanoid
  1888. targettorso = mouse.Target.Parent:FindFirstChild("Torso") or mouse.Target.Parent:FindFirstChild("UpperTorso")
  1889. targethead = mouse.Target.Parent:FindFirstChild("Head")
  1890. end
  1891. end
  1892. if target ~= nil then
  1893. targettorso.Anchored = true
  1894. attack = true
  1895. hum.WalkSpeed = 0
  1896. local originalpos = root.CFrame
  1897. root.CFrame = targettorso.CFrame * CF(0,0,2.6)
  1898. for i = 0,1.8,0.1 do
  1899. swait()
  1900. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-65)), 0.15)
  1901. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(65)), 0.3)
  1902. RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-9), Rad(0), Rad(-10)), 0.15)
  1903. LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), -.2 + 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-8), Rad(0), Rad(10)), 0.15)
  1904. RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(90), Rad(0), Rad(35)), 0.1)
  1905. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(25), Rad(0), Rad(-15)), 0.1)
  1906. end
  1907. Eviscerate(targetT)
  1908. CreateSound("331666100", ra, 4, 1)
  1909. CreateSound("180083286", targettorso, 10, 1)
  1910. coroutine.resume(coroutine.create(function()
  1911. for i = 0,1.8,0.1 do
  1912. swait()
  1913. hum.CameraOffset = Vector3.new(Mrandom(-3,3),Mrandom(-3,3),Mrandom(-3,3))
  1914. end
  1915. for i = 0,1.8,0.1 do
  1916. swait()
  1917. hum.CameraOffset = Vector3.new(0,0,0)
  1918. end
  1919. end))
  1920. for i = 0,4.6,0.1 do
  1921. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(90)), 0.15)
  1922. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(-90)), 0.3)
  1923. RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-9), Rad(0), Rad(-10)), 0.15)
  1924. LH.C0 = clerp(LH.C0, CF(-1, -0.6 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-8), Rad(0), Rad(10)), 0.15)
  1925. RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(90)), 0.1)
  1926. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(25), Rad(0), Rad(-15)), 0.1)
  1927. end
  1928. wait(.6)
  1929. root.CFrame = originalpos
  1930. attack = false
  1931. hum.WalkSpeed = 8
  1932. end
  1933. end
  1934.  
  1935. --[[I don't take ANY credit for this attack,
  1936. this was all nooby's hard work and the only reason i uhhh "used" it
  1937. is cause I i didn't have attack ideas at the time so yeah,
  1938. 100% nooby's credit <3]]
  1939. function Ende_der_Weld()
  1940. attack = true
  1941. hum.WalkSpeed = 0
  1942. for i = 0,4.6,0.1 do
  1943. swait()
  1944. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(90)), 0.15)
  1945. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(-90)), 0.3)
  1946. RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-9), Rad(0), Rad(-10)), 0.15)
  1947. LH.C0 = clerp(LH.C0, CF(-1, -0.6 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-8), Rad(0), Rad(10)), 0.15)
  1948. RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(90)), 0.1)
  1949. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(25), Rad(0), Rad(-15)), 0.1)
  1950. end
  1951. local a = Instance.new("Part",char)
  1952. a.BrickColor = BrickColor.random()
  1953. a.Name = "Lazer"
  1954. a.Anchored = true
  1955. a.Material = "Neon"
  1956. a.Transparency = 1
  1957. a.CanCollide = false
  1958. local hitbox = Instance.new("Part",char)
  1959. hitbox.Size = Vector3.new(5,5,5)
  1960. hitbox.CFrame = mouse.hit
  1961. hitbox.Anchored = true
  1962. hitbox.Transparency = 1
  1963. hitbox.CanCollide = false
  1964. local ray = Ray.new(
  1965. ra.CFrame.p, -- origin
  1966. (mouse.Hit.p - ra.CFrame.p).unit * 500 -- direction
  1967. )
  1968. local ignore = char
  1969. local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  1970. if hit then
  1971. local humanoid = hit.Parent:FindFirstChildOfClass("Humanoid")
  1972.  
  1973. if not humanoid then
  1974. humanoid = hit.Parent.Parent:FindFirstChildOfClass("Humanoid")
  1975. end
  1976. if humanoid then
  1977. if humanoid.Parent:IsA"Model" then
  1978. end
  1979. end
  1980. end
  1981. a.BottomSurface = 10
  1982. a.TopSurface = 10
  1983. local distance = (ra.CFrame.p - position).magnitude
  1984. a.Size = Vector3.new(0.1, 0.1, 0.1)
  1985. a.CFrame = CFrame.new(ra.CFrame.p, position) * CFrame.new(0, 0, 0)
  1986. game:GetService("Debris"):AddItem(a, 5)
  1987. game:GetService("Debris"):AddItem(hitbox, 1)
  1988. local newmesh = Instance.new("BlockMesh",a)
  1989. MagicBlock(BrickColor.Random(),ra.CFrame,5,5,5,0.25,0.25,0.25,0.025)
  1990. MagicShockAlt(BrickColor.Random(),a.CFrame,5,5,1.5,1.5,0.015,1)
  1991. MagicShockAlt(BrickColor.Random(),a.CFrame,5,5,1.25,1.25,0.015,2)
  1992. MagicShockAlt(BrickColor.Random(),a.CFrame,5,5,1,1,0.015,1)
  1993. local lbs = Instance.new("Part")
  1994. lbs.Parent = char
  1995. CreateSound("929619479", lbs, 10, 1)
  1996. lbs.Material = "Neon"
  1997. lbs.Color = BrickColor.Random().Color
  1998. lbs.CanCollide = false
  1999. lbs.Shape = "Ball"
  2000. lbs.Anchored = true
  2001. lbs.Transparency = 0
  2002. lbs.Size = Vector3.new(20,20,20)
  2003. lbs.CFrame = a.CFrame
  2004. local thing = Instance.new("SpecialMesh",lbs)
  2005. thing.MeshType = "Sphere"
  2006. lbs.Anchored = false
  2007. local bvs = Instance.new("BodyVelocity")
  2008. bvs.maxForce = Vector3.new(1e9, 1e9, 1e9)
  2009. bvs.velocity = a.CFrame.lookVector*75
  2010. bvs.Parent = lbs
  2011. lbs.Touched:connect(function(hit)
  2012. MagniDamage(hit, 12, 40, 60, 10, "Normal")
  2013. end)
  2014. attack = false
  2015. game:GetService("Debris"):AddItem(lbs, 10)
  2016. for x = 0, 4 do
  2017. local bulletgos = IT("Model",char)
  2018. local bulletgos2 = IT("Model",char)
  2019. for z = 0, 24 do
  2020. local lb = Instance.new("Part")
  2021. lb.Parent = bulletgos
  2022. lb.Material = "Neon"
  2023. lb.Color = BrickColor.Random().Color
  2024. lb.CanCollide = false
  2025. lb.Anchored = true
  2026. lb.Transparency = 0
  2027. lb.Size = Vector3.new(2,2,2)
  2028. local thing = Instance.new("SpecialMesh",lb)
  2029. thing.MeshType = "Sphere"
  2030. thing.Scale = Vector3.new(0.5,0.5,1.5)
  2031. lb.CFrame = lbs.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))
  2032. lb.CFrame = lb.CFrame + lb.CFrame.lookVector*15
  2033. local lb2 = Instance.new("Part")
  2034. lb2.Parent = bulletgos2
  2035. lb2.Material = "Neon"
  2036. lb2.Color = lb.Color
  2037. lb2.CanCollide = false
  2038. lb2.Anchored = true
  2039. lb2.Transparency = 0
  2040. lb2.Size = Vector3.new(2,2,2)
  2041. lb2.CFrame = lbs.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))
  2042. lb2.CFrame = lb2.CFrame + lb.CFrame.lookVector*15
  2043. local thing2 = Instance.new("SpecialMesh",lb2)
  2044. thing2.MeshType = "Sphere"
  2045. thing2.Scale = Vector3.new(0.5,0.5,1.5)
  2046. lb.Touched:connect(function(hit)
  2047. MagniDamage(hit, 12, 40, 60, 10, "Normal")
  2048. end)
  2049. lb2.Touched:connect(function(hit)
  2050. MagniDamage(hit, 12, 40, 60, 10, "Normal")
  2051. end)
  2052. end
  2053. MagicBlock(BrickColor.Random(),lbs.CFrame,25,25,25,-0.1,-0.1,-0.1,0.025)
  2054. MagicBlock(BrickColor.Random(),lbs.CFrame,25,25,25,-0.1,-0.1,-0.1,0.025)
  2055. MagicBlock(BrickColor.Random(),lbs.CFrame,25,25,25,0.5,0.5,0.5,0.025)
  2056. MagicBlock(BrickColor.Random(),lbs.CFrame,25,25,25,0.5,0.5,0.5,0.025)
  2057. CreateSound("925629856", lbs, 5, 1)
  2058. game:GetService("Debris"):AddItem(bulletgos, 7)
  2059. game:GetService("Debris"):AddItem(bulletgos2, 7)
  2060. for i,v in pairs(bulletgos:children()) do
  2061. if v:IsA("Part") then
  2062. v.Anchored = false
  2063. MagicBlock(v.BrickColor,v.CFrame,1,1,1,0.25,0.25,0.25,0.025)
  2064. local bv = Instance.new("BodyVelocity")
  2065. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  2066. bv.velocity = v.CFrame.lookVector*25
  2067. bv.Parent = v
  2068. game:GetService("Debris"):AddItem(v, 5)
  2069. end
  2070. end
  2071. for i,v in pairs(bulletgos2:children()) do
  2072. if v:IsA("Part") then
  2073. v.Anchored = false
  2074. MagicBlock(v.BrickColor,v.CFrame,1,1,1,0.25,0.25,0.25,0.025)
  2075. local bv = Instance.new("BodyVelocity")
  2076. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  2077. bv.velocity = v.CFrame.lookVector*-25
  2078. bv.Parent = v
  2079. game:GetService("Debris"):AddItem(v, 5)
  2080. end
  2081. end
  2082. wait(1)
  2083. end
  2084. attack = false
  2085. hum.WalkSpeed = 8
  2086. end
  2087. -------------------------------------------------------
  2088. --End Attacks N Stuff--
  2089. -------------------------------------------------------
  2090. mouse.KeyDown:connect(function(key)
  2091. if string.byte(key) == 48 then
  2092. Swing = 2
  2093. hum.WalkSpeed = 38.82
  2094. end
  2095. end)
  2096. mouse.KeyUp:connect(function(key)
  2097. if string.byte(key) == 48 then
  2098. Swing = 1
  2099. hum.WalkSpeed = 8
  2100. end
  2101. end)
  2102. mouse.KeyDown:connect(function(key)
  2103. if attack == false then
  2104. if key == 'q' and EdgyMode == false and Divinity == false and Fighter == false and Purity == false and Destruction == false and helpme == false and Planetary == false then
  2105. EdgyMode = true
  2106. tecks2.Text = "Imagine Dragons"
  2107. tecks2.TextColor3 = Color3.new(0, 0, 0)
  2108. tecks2.TextStrokeColor3 = Color3.fromRGB(98, 37, 209)
  2109. for i, v in pairs(ArmourParts) do
  2110. v.BrickColor = BrickColor.new("Black")
  2111. end
  2112. for i, v in pairs(ArmourParts2) do
  2113. v.BrickColor = BrickColor.new("Really black")
  2114. end
  2115. for i, v in pairs(NeonParts) do
  2116. v.BrickColor = BrickColor.new("Crimson")
  2117. end
  2118. maincolor = BrickColor.new("Crimson")
  2119. Music.SoundId = "rbxassetid://1567323605"
  2120. Music.Parent = tors
  2121. Music:Play()
  2122. elseif key == 'q' and EdgyMode == true and Divinity == false and Fighter == false and Purity == false and Destruction == false and helpme == false and Planetary == false then
  2123. EdgyMode = false
  2124. tecks2.Text = "Neutral"
  2125. tecks2.TextColor3 = Color3.new(0, 0, 0)
  2126. tecks2.TextStrokeColor3 = Color3.fromRGB(0, 0, 0)
  2127. resetmode()
  2128. Music.SoundId = "rbxassetid://414060051"
  2129. Music.Parent = tors
  2130. Music:Play()
  2131. elseif key == 'e' and EdgyMode == false and Divinity == false and Fighter == false and Purity == false and Destruction == false and helpme == false and Planetary == false then
  2132. Divinity = true
  2133. tecks2.Text = "Bendy"
  2134. tecks2.TextColor3 = Color3.new(1, 1, 1)
  2135. tecks2.TextStrokeColor3 = Color3.fromRGB(255, 255, 0)
  2136. for i, v in pairs(ArmourParts) do
  2137. v.BrickColor = BrickColor.new("Really black")
  2138. end
  2139. for i, v in pairs(ArmourParts2) do
  2140. v.BrickColor = BrickColor.new("Really black")
  2141. end
  2142. for i, v in pairs(NeonParts) do
  2143. v.BrickColor = BrickColor.new("Really black")
  2144. end
  2145. maincolor = BrickColor.new("Really black")
  2146. Music.SoundId = "rbxassetid://1548654001"
  2147. Music.Parent = tors
  2148. Music:Play()
  2149. elseif key == 'e' and EdgyMode == false and Divinity == true and Fighter == false and Purity == false and Destruction == false and helpme == false and Planetary == false then
  2150. Divinity = false
  2151. tecks2.Text = "Neutral"
  2152. tecks2.TextColor3 = Color3.new(0, 0, 0)
  2153. tecks2.TextStrokeColor3 = Color3.fromRGB(0, 0, 0)
  2154. resetmode()
  2155. Music.SoundId = "rbxassetid://414060051"
  2156. Music.Parent = tors
  2157. Music:Play()
  2158. elseif key == 'r' and EdgyMode == false and Divinity == false and Fighter == false and Purity == false and Destruction == false and helpme == false and Planetary == false then
  2159. Fighter = true
  2160. tecks2.Text = "Punch Out"
  2161. tecks2.TextColor3 = Color3.new(0, 0, 0)
  2162. tecks2.TextStrokeColor3 = Color3.fromRGB(255, 255, 255)
  2163. for i, v in pairs(ArmourParts) do
  2164. v.BrickColor = BrickColor.new("Black")
  2165. end
  2166. for i, v in pairs(ArmourParts2) do
  2167. v.BrickColor = BrickColor.new("Really black")
  2168. end
  2169. for i, v in pairs(NeonParts) do
  2170. v.BrickColor = BrickColor.new("Institutional white")
  2171. end
  2172. maincolor = BrickColor.new("Institutional white")
  2173. Music.SoundId = "rbxassetid://345486572"
  2174. Music.Parent = tors
  2175. Music:Play()
  2176. elseif key == 'r' and EdgyMode == false and Divinity == false and Fighter == true and Purity == false and Destruction == false and helpme == false and Planetary == false then
  2177. Fighter = false
  2178. tecks2.Text = "Neutral"
  2179. tecks2.TextColor3 = Color3.new(0, 0, 0)
  2180. tecks2.TextStrokeColor3 = Color3.fromRGB(0, 0, 0)
  2181. resetmode()
  2182. Music.SoundId = "rbxassetid://414060051"
  2183. Music.Parent = tors
  2184. Music:Play()
  2185. elseif key == 't' and EdgyMode == false and Divinity == false and Fighter == false and Purity == false and Destruction == false and helpme == false and Planetary == false then
  2186. Purity = true
  2187. tecks2.Text = "FROZEN"
  2188. tecks2.TextColor3 = Color3.new(1, 1, 1)
  2189. tecks2.TextStrokeColor3 = Color3.fromRGB(0, 255, 255)
  2190. for i, v in pairs(ArmourParts) do
  2191. v.BrickColor = BrickColor.new("Institutional white")
  2192. end
  2193. for i, v in pairs(ArmourParts2) do
  2194. v.BrickColor = BrickColor.new("Institutional white")
  2195. end
  2196. for i, v in pairs(NeonParts) do
  2197. v.BrickColor = BrickColor.new("Toothpaste")
  2198. end
  2199. maincolor = BrickColor.new("Toothpaste")
  2200. Music.SoundId = "rbxassetid://336300159"
  2201. Music.Parent = tors
  2202. Music:Play()
  2203. elseif key == 't' and EdgyMode == false and Divinity == false and Fighter == false and Purity == true and Destruction == false and helpme == false and Planetary == false then
  2204. Purity = false
  2205. tecks2.Text = "Neutral"
  2206. tecks2.TextColor3 = Color3.new(0, 0, 0)
  2207. tecks2.TextStrokeColor3 = Color3.fromRGB(0, 0, 0)
  2208. resetmode()
  2209. Music.SoundId = "rbxassetid://414060051"
  2210. Music.Parent = tors
  2211. Music:Play()
  2212. elseif key == 'y' and EdgyMode == false and Divinity == false and Fighter == false and Purity == false and Destruction == false and helpme == false and Planetary == false then
  2213. Destruction = true
  2214. tecks2.Text = "Angel"
  2215. tecks2.TextColor3 = Color3.new(0, 0, 0)
  2216. tecks2.TextStrokeColor3 = Color3.fromRGB(255, 0, 0)
  2217. for i, v in pairs(ArmourParts) do
  2218. v.BrickColor = BrickColor.new("Pearl")
  2219. end
  2220. for i, v in pairs(ArmourParts2) do
  2221. v.BrickColor = BrickColor.new("Pearl")
  2222. end
  2223. for i, v in pairs(NeonParts) do
  2224. v.BrickColor = BrickColor.new("Pearl")
  2225. end
  2226. maincolor = BrickColor.new("Pearl")
  2227. Music.SoundId = "rbxassetid://1046135187"
  2228. Music.Parent = tors
  2229. Music:Play()
  2230. elseif key == 'y' and EdgyMode == false and Divinity == false and Fighter == false and Purity == false and Destruction == true and helpme == false and Planetary == false then
  2231. Destruction = false
  2232. tecks2.Text = "Neutral"
  2233. tecks2.TextColor3 = Color3.new(0, 0, 0)
  2234. tecks2.TextStrokeColor3 = Color3.fromRGB(0, 0, 0)
  2235. resetmode()
  2236. Music.SoundId = "rbxassetid://414060051"
  2237. Music.Parent = tors
  2238. Music:Play()
  2239. elseif key == 'u' and EdgyMode == false and Divinity == false and Fighter == false and Purity == false and Destruction == false and helpme == false and Planetary == false then
  2240. helpme = true
  2241. tecks2.Text = "iNsAnItY"
  2242. Music.SoundId = "rbxassetid://460874877"
  2243. Music.Parent = tors
  2244. Music:Play()
  2245. elseif key == 'u' and EdgyMode == false and Divinity == false and Fighter == false and Purity == false and Destruction == false and helpme == true and Planetary == false then
  2246. helpme = false
  2247. tecks2.Text = "Neutral"
  2248. tecks2.TextColor3 = Color3.new(0, 0, 0)
  2249. tecks2.TextStrokeColor3 = Color3.fromRGB(0, 0, 0)
  2250. resetmode()
  2251. Music.SoundId = "rbxassetid://414060051"
  2252. Music.Parent = tors
  2253. Music:Play()
  2254. elseif key == 'n' and tecks2.TextTransparency == 1 and tecks2.TextStrokeTransparency == 1 then
  2255. tecks2.TextTransparency = 0
  2256. tecks2.TextStrokeTransparency = 0
  2257. elseif key == 'n' and tecks2.TextTransparency == 0 and tecks2.TextStrokeTransparency == 0 then
  2258. tecks2.TextTransparency = 1
  2259. tecks2.TextStrokeTransparency = 1
  2260. elseif key == 'f' and EdgyMode == false and Divinity == false and Fighter == false and Purity == false and Destruction == false and helpme == false and Planetary == false then
  2261. Planetary = true
  2262. tecks2.Text = "Planetary"
  2263. tecks2.TextColor3 = Color3.fromRGB(61, 21, 133)
  2264. tecks2.TextStrokeColor3 = Color3.fromRGB(61, 21, 133)
  2265. for i, v in pairs(ArmourParts) do
  2266. v.BrickColor = BrickColor.new("Dark indigo")
  2267. end
  2268. for i, v in pairs(ArmourParts2) do
  2269. v.BrickColor = BrickColor.new("Dark indigo")
  2270. end
  2271. for i, v in pairs(NeonParts) do
  2272. v.BrickColor = BrickColor.new("Dark indigo")
  2273. end
  2274. maincolor = BrickColor.new("Dark indigo")
  2275. Music.SoundId = "rbxassetid://609934004"
  2276. Music.Parent = tors
  2277. Music:Play()
  2278. elseif key == 'f' and EdgyMode == false and Divinity == false and Fighter == false and Purity == false and Destruction == false and helpme == false and Planetary == true then
  2279. Planetary = false
  2280. tecks2.Text = "Neutral"
  2281. tecks2.TextColor3 = Color3.new(0, 0, 0)
  2282. tecks2.TextStrokeColor3 = Color3.fromRGB(0, 0, 0)
  2283. resetmode()
  2284. Music.SoundId = "rbxassetid://414060051"
  2285. Music.Parent = tors
  2286. Music:Play()
  2287. end
  2288. end
  2289. end)
  2290. mouse.KeyDown:connect(function(key)
  2291. if attack == false then
  2292. if EdgyMode == true then
  2293. if key == 'r' then
  2294. Decapitate()
  2295. elseif key == 'e' then
  2296. Laugh()
  2297. end
  2298. end
  2299. if Divinity == true then
  2300. if key == 'r' then
  2301. Beam_Of_Light()
  2302. elseif key == 'f' then
  2303. Blast_Of_God()
  2304. end
  2305. end
  2306. if Fighter == true then
  2307. if key == 'e' then
  2308. Flying_Kick()
  2309. elseif key == 'f' then
  2310. UpperCut()
  2311. elseif key == 't' then
  2312. Spinning_Kick()
  2313. end
  2314. end
  2315. if Purity == true then
  2316. if key == 'r' then
  2317. Purity_Slam()
  2318. end
  2319. end
  2320. if Destruction == true then
  2321. if key == 'r' then
  2322. Diablo_Explosion()
  2323. elseif key == 'f' then
  2324. Hell_From_Above()
  2325. elseif key == 't' then
  2326. Spinning_Below()
  2327. end
  2328. end
  2329. if helpme == true then
  2330. if key == 'r' then
  2331. Painful_Stomp()
  2332. elseif key == 'f' then
  2333. Ending()
  2334. elseif key == 't' then
  2335. Ende_der_Weld()
  2336. end
  2337. end
  2338. end
  2339. end)
  2340.  
  2341.  
  2342.  
  2343.  
  2344.  
  2345.  
  2346. -------------------------------------------------------
  2347. --Start Animations--
  2348. -------------------------------------------------------
  2349. local equipped = false
  2350. local idle = 0
  2351. local change = 1
  2352. local val = 0
  2353. local toim = 0
  2354. local idleanim = 0.4
  2355. hum.WalkSpeed = 8
  2356. hum.Animator.Parent = nil
  2357. while true do
  2358. swait()
  2359. Music.Parent = char
  2360. if helpme == true then
  2361. for i, v in pairs(ArmourParts) do
  2362. v.BrickColor = BrickColor.random()
  2363. end
  2364. for i, v in pairs(ArmourParts2) do
  2365. v.BrickColor = BrickColor.random()
  2366. end
  2367. for i, v in pairs(NeonParts) do
  2368. v.BrickColor = BrickColor.random()
  2369. end
  2370. maincolor = BrickColor.random()
  2371. tecks2.TextColor3 = maincolor.Color
  2372. tecks2.TextStrokeColor3 = maincolor.Color
  2373. MagicShockTrailAlt2(maincolor, root.CFrame * CF(Mrandom(-15,15),-3,Mrandom(-15,15)) * angles(Rad(90 + Mrandom(-25, 25)),Rad(0),Rad(0)),1,.5,.5,-0.01,-0.01,7,0.1,Mrandom(1,2))
  2374. end
  2375. if Planetary == true then
  2376. MagicShockTrailAlt2(maincolor, root.CFrame * CF(Mrandom(-25,25),-3,Mrandom(-25,25)) * angles(Rad(90 + Mrandom(-15, 15)),Rad(0),Rad(0)),1,.5,.5,-0.01,-0.01,7,0.1,2)
  2377. end
  2378. sine = sine + change
  2379. local torvel = (root.Velocity * Vector3.new(1, 0, 1)).magnitude
  2380. local velderp = root.Velocity.y
  2381. hitfloor, posfloor = rayCast(root.Position, CFrame.new(root.Position, root.Position - Vector3.new(0, 1, 0)).lookVector, 4, char)
  2382. if equipped == true or equipped == false then
  2383. if attack == false then
  2384. idle = idle + 1
  2385. else
  2386. idle = 0
  2387. end
  2388. if 1 < root.Velocity.y and hitfloor == nil then
  2389. Anim = "Jump"
  2390. change = 1
  2391. if attack == false then
  2392. rootj.C0 = clerp(rootj.C0, RootCF * angles(math.min(math.max(root.Velocity.Y/100,-Rad(65)),Rad(65)),0,0),0.3)
  2393. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-10), Rad(0), Rad(0)), 0.3)
  2394. RW.C0 = clerp(RW.C0, CF(1.5, 0.5, 0) * angles(math.min(math.max(root.Velocity.Y/100,-Rad(65)),Rad(65)),0,Rad(15)),0.3)
  2395. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5, 0) * angles(math.min(math.max(root.Velocity.Y/100,-Rad(65)),Rad(65)),0,Rad(-15)),0.3)
  2396. LH.C0=clerp(LH.C0, CF(-1,-.4-0.1 * Cos(sine / 20), -.6) * LHCF * angles(Rad(-5), Rad(-0), Rad(20)), 0.15)
  2397. RH.C0=clerp(RH.C0, CF(1,-1-0.1 * Cos(sine / 20), -.3) * angles(Rad(0), Rad(90), Rad(0)), .3)
  2398. end
  2399. elseif -1 > root.Velocity.y and hitfloor == nil then
  2400. Anim = "Fall"
  2401. change = 1
  2402. if attack == false then
  2403. rootj.C0 = clerp(rootj.C0, RootCF * angles(math.min(math.max(root.Velocity.Y/100,-Rad(65)),Rad(65)),0,0),0.3)
  2404. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(10), Rad(0), Rad(0)), 0.3)
  2405. RW.C0 = clerp(RW.C0, CF(1.5, 0.5, 0) * angles(math.min(math.max(root.Velocity.Y/100,-Rad(65)),Rad(65)),0,Rad(90)),0.3)
  2406. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5, 0) * angles(math.min(math.max(root.Velocity.Y/100,-Rad(65)),Rad(65)),0,Rad(-90)),0.3)
  2407. LH.C0 = clerp(LH.C0, CF(-1,-.4-0.1 * Cos(sine / 20), -.6) * LHCF * angles(Rad(-5), Rad(-0), Rad(20)), 0.15)
  2408. RH.C0 = clerp(RH.C0, CF(1,-1-0.1 * Cos(sine / 20), -.3) * angles(Rad(0), Rad(90), Rad(0)), .3)
  2409. end
  2410. elseif torvel < 1 and hitfloor ~= nil then
  2411. Anim = "Idle"
  2412. change = 1
  2413. if attack == false and EdgyMode == false and Divinity == false and Fighter == false and Purity == false and Destruction == false and helpme == false and Planetary == false then
  2414. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(0)), 0.15)
  2415. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3)
  2416. RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-4.5), Rad(0), Rad(0)), 0.15)
  2417. LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-6.5), Rad(0), Rad(0)), 0.15)
  2418. RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(-10 * Cos(sine / 20)), Rad(5 - 2.5 * Sin(sine / 20))), 0.1)
  2419. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(10 * Cos(sine / 20)), Rad(-5 + 2.5 * Sin(sine / 20))), 0.1)
  2420. elseif attack == false and EdgyMode == true and Divinity == false and Fighter == false and Purity == false and Destruction == false and helpme == false and Planetary == false then
  2421. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(10), Rad(0), Rad(0)), 0.15)
  2422. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(30 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3)
  2423. if Mrandom(1,15) == 1 then
  2424. tors.Neck.C0 = clerp(tors.Neck.C0, necko * CF(0, 0, 0 + ((1) - 1)) * angles(Rad(Mrandom(-15,15)), Rad(Mrandom(-15,15)), Rad(Mrandom(-15,15))), 1)
  2425. end
  2426. RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-4.5), Rad(0), Rad(10)), 0.15)
  2427. LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), -.2 + 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-6.5), Rad(0), Rad(-10)), 0.15)
  2428. RW.C0 = clerp(RW.C0, CF(.8, 0.5 + 0.05 * Sin(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(-20), Rad(215)), 0.1)
  2429. LW.C0 = clerp(LW.C0, CF(-.8, 0.5 + 0.05 * Sin(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(20), Rad(-215)), 0.1)
  2430. elseif attack == false and EdgyMode == false and Divinity == true and Fighter == false and Purity == false and Destruction == false and helpme == false and Planetary == false then
  2431. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, 1.2 + 0.3 * Cos(sine / 20)) * angles(Rad(5), Rad(0), Rad(10)), 0.15)
  2432. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-4.5 * Sin(sine / 30)), Rad(0), Rad(-10)), 0.3)
  2433. RH.C0 = clerp(RH.C0, CF(1, -0.4 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5 + 3 * Sin(sine / 20)), Rad(0), Rad(-20 + 2.5 * Sin(sine / 20))), 0.15)
  2434. LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5 + 3 * Sin(sine / 20)), Rad(0), Rad(0 + 2.5 * Sin(sine / 20))), 0.15)
  2435. RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(-3 * Sin(sine / 20)), Rad(-10 * Sin(sine / 20)), Rad(13 - 2.5 * Sin(sine / 20))), 0.1)
  2436. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(4 * Sin(sine / 20)), Rad(10 * Sin(sine / 20)), Rad(-13 + 2.5 * Sin(sine / 20))), 0.1)
  2437. elseif attack == false and EdgyMode == false and Divinity == false and Fighter == true and Purity == false and Destruction == false and helpme == false and Planetary == false then
  2438. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.4 + 0.1 * Cos(sine / 20)) * angles(Rad(10), Rad(0), Rad(85)), 0.15)
  2439. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-7.5 * Sin(sine / 20)), Rad(0), Rad(-85)), 0.3)
  2440. RH.C0 = clerp(RH.C0, CF(.6, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-70), Rad(0), Rad(0)), 0.15)
  2441. LH.C0 = clerp(LH.C0, CF(-1, -0.7 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-16.5), Rad(0), Rad(0)), 0.15)
  2442. RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(90 + 2.5 * Sin(sine / 20))), 0.1)
  2443. LW.C0 = clerp(LW.C0, CF(-1, 0.3 + 0.05 * Sin(sine / 20), .4 + 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(10 * Cos(sine / 20)), Rad(35 + 2.5 * Sin(sine / 20))), 0.1)
  2444. elseif attack == false and EdgyMode == false and Divinity == false and Fighter == false and Purity == true and Destruction == false and helpme == false and Planetary == false then
  2445. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(10)), 0.15)
  2446. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(20 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3)
  2447. RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-4.5), Rad(0), Rad(-10)), 0.15)
  2448. LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-6.5), Rad(5 * Cos(sine / 20)), Rad(6)), 0.15)
  2449. RW.C0 = clerp(RW.C0, CF(.8, 0.5 + 0.05 * Sin(sine / 20), -.6 + 0.025 * Cos(sine / 20)) * angles(Rad(21), Rad(11), Rad(-90 - 2.5 * Sin(sine / 20))), 0.1)
  2450. LW.C0 = clerp(LW.C0, CF(-.8, 0.3 + 0.05 * Sin(sine / 20), -.6 + 0.025 * Cos(sine / 20)) * angles(Rad(8), Rad(5), Rad(90 + 2.5 * Sin(sine / 20))), 0.1)
  2451. elseif attack == false and EdgyMode == false and Divinity == false and Fighter == false and Purity == false and Destruction == true and helpme == false and Planetary == false then
  2452. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, 1.3 + 0.6 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(25)), 0.15)
  2453. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(20 - 2.5 * Sin(sine / 20)), Rad(20), Rad(-15)), 0.3)
  2454. RH.C0 = clerp(RH.C0, CF(1, -0.5 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-4.5 + 3 * Sin(sine / 20)), Rad(0), Rad(10 + 3 * Sin(sine / 20))), 0.15)
  2455. LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-6.5 + 3 * Sin(sine / 20)), Rad(0), Rad(-10 + 3 * Sin(sine / 20))), 0.15)
  2456. RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(-10 * Cos(sine / 20)), Rad(65 - 2.5 * Sin(sine / 20))), 0.1)
  2457. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(10 * Cos(sine / 20)), Rad(-15 + 2.5 * Sin(sine / 20))), 0.1)
  2458. elseif attack == false and EdgyMode == false and Divinity == false and Fighter == false and Purity == false and Destruction == false and helpme == true and Planetary == false then
  2459. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.2 + 0.1 * Cos(sine / 7)) * angles(Rad(10), Rad(0), Rad(0)), 0.15)
  2460. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(45), Rad(0), Rad(-20)), 0.3)
  2461. if math.random(1,1) == 1 then
  2462. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 7)) * angles(Rad(10 + Mrandom(-6,6)), Rad(0), Rad(Mrandom(-6,6))), 0.15)
  2463. tors.Neck.C0 = clerp(tors.Neck.C0, necko * CF(0, 0, 0 + ((1) - 1)) * angles(Rad(45 + Mrandom(-4,4)), Rad(Mrandom(-4,4)), Rad(-20 + Mrandom(-4,4))), 1)
  2464. RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 7), 0.025 * Cos(sine / 7)) * angles(Rad(180 + Mrandom(-35,35)), Rad(35 + Mrandom(-35,35)), Rad(-50 - 2.5 * Sin(sine / 20) + Mrandom(-35,35))), 0.1)
  2465. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 7), 0.025 * Cos(sine / 7)) * angles(Rad(15 + Mrandom(-35,35)), Rad(Mrandom(-35,35)), Rad(-15 + 2.5 * Sin(sine / 20) + Mrandom(-35,35))), 0.1)
  2466. RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 7), -.2 + 0.025 * Cos(sine / 7)) * RHCF * angles(Rad(-5 + Mrandom(-6,6)), Rad(0), Rad(10 + Mrandom(-6,6))), 0.15)
  2467. LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 7), 0.025 * Cos(sine / 7)) * LHCF * angles(Rad(-5 + Mrandom(-6,6)), Rad(0), Rad(-10 + Mrandom(-6,6))), 0.15)
  2468. end
  2469. for i, v in pairs(ArmourParts) do
  2470. v.BrickColor = BrickColor.random()
  2471. end
  2472. for i, v in pairs(ArmourParts2) do
  2473. v.BrickColor = BrickColor.random()
  2474. end
  2475. for i, v in pairs(NeonParts) do
  2476. v.BrickColor = BrickColor.random()
  2477. end
  2478. maincolor = BrickColor.random()
  2479. tecks2.TextColor3 = maincolor.Color
  2480. tecks2.TextStrokeColor3 = maincolor.Color
  2481. RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 7), -.2 + 0.025 * Cos(sine / 7)) * RHCF * angles(Rad(-5), Rad(0), Rad(10)), 0.15)
  2482. LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 7), 0.025 * Cos(sine / 7)) * LHCF * angles(Rad(-5), Rad(0), Rad(-10)), 0.15)
  2483. RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(180), Rad(20), Rad(-50)), 0.1)
  2484. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(25), Rad(0), Rad(-15)), 0.1)
  2485. elseif attack == false and EdgyMode == false and Divinity == false and Fighter == false and Purity == false and Destruction == false and helpme == false and Planetary == true then
  2486. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, 2 + 0.3 * Cos(sine / 20)) * angles(Rad(5), Rad(0), Rad(10)), 0.15)
  2487. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(20 - 4.5 * Sin(sine / 30)), Rad(0), Rad(-10)), 0.3)
  2488. RH.C0 = clerp(RH.C0, CF(1, -0.4 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5 + 3 * Sin(sine / 20)), Rad(0), Rad(-20 + 2.5 * Sin(sine / 20))), 0.15)
  2489. LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5 + 3 * Sin(sine / 20)), Rad(0), Rad(20 + 2.5 * Sin(sine / 20))), 0.15)
  2490. RW.C0 = clerp(RW.C0, CF(.8, 0.5 + 0.05 * Sin(sine / 20), -.6 + 0.025 * Cos(sine / 20)) * angles(Rad(-21), Rad(0), Rad(-90 - 2.5 * Sin(sine / 20))), 0.1)
  2491. LW.C0 = clerp(LW.C0, CF(-.8, 0.3 + 0.05 * Sin(sine / 20), -.6 + 0.025 * Cos(sine / 20)) * angles(Rad(8), Rad(0), Rad(90 + 2.5 * Sin(sine / 20))), 0.1)
  2492. end
  2493. elseif torvel > 2 and torvel < 25 and hitfloor ~= nil then
  2494. Anim = "Walk"
  2495. change = .6
  2496. if attack == false and EdgyMode == false and Divinity == false and Destruction == false and helpme == false and Planetary == false then
  2497. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.175 + 0.025 * Cos(sine / 3.5) + -Sin(sine / 3.5) / 7) * angles(Rad(4-2.5 * Cos(sine / 3.5)), Rad(0) - root.RotVelocity.Y / 75, Rad(5 * Cos(sine / 7))), 0.15)
  2498. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-2.5 * Sin(sine / 20)), Rad(0), Rad(0) - hed.RotVelocity.Y / 15), 0.3)
  2499. RH.C0 = clerp(RH.C0, CF(1, -0.925 - 0.5 * Cos(sine / 7) / 2, 0.5 * Cos(sine / 7) / 2) * angles(Rad(-15 - 5 * Cos(sine / 7)) - rl.RotVelocity.Y / 75 + -Sin(sine / 7) / 2.5, Rad(90 - 0.1 * Cos(sine / 7)), Rad(0)) * angles(Rad(0 + 0.1 * Cos(sine / 7)), Rad(0), Rad(0)), 0.3)
  2500. LH.C0 = clerp(LH.C0, CF(-1, -0.925 + 0.5 * Cos(sine / 7) / 2, -0.5 * Cos(sine / 7) / 2) * angles(Rad(-15 + 5 * Cos(sine / 7)) + ll.RotVelocity.Y / 75 + Sin(sine / 7) / 2.5, Rad(-90 - 0.1 * Cos(sine / 7)), Rad(0)) * angles(Rad(0 - 0.1 * Cos(sine / 7)), Rad(0), Rad(0)), 0.3)
  2501. RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 7), 0.15 * Cos(sine / 7)) * angles(Rad(45) * Cos(sine / 7) , Rad(0), Rad(5) - ra.RotVelocity.Y / 75), 0.1)
  2502. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 7), -0.15 * Cos(sine / 7)) * angles(Rad(-45) * Cos(sine / 7) , Rad(0) , Rad(-5) + la.RotVelocity.Y / 75), 0.1)
  2503. elseif attack == false and EdgyMode == false and Divinity == true and Destruction == false and helpme == false and Planetary == false then
  2504. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, 1.2 + 0.3 * Cos(sine / 20)) * angles(Rad(25), Rad(0), Rad(0)), 0.15)
  2505. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-5 - 4.5 * Sin(sine / 30)), Rad(0), Rad(0)), 0.3)
  2506. RH.C0 = clerp(RH.C0, CF(1, -0.4 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5 + 3 * Sin(sine / 20)), Rad(0), Rad(-20 + 2.5 * Sin(sine / 20))), 0.15)
  2507. LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5 + 3 * Sin(sine / 20)), Rad(0), Rad(20 + 2.5 * Sin(sine / 20))), 0.15)
  2508. RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(-25 - 3 * Sin(sine / 20)), Rad(-10 * Sin(sine / 20)), Rad(14 - 2.5 * Sin(sine / 20))), 0.1)
  2509. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(-25 + 4 * Sin(sine / 20)), Rad(10 * Sin(sine / 20)), Rad(-14 + 2.5 * Sin(sine / 20))), 0.1)
  2510. elseif attack == false and EdgyMode == false and Divinity == false and Destruction == true and helpme == false and Planetary == false then
  2511. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, 1.3 + 0.6 * Cos(sine / 20)) * angles(Rad(30), Rad(0), Rad(0)), 0.15)
  2512. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3)
  2513. RH.C0 = clerp(RH.C0, CF(1, -0.5 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-4.5 + 3 * Sin(sine / 20)), Rad(0), Rad(-10 + 3 * Sin(sine / 20))), 0.15)
  2514. LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-6.5 + 3 * Sin(sine / 20)), Rad(0), Rad(10 + 3 * Sin(sine / 20))), 0.15)
  2515. RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(-17), Rad(-10 * Cos(sine / 20)), Rad(15 - 2.5 * Sin(sine / 20))), 0.1)
  2516. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(-17), Rad(10 * Cos(sine / 20)), Rad(-15 + 2.5 * Sin(sine / 20))), 0.1)
  2517. elseif attack == false and EdgyMode == false and Divinity == false and Destruction == false and helpme == true and Planetary == false then
  2518. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.2 + 0.1 * Cos(sine / 7)) * angles(Rad(10), Rad(0), Rad(0)), 0.15)
  2519. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(45), Rad(0), Rad(-20)), 0.3)
  2520. if math.random(1,1) == 1 then
  2521. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 7)) * angles(Rad(10 + Mrandom(-6,6)), Rad(0), Rad(Mrandom(-6,6))), 0.15)
  2522. tors.Neck.C0 = clerp(tors.Neck.C0, necko * CF(0, 0, 0 + ((1) - 1)) * angles(Rad(45 + Mrandom(-4,4)), Rad(Mrandom(-4,4)), Rad(-20 + Mrandom(-4,4))), 1)
  2523. RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 7), 0.025 * Cos(sine / 7)) * angles(Rad(180 + Mrandom(-35,35)), Rad(35 + Mrandom(-35,35)), Rad(-50 - 2.5 * Sin(sine / 20) + Mrandom(-35,35))), 0.1)
  2524. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 7), 0.025 * Cos(sine / 7)) * angles(Rad(15 + Mrandom(-35,35)), Rad(Mrandom(-35,35)), Rad(-15 + 2.5 * Sin(sine / 20) + Mrandom(-35,35))), 0.1)
  2525. RH.C0 = clerp(RH.C0, CF(1, -0.925 - 0.5 * Cos(sine / 7) / 2, 0.5 * Cos(sine / 7) / 2) * angles(Rad(-15 - 5 * Cos(sine / 7)) - rl.RotVelocity.Y / 75 + -Sin(sine / 7) / 2.5, Rad(90 - 0.1 * Cos(sine / 7)), Rad(0)) * angles(Rad(0 + 0.1 * Cos(sine / 7)), Rad(0), Rad(0)), 0.3)
  2526. LH.C0 = clerp(LH.C0, CF(-1, -0.925 + 0.5 * Cos(sine / 7) / 2, -0.5 * Cos(sine / 7) / 2) * angles(Rad(-15 + 5 * Cos(sine / 7)) + ll.RotVelocity.Y / 75 + Sin(sine / 7) / 2.5, Rad(-90 - 0.1 * Cos(sine / 7)), Rad(0)) * angles(Rad(0 - 0.1 * Cos(sine / 7)), Rad(0), Rad(0)), 0.3)
  2527. end
  2528. for i, v in pairs(ArmourParts) do
  2529. v.BrickColor = BrickColor.random()
  2530. end
  2531. for i, v in pairs(ArmourParts2) do
  2532. v.BrickColor = BrickColor.random()
  2533. end
  2534. for i, v in pairs(NeonParts) do
  2535. v.BrickColor = BrickColor.random()
  2536. end
  2537. maincolor = BrickColor.random()
  2538. tecks2.TextColor3 = maincolor.Color
  2539. tecks2.TextStrokeColor3 = maincolor.Color
  2540. RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 7), -.2 + 0.025 * Cos(sine / 7)) * RHCF * angles(Rad(-5), Rad(0), Rad(10)), 0.15)
  2541. LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 7), 0.025 * Cos(sine / 7)) * LHCF * angles(Rad(-5), Rad(0), Rad(-10)), 0.15)
  2542. RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(180), Rad(20), Rad(-50)), 0.1)
  2543. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(25), Rad(0), Rad(-15)), 0.1)
  2544. elseif attack == false and EdgyMode == true and Divinity == false and Destruction == false and helpme == false and Planetary == false then
  2545. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.175 + 0.025 * Cos(sine / 3.5) + -Sin(sine / 3.5) / 7) * angles(Rad(4-2.5 * Cos(sine / 3.5)), Rad(0) - root.RotVelocity.Y / 75, Rad(5 * Cos(sine / 7))), 0.15)
  2546. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(30 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3)
  2547. if Mrandom(1,15) == 1 then
  2548. tors.Neck.C0 = clerp(tors.Neck.C0, necko * CF(0, 0, 0 + ((1) - 1)) * angles(Rad(Mrandom(-15,15)), Rad(Mrandom(-15,15)), Rad(Mrandom(-15,15))), 1)
  2549. end
  2550. RH.C0 = clerp(RH.C0, CF(1, -0.925 - 0.5 * Cos(sine / 7) / 2, 0.5 * Cos(sine / 7) / 2) * angles(Rad(-15 - 5 * Cos(sine / 7)) - rl.RotVelocity.Y / 75 + -Sin(sine / 7) / 2.5, Rad(90 - 0.1 * Cos(sine / 7)), Rad(0)) * angles(Rad(0 + 0.1 * Cos(sine / 7)), Rad(0), Rad(0)), 0.3)
  2551. LH.C0 = clerp(LH.C0, CF(-1, -0.925 + 0.5 * Cos(sine / 7) / 2, -0.5 * Cos(sine / 7) / 2) * angles(Rad(-15 + 5 * Cos(sine / 7)) + ll.RotVelocity.Y / 75 + Sin(sine / 7) / 2.5, Rad(-90 - 0.1 * Cos(sine / 7)), Rad(0)) * angles(Rad(0 - 0.1 * Cos(sine / 7)), Rad(0), Rad(0)), 0.3)
  2552. RW.C0 = clerp(RW.C0, CF(.8, 0.5 + 0.05 * Sin(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(-20), Rad(215)), 0.1)
  2553. LW.C0 = clerp(LW.C0, CF(-.8, 0.5 + 0.05 * Sin(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(20), Rad(-215)), 0.1)
  2554. elseif attack == false and EdgyMode == false and Divinity == false and Destruction == false and helpme == false and Planetary == true then
  2555. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, 2 + 0.3 * Cos(sine / 20)) * angles(Rad(35), Rad(0), Rad(0)), 0.15)
  2556. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-20 - 4.5 * Sin(sine / 30)), Rad(0), Rad(0)), 0.3)
  2557. RH.C0 = clerp(RH.C0, CF(1, -0.4 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5 + 3 * Sin(sine / 20)), Rad(0), Rad(-20 + 2.5 * Sin(sine / 20))), 0.15)
  2558. LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5 + 3 * Sin(sine / 20)), Rad(0), Rad(20 + 2.5 * Sin(sine / 20))), 0.15)
  2559. RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(-21), Rad(0), Rad(25 - 2.5 * Sin(sine / 20))), 0.1)
  2560. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(-21), Rad(0), Rad(-25 + 2.5 * Sin(sine / 20))), 0.1)
  2561. end
  2562. elseif torvel >= 25 and hitfloor ~= nil then
  2563. Anim = "Sprint"
  2564. change = 1.35
  2565. if attack == false and Divinity == false and Destruction == false and helpme == false and Planetary == false then
  2566. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.175 + 0.025 * Cos(sine / 3.5) + -Sin(sine / 3.5) / 7) * angles(Rad(26 - 4.5 * Cos(sine / 3.5)), Rad(0) - root.RotVelocity.Y / 75, Rad(15 * Cos(sine / 7))), 0.15)
  2567. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-2.5 * Sin(sine / 20)), Rad(0), Rad(0) - hed.RotVelocity.Y / 15), 0.3)
  2568. RH.C0 = clerp(RH.C0, CF(1, -0.925 - 0.5 * Cos(sine / 7) / 2, 0.7 * Cos(sine / 7) / 2) * angles(Rad(-15 - 35 * Cos(sine / 7)) - rl.RotVelocity.Y / 75 + -Sin(sine / 7) / 2.5, Rad(90 - 0.1 * Cos(sine / 7)), Rad(0)) * angles(Rad(0 + 0.1 * Cos(sine / 7)), Rad(0), Rad(0)), 0.3)
  2569. LH.C0 = clerp(LH.C0, CF(-1, -0.925 + 0.5 * Cos(sine / 7) / 2, -0.7 * Cos(sine / 7) / 2) * angles(Rad(-15 + 35 * Cos(sine / 7)) + ll.RotVelocity.Y / 75 + Sin(sine / 7) / 2.5, Rad(-90 - 0.1 * Cos(sine / 7)), Rad(0)) * angles(Rad(0 - 0.1 * Cos(sine / 7)), Rad(0), Rad(0)), 0.3)
  2570. RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.34 * Cos(sine / 7)) * angles(Rad(110) * Cos(sine / 7) , Rad(0), Rad(13) - ra.RotVelocity.Y / 75), 0.15)
  2571. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), -0.34 * Cos(sine / 7)) * angles(Rad(-110) * Cos(sine / 7) , Rad(0) , Rad(-13) + la.RotVelocity.Y / 75), 0.15)
  2572. elseif attack == false and EdgyMode == false and Divinity == true and Destruction == false and helpme == false and Planetary == false then
  2573. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, 1.2 + 0.3 * Cos(sine / 20)) * angles(Rad(45), Rad(0), Rad(0)), 0.15)
  2574. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-5 - 4.5 * Sin(sine / 30)), Rad(0), Rad(0)), 0.3)
  2575. RH.C0 = clerp(RH.C0, CF(1, -0.4 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5 + 3 * Sin(sine / 20)), Rad(0), Rad(-34 + 2.5 * Sin(sine / 20))), 0.15)
  2576. LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5 + 3 * Sin(sine / 20)), Rad(0), Rad(34 + 2.5 * Sin(sine / 20))), 0.15)
  2577. RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(-55 - 3 * Sin(sine / 20)), Rad(-10 * Sin(sine / 20)), Rad(14 - 2.5 * Sin(sine / 20))), 0.1)
  2578. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(-55 + 4 * Sin(sine / 20)), Rad(10 * Sin(sine / 20)), Rad(-14 + 2.5 * Sin(sine / 20))), 0.1)
  2579. elseif attack == false and EdgyMode == false and Divinity == false and Destruction == true and helpme == false and Planetary == false then
  2580. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, 1.3 + 0.6 * Cos(sine / 20)) * angles(Rad(65), Rad(0), Rad(0)), 0.15)
  2581. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-25 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3)
  2582. RH.C0 = clerp(RH.C0, CF(1, -0.5 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-14.5 + 3 * Sin(sine / 20)), Rad(0), Rad(-35 + 3 * Sin(sine / 20))), 0.15)
  2583. LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-16.5 + 3 * Sin(sine / 20)), Rad(0), Rad(35 + 3 * Sin(sine / 20))), 0.15)
  2584. RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(-35), Rad(-10 * Cos(sine / 20)), Rad(25 - 2.5 * Sin(sine / 20))), 0.1)
  2585. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(-35), Rad(10 * Cos(sine / 20)), Rad(-25 + 2.5 * Sin(sine / 20))), 0.1)
  2586. elseif attack == false and EdgyMode == false and Divinity == false and Destruction == false and helpme == true and Planetary == false then
  2587. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(10)), 0.15)
  2588. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(25), Rad(0), Rad(0)), 0.3)
  2589. if math.random(1,1) == 1 then
  2590. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(Mrandom(-90,90)), Rad(0), Rad(Mrandom(-90,90))), 0.15)
  2591. tors.Neck.C0 = clerp(tors.Neck.C0, necko * CF(0, 0, 0 + ((1) - 1)) * angles(Rad(Mrandom(-25,25)), Rad(Mrandom(-25,25)), Rad(Mrandom(-25,25))), 1)
  2592. RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(Mrandom(-90,90)), Rad(0), Rad(Mrandom(-90,90))), 0.1)
  2593. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(Mrandom(-90,90)), Rad(0), Rad(Mrandom(-90,90))), 0.1)
  2594. RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(Mrandom(-90,90)), Rad(0), Rad(Mrandom(-90,90))), 0.15)
  2595. LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(Mrandom(-90,90)), Rad(0), Rad(Mrandom(-90,90))), 0.15)
  2596. end
  2597. for i, v in pairs(ArmourParts) do
  2598. v.BrickColor = BrickColor.random()
  2599. end
  2600. for i, v in pairs(ArmourParts2) do
  2601. v.BrickColor = BrickColor.random()
  2602. end
  2603. for i, v in pairs(NeonParts) do
  2604. v.BrickColor = BrickColor.random()
  2605. end
  2606. maincolor = BrickColor.random()
  2607. tecks2.TextColor3 = maincolor.Color
  2608. tecks2.TextStrokeColor3 = maincolor.Color
  2609. RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-5), Rad(0), Rad(10)), 0.15)
  2610. LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-5), Rad(0), Rad(16)), 0.15)
  2611. RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(10), Rad(10), Rad(15)), 0.1)
  2612. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(-10), Rad(0), Rad(-15)), 0.1)
  2613. elseif attack == false and EdgyMode == false and Divinity == false and Destruction == false and helpme == false and Planetary == true then
  2614. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, 2 + 0.3 * Cos(sine / 20)) * angles(Rad(75), Rad(0), Rad(10)), 0.15)
  2615. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-40 - 4.5 * Sin(sine / 30)), Rad(0), Rad(-10)), 0.3)
  2616. RH.C0 = clerp(RH.C0, CF(1, -0.4 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5 + 3 * Sin(sine / 20)), Rad(0), Rad(-20 + 2.5 * Sin(sine / 20))), 0.15)
  2617. LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5 + 3 * Sin(sine / 20)), Rad(0), Rad(20 + 2.5 * Sin(sine / 20))), 0.15)
  2618. RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(-21), Rad(0), Rad(-15 - 2.5 * Sin(sine / 20))), 0.1)
  2619. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(-21), Rad(0), Rad(-35 + 2.5 * Sin(sine / 20))), 0.1)
  2620. end
  2621. end
  2622. end
  2623. if 0 < #Effects then
  2624. for e = 1, #Effects do
  2625. if Effects[e] ~= nil then
  2626. local Thing = Effects[e]
  2627. if Thing ~= nil then
  2628. local Part = Thing[1]
  2629. local Mode = Thing[2]
  2630. local Delay = Thing[3]
  2631. local IncX = Thing[4]
  2632. local IncY = Thing[5]
  2633. local IncZ = Thing[6]
  2634. if 1 >= Thing[1].Transparency then
  2635. if Thing[2] == "Block1" then
  2636. Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  2637. local Mesh = Thing[1].Mesh
  2638. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  2639. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2640. elseif Thing[2] == "Block2" then
  2641. Thing[1].CFrame = Thing[1].CFrame + Vector3.new(0, 0, 0)
  2642. local Mesh = Thing[7]
  2643. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  2644. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2645. elseif Thing[2] == "Block3" then
  2646. Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)) + Vector3.new(0, 0.15, 0)
  2647. local Mesh = Thing[7]
  2648. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  2649. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2650. elseif Thing[2] == "Cylinder" then
  2651. local Mesh = Thing[1].Mesh
  2652. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  2653. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2654. elseif Thing[2] == "Blood" then
  2655. local Mesh = Thing[7]
  2656. Thing[1].CFrame = Thing[1].CFrame * Vector3.new(0, 0.5, 0)
  2657. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  2658. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2659. elseif Thing[2] == "Elec" then
  2660. local Mesh = Thing[1].Mesh
  2661. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[7], Thing[8], Thing[9])
  2662. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2663. elseif Thing[2] == "Disappear" then
  2664. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2665. elseif Thing[2] == "Shatter" then
  2666. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2667. Thing[4] = Thing[4] * CFrame.new(0, Thing[7], 0)
  2668. Thing[1].CFrame = Thing[4] * CFrame.fromEulerAnglesXYZ(Thing[6], 0, 0)
  2669. Thing[6] = Thing[6] + Thing[5]
  2670. end
  2671. else
  2672. Part.Parent = nil
  2673. table.remove(Effects, e)
  2674. end
  2675. end
  2676. end
  2677. end
  2678. end
  2679. end
  2680. -------------------------------------------------------
  2681. --End Animations And Script--
  2682. -------------------------------------------------------
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement