Advertisement
DarkScriptZEditors

What another one

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