Advertisement
Fullgamer309

e

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