Advertisement
Leodu41

ssttaarr

Aug 23rd, 2019
268
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 215.41 KB | None | 0 0
  1. --//====================================================\\--
  2. --|| CRETERISK GLITCHER
  3. --|| EDIT BY ITZPARTAPIKA
  4. --\\====================================================//--
  5.  
  6. local Player = game.Players:FindFirstChild(script.Parent.Parent.Name)
  7. local LocalScript = script.LocalScript:Clone();
  8. LocalScript.Parent = Player.Character;
  9. script.LocalScript:Destroy()
  10. local Mouse,mouse,UserInputService,ContextActionService
  11. do
  12. local GUID = {}
  13. do
  14. GUID.IDs = {};
  15. function GUID:new(len)
  16. local id;
  17. if(not len)then
  18. id = (tostring(function() end))
  19. id = id:gsub("function: ","")
  20. else
  21. local function genID(len)
  22. local newID = ""
  23. for i = 1,len do
  24. newID = newID..string.char(math.random(48,90))
  25. end
  26. return newID
  27. end
  28. repeat id = genID(len) until not GUID.IDs[id]
  29. local oid = id;
  30. id = {Trash=function() GUID.IDs[oid]=nil; end;Get=function() return oid; end}
  31. GUID.IDs[oid]=true;
  32. end
  33. return id
  34. end
  35. end
  36.  
  37. local AHB = Instance.new("BindableEvent")
  38.  
  39. local FPS = 30
  40.  
  41. local TimeFrame = 0
  42.  
  43. local LastFrame = tick()
  44. local Frame = 1/FPS
  45.  
  46. game:service'RunService'.Heartbeat:connect(function(s,p)
  47. TimeFrame = TimeFrame + s
  48. if(TimeFrame >= Frame)then
  49. for i = 1,math.floor(TimeFrame/Frame) do
  50. AHB:Fire()
  51. end
  52. LastFrame=tick()
  53. TimeFrame=TimeFrame-Frame*math.floor(TimeFrame/Frame)
  54. end
  55. end)
  56.  
  57.  
  58. function swait(dur)
  59. if(dur == 0 or typeof(dur) ~= 'number')then
  60. AHB.Event:wait()
  61. else
  62. for i = 1, dur*FPS do
  63. AHB.Event:wait()
  64. end
  65. end
  66. end
  67.  
  68. local loudnesses={}
  69. script.Parent = Player.Character
  70. local CoAS = {Actions={}}
  71. local Event = Instance.new("RemoteEvent")
  72. Event.Name = "UserInputEvent"
  73. Event.Parent = Player.Character
  74. local Func = Instance.new("RemoteFunction")
  75. Func.Name = "GetClientProperty"
  76. Func.Parent = Player.Character
  77. local fakeEvent = function()
  78. local t = {_fakeEvent=true,Waited={}}
  79. t.Connect = function(self,f)
  80. local ft={Disconnected=false;disconnect=function(s) s.Disconnected=true end}
  81. ft.Disconnect=ft.disconnect
  82.  
  83. ft.Func=function(...)
  84. for id,_ in next, t.Waited do
  85. t.Waited[id] = true
  86. end
  87. return f(...)
  88. end;
  89. self.Function=ft;
  90. return ft;
  91. end
  92. t.connect = t.Connect
  93. t.Wait = function()
  94. local guid = GUID:new(25)
  95. local waitingId = guid:Get()
  96. t.Waited[waitingId]=false
  97. repeat swait() until t.Waited[waitingId]==true
  98. t.Waited[waitingId]=nil;
  99. guid:Trash()
  100. end
  101. t.wait = t.Wait
  102. return t
  103. end
  104. local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()}
  105. local UsIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
  106.  
  107. function CoAS:BindAction(name,fun,touch,...)
  108. CoAS.Actions[name] = {Name=name,Function=fun,Keys={...}}
  109. end
  110. function CoAS:UnbindAction(name)
  111. CoAS.Actions[name] = nil
  112. end
  113. local function te(self,ev,...)
  114. local t = self[ev]
  115. if t and t._fakeEvent and t.Function and t.Function.Func and not t.Function.Disconnected then
  116. t.Function.Func(...)
  117. elseif t and t._fakeEvent and t.Function and t.Function.Func and t.Function.Disconnected then
  118. self[ev].Function=nil
  119. end
  120. end
  121. m.TrigEvent = te
  122. UsIS.TrigEvent = te
  123. Event.OnServerEvent:Connect(function(plr,io)
  124. if plr~=Player then return end
  125. if io.Mouse then
  126. m.Target = io.Target
  127. m.Hit = io.Hit
  128. elseif io.KeyEvent then
  129. print('Key'..io.KeyEvent,io.Key)
  130. m:TrigEvent('Key'..io.KeyEvent,io.Key)
  131. elseif io.UserInputType == Enum.UserInputType.MouseButton1 then
  132. if io.UserInputState == Enum.UserInputState.Begin then
  133. print'down'
  134. m:TrigEvent("Button1Down")
  135. else
  136. print'up'
  137. m:TrigEvent("Button1Up")
  138. end
  139. end
  140. if(not io.KeyEvent and not io.Mouse)then
  141. for n,t in pairs(CoAS.Actions) do
  142. for _,k in pairs(t.Keys) do
  143. if k==io.KeyCode then
  144. t.Function(t.Name,io.UserInputState,io)
  145. end
  146. end
  147. end
  148. if io.UserInputState == Enum.UserInputState.Begin then
  149. UsIS:TrigEvent("InputBegan",io,false)
  150. else
  151. UsIS:TrigEvent("InputEnded",io,false)
  152. end
  153. end
  154. end)
  155.  
  156. Func.OnServerInvoke = function(plr,inst,play)
  157. if plr~=Player then return end
  158. if(inst and typeof(inst) == 'Instance' and inst:IsA'Sound')then
  159. loudnesses[inst]=play
  160. end
  161. end
  162.  
  163. function GetClientProperty(inst,prop)
  164. if(prop == 'PlaybackLoudness' and loudnesses[inst])then
  165. return loudnesses[inst]
  166. elseif(prop == 'PlaybackLoudness')then
  167. return Func:InvokeClient(Player,'RegSound',inst)
  168. end
  169. return Func:InvokeClient(Player,inst,prop)
  170. end
  171. Mouse, mouse, UserInputService, ContextActionService = m, m, UsIS, CoAS
  172. end
  173.  
  174. wait(0.5)
  175.  
  176. warn([[WhAT ANOTHER ONE GLITCHER v1 Loaded.
  177. The super switcher.
  178.  
  179. Created, Reworked by NoobyGames12
  180. 1st Edit by GodzPlaysRB (SpectrumEeveez)
  181. 2nd Edit by wanTH092 (Filano)
  182. 3rd Edit by AlmightyToast
  183. 4th Edit by DerpzDeNugget_YT
  184. 5th Edit by KillerzTH
  185. 6th Edit by ItzPartapika
  186. ]])
  187.  
  188.  
  189.  
  190. --- its obs smooth af do not touch
  191. ---- Sources and functions might be taken from others
  192.  
  193. -- Nebula stuff --
  194. local S = setmetatable({},{__index = function(s,i) return game:service(i) end})
  195. local CF = {N=CFrame.new,A=CFrame.Angles,fEA=CFrame.fromEulerAnglesXYZ}
  196. local C3 = {tRGB= function(c3) return c3.r*255,c3.g*255,c3.b*255 end,N=Color3.new,RGB=Color3.fromRGB,HSV=Color3.fromHSV,tHSV=Color3.toHSV}
  197. local V3 = {N=Vector3.new,FNI=Vector3.FromNormalId,A=Vector3.FromAxis}
  198. local M = {C=math.cos,R=math.rad,S=math.sin,P=math.pi,RNG=math.random,MRS=math.randomseed,H=math.huge,RRNG = function(min,max,div) return math.rad(math.random(min,max)/(div or 1)) end}
  199. local R3 = {N=Region3.new}
  200. local De = S.Debris
  201. local WS = workspace
  202. local Lght = S.Lighting
  203. local RepS = S.ReplicatedStorage
  204. local IN = Instance.new
  205. local Plrs = S.Players
  206. local Alpha = .3
  207.  
  208. NewInstance = function(instance,parent,properties)
  209. local inst = Instance.new(instance)
  210. inst.Parent = parent
  211. if(properties)then
  212. for i,v in next, properties do
  213. pcall(function() inst[i] = v end)
  214. end
  215. end
  216. return inst;
  217. end
  218. -- Script --
  219.  
  220. plr = game.Players:FindFirstChild(script.Parent.Parent.Name)
  221. Player = plr
  222. char = plr.Character
  223. hum = char.Humanoid
  224. local cam = game.Workspace.CurrentCamera
  225. Camera = cam
  226. local CamInterrupt = false
  227. local TwoD = false
  228. local TargetInfo = {nil, nil}
  229. cam.CameraType = "Custom"
  230. t = char.Torso
  231. h = char.Head
  232. ra = char["Right Arm"]
  233. la = char["Left Arm"]
  234. rl = char["Right Leg"]
  235. ll = char["Left Leg"]
  236. tors = char.Torso
  237. lleg = char["Left Leg"]
  238. root = char.HumanoidRootPart
  239. hed = char.Head
  240. rleg = char["Right Leg"]
  241. rarm = char["Right Arm"]
  242. larm = char["Left Arm"]
  243. radian = math.rad
  244. random = math.random
  245. Vec3 = Vector3.new
  246. Inst = Instance.new
  247. cFrame = CFrame.new
  248. Euler = CFrame.fromEulerAnglesXYZ
  249. vt = Vector3.new
  250. bc = BrickColor.new
  251. br = BrickColor.random
  252. it = Instance.new
  253. cf = CFrame.new
  254. local Player_Size = 0
  255. cam = game.Workspace.CurrentCamera
  256. CF = CFrame.new
  257. angles = CFrame.Angles
  258. attack = false
  259. Euler = CFrame.fromEulerAnglesXYZ
  260. Rad = math.rad
  261. IT = Instance.new
  262. BrickC = BrickColor.new
  263. Cos = math.cos
  264. Acos = math.acos
  265. Sin = math.sin
  266. Asin = math.asin
  267. Abs = math.abs
  268. Mrandom = math.random
  269. Floor = math.floor
  270. IT = Instance.new
  271. CF = CFrame.new
  272. VT = Vector3.new
  273. RAD = math.rad
  274. C3 = Color3.new
  275. UD2 = UDim2.new
  276. BRICKC = BrickColor.new
  277. ANGLES = CFrame.Angles
  278. EULER = CFrame.fromEulerAnglesXYZ
  279. COS = math.cos
  280. ACOS = math.acos
  281. SIN = math.sin
  282. ASIN = math.asin
  283. ABS = math.abs
  284. MRANDOM = math.random
  285. FLOOR = math.floor
  286. local SINE = 0
  287. local RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14)
  288. local RHCF = CFrame.fromEulerAnglesXYZ(0, 1.6, 0)
  289. local LHCF = CFrame.fromEulerAnglesXYZ(0, -1.6, 0)
  290. CF = CFrame.new
  291. local hed = char.Head
  292. local root = char.HumanoidRootPart
  293. local rootj = root.RootJoint
  294. local tors = char.Torso
  295. Player_Size = 1
  296. Cos = math.cos
  297. Sin = math.sin
  298. Rad = math.rad
  299. CF = CFrame.new
  300.  
  301. local Booleans = {
  302. CamFollow = true,
  303. GyroUse = true
  304. }
  305.  
  306. function lerp(object, newCFrame, alpha)
  307. return object:lerp(newCFrame, alpha)
  308. end
  309.  
  310. local Directer = Inst("BodyGyro", root)
  311. Directer.MaxTorque = Vec3(0, 0, 0)
  312. Directer.P = 600000
  313. local CPart = Inst("Part")
  314. CPart.Anchored = true
  315. CPart.CanCollide = false
  316. CPart.Locked = true
  317. CPart.Transparency = 1
  318.  
  319. local rainbowmode = false
  320. local insanemode = false
  321. local glitchside = "WAOv2"
  322. -- This isn't used, just a table to show all sides. vv
  323. local PossibleSides = {"WAO", "WAOv2", "CretScripts"}
  324. -- This isn't used, just a table to show all sides. ^^
  325. local MAINRUINCOLOR = BrickColor.new("Lime green")
  326.  
  327. local kanPlaybackLoudness = 0
  328. local kan = Instance.new("Sound",char)
  329. kan.Volume = 1.25
  330. kan.TimePosition = 0
  331. kan.PlaybackSpeed = 1
  332. kan.Pitch = 1
  333. kan.SoundId = "rbxassetid://614032233"
  334. kan.Name = "wrecked"
  335. kan.Looped = true
  336. kan:Play()
  337.  
  338. local currentThemePlaying = kan.SoundId
  339. local currentPitch = kan.Pitch
  340. local currentVol = kan.Volume
  341. function newTheme(ID,timepos,pitch,vol)
  342. local kanz = kan
  343. kanz.Volume = vol
  344. kanz.PlaybackSpeed = pitch
  345. kanz.Pitch = pitch
  346. kanz.SoundId = ID
  347. kanz.Name = "wrecked"
  348. kanz.Looped = true
  349. currentThemePlaying = kanz.SoundId
  350. currentVol = kanz.Volume
  351. currentPitch = kanz.Pitch
  352. end
  353.  
  354.  
  355. function newThemeCust(ID,timepos,pitch,vol)
  356. local kanz = kan
  357. kanz:Stop()
  358. kanz.Volume = vol
  359. kanz.TimePosition = timepos
  360. kanz.PlaybackSpeed = pitch
  361. kanz.Pitch = pitch
  362. kanz.SoundId = ID
  363. kanz.Name = "wrecked"
  364. kanz.Looped = true
  365. currentThemePlaying = kanz.SoundId
  366. currentVol = kanz.Volume
  367. currentPitch = kanz.Pitch
  368. kanz:Play()
  369. coroutine.resume(coroutine.create(function()
  370. wait(0.05)
  371. end))
  372. end
  373.  
  374. local mutedtog = false
  375.  
  376. function Cso(ID, PARENT, VOLUME, PITCH)
  377. local NSound = nil
  378. coroutine.resume(coroutine.create(function()
  379. NSound = IT("Sound", PARENT)
  380. NSound.Volume = VOLUME
  381. NSound.Pitch = PITCH
  382. NSound.SoundId = "http://www.roblox.com/asset/?id="..ID
  383. swait()
  384. NSound:play()
  385. game:GetService("Debris"):AddItem(NSound, 10)
  386. end))
  387. return NSound
  388. end
  389.  
  390. local Instance = setmetatable({ClearChildrenOfClass = function(where,class,recursive) local children = (recursive and where:GetDescendants() or where:GetChildren()) for _,v in next, children do if(v:IsA(class))then v:destroy();end;end;end},{__index = Instance})
  391.  
  392. --// Require stuff \\--
  393. function CamShake(who,times,intense,origin)
  394. coroutine.wrap(function()
  395. if(script:FindFirstChild'CamShake')then
  396. local cam = script.CamShake:Clone()
  397. cam:WaitForChild'intensity'.Value = intense
  398. cam:WaitForChild'times'.Value = times
  399.  
  400. if(origin)then NewInstance((typeof(origin) == 'Instance' and "ObjectValue" or typeof(origin) == 'Vector3' and 'Vector3Value'),cam,{Name='origin',Value=origin}) end
  401. cam.Parent = who
  402. wait()
  403. cam.Disabled = false
  404. end
  405. end)()
  406. end
  407.  
  408. function CameraEnshaking(Length,Intensity)
  409. for i,v in pairs(game:GetService("Players"):GetChildren()) do
  410. local var = script.CretShaker:Clone()
  411. var.Parent = v.Character
  412. local pw = var.Shakeval
  413. local lgth = var.MultLength
  414. pw.Value = Intensity
  415. lgth.Value = Length
  416. var.Disabled = false
  417. coroutine.resume(coroutine.create(function()
  418. for i = 0, Length + 0.4, 0.1 do
  419. swait()
  420. end
  421. var:Destroy()
  422. end))
  423. end
  424. end
  425.  
  426. function CamShakeAll(times,intense,origin)
  427. for _,v in next, Plrs:players() do
  428. CamShake(v:FindFirstChildOfClass'PlayerGui' or v:FindFirstChildOfClass'Backpack' or v.Character,times,intense,origin)
  429. end
  430. end
  431.  
  432. local toggleTag = true
  433. local bilguit = Instance.new("BillboardGui", hed)
  434. bilguit.Adornee = nil
  435. bilguit.Name = "ModeName"
  436. bilguit.Size = UDim2.new(4, 0, 1.2, 0)
  437. bilguit.StudsOffset = Vector3.new(-8, 8/1.5, 0)
  438. local modet = Instance.new("TextLabel", bilguit)
  439. modet.Size = UDim2.new(10/2, 0, 7/2, 0)
  440. modet.FontSize = "Size8"
  441. modet.TextScaled = true
  442. modet.TextTransparency = 0
  443. modet.BackgroundTransparency = 1
  444. modet.TextTransparency = 0
  445. modet.TextStrokeTransparency = 0
  446. modet.Font = "Fantasy"
  447. modet.TextStrokeColor3 = Color3.fromRGB(40, 127, 71)
  448. modet.TextColor3 = Color3.fromRGB(0, 0, 0)
  449. modet.Text = "Normal"
  450.  
  451. function chatfunc(text,color,typet,font,timeex)
  452. local chat = coroutine.wrap(function()
  453. if Character:FindFirstChild("TalkingBillBoard")~= nil then
  454. Character:FindFirstChild("TalkingBillBoard"):destroy()
  455. end
  456. local naeeym2 = Instance.new("BillboardGui",Character)
  457. naeeym2.Size = UDim2.new(0,100,0,40)
  458. naeeym2.StudsOffset = Vector3.new(0,3,0)
  459. naeeym2.Adornee = Character.Head
  460. naeeym2.Name = "TalkingBillBoard"
  461. local tecks2 = Instance.new("TextLabel",naeeym2)
  462. tecks2.BackgroundTransparency = 1
  463. tecks2.BorderSizePixel = 0
  464. tecks2.Text = ""
  465. tecks2.Font = font
  466. tecks2.TextSize = 30
  467. tecks2.TextStrokeTransparency = 0
  468. tecks2.TextColor3 = color
  469. tecks2.TextStrokeColor3 = Color3.new(0,0,0)
  470. tecks2.Size = UDim2.new(1,0,0.5,0)
  471. local tecks3 = Instance.new("TextLabel",naeeym2)
  472. tecks3.BackgroundTransparency = 1
  473. tecks3.BorderSizePixel = 0
  474. tecks3.Text = ""
  475. tecks3.Font = font
  476. tecks3.TextSize = 30
  477. tecks3.TextStrokeTransparency = 0
  478. if typet == "Inverted" then
  479. tecks3.TextColor3 = Color3.new(0,0,0)
  480. tecks3.TextStrokeColor3 = color
  481. elseif typet == "Normal" then
  482. tecks3.TextColor3 = color
  483. tecks3.TextStrokeColor3 = Color3.new(0,0,0)
  484. end
  485. tecks3.Size = UDim2.new(1,0,0.5,0)
  486. coroutine.resume(coroutine.create(function()
  487. while true do
  488. swait(1)
  489. if insanemode == true then
  490. tecks2.TextColor3 = BrickColor.random().Color
  491. tecks3.TextStrokeColor3 = BrickColor.random().Color
  492. end
  493. end
  494. end))
  495. modet.TextTransparency = modet.TextTransparency + 1
  496. modet.TextStrokeTransparency = modet.TextStrokeTransparency + 1
  497. for i = 0, 74*timeex do
  498. swait()
  499. modet.TextTransparency = 1
  500. modet.TextStrokeTransparency = 1
  501. tecks2.Text = text
  502. tecks3.Text = text
  503. end
  504. local randomrot = math.random(1,2)
  505. if randomrot == 1 then
  506. for i = 1, 50 do
  507. swait()
  508. tecks2.Text = text
  509. tecks3.Text = text
  510. modet.TextTransparency = modet.TextTransparency - .02
  511. modet.TextStrokeTransparency = modet.TextStrokeTransparency - .02
  512. tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
  513. tecks2.TextTransparency = tecks2.TextTransparency + .04
  514. tecks3.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
  515. tecks3.TextTransparency = tecks2.TextTransparency + .04
  516. end
  517. elseif randomrot == 2 then
  518. for i = 1, 50 do
  519. swait()
  520. tecks2.Text = text
  521. tecks3.Text = text
  522. modet.TextTransparency = modet.TextTransparency - .02
  523. modet.TextStrokeTransparency = modet.TextStrokeTransparency - .02
  524. tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
  525. tecks2.TextTransparency = tecks2.TextTransparency + .04
  526. tecks3.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
  527. tecks3.TextTransparency = tecks2.TextTransparency + .04
  528. end
  529. end
  530. modet.TextTransparency = 0
  531. modet.TextStrokeTransparency = 0
  532. if toggleTag == false then
  533. modet.TextTransparency = 1
  534. modet.TextStrokeTransparency = 1
  535. end
  536. naeeym2:Destroy()
  537. end)
  538. chat()
  539. end
  540.  
  541. function bosschatfunc(text,color,watval)
  542. for i,v in pairs(game:GetService("Players"):GetPlayers()) do
  543. coroutine.resume(coroutine.create(function()
  544. if v.PlayerGui:FindFirstChild("Dialog")~= nil then
  545. v.PlayerGui:FindFirstChild("Dialog"):destroy()
  546. end
  547. local scrg = Instance.new("ScreenGui",v.PlayerGui)
  548. CFuncs["EchoSound"].Create("rbxassetid://525200869", scrg, 0.5, 1,0,10,0.1,0.25,1)
  549. scrg.Name = "Dialog"
  550. local txtlb = Instance.new("TextLabel",scrg)
  551. txtlb.Text = ""
  552. txtlb.Font = "Bodoni"
  553. txtlb.TextColor3 = Color3.new(0,0,0)
  554. txtlb.TextStrokeTransparency = 0
  555. txtlb.BackgroundTransparency = 0.75
  556. txtlb.BackgroundColor3 = Color3.new(0,0,0)
  557. txtlb.TextStrokeColor3 = color
  558. txtlb.TextScaled = true
  559. txtlb.Size = UDim2.new(1,0,0.25,0)
  560. txtlb.TextXAlignment = "Left"
  561. txtlb.Position = UDim2.new(0,0,0.75 + 1,0)
  562. local txtlb2 = Instance.new("TextLabel",scrg)
  563. txtlb2.Text = "???:"
  564. txtlb2.Font = "Arcade"
  565. txtlb2.TextColor3 = Color3.new(0,0,0)
  566. txtlb2.TextStrokeTransparency = 0
  567. txtlb2.BackgroundTransparency = 1
  568. txtlb2.TextStrokeColor3 = color
  569. txtlb2.TextSize = 40
  570. txtlb2.Size = UDim2.new(1,0,0.25,0)
  571. txtlb2.TextXAlignment = "Left"
  572. txtlb2.Position = UDim2.new(0,0,1,0)
  573. local fvalen = 0.55
  574. local fval = -0.49
  575. coroutine.resume(coroutine.create(function()
  576. while true do
  577. swait()
  578. if insanemode == true then
  579. txtlb.Rotation = math.random(-1,1)
  580. txtlb2.Rotation = math.random(-1,1)
  581. txtlb.Position = txtlb.Position + UDim2.new(0,math.random(-1,1)/5,0,math.random(-1,1)/5)
  582. txtlb2.Position = txtlb2.Position + UDim2.new(0,math.random(-1,1)/5,0,math.random(-1,1)/5)
  583. txtlb.TextStrokeColor3 = BrickColor.random().Color
  584. txtlb2.TextStrokeColor3 = BrickColor.random().Color
  585. end
  586. end
  587. end))
  588. coroutine.resume(coroutine.create(function()
  589. while true do
  590. swait()
  591. if scrg.Parent ~= nil then
  592. fvalen = fvalen - 0.0001
  593. elseif scrg.Parent == nil then
  594. break
  595. end
  596. end
  597. end))
  598. local flol = 1.75
  599. local flil = 1.6
  600. coroutine.resume(coroutine.create(function()
  601. for i = 0, 9 do
  602. swait()
  603. fval = fval + 0.05
  604. flol = flol - 0.1
  605. flil = flil - 0.1
  606. txtlb.Text = ""
  607. txtlb.Position = UDim2.new(0,0,flol,0)
  608. txtlb2.Position = UDim2.new(0,0,flil,0)
  609. end
  610. txtlb.Text = text
  611. wait(watval)
  612. local valinc = 0
  613. for i = 0, 99 do
  614. swait()
  615. valinc = valinc + 0.0001
  616. flol = flol + valinc
  617. flil = flil + valinc
  618. txtlb.Rotation = txtlb.Rotation + valinc*20
  619. txtlb2.Rotation = txtlb2.Rotation - valinc*50
  620. txtlb.Position = UDim2.new(0,0,flol,0)
  621. txtlb2.Position = UDim2.new(0,0,flil,0)
  622. txtlb.TextStrokeTransparency = txtlb.TextStrokeTransparency + 0.01
  623. txtlb.TextTransparency = txtlb.TextTransparency + 0.01
  624. txtlb2.TextStrokeTransparency = txtlb2.TextStrokeTransparency + 0.01
  625. txtlb2.TextTransparency = txtlb2.TextTransparency + 0.01
  626. txtlb.BackgroundTransparency = txtlb.BackgroundTransparency + 0.0025
  627. end
  628. scrg:Destroy()
  629. end))
  630. end))
  631. end
  632. end
  633.  
  634.  
  635. local Create = LoadLibrary("RbxUtility").Create
  636.  
  637. CFuncs = {
  638. ["Part"] = {
  639. Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  640. local Part = Create("Part"){
  641. Parent = Parent,
  642. Reflectance = Reflectance,
  643. Transparency = Transparency,
  644. CanCollide = false,
  645. Locked = true,
  646. BrickColor = BrickColor.new(tostring(BColor)),
  647. Name = Name,
  648. Size = Size,
  649. Material = Material,
  650. }
  651. RemoveOutlines(Part)
  652. return Part
  653. end;
  654. };
  655.  
  656. ["Mesh"] = {
  657. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  658. local Msh = Create(Mesh){
  659. Parent = Part,
  660. Offset = OffSet,
  661. Scale = Scale,
  662. }
  663. if Mesh == "SpecialMesh" then
  664. Msh.MeshType = MeshType
  665. Msh.MeshId = MeshId
  666. end
  667. return Msh
  668. end;
  669. };
  670.  
  671. ["Mesh"] = {
  672. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  673. local Msh = Create(Mesh){
  674. Parent = Part,
  675. Offset = OffSet,
  676. Scale = Scale,
  677. }
  678. if Mesh == "SpecialMesh" then
  679. Msh.MeshType = MeshType
  680. Msh.MeshId = MeshId
  681. end
  682. return Msh
  683. end;
  684. };
  685.  
  686. ["Weld"] = {
  687. Create = function(Parent, Part0, Part1, C0, C1)
  688. local Weld = Create("Weld"){
  689. Parent = Parent,
  690. Part0 = Part0,
  691. Part1 = Part1,
  692. C0 = C0,
  693. C1 = C1,
  694. }
  695. return Weld
  696. end;
  697. };
  698.  
  699. ["Sound"] = {
  700. Create = function(id, par, vol, pit)
  701. coroutine.resume(coroutine.create(function()
  702. local S = Create("Sound"){
  703. Volume = vol,
  704. Name = "EffectSoundo",
  705. Pitch = pit or 1,
  706. SoundId = id,
  707. Parent = par or workspace,
  708. }
  709. wait()
  710. S:play()
  711. game:GetService("Debris"):AddItem(S, 10)
  712. end))
  713. end;
  714. };
  715.  
  716. ["TimeSound"] = {
  717. Create = function(id, par, vol, pit, timepos)
  718. coroutine.resume(coroutine.create(function()
  719. local S = Create("Sound"){
  720. Volume = vol,
  721. Name = "EffectSoundo",
  722. Pitch = pit or 1,
  723. SoundId = id,
  724. TimePosition = timepos,
  725. Parent = par or workspace,
  726. }
  727. wait()
  728. S:play()
  729. game:GetService("Debris"):AddItem(S, 10)
  730. end))
  731. end;
  732. };
  733. ["EchoSound"] = {
  734. Create = function(id, par, vol, pit, timepos,delays,echodelay,fedb,dryl)
  735. coroutine.resume(coroutine.create(function()
  736. local Sas = Create("Sound"){
  737. Volume = vol,
  738. Name = "EffectSoundo",
  739. Pitch = pit or 1,
  740. SoundId = id,
  741. TimePosition = timepos,
  742. Parent = par or workspace,
  743. }
  744. local E = Create("EchoSoundEffect"){
  745. Delay = echodelay,
  746. Name = "Echo",
  747. Feedback = fedb,
  748. DryLevel = dryl,
  749. Parent = Sas,
  750. }
  751. wait()
  752. Sas:play()
  753. game:GetService("Debris"):AddItem(Sas, delays)
  754. end))
  755. end;
  756. };
  757.  
  758. ["LongSound"] = {
  759. Create = function(id, par, vol, pit)
  760. coroutine.resume(coroutine.create(function()
  761. local S = Create("Sound"){
  762. Volume = vol,
  763. Pitch = pit or 1,
  764. SoundId = id,
  765. Parent = par or workspace,
  766. }
  767. wait()
  768. S:play()
  769. game:GetService("Debris"):AddItem(S, 60)
  770. end))
  771. end;
  772. };
  773.  
  774. ["ParticleEmitter"] = {
  775. Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread)
  776. local fp = Create("ParticleEmitter"){
  777. Parent = Parent,
  778. Color = ColorSequence.new(Color1, Color2),
  779. LightEmission = LightEmission,
  780. Size = Size,
  781. Texture = Texture,
  782. Transparency = Transparency,
  783. ZOffset = ZOffset,
  784. Acceleration = Accel,
  785. Drag = Drag,
  786. LockedToPart = LockedToPart,
  787. VelocityInheritance = VelocityInheritance,
  788. EmissionDirection = EmissionDirection,
  789. Enabled = Enabled,
  790. Lifetime = LifeTime,
  791. Rate = Rate,
  792. Rotation = Rotation,
  793. RotSpeed = RotSpeed,
  794. Speed = Speed,
  795. VelocitySpread = VelocitySpread,
  796. }
  797. return fp
  798. end;
  799. };
  800.  
  801. CreateTemplate = {
  802.  
  803. };
  804. }
  805.  
  806.  
  807.  
  808. New = function(Object, Parent, Name, Data)
  809. local Object = Instance.new(Object)
  810. for Index, Value in pairs(Data or {}) do
  811. Object[Index] = Value
  812. end
  813. Object.Parent = Parent
  814. Object.Name = Name
  815. return Object
  816. end
  817. local halocolor = BrickColor.new("Pastel light blue")
  818. local halocolor2 = BrickColor.new("Cool yellow")
  819. local starcolor = BrickColor.new("Bright yellow")
  820. local lunacolor = BrickColor.new("Navy blue")
  821. local lunacolor2 = BrickColor.new("Bright blue")
  822. local wepcolor = BrickColor.new("Really black")
  823. local m = Instance.new("Model",char)
  824. local m2 = Instance.new("Model",char)
  825. local m3 = Instance.new("Model",char)
  826. local mw1 = Instance.new("Model",char)
  827. local mw2 = Instance.new("Model",char)
  828.  
  829. gui = function(GuiType, parent, text, backtrans, backcol, pos, size)
  830. local gui = it(GuiType)
  831. gui.Parent = parent
  832. gui.Text = text
  833. gui.BackgroundTransparency = backtrans
  834. gui.BackgroundColor3 = backcol
  835. gui.SizeConstraint = "RelativeXY"
  836. gui.TextXAlignment = "Center"
  837. gui.TextYAlignment = "Center"
  838. gui.Position = pos
  839. gui.Size = size
  840. gui.Font = "SourceSans"
  841. gui.FontSize = "Size14"
  842. gui.TextWrapped = false
  843. gui.TextStrokeTransparency = 0
  844. gui.TextColor = BrickColor.new("White")
  845. return gui
  846. end
  847. --------------------------- GUI STUFF
  848. local basgui = it("GuiMain")
  849. basgui.Parent = plr.PlayerGui
  850. basgui.Name = "VISgui"
  851. local fullscreenz = it("Frame")
  852. fullscreenz.Parent = basgui
  853. fullscreenz.BackgroundColor3 = Color3.new(255, 255, 255)
  854. fullscreenz.BackgroundTransparency = 1
  855. fullscreenz.BorderColor3 = Color3.new(17, 17, 17)
  856. fullscreenz.Size = UDim2.new(1, 0, 1, 0)
  857. fullscreenz.Position = UDim2.new(0, 0, 0, 0)
  858. local imgl2 = Instance.new("ImageLabel",fullscreenz)
  859. imgl2.BackgroundTransparency = 1
  860. imgl2.BorderSizePixel = 0
  861. imgl2.ImageTransparency = 0.5
  862. imgl2.ImageColor3 = Color3.fromRGB(40, 127, 71)
  863. imgl2.Position = UDim2.new(0.75,-200,0.55,-200)
  864. imgl2.Size = UDim2.new(0,1000,0,1000)
  865. imgl2.Image = "rbxassetid://2076458450"
  866. local techc = Instance.new("ImageLabel",fullscreenz)
  867. techc.BackgroundTransparency = 1
  868. techc.BorderSizePixel = 0
  869. techc.ImageTransparency = 0.5
  870. techc.ImageColor3 = Color3.fromRGB(40, 127, 71)
  871. techc.Position = UDim2.new(0.75,-200,0.55,-200)
  872. techc.Size = UDim2.new(0,1000,0,1000)
  873. techc.Image = "rbxassetid://2092248396"
  874. local circl = imgl2:Clone()
  875. circl.Parent = fullscreenz
  876. circl.ImageTransparency = 0
  877. circl.Size = UDim2.new(0,550,0,550)
  878. circl.Position = UDim2.new(0.75,25,0.55,25)
  879. circl.ImageColor3 = Color3.new(0,0,0)
  880. circl.Image = "rbxassetid://2365416622"
  881. local circl2 = imgl2:Clone()
  882. circl2.Parent = fullscreenz
  883. circl2.ImageTransparency = 0
  884. circl2.Size = UDim2.new(0,700,0,700)
  885. circl2.Position = UDim2.new(0.75,-50,0.55,-50)
  886. circl2.ImageColor3 = Color3.fromRGB(40, 127, 71)
  887. circl2.Image = "rbxassetid://2365431459"
  888. local imgl2b = imgl2:Clone()
  889. imgl2b.Parent = fullscreenz
  890. imgl2b.ImageTransparency = 0
  891. imgl2b.Size = UDim2.new(0,800,0,800)
  892. imgl2b.Position = UDim2.new(0.75,-100,0.55,-100)
  893. imgl2b.ImageColor3 = Color3.new(0,0,0)
  894. local ned = Instance.new("TextLabel",fullscreenz)
  895. ned.ZIndex = 2
  896. ned.Font = "Arcade"
  897. ned.BackgroundTransparency = 1
  898. ned.BorderSizePixel = 0.65
  899. ned.Size = UDim2.new(0.3,0,0.2,0)
  900. ned.Position = UDim2.new(0.7,0,0.8,0)
  901. ned.TextColor3 = BrickColor.new("Lime green").Color
  902. ned.TextStrokeColor3 = BrickColor.new("Really black").Color
  903. ned.TextScaled = true
  904. ned.TextStrokeTransparency = 0
  905. ned.Text = "Normal"
  906. ned.TextSize = 24
  907. ned.Rotation = 1
  908. ned.TextXAlignment = "Right"
  909. ned.TextYAlignment = "Bottom"
  910.  
  911. function CreateParta(parent,transparency,reflectance,material,brickcolor)
  912. local p = Instance.new("Part")
  913. p.TopSurface = 0
  914. p.BottomSurface = 0
  915. p.Parent = parent
  916. p.Size = Vector3.new(0.1,0.1,0.1)
  917. p.Transparency = transparency
  918. p.Reflectance = reflectance
  919. p.CanCollide = false
  920. p.Locked = true
  921. p.BrickColor = brickcolor
  922. p.Material = material
  923. return p
  924. end
  925.  
  926. function CreatePart1(FormFactor, Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  927. local Part = Create("Part")({
  928. formFactor = FormFactor,
  929. Parent = Parent,
  930. Reflectance = Reflectance,
  931. Transparency = Transparency,
  932. CanCollide = false,
  933. Locked = true,
  934. BrickColor = BrickColor.new(tostring(BColor)),
  935. Name = Name,
  936. Size = Size,
  937. Material = Material
  938. })
  939. RemoveOutlines(Part)
  940. return Part
  941. end
  942. function CreateMesh1(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  943. local Msh = Create(Mesh)({
  944. Parent = Part,
  945. Offset = OffSet,
  946. Scale = Scale
  947. })
  948. if Mesh == "SpecialMesh" then
  949. Msh.MeshType = MeshType
  950. Msh.MeshId = MeshId
  951. end
  952. return Msh
  953. end
  954.  
  955. function CreateMesh(parent,meshtype,x1,y1,z1)
  956. local mesh = Instance.new("SpecialMesh",parent)
  957. mesh.MeshType = meshtype
  958. mesh.Scale = Vector3.new(x1*10,y1*10,z1*10)
  959. return mesh
  960. end
  961.  
  962. function CreateSpecialMesh(parent,meshid,x1,y1,z1)
  963. local mesh = Instance.new("SpecialMesh",parent)
  964. mesh.MeshType = "FileMesh"
  965. mesh.MeshId = meshid
  966. mesh.Scale = Vector3.new(x1,y1,z1)
  967. return mesh
  968. end
  969.  
  970.  
  971. function CreateSpecialGlowMesh(parent,meshid,x1,y1,z1)
  972. local mesh = Instance.new("SpecialMesh",parent)
  973. mesh.MeshType = "FileMesh"
  974. mesh.MeshId = meshid
  975. mesh.TextureId = "http://www.roblox.com/asset/?id=269748808"
  976. mesh.Scale = Vector3.new(x1,y1,z1)
  977. mesh.VertexColor = Vector3.new(parent.BrickColor.r, parent.BrickColor.g, parent.BrickColor.b)
  978. return mesh
  979. end
  980.  
  981. function CreateWeld(parent,part0,part1,C1X,C1Y,C1Z,C1Xa,C1Ya,C1Za,C0X,C0Y,C0Z,C0Xa,C0Ya,C0Za)
  982. local weld = Instance.new("Weld")
  983. weld.Parent = parent
  984. weld.Part0 = part0
  985. weld.Part1 = part1
  986. weld.C1 = CFrame.new(C1X,C1Y,C1Z)*CFrame.Angles(C1Xa,C1Ya,C1Za)
  987. weld.C0 = CFrame.new(C0X,C0Y,C0Z)*CFrame.Angles(C0Xa,C0Ya,C0Za)
  988. return weld
  989. end
  990.  
  991.  
  992. --------------
  993. -------------- ground effect
  994. local cen = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  995. CreateWeld(cen,root,cen,0,3,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  996. local effar = Instance.new("ParticleEmitter",cen)
  997. effar.Texture = "rbxassetid://2344870656"
  998. effar.LightEmission = 1
  999. effar.Color = ColorSequence.new(Color3.new(1,0,0))
  1000. effar.Rate = 50
  1001. effar.Enabled = false
  1002. effar.EmissionDirection = "Front"
  1003. effar.Lifetime = NumberRange.new(1)
  1004. effar.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,15,0),NumberSequenceKeypoint.new(0.1,5,0),NumberSequenceKeypoint.new(0.8,15,0),NumberSequenceKeypoint.new(1,40,0)})
  1005. effar.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
  1006. effar.Speed = NumberRange.new(80,90)
  1007. effar.Acceleration = Vector3.new(0,10,0)
  1008. effar.Drag = 5
  1009. effar.Rotation = NumberRange.new(-500,500)
  1010. effar.SpreadAngle = Vector2.new(0,900)
  1011. effar.RotSpeed = NumberRange.new(-500,500)
  1012.  
  1013. ----
  1014. local sorb = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  1015. CreateWeld(sorb,rarm,sorb,0,1,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1016. local sorb2 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  1017. CreateWeld(sorb2,larm,sorb2,0,1,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1018.  
  1019. local handlex = CreateParta(mw2,1,1,"Neon",MAINRUINCOLOR)
  1020. CreateMesh(handlex,"Brick",0,0,0)
  1021. local handlexweld = CreateWeld(handlex,tors,handlex,0,-1.5,-1.05,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1022. local valuaring = 10
  1023. for i = 0, 49 do
  1024. valuaring = valuaring + 10
  1025. rn = CreateParta(mw2,0,0,"Neon",halocolor)
  1026. CreateMesh(rn,"Brick",0.25,0.1,0.1)
  1027. CreateWeld(rn,handlex,rn,0,1,0,math.rad(0),math.rad(0),math.rad(valuaring),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1028. end
  1029.  
  1030. local refec = Instance.new("ParticleEmitter",handlex)
  1031. refec.Texture = "rbxassetid://249270319"
  1032. refec.LightEmission = 0.95
  1033. refec.Color = ColorSequence.new(BrickColor.new("Lime green").Color)
  1034. refec.Rate = 50
  1035. refec.Lifetime = NumberRange.new(0.5)
  1036. refec.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,0.5,0),NumberSequenceKeypoint.new(0.5,0.75,0),NumberSequenceKeypoint.new(1,0.1,0)})
  1037. refec.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(0.5,0.25,0),NumberSequenceKeypoint.new(1,1,0)})
  1038. refec.Speed = NumberRange.new(0,2)
  1039. refec.Drag = 5
  1040. refec.LockedToPart = true
  1041. refec.Rotation = NumberRange.new(-500,500)
  1042. refec.VelocitySpread = 9000
  1043. refec.RotSpeed = NumberRange.new(-500,500)
  1044.  
  1045. local handle = CreateParta(m,1,1,"Neon",MAINRUINCOLOR)
  1046. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  1047. local handleweld = CreateWeld(handle,tors,handle,0,-1.5,-1.05,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1048.  
  1049. --"rbxassetid://31727915"
  1050.  
  1051. local wed = nil
  1052.  
  1053. --- Left wing.
  1054.  
  1055. local lwing1 = CreateParta(m,1,1,"Neon",MAINRUINCOLOR)
  1056. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  1057. local lwing1weld = CreateWeld(lwing1,handle,lwing1,3,0,0,math.rad(5),math.rad(0),math.rad(12.5),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1058.  
  1059. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  1060. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1061. CreateWeld(wed,lwing1,wed,0,0,0.25,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1062. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  1063. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1064. CreateWeld(wed,lwing1,wed,0,0,0.25,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1065. A0 = Instance.new('Attachment',wed)
  1066. A0.Position = vt(0,0.25,0.25)
  1067. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  1068. CreateMesh(wed,"Wedge",0.05,0.5,3)
  1069. CreateWeld(wed,lwing1,wed,0,-0.25,1.75,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1070. A1 = Instance.new('Attachment',wed)
  1071. A1.Position = vt(0,-0.25,-2)
  1072. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  1073. CreateMesh(wed,"Wedge",0.05,3,0.5)
  1074. CreateWeld(wed,lwing1,wed,0,-1.75,0.25,math.rad(90),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1075.  
  1076. tl1 = Instance.new('Trail',wed)
  1077. tl1.Attachment0 = A1
  1078. tl1.Attachment1 = A0
  1079. tl1.Texture = "rbxassetid://2108945559"
  1080. tl1.LightEmission = 1
  1081. tl1.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  1082. tl1.Color = ColorSequence.new(BrickColor.new('Lime green').Color)
  1083. tl1.Lifetime = 0.6
  1084.  
  1085.  
  1086. local lwing2 = CreateParta(m,1,1,"Neon",MAINRUINCOLOR)
  1087. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  1088. local lwing2weld = CreateWeld(lwing2,handle,lwing2,4,1,0,math.rad(10),math.rad(0),math.rad(25),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1089.  
  1090. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  1091. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1092. CreateWeld(wed,lwing2,wed,0,0,0.25,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1093. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  1094. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1095. CreateWeld(wed,lwing2,wed,0,0,0.25,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1096. A0 = Instance.new('Attachment',wed)
  1097. A0.Position = vt(0,0.25,0.25)
  1098. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  1099. CreateMesh(wed,"Wedge",0.05,0.5,3)
  1100. CreateWeld(wed,lwing2,wed,0,-0.25,1.75,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1101. A1 = Instance.new('Attachment',wed)
  1102. A1.Position = vt(0,-0.25,-2)
  1103. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  1104. CreateMesh(wed,"Wedge",0.05,3,0.5)
  1105. CreateWeld(wed,lwing2,wed,0,-1.75,0.25,math.rad(90),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1106.  
  1107. tl2 = Instance.new('Trail',wed)
  1108. tl2.Attachment0 = A1
  1109. tl2.Attachment1 = A0
  1110. tl2.Texture = "rbxassetid://2108945559"
  1111. tl2.LightEmission = 1
  1112. tl2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  1113. tl2.Color = ColorSequence.new(BrickColor.new('Lime green').Color)
  1114. tl2.Lifetime = 0.6
  1115.  
  1116. local lwing3 = CreateParta(m,1,1,"Neon",MAINRUINCOLOR)
  1117. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  1118. local lwing3weld = CreateWeld(lwing3,handle,lwing3,4.75,2,0,math.rad(15),math.rad(0),math.rad(37.5),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1119.  
  1120. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  1121. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1122. CreateWeld(wed,lwing3,wed,0,0,0.25,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1123. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  1124. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1125. CreateWeld(wed,lwing3,wed,0,0,0.25,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1126. A0 = Instance.new('Attachment',wed)
  1127. A0.Position = vt(0,0.25,0.25)
  1128. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  1129. CreateMesh(wed,"Wedge",0.05,0.5,3)
  1130. CreateWeld(wed,lwing3,wed,0,-0.25,1.75,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1131. A1 = Instance.new('Attachment',wed)
  1132. A1.Position = vt(0,-0.25,-2)
  1133. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  1134. CreateMesh(wed,"Wedge",0.05,3,0.5)
  1135. CreateWeld(wed,lwing3,wed,0,-1.75,0.25,math.rad(90),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1136.  
  1137. tl3 = Instance.new('Trail',wed)
  1138. tl3.Attachment0 = A1
  1139. tl3.Attachment1 = A0
  1140. tl3.Texture = "rbxassetid://2108945559"
  1141. tl3.LightEmission = 1
  1142. tl3.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  1143. tl3.Color = ColorSequence.new(BrickColor.new('Lime green').Color)
  1144. tl3.Lifetime = 0.6
  1145.  
  1146. local lwing4 = CreateParta(m,1,1,"Neon",MAINRUINCOLOR)
  1147. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  1148. local lwing4weld = CreateWeld(lwing4,handle,lwing4,4.25,2,0,math.rad(50),math.rad(0),math.rad(50),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1149.  
  1150. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  1151. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1152. CreateWeld(wed,lwing4,wed,0,0,0.25,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1153. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  1154. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1155. CreateWeld(wed,lwing4,wed,0,0,0.25,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1156. A0 = Instance.new('Attachment',wed)
  1157. A0.Position = vt(0,0.25,0.25)
  1158. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  1159. CreateMesh(wed,"Wedge",0.05,0.5,3)
  1160. CreateWeld(wed,lwing4,wed,0,-0.25,1.75,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1161. A1 = Instance.new('Attachment',wed)
  1162. A1.Position = vt(0,-0.25,-2)
  1163. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  1164. CreateMesh(wed,"Wedge",0.05,3,0.5)
  1165. CreateWeld(wed,lwing4,wed,0,-1.75,0.25,math.rad(90),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1166.  
  1167. tl4 = Instance.new('Trail',wed)
  1168. tl4.Attachment0 = A1
  1169. tl4.Attachment1 = A0
  1170. tl4.Texture = "rbxassetid://2108945559"
  1171. tl4.LightEmission = 1
  1172. tl4.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  1173. tl4.Color = ColorSequence.new(BrickColor.new('Lime green').Color)
  1174. tl4.Lifetime = 0.6
  1175.  
  1176. tl1.Enabled = false
  1177. tl2.Enabled = false
  1178. tl3.Enabled = false
  1179. tl4.Enabled = false
  1180. -- Right wing.
  1181.  
  1182. local rwing1 = CreateParta(m,1,1,"Neon",MAINRUINCOLOR)
  1183. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  1184. local rwing1weld = CreateWeld(rwing1,handle,rwing1,-3,0,0,math.rad(5),math.rad(0),math.rad(-12.5),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1185.  
  1186. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1187. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1188. CreateWeld(wed,rwing1,wed,0,0,0.25,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1189. A0 = Instance.new('Attachment',wed)
  1190. A0.Position = vt(0,0.25,0.25)
  1191. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1192. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1193. CreateWeld(wed,rwing1,wed,0,0,0.25,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1194. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1195. CreateMesh(wed,"Wedge",0.05,0.5,3)
  1196. CreateWeld(wed,rwing1,wed,0,-0.25,1.75,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1197. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1198. CreateMesh(wed,"Wedge",0.05,3,0.5)
  1199. CreateWeld(wed,rwing1,wed,0,-1.75,0.25,math.rad(90),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1200. A1 = Instance.new('Attachment',wed)
  1201. A1.Position = vt(0,2,0.25)
  1202.  
  1203. tr1 = Instance.new('Trail',wed)
  1204. tr1.Attachment0 = A1
  1205. tr1.Attachment1 = A0
  1206. tr1.Texture = "rbxassetid://2108945559"
  1207. tr1.LightEmission = 1
  1208. tr1.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  1209. tr1.Color = ColorSequence.new(BrickColor.new('Lime green').Color)
  1210. tr1.Lifetime = 0.6
  1211.  
  1212. local rwing2 = CreateParta(m,1,1,"Neon",MAINRUINCOLOR)
  1213. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  1214. local rwing2weld = CreateWeld(rwing2,handle,rwing2,-4,1,0,math.rad(10),math.rad(0),math.rad(-25),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1215.  
  1216. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1217. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1218. CreateWeld(wed,rwing2,wed,0,0,0.25,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1219. A0 = Instance.new('Attachment',wed)
  1220. A0.Position = vt(0,0.25,0.25)
  1221. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1222. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1223. CreateWeld(wed,rwing2,wed,0,0,0.25,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1224. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1225. CreateMesh(wed,"Wedge",0.05,0.5,3)
  1226. CreateWeld(wed,rwing2,wed,0,-0.25,1.75,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1227. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1228. CreateMesh(wed,"Wedge",0.05,3,0.5)
  1229. CreateWeld(wed,rwing2,wed,0,-1.75,0.25,math.rad(90),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1230. A1 = Instance.new('Attachment',wed)
  1231. A1.Position = vt(0,2,0.25)
  1232.  
  1233. tr2 = Instance.new('Trail',wed)
  1234. tr2.Attachment0 = A1
  1235. tr2.Attachment1 = A0
  1236. tr2.Texture = "rbxassetid://2108945559"
  1237. tr2.LightEmission = 1
  1238. tr2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  1239. tr2.Color = ColorSequence.new(BrickColor.new('Lime green').Color)
  1240. tr2.Lifetime = 0.6
  1241.  
  1242. local rwing3 = CreateParta(m,1,1,"Neon",MAINRUINCOLOR)
  1243. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  1244. local rwing3weld = CreateWeld(rwing3,handle,rwing3,-4.75,2,0,math.rad(15),math.rad(0),math.rad(-37.5),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1245.  
  1246. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1247. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1248. CreateWeld(wed,rwing3,wed,0,0,0.25,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1249. A0 = Instance.new('Attachment',wed)
  1250. A0.Position = vt(0,0.25,0.25)
  1251. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1252. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1253. CreateWeld(wed,rwing3,wed,0,0,0.25,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1254. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1255. CreateMesh(wed,"Wedge",0.05,0.5,3)
  1256. CreateWeld(wed,rwing3,wed,0,-0.25,1.75,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1257. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1258. CreateMesh(wed,"Wedge",0.05,3,0.5)
  1259. CreateWeld(wed,rwing3,wed,0,-1.75,0.25,math.rad(90),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1260. A1 = Instance.new('Attachment',wed)
  1261. A1.Position = vt(0,2,0.25)
  1262.  
  1263. tr3 = Instance.new('Trail',wed)
  1264. tr3.Attachment0 = A1
  1265. tr3.Attachment1 = A0
  1266. tr3.Texture = "rbxassetid://2108945559"
  1267. tr3.LightEmission = 1
  1268. tr3.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  1269. tr3.Color = ColorSequence.new(BrickColor.new('Lime green').Color)
  1270. tr3.Lifetime = 0.6
  1271.  
  1272. local rwing4 = CreateParta(m,1,1,"Neon",MAINRUINCOLOR)
  1273. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  1274. local rwing4weld = CreateWeld(rwing4,handle,rwing4,-5.25,2,0,math.rad(15),math.rad(0),math.rad(-50),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1275.  
  1276. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1277. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1278. CreateWeld(wed,rwing4,wed,0,0,0.25,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1279. A0 = Instance.new('Attachment',wed)
  1280. A0.Position = vt(0,0.25,0.25)
  1281. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1282. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1283. CreateWeld(wed,rwing4,wed,0,0,0.25,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1284. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1285. CreateMesh(wed,"Wedge",0.05,0.5,3)
  1286. CreateWeld(wed,rwing4,wed,0,-0.25,1.75,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1287. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1288. CreateMesh(wed,"Wedge",0.05,3,0.5)
  1289. CreateWeld(wed,rwing4,wed,0,-1.75,0.25,math.rad(90),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1290. A1 = Instance.new('Attachment',wed)
  1291. A1.Position = vt(0,2,0.25)
  1292.  
  1293. tr4 = Instance.new('Trail',wed)
  1294. tr4.Attachment0 = A1
  1295. tr4.Attachment1 = A0
  1296. tr4.Texture = "rbxassetid://2108945559"
  1297. tr4.LightEmission = 1
  1298. tr4.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  1299. tr4.Color = ColorSequence.new(BrickColor.new('Lime green').Color)
  1300. tr4.Lifetime = 0.6
  1301.  
  1302. for i, v in pairs(m:GetChildren()) do
  1303. if v:IsA("Part") then
  1304. v.BrickColor = BrickColor.new("Really black")
  1305. v.Material = "Glass"
  1306. end
  1307. end
  1308. for i, v in pairs(m2:GetChildren()) do
  1309. if v:IsA("Part") then
  1310. v.BrickColor = BrickColor.new("Lime green")
  1311. v.Material = "Granite"
  1312. end
  1313. end
  1314. for i, v in pairs(m3:GetChildren()) do
  1315. if v:IsA("Part") then
  1316. v.BrickColor = BrickColor.new("Lime green")
  1317. v.Material = "Neon"
  1318. end
  1319. end
  1320. for i, v in pairs(mw2:GetChildren()) do
  1321. if v:IsA("Part") then
  1322. v.BrickColor = BrickColor.new("Lime green")
  1323. v.Material = "Neon"
  1324. end
  1325. end
  1326. for i, v in pairs(mw1:GetChildren()) do
  1327. if v:IsA("Part") then
  1328. v.BrickColor = BrickColor.new("Really black")
  1329. v.Material = "Neon"
  1330. end
  1331. end
  1332. ------
  1333.  
  1334.  
  1335. function RemoveOutlines(part)
  1336. part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10
  1337. end
  1338. function CreatePart(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  1339. local Part = Create("Part")({
  1340. Parent = Parent,
  1341. Reflectance = Reflectance,
  1342. Transparency = Transparency,
  1343. CanCollide = false,
  1344. Locked = true,
  1345. BrickColor = BrickColor.new(tostring(BColor)),
  1346. Name = Name,
  1347. Size = Size,
  1348. Material = Material
  1349. })
  1350. Part.CustomPhysicalProperties = PhysicalProperties.new(0.001, 0.001, 0.001, 0.001, 0.001)
  1351. RemoveOutlines(Part)
  1352. return Part
  1353. end
  1354. function CreateWeld(Parent, Part0, Part1, C0, C1)
  1355. local Weld = Create("Weld")({
  1356. Parent = Parent,
  1357. Part0 = Part0,
  1358. Part1 = Part1,
  1359. C0 = C0,
  1360. C1 = C1
  1361. })
  1362. return Weld
  1363. end
  1364.  
  1365. Character=Player.Character
  1366. PlayerGui=Player.PlayerGui
  1367. Backpack=Player.Backpack
  1368. Torso=Character.Torso
  1369. Head=Character.Head
  1370. Humanoid=Character.Humanoid
  1371. m=Instance.new('Model',Character)
  1372. LeftArm=Character["Left Arm"]
  1373. LeftLeg=Character["Left Leg"]
  1374. RightArm=Character["Right Arm"]
  1375. RightLeg=Character["Right Leg"]
  1376. LS=Torso["Left Shoulder"]
  1377. LH=Torso["Left Hip"]
  1378. RS=Torso["Right Shoulder"]
  1379. RH=Torso["Right Hip"]
  1380. Face = Head.face
  1381. Neck=Torso.Neck
  1382. it=Instance.new
  1383. attacktype=1
  1384. vt=Vector3.new
  1385. cf=CFrame.new
  1386. euler=CFrame.fromEulerAnglesXYZ
  1387. angles=CFrame.Angles
  1388. cloaked=false
  1389. necko=cf(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  1390. necko2=cf(0, -0.5, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  1391. LHC0=cf(-1,-1,0,-0,-0,-1,0,1,0,1,0,0)
  1392. LHC1=cf(-0.5,1,0,-0,-0,-1,0,1,0,1,0,0)
  1393. RHC0=cf(1,-1,0,0,0,1,0,1,0,-1,-0,-0)
  1394. RHC1=cf(0.5,1,0,0,0,1,0,1,0,-1,-0,-0)
  1395. RootPart=Character.HumanoidRootPart
  1396. RootJoint=RootPart.RootJoint
  1397. RootCF=euler(-1.57,0,3.14)
  1398. attack = false
  1399. attackmode='none'
  1400. local idle=0
  1401. local Anim="Idle"
  1402. EffectModel = Instance.new("Model", char)
  1403. Effects = {
  1404. Block = {
  1405. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type)
  1406. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  1407. prt.Anchored = true
  1408. prt.CFrame = cframe
  1409. local msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1410. game:GetService("Debris"):AddItem(prt, 10)
  1411. if Type == 1 or Type == nil then
  1412. table.insert(Effects, {
  1413. prt,
  1414. "Block1",
  1415. delay,
  1416. x3,
  1417. y3,
  1418. z3,
  1419. msh
  1420. })
  1421. elseif Type == 2 then
  1422. table.insert(Effects, {
  1423. prt,
  1424. "Block2",
  1425. delay,
  1426. x3,
  1427. y3,
  1428. z3,
  1429. msh
  1430. })
  1431. else
  1432. table.insert(Effects, {
  1433. prt,
  1434. "Block3",
  1435. delay,
  1436. x3,
  1437. y3,
  1438. z3,
  1439. msh
  1440. })
  1441. end
  1442. end
  1443. },
  1444. Sphere = {
  1445. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  1446. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  1447. prt.Anchored = true
  1448. prt.CFrame = cframe
  1449. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1450. game:GetService("Debris"):AddItem(prt, 10)
  1451. table.insert(Effects, {
  1452. prt,
  1453. "Cylinder",
  1454. delay,
  1455. x3,
  1456. y3,
  1457. z3,
  1458. msh
  1459. })
  1460. end
  1461. },
  1462. Cylinder = {
  1463. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  1464. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  1465. prt.Anchored = true
  1466. prt.CFrame = cframe
  1467. local msh = CFuncs.Mesh.Create("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1468. game:GetService("Debris"):AddItem(prt, 10)
  1469. table.insert(Effects, {
  1470. prt,
  1471. "Cylinder",
  1472. delay,
  1473. x3,
  1474. y3,
  1475. z3,
  1476. msh
  1477. })
  1478. end
  1479. },
  1480. Wave = {
  1481. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  1482. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  1483. prt.Anchored = true
  1484. prt.CFrame = cframe
  1485. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://20329976", Vector3.new(0, 0, 0), Vector3.new(x1 / 60, y1 / 60, z1 / 60))
  1486. game:GetService("Debris"):AddItem(prt, 10)
  1487. table.insert(Effects, {
  1488. prt,
  1489. "Cylinder",
  1490. delay,
  1491. x3 / 60,
  1492. y3 / 60,
  1493. z3 / 60,
  1494. msh
  1495. })
  1496. end
  1497. },
  1498. Ring = {
  1499. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  1500. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  1501. prt.Anchored = true
  1502. prt.CFrame = cframe
  1503. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://3270017", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1504. game:GetService("Debris"):AddItem(prt, 10)
  1505. table.insert(Effects, {
  1506. prt,
  1507. "Cylinder",
  1508. delay,
  1509. x3,
  1510. y3,
  1511. z3,
  1512. msh
  1513. })
  1514. end
  1515. },
  1516. Break = {
  1517. Create = function(brickcolor, cframe, x1, y1, z1)
  1518. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5))
  1519. prt.Anchored = true
  1520. prt.CFrame = cframe * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  1521. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1522. local num = math.random(10, 50) / 1000
  1523. game:GetService("Debris"):AddItem(prt, 10)
  1524. table.insert(Effects, {
  1525. prt,
  1526. "Shatter",
  1527. num,
  1528. prt.CFrame,
  1529. math.random() - math.random(),
  1530. 0,
  1531. math.random(50, 100) / 100
  1532. })
  1533. end
  1534. },
  1535. Spiral = {
  1536. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  1537. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  1538. prt.Anchored = true
  1539. prt.CFrame = cframe
  1540. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://1051557", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1541. game:GetService("Debris"):AddItem(prt, 10)
  1542. table.insert(Effects, {
  1543. prt,
  1544. "Cylinder",
  1545. delay,
  1546. x3,
  1547. y3,
  1548. z3,
  1549. msh
  1550. })
  1551. end
  1552. },
  1553. Push = {
  1554. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  1555. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  1556. prt.Anchored = true
  1557. prt.CFrame = cframe
  1558. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://437347603", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1559. game:GetService("Debris"):AddItem(prt, 10)
  1560. table.insert(Effects, {
  1561. prt,
  1562. "Cylinder",
  1563. delay,
  1564. x3,
  1565. y3,
  1566. z3,
  1567. msh
  1568. })
  1569. end
  1570. }
  1571. }
  1572. local sine = 0
  1573. local change = 1
  1574.  
  1575.  
  1576. function RecolorTextAndRename(name,col1,col2,font)
  1577. modet.TextStrokeColor3 = col2
  1578. modet.TextColor3 = col1
  1579. modet.Font = font
  1580. modet.Text = name
  1581. techc.ImageColor3 = col2
  1582. circl.ImageColor3 = col2
  1583. circl2.ImageColor3 = col1
  1584. imgl2.ImageColor3 = col1
  1585. imgl2b.ImageColor3 = col2
  1586. ned.Text = name
  1587. ned.TextColor3 = col1
  1588. ned.TextStrokeColor3 = col2
  1589. end
  1590.  
  1591. local disably = false
  1592.  
  1593. local r = 255
  1594. local g = 0
  1595. local b = 0
  1596. coroutine.resume(coroutine.create(function()
  1597. while wait() do
  1598. for i = 0, 254/5 do
  1599. swait()
  1600. g = g + 5
  1601. end
  1602. for i = 0, 254/5 do
  1603. swait()
  1604. r = r - 5
  1605. end
  1606. for i = 0, 254/5 do
  1607. swait()
  1608. b = b + 5
  1609. end
  1610. for i = 0, 254/5 do
  1611. swait()
  1612. g = g - 5
  1613. end
  1614. for i = 0, 254/5 do
  1615. swait()
  1616. r = r + 5
  1617. end
  1618. for i = 0, 254/5 do
  1619. swait()
  1620. b = b - 5
  1621. end
  1622. end
  1623. end))
  1624.  
  1625. --save shoulders
  1626. RSH, LSH=nil, nil
  1627. --welds
  1628. RW, LW=Instance.new("Weld"), Instance.new("Weld")
  1629. RW.Name="Right Shoulder" LW.Name="Left Shoulder"
  1630. LH=Torso["Left Hip"]
  1631. RH=Torso["Right Hip"]
  1632. TorsoColor=Torso.BrickColor
  1633. function NoOutline(Part)
  1634. Part.TopSurface,Part.BottomSurface,Part.LeftSurface,Part.RightSurface,Part.FrontSurface,Part.BackSurface = 10,10,10,10,10,10
  1635. end
  1636. ch=Character
  1637. RSH=ch.Torso["Right Shoulder"]
  1638. LSH=ch.Torso["Left Shoulder"]
  1639. --
  1640. RSH.Parent=nil
  1641. LSH.Parent=nil
  1642. --
  1643. RW.Name="Right Shoulder"
  1644. RW.Part0=ch.Torso
  1645. RW.C0=cf(1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.3, 0, -0.5)
  1646. RW.C1=cf(0, 0.5, 0)
  1647. RW.Part1=ch["Right Arm"]
  1648. RW.Parent=ch.Torso
  1649. --
  1650. LW.Name="Left Shoulder"
  1651. LW.Part0=ch.Torso
  1652. LW.C0=cf(-1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.7, 0, 0.8)
  1653. LW.C1=cf(0, 0.5, 0)
  1654. LW.Part1=ch["Left Arm"]
  1655. LW.Parent=ch.Torso
  1656.  
  1657. --------- SazEreno's Artificial HB --------------
  1658. ArtificialHB = Instance.new("BindableEvent", script)
  1659. ArtificialHB.Name = "ArtificialHB"
  1660.  
  1661. script:WaitForChild("ArtificialHB")
  1662. Frame_Speed = 1 / 60
  1663. frame = Frame_Speed
  1664. tf = 0
  1665. allowframeloss = false
  1666. tossremainder = false
  1667. lastframe = tick()
  1668. script.ArtificialHB:Fire()
  1669.  
  1670. game:GetService("RunService").Heartbeat:connect(function(s, p)
  1671. tf = tf + s
  1672. if tf >= frame then
  1673. if allowframeloss then
  1674. script.ArtificialHB:Fire()
  1675. lastframe = tick()
  1676. else
  1677. for i = 1, math.floor(tf / frame) do
  1678. script.ArtificialHB:Fire()
  1679. end
  1680. lastframe = tick()
  1681. end
  1682. if tossremainder then
  1683. tf = 0
  1684. else
  1685. tf = tf - frame * math.floor(tf / frame)
  1686. end
  1687. end
  1688. end)
  1689.  
  1690. ------------------
  1691. function swait(num)
  1692. if num == 0 or num == nil then
  1693. ArtificialHB.Event:wait()
  1694. else
  1695. for i = 1, num do
  1696. ArtificialHB.Event:wait()
  1697. end
  1698. end
  1699. end
  1700.  
  1701. so = function(id,par,vol,pit)
  1702. coroutine.resume(coroutine.create(function()
  1703. local sou = Instance.new("Sound",par or workspace)
  1704. sou.Volume=vol
  1705. sou.Pitch=pit or 1
  1706. sou.SoundId=id
  1707. swait()
  1708. sou:play()
  1709. game:GetService("Debris"):AddItem(sou,6)
  1710. end))
  1711. end
  1712.  
  1713. function clerp(a,b,t)
  1714. local qa = {QuaternionFromCFrame(a)}
  1715. local qb = {QuaternionFromCFrame(b)}
  1716. local ax, ay, az = a.x, a.y, a.z
  1717. local bx, by, bz = b.x, b.y, b.z
  1718. local _t = 1-t
  1719. return QuaternionToCFrame(_t*ax + t*bx, _t*ay + t*by, _t*az + t*bz,QuaternionSlerp(qa, qb, t))
  1720. end
  1721.  
  1722. function aclerp(startCF,endCF,alpha)
  1723. return startCF:lerp(endCF, alpha)
  1724. end
  1725.  
  1726. function QuaternionFromCFrame(cf)
  1727. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  1728. local trace = m00 + m11 + m22
  1729. if trace > 0 then
  1730. local s = math.sqrt(1 + trace)
  1731. local recip = 0.5/s
  1732. return (m21-m12)*recip, (m02-m20)*recip, (m10-m01)*recip, s*0.5
  1733. else
  1734. local i = 0
  1735. if m11 > m00 then
  1736. i = 1
  1737. end
  1738. if m22 > (i == 0 and m00 or m11) then
  1739. i = 2
  1740. end
  1741. if i == 0 then
  1742. local s = math.sqrt(m00-m11-m22+1)
  1743. local recip = 0.5/s
  1744. return 0.5*s, (m10+m01)*recip, (m20+m02)*recip, (m21-m12)*recip
  1745. elseif i == 1 then
  1746. local s = math.sqrt(m11-m22-m00+1)
  1747. local recip = 0.5/s
  1748. return (m01+m10)*recip, 0.5*s, (m21+m12)*recip, (m02-m20)*recip
  1749. elseif i == 2 then
  1750. local s = math.sqrt(m22-m00-m11+1)
  1751. local recip = 0.5/s return (m02+m20)*recip, (m12+m21)*recip, 0.5*s, (m10-m01)*recip
  1752. end
  1753. end
  1754. end
  1755.  
  1756. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  1757. local xs, ys, zs = x + x, y + y, z + z
  1758. local wx, wy, wz = w*xs, w*ys, w*zs
  1759. local xx = x*xs
  1760. local xy = x*ys
  1761. local xz = x*zs
  1762. local yy = y*ys
  1763. local yz = y*zs
  1764. local zz = z*zs
  1765. 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))
  1766. end
  1767.  
  1768. function QuaternionSlerp(a, b, t)
  1769. local cosTheta = a[1]*b[1] + a[2]*b[2] + a[3]*b[3] + a[4]*b[4]
  1770. local startInterp, finishInterp;
  1771. if cosTheta >= 0.0001 then
  1772. if (1 - cosTheta) > 0.0001 then
  1773. local theta = math.acos(cosTheta)
  1774. local invSinTheta = 1/math.sin(theta)
  1775. startInterp = math.sin((1-t)*theta)*invSinTheta
  1776. finishInterp = math.sin(t*theta)*invSinTheta
  1777. else
  1778. startInterp = 1-t
  1779. finishInterp = t
  1780. end
  1781. else
  1782. if (1+cosTheta) > 0.0001 then
  1783. local theta = math.acos(-cosTheta)
  1784. local invSinTheta = 1/math.sin(theta)
  1785. startInterp = math.sin((t-1)*theta)*invSinTheta
  1786. finishInterp = math.sin(t*theta)*invSinTheta
  1787. else
  1788. startInterp = t-1
  1789. finishInterp = t
  1790. end
  1791. end
  1792. 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
  1793. end
  1794.  
  1795. function Damagefunc(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch)
  1796. if hit.Parent == nil then
  1797. return
  1798. end
  1799. local h = hit.Parent:FindFirstChildOfClass("Humanoid")
  1800. for _, v in pairs(hit.Parent:children()) do
  1801. if v:IsA("Humanoid") then
  1802. h = v
  1803. end
  1804. end
  1805. if h ~= nil and hit.Parent.Name ~= Character.Name and hit.Parent:FindFirstChild("Head") ~= nil then
  1806. if hit.Parent:findFirstChild("DebounceHit") ~= nil and hit.Parent.DebounceHit.Value == true then
  1807. return
  1808. end
  1809. local c = Create("ObjectValue")({
  1810. Name = "creator",
  1811. Value = game.Players:FindFirstChild(script.Parent.Parent.Name),
  1812. Parent = h
  1813. })
  1814. game:GetService("Debris"):AddItem(c, 0.5)
  1815. if HitSound ~= nil and HitPitch ~= nil then
  1816. CFuncs.Sound.Create(HitSound, hit, 1, HitPitch)
  1817. end
  1818. local Damage = math.random(minim, maxim)
  1819. local blocked = false
  1820. local block = hit.Parent:findFirstChild("Block")
  1821. if block ~= nil and block.className == "IntValue" and block.Value > 0 then
  1822. blocked = true
  1823. block.Value = block.Value - 1
  1824. print(block.Value)
  1825. end
  1826. if blocked == false then
  1827. local HitHealth = h.Health
  1828. h.MaxHealth = 100
  1829. h.Health = h.Health - Damage
  1830. if HitHealth ~= h.Health and HitHealth ~= 0 and 0 >= h.Health and h.Parent.Name ~= "Hologram" then
  1831. print("gained kill")
  1832. dmg(h.Parent)
  1833. end
  1834. ShowDamage(Part.CFrame * CFrame.new(0, 0, Part.Size.Z / 2).p + Vector3.new(0, 1.5, 0), -Damage, 1.5, Part.BrickColor.Color)
  1835. else
  1836. h.Health = h.Health - Damage / 2
  1837. ShowDamage(Part.CFrame * CFrame.new(0, 0, Part.Size.Z / 2).p + Vector3.new(0, 1.5, 0), -Damage, 1.5, Part.BrickColor.Color)
  1838. end
  1839. if Type == "Knockdown" then
  1840. local hum = hit.Parent.Humanoid
  1841. hum.PlatformStand = true
  1842. coroutine.resume(coroutine.create(function(HHumanoid)
  1843. swait(1)
  1844. HHumanoid.PlatformStand = false
  1845. end), hum)
  1846. local angle = hit.Position - (Property.Position + Vector3.new(0, 0, 0)).unit
  1847. local bodvol = Create("BodyVelocity")({
  1848. velocity = angle * knockback,
  1849. P = 5000,
  1850. maxForce = Vector3.new(8000, 8000, 8000),
  1851. Parent = hit
  1852. })
  1853. local rl = Create("BodyAngularVelocity")({
  1854. P = 3000,
  1855. maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000,
  1856. angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)),
  1857. Parent = hit
  1858. })
  1859. game:GetService("Debris"):AddItem(bodvol, 0.5)
  1860. game:GetService("Debris"):AddItem(rl, 0.5)
  1861. elseif Type == "Normal" then
  1862. local vp = Create("BodyVelocity")({
  1863. P = 500,
  1864. maxForce = Vector3.new(math.huge, 0, math.huge),
  1865. velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05
  1866. })
  1867. if knockback > 0 then
  1868. vp.Parent = hit.Parent.Head
  1869. end
  1870. game:GetService("Debris"):AddItem(vp, 0.5)
  1871. elseif Type == "Up" then
  1872. local bodyVelocity = Create("BodyVelocity")({
  1873. velocity = Vector3.new(0, 20, 0),
  1874. P = 5000,
  1875. maxForce = Vector3.new(8000, 8000, 8000),
  1876. Parent = hit
  1877. })
  1878. game:GetService("Debris"):AddItem(bodyVelocity, 0.5)
  1879. local bodyVelocity = Create("BodyVelocity")({
  1880. velocity = Vector3.new(0, 20, 0),
  1881. P = 5000,
  1882. maxForce = Vector3.new(8000, 8000, 8000),
  1883. Parent = hit
  1884. })
  1885. game:GetService("Debris"):AddItem(bodyVelocity, 1)
  1886. elseif Type == "UpKnock" then
  1887. local hum = hit.Parent.Humanoid
  1888. hum.PlatformStand = true
  1889. if hum ~= nil then
  1890. hitr = true
  1891. end
  1892. coroutine.resume(coroutine.create(function(HHumanoid)
  1893. swait(5)
  1894. HHumanoid.PlatformStand = false
  1895. hitr = false
  1896. end), hum)
  1897. local bodyVelocity = Create("BodyVelocity")({
  1898. velocity = Vector3.new(0, 20, 0),
  1899. P = 5000,
  1900. maxForce = Vector3.new(8000, 8000, 8000),
  1901. Parent = hit
  1902. })
  1903. game:GetService("Debris"):AddItem(bodyVelocity, 0.5)
  1904. local bodyVelocity = Create("BodyVelocity")({
  1905. velocity = Vector3.new(0, 20, 0),
  1906. P = 5000,
  1907. maxForce = Vector3.new(8000, 8000, 8000),
  1908. Parent = hit
  1909. })
  1910. game:GetService("Debris"):AddItem(bodyVelocity, 1)
  1911. elseif Type == "Snare" then
  1912. local bp = Create("BodyPosition")({
  1913. P = 2000,
  1914. D = 100,
  1915. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  1916. position = hit.Parent.Torso.Position,
  1917. Parent = hit.Parent.Torso
  1918. })
  1919. game:GetService("Debris"):AddItem(bp, 1)
  1920. elseif Type == "Freeze" then
  1921. local BodPos = Create("BodyPosition")({
  1922. P = 50000,
  1923. D = 1000,
  1924. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  1925. position = hit.Parent.Torso.Position,
  1926. Parent = hit.Parent.Torso
  1927. })
  1928. local BodGy = Create("BodyGyro")({
  1929. maxTorque = Vector3.new(400000, 400000, 400000) * math.huge,
  1930. P = 20000,
  1931. Parent = hit.Parent.Torso,
  1932. cframe = hit.Parent.Torso.CFrame
  1933. })
  1934. hit.Parent.Torso.Anchored = true
  1935. coroutine.resume(coroutine.create(function(Part)
  1936. swait(1.5)
  1937. Part.Anchored = false
  1938. end), hit.Parent.Torso)
  1939. game:GetService("Debris"):AddItem(BodPos, 3)
  1940. game:GetService("Debris"):AddItem(BodGy, 3)
  1941. end
  1942. local debounce = Create("BoolValue")({
  1943. Name = "DebounceHit",
  1944. Parent = hit.Parent,
  1945. Value = true
  1946. })
  1947. game:GetService("Debris"):AddItem(debounce, Delay)
  1948. c = Instance.new("ObjectValue")
  1949. c.Name = "creator"
  1950. c.Value = Player
  1951. c.Parent = h
  1952. game:GetService("Debris"):AddItem(c, 0.5)
  1953. end
  1954. end
  1955. function ShowDamage(Pos, Text, Time, Color)
  1956. local Rate = 0.03333333333333333
  1957. local Pos = Pos or Vector3.new(0, 0, 0)
  1958. local Text = Text or ""
  1959. local Time = Time or 2
  1960. local Color = Color or Color3.new(1, 0, 1)
  1961. local EffectPart = CreatePart(workspace, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", Vector3.new(0, 0, 0))
  1962. EffectPart.Anchored = true
  1963. local BillboardGui = Create("BillboardGui")({
  1964. Size = UDim2.new(3, 0, 3, 0),
  1965. Adornee = EffectPart,
  1966. Parent = EffectPart
  1967. })
  1968. local TextLabel = Create("TextLabel")({
  1969. BackgroundTransparency = 1,
  1970. Size = UDim2.new(1, 0, 1, 0),
  1971. Text = Text,
  1972. TextColor3 = Color,
  1973. TextScaled = true,
  1974. Font = Enum.Font.ArialBold,
  1975. Parent = BillboardGui
  1976. })
  1977. game.Debris:AddItem(EffectPart, Time + 0.1)
  1978. EffectPart.Parent = game:GetService("Workspace")
  1979. delay(0, function()
  1980. local Frames = Time / Rate
  1981. for Frame = 1, Frames do
  1982. wait(Rate)
  1983. local Percent = Frame / Frames
  1984. EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0)
  1985. TextLabel.TextTransparency = Percent
  1986. end
  1987. if EffectPart and EffectPart.Parent then
  1988. EffectPart:Destroy()
  1989. end
  1990. end)
  1991. end
  1992. function MagniDamage(Part, magni, mindam, maxdam, knock, Type)
  1993. for _, c in pairs(workspace:children()) do
  1994. local hum = c:findFirstChildOfClass("Humanoid")
  1995. if hum ~= nil then
  1996. local head = c:findFirstChild("Head")
  1997. if head ~= nil then
  1998. local targ = head.Position - Part.Position
  1999. local mag = targ.magnitude
  2000. if magni >= mag and c.Name ~= Player.Name then
  2001. Damagefunc(head, head, mindam, maxdam, knock, Type, RootPart, 0.1, "rbxassetid://231917784", 1)
  2002. end
  2003. end
  2004. end
  2005. end
  2006. end
  2007.  
  2008. function rayCast(Pos, Dir, Max, Ignore) -- Origin Position , Direction, MaxDistance , IgnoreDescendants
  2009. return game:service("Workspace"):FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore)
  2010. end
  2011.  
  2012. ---- This section of explosions.
  2013.  
  2014. function CameraManager()
  2015. if TwoD and not CamInterrupt then
  2016. if Humanoid.Health > 0 then
  2017. Camera.CameraSubject = Humanoid
  2018. Camera.CameraType = "Scriptable"
  2019. Humanoid.AutoRotate = false
  2020. Directer.MaxTorque = Vec3(0, 0, 0)
  2021. if TargetInfo[1] ~= nil and TargetInfo[2] ~= nil then
  2022. if Booleans.CamFollow then
  2023. CPart.CFrame = cFrame(RootPart.Position, Vec3(TargetInfo[1].Position.X, RootPart.Position.Y, TargetInfo[1].Position.Z))
  2024. Directer.CFrame = cFrame((RootPart.CFrame * cFrame(0, 0, 10)).p, TargetInfo[1].Position)
  2025. else
  2026. CPart.Position = RootPart.Position
  2027. end
  2028. else
  2029. local ahead = (RootPart.CFrame * cFrame(0, 0, -3)).p
  2030. CPart.CFrame = cFrame(RootPart.Position, Vec3(ahead.X, RootPart.Position.Y, ahead.Z))
  2031. end
  2032. Camera.CFrame = lerp(Camera.CFrame, CPart.CFrame * cFrame(25, 3, 0) * Euler(0, radian(90), 0), 0.2)
  2033. else
  2034. Camera.CameraSubject = Humanoid
  2035. Camera.CameraType = "Custom"
  2036. end
  2037. end
  2038. end
  2039.  
  2040. function slash(bonuspeed,rotspeed,rotatingop,typeofshape,type,typeoftrans,pos,scale,value,color)
  2041. local type = type
  2042. local rotenable = rotatingop
  2043. local rng = Instance.new("Part", char)
  2044. rng.Anchored = true
  2045. rng.BrickColor = color
  2046. rng.CanCollide = false
  2047. rng.FormFactor = 3
  2048. rng.Name = "Ring"
  2049. rng.Material = "Neon"
  2050. rng.Size = Vector3.new(1, 1, 1)
  2051. rng.Transparency = 0
  2052. if typeoftrans == "In" then
  2053. rng.Transparency = 1
  2054. end
  2055. rng.TopSurface = 0
  2056. rng.BottomSurface = 0
  2057. rng.CFrame = pos
  2058. local rngm = Instance.new("SpecialMesh", rng)
  2059. rngm.MeshType = "FileMesh"
  2060. if typeofshape == "Normal" then
  2061. rngm.MeshId = "rbxassetid://662586858"
  2062. elseif typeofshape == "Round" then
  2063. rngm.MeshId = "rbxassetid://662585058"
  2064. end
  2065. rngm.Scale = scale
  2066. local scaler2 = 1/10
  2067. if type == "Add" then
  2068. scaler2 = 1*value/10
  2069. elseif type == "Divide" then
  2070. scaler2 = 1/value/10
  2071. end
  2072. local randomrot = math.random(1,2)
  2073. coroutine.resume(coroutine.create(function()
  2074. for i = 0,10/bonuspeed,0.1 do
  2075. swait()
  2076. if type == "Add" then
  2077. scaler2 = scaler2 - 0.01*value/bonuspeed/10
  2078. elseif type == "Divide" then
  2079. scaler2 = scaler2 - 0.01/value*bonuspeed/10
  2080. end
  2081. if rotenable == true then
  2082. if randomrot == 1 then
  2083. rng.CFrame = rng.CFrame*CFrame.Angles(0,math.rad(rotspeed*bonuspeed/2),0)
  2084. elseif randomrot == 2 then
  2085. rng.CFrame = rng.CFrame*CFrame.Angles(0,math.rad(-rotspeed*bonuspeed/2),0)
  2086. end
  2087. end
  2088. if typeoftrans == "Out" then
  2089. rng.Transparency = rng.Transparency + 0.01*bonuspeed
  2090. elseif typeoftrans == "In" then
  2091. rng.Transparency = rng.Transparency - 0.01*bonuspeed
  2092. end
  2093. rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed/10, 0, scaler2*bonuspeed/10)
  2094. end
  2095. rng:Destroy()
  2096. end))
  2097. end
  2098.  
  2099. function Aura(bonuspeed, FastSpeed, type, pos, x1, y1, z1, value, color, outerpos, MType)
  2100. local type = type
  2101. local rng = Instance.new("Part", char)
  2102. rng.Anchored = true
  2103. rng.BrickColor = color
  2104. rng.CanCollide = false
  2105. rng.FormFactor = 3
  2106. rng.Name = "Ring"
  2107. rng.Material = "Neon"
  2108. rng.Size = Vector3.new(1, 1, 1)
  2109. rng.Transparency = 0
  2110. rng.TopSurface = 0
  2111. rng.BottomSurface = 0
  2112. rng.CFrame = pos
  2113. rng.CFrame = rng.CFrame + rng.CFrame.lookVector * outerpos
  2114. local rngm = Instance.new("SpecialMesh", rng)
  2115. rngm.MeshType = MType
  2116. rngm.Scale = Vector3.new(x1, y1, z1)
  2117. local scaler2 = 1
  2118. local speeder = FastSpeed
  2119. if type == "Add" then
  2120. scaler2 = 1 * value
  2121. elseif type == "Divide" then
  2122. scaler2 = 1 / value
  2123. end
  2124. coroutine.resume(coroutine.create(function()
  2125. for i = 0, 10 / bonuspeed, 0.1 do
  2126. swait()
  2127. if type == "Add" then
  2128. scaler2 = scaler2 - 0.01 * value / bonuspeed
  2129. elseif type == "Divide" then
  2130. scaler2 = scaler2 - 0.01 / value * bonuspeed
  2131. end
  2132. speeder = speeder - 0.01 * FastSpeed * bonuspeed
  2133. rng.CFrame = rng.CFrame + rng.CFrame.lookVector * speeder * bonuspeed
  2134. rng.Transparency = rng.Transparency + 0.01 * bonuspeed
  2135. rngm.Scale = rngm.Scale + Vector3.new(scaler2 * bonuspeed, scaler2 * bonuspeed, 0)
  2136. end
  2137. rng:Destroy()
  2138. end))
  2139. end
  2140.  
  2141. function Magic(bonuspeed, type, pos, scale, value, color, MType)
  2142. local type = type
  2143. local rng = Instance.new("Part", char)
  2144. rng.Anchored = true
  2145. rng.BrickColor = color
  2146. rng.CanCollide = false
  2147. rng.FormFactor = 3
  2148. rng.Name = "Ring"
  2149. rng.Material = "Neon"
  2150. rng.Size = Vector3.new(1, 1, 1)
  2151. rng.Transparency = 0
  2152. rng.TopSurface = 0
  2153. rng.BottomSurface = 0
  2154. rng.CFrame = pos
  2155. local rngm = Instance.new("SpecialMesh", rng)
  2156. rngm.MeshType = MType
  2157. rngm.Scale = scale
  2158. local scaler2 = 1
  2159. if type == "Add" then
  2160. scaler2 = 1 * value
  2161. elseif type == "Divide" then
  2162. scaler2 = 1 / value
  2163. end
  2164. coroutine.resume(coroutine.create(function()
  2165. for i = 0, 10 / bonuspeed, 0.1 do
  2166. swait()
  2167. if type == "Add" then
  2168. scaler2 = scaler2 - 0.01 * value / bonuspeed
  2169. elseif type == "Divide" then
  2170. scaler2 = scaler2 - 0.01 / value * bonuspeed
  2171. end
  2172. rng.Transparency = rng.Transparency + 0.01 * bonuspeed
  2173. rngm.Scale = rngm.Scale + Vector3.new(scaler2 * bonuspeed, scaler2 * bonuspeed, scaler2 * bonuspeed)
  2174. end
  2175. rng:Destroy()
  2176. end))
  2177. end
  2178.  
  2179. function MagicCharge(bonuspeed, FastSpeed, type, pos, x1, y1, z1, value, color, outerpos, MType)
  2180. local type = type
  2181. local rng = Instance.new("Part", char)
  2182. rng.Anchored = true
  2183. rng.BrickColor = color
  2184. rng.CanCollide = false
  2185. rng.FormFactor = 3
  2186. rng.Name = "Ring"
  2187. rng.Material = "Neon"
  2188. rng.Size = Vector3.new(1, 1, 1)
  2189. rng.Transparency = 1
  2190. rng.TopSurface = 0
  2191. rng.BottomSurface = 0
  2192. rng.CFrame = pos
  2193. rng.CFrame = rng.CFrame + rng.CFrame.lookVector * outerpos
  2194. local rngm = Instance.new("SpecialMesh", rng)
  2195. rngm.MeshType = MType
  2196. rngm.Scale = Vector3.new(x1, y1, z1)
  2197. local scaler2 = 1
  2198. local speeder = FastSpeed
  2199. if type == "Add" then
  2200. scaler2 = 1 * value
  2201. elseif type == "Divide" then
  2202. scaler2 = 1 / value
  2203. end
  2204. coroutine.resume(coroutine.create(function()
  2205. for i = 0, 10 / bonuspeed, 0.1 do
  2206. swait()
  2207. if type == "Add" then
  2208. scaler2 = scaler2 - 0.01 * value / bonuspeed
  2209. elseif type == "Divide" then
  2210. scaler2 = scaler2 - 0.01 / value * bonuspeed
  2211. end
  2212. speeder = speeder - 0.01 * FastSpeed * bonuspeed
  2213. rng.CFrame = rng.CFrame + rng.CFrame.lookVector * speeder * bonuspeed
  2214. rng.Transparency = rng.Transparency - 0.01 * bonuspeed
  2215. rngm.Scale = rngm.Scale + Vector3.new(scaler2 * bonuspeed, scaler2 * bonuspeed, 0)
  2216. end
  2217. rng:Destroy()
  2218. end))
  2219. end
  2220.  
  2221. function HitboxFunction(Pose, lifetime, siz1, siz2, siz3, Radie, Min, Max, kb, atype)
  2222. local Hitboxpart = Instance.new("Part", EffectModel)
  2223. RemoveOutlines(Hitboxpart)
  2224. Hitboxpart.Size = Vector3.new(siz1, siz2, siz3)
  2225. Hitboxpart.CanCollide = false
  2226. Hitboxpart.Transparency = 1
  2227. Hitboxpart.Anchored = true
  2228. Hitboxpart.CFrame = Pose
  2229. game:GetService("Debris"):AddItem(Hitboxpart, lifetime)
  2230. MagniDamage(Hitboxpart, Radie, Min, Max, kb, atype)
  2231. end
  2232. function BlockEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type)
  2233. local prt = CreatePart1(3, workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  2234. prt.Anchored = true
  2235. prt.CFrame = cframe
  2236. local msh = CreateMesh1("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  2237. game:GetService("Debris"):AddItem(prt, 10)
  2238. if Type == 1 or Type == nil then
  2239. table.insert(Effects, {
  2240. prt,
  2241. "Block1",
  2242. delay,
  2243. x3,
  2244. y3,
  2245. z3,
  2246. msh
  2247. })
  2248. elseif Type == 2 then
  2249. table.insert(Effects, {
  2250. prt,
  2251. "Block2",
  2252. delay,
  2253. x3,
  2254. y3,
  2255. z3,
  2256. msh
  2257. })
  2258. elseif Type == 3 then
  2259. table.insert(Effects, {
  2260. prt,
  2261. "Block3",
  2262. delay,
  2263. x3,
  2264. y3,
  2265. z3,
  2266. msh
  2267. })
  2268. end
  2269. end
  2270.  
  2271. function PixelBlock(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos)
  2272. local type = type
  2273. local rng = Instance.new("Part", char)
  2274. rng.Anchored = true
  2275. rng.BrickColor = color
  2276. rng.CanCollide = false
  2277. rng.FormFactor = 3
  2278. rng.Name = "Ring"
  2279. rng.Material = "Neon"
  2280. rng.Size = Vector3.new(1, 1, 1)
  2281. rng.Transparency = 0
  2282. rng.TopSurface = 0
  2283. rng.BottomSurface = 0
  2284. rng.CFrame = pos
  2285. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos
  2286. local rngm = Instance.new("SpecialMesh", rng)
  2287. rngm.MeshType = "Brick"
  2288. rngm.Scale = vt(x1,y1,z1)
  2289. if rainbowmode == true then
  2290. rng.Color = Color3.new(r/255,g/255,b/255)
  2291. end
  2292. local scaler2 = 1
  2293. local speeder = FastSpeed/10
  2294. if type == "Add" then
  2295. scaler2 = 1*value
  2296. elseif type == "Divide" then
  2297. scaler2 = 1/value
  2298. end
  2299. coroutine.resume(coroutine.create(function()
  2300. for i = 0,10/bonuspeed,0.1 do
  2301. swait()
  2302. if rainbowmode == true then
  2303. rng.Color = Color3.new(r/255,g/255,b/255)
  2304. end
  2305. if type == "Add" then
  2306. scaler2 = scaler2 - 0.01*value/bonuspeed
  2307. elseif type == "Divide" then
  2308. scaler2 = scaler2 - 0.01/value*bonuspeed
  2309. end
  2310. if insanemode == true then
  2311. rng.BrickColor = BrickColor.random()
  2312. end
  2313. speeder = speeder - 0.01*FastSpeed*bonuspeed/10
  2314. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed
  2315. --rng.Transparency = rng.Transparency + 0.01*bonuspeed
  2316. rngm.Scale = rngm.Scale - Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, scaler2*bonuspeed)
  2317. end
  2318. rng:Destroy()
  2319. end))
  2320. end
  2321.  
  2322. function PixelBlockWAO(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos) --Thanks, Star Glitcher!
  2323. local type = type
  2324. local rng = Instance.new("Part", char)
  2325. rng.Anchored = true
  2326. rng.BrickColor = color
  2327. rng.CanCollide = false
  2328. rng.FormFactor = 3
  2329. rng.Name = "Ring"
  2330. rng.Material = "Neon"
  2331. rng.Size = Vector3.new(1, 1, 1)
  2332. rng.Transparency = 0
  2333. rng.TopSurface = 0
  2334. rng.BottomSurface = 0
  2335. rng.CFrame = pos
  2336. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos
  2337. local rngm = Instance.new("SpecialMesh", rng)
  2338. rngm.MeshType = "Brick"
  2339. rngm.Scale = VT(x1,y1,z1)
  2340. local scaler2 = 1
  2341. local speeder = FastSpeed/10
  2342. if type == "Add" then
  2343. scaler2 = 1*value
  2344. elseif type == "Divide" then
  2345. scaler2 = 1/value
  2346. end
  2347. coroutine.resume(coroutine.create(function()
  2348. for i = 0,10/bonuspeed,0.1 do
  2349. swait()
  2350. if type == "Add" then
  2351. scaler2 = scaler2 - 0.01*value/bonuspeed
  2352. elseif type == "Divide" then
  2353. scaler2 = scaler2 - 0.01/value*bonuspeed
  2354. end
  2355. speeder = speeder - 0.01*FastSpeed*bonuspeed/10
  2356. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed
  2357. rng.Transparency = rng.Transparency + 0.01*bonuspeed
  2358. end
  2359. rng:Destroy()
  2360. end))
  2361. end
  2362.  
  2363. function dmg(dude)
  2364. if dude.Name ~= Character then
  2365. local keptcolor = MAINRUINCOLOR
  2366. local bgf = Instance.new("BodyGyro",dude.Head)
  2367. bgf.CFrame = bgf.CFrame * CFrame.fromEulerAnglesXYZ(math.rad(-90),0,0)
  2368. --[[local val = Instance.new("BoolValue",dude)
  2369. val.Name = "IsHit"]]--
  2370. local ds = coroutine.wrap(function()
  2371. dude:WaitForChild("Head"):BreakJoints()
  2372. for i, v in pairs(dude:GetChildren()) do
  2373. if v:IsA("Part") or v:IsA("MeshPart") then
  2374. v.Name = "DEMINISHED"
  2375. end
  2376. end
  2377. wait(0.5)
  2378. targetted = nil
  2379. CFuncs["Sound"].Create("rbxassetid://62339698", char, 0.75, 0.285)
  2380. coroutine.resume(coroutine.create(function()
  2381. for i, v in pairs(dude:GetChildren()) do
  2382. if v:IsA("Accessory") then
  2383. v:Destroy()
  2384. end
  2385. if v:IsA("Humanoid") then
  2386. v:Destroy()
  2387. end
  2388. if v:IsA("CharacterMesh") then
  2389. v:Destroy()
  2390. end
  2391. if v:IsA("Model") then
  2392. v:Destroy()
  2393. end
  2394. if v:IsA("Part") or v:IsA("MeshPart") then
  2395. for x, o in pairs(v:GetChildren()) do
  2396. if o:IsA("Decal") then
  2397. o:Destroy()
  2398. end
  2399. end
  2400. coroutine.resume(coroutine.create(function()
  2401. v.Material = "Neon"
  2402. v.CanCollide = false
  2403. v.Anchored = false
  2404. local bld = Instance.new("ParticleEmitter",v)
  2405. bld.LightEmission = 0.75
  2406. bld.Texture = "rbxassetid://363275192" ---284205403
  2407. bld.Color = ColorSequence.new(keptcolor.Color)
  2408. bld.Rate = 500
  2409. bld.Lifetime = NumberRange.new(1)
  2410. bld.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,2,0),NumberSequenceKeypoint.new(0.8,2.25,0),NumberSequenceKeypoint.new(1,0,0)})
  2411. bld.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.5,0),NumberSequenceKeypoint.new(0.8,0.75,0),NumberSequenceKeypoint.new(1,1,0)})
  2412. bld.Speed = NumberRange.new(2,5)
  2413. bld.VelocitySpread = 50000
  2414. bld.Rotation = NumberRange.new(-500,500)
  2415. bld.RotSpeed = NumberRange.new(-500,500)
  2416. local sbs = Instance.new("BodyPosition", v)
  2417. sbs.P = 3000
  2418. sbs.D = 1000
  2419. sbs.maxForce = Vector3.new(50000000000, 50000000000, 50000000000)
  2420. sbs.position = v.Position + Vector3.new(math.random(-2,2),10 + math.random(-2,2),math.random(-2,2))
  2421. v.Color = keptcolor.Color
  2422. coroutine.resume(coroutine.create(function()
  2423. for i = 0, 49 do
  2424. swait(1)
  2425. v:BreakJoints()
  2426. v.Transparency = v.Transparency + 0.02
  2427. end
  2428. v:BreakJoints()
  2429. sphere2(1,"Add",v.CFrame,vt(0,0,0),0.1,0.1,0.1,keptcolor)
  2430. CFuncs["Sound"].Create("rbxassetid://1192402877", v, 0.5, 0.75)
  2431. bld.Speed = NumberRange.new(10,25)
  2432. bld.Drag = 5
  2433. bld.Acceleration = vt(0,2,0)
  2434. wait(0.5)
  2435. bld.Enabled = false
  2436. wait(8)
  2437. v:Destroy()
  2438. dude:Destroy()
  2439. end))
  2440. end))
  2441. end
  2442. end
  2443. end))
  2444. end)
  2445. ds()
  2446. end
  2447. end
  2448.  
  2449.  
  2450. function FindNearestHead(Position, Distance, SinglePlayer)
  2451. if SinglePlayer then
  2452. return (SinglePlayer.Torso.CFrame.p - Position).magnitude < Distance
  2453. end
  2454. local List = {}
  2455. for i, v in pairs(workspace:GetChildren()) do
  2456. if v:IsA("Model") then
  2457. if v:findFirstChild("Head") then
  2458. if v ~= Character then
  2459. if (v.Head.Position - Position).magnitude <= Distance then
  2460. table.insert(List, v)
  2461. end
  2462. end
  2463. end
  2464. end
  2465. end
  2466. return List
  2467. end
  2468.  
  2469. local ModeOfGlitch = 1
  2470.  
  2471. function sphere(bonuspeed,type,pos,scale,value,color)
  2472. local type = type
  2473. local rng = Instance.new("Part", char)
  2474. rng.Anchored = true
  2475. rng.BrickColor = color
  2476. rng.CanCollide = false
  2477. rng.FormFactor = 3
  2478. rng.Name = "Ring"
  2479. rng.Material = "Neon"
  2480. rng.Size = Vector3.new(1, 1, 1)
  2481. rng.Transparency = 0
  2482. rng.TopSurface = 0
  2483. rng.BottomSurface = 0
  2484. rng.CFrame = pos
  2485. local rngm = Instance.new("SpecialMesh", rng)
  2486. rngm.MeshType = "Sphere"
  2487. rngm.Scale = scale
  2488. if rainbowmode == true then
  2489. rng.Color = Color3.new(r/255,g/255,b/255)
  2490. end
  2491. local scaler2 = 1
  2492. if type == "Add" then
  2493. scaler2 = 1*value
  2494. elseif type == "Divide" then
  2495. scaler2 = 1/value
  2496. end
  2497. coroutine.resume(coroutine.create(function()
  2498. for i = 0,10/bonuspeed,0.1 do
  2499. swait()
  2500. if rainbowmode == true then
  2501. rng.Color = Color3.new(r/255,g/255,b/255)
  2502. end
  2503. if type == "Add" then
  2504. scaler2 = scaler2 - 0.01*value/bonuspeed
  2505. elseif type == "Divide" then
  2506. scaler2 = scaler2 - 0.01/value*bonuspeed
  2507. end
  2508. if insanemode == true then
  2509. rng.BrickColor = BrickColor.random()
  2510. end
  2511. rng.Transparency = rng.Transparency + 0.01*bonuspeed
  2512. rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, scaler2*bonuspeed)
  2513. end
  2514. rng:Destroy()
  2515. end))
  2516. end
  2517.  
  2518. function sphere2(bonuspeed,type,pos,scale,value,value2,value3,color)
  2519. local type = type
  2520. local rng = Instance.new("Part", char)
  2521. rng.Anchored = true
  2522. rng.BrickColor = color
  2523. rng.CanCollide = false
  2524. rng.FormFactor = 3
  2525. rng.Name = "Ring"
  2526. rng.Material = "Neon"
  2527. rng.Size = Vector3.new(1, 1, 1)
  2528. rng.Transparency = 0
  2529. rng.TopSurface = 0
  2530. rng.BottomSurface = 0
  2531. rng.CFrame = pos
  2532. local rngm = Instance.new("SpecialMesh", rng)
  2533. rngm.MeshType = "Sphere"
  2534. rngm.Scale = scale
  2535. local scaler2 = 1
  2536. local scaler2b = 1
  2537. local scaler2c = 1
  2538. if type == "Add" then
  2539. scaler2 = 1*value
  2540. scaler2b = 1*value2
  2541. scaler2c = 1*value3
  2542. elseif type == "Divide" then
  2543. scaler2 = 1/value
  2544. scaler2b = 1/value2
  2545. scaler2c = 1/value3
  2546. end
  2547. coroutine.resume(coroutine.create(function()
  2548. for i = 0,10/bonuspeed,0.1 do
  2549. swait()
  2550. if type == "Add" then
  2551. scaler2 = scaler2 - 0.01*value/bonuspeed
  2552. scaler2b = scaler2b - 0.01*value/bonuspeed
  2553. scaler2c = scaler2c - 0.01*value/bonuspeed
  2554. elseif type == "Divide" then
  2555. scaler2 = scaler2 - 0.01/value*bonuspeed
  2556. scaler2b = scaler2b - 0.01/value*bonuspeed
  2557. scaler2c = scaler2c - 0.01/value*bonuspeed
  2558. end
  2559. rng.Transparency = rng.Transparency + 0.01*bonuspeed
  2560. rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2b*bonuspeed, scaler2c*bonuspeed)
  2561. end
  2562. rng:Destroy()
  2563. end))
  2564. end
  2565.  
  2566. function sphereMK(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos)
  2567. local type = type
  2568. local rng = Instance.new("Part", char)
  2569. rng.Anchored = true
  2570. rng.BrickColor = color
  2571. rng.CanCollide = false
  2572. rng.FormFactor = 3
  2573. rng.Name = "Ring"
  2574. rng.Material = "Neon"
  2575. rng.Size = Vector3.new(1, 1, 1)
  2576. rng.Transparency = 0
  2577. rng.TopSurface = 0
  2578. rng.BottomSurface = 0
  2579. rng.CFrame = pos
  2580. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos
  2581. local rngm = Instance.new("SpecialMesh", rng)
  2582. rngm.MeshType = "Sphere"
  2583. rngm.Scale = vt(x1,y1,z1)
  2584. if rainbowmode == true then
  2585. rng.Color = Color3.new(r/255,g/255,b/255)
  2586. end
  2587. local scaler2 = 1
  2588. local speeder = FastSpeed
  2589. if type == "Add" then
  2590. scaler2 = 1*value
  2591. elseif type == "Divide" then
  2592. scaler2 = 1/value
  2593. end
  2594. coroutine.resume(coroutine.create(function()
  2595. for i = 0,10/bonuspeed,0.1 do
  2596. swait()
  2597. if rainbowmode == true then
  2598. rng.Color = Color3.new(r/255,g/255,b/255)
  2599. end
  2600. if type == "Add" then
  2601. scaler2 = scaler2 - 0.01*value/bonuspeed
  2602. elseif type == "Divide" then
  2603. scaler2 = scaler2 - 0.01/value*bonuspeed
  2604. end
  2605. if insanemode == true then
  2606. rng.BrickColor = BrickColor.random()
  2607. end
  2608. speeder = speeder - 0.01*FastSpeed*bonuspeed
  2609. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed
  2610. rng.Transparency = rng.Transparency + 0.01*bonuspeed
  2611. rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, 0)
  2612. end
  2613. rng:Destroy()
  2614. end))
  2615. end
  2616.  
  2617. -- Functions are ready.
  2618. local storehumanoidWS = 16
  2619.  
  2620. function createBGCircle(size,parent,color)
  2621. local bgui = Instance.new("BillboardGui",parent)
  2622. bgui.Size = UDim2.new(size, 0, size, 0)
  2623. local imgc = Instance.new("ImageLabel",bgui)
  2624. imgc.BackgroundTransparency = 1
  2625. imgc.ImageTransparency = 0
  2626. imgc.Size = UDim2.new(1,0,1,0)
  2627. imgc.Image = "rbxassetid://997291547" --997291547,521073910
  2628. imgc.ImageColor3 = color
  2629. return bgui,imgc
  2630. end
  2631.  
  2632. function symbolizeBlink(guipar,size,img,color,bonussize,vol,pit,soundid,spar,rotationenabled,rotsp,delay)
  2633. local bgui,imgc = createBGCircle(size,guipar,color)
  2634. bgui.AlwaysOnTop = true
  2635. imgc.Image = "rbxassetid://" ..img
  2636. local rrot = math.random(1,2)
  2637. CFuncs["Sound"].Create("rbxassetid://" ..soundid, spar, vol,pit)
  2638. coroutine.resume(coroutine.create(function()
  2639. for i = 0, 24*delay do
  2640. swait()
  2641. if rotationenabled == true then
  2642. if rrot == 1 then
  2643. imgc.Rotation = imgc.Rotation + rotsp
  2644. elseif rrot == 2 then
  2645. imgc.Rotation = imgc.Rotation - rotsp
  2646. end
  2647. end
  2648. bgui.Size = bgui.Size + UDim2.new(1*bonussize/delay,0,1*bonussize/delay,0)
  2649. imgc.ImageTransparency = imgc.ImageTransparency + 0.04/delay
  2650. end
  2651. bgui:Destroy()
  2652. end))
  2653. end
  2654.  
  2655. function RecolorThing(one,two,three,four,five,secondaryenabled)
  2656. for i, v in pairs(mw2:GetChildren()) do
  2657. if v:IsA("Part") then
  2658. v.BrickColor = one
  2659. v.Material = "Neon"
  2660. end
  2661. end
  2662. CFuncs["EchoSound"].Create("rbxassetid://743499393", char, 10, 1.05,0,10,0.15,0.5,1)
  2663. symbolizeBlink(root,0,2092248396,one.Color,5,3,1,847061203,root,true,10,1)
  2664. symbolizeBlink(root,0,2092248396,one.Color,4,0,0,0,root,true,-5,1)
  2665. tr1.Color = ColorSequence.new(one.Color)
  2666. tr2.Color = ColorSequence.new(one.Color)
  2667. tr3.Color = ColorSequence.new(one.Color)
  2668. tr4.Color = ColorSequence.new(one.Color)
  2669. for i, v in pairs(mw1:GetChildren()) do
  2670. if v:IsA("Part") then
  2671. if secondaryenabled == false then
  2672. v.Transparency = 1
  2673. elseif secondaryenabled == true then
  2674. v.Transparency = 0
  2675. end
  2676. v.BrickColor = two
  2677. v.Material = "Neon"
  2678. end
  2679. end
  2680. if secondaryenabled == false then
  2681. tl1.Enabled = false
  2682. tl2.Enabled = false
  2683. tl3.Enabled = false
  2684. tl4.Enabled = false
  2685. elseif secondaryenabled == true then
  2686. tl1.Enabled = true
  2687. tl2.Enabled = true
  2688. tl3.Enabled = true
  2689. tl4.Enabled = true
  2690. end
  2691. refec.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  2692. tl1.Color = ColorSequence.new(two.Color)
  2693. tl2.Color = ColorSequence.new(two.Color)
  2694. tl3.Color = ColorSequence.new(two.Color)
  2695. tl4.Color = ColorSequence.new(two.Color)
  2696. for i, v in pairs(m:GetChildren()) do
  2697. if v:IsA("Part") then
  2698. v.BrickColor = three
  2699. v.Material = "Ice"
  2700. end
  2701. end
  2702. for i, v in pairs(m2:GetChildren()) do
  2703. if v:IsA("Part") then
  2704. v.BrickColor = four
  2705. v.Material = "Ice"
  2706. end
  2707. end
  2708. for i, v in pairs(m3:GetChildren()) do
  2709. if v:IsA("Part") then
  2710. v.BrickColor = five
  2711. v.Material = "Neon"
  2712. end
  2713. end
  2714. end
  2715.  
  2716. function resetmode()
  2717. ModeOfGlitch = 1
  2718. storehumanoidWS = 16
  2719. hum.WalkSpeed = 16
  2720. rainbowmode = false
  2721. insanemode = false
  2722. newTheme("rbxassetid://1547042045",0,1,1.25)
  2723. RecolorTextAndRename("Normal",Color3.fromRGB(0, 0, 0),Color3.fromRGB(40, 127, 71),"Fantasy")
  2724. MAINRUINCOLOR = BrickColor.new("Lime green")
  2725. RecolorThing(MAINRUINCOLOR,BrickC("Really black"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,true)
  2726. end
  2727.  
  2728. function attackone()
  2729. attack = true
  2730. CFuncs["Sound"].Create("rbxassetid://136007472", root, 5, 1.5)
  2731. for i = 0,2,0.1 do
  2732. swait()
  2733. sphereMK(2.5,-1.5,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),3.5,3.5,45,-0.035,MAINRUINCOLOR,100)
  2734. slash(math.random(30,60)/10,5,true,"Round","Add","In",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.5,0.01,0.5),-0.5,MAINRUINCOLOR)
  2735. RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(30)),.2)
  2736. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-30)),.2)
  2737. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.3,-0.15)*angles(math.rad(30),math.rad(0),math.rad(0)),.2)
  2738. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(30),math.rad(0),math.rad(0 - 5 * math.cos(sine / 0.2))),.2)
  2739. RW.C0=clerp(RW.C0,cf(1.05,0.4,-0.5)*angles(math.rad(140),math.rad(0),math.rad(-50)),.2)
  2740. LW.C0=clerp(LW.C0,cf(-1.05,0.4,-0.5)*angles(math.rad(140),math.rad(0),math.rad(50)),.2)
  2741. end
  2742. for i = 0, 24 do
  2743. sphere2(2,"Add",tors.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(1,1,1),-0.01,7,-0.01,MAINRUINCOLOR)
  2744. slash(math.random(10,30)/10,5,true,"Round","Add","Out",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.01,0.01,0.01),math.random(150,350)/250,BrickColor.new("White"))
  2745. end
  2746. for i, v in pairs(FindNearestHead(Torso.CFrame.p, 52.5)) do
  2747. if v:FindFirstChild('Torso') then
  2748. dmg(v)
  2749. end
  2750. end
  2751. for i = 0, 24 do
  2752. sphere2(2,"Add",tors.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(1,1,1),-0.01,7,-0.01,MAINRUINCOLOR)
  2753. slash(math.random(10,30)/10,5,true,"Round","Add","Out",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.01,0.01,0.01),math.random(150,350)/250,BrickColor.new("White"))
  2754. end
  2755. CFuncs["Sound"].Create("rbxassetid://206082327", root, 7.5,1)
  2756. CFuncs["Sound"].Create("rbxassetid://847061203", root, 10,1)
  2757. CFuncs["Sound"].Create("rbxassetid://239000203", root, 7.5,1)
  2758. CFuncs["Sound"].Create("rbxassetid://579687077", root, 7.5,0.75)
  2759. CFuncs["Sound"].Create("rbxassetid://1368637781", root, 10,1)
  2760. CFuncs["Sound"].Create("rbxassetid://763718160", root, 7.5, 1.1)
  2761. CFuncs["Sound"].Create("rbxassetid://782353443", root, 7.5, 1)
  2762. for i = 0,2,0.1 do
  2763. swait()
  2764. RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-30)),.5)
  2765. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(30)),.5)
  2766. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.3,-0.15)*angles(math.rad(-30),math.rad(0),math.rad(0)),.5)
  2767. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-30),math.rad(0),math.rad(0 - 2.5 * math.cos(sine / 0.2))),.5)
  2768. RW.C0=clerp(RW.C0,cf(1.45,0.4,0)*angles(math.rad(-20),math.rad(0 - 2 * math.cos(sine / 0.2)),math.rad(80 + 2 * math.cos(sine / 0.2))),.5)
  2769. LW.C0=clerp(LW.C0,cf(-1.45,0.4,0)*angles(math.rad(-20),math.rad(0 + 2 * math.cos(sine / 0.2)),math.rad(-80 - 2 * math.cos(sine / 0.2))),.5)
  2770. end
  2771. attack = false
  2772. end
  2773.  
  2774. function attacktwo()
  2775. attack = true
  2776. hum.WalkSpeed = 2
  2777. local keptcolor = MAINRUINCOLOR
  2778. CFuncs["Sound"].Create("rbxassetid://847061203", root, 2, 1)
  2779. sphere2(5,"Add",rarm.CFrame*CFrame.new(0,-2,0)*CFrame.Angles(math.rad(90),0,0),vt(1,1,1),0.1,0.1,0.1,keptcolor,keptcolor.Color)
  2780. sphere2(5,"Add",rarm.CFrame*CFrame.new(0,-2,0)*CFrame.Angles(math.rad(90),0,0),vt(1,1,1),0.2,0.2,0.2,keptcolor,keptcolor.Color)
  2781. for i = 0, 14 do
  2782. PixelBlock(1,math.random(1,3),"Add",rarm.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),1,1,1,0.02,keptcolor,0)
  2783. end
  2784. for i = 0,1,0.1 do
  2785. swait()
  2786. sphere2(8,"Add",larm.CFrame*CFrame.new(0,-2,0)*CFrame.Angles(math.rad(90),0,0),vt(2.25,0.1,2.25),0.01,0.01,0.01,keptcolor,keptcolor.Color)
  2787. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-5)),.3)
  2788. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(30),math.rad(0)),.3)
  2789. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(60)),.3)
  2790. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-30)),.3)
  2791. RW.C0=clerp(RW.C0,cf(1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(-60)),.3)
  2792. LW.C0=clerp(LW.C0,cf(-1.15,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(-10)),.3)
  2793. end
  2794. for i = 0, 1 do
  2795. CFuncs["Sound"].Create("rbxassetid://763755889", root, 3,1.1)
  2796. for i = 0,1,0.6 do
  2797. swait()
  2798. sphere2(8,"Add",rarm.CFrame*CFrame.new(0,-2,0)*CFrame.Angles(math.rad(90),0,0),vt(2.25,0.1,2.25),0.01,0.01,0.01,keptcolor,keptcolor.Color)
  2799. slash(math.random(15,30)/10,5,true,"Round","Add","Out",root.CFrame*CFrame.Angles(math.rad(math.random(-5,5)),math.rad(math.random(-5,5)),math.rad(math.random(-5,5))),vt(0.05,0.01,0.05),math.random(25,75)/250,BrickColor.new("White"))
  2800. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-5)),.6)
  2801. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(30),math.rad(0)),.6)
  2802. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.6)
  2803. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-30)),.6)
  2804. RW.C0=clerp(RW.C0,cf(1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(-60)),.6)
  2805. LW.C0=clerp(LW.C0,cf(-1.15,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(-10)),.6)
  2806. end
  2807. for i = 0,1,0.6 do
  2808. swait()
  2809. sphere2(8,"Add",rarm.CFrame*CFrame.new(0,-2,0)*CFrame.Angles(math.rad(90),0,0),vt(2.25,0.1,2.25),0.01,0.01,0.01,keptcolor,keptcolor.Color)
  2810. slash(math.random(15,30)/10,5,true,"Round","Add","Out",root.CFrame*CFrame.Angles(math.rad(math.random(-5,5)),math.rad(math.random(-5,5)),math.rad(math.random(-5,5))),vt(0.05,0.01,0.05),math.random(25,75)/250,BrickColor.new("White"))
  2811. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-5)),.6)
  2812. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(30),math.rad(0)),.6)
  2813. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),.6)
  2814. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-30)),.6)
  2815. RW.C0=clerp(RW.C0,cf(1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(-60)),.6)
  2816. LW.C0=clerp(LW.C0,cf(-1.15,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(-10)),.6)
  2817. end
  2818. for i = 0,1,0.6 do
  2819. swait()
  2820. sphere2(8,"Add",rarm.CFrame*CFrame.new(0,-2,0)*CFrame.Angles(math.rad(90),0,0),vt(2.25,0.1,2.25),0.01,0.01,0.01,keptcolor,keptcolor.Color)
  2821. slash(math.random(15,30)/10,5,true,"Round","Add","Out",root.CFrame*CFrame.Angles(math.rad(math.random(-5,5)),math.rad(math.random(-5,5)),math.rad(math.random(-5,5))),vt(0.05,0.01,0.05),math.random(25,75)/250,BrickColor.new("White"))
  2822. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-5)),.6)
  2823. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(30),math.rad(0)),.6)
  2824. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(-180)),.6)
  2825. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-30)),.6)
  2826. RW.C0=clerp(RW.C0,cf(1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(-60)),.6)
  2827. LW.C0=clerp(LW.C0,cf(-1.15,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(-10)),.6)
  2828. end
  2829. for i = 0,1,0.6 do
  2830. swait()
  2831. sphere2(8,"Add",rarm.CFrame*CFrame.new(0,-2,0)*CFrame.Angles(math.rad(90),0,0),vt(2.25,0.1,2.25),0.01,0.01,0.01,keptcolor,keptcolor.Color)
  2832. slash(math.random(15,30)/10,5,true,"Round","Add","Out",root.CFrame*CFrame.Angles(math.rad(math.random(-5,5)),math.rad(math.random(-5,5)),math.rad(math.random(-5,5))),vt(0.05,0.01,0.05),math.random(25,75)/250,BrickColor.new("White"))
  2833. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-5)),.6)
  2834. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(30),math.rad(0)),.6)
  2835. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(-270)),.6)
  2836. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-30)),.6)
  2837. RW.C0=clerp(RW.C0,cf(1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(-60)),.6)
  2838. LW.C0=clerp(LW.C0,cf(-1.15,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(-10)),.6)
  2839. end
  2840. local rot = 0
  2841. local dis = CreateParta(char,0.5,1,"Neon",keptcolor)
  2842. CFuncs["EchoSound"].Create("rbxassetid://763718160", dis, 3, 1.1,0,10,0.15,0.5,1)
  2843. dis.CFrame = root.CFrame*CFrame.new(0,2,-3)
  2844. CreateMesh(dis,"Sphere",10,1,10)
  2845. local at1 = Instance.new("Attachment",dis)
  2846. at1.Position = vt(-5,0,0)
  2847. local at2 = Instance.new("Attachment",dis)
  2848. at2.Position = vt(5,0,0)
  2849. local trl = Instance.new('Trail',wed)
  2850. trl.Attachment0 = at1
  2851. trl.Attachment1 = at2
  2852. trl.Texture = "rbxassetid://1049219073"
  2853. trl.LightEmission = 1
  2854. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  2855. trl.Color = ColorSequence.new(dis.Color)
  2856. trl.Lifetime = 0.6
  2857. local a = Instance.new("Part",workspace)
  2858. a.Name = "Direction"
  2859. a.Anchored = true
  2860. a.BrickColor = bc("Bright red")
  2861. a.Material = "Neon"
  2862. a.Transparency = 1
  2863. a.CanCollide = false
  2864. local ray = Ray.new(
  2865. dis.CFrame.p, -- origin
  2866. (mouse.Hit.p - dis.CFrame.p).unit * 500 -- direction
  2867. )
  2868. local ignore = dis
  2869. local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  2870. a.BottomSurface = 10
  2871. a.TopSurface = 10
  2872. local distance = (dis.CFrame.p - position).magnitude
  2873. a.Size = Vector3.new(0.1, 0.1, 0.1)
  2874. a.CFrame = CFrame.new(dis.CFrame.p, position) * CFrame.new(0, 0, 0)
  2875. dis.CFrame = a.CFrame
  2876. dis.CFrame = dis.CFrame*CFrame.Angles(0,math.rad(rot),0)
  2877. a:Destroy()
  2878. local bv = Instance.new("BodyVelocity")
  2879. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  2880. bv.velocity = dis.CFrame.lookVector*250
  2881. bv.Parent = dis
  2882. game:GetService("Debris"):AddItem(dis, 5)
  2883. local hitted = false
  2884. coroutine.resume(coroutine.create(function()
  2885. dis.Touched:connect(function(hit)
  2886. if hitted == false and hit.Parent ~= char then
  2887. hitted = true
  2888. CFuncs["EchoSound"].Create("rbxassetid://782200047", dis, 7, 1.1,0,10,0.15,0.5,1)
  2889. MagniDamage(dis, 30, 33,56, 0, "Normal")
  2890. sphere2(8,"Add",dis.CFrame,vt(10,1,10),1,0.1,1,keptcolor,keptcolor.Color)
  2891. sphere2(4,"Add",dis.CFrame,vt(1,1,1),0.5,0.5,0.5,keptcolor,keptcolor.Color)
  2892. sphere2(3,"Add",dis.CFrame,vt(1,1,1),0.5,0.5,0.5,keptcolor,keptcolor.Color)
  2893. coroutine.resume(coroutine.create(function()
  2894. local eff = Instance.new("ParticleEmitter",dis)
  2895. eff.Texture = "rbxassetid://2344870656"
  2896. eff.LightEmission = 1
  2897. eff.Color = ColorSequence.new(dis.Color)
  2898. eff.Rate = 10000000
  2899. eff.Enabled = true
  2900. eff.EmissionDirection = "Front"
  2901. eff.Lifetime = NumberRange.new(1)
  2902. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,75,0),NumberSequenceKeypoint.new(0.1,20,0),NumberSequenceKeypoint.new(0.8,40,0),NumberSequenceKeypoint.new(1,60,0)})
  2903. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.8,0),NumberSequenceKeypoint.new(0.5,0,0),NumberSequenceKeypoint.new(1,1,0)})
  2904. eff.Speed = NumberRange.new(150)
  2905. eff.Drag = 5
  2906. eff.Rotation = NumberRange.new(-500,500)
  2907. eff.SpreadAngle = Vector2.new(0,900)
  2908. eff.RotSpeed = NumberRange.new(-500,500)
  2909. wait(0.2)
  2910. eff.Enabled = false
  2911. end))
  2912. coroutine.resume(coroutine.create(function()
  2913. for i = 0, 9 do
  2914. local disr = CreateParta(char,1,1,"Neon",keptcolor)
  2915. disr.CFrame = dis.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))
  2916. local at1 = Instance.new("Attachment",disr)
  2917. at1.Position = vt(-5,0,0)
  2918. local at2 = Instance.new("Attachment",disr)
  2919. at2.Position = vt(5,0,0)
  2920. local trl = Instance.new('Trail',disr)
  2921. trl.Attachment0 = at1
  2922. trl.FaceCamera = true
  2923. trl.Attachment1 = at2
  2924. trl.Texture = "rbxassetid://2342682798"
  2925. trl.LightEmission = 1
  2926. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  2927. trl.Color = ColorSequence.new(keptcolor.Color)
  2928. trl.Lifetime = 0.5
  2929. local bv = Instance.new("BodyVelocity")
  2930. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  2931. bv.velocity = disr.CFrame.lookVector*math.random(50,200)
  2932. bv.Parent = disr
  2933. local val = 0
  2934. coroutine.resume(coroutine.create(function()
  2935. swait(30)
  2936. for i = 0, 9 do
  2937. swait()
  2938. val = val + 0.1
  2939. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, val),NumberSequenceKeypoint.new(1, 1)})
  2940. end
  2941. game:GetService("Debris"):AddItem(disr, 3)
  2942. end))
  2943. end
  2944. local eff = Instance.new("ParticleEmitter",dis)
  2945. eff.Texture = "rbxassetid://2273224484"
  2946. eff.LightEmission = 1
  2947. eff.Color = ColorSequence.new(keptcolor.Color)
  2948. eff.Rate = 500000
  2949. eff.Lifetime = NumberRange.new(0.5,2)
  2950. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,20,0),NumberSequenceKeypoint.new(0.2,2,0),NumberSequenceKeypoint.new(0.8,2,0),NumberSequenceKeypoint.new(1,0,0)})
  2951. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(0.1,0,0),NumberSequenceKeypoint.new(0.8,0,0),NumberSequenceKeypoint.new(1,1,0)})
  2952. eff.Speed = NumberRange.new(20,250)
  2953. eff.Drag = 5
  2954. eff.Rotation = NumberRange.new(-500,500)
  2955. eff.VelocitySpread = 9000
  2956. eff.RotSpeed = NumberRange.new(-50,50)
  2957. wait(0.25)
  2958. eff.Enabled = false
  2959. end))
  2960. for i = 0, 9 do
  2961. slash(math.random(10,20)/10,5,true,"Round","Add","Out",dis.CFrame*CFrame.Angles(math.rad(math.random(-5,5)),math.rad(math.random(-5,5)),math.rad(math.random(-5,5))),vt(0.01,0.01,0.01),math.random(100,200)/250,BrickColor.new("White"))
  2962. end
  2963. for i = 0, 19 do
  2964. PixelBlock(1,math.random(5,20),"Add",dis.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),4,4,4,0.08,keptcolor,0)
  2965. end
  2966. coroutine.resume(coroutine.create(function()
  2967. for i = 0, 19 do
  2968. swait()
  2969. hum.CameraOffset = vt(math.random(-10,10)/70,math.random(-10,10)/70,math.random(-10,10)/70)
  2970. end
  2971. hum.CameraOffset = vt(0,0,0)
  2972. end))
  2973. dis.Anchored = true
  2974. dis.Transparency = 1
  2975. wait(8)
  2976. dis:Destroy()
  2977. end
  2978. end)
  2979. end))
  2980. rot = rot - 15
  2981. end
  2982. for i = 0,2,0.1 do
  2983. swait()
  2984. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(-30),math.rad(0)),.3)
  2985. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(5)),.3)
  2986. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(-60)),.3)
  2987. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10),math.rad(0),math.rad(50)),.3)
  2988. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(60)),.3)
  2989. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(-10)),.3)
  2990. end
  2991. attack = false
  2992. hum.WalkSpeed = storehumanoidWS
  2993. end
  2994.  
  2995. function attackthree()
  2996. attack = true
  2997. local keptcolor = MAINRUINCOLOR
  2998. CFuncs["Sound"].Create("rbxassetid://136007472", root, 2, 1.5)
  2999. for i = 0,2,0.1 do
  3000. swait()
  3001. sphere2(5,"Add",larm.CFrame*CFrame.new(0,-1.5,0),vt(1,1,1),0.025,0.025,0.025,MAINRUINCOLOR,MAINRUINCOLOR.Color)
  3002. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(10),math.rad(0),math.rad(50)),0.3)
  3003. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(-50)),.3)
  3004. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(80), math.rad(10), math.rad(60)), 0.3)
  3005. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(140), math.rad(0), math.rad(-70)), 0.3)
  3006. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-1.5),math.rad(-50),math.rad(-10)),.3)
  3007. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(40)),.3)
  3008. end
  3009. CFuncs["Sound"].Create("rbxassetid://763716870", root, 3,1)
  3010. CFuncs["Sound"].Create("rbxassetid://782353443", root, 5,0.9)
  3011. CFuncs["Sound"].Create("rbxassetid://782225570", root, 4,0.5)
  3012. CFuncs["Sound"].Create("rbxassetid://763717569", root, 3,1)
  3013. sphere2(5,"Add",root.CFrame,vt(1,1,1),1,1,1,MAINRUINCOLOR)
  3014. sphere2(5,"Add",root.CFrame,vt(1,1,1),0.5,0.5,0.5,MAINRUINCOLOR)
  3015. for i = 0, 24 do
  3016. slash(math.random(10,50)/10,5,true,"Round","Add","Out",root.CFrame*CFrame.Angles(math.rad(90),math.rad(math.random(-360,360)),math.rad(0)),vt(0.01,0.01,0.01),math.random(50,200)/250,BrickColor.new("White"))
  3017. end
  3018. for i = 0,4,0.1 do
  3019. swait()
  3020. root.CFrame = root.CFrame + root.CFrame.lookVector*5
  3021. local dis = CreateParta(char,0.25,1,"Neon",MAINRUINCOLOR)
  3022. CreateMesh(dis,"Sphere",1,1,1)
  3023. dis.Anchored = true
  3024. dis.CFrame = larm.CFrame*CFrame.new(0,-3,0)
  3025. sphere2(5,"Add",dis.CFrame,vt(1,1,1),0.1,0.1,0.1,dis.BrickColor,dis.Color)
  3026. coroutine.resume(coroutine.create(function()
  3027. swait(30)
  3028. dis.Transparency = 1
  3029. coroutine.resume(coroutine.create(function()
  3030. for i = 0, 19 do
  3031. swait()
  3032. hum.CameraOffset = vt(math.random(-10,10)/40,math.random(-10,10)/40,math.random(-10,10)/40)
  3033. end
  3034. hum.CameraOffset = vt(0,0,0)
  3035. end))
  3036. coroutine.resume(coroutine.create(function()
  3037. local eff = Instance.new("ParticleEmitter",dis)
  3038. eff.Texture = "rbxassetid://2273224484"
  3039. eff.LightEmission = 1
  3040. eff.Color = ColorSequence.new(dis.Color)
  3041. eff.Rate = 500000
  3042. eff.Lifetime = NumberRange.new(0.5,2)
  3043. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,20,0),NumberSequenceKeypoint.new(0.2,2,0),NumberSequenceKeypoint.new(0.8,2,0),NumberSequenceKeypoint.new(1,0,0)})
  3044. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(0.1,0,0),NumberSequenceKeypoint.new(0.8,0,0),NumberSequenceKeypoint.new(1,1,0)})
  3045. eff.Speed = NumberRange.new(50,450)
  3046. eff.Drag = 5
  3047. eff.Rotation = NumberRange.new(-500,500)
  3048. eff.VelocitySpread = 9000
  3049. eff.RotSpeed = NumberRange.new(-50,50)
  3050. wait(0.125)
  3051. eff.Enabled = false
  3052. end))
  3053. MagniDamage(dis, 30, 45,50, 0, "Normal")
  3054. for i = 0, 2 do
  3055. slash(math.random(10,80)/10,5,true,"Round","Add","Out",dis.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.01,0.01,0.01),math.random(50,150)/250,dis.BrickColor)
  3056. end
  3057. CFuncs["Sound"].Create("rbxassetid://782353117", dis, 1,1)
  3058. CFuncs["Sound"].Create("rbxassetid://1666361078", dis, 1,1.5)
  3059. CFuncs["Sound"].Create("rbxassetid://782353443", dis, 2,1.65)
  3060. sphere2(3,"Add",dis.CFrame,vt(1,1,1),0.4,0.4,0.4,dis.BrickColor,dis.Color)
  3061. end))
  3062. game:GetService("Debris"):AddItem(dis, 5)
  3063. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(89),math.rad(-8),math.rad(-5)),0.5)
  3064. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-30),math.rad(0),math.rad(8)),.5)
  3065. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-14), math.rad(1), math.rad(17)), 0.5)
  3066. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.85, 0) * angles(math.rad(180), math.rad(0), math.rad(-8)), 0.5)
  3067. RH.C0=clerp(RH.C0,cf(1,-0.5,-0.6)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-8),math.rad(0),math.rad(-20)),.5)
  3068. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(9),math.rad(0),math.rad(20)),.5)
  3069. end
  3070. attack = false
  3071. end
  3072.  
  3073. ----------------------------------- Abilities
  3074.  
  3075. function AttackTemplate()
  3076. attack = true
  3077. hum.WalkSpeed = 0
  3078.  
  3079. hum.WalkSpeed = storehumanoidWS
  3080. attack = false
  3081. end
  3082.  
  3083. function NormalTaunt()
  3084. attack = true
  3085. hum.WalkSpeed = 0
  3086. local TAUNT = Instance.new("Sound", hed)
  3087. TAUNT.SoundId = "rbxassetid://1535994137"
  3088. TAUNT.Volume = 10
  3089. TAUNT.Pitch = 1
  3090. TAUNT.Looped = false
  3091. TAUNT.TimePosition = 0.12
  3092. TAUNT:Play()
  3093. swait(2)
  3094. repeat
  3095. swait()
  3096. TAUNT.Parent = tors
  3097. rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1* Player_Size * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(25)), 0.15)
  3098. tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(-3 - 1.5 * Cos(sine / 7)), Rad(0), Rad(-25)), 0.3)
  3099. RH.C0 = clerp(RH.C0, CF(.8* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, .2* Player_Size) * angles(Rad(0), Rad(45), Rad(0)) * angles(Rad(-6.5), Rad(0), Rad(0)), 0.15)
  3100. LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-75), Rad(0)) * angles(Rad(-6.5), Rad(0), Rad(0)), 0.15)
  3101. RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.08 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(145), Rad(-20), Rad(25)), 0.1)
  3102. LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.08 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(78 + 3.5 * Cos(sine / 20)), Rad(-25), Rad(-20)), 0.1)
  3103. until TAUNT.Playing == false
  3104. attack = false
  3105. hum.WalkSpeed = storehumanoidWS
  3106. end
  3107.  
  3108. function MachineTaunt()
  3109. attack = true
  3110. hum.WalkSpeed = 0
  3111. local TAUNT = Instance.new("Sound", hed)
  3112. TAUNT.SoundId = "rbxassetid://300208779"
  3113. TAUNT.Volume = 10
  3114. TAUNT.Pitch = 1
  3115. TAUNT.Looped = false
  3116. TAUNT.TimePosition = 0
  3117. TAUNT:Play()
  3118. for i = 0,9,0.1 do
  3119. swait()
  3120. 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)
  3121. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-30 - 2.5 * Sin(sine / 2)), Rad(0), Rad(0)), 0.3)
  3122. if Mrandom(1,15) == 1 then
  3123. 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)
  3124. end
  3125. 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)
  3126. 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)
  3127. 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)
  3128. 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)
  3129. end
  3130. attack = false
  3131. hum.WalkSpeed = storehumanoidWS
  3132. end
  3133.  
  3134. function BelowZeroTaunt()
  3135. attack = true
  3136. hum.WalkSpeed = 0
  3137. local TAUNT = Instance.new("Sound", hed)
  3138. TAUNT.SoundId = "rbxassetid://1535995263"
  3139. TAUNT.Volume = 10
  3140. TAUNT.Pitch = 1
  3141. TAUNT.Looped = false
  3142. TAUNT.TimePosition = 0.2
  3143. TAUNT:Play()
  3144. repeat
  3145. swait()
  3146. TAUNT.Parent = tors
  3147. rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1* Player_Size * Cos(sine / 20)) * angles(Rad(10), Rad(0), Rad(0)), 0.08)
  3148. tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(25 - 2.5 * Sin(sine / 30)), Rad(0), Rad(-2.5 * Cos(sine / 1.5))), 0.08)
  3149. RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(80), Rad(0)) * angles(Rad(-10.5), Rad(-2.5 * Cos(sine / 1.5)), Rad(10)), 0.08)
  3150. LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-80), Rad(0)) * angles(Rad(-10.5), Rad(-2.5 * Cos(sine / 1.5)), Rad(-10)), 0.08)
  3151. RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-.6), Rad(210)), 0.08)
  3152. LW.C0 = clerp(LW.C0, CF(-1 * Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, .6* Player_Size) * angles(Rad(-20), Rad(-.6), Rad(43)), 0.08)
  3153. until TAUNT.Playing == false
  3154. attack = false
  3155. hum.WalkSpeed = storehumanoidWS
  3156. end
  3157.  
  3158. function InfusedTaunt()
  3159. attack = true
  3160. hum.WalkSpeed = 0
  3161. local TAUNT = Instance.new("Sound", hed)
  3162. TAUNT.SoundId = "rbxassetid://1535994669"
  3163. TAUNT.Volume = 10
  3164. TAUNT.Pitch = 1
  3165. TAUNT.Looped = false
  3166. TAUNT.TimePosition = 0
  3167. TAUNT:Play()
  3168. repeat
  3169. swait()
  3170. TAUNT.Parent = tors
  3171. rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1* Player_Size * Cos(sine / 20)) * angles(Rad(-20), Rad(0), Rad(0)), 0.08)
  3172. tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(15 - 2.5 * Sin(sine / 30)), Rad(0), Rad(0)), 0.08)
  3173. RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(80), Rad(0)) * angles(Rad(-10.5), Rad(0), Rad(-25)), 0.08)
  3174. LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-80), Rad(0)) * angles(Rad(-10.5), Rad(0), Rad(20)), 0.08)
  3175. RW.C0 = clerp(RW.C0, CF(1.5, 0.8 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(-10 * Cos(sine / 20)), Rad(120 - 2.5 * Sin(sine / 20))), 0.1)
  3176. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(75), Rad(10 * Cos(sine / 20)), Rad(-0 + 2.5 * Sin(sine / 20))), 0.1)
  3177. until TAUNT.Playing == false
  3178. attack = false
  3179. hum.WalkSpeed = storehumanoidWS
  3180. end
  3181.  
  3182. function ControlledBeyondRecognitionTaunt()
  3183. attack = true
  3184. hum.WalkSpeed = 0
  3185. local TAUNT = Instance.new("Sound", hed)
  3186. TAUNT.SoundId = "rbxassetid://907333294"
  3187. TAUNT.Volume = 10
  3188. TAUNT.Pitch = 1
  3189. TAUNT.Looped = false
  3190. TAUNT.TimePosition = 0
  3191. TAUNT:Play()
  3192. repeat
  3193. swait()
  3194. TAUNT.Parent = tors
  3195. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1) * angles(math.random(-25,25),math.random(-25,25),math.random(-25,25)), 0.15)
  3196. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(math.random(-25,25),math.random(-25,25),math.random(-25,25)), 0.3)
  3197. RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 , 0.001 * Cos(sine / 20)) * RHCF * angles (math.random(-25,25),math.random(-25,25),math.random(-25,25)), 0.15)
  3198. LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 , 0.001 * Cos(sine / 20)) * LHCF * angles(math.random(-25,25),math.random(-25,25),math.random(-25,25)), 0.15)
  3199. RW.C0 = clerp(RW.C0, CF(1.2, 0.5 + 0.05 * Sin(sine / 30), 0.001 * Cos(sine / 20)) * angles (math.random(-25,25),math.random(-25,25),math.random(-25,25)), 0.1)
  3200. LW.C0 = clerp(LW.C0, CF(-1.2, 0.5 + 0.05 * Sin(sine / 30), 0.001 * Cos(sine / 20)) * angles(math.random(-25,25),math.random(-25,25),math.random(-25,25)), 0.1)
  3201. until TAUNT.Playing == false
  3202. attack = false
  3203. hum.WalkSpeed = storehumanoidWS
  3204. end
  3205.  
  3206. function SuchWowTaunt()
  3207. attack = true
  3208. hum.WalkSpeed = 0
  3209. local TAUNT = Instance.new("Sound", hed)
  3210. TAUNT.SoundId = "rbxassetid://132514715"
  3211. TAUNT.Volume = 10
  3212. TAUNT.Pitch = 1
  3213. TAUNT.Looped = false
  3214. TAUNT.TimePosition = 0
  3215. TAUNT:Play()
  3216. repeat
  3217. TAUNT.Parent = tors
  3218. swait()
  3219. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.5 + 0.02 * Cos(sine / 2)) * angles(Rad(-2), Rad(1), Rad(15)), 0.1)
  3220. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(19 + 1 * Cos(sine / 25)), Rad(0), Rad(-15)), 0.1)
  3221. RW.C0 = clerp(RW.C0, CFrame.new(1, 0.5, -0.35) * angles(Rad(90 - 2 * Cos(sine / 1)), Rad(0), Rad(-50)), 0.1)
  3222. LW.C0 = clerp(LW.C0, CFrame.new(-1, 0.5, -0.15) * angles(Rad(70 + 2 * Cos(sine / 1)), Rad(-7), Rad(70)), 0.1)
  3223. RH.C0 = clerp(RH.C0, CF(1, -0.5 - 0.02 * Cos(sine / 2), -0.2) * RHCF * angles(Rad(-4), Rad(0), Rad(-10 + 0.05 * math.cos(sine / 25))), 0.1)
  3224. LH.C0 = clerp(LH.C0, CF(-1, -0.5 - 0.02 * Cos(sine / 2), -0.2) * LHCF * angles(Rad(-4), Rad(0), Rad(10 + 0.05 * Cos(sine / 25))), 0.1)
  3225. until TAUNT.Playing == false
  3226. attack = false
  3227. hum.WalkSpeed = storehumanoidWS
  3228. end
  3229.  
  3230. function SpiritTaunt()
  3231. attack = true
  3232. hum.WalkSpeed = 0
  3233. local TAUNT = Instance.new("Sound", hed)
  3234. TAUNT.SoundId = "rbxassetid://1535994940"
  3235. TAUNT.Volume = 10
  3236. TAUNT.Pitch = 1
  3237. TAUNT.Looped = false
  3238. TAUNT.TimePosition = 0.05
  3239. TAUNT:Play()
  3240. repeat
  3241. swait()
  3242. TAUNT.Parent = tors
  3243. rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, 1 + 0.5 * Player_Size * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(0)), 0.08)
  3244. tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(15 - 2.5 * Sin(sine / 30)), Rad(20), Rad(0)), 0.08)
  3245. RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.3 - 0.1 * Cos(sine / 20)* Player_Size, -.4* Player_Size) * angles(Rad(0), Rad(80), Rad(0)) * angles(Rad(-10.5 + 3.5 * Sin(sine / 20)), Rad(0), Rad(-20)), 0.08)
  3246. LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-80), Rad(0)) * angles(Rad(-10.5 + 3.5 * Sin(sine / 20)), Rad(0), Rad(20)), 0.08)
  3247. RW.C0 = clerp(RW.C0, CF(1.5, 0.9 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(130)), 0.1)
  3248. LW.C0 = clerp(LW.C0, CF(-1.5, 0.9 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-130)), 0.1)
  3249. until TAUNT.Playing == false
  3250. attack = false
  3251. hum.WalkSpeed = storehumanoidWS
  3252. end
  3253.  
  3254. function Power_Burst()
  3255. attack = true
  3256. hum.WalkSpeed = 4
  3257. Cso("163619849", RightArm, 10, 1.35)
  3258. for i = 0,4.3,0.1 do
  3259. swait()
  3260. PixelBlockWAO(3,1,"Add",RightArm.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),0.2,0.2,0.2,0.01,MAINRUINCOLOR,0)
  3261. 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)
  3262. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-23 - 2.5 * Sin(sine / 20)), Rad(-0), Rad(-30)), 0.3)
  3263. 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(-2)), 0.15)
  3264. 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(2)), 0.15)
  3265. RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(156), Rad(0), Rad(25 - 2.5 * Sin(sine / 20))), 0.1)
  3266. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-25 + 2.5 * Sin(sine / 20))), 0.1)
  3267. end
  3268. CameraEnshaking(2.5, 20)
  3269. Cso("539294959", RightArm, 10, .9)
  3270. BlockEffect(MAINRUINCOLOR, RightArm.CFrame * CF(0, -0, 0), 16, 16, 16, 22, 22, 22, 0.04, 1)
  3271. BlockEffect(BrickC("Really black"), RightArm.CFrame * CF(0, -0, 0), 10, 10, 10, 12, 12, 12, 0.04, 1)
  3272. HitboxFunction(root.CFrame * CF(0, 0, -0), 0.01, 1, 1, 1, 19, 30, 75, 35, "Normal")
  3273. for i = 0,3,0.1 do
  3274. swait()
  3275. 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)
  3276. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-4 - 2.5 * Sin(sine / 20)), Rad(-0), Rad(-30)), 0.3)
  3277. 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(-2)), 0.15)
  3278. 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(2)), 0.15)
  3279. RW.C0 = clerp(RW.C0, CF(1.5, 0.01 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(156), Rad(0), Rad(25 - 2.5 * Sin(sine / 20))), 0.1)
  3280. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-25 + 2.5 * Sin(sine / 20))), 0.1)
  3281. end
  3282. hum.WalkSpeed = storehumanoidWS
  3283. attack = false
  3284. end
  3285.  
  3286. function Magic_Bombs()
  3287. attack = true
  3288. hum.WalkSpeed = 0
  3289. local GYRO = IT("BodyGyro",root)
  3290. GYRO.D = 100
  3291. GYRO.P = 2000
  3292. GYRO.MaxTorque = VT(0,4000000,0)
  3293. GYRO.cframe = CF(root.Position,mouse.Hit.p)
  3294. for i = 0,3.6,0.1 do
  3295. swait()
  3296. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(90)), 0.2)
  3297. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(-90)), 0.3)
  3298. 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)
  3299. 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)
  3300. 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.2)
  3301. 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.2)
  3302. end
  3303. CameraEnshaking(1, 6)
  3304. GYRO:Destroy()
  3305. Cso("588734356", RightArm, 10, 1.05)
  3306. BlockEffect(MAINRUINCOLOR, RightArm.CFrame * CF(0, -16, 0), 7, 7, 7, 9, 9, 9, 0.07, 1)
  3307. BlockEffect(BrickC("Crimson"), RightArm.CFrame * CF(0, -16, 0), 2, 2, 2, 4, 4, 4, 0.05, 1)
  3308. HitboxFunction(root.CFrame * CF(0, 0, -20), 0.01, 1, 1, 1, 6.5, 14, 24, 2, "Normal")
  3309. for i = 0,2,0.1 do
  3310. swait()
  3311. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(90)), 0.2)
  3312. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(-90)), 0.3)
  3313. 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)
  3314. 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)
  3315. 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(134)), 0.2)
  3316. 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.2)
  3317. end
  3318. local GYRO = IT("BodyGyro",root)
  3319. GYRO.D = 100
  3320. GYRO.P = 2000
  3321. GYRO.MaxTorque = VT(0,4000000,0)
  3322. GYRO.cframe = CF(root.Position,mouse.Hit.p)
  3323. for i = 0,2.4,0.1 do
  3324. swait()
  3325. 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)
  3326. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(-90)), 0.3)
  3327. 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)
  3328. 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)
  3329. 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.2)
  3330. 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.2)
  3331. end
  3332. GYRO:Destroy()
  3333. CameraEnshaking(1, 6)
  3334. Cso("588734356", RightArm, 10, 1.05)
  3335. BlockEffect(MAINRUINCOLOR, RightArm.CFrame * CF(0, -16, 0), 7, 7, 7, 9, 9, 9, 0.07, 1)
  3336. BlockEffect(BrickC("Crimson"), RightArm.CFrame * CF(0, -16, 0), 2, 2, 2, 4, 4, 4, 0.05, 1)
  3337. HitboxFunction(root.CFrame * CF(0, 0, -20), 0.01, 1, 1, 1, 6,5, 14, 24, 2, "Normal")
  3338. for i = 0,2,0.1 do
  3339. swait()
  3340. 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)
  3341. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(-90)), 0.3)
  3342. 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)
  3343. 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)
  3344. 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(134)), 0.2)
  3345. 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.2)
  3346. end
  3347. local GYRO = IT("BodyGyro",root)
  3348. GYRO.D = 100
  3349. GYRO.P = 2000
  3350. GYRO.MaxTorque = VT(0,4000000,0)
  3351. GYRO.cframe = CF(root.Position,mouse.Hit.p)
  3352. for i = 0,2.4,0.1 do
  3353. swait()
  3354. 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)
  3355. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(-90)), 0.3)
  3356. 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)
  3357. 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)
  3358. 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.2)
  3359. 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.2)
  3360. end
  3361. GYRO:Destroy()
  3362. CameraEnshaking(1, 6)
  3363. Cso("588734356", RightArm, 10, 1.05)
  3364. BlockEffect(MAINRUINCOLOR, RightArm.CFrame * CF(0, -16, 0), 7, 7, 7, 9, 9, 9, 0.07, 1)
  3365. BlockEffect(BrickC("Crimson"), RightArm.CFrame * CF(0, -16, 0), 2, 2, 2, 4, 4, 4, 0.05, 1)
  3366. HitboxFunction(root.CFrame * CF(0, 0, -20), 0.01, 1, 1, 1, 6.5, 14, 24, 2, "Normal")
  3367. for i = 0,2,0.1 do
  3368. swait()
  3369. 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)
  3370. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(-90)), 0.3)
  3371. 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)
  3372. 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)
  3373. 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(134)), 0.2)
  3374. 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.2)
  3375. end
  3376. hum.WalkSpeed = storehumanoidWS
  3377. attack = false
  3378. end
  3379.  
  3380. function Dangerous_Field()
  3381. attack = true
  3382. hum.WalkSpeed = 0
  3383. for i = 0,10,0.1 do
  3384. swait()
  3385. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(0-255.45*i)), 0.2)
  3386. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(-90)), 0.3)
  3387. RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2), Rad(0), Rad(-2.1)), 0.15)
  3388. 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)
  3389. RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(2.1), Rad(0), Rad(90)), 0.2)
  3390. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(2.1), Rad(0), Rad(-90)), 0.2)
  3391. CameraEnshaking(1, 7)
  3392. Cso("588734356", RightArm, 10, 1.2)
  3393. BlockEffect(MAINRUINCOLOR, RightArm.CFrame * CF(0, -8, 0), 9, 9, 9, 11, 11, 11, 0.07, 1)
  3394. BlockEffect(BrickC("Crimson"), RightArm.CFrame * CF(0, -8, 0), 3, 3, 3, 5, 5, 5, 0.05, 1)
  3395. HitboxFunction(RightArm.CFrame * CF(0, 0, -10.3), 0.05, 1, 1, 1, 7.3, 15, 20, 3, "Normal")
  3396. HitboxFunction(RightArm.CFrame * CF(0, 0, -0), 0.05, 1, 1, 1, 5, 2, 3, 10, "Normal")
  3397. end
  3398. hum.WalkSpeed = storehumanoidWS
  3399. attack = false
  3400. end
  3401.  
  3402. function Sayonara()
  3403. local target = nil
  3404. local targettorso = nil
  3405. local targetrightarm = nil
  3406. local targetleftarm = nil
  3407. if mouse.Target.Parent ~= char and mouse.Target.Parent.Parent ~= char and mouse.Target.Parent:FindFirstChild("Humanoid") ~= nil then
  3408. if mouse.Target.Parent.Humanoid.PlatformStand == false then
  3409. target = mouse.Target.Parent.Humanoid
  3410. targettorso = mouse.Target.Parent:FindFirstChild("Torso") or mouse.Target.Parent:FindFirstChild("UpperTorso")
  3411. targethead = mouse.Target.Parent:FindFirstChild("Head")
  3412. targetrightarm = mouse.Target.Parent:FindFirstChild("Right Arm")
  3413. targetleftarm = mouse.Target.Parent:FindFirstChild("Left Arm")
  3414. end
  3415. end
  3416. if target ~= nil then
  3417. targettorso.Anchored = true
  3418. attack = true
  3419. hum.WalkSpeed = 0
  3420. root.CFrame = targettorso.CFrame * CF(0,0,2.4)
  3421. for i = 0,6.2,0.1 do
  3422. swait()
  3423. 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)
  3424. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(20), Rad(10), Rad(0)), 0.3)
  3425. 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)
  3426. 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(-10)), 0.15)
  3427. RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), -.4 + 0.025 * Cos(sine / 20)) * angles(Rad(90), Rad(0), Rad(10)), 0.1)
  3428. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), -.4 + 0.025 * Cos(sine / 20)) * angles(Rad(90), Rad(0), Rad(-10)), 0.1)
  3429. end
  3430. do
  3431. Cso("429400881", targettorso, 5, 1)
  3432. local ModelArm02 = New("Model", char, "Arm", {})
  3433. local ModelArm03 = New("Model", char, "Arm", {})
  3434. local Humanoid02 = New("Humanoid", ModelArm02, "Humanoid", {})
  3435. local Humanoid03 = New("Humanoid", ModelArm03, "Humanoid", {})
  3436. local Arm02 = targetleftarm:Clone()
  3437. local Arm03 = targetrightarm:Clone()
  3438. targetleftarm.Transparency = 1
  3439. targetrightarm.Transparency = 1
  3440. Arm02.Parent = ModelArm02
  3441. Arm03.Parent = ModelArm03
  3442. for i, v in pairs(Arm02:GetChildren()) do
  3443. v:Destroy()
  3444. end
  3445. for i, v in pairs(Arm03:GetChildren()) do
  3446. v:Destroy()
  3447. end
  3448. local weldArm02 = Instance.new("Weld")
  3449. weldArm02.Parent = Arm02
  3450. weldArm02.Part0 = targetleftarm
  3451. weldArm02.Part1 = Arm02
  3452. weldArm02.C1 = CFrame.new(0, 0, 0)
  3453. local weldArm03 = Instance.new("Weld")
  3454. weldArm03.Parent = Arm03
  3455. weldArm03.Part0 = targetrightarm
  3456. weldArm03.Part1 = Arm03
  3457. weldArm03.C1 = CFrame.new(0, 0, 0)
  3458. for i, v in pairs(target:GetChildren()) do
  3459. if v:IsA("Shirt") then
  3460. v:clone().Parent = ModelArm02
  3461. end
  3462. end
  3463. for i, v in pairs(target:GetChildren()) do
  3464. if v:IsA("Shirt") then
  3465. v:clone().Parent = ModelArm03
  3466. end
  3467. end
  3468. weldArm02.Part0 = la
  3469. weldArm02.C1 = CFrame.new(0, 0, 1.2) * angles(math.rad(90), math.rad(0), math.rad(0))
  3470. weldArm03.Part0 = ra
  3471. weldArm03.C1 = CFrame.new(0, 0, 1.2) * angles(math.rad(90), math.rad(0), math.rad(0))
  3472. for i = 0,6.2,0.1 do
  3473. swait()
  3474. 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)
  3475. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(0)), 0.3)
  3476. 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)
  3477. 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(10)), 0.15)
  3478. RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), .6 + 0.025 * Cos(sine / 20)) * angles(Rad(90), Rad(0), Rad(15)), 0.1)
  3479. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), .6 + 0.025 * Cos(sine / 20)) * angles(Rad(90), Rad(0), Rad(-15)), 0.1)
  3480. end
  3481. for i = 0,6.2,0.1 do
  3482. swait()
  3483. 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)
  3484. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(0)), 0.3)
  3485. 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(-20)), 0.15)
  3486. 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(20)), 0.15)
  3487. RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(180), Rad(0), Rad(15)), 0.1)
  3488. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(180), Rad(0), Rad(-15)), 0.1)
  3489. end
  3490. Cso("541909763", targettorso, 5, .8)
  3491. weldArm02:Destroy()
  3492. Arm02.CanCollide = true
  3493. weldArm03:Destroy()
  3494. Arm03.CanCollide = true
  3495. local bodyVelocity2 = Create("BodyVelocity")({
  3496. velocity = Vector3.new(0, 10, 0) + root.CFrame.lookVector * 50,
  3497. P = 5000,
  3498. maxForce = Vector3.new(8000, 8000, 8000),
  3499. Parent = Arm02
  3500. })
  3501. local bodyVelocity3 = Create("BodyVelocity")({
  3502. velocity = Vector3.new(0, 10, 0) + root.CFrame.lookVector * 50,
  3503. P = 5000,
  3504. maxForce = Vector3.new(8000, 8000, 8000),
  3505. Parent = Arm03
  3506. })
  3507. game:GetService("Debris"):AddItem(bodyVelocity2, 0.05)
  3508. game:GetService("Debris"):AddItem(bodyVelocity3, 0.05)
  3509. for i = 0,6.2,0.1 do
  3510. swait()
  3511. 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)
  3512. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(0)), 0.3)
  3513. 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(35)), 0.15)
  3514. 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(-20)), 0.15)
  3515. RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(95), Rad(0), Rad(15)), 0.1)
  3516. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(95), Rad(0), Rad(-15)), 0.1)
  3517. end
  3518. root.CFrame = targettorso.CFrame * CF(0,0,2.6)
  3519. for i = 0,6.2,0.1 do
  3520. swait()
  3521. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(20)), 0.15)
  3522. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(-20)), 0.3)
  3523. 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)
  3524. 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)
  3525. RW.C0 = clerp(RW.C0, CF(1.1, 0.7 + 0.05 * Sin(sine / 30), -.6 + 0.025 * Cos(sine / 20)) * angles(Rad(115), Rad(0), Rad(-15)), 0.1)
  3526. 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)
  3527. end
  3528. local ModelHead01 = New("Model", char, "Head of Decapitated", {})
  3529. local Humanoid01 = New("Humanoid", ModelHead01, "Humanoid", {})
  3530. local Head01 = targethead:Clone()
  3531. targethead.Transparency = 1
  3532. Head01.Parent = ModelHead01
  3533. local weldHead01 = Instance.new("Weld")
  3534. weldHead01.Parent = Head01
  3535. weldHead01.Part0 = targethead
  3536. weldHead01.Part1 = Head01
  3537. weldHead01.C1 = CFrame.new(0, 0, 0)
  3538. targethead.face:Remove()
  3539. weldHead01.Part0 = ra
  3540. weldHead01.C1 = CFrame.new(0, 0, 1.2) * angles(math.rad(90), math.rad(0), math.rad(0))
  3541. targettorso:BreakJoints()
  3542. Cso("314390675", targettorso, 5, .7)
  3543. for i = 0,4.2,0.1 do
  3544. swait()
  3545. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(20)), 0.15)
  3546. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(-20)), 0.3)
  3547. 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)
  3548. 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)
  3549. RW.C0 = clerp(RW.C0, CF(1.1, 0.7 + 0.05 * Sin(sine / 30), -.6 + 0.025 * Cos(sine / 20)) * angles(Rad(145), Rad(0), Rad(-15)), 0.1)
  3550. 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)
  3551. end
  3552. for i = 0,6.2,0.1 do
  3553. swait()
  3554. 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)
  3555. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(40)), 0.3)
  3556. 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)
  3557. 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)
  3558. 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)
  3559. 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)
  3560. end
  3561. Cso("541909763", targettorso, 5, .8)
  3562. weldHead01:Destroy()
  3563. Head01.CanCollide = true
  3564. local bodyVelocity2 = Create("BodyVelocity")({
  3565. velocity = Vector3.new(0, 10, 0) + root.CFrame.lookVector * 50,
  3566. P = 5000,
  3567. maxForce = Vector3.new(8000, 8000, 8000),
  3568. Parent = Head01
  3569. })
  3570. game:GetService("Debris"):AddItem(bodyVelocity2, 0.05)
  3571. for i = 0,6.2,0.1 do
  3572. swait()
  3573. 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)
  3574. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(-40)), 0.3)
  3575. 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)
  3576. 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)
  3577. 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)
  3578. 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)
  3579. end
  3580. root.CFrame = targettorso.CFrame * CF(0,0,2.4)
  3581. for i = 0,6.2,0.1 do
  3582. swait()
  3583. 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)
  3584. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(0)), 0.3)
  3585. RH.C0 = clerp(RH.C0, CF(1, -0.3 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-5), Rad(0), Rad(90)), 0.15)
  3586. 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(20)), 0.15)
  3587. RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(-30), Rad(0), Rad(15)), 0.1)
  3588. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(-30), Rad(0), Rad(-15)), 0.1)
  3589. end
  3590. targettorso:Remove()
  3591. for i = 0,6.2,0.1 do
  3592. swait()
  3593. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, -2.5, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(35), Rad(0), Rad(0)), 0.15)
  3594. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(0)), 0.3)
  3595. RH.C0 = clerp(RH.C0, CF(1, -0.2 - 0.1 * Cos(sine / 20), -.5 + 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-5), Rad(0), Rad(90)), 0.15)
  3596. 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(-35)), 0.15)
  3597. RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(-55), Rad(0), Rad(15)), 0.1)
  3598. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(-55), Rad(0), Rad(-15)), 0.1)
  3599. end
  3600. end
  3601. targettorso.Anchored = false
  3602. attack = false
  3603. hum.WalkSpeed = storehumanoidWS
  3604. root.CFrame = targettorso.CFrame * CF(0,0,3.4)
  3605. end
  3606. end
  3607.  
  3608. function Good_Bye()
  3609. local target = nil
  3610. local targettorso = nil
  3611. if mouse.Target.Parent ~= char and mouse.Target.Parent.Parent ~= char and mouse.Target.Parent:FindFirstChild("Humanoid") ~= nil then
  3612. if mouse.Target.Parent.Humanoid.PlatformStand == false then
  3613. target = mouse.Target.Parent.Humanoid
  3614. targettorso = mouse.Target.Parent:FindFirstChild("Torso") or mouse.Target.Parent:FindFirstChild("UpperTorso")
  3615. targethead = mouse.Target.Parent:FindFirstChild("Head")
  3616. end
  3617. end
  3618. if target ~= nil then
  3619. targettorso.Anchored = true
  3620. attack = true
  3621. hum.WalkSpeed = 0
  3622. root.CFrame = targettorso.CFrame * CF(0,0,3)
  3623. for i = 0,6.2,0.1 do
  3624. swait()
  3625. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-45)), 0.15)
  3626. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(20), Rad(0), Rad(45)), 0.3)
  3627. 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)
  3628. 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)
  3629. RW.C0 = clerp(RW.C0, CF(1.3, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(90), Rad(0), Rad(25)), 0.1)
  3630. 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)
  3631. end
  3632. local BloodColor = Color3.new(1, 0, 0)
  3633. local Heart = Instance.new("Part")
  3634. Heart.Parent = workspace
  3635. Heart.Size = Vector3.new(1, 1, 1)
  3636. Heart.Archivable = true
  3637. Heart.Transparency = 0
  3638. Heart.CanCollide = false
  3639. Heart.BrickColor = BrickColor.new("Really red")
  3640. Heart.Material = "Granite"
  3641. Heart.CanCollide = true
  3642. local weld1Heart = Instance.new("Weld")
  3643. weld1Heart.Parent = ra
  3644. weld1Heart.Part0 = ra
  3645. weld1Heart.Part1 = Heart
  3646. weld1Heart.C1 = CFrame.new(0, 1.3, 0)
  3647. Cso("429400881", targettorso, 5, 1)
  3648. Cso("131038747", targettorso, 5, 1)
  3649. game:GetService("Debris"):AddItem(Heart, 8)
  3650. for i = 0,8,0.1 do
  3651. swait()
  3652. rootj.C0 = clerp(rootj.C0, RootCF * CF(1.2, -2.5, -0.2) * angles(Rad(0), Rad(0), Rad(40)), 0.15)
  3653. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(20), Rad(10), Rad(-45)), 0.3)
  3654. RH.C0 = clerp(RH.C0, CF(1, -0.8, -0.4) * RHCF * angles(Rad(-5), Rad(0), Rad(-20)), 0.15)
  3655. LH.C0 = clerp(LH.C0, CF(-1, -0.8, -0.2) * LHCF * angles(Rad(-5), Rad(0), Rad(56)), 0.15)
  3656. RW.C0 = clerp(RW.C0, CF(1.5, 0.51 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(90), Rad(0), Rad(40)), 0.1)
  3657. 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)
  3658. end
  3659. targettorso:BreakJoints()
  3660. game:GetService("Debris"):AddItem(weld1Heart, 1.5)
  3661. for i = 0,9,0.1 do
  3662. swait()
  3663. 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)
  3664. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(20), Rad(0), Rad(-20)), 0.3)
  3665. 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)
  3666. 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)
  3667. 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(15)), 0.1)
  3668. 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)
  3669. end
  3670. targettorso.Anchored = false
  3671. attack = false
  3672. hum.WalkSpeed = storehumanoidWS
  3673. root.CFrame = targettorso.CFrame * CF(0,0,3.4)
  3674. end
  3675. end
  3676.  
  3677. function ByeByeTaunt()
  3678. attack = true
  3679. hum.WalkSpeed = 0
  3680. Cso("290084602", tors, 10, 1)
  3681. for i = 0,6.2,0.1 do
  3682. swait()
  3683. 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)
  3684. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-30), Rad(0), Rad(0)), 0.3)
  3685. 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)
  3686. 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)
  3687. 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(145)), 0.1)
  3688. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(-0), Rad(0), Rad(-145)), 0.1)
  3689. end
  3690. for i = 0,6.2,0.1 do
  3691. swait()
  3692. 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)
  3693. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(0)), 0.3)
  3694. 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(20)), 0.15)
  3695. 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(-20)), 0.15)
  3696. RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(-30), Rad(0), Rad(15)), 0.1)
  3697. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(-30), Rad(0), Rad(-15)), 0.1)
  3698. end
  3699. attack = false
  3700. hum.WalkSpeed = storehumanoidWS
  3701. end
  3702. function Astigmatism()
  3703. attack = true
  3704. hum.WalkSpeed = 0
  3705. local Ring1 = Instance.new("Part", char)
  3706. Ring1.Anchored = true
  3707. Ring1.BrickColor = MAINRUINCOLOR
  3708. Ring1.CanCollide = false
  3709. Ring1.FormFactor = 3
  3710. Ring1.Name = "Ring"
  3711. Ring1.Material = "Neon"
  3712. Ring1.Size = Vector3.new(1, 0.05, 1)
  3713. Ring1.Transparency = 1
  3714. Ring1.TopSurface = 0
  3715. Ring1.BottomSurface = 0
  3716. local Ring1Mesh = Instance.new("SpecialMesh", Ring1)
  3717. Ring1Mesh.MeshType = "Brick"
  3718. Ring1Mesh.Name = "SizeMesh"
  3719. Ring1Mesh.Scale = Vector3.new(0, 1, 0)
  3720. local InnerRing1 = Ring1:Clone()
  3721. InnerRing1.Parent = char
  3722. InnerRing1.Transparency = 0
  3723. InnerRing1.BrickColor = BrickColor.new("New Yeller")
  3724. InnerRing1.Size = Vector3.new(1, 1, 1)
  3725. local InnerRing1Mesh = InnerRing1.SizeMesh
  3726. InnerRing1Mesh.Scale = Vector3.new(0, 0, 0)
  3727. InnerRing1Mesh.MeshType = "Sphere"
  3728. Ring1:Destroy()
  3729. for i = 0, 6, 0.1 do
  3730. swait()
  3731. Aura(7, 0.12, "Add", hed.CFrame * angles(Rad(Mrandom(-360, 360)), Rad(Mrandom(-360, 360)), Rad(Mrandom(-360, 360))), 0.5, 0.5, 5, -0.005, MAINRUINCOLOR, 0, "Sphere")
  3732. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(-2 + 2 * Cos(sine / 12)), Rad(0), Rad(0)), 0.15)
  3733. tors.Neck.C0 = clerp(tors.Neck.C0, necko * CF(0, 0, 0.025 * Cos(sine / 20)) * angles(Rad(-2.5 * Sin(sine / 30)), Rad(0), Rad(0)), 0.3)
  3734. RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, -.2* Player_Size) * angles(Rad(-2 + 2 * Cos(sine / 12)), Rad(74), Rad(0)) * angles(Rad(-2.5), Rad(0), Rad(-4)), 0.15)
  3735. LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(-2 + 2 * Cos(sine / 12)), Rad(-74), Rad(0)) * angles(Rad(-2.5), Rad(0), Rad(-4)), 0.15)
  3736. RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.06 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(-35), Rad(0), Rad(165 + 2.5 * Sin(sine / 20))), 0.12)
  3737. LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.06 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(-35), Rad(0), Rad(-165 + 2.5 * Sin(sine / 20))), 0.12)
  3738. end
  3739. InnerRing1.Transparency = 1
  3740. InnerRing1.CFrame = hed.CFrame + root.CFrame.lookVector * 5
  3741. Cso("294188875", char, 2.3, 1)
  3742. local a = IT("Part", char)
  3743. a.Name = "Direction"
  3744. a.Anchored = true
  3745. a.BrickColor = BrickC("Pastel violet")
  3746. a.Material = "SmoothPlastic"
  3747. a.Transparency = 0
  3748. a.Shape = "Cylinder"
  3749. a.CanCollide = false
  3750. local a2 = IT("Part", char)
  3751. a2.Name = "Direction"
  3752. a2.Anchored = true
  3753. a2.BrickColor = MAINRUINCOLOR
  3754. a2.Color = MAINRUINCOLOR.Color
  3755. a2.Material = "Neon"
  3756. a2.Transparency = 0.7
  3757. a2.Shape = "Cylinder"
  3758. a2.CanCollide = false
  3759. local ba = IT("Part", char)
  3760. ba.Name = "HitDirect"
  3761. ba.Anchored = true
  3762. ba.BrickColor = MAINRUINCOLOR
  3763. ba.Material = "Neon"
  3764. ba.Transparency = 1
  3765. ba.CanCollide = false
  3766. local ray = Ray.new(InnerRing1.CFrame.p, (mouse.Hit.p - InnerRing1.CFrame.p).unit * 1000)
  3767. local ignore = char
  3768. local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  3769. a.BottomSurface = 10
  3770. a.TopSurface = 10
  3771. a2.BottomSurface = 10
  3772. a2.TopSurface = 10
  3773. local distance = (InnerRing1.CFrame.p - position).magnitude
  3774. a.Size = Vector3.new(distance, 1, 1)
  3775. a.CFrame = CF(InnerRing1.CFrame.p, position) * CF(0, 0, -distance / 2)
  3776. a2.Size = Vector3.new(distance, 1, 1)
  3777. a2.CFrame = CF(InnerRing1.CFrame.p, position) * CF(0, 0, -distance / 2)
  3778. ba.CFrame = CF(InnerRing1.CFrame.p, position) * CF(0, 0, -distance)
  3779. a.CFrame = a.CFrame * angles(0, Rad(90), 0)
  3780. a2.CFrame = a2.CFrame * angles(0, Rad(90), 0)
  3781. game:GetService("Debris"):AddItem(a, 20)
  3782. game:GetService("Debris"):AddItem(a2, 20)
  3783. game:GetService("Debris"):AddItem(ba, 20)
  3784. local msh = Instance.new("SpecialMesh", a)
  3785. msh.MeshType = "Brick"
  3786. msh.Scale = Vector3.new(1, 5, 5)
  3787. local msh2 = Instance.new("SpecialMesh", a2)
  3788. msh2.MeshType = "Brick"
  3789. msh2.Scale = Vector3.new(1, 7, 7)
  3790. for i = 0, 10, 0.1 do
  3791. swait()
  3792. CameraEnshaking(1, 5)
  3793. a2.Color = MAINRUINCOLOR.Color
  3794. InnerRing1.CFrame = hed.CFrame + root.CFrame.lookVector * 4
  3795. ray = Ray.new(InnerRing1.CFrame.p, (mouse.Hit.p - InnerRing1.CFrame.p).unit * 1000)
  3796. hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  3797. distance = (InnerRing1.CFrame.p - position).magnitude
  3798. a.Size = Vector3.new(distance, 1, 1)
  3799. a.CFrame = CF(InnerRing1.CFrame.p, position) * CF(0, 0, -distance / 2)
  3800. a2.Size = Vector3.new(distance, 1, 1)
  3801. a2.CFrame = CF(InnerRing1.CFrame.p, position) * CF(0, 0, -distance / 2)
  3802. ba.CFrame = CF(InnerRing1.CFrame.p, position) * CF(0, 0, -distance)
  3803. a.CFrame = a.CFrame * angles(0, Rad(90), 0)
  3804. a2.CFrame = a2.CFrame * angles(0, Rad(90), 0)
  3805. msh.Scale = msh.Scale - Vector3.new(0, 0.05, 0.05)
  3806. msh2.Scale = msh2.Scale - Vector3.new(0, 0.03, 0.03)
  3807. Aura(5, 0.15, "Add", ba.CFrame * angles(Rad(Mrandom(-360, 360)), Rad(Mrandom(-360, 360)), Rad(Mrandom(-360, 360))), 15, 15, 25, -0.15, MAINRUINCOLOR, 0, "Sphere")
  3808. for i, v in pairs(FindNearestHead(ba.CFrame.p, 14.5)) do
  3809. if v:FindFirstChild("Head") then
  3810. dmg(v)
  3811. end
  3812. end
  3813. end
  3814. a:Destroy()
  3815. a2:Destroy()
  3816. ba:Destroy()
  3817. InnerRing1:Destroy()
  3818. attack = false
  3819. hum.WalkSpeed = storehumanoidWS
  3820. hum.CameraOffset = Vector3.new(0,0,0)
  3821. end
  3822.  
  3823. function Call_Upon_The_Eyes()
  3824. attack = true
  3825. hum.WalkSpeed = 0
  3826. for i = 0, 6, 0.1 do
  3827. swait()
  3828. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(-2 + 2 * Cos(sine / 12)), Rad(0), Rad(0)), 0.15)
  3829. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-2.5 * Sin(sine / 30)), Rad(0), Rad(0)), 0.3)
  3830. RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, -.2* Player_Size) * angles(Rad(-2 + 2 * Cos(sine / 12)), Rad(74), Rad(0)) * angles(Rad(-2.5), Rad(0), Rad(-4)), 0.15)
  3831. LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(-2 + 2 * Cos(sine / 12)), Rad(-74), Rad(0)) * angles(Rad(-2.5), Rad(0), Rad(-4)), 0.15)
  3832. RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.06 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(145), Rad(0), Rad(15 + 2.5 * Sin(sine / 20))), 0.12)
  3833. LW.C0 = clerp(LW.C0, CF(-1* Player_Size, 0.3 + 0.06 * Sin(sine / 20)* Player_Size, .6* Player_Size) * angles(Rad(-35), Rad(25 + 2.5 * Sin(sine / 20)), Rad(55 + 2.5 * Sin(sine / 20))), 0.12)
  3834. end
  3835. Magic(5, "Add", mouse.Hit * CFrame.new(0, -2.9, 0), Vector3.new(0, 0, 0), 1, MAINRUINCOLOR, "Sphere")
  3836. Magic(10, "Add", mouse.Hit * CFrame.new(0, -2.9, 0), Vector3.new(0, 0, 0), 2, MAINRUINCOLOR, "Sphere")
  3837. Magic(1, "Add", mouse.Hit, Vector3.new(1, 100000, 1), 0.5, MAINRUINCOLOR, "Sphere")
  3838. Magic(1, "Add", mouse.Hit, Vector3.new(1, 1, 1), 0.75, MAINRUINCOLOR, "Sphere")
  3839. CameraEnshaking(4, 25)
  3840. for i, v in pairs(FindNearestHead(mouse.Hit.p, 14.5)) do
  3841. if v:FindFirstChild("Head") then
  3842. dmg(v)
  3843. end
  3844. end
  3845. for i = 0, 6, 0.1 do
  3846. swait()
  3847. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.4 + 0.1 * Cos(sine / 20)) * angles(Rad(-2 + 2 * Cos(sine / 12)), Rad(0), Rad(0)), 0.15)
  3848. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-2.5 * Sin(sine / 30)), Rad(0), Rad(0)), 0.3)
  3849. RH.C0 = clerp(RH.C0, CF(1* Player_Size, -.8 - 0.1 * Cos(sine / 20)* Player_Size, -.2* Player_Size) * angles(Rad(-2 + 2 * Cos(sine / 12)), Rad(74), Rad(0)) * angles(Rad(-2.5), Rad(0), Rad(-4)), 0.15)
  3850. LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -.8 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(-2 + 2 * Cos(sine / 12)), Rad(-74), Rad(0)) * angles(Rad(-2.5), Rad(0), Rad(-4)), 0.15)
  3851. RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.06 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(45), Rad(0), Rad(15 + 2.5 * Sin(sine / 20))), 0.2)
  3852. LW.C0 = clerp(LW.C0, CF(-1* Player_Size, 0.3 + 0.06 * Sin(sine / 20)* Player_Size, .6* Player_Size) * angles(Rad(-35), Rad(25 + 2.5 * Sin(sine / 20)), Rad(55 + 2.5 * Sin(sine / 20))), 0.12)
  3853. end
  3854. attack = false
  3855. hum.WalkSpeed = storehumanoidWS
  3856. end
  3857.  
  3858. function EyoTaunt()
  3859. attack = true
  3860. hum.WalkSpeed = 0
  3861. for i = 0, 9, 0.1 do
  3862. swait()
  3863. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(15), Rad(0), Rad(0)), 0.15)
  3864. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-2.5 * Sin(sine / 30)), Rad(0), Rad(0)), 0.3)
  3865. RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, -.2* Player_Size) * angles(Rad(0), Rad(78), Rad(0)) * angles(Rad(-2.5), Rad(0), Rad(15)), 0.15)
  3866. LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-78), Rad(0)) * angles(Rad(-2.5), Rad(0), Rad(-15)), 0.15)
  3867. RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.06 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(-9), Rad(0), Rad(155 + 25 * Sin(sine / 4))), 0.12)
  3868. LW.C0 = clerp(LW.C0, CF(-1* Player_Size, 0.3 + 0.06 * Sin(sine / 20)* Player_Size, .6* Player_Size) * angles(Rad(-35), Rad(25 + 2.5 * Sin(sine / 20)), Rad(55 + 2.5 * Sin(sine / 20))), 0.12)
  3869. end
  3870. attack = false
  3871. hum.WalkSpeed = storehumanoidWS
  3872. end
  3873.  
  3874. function Shockwave()
  3875. attack = true
  3876. hum.WalkSpeed = 0
  3877. for i = 0,4,0.1 do
  3878. swait()
  3879. 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)
  3880. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-20 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3)
  3881. 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)
  3882. 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)
  3883. 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)
  3884. 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)
  3885. end
  3886. coroutine.resume(coroutine.create(function()
  3887. BlockEffect(MAINRUINCOLOR, rl.CFrame * CF(-1, -0, -5), 4, 4, 4, 5, 5, 5, 0.05, 1)
  3888. BlockEffect(MAINRUINCOLOR, rl.CFrame * CF(-3, -0, -5), 4, 4, 4, 5, 5, 5, 0.05, 1)
  3889. BlockEffect(MAINRUINCOLOR, rl.CFrame * CF(2, -0, -5), 4, 4, 4, 5, 5, 5, 0.05, 1)
  3890. HitboxFunction(rl.CFrame * CF(-1, 0, -7), 0.05, 1, 1, 1, 5, 20, 25, 0, "Snare")
  3891. HitboxFunction(rl.CFrame * CF(-3, 0, -7), 0.05, 1, 1, 1, 5, 20, 25, 0, "Snare")
  3892. HitboxFunction(rl.CFrame * CF(2, 0, -7), 0.05, 1, 1, 1, 5, 20, 25, 0, "Snare")
  3893. CameraEnshaking(1, 7)
  3894. wait(0.05)
  3895. BlockEffect(MAINRUINCOLOR, rl.CFrame * CF(-0.8, -0, -10), 4, 4, 4, 5, 5, 5, 0.05, 1)
  3896. BlockEffect(MAINRUINCOLOR, rl.CFrame * CF(-2.8, -0, -10), 4, 4, 4, 5, 5, 5, 0.05, 1)
  3897. BlockEffect(MAINRUINCOLOR, rl.CFrame * CF(1.8, -0, -10), 4, 4, 4, 5, 5, 5, 0.05, 1)
  3898. HitboxFunction(rl.CFrame * CF(-0.8, 0, -12), 0.05, 1, 1, 1, 5, 20, 20, 10, "Snare")
  3899. HitboxFunction(rl.CFrame * CF(-2.8, 0, -12), 0.05, 1, 1, 1, 5, 20, 25, 10, "Snare")
  3900. HitboxFunction(rl.CFrame * CF(1.8, 0, -12), 0.05, 1, 1, 1, 5, 20, 25, 10, "Snare")
  3901. CameraEnshaking(1, 7)
  3902. wait(0.05)
  3903. BlockEffect(MAINRUINCOLOR, rl.CFrame * CF(-0.6, -0, -15), 4, 4, 4, 5, 5, 5, 0.05, 1)
  3904. BlockEffect(MAINRUINCOLOR, rl.CFrame * CF(-2.6, -0, -15), 4, 4, 4, 5, 5, 5, 0.05, 1)
  3905. BlockEffect(MAINRUINCOLOR, rl.CFrame * CF(1.6, -0, -15), 4, 4, 4, 5, 5, 5, 0.05, 1)
  3906. HitboxFunction(rl.CFrame * CF(-0.6, 0, -17), 0.05, 1, 1, 1, 5, 20, 25, 10, "Snare")
  3907. HitboxFunction(rl.CFrame * CF(-2.6, 0, -17), 0.05, 1, 1, 1, 5, 20, 25, 10, "Snare")
  3908. HitboxFunction(rl.CFrame * CF(1.6, 0, -17), 0.05, 1, 1, 1, 5, 20, 25, 10, "Snare")
  3909. CameraEnshaking(1, 7)
  3910. wait(0.05)
  3911. BlockEffect(MAINRUINCOLOR, rl.CFrame * CF(-0.4, -0, -20), 4, 4, 4, 5, 5, 5, 0.05, 1)
  3912. BlockEffect(MAINRUINCOLOR, rl.CFrame * CF(-2.4, -0, -20), 4, 4, 4, 5, 5, 5, 0.05, 1)
  3913. BlockEffect(MAINRUINCOLOR, rl.CFrame * CF(1.4, -0, -20), 4, 4, 4, 5, 5, 5, 0.05, 1)
  3914. HitboxFunction(rl.CFrame * CF(-0.4, 0, -22), 0.05, 1, 1, 1, 5, 20, 25, 10, "Snare")
  3915. HitboxFunction(rl.CFrame * CF(-2.4, 0, -22), 0.05, 1, 1, 1, 5, 20, 25, 10, "Snare")
  3916. HitboxFunction(rl.CFrame * CF(1.4, 0, -22), 0.05, 1, 1, 1, 5, 20, 25, 10, "Snare")
  3917. CameraEnshaking(1, 7)
  3918. wait(0.05)
  3919. BlockEffect(MAINRUINCOLOR, rl.CFrame * CF(-0.2, -0, -25), 4, 4, 4, 5, 5, 5, 0.05, 1)
  3920. BlockEffect(MAINRUINCOLOR, rl.CFrame * CF(-2.2, -0, -25), 4, 4, 4, 5, 5, 5, 0.05, 1)
  3921. BlockEffect(MAINRUINCOLOR, rl.CFrame * CF(1.2, -0, -25), 4, 4, 4, 5, 5, 5, 0.05, 1)
  3922. HitboxFunction(rl.CFrame * CF(-0.2, 0, -27), 0.05, 1, 1, 1, 5, 20, 25, 10, "Snare")
  3923. HitboxFunction(rl.CFrame * CF(-2.2, 0, -27), 0.05, 1, 1, 1, 5, 20, 25, 10, "Snare")
  3924. HitboxFunction(rl.CFrame * CF(1.2, 0, -27), 0.05, 1, 1, 1, 5, 20, 25, 10, "Snare")
  3925. CameraEnshaking(1, 7)
  3926. wait(0.05)
  3927. BlockEffect(MAINRUINCOLOR, rl.CFrame * CF(-0, -0, -30), 4, 4, 4, 5, 5, 5, 0.05, 1)
  3928. BlockEffect(MAINRUINCOLOR, rl.CFrame * CF(-2, -0, -30), 4, 4, 4, 5, 5, 5, 0.05, 1)
  3929. BlockEffect(MAINRUINCOLOR, rl.CFrame * CF(1, -0, -30), 4, 4, 4, 5, 5, 5, 0.05, 1)
  3930. HitboxFunction(rl.CFrame * CF(-0, 0, -32), 0.05, 1, 1, 1, 5, 20, 25, 10, "Snare")
  3931. HitboxFunction(rl.CFrame * CF(-2, 0, -32), 0.05, 1, 1, 1, 5, 20, 25, 10, "Snare")
  3932. HitboxFunction(rl.CFrame * CF(1, 0, -32), 0.05, 1, 1, 1, 5, 20, 25, 10, "Snare")
  3933. CameraEnshaking(1, 7)
  3934. end))
  3935. Cso("440145223", RightArm, 10, 1.05)
  3936. for i = 1,7,0.1 do
  3937. 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)
  3938. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(35), Rad(0), Rad(0)), 0.3)
  3939. 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)
  3940. 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)
  3941. 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)
  3942. 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)
  3943. end
  3944. wait(.6)
  3945. hum.WalkSpeed = 8
  3946. attack = false
  3947. end
  3948.  
  3949. function BalanceOrbs()
  3950. hum.WalkSpeed = 0
  3951. attack = true
  3952. for i = 0,1,0.1 do
  3953. swait()
  3954. RH.C0=clerp(RH.C0,cf(1,-0.5,-0.6)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(1.5),math.rad(0),math.rad(-20)),.2)
  3955. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(1),math.rad(0),math.rad(20)),.2)
  3956. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.5,0.5)*angles(math.rad(90),math.rad(0),math.rad(0)),.2)
  3957. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-17),math.rad(0),math.rad(0)),.2)
  3958. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(5),math.rad(40)),.3)
  3959. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(-5),math.rad(-40)),.3)
  3960. end
  3961. sphere2(5,"Add",root.CFrame,vt(1,1,1),1.5,1.5,1.5,MAINRUINCOLOR)
  3962. sphere2(5,"Add",root.CFrame,vt(1,1,1),1,1,1,MAINRUINCOLOR)
  3963. for i = 0, 24 do
  3964. slash(math.random(10,50)/10,5,true,"Round","Add","Out",root.CFrame*CFrame.Angles(math.rad(90),math.rad(math.random(-360,360)),math.rad(0)),vt(0.01,0.01,0.01),math.random(100,400)/250,BrickColor.new("White"))
  3965. end
  3966. CFuncs["Sound"].Create("rbxassetid://763716870", root, 8,1)
  3967. CFuncs["Sound"].Create("rbxassetid://782353443", root, 10,0.8)
  3968. CFuncs["Sound"].Create("rbxassetid://782225570", root, 9,0.5)
  3969. CFuncs["Sound"].Create("rbxassetid://763717569", root, 8,0.9)
  3970. for i = 0,4,0.1 do
  3971. swait()
  3972. root.CFrame = root.CFrame + root.CFrame.lookVector*7.5
  3973. local dis = CreateParta(char,0.25,1,"Neon",MAINRUINCOLOR)
  3974. CreateMesh(dis,"Sphere",1,1,1)
  3975. dis.Anchored = true
  3976. dis.CFrame = larm.CFrame*CFrame.new(0,-3,0)
  3977. local dis2 = CreateParta(char,0.25,1,"Neon",BrickColor.new("Really black"))
  3978. CreateMesh(dis2,"Sphere",1,1,1)
  3979. dis2.Anchored = true
  3980. dis2.CFrame = rarm.CFrame*CFrame.new(0,-3,0)
  3981. sphere2(5,"Add",dis.CFrame,vt(1,1,1),0.1,0.1,0.1,dis.BrickColor,dis.Color)
  3982. sphere2(5,"Add",dis2.CFrame,vt(1,1,1),0.1,0.1,0.1,dis2.BrickColor,dis2.Color)
  3983. coroutine.resume(coroutine.create(function()
  3984. swait(60)
  3985. dis.Transparency = 1
  3986. dis2.Transparency = 1
  3987. coroutine.resume(coroutine.create(function()
  3988. for i = 0, 19 do
  3989. swait()
  3990. hum.CameraOffset = vt(math.random(-10,10)/40,math.random(-10,10)/40,math.random(-10,10)/40)
  3991. end
  3992. hum.CameraOffset = vt(0,0,0)
  3993. end))
  3994. coroutine.resume(coroutine.create(function()
  3995. local eff = Instance.new("ParticleEmitter",dis)
  3996. eff.Texture = "rbxassetid://2273224484"
  3997. eff.LightEmission = 1
  3998. eff.Color = ColorSequence.new(dis.Color)
  3999. eff.Rate = 500000
  4000. eff.Lifetime = NumberRange.new(0.5,2)
  4001. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,20,0),NumberSequenceKeypoint.new(0.2,2,0),NumberSequenceKeypoint.new(0.8,2,0),NumberSequenceKeypoint.new(1,0,0)})
  4002. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(0.1,0,0),NumberSequenceKeypoint.new(0.8,0,0),NumberSequenceKeypoint.new(1,1,0)})
  4003. eff.Speed = NumberRange.new(50,450)
  4004. eff.Drag = 5
  4005. eff.Rotation = NumberRange.new(-500,500)
  4006. eff.VelocitySpread = 9000
  4007. eff.RotSpeed = NumberRange.new(-50,50)
  4008. local eff2 = eff:Clone()
  4009. eff2.Parent = dis2
  4010. eff2.LightEmission = 0
  4011. eff2.Color = ColorSequence.new(dis2.Color)
  4012. wait(0.25)
  4013. eff.Enabled = false
  4014. eff2.Enabled = false
  4015. end))
  4016. MagniDamage(dis, 55, 89,219788936, 0, "Normal")
  4017. MagniDamage(dis2, 55, 89,219788936, 0, "Normal")
  4018. for i = 0, 2 do
  4019. slash(math.random(10,80)/10,5,true,"Round","Add","Out",dis.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.01,0.01,0.01),math.random(100,300)/250,dis.BrickColor)
  4020. slash(math.random(10,80)/10,5,true,"Round","Add","Out",dis2.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.01,0.01,0.01),math.random(100,300)/250,dis2.BrickColor)
  4021. end
  4022. CFuncs["Sound"].Create("rbxassetid://782353117", dis, 1,0.75)
  4023. CFuncs["Sound"].Create("rbxassetid://782353117", dis2, 1,0.75)
  4024. CFuncs["Sound"].Create("rbxassetid://1666361078", dis, 1,1.25)
  4025. CFuncs["Sound"].Create("rbxassetid://1666361078", dis2, 1,1.25)
  4026. CFuncs["Sound"].Create("rbxassetid://782353443", dis, 2,1.15)
  4027. CFuncs["Sound"].Create("rbxassetid://782353443", dis2, 2,1.15)
  4028. sphere2(3,"Add",dis.CFrame,vt(1,1,1),0.8,0.8,0.8,dis.BrickColor,dis.Color)
  4029. sphere2(3,"Add",dis2.CFrame,vt(1,1,1),0.8,0.8,0.8,dis2.BrickColor,dis2.Color)
  4030. end))
  4031. game:GetService("Debris"):AddItem(dis, 5)
  4032. game:GetService("Debris"):AddItem(dis2, 5)
  4033. RH.C0=clerp(RH.C0,cf(1,-0.5,-0.6)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(1.5),math.rad(0),math.rad(-20)),.2)
  4034. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(1),math.rad(0),math.rad(20)),.2)
  4035. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.5,0.5)*angles(math.rad(90),math.rad(0),math.rad(0)),.2)
  4036. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-17),math.rad(0),math.rad(0)),.2)
  4037. RW.C0=clerp(RW.C0,cf(1.4,1.5,0)*angles(math.rad(0),math.rad(5),math.rad(210)),.1)
  4038. LW.C0=clerp(LW.C0,cf(-1.4,1.5,0)*angles(math.rad(0),math.rad(-5),math.rad(-210)),.1)
  4039. end
  4040. attack = false
  4041. hum.WalkSpeed = storehumanoidWS
  4042. end
  4043.  
  4044. -------------------------------------
  4045.  
  4046. Humanoid:ClearAllChildren()
  4047. Character.Animate:Destroy()
  4048.  
  4049. newTheme("rbxassetid://1547042045",0,1,1.25)
  4050. RecolorTextAndRename("Normal",Color3.fromRGB(0, 0, 0),Color3.fromRGB(40, 127, 71),"Fantasy")
  4051. MAINRUINCOLOR = BrickColor.new("Lime green")
  4052. RecolorThing(MAINRUINCOLOR,BrickC("Really black"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,true)
  4053.  
  4054. -------------------------------------
  4055.  
  4056. local attacktype = 1
  4057. mouse.Button1Down:connect(function()
  4058. if attack == false and attacktype == 1 then
  4059. attacktype = 2
  4060. attackone()
  4061. elseif attack == false and attacktype == 2 then
  4062. attacktype = 3
  4063. attacktwo()
  4064. elseif attack == false and attacktype == 3 then
  4065. attacktype = 1
  4066. attackthree()
  4067. elseif attack == false and attacktype == 4 then
  4068. attacktype = 1
  4069. --attackfour()
  4070. end
  4071. end)
  4072. mouse.KeyDown:connect(function(k)
  4073. if k == "modetemplate" and attack == false and ModeOfGlitch ~= 1 then
  4074. ModeOfGlitch = 1
  4075. storehumanoidWS = 16
  4076. hum.WalkSpeed = 16
  4077. rainbowmode = false
  4078. insanemode = false
  4079. newTheme("rbxassetid://1547042045",0,1,1.25)
  4080. RecolorTextAndRename("Normal",Color3.fromRGB(0, 0, 0),Color3.fromRGB(40, 127, 71),"Fantasy")
  4081. MAINRUINCOLOR = BrickColor.new("Lime green")
  4082. RecolorThing(MAINRUINCOLOR,BrickC("Really black"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,true)
  4083. elseif k == "modetemplate" and attack == false and ModeOfGlitch == 1 then
  4084. resetmode()
  4085. end
  4086. if glitchside == "WAOv2" then
  4087. if k == "m" and attack == false and ModeOfGlitch == 1 then
  4088. ModeOfGlitch = 11
  4089. storehumanoidWS = 16
  4090. hum.WalkSpeed = 16
  4091. rainbowmode = false
  4092. insanemode = false
  4093. newTheme("rbxassetid://1244332148",0,1,1.25)
  4094. RecolorTextAndRename("Pixels",Color3.fromRGB(0, 255, 255),Color3.fromRGB(0, 0, 255),"Fantasy")
  4095. MAINRUINCOLOR = BrickColor.new("Lapis")
  4096. RecolorThing(BrickC("Navy blue"),BrickC("Dark blue"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,true)
  4097. end
  4098. if k == "1" and attack == false and ModeOfGlitch ~= 2 then
  4099. ModeOfGlitch = 2
  4100. storehumanoidWS = 16
  4101. hum.WalkSpeed = 16
  4102. rainbowmode = false
  4103. insanemode = false
  4104. newTheme("rbxassetid://409475133",0,1,1.25)
  4105. RecolorTextAndRename("Machinery",Color3.fromRGB(196, 40, 28),Color3.fromRGB(255, 89, 89),"Fantasy")
  4106. MAINRUINCOLOR = BrickC("Bright red")
  4107. RecolorThing(BrickC("Bright red"),BrickC("Persimmon"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,true)
  4108. elseif k == "1" and attack == false and ModeOfGlitch == 2 then
  4109. resetmode()
  4110. end
  4111. if k == "2" and attack == false and ModeOfGlitch ~= 3 then
  4112. ModeOfGlitch = 3
  4113. storehumanoidWS = 16
  4114. hum.WalkSpeed = 16
  4115. rainbowmode = false
  4116. insanemode = false
  4117. newTheme("rbxassetid://1634231515",0,1,1.25)
  4118. RecolorTextAndRename("Below-Zero",Color3.fromRGB(0, 255, 255),Color3.fromRGB(255, 255, 255),"Fantasy")
  4119. MAINRUINCOLOR = BrickC("Toothpaste")
  4120. RecolorThing(BrickC("Toothpaste"),BrickC("Bright blue"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,true)
  4121. elseif k == "2" and attack == false and ModeOfGlitch == 3 then
  4122. resetmode()
  4123. end
  4124. if k == "3" and attack == false and ModeOfGlitch ~= 4 then
  4125. ModeOfGlitch = 4
  4126. storehumanoidWS = 16
  4127. hum.WalkSpeed = 16
  4128. rainbowmode = false
  4129. insanemode = false
  4130. newTheme("rbxassetid://539526132",0,1,1.25)
  4131. RecolorTextAndRename("Infused",Color3.fromRGB(0, 0, 0),Color3.fromRGB(245, 205, 48),"Fantasy")
  4132. MAINRUINCOLOR = BrickC("Bright yellow")
  4133. RecolorThing(BrickC("Bright yellow"),BrickC("Black"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,true)
  4134. elseif k == "3" and attack == false and ModeOfGlitch == 4 then
  4135. resetmode()
  4136. end
  4137. if k == "m" and attack == false and ModeOfGlitch == 4 then
  4138. attack = true
  4139. hum.WalkSpeed = 0
  4140. newTheme("rbxassetid://1764195391",0,1,1.25)
  4141. for i = 1,20,0.1 do
  4142. swait()
  4143. rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, 2 + 0.25* Player_Size * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(0)), 0.05)
  4144. tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(-25 - 6.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.05)
  4145. RH.C0 = clerp(RH.C0, CF(1.1* Player_Size, -0.6 - 0.15 * Cos(sine / 20)* Player_Size, -0.3* Player_Size) * angles(Rad(0), Rad(76), Rad(0)) * angles(Rad(-8.5), Rad(0), Rad(-15)), 0.05)
  4146. LH.C0 = clerp(LH.C0, CF(-1.1* Player_Size, -0.6 - 0.15 * Cos(sine / 20)* Player_Size, -0.3* Player_Size) * angles(Rad(0), Rad(-76), Rad(0)) * angles(Rad(-8.5), Rad(15), Rad(45)), 0.05)
  4147. RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.08 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(5), Rad(-.6), Rad(75)), 0.05)
  4148. LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.08 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(5), Rad(-.6), Rad(-75)), 0.05)
  4149. end
  4150. attack = false
  4151. ModeOfGlitch = 12
  4152. storehumanoidWS = 16
  4153. hum.WalkSpeed = 16
  4154. rainbowmode = false
  4155. insanemode = false
  4156. CFuncs["EchoSound"].Create("rbxassetid://743499393", char, 10, 1.05,0,10,0.15,0.5,1)
  4157. RecolorTextAndRename("Overclocked",Color3.fromRGB(1, 1, 1),Color3.fromRGB(255, 176, 0),"Fantasy")
  4158. MAINRUINCOLOR = BrickC("New Yeller")
  4159. RecolorThing(BrickC("New Yeller"),BrickC("Bright yellow"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,true)
  4160. end
  4161. if k == "4" and attack == false and ModeOfGlitch ~= 5 then
  4162. ModeOfGlitch = 5
  4163. storehumanoidWS = 16
  4164. hum.WalkSpeed = 16
  4165. rainbowmode = false
  4166. insanemode = false
  4167. newTheme("rbxassetid://170282324",0,1,1.25)
  4168. RecolorTextAndRename("Cyber",Color3.fromRGB(0, 0, 0),Color3.fromRGB(0, 255, 255),"Fantasy")
  4169. MAINRUINCOLOR = BrickC("Toothpaste")
  4170. RecolorThing(BrickC("Toothpaste"),BrickC("Black"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,true)
  4171. elseif k == "4" and attack == false and ModeOfGlitch == 5 then
  4172. resetmode()
  4173. end
  4174. if k == "5" and attack == false and ModeOfGlitch ~= 6 then
  4175. ModeOfGlitch = 6
  4176. storehumanoidWS = 16
  4177. hum.WalkSpeed = 16
  4178. rainbowmode = false
  4179. insanemode = false
  4180. newTheme("rbxassetid://407749940",0,1,1.25)
  4181. RecolorTextAndRename("ControlledBR",Color3.fromRGB(0, 0, 0),Color3.fromRGB(255, 89, 89),"Fantasy")
  4182. MAINRUINCOLOR = BrickC("Really red")
  4183. RecolorThing(BrickC("Really red"),BrickC("Dark red"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,true)
  4184. elseif k == "5" and attack == false and ModeOfGlitch == 6 then
  4185. resetmode()
  4186. end
  4187. if k == "6" and attack == false and ModeOfGlitch ~= 7 then
  4188. ModeOfGlitch = 7
  4189. storehumanoidWS = 16
  4190. hum.WalkSpeed = 16
  4191. rainbowmode = false
  4192. insanemode = false
  4193. newTheme("rbxassetid://150794704",0,1,1.25)
  4194. RecolorTextAndRename("Such Wow",Color3.fromRGB(163, 162, 165),Color3.fromRGB(253, 234, 141),"Fantasy")
  4195. MAINRUINCOLOR = BrickC("New Yeller")
  4196. RecolorThing(BrickC("New Yeller"),BrickC("Cool yellow"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,true)
  4197. elseif k == "6" and attack == false and ModeOfGlitch == 7 then
  4198. resetmode()
  4199. end
  4200. if k == "m" and attack == false and ModeOfGlitch == 7 then
  4201. attack = true
  4202. hum.WalkSpeed = 0
  4203. newTheme("rbxassetid://257453119",0,1,1.25)
  4204. for i = 0,10,0.08 do
  4205. swait()
  4206. 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)
  4207. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-20 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3)
  4208. 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)
  4209. 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)
  4210. 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)
  4211. 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)
  4212. end
  4213. attack = false
  4214. ModeOfGlitch = 13
  4215. storehumanoidWS = 16
  4216. hum.WalkSpeed = 16
  4217. rainbowmode = false
  4218. insanemode = false
  4219. RecolorTextAndRename("ASCEND",Color3.fromRGB(255, 0, 255),Color3.fromRGB(255, 255, 255),"Fantasy")
  4220. MAINRUINCOLOR = BrickC("White")
  4221. RecolorThing(BrickC("White"),BrickC("Magenta"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,true)
  4222. end
  4223. if k == "7" and attack == false and ModeOfGlitch ~= 8 then
  4224. ModeOfGlitch = 8
  4225. storehumanoidWS = 16
  4226. hum.WalkSpeed = 16
  4227. rainbowmode = false
  4228. insanemode = false
  4229. newTheme("rbxassetid://561833161",0,1,1.25)
  4230. RecolorTextAndRename("Lunar",Color3.fromRGB(18, 238, 212),Color3.fromRGB(4, 175, 236),"Fantasy")
  4231. MAINRUINCOLOR = BrickC("Cyan")
  4232. RecolorThing(BrickC("Cyan"),BrickC("Teal"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,true)
  4233. elseif k == "7" and attack == false and ModeOfGlitch == 8 then
  4234. resetmode()
  4235. end
  4236. if k == "m" and attack == false and ModeOfGlitch == 8 then
  4237. ModeOfGlitch = 14
  4238. storehumanoidWS = 16
  4239. hum.WalkSpeed = 16
  4240. rainbowmode = false
  4241. insanemode = false
  4242. newTheme("rbxassetid://1770978966",0,1,1.25)
  4243. RecolorTextAndRename("Spirit",Color3.fromRGB(255, 255, 255),Color3.fromRGB(163, 162, 165),"Fantasy")
  4244. MAINRUINCOLOR = BrickC("Fog")
  4245. RecolorThing(BrickC("Fog"),BrickC("Ghost grey"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,true)
  4246. end
  4247. if k == "8" and attack == false and ModeOfGlitch ~= 9 then
  4248. ModeOfGlitch = 9
  4249. storehumanoidWS = 16
  4250. hum.WalkSpeed = 16
  4251. rainbowmode = false
  4252. insanemode = false
  4253. newTheme("rbxassetid://933385346",0,1,1.25)
  4254. RecolorTextAndRename("Balance",Color3.new(255, 255, 255),Color3.new(0, 0, 0),"Fantasy")
  4255. MAINRUINCOLOR = BrickC("Institutional white")
  4256. RecolorThing(BrickC("Institutional white"),BrickC("Really black"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,true)
  4257. elseif k == "8" and attack == false and ModeOfGlitch == 9 then
  4258. resetmode()
  4259. end
  4260. if k == "m" and attack == false and ModeOfGlitch == 9 then
  4261. ModeOfGlitch = 15
  4262. storehumanoidWS = 16
  4263. hum.WalkSpeed = 16
  4264. rainbowmode = false
  4265. insanemode = true
  4266. local A = math.random(1,4)
  4267. if A == 1 then
  4268. newTheme("rbxassetid://919231299",0,1,1.25)
  4269. elseif A == 2 then
  4270. newTheme("rbxassetid://460874877",0,1,1.25)
  4271. elseif A == 3 then
  4272. newTheme("rbxassetid://943961217",0,1,1.25)
  4273. elseif A == 4 then
  4274. newTheme("rbxassetid://623662713",0,1,1.25)
  4275. end
  4276. RecolorTextAndRename("InSaNe",Color3.new(0, 0, 0),Color3.new(0, 0, 0),"Fantasy")
  4277. MAINRUINCOLOR = MAINRUINCOLOR
  4278. RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,true)
  4279. end
  4280. elseif glitchside == "CretScripts" then
  4281. if k == "1" and attack == false and ModeOfGlitch ~= 1 then
  4282. ModeOfGlitch = 1
  4283. storehumanoidWS = 16
  4284. hum.WalkSpeed = 16
  4285. rainbowmode = false
  4286. insanemode = false
  4287. newTheme("rbxassetid://2190980177",0,1,1.25)
  4288. RecolorTextAndRename("ByeBye",Color3.fromRGB(34, 34, 34),Color3.fromRGB(17, 17, 17),"Fantasy")
  4289. MAINRUINCOLOR = BrickC("Really black")
  4290. RecolorThing(BrickC("Really black"),BrickC("Black"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,true)
  4291. end
  4292. if k == "2" and attack == false and ModeOfGlitch ~= 2 then
  4293. ModeOfGlitch = 2
  4294. storehumanoidWS = 16
  4295. hum.WalkSpeed = 16
  4296. rainbowmode = false
  4297. insanemode = false
  4298. newTheme("rbxassetid://1494452913",0,1,1.25)
  4299. RecolorTextAndRename("Eyo-Zen",Color3.fromRGB(255, 255, 255),Color3.fromRGB(177, 167, 255),"Fantasy")
  4300. MAINRUINCOLOR = BrickC("Institutional white")
  4301. RecolorThing(BrickC("Institutional white"),BrickC("Pastel violet"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,true)
  4302. end
  4303. end
  4304. if k == "k" and attack == false and glitchside ~= "WAOv2" then
  4305. glitchside = "WAOv2"
  4306. resetmode()
  4307. elseif k == "l" and attack == false and glitchside ~= "CretScripts" then
  4308. glitchside = "CretScripts"
  4309. ModeOfGlitch = 1
  4310. storehumanoidWS = 16
  4311. hum.WalkSpeed = 16
  4312. rainbowmode = false
  4313. insanemode = false
  4314. newTheme("rbxassetid://2190980177",0,1,1.25)
  4315. RecolorTextAndRename("ByeBye",Color3.fromRGB(34, 34, 34),Color3.fromRGB(17, 17, 17),"Fantasy")
  4316. MAINRUINCOLOR = BrickC("Really black")
  4317. RecolorThing(BrickC("Really black"),BrickC("Black"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,true)
  4318. end
  4319. if k == "AttackTemplate" and attack == false and ModeOfGlitch == 1 then
  4320. AttackTemplate()
  4321. end
  4322. if glitchside == "WAOv2" then
  4323. if k == "t" and attack == false and ModeOfGlitch == 1 then
  4324. NormalTaunt()
  4325. elseif k == "t" and attack == false and ModeOfGlitch == 2 then
  4326. MachineTaunt()
  4327. elseif k == "t" and attack == false and ModeOfGlitch == 3 then
  4328. BelowZeroTaunt()
  4329. elseif k == "t" and attack == false and ModeOfGlitch == 4 then
  4330. InfusedTaunt()
  4331. elseif k == "t" and attack == false and ModeOfGlitch == 6 then
  4332. ControlledBeyondRecognitionTaunt()
  4333. elseif k == "t" and attack == false and ModeOfGlitch == 7 then
  4334. SuchWowTaunt()
  4335. elseif k == "t" and attack == false and ModeOfGlitch == 14 then
  4336. SpiritTaunt()
  4337. end
  4338. if k == "z" and attack == false and ModeOfGlitch == 1 then
  4339. Power_Burst()
  4340. elseif k == "z" and attack == false and ModeOfGlitch == 2 then
  4341. Dangerous_Field()
  4342. elseif k == "z" and attack == false and ModeOfGlitch == 3 then
  4343. Shockwave()
  4344. elseif k == "z" and attack == false and ModeOfGlitch == 9 then
  4345. BalanceOrbs()
  4346. end
  4347. elseif glitchside == "CretScripts" then
  4348. if k == "t" and attack == false and ModeOfGlitch == 1 then
  4349. ByeByeTaunt()
  4350. elseif k == "t" and attack == false and ModeOfGlitch == 2 then
  4351. EyoTaunt()
  4352. end
  4353. if k == "z" and attack == false and ModeOfGlitch == 1 then
  4354. Sayonara()
  4355. elseif k == "z" and attack == false and ModeOfGlitch == 2 then
  4356. Astigmatism()
  4357. end
  4358. if k == "x" and attack == false and ModeOfGlitch == 1 then
  4359. Good_Bye()
  4360. elseif k == "x" and attack == false and ModeOfGlitch == 2 then
  4361. Call_Upon_The_Eyes()
  4362. end
  4363. end
  4364. end)
  4365.  
  4366. local focusScript = script["FocusCam"]:Clone()
  4367. focusScript.Parent = Backpack
  4368. focusScript.FocusOn.Value = Head
  4369. focusScript.Disabled = false
  4370.  
  4371. coroutine.resume(coroutine.create(function()
  4372. while true do
  4373. swait()
  4374. if ModeOfGlitch == 5 then
  4375. Aura(5, 0.15, "Add", root.CFrame * CFrame.new(math.random(-5, 5), -10, math.random(-5, 5)) * CFrame.Angles(math.rad(90), 0, 0), 1.5, 1.5, 10, -0.015, MAINRUINCOLOR, 0, "Brick")
  4376. end
  4377. if ModeOfGlitch == 6 then
  4378. local A = math.random(1,15)
  4379. if A == 1 then
  4380. Aura(5, 0.15, "Add", root.CFrame * CFrame.new(math.random(-5, 5), -10, math.random(-5, 5)) * CFrame.Angles(math.rad(90), 0, 0), 1.5, 1.5, 10, -0.015, MAINRUINCOLOR, 0, "Sphere")
  4381. end
  4382. if A == 2 then
  4383. Aura(5, 0.15, "Add", root.CFrame * CFrame.new(math.random(-5, 5), -10, math.random(-5, 5)) * CFrame.Angles(math.rad(90), 0, 0), 1.5, 1.5, 10, -0.015, MAINRUINCOLOR, 0, "Brick")
  4384. end
  4385. end
  4386. if ModeOfGlitch == 7 then
  4387. Aura(5, 0.15, "Add", root.CFrame * CFrame.new(math.random(-5, 5), -10, math.random(-5, 5)) * CFrame.Angles(math.rad(90), 0, 0), 1.5, 1.5, 10, -0.015, MAINRUINCOLOR, 0, "Sphere")
  4388. end
  4389. end
  4390. end))
  4391.  
  4392. Humanoid.Name = "WAOGLITCHER"
  4393. Humanoid.MaxHealth = math.huge
  4394. Humanoid.Health = math.huge
  4395. Instance.new("ForceField",char).Visible = false
  4396.  
  4397. local bguis = Instance.new("BillboardGui",tors)
  4398. bguis.Size = UDim2.new(25, 0, 25, 0)
  4399. local bguis2 = Instance.new("BillboardGui",tors)
  4400. bguis2.Size = UDim2.new(25, 0, 25, 0)
  4401. local bguis3 = Instance.new("BillboardGui",tors)
  4402. bguis3.Size = UDim2.new(25, 0, 25, 0)
  4403. local bguis4 = Instance.new("BillboardGui",tors)
  4404. bguis4.Size = UDim2.new(25, 0, 25, 0)
  4405. local imgca = Instance.new("ImageLabel",bguis)
  4406. imgca.BackgroundTransparency = 1
  4407. imgca.ImageTransparency = 1
  4408. imgca.Size = UDim2.new(1,0,1,0)
  4409. imgca.Image = "rbxassetid://2344830904" --997291547,521073910,2312119891,2344830904
  4410. imgca.ImageColor3 = Color3.new(0,0,0)
  4411. local imgca2 = Instance.new("ImageLabel",bguis2)
  4412. imgca2.BackgroundTransparency = 1
  4413. imgca2.ImageTransparency = 1
  4414. imgca2.Size = UDim2.new(1,0,1,0)
  4415. imgca2.Image = "rbxassetid://2312119891" --997291547,521073910,2312119891,2344830904
  4416. imgca2.ImageColor3 = Color3.new(0,0,0)
  4417. local imgca3 = Instance.new("ImageLabel",bguis3)
  4418. imgca3.BackgroundTransparency = 1
  4419. imgca3.ImageTransparency = 1
  4420. imgca3.Size = UDim2.new(1,0,1,0)
  4421. imgca3.Image = "rbxassetid://2076519836" --997291547,521073910,2312119891,2344830904
  4422. imgca3.ImageColor3 = Color3.new(0,0,0)
  4423. local imgca4 = Instance.new("ImageLabel",bguis4)
  4424. imgca4.BackgroundTransparency = 1
  4425. imgca4.ImageTransparency = 1
  4426. imgca4.Size = UDim2.new(1,0,1,0)
  4427. imgca4.Image = "rbxassetid://2076458450" --997291547,521073910,2312119891,2344830904
  4428. imgca4.ImageColor3 = Color3.new(0,0,0)
  4429.  
  4430. idleanim=.4
  4431. while true do
  4432. if mutedtog == false then
  4433. kan.Volume = currentVol
  4434. elseif mutedtog == true then
  4435. kan.Volume = 0
  4436. end
  4437. Humanoid.MaxHealth = math.huge
  4438. Humanoid.Health = math.huge
  4439. kanPlaybackLoudness = GetClientProperty(kan, 'PlaybackLoudness')
  4440. kan.PlaybackSpeed = currentPitch
  4441. kan.Pitch = currentPitch
  4442. kan.SoundId = currentThemePlaying
  4443. kan.Looped = true
  4444. kan.Parent = char
  4445. kan:Resume()
  4446. imgca.ImageTransparency = 1
  4447. imgca2.ImageTransparency = 1
  4448. imgca3.ImageTransparency = 1
  4449. imgca4.ImageTransparency = 1
  4450. imgca.Rotation = imgca.Rotation + 5 + kanPlaybackLoudness/100
  4451. imgca2.Rotation = imgca.Rotation - 5 - kanPlaybackLoudness/100
  4452. imgca3.Rotation = imgca.Rotation + 5 + kanPlaybackLoudness/100
  4453. imgca4.Rotation = imgca.Rotation - 1 - kanPlaybackLoudness/100
  4454. bguis.Size = UDim2.new(15 + 3 * math.cos(sine / 30),0, 15 + 3 * math.cos(sine / 30),0)
  4455. bguis3.Size = UDim2.new(10 + 3 * math.cos(sine / 40),0, 10 + 3 * math.cos(sine / 40),0)
  4456. bguis4.Size = UDim2.new(15 + 3 * math.cos(sine / 40),0, 15 + 3 * math.cos(sine / 40),0)
  4457. bguis2.Size = UDim2.new(12.5 + 3 * math.cos(sine / 60),0, 12.5 + 3 * math.cos(sine / 60),0)
  4458.  
  4459. coroutine.resume(coroutine.create(function()
  4460. if insanemode == true then
  4461. for i, v in pairs(mw1:GetChildren()) do
  4462. if v:IsA("Part") then
  4463. v.Transparency = 0
  4464. v.BrickColor = BrickColor.random()
  4465. v.Material = "Neon"
  4466. end
  4467. end
  4468. for i, v in pairs(mw2:GetChildren()) do
  4469. if v:IsA("Part") then
  4470. v.Transparency = 0
  4471. v.BrickColor = BrickColor.random()
  4472. v.Material = "Neon"
  4473. end
  4474. end
  4475. tl1.Color = ColorSequence.new(BrickColor.random().Color)
  4476. tl2.Color = ColorSequence.new(BrickColor.random().Color)
  4477. tl3.Color = ColorSequence.new(BrickColor.random().Color)
  4478. tl4.Color = ColorSequence.new(BrickColor.random().Color)
  4479. RecolorTextAndRename("InSaNe",MAINRUINCOLOR.Color,MAINRUINCOLOR.Color,"Fantasy")
  4480. end
  4481. end))
  4482. if(ModeOfGlitch == 1 and glitchside == "CretScripts")then
  4483. if(kan.TimePosition > 47.0) then
  4484. kan.TimePosition = 0
  4485. end
  4486. end
  4487. if insanemode == false then
  4488. modet.Position = UDim2.new(0,0,0,0)
  4489. modet.Rotation = -5 * math.cos(sine / 32)
  4490. techc.Rotation = techc.Rotation + 1
  4491. circl.Rotation = circl.Rotation - kanPlaybackLoudness/100 - 1
  4492. circl2.Rotation = circl2.Rotation + kanPlaybackLoudness/75 + 1
  4493. imgl2.Rotation = imgl2.Rotation - kanPlaybackLoudness/75 + 1
  4494. imgl2b.Rotation = imgl2b.Rotation + kanPlaybackLoudness/50 - 1
  4495. ned.Rotation = 0 - 2 * math.cos(sine / 24)
  4496. ned.Position = UDim2.new(0.7,0 - 10 * math.cos(sine / 32),0.8,0 - 10 * math.cos(sine / 45))
  4497. elseif insanemode == true then
  4498. techc.Rotation = techc.Rotation + 1
  4499. circl.Rotation = circl.Rotation - kanPlaybackLoudness/50 + math.random(-5,5)
  4500. circl2.Rotation = circl2.Rotation + kanPlaybackLoudness/25 + math.random(-5,5)
  4501. imgl2.Rotation = imgl2.Rotation - kanPlaybackLoudness/25 + math.random(-5,5)
  4502. imgl2b.Rotation = imgl2b.Rotation + kanPlaybackLoudness/12.5 + math.random(-5,5)
  4503. ned.Rotation = 0 -2 * math.cos(sine / 1) + math.random(-3,3)
  4504. ned.Position = UDim2.new(0.7,0 + math.random(-3,3),0.8,0 + math.random(-3,3))
  4505. modet.Position = UDim2.new(0,math.random(-1,1),0,math.random(-1,1))
  4506. modet.Rotation = -2 * math.cos(sine / 1) + math.random(-3,3)
  4507. MAINRUINCOLOR = BrickColor.Random()
  4508. PixelBlockWAO(1.5,0.75,"Add",RightArm.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),0.15,0.15,0.15,0.1,MAINRUINCOLOR,0)
  4509. end
  4510. CameraManager()
  4511. swait()
  4512. if ModeOfGlitch ~= 5 and ModeOfGlitch ~= 8 and ModeOfGlitch ~= 12 and ModeOfGlitch ~= 14 then
  4513. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  4514. handlexweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  4515. lwing1weld.C1=clerp(lwing1weld.C1,cf(2,0,0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(5 + 10 * math.cos(sine / 32)),math.rad(0),math.rad(12.5 + 5 * math.cos(sine / 32))),.3)
  4516. lwing2weld.C1=clerp(lwing2weld.C1,cf(3,1,0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(10 + 15 * math.cos(sine / 32)),math.rad(0),math.rad(25 + 7.5 * math.cos(sine / 32))),.3)
  4517. lwing3weld.C1=clerp(lwing3weld.C1,cf(3.75,2,0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(15 + 20 * math.cos(sine / 32)),math.rad(0),math.rad(37.5 + 10 * math.cos(sine / 32))),.3)
  4518. lwing4weld.C1=clerp(lwing4weld.C1,cf(4.25,3,0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(20 + 25 * math.cos(sine / 32)),math.rad(0),math.rad(50 + 12.5 * math.cos(sine / 32))),.3)
  4519. rwing1weld.C1=clerp(rwing1weld.C1,cf(-2,0,0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(5 + 10 * math.cos(sine / 32)),math.rad(0),math.rad(-12.5 - 5 * math.cos(sine / 32))),.3)
  4520. rwing2weld.C1=clerp(rwing2weld.C1,cf(-3,1,0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(10 + 15 * math.cos(sine / 32)),math.rad(0),math.rad(-25 - 7.5 * math.cos(sine / 32))),.3)
  4521. rwing3weld.C1=clerp(rwing3weld.C1,cf(-3.75,2,0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(15 + 20 * math.cos(sine / 32)),math.rad(0),math.rad(-37.5 - 10 * math.cos(sine / 32))),.3)
  4522. rwing4weld.C1=clerp(rwing4weld.C1,cf(-4.25,3,0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(15 + 20 * math.cos(sine / 32)),math.rad(0),math.rad(-50 - 12.5 * math.cos(sine / 32))),.3)
  4523. elseif ModeOfGlitch == 5 or ModeOfGlitch == 12 or ModeOfGlitch == 14 then
  4524. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  4525. handlexweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  4526. lwing1weld.C1=clerp(lwing1weld.C1,cf(0 + 2.5 * math.cos(sine / 180),1.5 + 0.75 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(0),math.rad(-120 + 3600 * math.cos(sine / 360))),.3)
  4527. lwing2weld.C1=clerp(lwing2weld.C1,cf(0 + 2.5 * math.cos(sine / 180),1.5 + 0.75 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(0),math.rad(0 + 3600 * math.cos(sine / 360))),.3)
  4528. lwing3weld.C1=clerp(lwing3weld.C1,cf(0 + 2.5 * math.cos(sine / 180),1.5 + 0.75 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(0),math.rad(120 + 3600 * math.cos(sine / 360))),.3)
  4529. lwing4weld.C1=clerp(lwing4weld.C1,cf(0 + 2.5 * math.cos(sine / 180),1.5 + 0.75 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(0),math.rad(240 + 3600 * math.cos(sine / 360))),.3)
  4530. rwing1weld.C1=clerp(rwing1weld.C1,cf(0 - 2.5 * math.cos(sine / 180),1.5 - 0.75 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(0),math.rad(-120 - 3600 * math.cos(sine / 720))),.3)
  4531. rwing2weld.C1=clerp(rwing2weld.C1,cf(0 - 2.5 * math.cos(sine / 180),1.5 - 0.75 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(0),math.rad(0 - 3600 * math.cos(sine / 720))),.3)
  4532. rwing3weld.C1=clerp(rwing3weld.C1,cf(0 - 2.5 * math.cos(sine / 180),1.5 - 0.75 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(0),math.rad(120 - 3600 * math.cos(sine / 720))),.3)
  4533. rwing4weld.C1=clerp(rwing4weld.C1,cf(0 - 2.5 * math.cos(sine / 180),1.5 - 0.75 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(0),math.rad(240 - 3600 * math.cos(sine / 720))),.3)
  4534. elseif ModeOfGlitch == 8 then
  4535. handlexweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  4536. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  4537. lwing1weld.C1=clerp(lwing1weld.C1,cf(0,1.5 + 0.75 * math.cos(sine / 21),0)*angles(math.rad(0 + 1 + 1 * math.cos(sine / 1)),math.rad(0 - 1),1 + 1),.3)
  4538. lwing2weld.C1=clerp(lwing2weld.C1,cf(0,1.5 - 12 * math.cos(sine / 21),0)*angles(math.rad(0 + 1 * math.cos(sine / 1)),math.rad(0 - 2),1 + 2),.3)
  4539. lwing3weld.C1=clerp(lwing3weld.C1,cf(0,1.5 + 0.75 * math.cos(sine / 21),0)*angles(math.rad(0 + 1 * math.cos(sine / 1)),math.rad(0 - 3),1 + 3),.3)
  4540. lwing4weld.C1=clerp(lwing4weld.C1,cf(0,1.5 - 8 * math.cos(sine / 21),0)*angles(math.rad(0 + 1 * math.cos(sine / 1)),math.rad(0 - 4),1 + 4),.3)
  4541. rwing1weld.C1=clerp(rwing1weld.C1,cf(0,1.5 + 0.75 * math.cos(sine / 21),0)*angles(math.rad(0 + 1 * math.cos(sine / 1)),math.rad(0 - 5),1 + 5),.3)
  4542. rwing2weld.C1=clerp(rwing2weld.C1,cf(0,1.5 - 12 * math.cos(sine / 21),0)*angles(math.rad(0 + 1 * math.cos(sine / 1)),math.rad(0 - 6),1 + 6),.3)
  4543. rwing3weld.C1=clerp(rwing3weld.C1,cf(0,1.5 + 0.75 * math.cos(sine / 21),0)*angles(math.rad(0 + 1 * math.cos(sine / 1)),math.rad(0 - 7.5),1 + 7),.3)
  4544. rwing4weld.C1=clerp(rwing4weld.C1,cf(0,1.5 - 12 * math.cos(sine / 21),0)*angles(math.rad(0 + 1 * math.cos(sine / 1)),math.rad(0 - 8.5),1 + 8),.3)
  4545. end
  4546. sine = sine + change
  4547. local torvel=(RootPart.Velocity*Vector3.new(1,0,1)).magnitude
  4548. local velderp=RootPart.Velocity.y
  4549. hitfloor,posfloor=rayCast(RootPart.Position,(CFrame.new(RootPart.Position,RootPart.Position - Vector3.new(0,1,0))).lookVector,4,Character)
  4550. if idle>=500 then
  4551. if attack==false then
  4552. --Sheath()
  4553. end
  4554. end
  4555. if RootPart.Velocity.y > 1 and hitfloor==nil then
  4556. Anim="Jump"
  4557. if attack==false then
  4558. RH.C0=clerp(RH.C0,cf(1,-0.35 - 0.05 * math.cos(sine / 25),-0.75)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(-20)),.1)
  4559. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(20)),.1)
  4560. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.05 * math.cos(sine / 25))*angles(math.rad(-10),math.rad(0),math.rad(0)),.1)
  4561. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-2.5),math.rad(0),math.rad(0)),.1)
  4562. RW.C0=clerp(RW.C0,cf(1.45,0.5 + 0.1 * math.cos(sine / 25),0)*angles(math.rad(-5),math.rad(0),math.rad(25)),.1)
  4563. LW.C0=clerp(LW.C0,cf(-1.45,0.5 + 0.1 * math.cos(sine / 25),0)*angles(math.rad(-5),math.rad(0),math.rad(-25)),.1)
  4564. end
  4565. elseif RootPart.Velocity.y < -1 and hitfloor==nil then
  4566. Anim="Fall"
  4567. if attack==false then
  4568. RH.C0=clerp(RH.C0,cf(1,-0.35 - 0.05 * math.cos(sine / 25),-0.75)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(-20)),.1)
  4569. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(20)),.1)
  4570. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.05 * math.cos(sine / 25))*angles(math.rad(10),math.rad(0),math.rad(0)),.1)
  4571. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(2.5),math.rad(0),math.rad(0)),.1)
  4572. RW.C0=clerp(RW.C0,cf(1.45,0.5 + 0.1 * math.cos(sine / 25),0)*angles(math.rad(-15),math.rad(0),math.rad(55)),.1)
  4573. LW.C0=clerp(LW.C0,cf(-1.45,0.5 + 0.1 * math.cos(sine / 25),0)*angles(math.rad(-15),math.rad(0),math.rad(-55)),.1)
  4574. end
  4575. elseif torvel<1 and hitfloor~=nil then
  4576. Anim="Idle"
  4577. if attack==false then
  4578. if glitchside == "WAOv2" then
  4579. if ModeOfGlitch == 1 then
  4580. rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1* Player_Size * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(0)), 0.08)
  4581. tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(15 - 4.5 * Sin(sine / 30)), Rad(0), Rad(0)), 0.08)
  4582. RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(80), Rad(0)) * angles(Rad(-6.5), Rad(0), Rad(0)), 0.08)
  4583. LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-80), Rad(0)) * angles(Rad(-6.5), Rad(0), Rad(0)), 0.08)
  4584. RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-.6), Rad(13 + 4.5 * Sin(sine / 20))), 0.08)
  4585. LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-.6), Rad(-13 - 4.5 * Sin(sine / 20))), 0.08)
  4586. elseif ModeOfGlitch == 11 then
  4587. rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1* Player_Size * Cos(sine / 20)) * angles(Rad(20 + Mrandom(-4,4)), Rad(0), Rad(0)), 0.08)
  4588. tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(46 - 2.5 + Mrandom(-30,30)), Rad(-4.5 + Mrandom(-30,30)), Rad(-4.5 + Mrandom(-30,30))), 0.08)
  4589. RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0 + Mrandom(-6,6)), Rad(80), Rad(0)) * angles(Rad(-10.5 + Mrandom(-6,6)), Rad(0 + Mrandom(-6,6)), Rad(20 + Mrandom(-6,6))), 0.08)
  4590. LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0 + Mrandom(-6,6)), Rad(-80 + Mrandom(-6,6)), Rad(0 + Mrandom(-6,6))) * angles(Rad(-10.5 + Mrandom(-6,6)), Rad(0 + Mrandom(-6,6)), Rad(-20 + Mrandom(-6,6))), 0.08)
  4591. RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(25 + Mrandom(-6,6)), Rad(0 + Mrandom(-6,6)), Rad(5 + Mrandom(-6,6))), 0.08)
  4592. LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(25 + Mrandom(-6,6)), Rad(0 + Mrandom(-6,6)), Rad(-5 + Mrandom(-6,6))), 0.08)
  4593. elseif ModeOfGlitch == 2 then
  4594. rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1* Player_Size * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(20)), 0.08)
  4595. tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(46 - 2.5 * Sin(sine / 30)), Rad(-4.5 * Sin(sine / .5)), Rad(-20 - 4.5 * Sin(sine / .5))), 0.08)
  4596. RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(80), Rad(0)) * angles(Rad(-10.5), Rad(0), Rad(0)), 0.08)
  4597. LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-80), Rad(0)) * angles(Rad(-10.5), Rad(0), Rad(0)), 0.08)
  4598. RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(155), Rad(0), Rad(-45)), 0.08)
  4599. LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(0), Rad(-25)), 0.08)
  4600. elseif ModeOfGlitch == 3 then
  4601. rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1* Player_Size * Cos(sine / 20)) * angles(Rad(10), Rad(0), Rad(0)), 0.08)
  4602. tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(25 - 2.5 * Sin(sine / 30)), Rad(0), Rad(-2.5 * Cos(sine / 1.5))), 0.08)
  4603. RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(80), Rad(0)) * angles(Rad(-10.5), Rad(-2.5 * Cos(sine / 1.5)), Rad(10)), 0.08)
  4604. LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-80), Rad(0)) * angles(Rad(-10.5), Rad(-2.5 * Cos(sine / 1.5)), Rad(-10)), 0.08)
  4605. RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(20 - 2.5 * Cos(sine / 20)), Rad(-2.5 * Cos(sine / 1.5)), Rad(25 + 4.5 * Cos(sine / 20))), 0.08)
  4606. LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(20 - 2.5 * Cos(sine / 20)), Rad(-2.5 * Cos(sine / 1.5)), Rad(-25 - 4.5 * Cos(sine / 20))), 0.08)
  4607. elseif ModeOfGlitch == 4 then
  4608. rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1* Player_Size * Cos(sine / 20)) * angles(Rad(-20), Rad(0), Rad(0)), 0.08)
  4609. tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(15 - 2.5 * Sin(sine / 30)), Rad(0), Rad(0)), 0.08)
  4610. RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(80), Rad(0)) * angles(Rad(-10.5), Rad(0), Rad(-25)), 0.08)
  4611. LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-80), Rad(0)) * angles(Rad(-10.5), Rad(0), Rad(20)), 0.08)
  4612. RW.C0 = clerp(RW.C0, CF(1* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, -0.35* Player_Size) * angles(Rad(90 - 2.5 * Cos(sine / 20)), Rad(0), Rad(-50)), 0.08)
  4613. LW.C0 = clerp(LW.C0, CF(-1* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, -0.15* Player_Size) * angles(Rad(70 - 2.5 * Cos(sine / 20)), Rad(0), Rad(70)), 0.08)
  4614. elseif ModeOfGlitch == 12 then
  4615. 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)
  4616. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(20 - 2.5 * Sin(sine / 20)), Rad(20), Rad(-15)), 0.3)
  4617. 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)
  4618. 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)
  4619. 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)
  4620. 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)
  4621. elseif ModeOfGlitch == 5 then
  4622. rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, 1 + 0.5 * Player_Size * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(0)), 0.08)
  4623. tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(15 - 2.5 * Sin(sine / 30)), Rad(20), Rad(0)), 0.08)
  4624. RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.3 - 0.1 * Cos(sine / 20)* Player_Size, -.4* Player_Size) * angles(Rad(0), Rad(80), Rad(0)) * angles(Rad(-10.5 + 3.5 * Sin(sine / 20)), Rad(0), Rad(-20)), 0.08)
  4625. LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-80), Rad(0)) * angles(Rad(-10.5 + 3.5 * Sin(sine / 20)), Rad(0), Rad(20)), 0.08)
  4626. RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(0), Rad(25 + 10.5 * Sin(sine / 20))), 0.08)
  4627. LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(0), Rad(-25 - 10.5 * Sin(sine / 20))), 0.08)
  4628. elseif ModeOfGlitch == 6 then
  4629. rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1* Player_Size * Cos(sine / 20)) * angles(Rad(20), Rad(0), Rad(0)), 0.08)
  4630. tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(46 - 2.5 * Sin(sine / 30)), Rad(-4.5 * Sin(sine / .5)), Rad(-4.5 * Sin(sine / .5))), 0.08)
  4631. RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(80), Rad(0)) * angles(Rad(-10.5), Rad(0), Rad(20)), 0.08)
  4632. LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-80), Rad(0)) * angles(Rad(-10.5), Rad(0), Rad(-20)), 0.08)
  4633. RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(25), Rad(0), Rad(5)), 0.08)
  4634. LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(25), Rad(0), Rad(-5)), 0.08)
  4635. elseif ModeOfGlitch == 7 or ModeOfGlitch == 9 then
  4636. rootj.C0 = clerp(rootj.C0, RootCF * CF(0 - 0.04 * Sin(sine / 24) * Player_Size, 0 + 0.04 * Sin(sine / 12) * Player_Size, 0 + 0.05 * Player_Size * Cos(sine / 12)) * angles(Rad(0 - 2.5 * Sin(sine / 12)), Rad(0 - 2.5 * Sin(sine / 24)), Rad(0)), 0.08)
  4637. tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(25 - 2.5 * Sin(sine / 12)), Rad(0), Rad(0)), 0.08)
  4638. RH.C0 = clerp(RH.C0, CF(1 * Player_Size, -1 * Player_Size - 0.06 - 0.05 * Player_Size * Cos(sine / 12), -0.01 * Player_Size) * angles(Rad(0 - 2.5 * Sin(sine / 12)), Rad(79), Rad(0)) * angles(Rad(-6 - 2.5 * Sin(sine / 24)), Rad(0), Rad(0)), 0.08)
  4639. LH.C0 = clerp(LH.C0, CF(-1 * Player_Size, -1 * Player_Size - 0.06 - 0.05 * Player_Size * Cos(sine / 12), -0.01 * Player_Size) * angles(Rad(0 - 2.5 * Sin(sine / 12)), Rad(-79), Rad(0)) * angles(Rad(-6 + 2.5 * Sin(sine / 24)), Rad(0), Rad(0)), 0.08)
  4640. RW.C0 = clerp(RW.C0, CF(1 * Player_Size, 0.5 + 0.02 * Sin(sine / 12)* Player_Size, .6* Player_Size) * angles(Rad(-20), Rad(-.6), Rad(-43)), 0.08)
  4641. LW.C0 = clerp(LW.C0, CF(-1 * Player_Size, 0.5 + 0.02 * Sin(sine / 12)* Player_Size, .6* Player_Size) * angles(Rad(-20), Rad(-.6), Rad(43)), 0.08)
  4642. elseif ModeOfGlitch == 13 then
  4643. rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1* Player_Size * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(0)), 0.08)
  4644. tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(15 - 4.5 * Sin(sine / 30)), Rad(0), Rad(0)), 0.08)
  4645. RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(80), Rad(0)) * angles(Rad(-6.5), Rad(0), Rad(0)), 0.08)
  4646. LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-80), Rad(0)) * angles(Rad(-6.5), Rad(0), Rad(0)), 0.08)
  4647. RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-.6), Rad(13 + 4.5 * Sin(sine / 20))), 0.08)
  4648. LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-.6), Rad(-13 - 4.5 * Sin(sine / 20))), 0.08)
  4649. elseif ModeOfGlitch == 8 then
  4650. MagicCharge(7, 0, "Add", ra.CFrame * CF(0, -1.3, 0) * CFrame.Angles(math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360))), 0.5, 0.5, 1.5 * math.random(-1.8, 2), -0.005, MAINRUINCOLOR, 0, "Brick")
  4651. rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, 8 + 0.2* Player_Size * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(0)), 0.08)
  4652. tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(15 - 4.5 * Sin(sine / 30)), Rad(0), Rad(0)), 0.08)
  4653. RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.3 - 0.1 * Cos(sine / 20)* Player_Size, -0.5* Player_Size) * angles(Rad(0), Rad(75), Rad(0)) * angles(Rad(-6.5), Rad(0), Rad(0)), 0.08)
  4654. LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-75), Rad(0)) * angles(Rad(-6.5), Rad(0), Rad(0)), 0.08)
  4655. RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-.6), Rad(135)), 0.08)
  4656. LW.C0 = clerp(LW.C0, CF(-1 * Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, .6* Player_Size) * angles(Rad(-20), Rad(-.6), Rad(43)), 0.08)
  4657. elseif ModeOfGlitch == 14 then
  4658. rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, 1 + 0.5 * Player_Size * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(0)), 0.08)
  4659. tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(15 - 2.5 * Sin(sine / 30)), Rad(20), Rad(0)), 0.08)
  4660. RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.3 - 0.1 * Cos(sine / 20)* Player_Size, -.4* Player_Size) * angles(Rad(0), Rad(80), Rad(0)) * angles(Rad(-10.5 + 3.5 * Sin(sine / 20)), Rad(0), Rad(-20)), 0.08)
  4661. LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-80), Rad(0)) * angles(Rad(-10.5 + 3.5 * Sin(sine / 20)), Rad(0), Rad(20)), 0.08)
  4662. RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(0), Rad(25 + 10.5 * Sin(sine / 20))), 0.08)
  4663. LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(0), Rad(-25 - 10.5 * Sin(sine / 20))), 0.08)
  4664. elseif ModeOfGlitch == 15 then
  4665. 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)
  4666. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(45), Rad(0), Rad(-20)), 0.3)
  4667. 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)
  4668. 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)
  4669. 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)
  4670. 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)
  4671. 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)
  4672. 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)
  4673. end
  4674. elseif glitchside == "CretScripts" then
  4675. if ModeOfGlitch == 1 then
  4676. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(5), Rad(0), Rad(0)), 0.15)
  4677. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(20), Rad(-10 - 2.5 * Sin(sine/ 20)), Rad(20 * Cos(sine / 20))), 0.3)
  4678. RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), -.2 + 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-3.5), Rad(0), Rad(5)), 0.15)
  4679. LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-7), Rad(0), Rad(-5)), 0.15)
  4680. RW.C0 = clerp(RW.C0, CF(1.4, 0.5 + 0.10 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(10 + 5 * Sin(sine/ 20))), 0.1)
  4681. LW.C0 = clerp(LW.C0, CF(-1.4, 0.5 + 0.10 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-10 - 5 * Sin(sine/ 20))), 0.1)
  4682. elseif ModeOfGlitch == 2 then
  4683. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(-2 + 2 * Cos(sine / 12)), Rad(0), Rad(0)), 0.15)
  4684. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-2.5 * Sin(sine / 30)), Rad(0), Rad(0)), 0.3)
  4685. RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, -.2* Player_Size) * angles(Rad(-2 + 2 * Cos(sine / 12)), Rad(74), Rad(0)) * angles(Rad(-2.5), Rad(0), Rad(-4)), 0.15)
  4686. LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(-2 + 2 * Cos(sine / 12)), Rad(-74), Rad(0)) * angles(Rad(-2.5), Rad(0), Rad(-4)), 0.15)
  4687. RW.C0 = clerp(RW.C0, CF(1* Player_Size, 0.3 + 0.06 * Sin(sine / 20)* Player_Size, .6* Player_Size) * angles(Rad(-35), Rad(-25 + 2.5 * Sin(sine / 20)), Rad(-55 + 2.5 * Sin(sine / 20))), 0.12)
  4688. LW.C0 = clerp(LW.C0, CF(-1* Player_Size, 0.3 + 0.06 * Sin(sine / 20)* Player_Size, .6* Player_Size) * angles(Rad(-35), Rad(25 + 2.5 * Sin(sine / 20)), Rad(55 + 2.5 * Sin(sine / 20))), 0.12)
  4689. end
  4690. end
  4691. end
  4692. elseif torvel>2 and torvel<22 and hitfloor~=nil then
  4693. Anim="Walk"
  4694. if attack==false then
  4695. if glitchside == "WAOv2" then
  4696. if ModeOfGlitch ~= 5 and ModeOfGlitch ~= 6 and ModeOfGlitch ~= 8 and ModeOfGlitch ~= 10 and ModeOfGlitch ~= 12 and ModeOfGlitch ~= 14 then
  4697. rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.175 + 0.025 * Cos(sine / 3.5) + -Sin(sine / 3.5) / 7* Player_Size) * angles(Rad(3 - 2.5 * Cos(sine / 3.5)), Rad(0) - root.RotVelocity.Y / 75, Rad(8 * Cos(sine / 7))), 0.15)
  4698. tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(6 - 2.5 * Sin(sine / 7)), Rad(0), Rad(0) - hed.RotVelocity.Y / 15), 0.3)
  4699. RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.8 - 0.5 * Cos(sine / 7) / 2* Player_Size, 0.6 * Cos(sine / 7) / 2* Player_Size) * angles(Rad(-15 - 5 * Cos(sine / 7)) - rl.RotVelocity.Y / 75 + -Sin(sine / 7) / 2.5, Rad(90 - 3 * Cos(sine / 7)), Rad(0)) * angles(Rad(0 + 2 * Cos(sine / 7)), Rad(0), Rad(0)), 0.3)
  4700. LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.8 + 0.5 * Cos(sine / 7) / 2* Player_Size, -0.6 * Cos(sine / 7) / 2* Player_Size) * angles(Rad(-15 + 5 * Cos(sine / 7)) + ll.RotVelocity.Y / 75 + Sin(sine / 7) / 2.5, Rad(-90 - 3 * Cos(sine / 7)), Rad(0)) * angles(Rad(0 - 2 * Cos(sine / 7)), Rad(0), Rad(0)), 0.3)
  4701. RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.05 * Sin(sine / 7)* Player_Size, 0* Player_Size) * angles(Rad(37) * Cos(sine / 7) , Rad(0), Rad(5) - ra.RotVelocity.Y / 75), 0.1)
  4702. LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.05 * Sin(sine / 7)* Player_Size, 0* Player_Size) * angles(Rad(-37) * Cos(sine / 7) , Rad(0) , Rad(-5) + la.RotVelocity.Y / 75), 0.1)
  4703. elseif ModeOfGlitch == 5 then
  4704. rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, 1 + 0.5 * Player_Size * Cos(sine / 20)) * angles(Rad(20), Rad(0), Rad(0)), 0.15)
  4705. tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(15 - 2.5 * Sin(sine / 30)), Rad(0), Rad(0)), 0.3)
  4706. RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.3 - 0.1 * Cos(sine / 20)* Player_Size, -.4* Player_Size) * angles(Rad(0), Rad(80), Rad(0)) * angles(Rad(-10.5 + 3.5 * Sin(sine / 20)), Rad(0), Rad(-20)), 0.15)
  4707. LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-80), Rad(0)) * angles(Rad(-10.5 + 3.5 * Sin(sine / 20)), Rad(0), Rad(20)), 0.15)
  4708. RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(-35), Rad(0), Rad(25)), 0.1)
  4709. LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(-35), Rad(0), Rad(-25)), 0.1)
  4710. elseif ModeOfGlitch == 6 then
  4711. rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.175 + 0.025 * Cos(sine / 3.5) + -Sin(sine / 3.5) / 7* Player_Size) * angles(Rad(20 - 2.5 * Cos(sine / 3.5)), Rad(0) - root.RotVelocity.Y / 75, Rad(8 * Cos(sine / 7))), 0.15)
  4712. tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(46 - 2.5 * Sin(sine / 7)), Rad(0), Rad(0) - hed.RotVelocity.Y / 15), 0.3)
  4713. RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.8 - 0.5 * Cos(sine / 7) / 2* Player_Size, 0.6 * Cos(sine / 7) / 2* Player_Size) * angles(Rad(-5 - 5 * Cos(sine / 7)) - rl.RotVelocity.Y / 75 + -Sin(sine / 7) / 2.5, Rad(90 - 3 * Cos(sine / 7)), Rad(0)) * angles(Rad(0 + 2 * Cos(sine / 7)), Rad(0), Rad(20)), 0.3)
  4714. LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.8 + 0.5 * Cos(sine / 7) / 2* Player_Size, -0.6 * Cos(sine / 7) / 2* Player_Size) * angles(Rad(-5 + 5 * Cos(sine / 7)) + ll.RotVelocity.Y / 75 + Sin(sine / 7) / 2.5, Rad(-90 - 3 * Cos(sine / 7)), Rad(0)) * angles(Rad(0 - 2 * Cos(sine / 7)), Rad(0), Rad(-20)), 0.3)
  4715. RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.05 * Sin(sine / 7)* Player_Size, 0* Player_Size) * angles(Rad(25 + 15 * Cos(sine / 7)), Rad(0), Rad(5) - ra.RotVelocity.Y / 75), 0.1)
  4716. LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.05 * Sin(sine / 7)* Player_Size, 0* Player_Size) * angles(Rad(25 - 15 * Cos(sine / 7)), Rad(0), Rad(-5) + la.RotVelocity.Y / 75), 0.1)
  4717. elseif ModeOfGlitch == 8 then
  4718. rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, 8 + 0.2* Player_Size * Cos(sine / 20)) * angles(Rad(20), Rad(0), Rad(0)), 0.08)
  4719. tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(15 - 4.5 * Sin(sine / 30)), Rad(0), Rad(0)), 0.08)
  4720. RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.3 - 0.1 * Cos(sine / 20)* Player_Size, -0.5* Player_Size) * angles(Rad(0), Rad(75), Rad(0)) * angles(Rad(-6.5), Rad(0), Rad(-20)), 0.08)
  4721. LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-75), Rad(0)) * angles(Rad(-6.5), Rad(0), Rad(20)), 0.08)
  4722. RW.C0 = clerp(RW.C0, CF(1* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, .6* Player_Size) * angles(Rad(-20), Rad(-.6), Rad(-43)), 0.08)
  4723. LW.C0 = clerp(LW.C0, CF(-1 * Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, .6* Player_Size) * angles(Rad(-20), Rad(-.6), Rad(43)), 0.08)
  4724. elseif ModeOfGlitch == 12 then
  4725. 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)
  4726. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3)
  4727. 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)
  4728. 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)
  4729. 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)
  4730. 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)
  4731. elseif ModeOfGlitch == 14 then
  4732. rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, 1 + 0.5 * Player_Size * Cos(sine / 20)) * angles(Rad(20), Rad(0), Rad(0)), 0.15)
  4733. tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(15 - 2.5 * Sin(sine / 30)), Rad(0), Rad(0)), 0.3)
  4734. RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.3 - 0.1 * Cos(sine / 20)* Player_Size, -.4* Player_Size) * angles(Rad(0), Rad(80), Rad(0)) * angles(Rad(-10.5 + 3.5 * Sin(sine / 20)), Rad(0), Rad(-20)), 0.15)
  4735. LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-80), Rad(0)) * angles(Rad(-10.5 + 3.5 * Sin(sine / 20)), Rad(0), Rad(20)), 0.15)
  4736. RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(-35), Rad(0), Rad(25)), 0.1)
  4737. LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(-35), Rad(0), Rad(-25)), 0.1)
  4738. elseif ModeOfGlitch == 15 then
  4739. tors.Neck.C0 = clerp(tors.Neck.C0, necko * CF(0, 0, 0 + ((1) - 1)) * angles(Rad(55 + Mrandom(-20,20)), Rad(Mrandom(-20,20)), Rad(-0 + Mrandom(-20,20))), 1)
  4740. 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)
  4741. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(55), Rad(0), Rad(-0)), 0.3)
  4742. 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 + Mrandom(-23,23)), Rad(0 + Mrandom(-23,23)), Rad(35 + Mrandom(-23,23))), 0.15)
  4743. LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-6.5 + Mrandom(-23,23)), Rad(0 + Mrandom(-23,23)), Rad(-35 + Mrandom(-23,23))), 0.15)
  4744. RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(35 + Mrandom(-23,23)), Rad(-10 + Mrandom(-23,23)), Rad(15 + Mrandom(-23,23))), 0.1)
  4745. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(35 + Mrandom(-23,23)), Rad(10 + Mrandom(-23,23)), Rad(-15 + Mrandom(-23,23))), 0.1)
  4746. end
  4747. elseif glitchside == "CretScripts" then
  4748. if ModeOfGlitch == 1 then
  4749. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.175 + 0.025 * Cos(sine / 3.5) + -Sin(sine / 3.5) / 7) * angles(Rad(9-2.5 * Cos(sine / 3.5)), Rad(0) - root.RotVelocity.Y / 75, Rad(10 * Cos(sine / 7))), 0.15)
  4750. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(0) - hed.RotVelocity.Y / 15), 0.3)
  4751. RH.C0 = clerp(RH.C0, CF(1, -0.925 - 0.5 * Cos(sine / 7) / 2, 0.5 * 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)
  4752. LH.C0 = clerp(LH.C0, CF(-1, -0.925 + 0.5 * Cos(sine / 7) / 2, -0.5 * 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)
  4753. RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(70) * Cos(sine / 7) , Rad(0), Rad(10) - ra.RotVelocity.Y / 75), 0.1)
  4754. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(-70) * Cos(sine / 7) , Rad(0) , Rad(-10) + la.RotVelocity.Y / 75), 0.1)
  4755. elseif ModeOfGlitch == 2 then
  4756. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.175 + 0.025 * Cos(sine / 3.5) + -Sin(sine / 3.5) / 7) * angles(Rad(3 - 2.5 * Cos(sine / 3.5)), Rad(0) - root.RotVelocity.Y / 75, Rad(3 * Cos(sine / 7))), 0.15)
  4757. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(6 - 2.5 * Sin(sine / 7)), Rad(0), Rad(0) - hed.RotVelocity.Y / 15), 0.3)
  4758. RH.C0 = clerp(RH.C0, CF(1, -0.8 - 0.5 * Cos(sine / 7) / 2, 0.6 * Cos(sine / 7) / 2) * angles(Rad(-15 - 5 * Cos(sine / 7)) - rl.RotVelocity.Y / 75 + -Sin(sine / 7) / 2.5, Rad(90 - 3 * Cos(sine / 7)), Rad(0)) * angles(Rad(0 + 2 * Cos(sine / 7)), Rad(0), Rad(0)), 0.3)
  4759. LH.C0 = clerp(LH.C0, CF(-1, -0.8 + 0.5 * Cos(sine / 7) / 2, -0.6 * Cos(sine / 7) / 2) * angles(Rad(-15 + 5 * Cos(sine / 7)) + ll.RotVelocity.Y / 75 + Sin(sine / 7) / 2.5, Rad(-90 - 3 * Cos(sine / 7)), Rad(0)) * angles(Rad(0 - 2 * Cos(sine / 7)), Rad(0), Rad(0)), 0.3)
  4760. RW.C0 = clerp(RW.C0, CF(1* Player_Size, 0.3 + 0.02 * Sin(sine / 20)* Player_Size, .6* Player_Size) * angles(Rad(-35), Rad(-25 + 2.5 * Sin(sine / 20)), Rad(-55 + 2.5 * Sin(sine / 20))), 0.12)
  4761. LW.C0 = clerp(LW.C0, CF(-1* Player_Size, 0.3 + 0.02 * Sin(sine / 20)* Player_Size, .6* Player_Size) * angles(Rad(-35), Rad(25 + 2.5 * Sin(sine / 20)), Rad(55 + 2.5 * Sin(sine / 20))), 0.12)
  4762. end
  4763. end
  4764. end
  4765. elseif torvel>=22 and hitfloor~=nil then
  4766. Anim="Run"
  4767. if attack==false then
  4768. RH.C0=clerp(RH.C0,cf(1,-1 - 0.15 * math.cos(sine / 3),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(0 + 95 * math.cos(sine / 6))),.1)
  4769. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.15 * math.cos(sine / 3),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(0 + 95 * math.cos(sine / 6))),.1)
  4770. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.3,-0.05 + 0.15 * math.cos(sine / 3))*angles(math.rad(25 - 4 * math.cos(sine / 3)),math.rad(0 + root.RotVelocity.Y*1.5),math.rad(0 - root.RotVelocity.Y - 1 * math.cos(sine / 6))),.1)
  4771. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-6 + 2 * math.cos(sine / 3)),math.rad(0 + root.RotVelocity.Y*1.5),math.rad(0 - hed.RotVelocity.Y*1.5 + 1 * math.cos(sine / 6))),.1)
  4772. RW.C0=clerp(RW.C0,cf(1.5,0.5,0.3)*angles(math.rad(-50 + 10 * math.cos(sine / 3)),math.rad(-10),math.rad(7 + 5 * math.cos(sine / 6))),.1)
  4773. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0.3)*angles(math.rad(-50 + 10 * math.cos(sine / 3)),math.rad(10),math.rad(-7 - 5 * math.cos(sine / 6))),.1)
  4774. end
  4775. end
  4776. if 0 < #Effects then
  4777. for e = 1, #Effects do
  4778. if Effects[e] ~= nil then
  4779. local Thing = Effects[e]
  4780. if Thing ~= nil then
  4781. local Part = Thing[1]
  4782. local Mode = Thing[2]
  4783. local Delay = Thing[3]
  4784. local IncX = Thing[4]
  4785. local IncY = Thing[5]
  4786. local IncZ = Thing[6]
  4787. if 1 >= Thing[1].Transparency then
  4788. if Thing[2] == "Block1" then
  4789. Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  4790. local Mesh = Thing[1].Mesh
  4791. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  4792. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  4793. elseif Thing[2] == "Block2" then
  4794. Thing[1].CFrame = Thing[1].CFrame + Vector3.new(0, 0, 0)
  4795. local Mesh = Thing[7]
  4796. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  4797. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  4798. elseif Thing[2] == "Block3" then
  4799. 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)
  4800. local Mesh = Thing[7]
  4801. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  4802. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  4803. elseif Thing[2] == "Cylinder" then
  4804. local Mesh = Thing[1].Mesh
  4805. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  4806. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  4807. elseif Thing[2] == "Blood" then
  4808. local Mesh = Thing[7]
  4809. Thing[1].CFrame = Thing[1].CFrame * Vector3.new(0, 0.5, 0)
  4810. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  4811. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  4812. elseif Thing[2] == "Elec" then local Mesh = Thing[1].Mesh
  4813. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[7], Thing[8], Thing[9])
  4814. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  4815. elseif Thing[2] == "Disappear" then
  4816. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  4817. elseif Thing[2] == "Shatter" then
  4818. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  4819. Thing[4] = Thing[4] * CFrame.new(0, Thing[7], 0)
  4820. Thing[1].CFrame = Thing[4] * CFrame.fromEulerAnglesXYZ(Thing[6], 0, 0)
  4821. Thing[6] = Thing[6] + Thing[5]
  4822. end
  4823. else
  4824. Part.Parent = nil
  4825. table.remove(Effects, e)
  4826. end
  4827. end
  4828. end
  4829. end
  4830. end
  4831. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement