mememasterYT

FE WAO EDIT

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