hecknes

StarGlitcher

Mar 18th, 2019
139
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 293.00 KB | None | 0 0
  1. if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
  2. local Player,Mouse,mouse,UserInputService,ContextActionService = owner
  3. do
  4. print("FE Compatibility code by Mokiros")
  5. script.Parent = Player.Character
  6.  
  7. --RemoteEvent for communicating
  8. local Event = Instance.new("RemoteEvent")
  9. Event.Name = "UserInput_Event"
  10.  
  11. --Fake event to make stuff like Mouse.KeyDown work
  12. local function fakeEvent()
  13. local t = {_fakeEvent=true,Connect=function(self,f)self.Function=f end}
  14. t.connect = t.Connect
  15. return t
  16. end
  17.  
  18. --Creating fake input objects with fake variables
  19. local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()}
  20. local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
  21. local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
  22. CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
  23. end}
  24. --Merged 2 functions into one by checking amount of arguments
  25. CAS.UnbindAction = CAS.BindAction
  26.  
  27. --This function will trigger the events that have been :Connect()'ed
  28. local function te(self,ev,...)
  29. local t = m[ev]
  30. if t and t._fakeEvent and t.Function then
  31. t.Function(...)
  32. end
  33. end
  34. m.TrigEvent = te
  35. UIS.TrigEvent = te
  36.  
  37. Event.OnServerEvent:Connect(function(plr,io)
  38. if plr~=Player then return end
  39. if io.isMouse then
  40. m.Target = io.Target
  41. m.Hit = io.Hit
  42. else
  43. local b = io.UserInputState == Enum.UserInputState.Begin
  44. if io.UserInputType == Enum.UserInputType.MouseButton1 then
  45. return m:TrigEvent(b and "Button1Down" or "Button1Up")
  46. end
  47. for _,t in pairs(CAS.Actions) do
  48. for _,k in pairs(t.Keys) do
  49. if k==io.KeyCode then
  50. t.Function(t.Name,io.UserInputState,io)
  51. end
  52. end
  53. end
  54. m:TrigEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower())
  55. UIS:TrigEvent(b and "InputBegan" or "InputEnded",io,false)
  56. end
  57. end)
  58. Event.Parent = NLS([==[
  59. local Player = game:GetService("Players").LocalPlayer
  60. local Event = script:WaitForChild("UserInput_Event")
  61.  
  62. local UIS = game:GetService("UserInputService")
  63. local input = function(io,a)
  64. if a then return end
  65. --Since InputObject is a client-side instance, we create and pass table instead
  66. Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState})
  67. end
  68. UIS.InputBegan:Connect(input)
  69. UIS.InputEnded:Connect(input)
  70.  
  71. local h,t
  72. --Give the server mouse data 30 times every second, but only if the values changed
  73. --If player is not moving their mouse, client won't fire events
  74. while wait(1/30) do
  75. if h~=Mouse.Hit or t~=Mouse.Target then
  76. h,t=Mouse.Hit,Mouse.Target
  77. Event:FireServer({isMouse=true,Target=t,Hit=h})
  78. end
  79. end]==],Player.Character)
  80. Mouse,mouse,UserInputService,ContextActionService = m,m,UIS,CAS
  81. end
  82.  
  83. warn'Star Glitcher Loaded.'
  84. warn'All purpose switcher...'
  85. warn'Created by Noobygames12'
  86. warn'Edited by Neubla_Zorua'
  87. warn([[Icons:
  88. ! = New
  89. ? = Spoilers
  90. * = Exclusivity]])
  91. print([[V 3.21 (ON PROGRESS) Update Log:
  92. ! - Changed Judgement back to Justice
  93. ! - Gave Divinity an attack named Judgement. Credit to XXUNORIB
  94. ! - Replaced Corruption with Glitchy
  95. ! - Fixed some bugs, too
  96. ! - Changed Chaos's "B" (Chaos Begone) to a keystroke. (ddawas)
  97. ]])
  98.  
  99. --- its obs smooth af do not touch
  100. ---- Sources and functions might be taken from others
  101. plr = owner
  102. char = plr.Character
  103. hum = char:FindFirstChildOfClass'Humanoid'
  104. local cam = game.Workspace.CurrentCamera
  105. local Controller = plr.PlayerScripts:WaitForChild("ControlScript")
  106. Camera = cam
  107. local CamInterrupt = false
  108. local TwoD = false
  109. local TargetInfo = {nil, nil}
  110. cam.CameraType = "Custom"
  111. t = char.Torso
  112. h = char.Head
  113. ra = char["Right Arm"]
  114. la = char["Left Arm"]
  115. rl = char["Right Leg"]
  116. ll = char["Left Leg"]
  117. tors = char.Torso
  118. lleg = char["Left Leg"]
  119. root = char.HumanoidRootPart
  120. hed = char.Head
  121. rleg = char["Right Leg"]
  122. rarm = char["Right Arm"]
  123. larm = char["Left Arm"]
  124. radian = math.rad
  125. random = math.random
  126. Vec3 = Vector3.new
  127. Inst = Instance.new
  128. cFrame = CFrame.new
  129. Euler = CFrame.fromEulerAnglesXYZ
  130. vt = Vector3.new
  131. bc = BrickColor.new
  132. br = BrickColor.random
  133. it = Instance.new
  134. cf = CFrame.new
  135.  
  136. local ODers = {}
  137.  
  138. local AllowRape = false;
  139. local AllowCata = false;
  140.  
  141. local Booleans = {
  142. CamFollow = true,
  143. GyroUse = true
  144. }
  145.  
  146. function lerp(object, newCFrame, alpha)
  147. return object:lerp(newCFrame, alpha)
  148. end
  149.  
  150. local Directer = Inst("BodyGyro", root)
  151. Directer.MaxTorque = Vec3(0, 0, 0)
  152. Directer.P = 600000
  153. local CPart = Inst("Part")
  154. CPart.Anchored = true
  155. CPart.CanCollide = false
  156. CPart.Locked = true
  157. CPart.Transparency = 1
  158.  
  159. local rainbowmode = false
  160. local chaosmode = false
  161. local glitchymode = false
  162. kan = Instance.new("Sound",char)
  163. kan.Volume = 1.25
  164. kan.TimePosition = 0
  165. kan.PlaybackSpeed = 1
  166. kan.Pitch = 1
  167. kan.SoundId = "rbxassetid://1564523997"
  168. kan.Name = "wrecked"
  169. kan.Looped = true
  170. kan:Play()
  171.  
  172. local MID = "rbxassetid://1564523997";
  173. local Pitch = 1;
  174.  
  175. function newTheme(ID,timepos,pitch,vol)
  176. local kanz = kan
  177. --kanz:Stop()
  178. --kanz.Volume = vol
  179. --kanz.TimePosition = timepos
  180. kanz.PlaybackSpeed = pitch
  181. kanz.Pitch = pitch
  182. kanz.SoundId = ID
  183. kanz.Name = "wrecked"
  184. kanz.Looped = true
  185. Pitch = pitch
  186. MID = ID
  187. --kanz:Play()
  188. --coroutine.resume(coroutine.create(function()
  189. --wait(0.05)
  190. --end))
  191. end
  192.  
  193. function newThemeCust(ID,timepos,pitch,vol)
  194. local kanz = kan
  195. kanz:Stop()
  196. kanz.Volume = vol
  197. kanz.TimePosition = timepos
  198. kanz.PlaybackSpeed = pitch
  199. kanz.Pitch = pitch
  200. MID = ID
  201. kanz.SoundId = ID
  202. kanz.Name = "wrecked"
  203. kanz.Looped = true
  204. kanz:Play()
  205. coroutine.resume(coroutine.create(function()
  206. wait(0.05)
  207. end))
  208. end
  209.  
  210.  
  211.  
  212. function CameraShake(Times, Power, PlayerTarget)
  213. coroutine.resume(coroutine.create(function()
  214. FV = Instance.new("BoolValue", PlayerTarget)
  215. FV.Name = "CameraShake"
  216. for ShakeNum=1,Times do
  217. swait()
  218. local ef=Power
  219. if ef>=1 then
  220. Humanoid.CameraOffset = Vector3.new(math.random(-ef,ef),math.random(-ef,ef),math.random(-ef,ef))
  221. else
  222. ef=Power*10
  223. Humanoid.CameraOffset = Vector3.new(math.random(-ef,ef)/10,math.random(-ef,ef)/10,math.random(-ef,ef)/10)
  224. end
  225. end
  226. Humanoid.CameraOffset = Vector3.new(0,0,0)
  227. FV:Destroy()
  228. end))
  229. end
  230.  
  231. function CameraEnshaking(Length,Intensity)
  232. coroutine.resume(coroutine.create(function()
  233. local intensity = 1*Intensity
  234. local rotM = 0.01*Intensity
  235. for i = 0, Length, 0.1 do
  236. swait()
  237. intensity = intensity - 0.05*Intensity/Length
  238. rotM = rotM - 0.0005*Intensity/Length
  239. hum.CameraOffset = Vec3(radian(random(-intensity, intensity)), radian(random(-intensity, intensity)), radian(random(-intensity, intensity)))
  240. cam.CFrame = cam.CFrame * cFrame(radian(random(-intensity, intensity)), radian(random(-intensity, intensity)), radian(random(-intensity, intensity))) * Euler(radian(random(-intensity, intensity)) * rotM, radian(random(-intensity, intensity)) * rotM, radian(random(-intensity, intensity)) * rotM)
  241. end
  242. Humanoid.CameraOffset = Vec3(0, 0, 0)
  243. end))
  244. end
  245. CamShake=function(Part,Distan,Power,Times)
  246. local de=Part.Position
  247. for i,v in pairs(workspace:children()) do
  248. if v:IsA("Model") and v:findFirstChild("Humanoid") then
  249. for _,c in pairs(v:children()) do
  250. if c.ClassName=="Part" and (c.Position - de).magnitude < Distan then
  251. local Noob=vFindFirstChildOfClass'Humanoid'
  252. if Noob~=nil then
  253. coroutine.resume(coroutine.create(function()
  254. FV = Instance.new("BoolValue", Noob)
  255. FV.Name = "CameraShake"
  256. for ShakeNum=1,Times do
  257. swait()
  258. local ef=Power
  259. if ef>=1 then
  260. Humanoid.CameraOffset = Vector3.new(math.random(-ef,ef),math.random(-ef,ef),math.random(-ef,ef))
  261. else
  262. ef=Power*10
  263. Humanoid.CameraOffset = Vector3.new(math.random(-ef,ef)/10,math.random(-ef,ef)/10,math.random(-ef,ef)/10)
  264. end
  265. end
  266. Humanoid.CameraOffset = Vector3.new(0,0,0)
  267. FV:Destroy()
  268. end))
  269. CameraShake(Times, Power, Noob)
  270. end
  271. end
  272. end
  273. end
  274. end
  275. end
  276.  
  277. function chatfunc(text,color)
  278. local chat = coroutine.wrap(function()
  279. if Character:FindFirstChild("TalkingBillBoard")~= nil then
  280. Character:FindFirstChild("TalkingBillBoard"):destroy()
  281. end
  282. local naeeym2 = Instance.new("BillboardGui",Character)
  283. naeeym2.Size = UDim2.new(0,100,0,40)
  284. naeeym2.StudsOffset = Vector3.new(0,3,0)
  285. naeeym2.Adornee = Character.Head
  286. naeeym2.Name = "TalkingBillBoard"
  287. local tecks2 = Instance.new("TextLabel",naeeym2)
  288. tecks2.BackgroundTransparency = 1
  289. tecks2.BorderSizePixel = 0
  290. tecks2.Text = ""
  291. tecks2.Font = "SciFi"
  292. tecks2.TextSize = 30
  293. tecks2.TextStrokeTransparency = 0
  294. tecks2.TextColor3 = color
  295. tecks2.TextStrokeColor3 = Color3.new(0,0,0)
  296. tecks2.Size = UDim2.new(1,0,0.5,0)
  297. local tecks3 = Instance.new("TextLabel",naeeym2)
  298. tecks3.BackgroundTransparency = 1
  299. tecks3.BorderSizePixel = 0
  300. tecks3.Text = ""
  301. tecks3.Font = "SciFi"
  302. tecks3.TextSize = 30
  303. tecks3.TextStrokeTransparency = 0
  304. tecks3.TextColor3 = Color3.new(0,0,0)
  305. tecks3.TextStrokeColor3 = color
  306. tecks3.Size = UDim2.new(1,0,0.5,0)
  307. coroutine.resume(coroutine.create(function()
  308. while true do
  309. swait(1)
  310. if chaosmode == true then
  311. tecks2.TextColor3 = BrickColor.random().Color
  312. tecks3.TextStrokeColor3 = BrickColor.random().Color
  313. end
  314. if(glitchymode)then
  315. local val = math.random(1,255)
  316. local color = Color3.fromRGB(val,val,val)
  317. tecks2.TextColor3 = color
  318. tecks3.TextStrokeColor3 = color
  319. end
  320. tecks2.Position = UDim2.new(0,math.random(-5,5),0,math.random(-5,5))
  321. tecks3.Position = UDim2.new(0,math.random(-5,5),0,math.random(-5,5))
  322. tecks2.Rotation = math.random(-5,5)
  323. tecks3.Rotation = math.random(-5,5)
  324. end
  325. end))
  326. for i = 1,string.len(text),1 do
  327. CFuncs["Sound"].Create("rbxassetid://274118116", char, 0.25, 0.115)
  328. tecks2.Text = string.sub(text,1,i)
  329. tecks3.Text = string.sub(text,1,i)
  330. swait(1)
  331. end
  332. wait(1)
  333. local randomrot = math.random(1,2)
  334. if randomrot == 1 then
  335. for i = 1, 50 do
  336. swait()
  337. tecks2.Rotation = tecks2.Rotation - .75
  338. tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
  339. tecks2.TextTransparency = tecks2.TextTransparency + .04
  340. tecks3.Rotation = tecks2.Rotation + .75
  341. tecks3.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
  342. tecks3.TextTransparency = tecks2.TextTransparency + .04
  343. end
  344. elseif randomrot == 2 then
  345. for i = 1, 50 do
  346. swait()
  347. tecks2.Rotation = tecks2.Rotation + .75
  348. tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
  349. tecks2.TextTransparency = tecks2.TextTransparency + .04
  350. tecks3.Rotation = tecks2.Rotation - .75
  351. tecks3.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
  352. tecks3.TextTransparency = tecks2.TextTransparency + .04
  353. end
  354. end
  355. naeeym2:Destroy()
  356. end)
  357. chat()
  358. end
  359.  
  360.  
  361. local Create = LoadLibrary("RbxUtility").Create
  362.  
  363. CFuncs = {
  364. ["Part"] = {
  365. Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  366. local Part = Create("Part"){
  367. Parent = Parent,
  368. Reflectance = Reflectance,
  369. Transparency = Transparency,
  370. CanCollide = false,
  371. Locked = true,
  372. BrickColor = BrickColor.new(tostring(BColor)),
  373. Name = Name,
  374. Size = Size,
  375. Material = Material,
  376. }
  377. RemoveOutlines(Part)
  378. return Part
  379. end;
  380. };
  381.  
  382. ["Mesh"] = {
  383. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  384. local Msh = Create(Mesh){
  385. Parent = Part,
  386. Offset = OffSet,
  387. Scale = Scale,
  388. }
  389. if Mesh == "SpecialMesh" then
  390. Msh.MeshType = MeshType
  391. Msh.MeshId = MeshId
  392. end
  393. return Msh
  394. end;
  395. };
  396.  
  397. ["Mesh"] = {
  398. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  399. local Msh = Create(Mesh){
  400. Parent = Part,
  401. Offset = OffSet,
  402. Scale = Scale,
  403. }
  404. if Mesh == "SpecialMesh" then
  405. Msh.MeshType = MeshType
  406. Msh.MeshId = MeshId
  407. end
  408. return Msh
  409. end;
  410. };
  411.  
  412. ["Weld"] = {
  413. Create = function(Parent, Part0, Part1, C0, C1)
  414. local Weld = Create("Weld"){
  415. Parent = Parent,
  416. Part0 = Part0,
  417. Part1 = Part1,
  418. C0 = C0,
  419. C1 = C1,
  420. }
  421. return Weld
  422. end;
  423. };
  424.  
  425. ["Sound"] = {
  426. Create = function(id, par, vol, pit)
  427. return coroutine.wrap(function()
  428. local S = Create("Sound"){
  429. Volume = vol,
  430. Name = "EffectSoundo",
  431. Pitch = pit or 1,
  432. SoundId = id,
  433. Parent = par or workspace,
  434. }
  435. S:Play()
  436. S.Ended:connect(function()
  437. S:Destroy()
  438. end)
  439. return S;
  440. end)()
  441. end;
  442. };
  443.  
  444. ["LongSound"] = {
  445. Create = function(id, par, vol, pit)
  446. coroutine.resume(coroutine.create(function()
  447. local S = Create("Sound"){
  448. Volume = vol,
  449. Pitch = pit or 1,
  450. SoundId = id,
  451. Parent = par or workspace,
  452. }
  453. wait()
  454. S:play()
  455. game:GetService("Debris"):AddItem(S, 30)
  456. end))
  457. end;
  458. };
  459.  
  460. ["ParticleEmitter"] = {
  461. Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread)
  462. local fp = Create("ParticleEmitter"){
  463. Parent = Parent,
  464. Color = ColorSequence.new(Color1, Color2),
  465. LightEmission = LightEmission,
  466. Size = Size,
  467. Texture = Texture,
  468. Transparency = Transparency,
  469. ZOffset = ZOffset,
  470. Acceleration = Accel,
  471. Drag = Drag,
  472. LockedToPart = LockedToPart,
  473. VelocityInheritance = VelocityInheritance,
  474. EmissionDirection = EmissionDirection,
  475. Enabled = Enabled,
  476. Lifetime = LifeTime,
  477. Rate = Rate,
  478. Rotation = Rotation,
  479. RotSpeed = RotSpeed,
  480. Speed = Speed,
  481. VelocitySpread = VelocitySpread,
  482. }
  483. return fp
  484. end;
  485. };
  486.  
  487. CreateTemplate = {
  488.  
  489. };
  490. }
  491.  
  492.  
  493.  
  494. New = function(Object, Parent, Name, Data)
  495. local Object = Instance.new(Object)
  496. for Index, Value in pairs(Data or {}) do
  497. Object[Index] = Value
  498. end
  499. Object.Parent = Parent
  500. Object.Name = Name
  501. return Object
  502. end
  503. local halocolor = BrickColor.new("Pastel light blue")
  504. local halocolor2 = BrickColor.new("Cool yellow")
  505. local starcolor = BrickColor.new("Bright yellow")
  506. local lunacolor = BrickColor.new("Navy blue")
  507. local lunacolor2 = BrickColor.new("Bright blue")
  508. local wepcolor = BrickColor.new("Really black")
  509. local maincolor = BrickColor.new("Really black")
  510. local m = Instance.new("Model",char)
  511. local m2 = Instance.new("Model",char)
  512. local m3 = Instance.new("Model",char)
  513. local mw1 = Instance.new("Model",char)
  514. local mw2 = Instance.new("Model",char)
  515.  
  516. local extrawingmod1 = Instance.new("Model",char)
  517. local extrawingmod2 = Instance.new("Model",char)
  518.  
  519. function CreateParta(parent,transparency,reflectance,material,brickcolor)
  520. local p = Instance.new("Part")
  521. p.TopSurface = 0
  522. p.BottomSurface = 0
  523. p.Parent = parent
  524. p.Size = Vector3.new(0.1,0.1,0.1)
  525. p.Transparency = transparency
  526. p.Reflectance = reflectance
  527. p.CanCollide = false
  528. p.Locked = true
  529. p.BrickColor = brickcolor
  530. p.Material = material
  531. return p
  532. end
  533.  
  534. function CreateMesh(parent,meshtype,x1,y1,z1)
  535. local mesh = Instance.new("SpecialMesh",parent)
  536. mesh.MeshType = meshtype
  537. mesh.Scale = Vector3.new(x1*10,y1*10,z1*10)
  538. return mesh
  539. end
  540.  
  541. function CreateSpecialMesh(parent,meshid,x1,y1,z1)
  542. local mesh = Instance.new("SpecialMesh",parent)
  543. mesh.MeshType = "FileMesh"
  544. mesh.MeshId = meshid
  545. mesh.Scale = Vector3.new(x1,y1,z1)
  546. return mesh
  547. end
  548.  
  549.  
  550. function CreateSpecialGlowMesh(parent,meshid,x1,y1,z1)
  551. local mesh = Instance.new("SpecialMesh",parent)
  552. mesh.MeshType = "FileMesh"
  553. mesh.MeshId = meshid
  554. mesh.TextureId = "http://www.roblox.com/asset/?id=269748808"
  555. mesh.Scale = Vector3.new(x1,y1,z1)
  556. mesh.VertexColor = Vector3.new(parent.BrickColor.r, parent.BrickColor.g, parent.BrickColor.b)
  557. return mesh
  558. end
  559.  
  560. function CreateWeld(parent,part0,part1,C1X,C1Y,C1Z,C1Xa,C1Ya,C1Za,C0X,C0Y,C0Z,C0Xa,C0Ya,C0Za)
  561. local weld = Instance.new("Weld")
  562. weld.Parent = parent
  563. weld.Part0 = part0
  564. weld.Part1 = part1
  565. weld.C1 = CFrame.new(C1X,C1Y,C1Z)*CFrame.Angles(C1Xa,C1Ya,C1Za)
  566. weld.C0 = CFrame.new(C0X,C0Y,C0Z)*CFrame.Angles(C0Xa,C0Ya,C0Za)
  567. return weld
  568. end
  569.  
  570. local sorb = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  571. 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))
  572. local sorb2 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  573. 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))
  574.  
  575. local handlex = CreateParta(mw2,1,1,"Neon",maincolor)
  576. CreateMesh(handle,"Brick",0,0,0)
  577. 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))
  578. local valuaring = 10
  579. for i = 0, 49 do
  580. valuaring = valuaring + 10
  581. rn = CreateParta(mw2,0,0,"Neon",halocolor)
  582. CreateMesh(rn,"Brick",0.25,0.1,0.1)
  583. 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))
  584. end
  585.  
  586. handlex = CreateParta(mw2,1,1,"Neon",maincolor)
  587. CreateMesh(handle,"Brick",0,0,0)
  588. CreateWeld(handlex,tors,handlex,0,-3,-2.1,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  589. local valuaring = 10
  590. for i = 0, 49 do
  591. valuaring = valuaring + 10
  592. rn = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  593. CreateMesh(rn,"Brick",0.5,0.2,0.2)
  594. CreateWeld(rn,handlex,rn,0,2,0,math.rad(0),math.rad(0),math.rad(valuaring),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  595. end
  596.  
  597.  
  598. local handle = CreateParta(m,1,1,"Neon",maincolor)
  599. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  600. 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))
  601.  
  602. --- Left wing.
  603.  
  604. local lwing1 = CreateParta(m,1,1,"Neon",maincolor)
  605. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  606. 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))
  607.  
  608. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  609. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  610. 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))
  611. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  612. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  613. 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))
  614. A0 = Instance.new('Attachment',wed)
  615. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  616. CreateMesh(wed,"Wedge",0.05,0.5,3)
  617. 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))
  618. A1 = Instance.new('Attachment',wed)
  619. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  620. CreateMesh(wed,"Wedge",0.05,3,0.5)
  621. 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))
  622.  
  623. tl1 = Instance.new('Trail',wed)
  624. tl1.Attachment0 = A0
  625. tl1.Attachment1 = A1
  626. --tl1.Texture = "http://www.roblox.com/asset/?id=1049219073"
  627. tl1.LightEmission = 1
  628. tl1.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  629. tl1.Color = ColorSequence.new(BrickColor.new('Black').Color)
  630. tl1.Lifetime = 0.6
  631.  
  632.  
  633. local lwing2 = CreateParta(m,1,1,"Neon",maincolor)
  634. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  635. 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))
  636.  
  637. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  638. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  639. 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))
  640. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  641. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  642. 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))
  643. A0 = Instance.new('Attachment',wed)
  644. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  645. CreateMesh(wed,"Wedge",0.05,0.5,3)
  646. 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))
  647. A1 = Instance.new('Attachment',wed)
  648. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  649. CreateMesh(wed,"Wedge",0.05,3,0.5)
  650. 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))
  651.  
  652. tl2 = Instance.new('Trail',wed)
  653. tl2.Attachment0 = A0
  654. tl2.Attachment1 = A1
  655. --tl2.Texture = "http://www.roblox.com/asset/?id=1049219073"
  656. tl2.LightEmission = 1
  657. tl2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  658. tl2.Color = ColorSequence.new(BrickColor.new('Black').Color)
  659. tl2.Lifetime = 0.6
  660.  
  661. local lwing3 = CreateParta(m,1,1,"Neon",maincolor)
  662. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  663. 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))
  664.  
  665. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  666. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  667. 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))
  668. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  669. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  670. 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))
  671. A0 = Instance.new('Attachment',wed)
  672. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  673. CreateMesh(wed,"Wedge",0.05,0.5,3)
  674. 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))
  675. A1 = Instance.new('Attachment',wed)
  676. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  677. CreateMesh(wed,"Wedge",0.05,3,0.5)
  678. 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))
  679.  
  680. tl3 = Instance.new('Trail',wed)
  681. tl3.Attachment0 = A0
  682. tl3.Attachment1 = A1
  683. --tl3.Texture = "http://www.roblox.com/asset/?id=1049219073"
  684. tl3.LightEmission = 1
  685. tl3.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  686. tl3.Color = ColorSequence.new(BrickColor.new('Black').Color)
  687. tl3.Lifetime = 0.6
  688.  
  689. tl1.Enabled = false
  690. tl2.Enabled = false
  691. tl3.Enabled = false
  692. local lwing4 = CreateParta(m,1,1,"Neon",maincolor)
  693. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  694. local lwing4weld = CreateWeld(lwing4,handle,lwing4,5.75,3,0,math.rad(20),math.rad(0),math.rad(50),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  695.  
  696. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  697. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  698. 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))
  699. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  700. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  701. 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))
  702. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  703. CreateMesh(wed,"Wedge",0.05,0.5,3)
  704. 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))
  705. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  706. CreateMesh(wed,"Wedge",0.05,3,0.5)
  707. 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))
  708.  
  709. local lwing5 = CreateParta(m,1,1,"Neon",maincolor)
  710. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  711. local lwing5weld = CreateWeld(lwing5,handle,lwing5,6.75,4,0,math.rad(25),math.rad(0),math.rad(62.5),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  712.  
  713. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  714. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  715. CreateWeld(wed,lwing5,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))
  716. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  717. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  718. CreateWeld(wed,lwing5,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))
  719. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  720. CreateMesh(wed,"Wedge",0.05,0.5,3)
  721. CreateWeld(wed,lwing5,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))
  722. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  723. CreateMesh(wed,"Wedge",0.05,3,0.5)
  724. CreateWeld(wed,lwing5,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))
  725.  
  726. local lwing6 = CreateParta(m,1,1,"Neon",maincolor)
  727. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  728. local lwing6weld = CreateWeld(lwing6,handle,lwing6,7.75,5,0,math.rad(30),math.rad(0),math.rad(75),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  729.  
  730. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  731. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  732. CreateWeld(wed,lwing6,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))
  733. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  734. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  735. CreateWeld(wed,lwing6,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))
  736. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  737. CreateMesh(wed,"Wedge",0.05,0.5,3)
  738. CreateWeld(wed,lwing6,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))
  739. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  740. CreateMesh(wed,"Wedge",0.05,3,0.5)
  741. CreateWeld(wed,lwing6,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))
  742.  
  743. -- Right wing.
  744.  
  745. local rwing1 = CreateParta(m,1,1,"Neon",maincolor)
  746. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  747. 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))
  748.  
  749. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  750. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  751. 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))
  752. A0 = Instance.new('Attachment',wed)
  753. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  754. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  755. 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))
  756. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  757. CreateMesh(wed,"Wedge",0.05,0.5,3)
  758. 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))
  759. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  760. CreateMesh(wed,"Wedge",0.05,3,0.5)
  761. 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))
  762. A1 = Instance.new('Attachment',wed)
  763.  
  764. tr1 = Instance.new('Trail',wed)
  765. tr1.Attachment0 = A0
  766. tr1.Attachment1 = A1
  767. --tr1.Texture = "http://www.roblox.com/asset/?id=1049219073"
  768. tr1.LightEmission = 1
  769. tr1.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  770. tr1.Color = ColorSequence.new(BrickColor.new('Black').Color)
  771. tr1.Lifetime = 0.6
  772.  
  773. local rwing2 = CreateParta(m,1,1,"Neon",maincolor)
  774. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  775. 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))
  776.  
  777. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  778. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  779. 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))
  780. A0 = Instance.new('Attachment',wed)
  781. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  782. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  783. 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))
  784. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  785. CreateMesh(wed,"Wedge",0.05,0.5,3)
  786. 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))
  787. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  788. CreateMesh(wed,"Wedge",0.05,3,0.5)
  789. 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))
  790. A1 = Instance.new('Attachment',wed)
  791.  
  792. tr2 = Instance.new('Trail',wed)
  793. tr2.Attachment0 = A0
  794. tr2.Attachment1 = A1
  795. --tr2.Texture = "http://www.roblox.com/asset/?id=1049219073"
  796. tr2.LightEmission = 1
  797. tr2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  798. tr2.Color = ColorSequence.new(BrickColor.new('Black').Color)
  799. tr2.Lifetime = 0.6
  800.  
  801. local rwing3 = CreateParta(m,1,1,"Neon",maincolor)
  802. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  803. 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))
  804.  
  805. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  806. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  807. 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))
  808. A0 = Instance.new('Attachment',wed)
  809. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  810. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  811. 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))
  812. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  813. CreateMesh(wed,"Wedge",0.05,0.5,3)
  814. 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))
  815. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  816. CreateMesh(wed,"Wedge",0.05,3,0.5)
  817. 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))
  818. A1 = Instance.new('Attachment',wed)
  819.  
  820. tr3 = Instance.new('Trail',wed)
  821. tr3.Attachment0 = A0
  822. tr3.Attachment1 = A1
  823. --tr3.Texture = "http://www.roblox.com/asset/?id=1049219073"
  824. tr3.LightEmission = 1
  825. tr3.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  826. tr3.Color = ColorSequence.new(BrickColor.new('Black').Color)
  827. tr3.Lifetime = 0.6
  828.  
  829.  
  830. local rwing4 = CreateParta(m,1,1,"Neon",maincolor)
  831. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  832. local rwing4weld = CreateWeld(rwing4,handle,rwing4,-5.75,3,0,math.rad(20),math.rad(0),math.rad(-50),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  833.  
  834. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  835. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  836. 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))
  837. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  838. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  839. 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))
  840. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  841. CreateMesh(wed,"Wedge",0.05,0.5,3)
  842. 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))
  843. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  844. CreateMesh(wed,"Wedge",0.05,3,0.5)
  845. 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))
  846.  
  847. local rwing5 = CreateParta(m,1,1,"Neon",maincolor)
  848. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  849. local rwing5weld = CreateWeld(rwing5,handle,rwing5,-6.75,4,0,math.rad(25),math.rad(0),math.rad(-62.5),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  850.  
  851. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  852. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  853. CreateWeld(wed,rwing5,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))
  854. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  855. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  856. CreateWeld(wed,rwing5,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))
  857. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  858. CreateMesh(wed,"Wedge",0.05,0.5,3)
  859. CreateWeld(wed,rwing5,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))
  860. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  861. CreateMesh(wed,"Wedge",0.05,3,0.5)
  862. CreateWeld(wed,rwing5,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))
  863.  
  864. local rwing6 = CreateParta(m,1,1,"Neon",maincolor)
  865. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  866. local rwing6weld = CreateWeld(rwing6,handle,rwing6,-7.75,3,0,math.rad(30),math.rad(0),math.rad(-75),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  867.  
  868. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  869. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  870. CreateWeld(wed,rwing6,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))
  871. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  872. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  873. CreateWeld(wed,rwing6,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))
  874. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  875. CreateMesh(wed,"Wedge",0.05,0.5,3)
  876. CreateWeld(wed,rwing6,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))
  877. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  878. CreateMesh(wed,"Wedge",0.05,3,0.5)
  879. CreateWeld(wed,rwing6,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))
  880.  
  881. ---- HERES THE RING
  882.  
  883.  
  884. --[[ran = CreateParta(m2,0,0,"SmoothPlastic",wepcolor)
  885. CreateMesh(ran,"Wedge",1.02,1.02,1.02)
  886. CreateWeld(ran,larm,ran,0,0.15,0,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  887. ran = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  888. CreateMesh(ran,"Wedge",0.9,0.9,1.025)
  889. CreateWeld(ran,larm,ran,0,0.155,0,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  890. ran = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  891. CreateMesh(ran,"Wedge",1.025,0.9,0.9)
  892. CreateWeld(ran,larm,ran,0,0.155,-0.025,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  893.  
  894.  
  895. gan = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  896. CreateMesh(gan,"Brick",1.075,0.1,1.075)
  897. CreateWeld(gan,larm,gan,0,0.5,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  898.  
  899. gan = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  900. CreateMesh(gan,"Brick",1.075,0.1,1.075)
  901. CreateWeld(gan,larm,gan,0,0.75,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  902.  
  903.  
  904.  
  905. gan = CreateParta(m2,0,0,"Neon",halocolor2)
  906. CreateMesh(gan,"Brick",1.095,0.035,1.095)
  907. CreateWeld(gan,larm,gan,0,0.5,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  908.  
  909. gan = CreateParta(m2,0,0,"Neon",halocolor2)
  910. CreateMesh(gan,"Brick",1.095,0.035,1.095)
  911. CreateWeld(gan,larm,gan,0,0.75,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  912.  
  913. gane = CreateParta(m3,0,0,"SmoothPlastic",lunacolor2)
  914. CreateMesh(gane,"Brick",1.0625,0.2,1.0625)
  915. CreateWeld(gane,larm,gane,0,0.6,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  916.  
  917. star = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  918. CreateSpecialMesh(star,"http://www.roblox.com/asset/?id=45428961",2.5,2.5,2.5)
  919. CreateWeld(star,larm,star,0,0.475,0.6,math.rad(90),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  920. starl = CreateParta(m3,0,0,"SmoothPlastic",starcolor)
  921. CreateSpecialMesh(starl,"http://www.roblox.com/asset/?id=45428961",1.95,2.55,1.95)
  922. CreateWeld(starl,larm,starl,0,0.475,0.6,math.rad(90),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  923.  
  924. -- S section A
  925.  
  926. dotsec = CreateParta(m3,0,0,"Neon",halocolor)
  927. CreateMesh(dotsec,"Sphere",0.1,0.1,0.15)
  928. CreateWeld(dotsec,larm,dotsec,0,0.635,-0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  929. dotseca = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  930. CreateMesh(dotseca,"Sphere",0.2,0.2,0.1)
  931. CreateWeld(dotseca,larm,dotseca,0,0.635,-0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  932. dotsecb = CreateParta(m2,0,0,"SmoothPlastic",lunacolor)
  933. CreateMesh(dotsecb,"Sphere",0.15,0.15,0.125)
  934. CreateWeld(dotsecb,larm,dotsecb,0,0.635,-0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  935.  
  936. dotsec = CreateParta(m3,0,0,"Neon",halocolor)
  937. CreateMesh(dotsec,"Sphere",0.1,0.1,0.15)
  938. CreateWeld(dotsec,larm,dotsec,0.2,0.635,-0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  939. dotseca = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  940. CreateMesh(dotseca,"Sphere",0.2,0.2,0.1)
  941. CreateWeld(dotseca,larm,dotseca,0.2,0.635,-0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  942. dotsecb = CreateParta(m2,0,0,"SmoothPlastic",lunacolor)
  943. CreateMesh(dotsecb,"Sphere",0.15,0.15,0.125)
  944. CreateWeld(dotsecb,larm,dotsecb,0.2,0.635,-0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  945.  
  946. dotsec = CreateParta(m3,0,0,"Neon",halocolor)
  947. CreateMesh(dotsec,"Sphere",0.1,0.1,0.15)
  948. CreateWeld(dotsec,larm,dotsec,0.4,0.635,-0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  949. dotseca = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  950. CreateMesh(dotseca,"Sphere",0.2,0.2,0.1)
  951. CreateWeld(dotseca,larm,dotseca,0.4,0.635,-0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  952. dotsecb = CreateParta(m2,0,0,"SmoothPlastic",lunacolor)
  953. CreateMesh(dotsecb,"Sphere",0.15,0.15,0.125)
  954. CreateWeld(dotsecb,larm,dotsecb,0.4,0.635,-0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  955.  
  956. dotsec = CreateParta(m3,0,0,"Neon",halocolor)
  957. CreateMesh(dotsec,"Sphere",0.1,0.1,0.15)
  958. CreateWeld(dotsec,larm,dotsec,-0.2,0.635,-0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  959. dotseca = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  960. CreateMesh(dotseca,"Sphere",0.2,0.2,0.1)
  961. CreateWeld(dotseca,larm,dotseca,-0.2,0.635,-0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  962. dotsecb = CreateParta(m2,0,0,"SmoothPlastic",lunacolor)
  963. CreateMesh(dotsecb,"Sphere",0.15,0.15,0.125)
  964. CreateWeld(dotsecb,larm,dotsecb,-0.2,0.635,-0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  965.  
  966. dotsec = CreateParta(m3,0,0,"Neon",halocolor)
  967. CreateMesh(dotsec,"Sphere",0.1,0.1,0.15)
  968. CreateWeld(dotsec,larm,dotsec,-0.4,0.635,-0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  969. dotseca = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  970. CreateMesh(dotseca,"Sphere",0.2,0.2,0.1)
  971. CreateWeld(dotseca,larm,dotseca,-0.4,0.635,-0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  972. dotsecb = CreateParta(m2,0,0,"SmoothPlastic",lunacolor)
  973. CreateMesh(dotsecb,"Sphere",0.15,0.15,0.125)
  974. CreateWeld(dotsecb,larm,dotsecb,-0.4,0.635,-0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  975.  
  976. -- S section B
  977.  
  978. dotsec = CreateParta(m3,0,0,"Neon",halocolor)
  979. CreateMesh(dotsec,"Sphere",0.1,0.1,0.15)
  980. CreateWeld(dotsec,larm,dotsec,0,0.635,0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  981. dotseca = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  982. CreateMesh(dotseca,"Sphere",0.2,0.2,0.1)
  983. CreateWeld(dotseca,larm,dotseca,0,0.635,0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  984. dotsecb = CreateParta(m2,0,0,"SmoothPlastic",lunacolor)
  985. CreateMesh(dotsecb,"Sphere",0.15,0.15,0.125)
  986. CreateWeld(dotsecb,larm,dotsecb,0,0.635,0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  987.  
  988. dotsec = CreateParta(m3,0,0,"Neon",halocolor)
  989. CreateMesh(dotsec,"Sphere",0.1,0.1,0.15)
  990. CreateWeld(dotsec,larm,dotsec,0.2,0.635,0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  991. dotseca = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  992. CreateMesh(dotseca,"Sphere",0.2,0.2,0.1)
  993. CreateWeld(dotseca,larm,dotseca,0.2,0.635,0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  994. dotsecb = CreateParta(m2,0,0,"SmoothPlastic",lunacolor)
  995. CreateMesh(dotsecb,"Sphere",0.15,0.15,0.125)
  996. CreateWeld(dotsecb,larm,dotsecb,0.2,0.635,0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  997.  
  998. dotsec = CreateParta(m3,0,0,"Neon",halocolor)
  999. CreateMesh(dotsec,"Sphere",0.1,0.1,0.15)
  1000. CreateWeld(dotsec,larm,dotsec,0.4,0.635,0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1001. dotseca = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1002. CreateMesh(dotseca,"Sphere",0.2,0.2,0.1)
  1003. CreateWeld(dotseca,larm,dotseca,0.4,0.635,0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1004. dotsecb = CreateParta(m2,0,0,"SmoothPlastic",lunacolor)
  1005. CreateMesh(dotsecb,"Sphere",0.15,0.15,0.125)
  1006. CreateWeld(dotsecb,larm,dotsecb,0.4,0.635,0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1007.  
  1008. dotsec = CreateParta(m3,0,0,"Neon",halocolor)
  1009. CreateMesh(dotsec,"Sphere",0.1,0.1,0.15)
  1010. CreateWeld(dotsec,larm,dotsec,-0.2,0.635,0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1011. dotseca = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1012. CreateMesh(dotseca,"Sphere",0.2,0.2,0.1)
  1013. CreateWeld(dotseca,larm,dotseca,-0.2,0.635,0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1014. dotsecb = CreateParta(m2,0,0,"SmoothPlastic",lunacolor)
  1015. CreateMesh(dotsecb,"Sphere",0.15,0.15,0.125)
  1016. CreateWeld(dotsecb,larm,dotsecb,-0.2,0.635,0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1017.  
  1018. dotsec = CreateParta(m3,0,0,"Neon",halocolor)
  1019. CreateMesh(dotsec,"Sphere",0.1,0.1,0.15)
  1020. CreateWeld(dotsec,larm,dotsec,-0.4,0.635,0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1021. dotseca = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1022. CreateMesh(dotseca,"Sphere",0.2,0.2,0.1)
  1023. CreateWeld(dotseca,larm,dotseca,-0.4,0.635,0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1024. dotsecb = CreateParta(m2,0,0,"SmoothPlastic",lunacolor)
  1025. CreateMesh(dotsecb,"Sphere",0.15,0.15,0.125)
  1026. CreateWeld(dotsecb,larm,dotsecb,-0.4,0.635,0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1027.  
  1028. --- second ring
  1029.  
  1030. ran = CreateParta(m2,0,0,"SmoothPlastic",wepcolor)
  1031. CreateMesh(ran,"Wedge",1.02,1.02,1.02)
  1032. CreateWeld(ran,rarm,ran,0,0.15,0,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1033. ran = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1034. CreateMesh(ran,"Wedge",0.9,0.9,1.025)
  1035. CreateWeld(ran,rarm,ran,0,0.155,0,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1036. ran = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1037. CreateMesh(ran,"Wedge",1.025,0.9,0.9)
  1038. CreateWeld(ran,rarm,ran,0,0.155,-0.025,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1039.  
  1040. gan = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1041. CreateMesh(gan,"Brick",1.075,0.1,1.075)
  1042. CreateWeld(gan,rarm,gan,0,0.5,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1043.  
  1044. gan = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1045. CreateMesh(gan,"Brick",1.075,0.1,1.075)
  1046. CreateWeld(gan,rarm,gan,0,0.75,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1047.  
  1048.  
  1049.  
  1050. gan = CreateParta(m2,0,0,"Neon",halocolor2)
  1051. CreateMesh(gan,"Brick",1.095,0.035,1.095)
  1052. CreateWeld(gan,rarm,gan,0,0.5,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1053.  
  1054. gan = CreateParta(m2,0,0,"Neon",halocolor2)
  1055. CreateMesh(gan,"Brick",1.095,0.035,1.095)
  1056. CreateWeld(gan,rarm,gan,0,0.75,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1057.  
  1058. gane = CreateParta(m3,0,0,"SmoothPlastic",lunacolor2)
  1059. CreateMesh(gane,"Brick",1.0625,0.2,1.0625)
  1060. CreateWeld(gane,rarm,gane,0,0.6,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1061.  
  1062. star = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1063. CreateSpecialMesh(star,"http://www.roblox.com/asset/?id=45428961",2.5,2.5,2.5)
  1064. CreateWeld(star,rarm,star,0,-0.475,0.6,math.rad(90),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1065. starl = CreateParta(m3,0,0,"SmoothPlastic",starcolor)
  1066. CreateSpecialMesh(starl,"http://www.roblox.com/asset/?id=45428961",1.95,2.55,1.95)
  1067. CreateWeld(starl,rarm,starl,0,-0.475,0.6,math.rad(90),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1068.  
  1069. -- S section A
  1070.  
  1071. dotsec = CreateParta(m3,0,0,"Neon",halocolor)
  1072. CreateMesh(dotsec,"Sphere",0.1,0.1,0.15)
  1073. CreateWeld(dotsec,rarm,dotsec,0,0.635,-0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1074. dotseca = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1075. CreateMesh(dotseca,"Sphere",0.2,0.2,0.1)
  1076. CreateWeld(dotseca,rarm,dotseca,0,0.635,-0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1077. dotsecb = CreateParta(m2,0,0,"SmoothPlastic",lunacolor)
  1078. CreateMesh(dotsecb,"Sphere",0.15,0.15,0.125)
  1079. CreateWeld(dotsecb,rarm,dotsecb,0,0.635,-0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1080.  
  1081. dotsec = CreateParta(m3,0,0,"Neon",halocolor)
  1082. CreateMesh(dotsec,"Sphere",0.1,0.1,0.15)
  1083. CreateWeld(dotsec,rarm,dotsec,0.2,0.635,-0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1084. dotseca = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1085. CreateMesh(dotseca,"Sphere",0.2,0.2,0.1)
  1086. CreateWeld(dotseca,rarm,dotseca,0.2,0.635,-0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1087. dotsecb = CreateParta(m2,0,0,"SmoothPlastic",lunacolor)
  1088. CreateMesh(dotsecb,"Sphere",0.15,0.15,0.125)
  1089. CreateWeld(dotsecb,rarm,dotsecb,0.2,0.635,-0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1090.  
  1091. dotsec = CreateParta(m3,0,0,"Neon",halocolor)
  1092. CreateMesh(dotsec,"Sphere",0.1,0.1,0.15)
  1093. CreateWeld(dotsec,rarm,dotsec,0.4,0.635,-0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1094. dotseca = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1095. CreateMesh(dotseca,"Sphere",0.2,0.2,0.1)
  1096. CreateWeld(dotseca,rarm,dotseca,0.4,0.635,-0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1097. dotsecb = CreateParta(m2,0,0,"SmoothPlastic",lunacolor)
  1098. CreateMesh(dotsecb,"Sphere",0.15,0.15,0.125)
  1099. CreateWeld(dotsecb,rarm,dotsecb,0.4,0.635,-0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1100.  
  1101. dotsec = CreateParta(m3,0,0,"Neon",halocolor)
  1102. CreateMesh(dotsec,"Sphere",0.1,0.1,0.15)
  1103. CreateWeld(dotsec,rarm,dotsec,-0.2,0.635,-0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1104. dotseca = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1105. CreateMesh(dotseca,"Sphere",0.2,0.2,0.1)
  1106. CreateWeld(dotseca,rarm,dotseca,-0.2,0.635,-0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1107. dotsecb = CreateParta(m2,0,0,"SmoothPlastic",lunacolor)
  1108. CreateMesh(dotsecb,"Sphere",0.15,0.15,0.125)
  1109. CreateWeld(dotsecb,rarm,dotsecb,-0.2,0.635,-0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1110.  
  1111. dotsec = CreateParta(m3,0,0,"Neon",halocolor)
  1112. CreateMesh(dotsec,"Sphere",0.1,0.1,0.15)
  1113. CreateWeld(dotsec,rarm,dotsec,-0.4,0.635,-0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1114. dotseca = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1115. CreateMesh(dotseca,"Sphere",0.2,0.2,0.1)
  1116. CreateWeld(dotseca,rarm,dotseca,-0.4,0.635,-0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1117. dotsecb = CreateParta(m2,0,0,"SmoothPlastic",lunacolor)
  1118. CreateMesh(dotsecb,"Sphere",0.15,0.15,0.125)
  1119. CreateWeld(dotsecb,rarm,dotsecb,-0.4,0.635,-0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1120.  
  1121. -- S section B
  1122.  
  1123. dotsec = CreateParta(m3,0,0,"Neon",halocolor)
  1124. CreateMesh(dotsec,"Sphere",0.1,0.1,0.15)
  1125. CreateWeld(dotsec,rarm,dotsec,0,0.635,0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1126. dotseca = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1127. CreateMesh(dotseca,"Sphere",0.2,0.2,0.1)
  1128. CreateWeld(dotseca,rarm,dotseca,0,0.635,0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1129. dotsecb = CreateParta(m2,0,0,"SmoothPlastic",lunacolor)
  1130. CreateMesh(dotsecb,"Sphere",0.15,0.15,0.125)
  1131. CreateWeld(dotsecb,rarm,dotsecb,0,0.635,0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1132.  
  1133. dotsec = CreateParta(m3,0,0,"Neon",halocolor)
  1134. CreateMesh(dotsec,"Sphere",0.1,0.1,0.15)
  1135. CreateWeld(dotsec,rarm,dotsec,0.2,0.635,0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1136. dotseca = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1137. CreateMesh(dotseca,"Sphere",0.2,0.2,0.1)
  1138. CreateWeld(dotseca,rarm,dotseca,0.2,0.635,0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1139. dotsecb = CreateParta(m2,0,0,"SmoothPlastic",lunacolor)
  1140. CreateMesh(dotsecb,"Sphere",0.15,0.15,0.125)
  1141. CreateWeld(dotsecb,rarm,dotsecb,0.2,0.635,0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1142.  
  1143. dotsec = CreateParta(m3,0,0,"Neon",halocolor)
  1144. CreateMesh(dotsec,"Sphere",0.1,0.1,0.15)
  1145. CreateWeld(dotsec,rarm,dotsec,0.4,0.635,0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1146. dotseca = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1147. CreateMesh(dotseca,"Sphere",0.2,0.2,0.1)
  1148. CreateWeld(dotseca,rarm,dotseca,0.4,0.635,0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1149. dotsecb = CreateParta(m2,0,0,"SmoothPlastic",lunacolor)
  1150. CreateMesh(dotsecb,"Sphere",0.15,0.15,0.125)
  1151. CreateWeld(dotsecb,rarm,dotsecb,0.4,0.635,0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1152.  
  1153. dotsec = CreateParta(m3,0,0,"Neon",halocolor)
  1154. CreateMesh(dotsec,"Sphere",0.1,0.1,0.15)
  1155. CreateWeld(dotsec,rarm,dotsec,-0.2,0.635,0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1156. dotseca = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1157. CreateMesh(dotseca,"Sphere",0.2,0.2,0.1)
  1158. CreateWeld(dotseca,rarm,dotseca,-0.2,0.635,0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1159. dotsecb = CreateParta(m2,0,0,"SmoothPlastic",lunacolor)
  1160. CreateMesh(dotsecb,"Sphere",0.15,0.15,0.125)
  1161. CreateWeld(dotsecb,rarm,dotsecb,-0.2,0.635,0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1162.  
  1163. dotsec = CreateParta(m3,0,0,"Neon",halocolor)
  1164. CreateMesh(dotsec,"Sphere",0.1,0.1,0.15)
  1165. CreateWeld(dotsec,rarm,dotsec,-0.4,0.635,0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1166. dotseca = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1167. CreateMesh(dotseca,"Sphere",0.2,0.2,0.1)
  1168. CreateWeld(dotseca,rarm,dotseca,-0.4,0.635,0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1169. dotsecb = CreateParta(m2,0,0,"SmoothPlastic",lunacolor)
  1170. CreateMesh(dotsecb,"Sphere",0.15,0.15,0.125)
  1171. CreateWeld(dotsecb,rarm,dotsecb,-0.4,0.635,0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))]]--
  1172.  
  1173.  
  1174. for i, v in pairs(m:GetChildren()) do
  1175. if v:IsA("Part") then
  1176. v.BrickColor = BrickColor.new("Really black")
  1177. v.Material = "Glass"
  1178. end
  1179. end
  1180. for i, v in pairs(m2:GetChildren()) do
  1181. if v:IsA("Part") then
  1182. v.BrickColor = BrickColor.new("Dark stone grey")
  1183. v.Material = "Granite"
  1184. end
  1185. end
  1186. for i, v in pairs(m3:GetChildren()) do
  1187. if v:IsA("Part") then
  1188. v.BrickColor = BrickColor.new("Really black")
  1189. v.Material = "Neon"
  1190. end
  1191. end
  1192. for i, v in pairs(mw2:GetChildren()) do
  1193. if v:IsA("Part") then
  1194. v.BrickColor = BrickColor.new("Really black")
  1195. v.Material = "Neon"
  1196. end
  1197. end
  1198. for i, v in pairs(mw1:GetChildren()) do
  1199. if v:IsA("Part") then
  1200. v.Transparency = 1
  1201. v.BrickColor = BrickColor.new("Really black")
  1202. v.Material = "Neon"
  1203. end
  1204. end
  1205. for i, v in pairs(extrawingmod1:GetChildren()) do
  1206. if v:IsA("Part") then
  1207. v.Transparency = 1
  1208. v.BrickColor = BrickColor.new("White")
  1209. v.Material = "Neon"
  1210. end
  1211. end
  1212. for i, v in pairs(extrawingmod2:GetChildren()) do
  1213. if v:IsA("Part") then
  1214. v.Transparency = 1
  1215. v.BrickColor = BrickColor.new("White")
  1216. v.Material = "Neon"
  1217. end
  1218. end
  1219. local MAINRUINCOLOR = BrickColor.new("Really black")
  1220. ------
  1221.  
  1222.  
  1223. function RemoveOutlines(part)
  1224. part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10
  1225. end
  1226. function CreatePart(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  1227. local Part = Create("Part")({
  1228. Parent = Parent,
  1229. Reflectance = Reflectance,
  1230. Transparency = Transparency,
  1231. CanCollide = false,
  1232. Locked = true,
  1233. BrickColor = BrickColor.new(tostring(BColor)),
  1234. Name = Name,
  1235. Size = Size,
  1236. Material = Material
  1237. })
  1238. Part.CustomPhysicalProperties = PhysicalProperties.new(0.001, 0.001, 0.001, 0.001, 0.001)
  1239. RemoveOutlines(Part)
  1240. return Part
  1241. end
  1242. function CreateMesh(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  1243. local Msh = Create(Mesh)({
  1244. Parent = Part,
  1245. Offset = OffSet,
  1246. Scale = Scale
  1247. })
  1248. if Mesh == "SpecialMesh" then
  1249. Msh.MeshType = MeshType
  1250. Msh.MeshId = MeshId
  1251. end
  1252. return Msh
  1253. end
  1254. function CreateWeld(Parent, Part0, Part1, C0, C1)
  1255. local Weld = Create("Weld")({
  1256. Parent = Parent,
  1257. Part0 = Part0,
  1258. Part1 = Part1,
  1259. C0 = C0,
  1260. C1 = C1
  1261. })
  1262. return Weld
  1263. end
  1264.  
  1265. Player=owner
  1266. Character=Player.Character
  1267. PlayerGui=Player.PlayerGui
  1268. Backpack=Player.Backpack
  1269. Torso=Character.Torso
  1270. Head=Character.Head
  1271. Humanoid=Character:FindFirstChildOfClass'Humanoid'
  1272. m=Instance.new('Model',Character)
  1273. LeftArm=Character["Left Arm"]
  1274. LeftLeg=Character["Left Leg"]
  1275. RightArm=Character["Right Arm"]
  1276. RightLeg=Character["Right Leg"]
  1277. LS=Torso["Left Shoulder"]
  1278. LH=Torso["Left Hip"]
  1279. RS=Torso["Right Shoulder"]
  1280. RH=Torso["Right Hip"]
  1281. Face = Head.face
  1282. Neck=Torso.Neck
  1283. it=Instance.new
  1284. attacktype=1
  1285. vt=Vector3.new
  1286. cf=CFrame.new
  1287. euler=CFrame.fromEulerAnglesXYZ
  1288. angles=CFrame.Angles
  1289. cloaked=false
  1290. necko=cf(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  1291. necko2=cf(0, -0.5, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  1292. LHC0=cf(-1,-1,0,-0,-0,-1,0,1,0,1,0,0)
  1293. LHC1=cf(-0.5,1,0,-0,-0,-1,0,1,0,1,0,0)
  1294. RHC0=cf(1,-1,0,0,0,1,0,1,0,-1,-0,-0)
  1295. RHC1=cf(0.5,1,0,0,0,1,0,1,0,-1,-0,-0)
  1296. RootPart=Character.HumanoidRootPart
  1297. RootJoint=RootPart.RootJoint
  1298. RootCF=euler(-1.57,0,3.14)
  1299. attack = false
  1300. attackdebounce = false
  1301. deb=false
  1302. equipped=true
  1303. hand=false
  1304. MMouse=nil
  1305. combo=0
  1306. mana=0
  1307. trispeed=.2
  1308. attackmode='none'
  1309. local idle=0
  1310. local Anim="Idle"
  1311. local Effects={}
  1312. local gun=false
  1313. local shoot=false
  1314. local sine = 0
  1315. local change = 1
  1316. player=nil
  1317. pcall(function()char.LeftWing:destroy()end)
  1318. pcall(function()char.Halo:destroy()end)
  1319. local toggleTag = true
  1320. local txt = Instance.new("BillboardGui", Head)
  1321. txt.Adornee = nil
  1322. txt.Name = "NameDetect"
  1323. txt.Size = UDim2.new(4, 0, 1.2, 0)
  1324. txt.StudsOffset = Vector3.new(-8, 8/1.5, 0)
  1325. local text = Instance.new("TextLabel", txt)
  1326. text.Size = UDim2.new(10/2, 0, 7/2, 0)
  1327. text.FontSize = "Size8"
  1328. text.TextScaled = true
  1329. text.TextTransparency = 0
  1330. text.BackgroundTransparency = 1
  1331. text.TextTransparency = 0
  1332. text.TextStrokeTransparency = 0
  1333. text.Font = "Fantasy"
  1334. text.TextStrokeColor3 = Color3.new(1,1,1)
  1335. text.TextColor3 = Color3.new(0,0,0)
  1336. text.Text = "Solitude"
  1337.  
  1338. pcall(function() Character.ReaperShadowHead.Eye1.BrickColor = BrickColor.new'Really red' end)
  1339. pcall(function() Character.ReaperShadowHead.Eye2.BrickColor = BrickColor.new'Really red' end)
  1340.  
  1341. function RecolorTextAndRename(name,col1,col2)
  1342. text.TextStrokeColor3 = col2
  1343. text.TextColor3 = col1
  1344. text.Text = name
  1345. end
  1346. --save shoulders
  1347. RSH, LSH=nil, nil
  1348. --welds
  1349. RW, LW=Instance.new("Weld"), Instance.new("Weld")
  1350. RW.Name="Right Shoulder" LW.Name="Left Shoulder"
  1351. LH=Torso["Left Hip"]
  1352. RH=Torso["Right Hip"]
  1353. TorsoColor=Torso.BrickColor
  1354. function NoOutline(Part)
  1355. Part.TopSurface,Part.BottomSurface,Part.LeftSurface,Part.RightSurface,Part.FrontSurface,Part.BackSurface = 10,10,10,10,10,10
  1356. end
  1357. player=Player
  1358. ch=Character
  1359. RSH=ch.Torso["Right Shoulder"]
  1360. LSH=ch.Torso["Left Shoulder"]
  1361. --
  1362. RSH.Parent=nil
  1363. LSH.Parent=nil
  1364. --
  1365. RW.Name="Right Shoulder"
  1366. RW.Part0=ch.Torso
  1367. RW.C0=cf(1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.3, 0, -0.5)
  1368. RW.C1=cf(0, 0.5, 0)
  1369. RW.Part1=ch["Right Arm"]
  1370. RW.Parent=ch.Torso
  1371. --
  1372. LW.Name="Left Shoulder"
  1373. LW.Part0=ch.Torso
  1374. LW.C0=cf(-1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.7, 0, 0.8)
  1375. LW.C1=cf(0, 0.5, 0)
  1376. LW.Part1=ch["Left Arm"]
  1377. LW.Parent=ch.Torso
  1378.  
  1379. local Stats=Instance.new("BoolValue")
  1380. Stats.Name="Stats"
  1381. Stats.Parent=Character
  1382. local Atk=Instance.new("NumberValue")
  1383. Atk.Name="Damage"
  1384. Atk.Parent=Stats
  1385. Atk.Value=1
  1386. local Def=Instance.new("NumberValue")
  1387. Def.Name="Defense"
  1388. Def.Parent=Stats
  1389. Def.Value=1
  1390. local Speed=Instance.new("NumberValue")
  1391. Speed.Name="Speed"
  1392. Speed.Parent=Stats
  1393. Speed.Value=1
  1394. local Mvmt=Instance.new("NumberValue")
  1395. Mvmt.Name="Movement"
  1396. Mvmt.Parent=Stats
  1397. Mvmt.Value=1
  1398.  
  1399. local donum=0
  1400.  
  1401.  
  1402. function part(formfactor,parent,reflectance,transparency,brickcolor,name,size)
  1403. local fp=it("Part")
  1404. fp.formFactor=formfactor
  1405. fp.Parent=parent
  1406. fp.Reflectance=reflectance
  1407. fp.Transparency=transparency
  1408. fp.CanCollide=false
  1409. fp.Locked=true
  1410. fp.BrickColor=brickcolor
  1411. fp.Name=name
  1412. fp.Size=size
  1413. fp.Position=Torso.Position
  1414. NoOutline(fp)
  1415. fp.Material="SmoothPlastic"
  1416. fp:BreakJoints()
  1417. return fp
  1418. end
  1419.  
  1420. function mesh(Mesh,part,meshtype,meshid,offset,scale)
  1421. local mesh=it(Mesh)
  1422. mesh.Parent=part
  1423. if Mesh=="SpecialMesh" then
  1424. mesh.MeshType=meshtype
  1425. if meshid~="nil" then
  1426. mesh.MeshId="http://www.roblox.com/asset/?id="..meshid
  1427. end
  1428. end
  1429. mesh.Offset=offset
  1430. mesh.Scale=scale
  1431. return mesh
  1432. end
  1433.  
  1434. function weld(parent,part0,part1,c0)
  1435. local weld=it("Weld")
  1436. weld.Parent=parent
  1437. weld.Part0=part0
  1438. weld.Part1=part1
  1439. weld.C0=c0
  1440. return weld
  1441. end
  1442.  
  1443. local Color1=Torso.BrickColor
  1444.  
  1445. local bodvel=Instance.new("BodyVelocity")
  1446. local bg=Instance.new("BodyGyro")
  1447.  
  1448. --// Artificial HB \\--
  1449.  
  1450. local ArtificialHB = Instance.new("BindableEvent", script)
  1451. ArtificialHB.Name = "Heartbeat"
  1452.  
  1453. script:WaitForChild("Heartbeat")
  1454.  
  1455. local tf = 0
  1456. local allowframeloss = false
  1457. local tossremainder = false
  1458. local lastframe = tick()
  1459. local frame = 1/60
  1460. ArtificialHB:Fire()
  1461.  
  1462. game:GetService("RunService").Heartbeat:connect(function(s, p)
  1463. tf = tf + s
  1464. if tf >= frame then
  1465. if allowframeloss then
  1466. script.Heartbeat:Fire()
  1467. lastframe = tick()
  1468. else
  1469. for i = 1, math.floor(tf / frame) do
  1470. ArtificialHB:Fire()
  1471. end
  1472. lastframe = tick()
  1473. end
  1474. if tossremainder then
  1475. tf = 0
  1476. else
  1477. tf = tf - frame * math.floor(tf / frame)
  1478. end
  1479. end
  1480. end)
  1481.  
  1482. function swait(num)
  1483. if num == 0 or num == nil then
  1484. ArtificialHB.Event:wait()
  1485. else
  1486. for i = 0, num do
  1487. ArtificialHB.Event:wait()
  1488. end
  1489. end
  1490. end
  1491.  
  1492. -------- RAINBOW LEAVE IT TO ME
  1493. local r = 255
  1494. local g = 0
  1495. local b = 0
  1496. coroutine.resume(coroutine.create(function()
  1497. while wait() do
  1498. for i = 0, 254/5 do
  1499. swait()
  1500. g = g + 5
  1501. end
  1502. for i = 0, 254/5 do
  1503. swait()
  1504. r = r - 5
  1505. end
  1506. for i = 0, 254/5 do
  1507. swait()
  1508. b = b + 5
  1509. end
  1510. for i = 0, 254/5 do
  1511. swait()
  1512. g = g - 5
  1513. end
  1514. for i = 0, 254/5 do
  1515. swait()
  1516. r = r + 5
  1517. end
  1518. for i = 0, 254/5 do
  1519. swait()
  1520. b = b - 5
  1521. end
  1522. end
  1523. end))
  1524.  
  1525.  
  1526. so = function(id,par,vol,pit)
  1527. coroutine.resume(coroutine.create(function()
  1528. local sou = Instance.new("Sound",par or workspace)
  1529. sou.Volume=vol
  1530. sou.Pitch=pit or 1
  1531. sou.SoundId=id
  1532. swait()
  1533. sou:play()
  1534. game:GetService("Debris"):AddItem(sou,6)
  1535. end))
  1536. end
  1537.  
  1538. function clerp(a,b,t)
  1539. return a:lerp(b,t)
  1540. end
  1541.  
  1542. local function CFrameFromTopBack(at, top, back)
  1543. local right = top:Cross(back)
  1544. return CFrame.new(at.x, at.y, at.z,
  1545. right.x, top.x, back.x,
  1546. right.y, top.y, back.y,
  1547. right.z, top.z, back.z)
  1548. end
  1549.  
  1550. function Triangle(a, b, c)
  1551. local edg1 = (c-a):Dot((b-a).unit)
  1552. local edg2 = (a-b):Dot((c-b).unit)
  1553. local edg3 = (b-c):Dot((a-c).unit)
  1554. if edg1 <= (b-a).magnitude and edg1 >= 0 then
  1555. a, b, c = a, b, c
  1556. elseif edg2 <= (c-b).magnitude and edg2 >= 0 then
  1557. a, b, c = b, c, a
  1558. elseif edg3 <= (a-c).magnitude and edg3 >= 0 then
  1559. a, b, c = c, a, b
  1560. else
  1561. assert(false, "unreachable")
  1562. end
  1563.  
  1564. local len1 = (c-a):Dot((b-a).unit)
  1565. local len2 = (b-a).magnitude - len1
  1566. local width = (a + (b-a).unit*len1 - c).magnitude
  1567.  
  1568. local maincf = CFrameFromTopBack(a, (b-a):Cross(c-b).unit, -(b-a).unit)
  1569.  
  1570. local list = {}
  1571.  
  1572. if len1 > 0.01 then
  1573. local w1 = Instance.new('WedgePart', m)
  1574. game:GetService("Debris"):AddItem(w1,5)
  1575. w1.Material = "SmoothPlastic"
  1576. w1.FormFactor = 'Custom'
  1577. w1.BrickColor = BrickColor.new("Really black")
  1578. w1.Transparency = 0
  1579. w1.Reflectance = 0
  1580. w1.Material = "SmoothPlastic"
  1581. w1.CanCollide = false
  1582. local l1 = Instance.new("PointLight",w1)
  1583. l1.Color = Color3.new(170,0,0)
  1584. NoOutline(w1)
  1585. local sz = Vector3.new(0.2, width, len1)
  1586. w1.Size = sz
  1587. local sp = Instance.new("SpecialMesh",w1)
  1588. sp.MeshType = "Wedge"
  1589. sp.Scale = Vector3.new(0,1,1) * sz/w1.Size
  1590. w1:BreakJoints()
  1591. w1.Anchored = true
  1592. w1.Parent = workspace
  1593. w1.Transparency = 0.7
  1594. table.insert(Effects,{w1,"Disappear",.01})
  1595. w1.CFrame = maincf*CFrame.Angles(math.pi,0,math.pi/2)*CFrame.new(0,width/2,len1/2)
  1596. table.insert(list,w1)
  1597. end
  1598.  
  1599. if len2 > 0.01 then
  1600. local w2 = Instance.new('WedgePart', m)
  1601. game:GetService("Debris"):AddItem(w2,5)
  1602. w2.Material = "SmoothPlastic"
  1603. w2.FormFactor = 'Custom'
  1604. w2.BrickColor = BrickColor.new("Really black")
  1605. w2.Transparency = 0
  1606. w2.Reflectance = 0
  1607. w2.Material = "SmoothPlastic"
  1608. w2.CanCollide = false
  1609. local l2 = Instance.new("PointLight",w2)
  1610. l2.Color = Color3.new(170,0,0)
  1611. NoOutline(w2)
  1612. local sz = Vector3.new(0.2, width, len2)
  1613. w2.Size = sz
  1614. local sp = Instance.new("SpecialMesh",w2)
  1615. sp.MeshType = "Wedge"
  1616. sp.Scale = Vector3.new(0,1,1) * sz/w2.Size
  1617. w2:BreakJoints()
  1618. w2.Anchored = true
  1619. w2.Parent = workspace
  1620. w2.Transparency = 0.7
  1621. table.insert(Effects,{w2,"Disappear",.01})
  1622. w2.CFrame = maincf*CFrame.Angles(math.pi,math.pi,-math.pi/2)*CFrame.new(0,width/2,-len1 - len2/2)
  1623. table.insert(list,w2)
  1624. end
  1625. return unpack(list)
  1626. end
  1627.  
  1628.  
  1629. function Damagefunc(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch)
  1630. if hit.Parent == nil then
  1631. return
  1632. end
  1633. local h = hit.Parent:FindFirstChildOfClass("Humanoid")
  1634. for _, v in pairs(hit.Parent:children()) do
  1635. if v:IsA("Humanoid") then
  1636. h = v
  1637. end
  1638. end
  1639. if h ~= nil and hit.Parent.Name ~= Character.Name and hit.Parent:FindFirstChild("Head") ~= nil then
  1640. if hit.Parent:findFirstChild("DebounceHit") ~= nil and hit.Parent.DebounceHit.Value == true then
  1641. return
  1642. end
  1643. local c = Create("ObjectValue")
  1644. Name = "creator"
  1645. Value = ownerif game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
  1646. local Player,Mouse,mouse,UserInputService,ContextActionService = owner
  1647. do
  1648. print("FE Compatibility code by Mokiros")
  1649. script.Parent = Player.Character
  1650.  
  1651. --RemoteEvent for communicating
  1652. local Event = Instance.new("RemoteEvent")
  1653. Event.Name = "UserInput_Event"
  1654.  
  1655. --Fake event to make stuff like Mouse.KeyDown work
  1656. local function fakeEvent()
  1657. local t = {_fakeEvent=true,Connect=function(self,f)self.Function=f end}
  1658. t.connect = t.Connect
  1659. return t
  1660. end
  1661.  
  1662. --Creating fake input objects with fake variables
  1663. local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()}
  1664. local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
  1665. local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
  1666. CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
  1667. end}
  1668. --Merged 2 functions into one by checking amount of arguments
  1669. CAS.UnbindAction = CAS.BindAction
  1670.  
  1671. --This function will trigger the events that have been :Connect()'ed
  1672. local function te(self,ev,...)
  1673. local t = m[ev]
  1674. if t and t._fakeEvent and t.Function then
  1675. t.Function(...)
  1676. end
  1677. end
  1678. m.TrigEvent = te
  1679. UIS.TrigEvent = te
  1680.  
  1681. Event.OnServerEvent:Connect(function(plr,io)
  1682. if plr~=Player then return end
  1683. if io.isMouse then
  1684. m.Target = io.Target
  1685. m.Hit = io.Hit
  1686. else
  1687. local b = io.UserInputState == Enum.UserInputState.Begin
  1688. if io.UserInputType == Enum.UserInputType.MouseButton1 then
  1689. return m:TrigEvent(b and "Button1Down" or "Button1Up")
  1690. end
  1691. for _,t in pairs(CAS.Actions) do
  1692. for _,k in pairs(t.Keys) do
  1693. if k==io.KeyCode then
  1694. t.Function(t.Name,io.UserInputState,io)
  1695. end
  1696. end
  1697. end
  1698. m:TrigEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower())
  1699. UIS:TrigEvent(b and "InputBegan" or "InputEnded",io,false)
  1700. end
  1701. end)
  1702. Event.Parent = NLS([==[
  1703. local Player = game:GetService("Players").LocalPlayer
  1704. local Event = script:WaitForChild("UserInput_Event")
  1705.  
  1706. local UIS = game:GetService("UserInputService")
  1707. local input = function(io,a)
  1708. if a then return end
  1709. --Since InputObject is a client-side instance, we create and pass table instead
  1710. Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState})
  1711. end
  1712. UIS.InputBegan:Connect(input)
  1713. UIS.InputEnded:Connect(input)
  1714.  
  1715. local h,t
  1716. --Give the server mouse data 30 times every second, but only if the values changed
  1717. --If player is not moving their mouse, client won't fire events
  1718. while wait(1/30) do
  1719. if h~=Mouse.Hit or t~=Mouse.Target then
  1720. h,t=Mouse.Hit,Mouse.Target
  1721. Event:FireServer({isMouse=true,Target=t,Hit=h})
  1722. end
  1723. end]==],Player.Character)
  1724. Mouse,mouse,UserInputService,ContextActionService = m,m,UIS,CAS
  1725. end
  1726. Parent = h
  1727. })
  1728. game:GetService("Debris"):AddItem(c, 0.5)
  1729. if HitSound ~= nil and HitPitch ~= nil then
  1730. CFuncs.Sound.Create(HitSound, hit, 1, HitPitch)
  1731. end
  1732. local Damage = math.random(minim, maxim)
  1733. local blocked = false
  1734. local block = hit.Parent:findFirstChild("Block")
  1735. if block ~= nil and block.className == "IntValue" and block.Value > 0 then
  1736. blocked = true
  1737. block.Value = block.Value - 1
  1738. print(block.Value)
  1739. end
  1740. if blocked == false then
  1741. HitHealth = h.Health
  1742. h.Health = h.Health - Damage
  1743. if HitHealth ~= h.Health and HitHealth ~= 0 and 0 >= h.Health and h.Parent.Name ~= "Hologram" then
  1744. print("gained kill")
  1745. end
  1746. ShowDamage(Part.CFrame * CFrame.new(0, 0, Part.Size.Z / 2).p + Vector3.new(0, 1.5, 0), -Damage, 1.5, Part.BrickColor.Color)
  1747. else
  1748. h.Health = h.Health - Damage / 2
  1749. ShowDamage(Part.CFrame * CFrame.new(0, 0, Part.Size.Z / 2).p + Vector3.new(0, 1.5, 0), -Damage, 1.5, Part.BrickColor.Color)
  1750. end
  1751. if Type == "Knockdown" then
  1752. local hum = hit.Parent:FindFirstChildOfClass'Humanoid'
  1753. hum.PlatformStand = true
  1754. coroutine.resume(coroutine.create(function(HHumanoid)
  1755. swait(1)
  1756. HHumanoid.PlatformStand = false
  1757. end), hum)
  1758. local angle = hit.Position - (Property.Position + Vector3.new(0, 0, 0)).unit
  1759. local bodvol = Create("BodyVelocity")({
  1760. velocity = angle * knockback,
  1761. P = 5000,
  1762. maxForce = Vector3.new(8000, 8000, 8000),
  1763. Parent = hit
  1764. })
  1765. local rl = Create("BodyAngularVelocity")({
  1766. P = 3000,
  1767. maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000,
  1768. angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)),
  1769. Parent = hit
  1770. })
  1771. game:GetService("Debris"):AddItem(bodvol, 0.5)
  1772. game:GetService("Debris"):AddItem(rl, 0.5)
  1773. elseif Type == "Normal" then
  1774. local vp = Create("BodyVelocity")({
  1775. P = 500,
  1776. maxForce = Vector3.new(math.huge, 0, math.huge),
  1777. velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05
  1778. })
  1779. if knockback > 0 then
  1780. vp.Parent = hit.Parent.Head
  1781. end
  1782. game:GetService("Debris"):AddItem(vp, 0.5)
  1783. elseif Type == "Up" then
  1784. local bodyVelocity = Create("BodyVelocity")({
  1785. velocity = Vector3.new(0, 20, 0),
  1786. P = 5000,
  1787. maxForce = Vector3.new(8000, 8000, 8000),
  1788. Parent = hit
  1789. })
  1790. game:GetService("Debris"):AddItem(bodyVelocity, 0.5)
  1791. local bodyVelocity = Create("BodyVelocity")({
  1792. velocity = Vector3.new(0, 20, 0),
  1793. P = 5000,
  1794. maxForce = Vector3.new(8000, 8000, 8000),
  1795. Parent = hit
  1796. })
  1797. game:GetService("Debris"):AddItem(bodyVelocity, 1)
  1798. elseif Type == "Leech" then
  1799. local hum = hit.Parent:FindFirstChildOfClass'Humanoid'
  1800. if hum ~= nil then
  1801. for i = 0, 2 do
  1802. Effects.Sphere.Create(BrickColor.new("Bright red"), hit.Parent.Torso.CFrame * cn(0, 0, 0) * angles(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)), 1, 15, 1, 0, 5, 0, 0.02)
  1803. end
  1804. Humanoid.Health = Humanoid.Health + 10
  1805. end
  1806. elseif Type == "UpKnock" then
  1807. local hum = hit.Parent:FindFirstChildOfClass'Humanoid'
  1808. hum.PlatformStand = true
  1809. if hum ~= nil then
  1810. hitr = true
  1811. end
  1812. coroutine.resume(coroutine.create(function(HHumanoid)
  1813. swait(5)
  1814. HHumanoid.PlatformStand = false
  1815. hitr = false
  1816. end), hum)
  1817. local bodyVelocity = Create("BodyVelocity")({
  1818. velocity = Vector3.new(0, 20, 0),
  1819. P = 5000,
  1820. maxForce = Vector3.new(8000, 8000, 8000),
  1821. Parent = hit
  1822. })
  1823. game:GetService("Debris"):AddItem(bodyVelocity, 0.5)
  1824. local bodyVelocity = Create("BodyVelocity")({
  1825. velocity = Vector3.new(0, 20, 0),
  1826. P = 5000,
  1827. maxForce = Vector3.new(8000, 8000, 8000),
  1828. Parent = hit
  1829. })
  1830. game:GetService("Debris"):AddItem(bodyVelocity, 1)
  1831. elseif Type == "Snare" then
  1832. local bp = Create("BodyPosition")({
  1833. P = 2000,
  1834. D = 100,
  1835. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  1836. position = hit.Parent.Torso.Position,
  1837. Parent = hit.Parent.Torso
  1838. })
  1839. game:GetService("Debris"):AddItem(bp, 1)
  1840. elseif Type == "Slashnare" then
  1841. Effects.Block.Create(BrickColor.new("Pastel Blue"), hit.Parent.Torso.CFrame * cn(0, 0, 0), 15*4, 15*4, 15*4, 3*4, 3*4, 3*4, 0.07)
  1842. for i = 1, math.random(4, 5) do
  1843. Effects.Sphere.Create(BrickColor.new("Teal"), hit.Parent.Torso.CFrame * cn(math.random(-5, 5), math.random(-5, 5), math.random(-5, 5)) * angles(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)), 1, 15, 1, 0, 5, 0, 0.02)
  1844. end
  1845. local bp = Create("BodyPosition")({
  1846. P = 2000,
  1847. D = 100,
  1848. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  1849. position = hit.Parent.Torso.Position,
  1850. Parent = hit.Parent.Torso
  1851. })
  1852. game:GetService("Debris"):AddItem(bp, 1)
  1853. elseif Type == "Spike" then
  1854. CreateBigIceSword(hit.Parent.Torso.CFrame)
  1855. local bp = Create("BodyPosition")({
  1856. P = 2000,
  1857. D = 100,
  1858. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  1859. position = hit.Parent.Torso.Position,
  1860. Parent = hit.Parent.Torso
  1861. })
  1862. game:GetService("Debris"):AddItem(bp, 1)
  1863. elseif Type == "Freeze" then
  1864. local BodPos = Create("BodyPosition")({
  1865. P = 50000,
  1866. D = 1000,
  1867. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  1868. position = hit.Parent.Torso.Position,
  1869. Parent = hit.Parent.Torso
  1870. })
  1871. local BodGy = Create("BodyGyro")({
  1872. maxTorque = Vector3.new(400000, 400000, 400000) * math.huge,
  1873. P = 20000,
  1874. Parent = hit.Parent.Torso,
  1875. cframe = hit.Parent.Torso.CFrame
  1876. })
  1877. hit.Parent.Torso.Anchored = true
  1878. coroutine.resume(coroutine.create(function(Part)
  1879. swait(1.5)
  1880. Part.Anchored = false
  1881. end), hit.Parent.Torso)
  1882. game:GetService("Debris"):AddItem(BodPos, 3)
  1883. game:GetService("Debris"):AddItem(BodGy, 3)
  1884. end
  1885. local debounce = Create("BoolValue")({
  1886. Name = "DebounceHit",
  1887. Parent = hit.Parent,
  1888. Value = true
  1889. })
  1890. game:GetService("Debris"):AddItem(debounce, Delay)
  1891. c = Instance.new("ObjectValue")
  1892. c.Name = "creator"
  1893. c.Value = Player
  1894. c.Parent = h
  1895. game:GetService("Debris"):AddItem(c, 0.5)
  1896. end
  1897. end
  1898. function ShowDamage(Pos, Text, Time, Color)
  1899. local Rate = 0.03333333333333333
  1900. local Pos = Pos or Vector3.new(0, 0, 0)
  1901. local Text = Text or ""
  1902. local Time = Time or 2
  1903. local Color = Color or Color3.new(1, 0, 1)
  1904. local EffectPart = CreatePart(workspace, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", Vector3.new(0, 0, 0))
  1905. EffectPart.Anchored = true
  1906. local BillboardGui = Create("BillboardGui")({
  1907. Size = UDim2.new(3, 0, 3, 0),
  1908. Adornee = EffectPart,
  1909. Parent = EffectPart
  1910. })
  1911. local TextLabel = Create("TextLabel")({
  1912. BackgroundTransparency = 1,
  1913. Size = UDim2.new(1, 0, 1, 0),
  1914. Text = Text,
  1915. TextColor3 = Color,
  1916. TextScaled = true,
  1917. Font = Enum.Font.ArialBold,
  1918. Parent = BillboardGui
  1919. })
  1920. game.Debris:AddItem(EffectPart, Time + 0.1)
  1921. EffectPart.Parent = game:GetService("Workspace")
  1922. delay(0, function()
  1923. local Frames = Time / Rate
  1924. for Frame = 1, Frames do
  1925. wait(Rate)
  1926. local Percent = Frame / Frames
  1927. EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0)
  1928. TextLabel.TextTransparency = Percent
  1929. end
  1930. if EffectPart and EffectPart.Parent then
  1931. EffectPart:Destroy()
  1932. end
  1933. end)
  1934. end
  1935. function MagniDamage(Part, magni, mindam, maxdam, knock, Type)
  1936. for _, c in pairs(workspace:children()) do
  1937. local hum = c:findFirstChildOfClass("Humanoid")
  1938. if hum ~= nil then
  1939. local head = c:findFirstChild("Head")
  1940. if head ~= nil then
  1941. local targ = head.Position - Part.Position
  1942. local mag = targ.magnitude
  1943. if magni >= mag and c.Name ~= Player.Name then
  1944. Damagefunc(head, head, mindam, maxdam, knock, Type, RootPart, 0.1, "rbxassetid://231917784", 1)
  1945. end
  1946. end
  1947. end
  1948. end
  1949. end
  1950.  
  1951. function MagniDamageWithEffect(Part, magni, mindam, maxdam, knock, Type)
  1952. for _, c in pairs(workspace:children()) do
  1953. local hum = c:findFirstChild("Humanoid")
  1954. if hum ~= nil then
  1955. local head = c:findFirstChild("Torso")
  1956. if head ~= nil then
  1957. local targ = head.Position - Part.Position
  1958. local mag = targ.magnitude
  1959. if magni >= mag and c.Name ~= Player.Name then
  1960. MagicBlock(BrickColor.new("Pastel light blue"),head.CFrame,5,5,5,1,1,1,0.05)
  1961. Damagefunc(head, head, mindam, maxdam, knock, Type, RootPart, 0.1, "rbxassetid://231917784", 1)
  1962. end
  1963. end
  1964. end
  1965. end
  1966. end
  1967.  
  1968. function rayCast(Pos, Dir, Max, Ignore) -- Origin Position , Direction, MaxDistance , IgnoreDescendants
  1969. return game:service("Workspace"):FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore)
  1970. end
  1971.  
  1972. function SkullEffect(brickcolor,cframe,x1,y1,z1,delay)
  1973. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  1974. prt.Anchored=true
  1975. prt.CFrame=cframe
  1976. local msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=4770583",vt(0,0,0),vt(x1,y1,z1))
  1977. --http://www.roblox.com/asset/?id=4770560
  1978. game:GetService("Debris"):AddItem(prt,2)
  1979. CF=prt.CFrame
  1980. coroutine.resume(coroutine.create(function(Part,Mesh,TehCF)
  1981. for i=0,1,0.2 do
  1982. wait()
  1983. Part.CFrame=CF*cf(0,0,-0.4)
  1984. end
  1985. for i=0,1,delay do
  1986. wait()
  1987. --Part.CFrame=CF*cf((math.random(-1,0)+math.random())/5,(math.random(-1,0)+math.random())/5,(math.random(-1,0)+math.random())/5)
  1988. Mesh.Scale=Mesh.Scale
  1989. end
  1990. for i=0,1,0.1 do
  1991. wait()
  1992. Part.Transparency=i
  1993. end
  1994. Part.Parent=nil
  1995. end),prt,msh,CF)
  1996. end
  1997.  
  1998. function MagicBlock(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  1999. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2000. prt.Anchored=true
  2001. prt.Material = "Neon"
  2002. prt.CFrame=cframe
  2003. prt.CFrame=prt.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  2004. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  2005. game:GetService("Debris"):AddItem(prt,5)
  2006. coroutine.resume(coroutine.create(function(Part,Mesh)
  2007. for i=0,1,delay do
  2008. swait()
  2009. Part.CFrame=Part.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  2010. Part.Transparency=i
  2011. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  2012. end
  2013. Part.Parent=nil
  2014. end),prt,msh)
  2015. end
  2016.  
  2017. function MagicBlockSteady(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay,rottype)
  2018. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2019. prt.Anchored=true
  2020. prt.Material = "Neon"
  2021. prt.CFrame=cframe
  2022. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  2023. game:GetService("Debris"):AddItem(prt,5)
  2024. coroutine.resume(coroutine.create(function(Part,Mesh)
  2025. local rtype = rottype
  2026. for i=0,1,delay do
  2027. swait()
  2028. if rtype == 1 then
  2029. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1)
  2030. elseif rtype == 2 then
  2031. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1)
  2032. end
  2033. Part.Transparency=i
  2034. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  2035. end
  2036. Part.Parent=nil
  2037. end),prt,msh)
  2038. end
  2039.  
  2040. function MagicSphere(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  2041. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2042. prt.Anchored=true
  2043. prt.CFrame=cframe
  2044. prt.CFrame=prt.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  2045. msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1))
  2046. game:GetService("Debris"):AddItem(prt,5)
  2047. coroutine.resume(coroutine.create(function(Part,Mesh)
  2048. for i=0,1,delay do
  2049. wait()
  2050. Part.Transparency=i
  2051. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  2052. end
  2053. Part.Parent=nil
  2054. end),prt,msh)
  2055. end
  2056.  
  2057. function MagicBlockSteady(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay,rottype)
  2058. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2059. prt.Anchored=true
  2060. prt.Material = "Neon"
  2061. prt.CFrame=cframe
  2062. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  2063. game:GetService("Debris"):AddItem(prt,5)
  2064. coroutine.resume(coroutine.create(function(Part,Mesh)
  2065. local rtype = rottype
  2066. for i=0,1,delay do
  2067. swait()
  2068. if rtype == 1 then
  2069. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1)
  2070. elseif rtype == 2 then
  2071. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1)
  2072. end
  2073. Part.Transparency=i
  2074. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  2075. end
  2076. Part.Parent=nil
  2077. end),prt,msh)
  2078. end
  2079.  
  2080. function MagicShock(brickcolor,cframe,x1,y1,x3,y3,delay,rottype)
  2081. local prt=part(3,char,1,1,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2082. prt.Anchored=true
  2083. prt.Material = "Neon"
  2084. prt.CFrame=cframe
  2085. local dec = decal(prt.Color,"http://www.roblox.com/asset/?id=874580939","Front",prt)
  2086. local dec2 = decal(prt.Color,"http://www.roblox.com/asset/?id=874580939","Front",prt)
  2087. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,0.01))
  2088. game:GetService("Debris"):AddItem(prt,5)
  2089. coroutine.resume(coroutine.create(function(Part,Mesh)
  2090. local rtype = rottype
  2091. for i=0,1,delay do
  2092. swait()
  2093. if rtype == 1 then
  2094. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1)
  2095. elseif rtype == 2 then
  2096. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1)
  2097. end
  2098. dec.Transparency=i
  2099. dec2.Transparency=i
  2100. Mesh.Scale=Mesh.Scale+vt(x3,y3,0)
  2101. end
  2102. Part.Parent=nil
  2103. end),prt,msh)
  2104. end
  2105.  
  2106. function MagicShockAlt(brickcolor,cframe,x1,y1,x3,y3,delay,rottype)
  2107. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2108. prt.Anchored=true
  2109. prt.Material = "Neon"
  2110. prt.CFrame=cframe
  2111. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,0.01))
  2112. game:GetService("Debris"):AddItem(prt,5)
  2113. coroutine.resume(coroutine.create(function(Part,Mesh)
  2114. local rtype = rottype
  2115. for i=0,1,delay do
  2116. swait()
  2117. if rtype == 1 then
  2118. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1)
  2119. elseif rtype == 2 then
  2120. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1)
  2121. end
  2122. prt.Transparency=i
  2123. Mesh.Scale=Mesh.Scale+vt(x3,y3,0)
  2124. end
  2125. Part.Parent=nil
  2126. end),prt,msh)
  2127. end
  2128.  
  2129. function MagicShockAltCircle(brickcolor,cframe,x1,z1,x3,z3,delay,rottype)
  2130. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2131. prt.Anchored=true
  2132. prt.Material = "Neon"
  2133. prt.CFrame=cframe
  2134. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,1,z1))
  2135. game:GetService("Debris"):AddItem(prt,5)
  2136. coroutine.resume(coroutine.create(function(Part,Mesh)
  2137. local rtype = rottype
  2138. for i=0,1,delay do
  2139. swait()
  2140. if rtype == 1 then
  2141. prt.CFrame = prt.CFrame*CFrame.Angles(0,0.1,0)
  2142. elseif rtype == 2 then
  2143. prt.CFrame = prt.CFrame*CFrame.Angles(0,-0.1,0)
  2144. end
  2145. prt.Transparency=i
  2146. Mesh.Scale=Mesh.Scale+vt(x3,0,z3)
  2147. end
  2148. Part.Parent=nil
  2149. end),prt,msh)
  2150. end
  2151.  
  2152. function MagicShockTrailAlt(brickcolor,cframe,x1,y1,z1,x3,y3,delay,rottype)
  2153. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2154. prt.Anchored=true
  2155. prt.Material = "Neon"
  2156. prt.CFrame=cframe
  2157. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  2158. game:GetService("Debris"):AddItem(prt,5)
  2159. coroutine.resume(coroutine.create(function(Part,Mesh)
  2160. local rtype = rottype
  2161. for i=0,1,delay do
  2162. swait()
  2163. if rtype == 1 then
  2164. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1)
  2165. elseif rtype == 2 then
  2166. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1)
  2167. end
  2168. prt.Transparency=i
  2169. Mesh.Scale=Mesh.Scale+vt(x3,y3,0)
  2170. end
  2171. Part.Parent=nil
  2172. end),prt,msh)
  2173. end
  2174.  
  2175. function MagicShockTrailAlt2(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay,rottype)
  2176. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2177. prt.Anchored=true
  2178. prt.Material = "Neon"
  2179. prt.CFrame=cframe
  2180. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  2181. game:GetService("Debris"):AddItem(prt,5)
  2182. coroutine.resume(coroutine.create(function(Part,Mesh)
  2183. local rtype = rottype
  2184. for i=0,1,delay do
  2185. swait()
  2186. if rtype == 1 then
  2187. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1)
  2188. elseif rtype == 2 then
  2189. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1)
  2190. end
  2191. prt.Transparency=i
  2192. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  2193. end
  2194. Part.Parent=nil
  2195. end),prt,msh)
  2196. end
  2197.  
  2198. function MagicBlock2(brickcolor,cframe,Parent,x1,y1,z1,x3,y3,z3,delay)
  2199. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2200. prt.Anchored=false
  2201. prt.CFrame=cframe
  2202. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  2203. local wld=weld(prt,prt,Parent,cframe)
  2204. game:GetService("Debris"):AddItem(prt,5)
  2205. coroutine.resume(coroutine.create(function(Part,Mesh,Weld)
  2206. for i=0,1,delay do
  2207. wait()
  2208. Weld.C0=euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))*cframe
  2209. --Part.CFrame=Part.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  2210. Part.Transparency=i
  2211. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  2212. end
  2213. Part.Parent=nil
  2214. end),prt,msh,wld)
  2215. end
  2216.  
  2217. function MagicBlock3(brickcolor,cframe,Parent,x1,y1,z1,x3,y3,z3,delay)
  2218. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2219. prt.Anchored=false
  2220. prt.CFrame=cframe
  2221. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  2222. local wld=weld(prt,prt,Parent,euler(0,0,0)*cf(0,0,0))
  2223. game:GetService("Debris"):AddItem(prt,5)
  2224. coroutine.resume(coroutine.create(function(Part,Mesh,Weld)
  2225. for i=0,1,delay do
  2226. wait()
  2227. Weld.C0=euler(i*20,0,0)
  2228. --Part.CFrame=Part.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  2229. Part.Transparency=i
  2230. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  2231. end
  2232. Part.Parent=nil
  2233. end),prt,msh,wld)
  2234. end
  2235.  
  2236. function MagicCircle2(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  2237. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2238. prt.Anchored=true
  2239. prt.CFrame=cframe
  2240. local msh=mesh("CylinderMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  2241. game:GetService("Debris"):AddItem(prt,2)
  2242. coroutine.resume(coroutine.create(function(Part,Mesh)
  2243. for i=0,1,delay do
  2244. wait()
  2245. Part.CFrame=Part.CFrame
  2246. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  2247. local prt2=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2248. prt2.Anchored=true
  2249. prt2.CFrame=cframe*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  2250. local msh2=mesh("SpecialMesh",prt2,"Sphere","",vt(0,0,0),vt(0.5,0.5,0.5))
  2251. game:GetService("Debris"):AddItem(prt2,2)
  2252. coroutine.resume(coroutine.create(function(Part,Mesh)
  2253. for i=0,1,0.1 do
  2254. wait()
  2255. Part.CFrame=Part.CFrame*cf(0,0.5,0)
  2256. end
  2257. Part.Parent=nil
  2258. end),prt2,msh2)
  2259. end
  2260. for i=0,1,delay*2 do
  2261. wait()
  2262. Part.CFrame=Part.CFrame
  2263. Mesh.Scale=vt((x1+x3)-(x1+x3)*i,(y1+y3)-(y1+y3)*i,(z1+z3)-(z1+z3)*i)
  2264. end
  2265. Part.Parent=nil
  2266. end),prt,msh)
  2267. end
  2268.  
  2269. function MagicCircle(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  2270. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2271. prt.Anchored=true
  2272. prt.CFrame=cframe
  2273. local msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1))
  2274. game:GetService("Debris"):AddItem(prt,2)
  2275. coroutine.resume(coroutine.create(function(Part,Mesh)
  2276. for i=0,1,delay do
  2277. wait()
  2278. Part.CFrame=Part.CFrame
  2279. Part.Transparency=i
  2280. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  2281. end
  2282. Part.Parent=nil
  2283. end),prt,msh)
  2284. end
  2285.  
  2286. function BreakEffect(brickcolor,cframe,x1,y1,z1)
  2287. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2288. prt.Anchored=true
  2289. prt.CFrame=cframe*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  2290. local msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1))
  2291. game:GetService("Debris"):AddItem(prt,2)
  2292. coroutine.resume(coroutine.create(function(Part,CF,Numbb,randnumb)
  2293. CF=Part.CFrame
  2294. Numbb=0
  2295. randnumb=math.random()/10
  2296. rand1=math.random()/10
  2297. for i=0,1,rand1 do
  2298. wait()
  2299. CF=CF*cf(0,math.random()/2,0)
  2300. --Part.CFrame=Part.CFrame*euler(0.5,0,0)*cf(0,1,0)
  2301. Part.CFrame=CF*euler(Numbb,0,0)
  2302. Part.Transparency=i
  2303. Numbb=Numbb+randnumb
  2304. end
  2305. Part.Parent=nil
  2306. end),prt,CF,Numbb,randnumb)
  2307. end
  2308.  
  2309. function MagicWaveThing(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  2310. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2311. prt.Anchored=true
  2312. prt.CFrame=cframe
  2313. msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=1051557",vt(0,0,0),vt(x1,y1,z1))
  2314. game:GetService("Debris"):AddItem(prt,5)
  2315. coroutine.resume(coroutine.create(function(Part,Mesh)
  2316. for i=0,1,delay do
  2317. wait()
  2318. Part.CFrame=Part.CFrame*euler(0,0.7,0)
  2319. Part.Transparency=i
  2320. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  2321. end
  2322. Part.Parent=nil
  2323. end),prt,msh)
  2324. end
  2325.  
  2326. function WaveEffect(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  2327. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2328. prt.Anchored=true
  2329. prt.CFrame=cframe
  2330. msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=20329976",vt(0,0,0),vt(x1,y1,z1))
  2331. game:GetService("Debris"):AddItem(prt,2)
  2332. coroutine.resume(coroutine.create(function(Part,Mesh)
  2333. for i=0,1,delay do
  2334. wait()
  2335. Part.CFrame=Part.CFrame*cf(0,y3/2,0)
  2336. Part.Transparency=i
  2337. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  2338. end
  2339. Part.Parent=nil
  2340. end),prt,msh)
  2341. end
  2342.  
  2343. function StravEffect(brickcolor,cframe,x,y,z,x1,y1,z1,delay)
  2344. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2345. prt.Anchored=true
  2346. prt.CFrame=cframe*cf(x,y,z)
  2347. msh=mesh("SpecialMesh",prt,"FileMesh","rbxassetid://168892363",vt(0,0,0),vt(x1,y1,z1))
  2348. game:GetService("Debris"):AddItem(prt,5)
  2349. coroutine.resume(coroutine.create(function(Part,Mesh,ex,why,zee)
  2350. local num=math.random()
  2351. local num2=math.random(-3,2)+math.random()
  2352. local numm=0
  2353. for i=0,1,delay*2 do
  2354. swait()
  2355. Part.CFrame=cframe*euler(0,numm*num*10,0)*cf(ex,why,zee)*cf(-i*10,num2,0)
  2356. Part.Transparency=i
  2357. numm=numm+0.01
  2358. end
  2359. Part.Parent=nil
  2360. Mesh.Parent=nil
  2361. end),prt,msh,x,y,z)
  2362. end
  2363.  
  2364. function dmgstart(dmg,what)
  2365. hitcon = what.Touched:connect(function(hit)
  2366. local hum = hit.Parent:FindFirstChild("Humanoid")
  2367. if hum and not hum:IsDescendantOf(Character) then
  2368. hum:TakeDamage(dmg)
  2369. end
  2370. end)
  2371. end
  2372.  
  2373. function dmgstop()
  2374. hitcon:disconnect()
  2375. end
  2376.  
  2377. function Cloak()
  2378. Face.Parent=nil
  2379. cloaked=true
  2380. for _,v in pairs(Torso.Parent:children()) do
  2381. if v.className=="Part" and v.Name~="HumanoidRootPart" then
  2382. coroutine.resume(coroutine.create(function()
  2383. for i=0,1,0.2 do
  2384. wait()
  2385. v.Transparency=i
  2386. end
  2387. v.Transparency=1
  2388. end))
  2389. end
  2390. if v.className=="Hat" then
  2391. hatp=v.Handle
  2392. coroutine.resume(coroutine.create(function(derp)
  2393. for i=0,1,0.2 do
  2394. wait()
  2395. derp.Transparency=i
  2396. end
  2397. derp.Transparency=1
  2398. end),hatp)
  2399. end
  2400. end
  2401. for _,v in pairs(m:children()) do
  2402. if v.className=="Part" then
  2403. coroutine.resume(coroutine.create(function()
  2404. for i=0,1,0.2 do
  2405. wait()
  2406. v.Transparency=i
  2407. end
  2408. v.Transparency=1
  2409. end))
  2410. end
  2411. end
  2412. end
  2413.  
  2414. function UnCloak()
  2415. so("http://roblox.com/asset/?id=2767090",Torso,1,1.1)
  2416. Face.Parent=Head
  2417. cloaked=false
  2418. for _,v in pairs(Torso.Parent:children()) do
  2419. if v.className=="Part" and v.Name~="HumanoidRootPart" then
  2420. coroutine.resume(coroutine.create(function()
  2421. for i=0,1,0.1 do
  2422. wait()
  2423. v.Transparency=v.Transparency-0.1
  2424. end
  2425. v.Transparency=0
  2426. end))
  2427. end
  2428. if v.className=="Hat" then
  2429. hatp=v.Handle
  2430. coroutine.resume(coroutine.create(function(derp)
  2431. for i=0,1,0.1 do
  2432. wait()
  2433. derp.Transparency=derp.Transparency-0.1
  2434. end
  2435. derp.Transparency=0
  2436. end),hatp)
  2437. end
  2438. end
  2439. for _,v in pairs(m:children()) do
  2440. if v.className=="Part" and v.Name~="hitbox" and v.Name~='tip' then
  2441. coroutine.resume(coroutine.create(function()
  2442. for i=0,1,0.1 do
  2443. wait()
  2444. v.Transparency=v.Transparency-0.1
  2445. end
  2446. v.Transparency=0
  2447. end))
  2448. v.Transparency=0
  2449. end
  2450. end
  2451. end
  2452.  
  2453. local origcolor = BrickColor.new("Pastel light blue")
  2454. ---- This section of explosions.
  2455. function Explode(rad,par,pitch,vol,mindam,maxdam)
  2456. local expart = Instance.new("Part",char)
  2457. local expart2 = Instance.new("Part",char)
  2458. local rin = Instance.new("Part",char)
  2459. local rin2 = Instance.new("Part",char)
  2460. local partMesh = Instance.new("SpecialMesh",expart)
  2461. partMesh.MeshType = "Sphere"
  2462. local partMesh2 = Instance.new("SpecialMesh",expart2)
  2463. partMesh2.MeshType = "Sphere"
  2464. local partMesh3 = Instance.new("SpecialMesh",rin)
  2465. partMesh3.MeshType = "Brick"
  2466. local partMesh4 = Instance.new("SpecialMesh",rin2)
  2467. partMesh4.MeshType = "Brick"
  2468. CFuncs["Sound"].Create("rbxassetid://165970126", expart,vol, pitch)
  2469. partMesh.Scale = vt(rad,rad,rad)
  2470. expart.Size = vt(1,1,1)
  2471. expart.Transparency = 0
  2472. expart.Anchored = true
  2473. expart.Material = "Neon"
  2474. expart.BrickColor = bc("White")
  2475. expart.CFrame = par.CFrame
  2476. partMesh2.Scale = vt(rad,rad,rad)
  2477. expart2.Size = vt(1.15,1.15,1.15)
  2478. expart2.Transparency = 0.5
  2479. expart2.Anchored = true
  2480. expart2.Material = "Neon"
  2481. expart2.BrickColor = par.BrickColor
  2482. expart2.CFrame = par.CFrame
  2483. rin.Size = vt(1.15,1.15,1.15)
  2484. rin.Transparency = 1
  2485. rin.Anchored = true
  2486. rin.Material = "Neon"
  2487. rin.BrickColor = par.BrickColor
  2488. rin.CFrame = par.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))
  2489. rin2.Size = vt(1.15,1.15,1.15)
  2490. rin2.Transparency = 1
  2491. rin2.Anchored = true
  2492. rin2.Material = "Neon"
  2493. rin2.BrickColor = par.BrickColor
  2494. rin2.CFrame = par.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))
  2495. partMesh3.Scale = vt(0,1,0)
  2496. partMesh4.Scale = vt(0,1,0)
  2497. local dec2 = Instance.new("Decal", rin)
  2498. dec2.Face = "Top"
  2499. dec2.Texture = "http://www.roblox.com/asset/?id=874580939"
  2500. dec2.Parent = rin
  2501. local dec2b = dec2:Clone()
  2502. dec2b.Face = "Bottom"
  2503. dec2b.Parent = rin
  2504.  
  2505. local dec2a = Instance.new("Decal", rin2)
  2506. dec2a.Face = "Top"
  2507. dec2a.Texture = "http://www.roblox.com/asset/?id=874580939"
  2508. dec2a.Parent = rin2
  2509. local dec2ab = dec2a:Clone()
  2510. dec2ab.Face = "Bottom"
  2511. dec2ab.Parent = rin2
  2512. expart.CanCollide = false
  2513. expart2.CanCollide = false
  2514. rin.CanCollide = false
  2515. rin2.CanCollide = false
  2516. MagniDamage(par, rad*5, mindam, maxdam, 0, "Normal")
  2517. local value = 1*rad/6.5
  2518. for i = 0, 199 do
  2519. partMesh.Scale = partMesh.Scale + vt(value,value,value)
  2520. expart.CFrame = expart.CFrame
  2521. partMesh2.Scale = partMesh2.Scale + vt(value,value,value)
  2522. expart2.CFrame = expart.CFrame
  2523. value = value - 0.035*rad/30
  2524. if value < 7.5 then
  2525. partMesh3.Scale = partMesh3.Scale + vt(rad/5,0,rad/5)
  2526. rin.CFrame = rin.CFrame*CFrame.Angles(0,math.rad(1),0)
  2527. partMesh4.Scale = partMesh4.Scale + vt(rad/7.5,0,rad/7.5)
  2528. rin2.CFrame = rin2.CFrame*CFrame.Angles(0,math.rad(-1),0)
  2529. end
  2530. if value < 0 then
  2531. dec2.Transparency = dec2.Transparency + 0.025
  2532. dec2a.Transparency = dec2a.Transparency + 0.025
  2533. dec2b.Transparency = dec2b.Transparency + 0.025
  2534. dec2ab.Transparency = dec2ab.Transparency + 0.025
  2535. expart.Transparency = expart.Transparency + 0.025
  2536. expart2.Transparency = expart2.Transparency + 0.025
  2537. rin.Transparency = rin.Transparency + 0.025
  2538. rin2.Transparency = rin2.Transparency + 0.025
  2539. end
  2540. swait()
  2541. end
  2542. game:GetService("Debris"):AddItem(expart, 1)
  2543. game:GetService("Debris"):AddItem(expart2, 1)
  2544. game:GetService("Debris"):AddItem(rin, 1)
  2545. game:GetService("Debris"):AddItem(rin2, 1)
  2546. end
  2547.  
  2548. function ExplodeShort(rad,par,pitch,vol,mindam,maxdam)
  2549. local expart = Instance.new("Part",char)
  2550. local expart2 = Instance.new("Part",char)
  2551. local partMesh = Instance.new("SpecialMesh",expart)
  2552. partMesh.MeshType = "Sphere"
  2553. local partMesh2 = Instance.new("SpecialMesh",expart2)
  2554. partMesh2.MeshType = "Sphere"
  2555. CFuncs["Sound"].Create("http://www.roblox.com/asset/?id=142070127", expart,vol, pitch)
  2556. partMesh.Scale = vt(rad,rad,rad)
  2557. expart.Size = vt(1,1,1)
  2558. expart.Transparency = 0
  2559. expart.Anchored = true
  2560. expart.Material = "Neon"
  2561. expart.BrickColor = bc("White")
  2562. expart.CFrame = par.CFrame
  2563. partMesh2.Scale = vt(rad,rad,rad)
  2564. expart2.Size = vt(1.15,1.15,1.15)
  2565. expart2.Transparency = 0.5
  2566. expart2.Anchored = true
  2567. expart2.Material = "Neon"
  2568. expart2.BrickColor = par.BrickColor
  2569. expart2.CFrame = par.CFrame
  2570. expart.CanCollide = false
  2571. expart2.CanCollide = false
  2572. MagniDamage(par, rad*2.5, mindam, maxdam, 0, "Normal")
  2573. local value = 1*rad/6.5
  2574. for i = 0, 75 do
  2575. partMesh.Scale = partMesh.Scale + vt(value,value,value)
  2576. expart.CFrame = expart.CFrame
  2577. partMesh2.Scale = partMesh2.Scale + vt(value,value,value)
  2578. expart2.CFrame = expart.CFrame
  2579. value = value - 0.035*rad/5
  2580. if value < 0 then
  2581. value = 0
  2582. expart.Transparency = expart.Transparency + 0.05
  2583. expart2.Transparency = expart2.Transparency + 0.05
  2584. end
  2585. swait()
  2586. end
  2587. game:GetService("Debris"):AddItem(expart, 1)
  2588. game:GetService("Debris"):AddItem(expart2, 1)
  2589. end
  2590.  
  2591. function AreaDanger(rad,par,mindam,maxdam)
  2592. local expart = Instance.new("Part",char)
  2593. local partMesh = Instance.new("SpecialMesh",expart)
  2594. CFuncs["Sound"].Create("rbxassetid://231917784", expart,1.5,1.15)
  2595. partMesh.MeshType = "Sphere"
  2596. partMesh.Scale = vt(rad,rad,rad)
  2597. expart.Size = vt(1,1,1)
  2598. expart.Transparency = 0.5
  2599. expart.Anchored = true
  2600. expart.Material = "Neon"
  2601. expart.CanCollide = false
  2602. expart.BrickColor = par.BrickColor
  2603. expart.CFrame = par.CFrame
  2604. local value = 1*rad/5
  2605. MagicBlock(origcolor,expart.CFrame,0,0,0,rad/2,rad/2,rad/2,0.1)
  2606. for i = 0, 14 do
  2607. wait()
  2608. partMesh.Scale = partMesh.Scale + vt(value,value,value)
  2609. expart.CFrame = expart.CFrame
  2610. value = value - 0.035*rad
  2611. if value < 0 then
  2612. value = 0
  2613. end
  2614. end
  2615. wait(0.25)
  2616. CFuncs["Sound"].Create("rbxassetid://588738544", expart,1.5,1)
  2617. wait(0.5)
  2618. CFuncs["Sound"].Create("rbxassetid://588737825", expart,1.5,1)
  2619. CFuncs["Sound"].Create("rbxassetid://231917784", expart,1.5,0.75)
  2620. MagniDamageWithEffect(par, rad, mindam, maxdam, 0, "Normal")
  2621. MagicBlock(origcolor,expart.CFrame,rad*2,rad*2,rad*2,0.1,0.1,0.1,0.025)
  2622. for i = 0, 14 do
  2623. wait()
  2624. partMesh.Scale = partMesh.Scale + vt(value,value,value)
  2625. expart.CFrame = expart.CFrame
  2626. value = value - 0.035*rad/2
  2627. end
  2628. expart.Transparency = 1
  2629. game:GetService("Debris"):AddItem(expart, 5)
  2630. end
  2631.  
  2632. function Swarmsplosions(negrad,rad,par,mindam,maxdam)
  2633. CFuncs["Sound"].Create("rbxassetid://588737825", par, 2.5, 2)
  2634. CFuncs["Sound"].Create("rbxassetid://231917784", par, 2.5,1)
  2635. CFuncs["Sound"].Create("rbxassetid://231917744", par, 2.5,1)
  2636. CFuncs["Sound"].Create("rbxassetid://233856106", par, 2.5, 1)
  2637. MagniDamageWithEffect(par, 25, 5,10, 0, "Normal")
  2638. MagicBlock(origcolor,par.CFrame,5,5,5,5,5,5,0.025)
  2639. for i = 0, 24 do
  2640. MagicShockTrailAlt2(origcolor,par.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),10/5,10/5,5,-0.05/5,-0.05/5,25,0.005,math.random(1,2))
  2641. end
  2642. for i = 0, 24 do
  2643. local expart = Instance.new("Part",char)
  2644. expart.Transparency = 1
  2645. expart.Anchored = true
  2646. expart.CanCollide = false
  2647. expart.CFrame = par.CFrame*CFrame.new(math.random(negrad,rad),math.random(negrad,rad),math.random(negrad,rad))
  2648. CFuncs["Sound"].Create("rbxassetid://588737825", expart,1,2)
  2649. CFuncs["Sound"].Create("rbxassetid://231917784", expart,1.5,1.15)
  2650. MagniDamage(expart, rad/2, mindam, maxdam, 0, "Normal")
  2651. MagicBlock(origcolor,expart.CFrame,rad,rad,rad,0.1,0.1,0.1,0.025)
  2652. for i = 0, 9 do
  2653. MagicShockTrailAlt2(origcolor,expart.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),10/5,10/5,5,-0.05/5,-0.05/5,5,0.05,math.random(1,2))
  2654. end
  2655. game:GetService("Debris"):AddItem(expart, 2)
  2656. wait(0.1)
  2657. end
  2658. end
  2659.  
  2660. function EXterPlosion(par)
  2661. CFuncs["Sound"].Create("rbxassetid://919941001", par, 10, 1)
  2662. CFuncs["Sound"].Create("rbxassetid://138213851", par, 5,0.85)
  2663. CFuncs["Sound"].Create("rbxassetid://157878578", par, 5,0.2)
  2664. CFuncs["Sound"].Create("rbxassetid://233856106", par, 2.5, 1)
  2665. MagniDamageWithEffect(par, 500, 80,99, 0, "Normal")
  2666. MagicBlock(origcolor,par.CFrame,5,5,5,5,5,5,0.005)
  2667. MagicBlock(origcolor,par.CFrame,0,0,0,150,150,150,0.1)
  2668. for i = 0, 24 do
  2669. MagicShockTrailAlt2(origcolor,par.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),10*5,10*5,5,-0.05*10,-0.05*10,500,0.1,math.random(1,2))
  2670. end
  2671. for i = 0, 24 do
  2672. MagicShockTrailAlt2(origcolor,par.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),10*5,10*5,5,-0.05*5,-0.05*5,50,0.005,math.random(1,2))
  2673. end
  2674. end
  2675. ----
  2676.  
  2677.  
  2678. function ring(type,pos,scale,value)
  2679. local type = type
  2680. local rng = Instance.new("Part", char)
  2681. rng.Anchored = true
  2682. rng.BrickColor = origcolor
  2683. rng.CanCollide = false
  2684. rng.FormFactor = 3
  2685. rng.Name = "Ring"
  2686. rng.Size = Vector3.new(1, 1, 1)
  2687. rng.Transparency = 0
  2688. rng.TopSurface = 0
  2689. rng.BottomSurface = 0
  2690. rng.CFrame = pos
  2691. local rngm = Instance.new("SpecialMesh", rng)
  2692. rngm.MeshId = "http://www.roblox.com/asset/?id=3270017"
  2693. rngm.Scale = scale
  2694. local scaler2 = 1
  2695. if type == "Add" then
  2696. scaler2 = 1*value
  2697. elseif type == "Divide" then
  2698. scaler2 = 1/value
  2699. end
  2700. coroutine.resume(coroutine.create(function()
  2701. for i = 0,10,0.1 do
  2702. swait()
  2703. if type == "Add" then
  2704. scaler2 = scaler2 - 0.01*value
  2705. elseif type == "Divide" then
  2706. scaler2 = scaler2 - 0.01/value
  2707. end
  2708. rng.Transparency = rng.Transparency + 0.01
  2709. rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, 0)
  2710. end
  2711. rng:Destroy()
  2712. end))
  2713. end
  2714.  
  2715.  
  2716. function wave(type,pos,scale,value)
  2717. local type = type
  2718. local rng = Instance.new("Part", char)
  2719. rng.Anchored = true
  2720. rng.BrickColor = origcolor
  2721. rng.CanCollide = false
  2722. rng.FormFactor = 3
  2723. rng.Name = "Ring"
  2724. rng.Size = Vector3.new(1, 1, 1)
  2725. rng.Transparency = 0
  2726. rng.TopSurface = 0
  2727. rng.BottomSurface = 0
  2728. rng.CFrame = pos
  2729. local rngm = Instance.new("SpecialMesh", rng)
  2730. rngm.MeshId = "http://www.roblox.com/asset/?id=20329976"
  2731. rngm.Scale = scale
  2732. local scaler2 = 1
  2733. if type == "Add" then
  2734. scaler2 = 1*value
  2735. elseif type == "Divide" then
  2736. scaler2 = 1/value
  2737. end
  2738. coroutine.resume(coroutine.create(function()
  2739. for i = 0,10,0.1 do
  2740. swait()
  2741. if type == "Add" then
  2742. scaler2 = scaler2 - 0.01*value
  2743. elseif type == "Divide" then
  2744. scaler2 = scaler2 - 0.01/value
  2745. end
  2746. rng.Transparency = rng.Transparency + 0.01
  2747. rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, scaler2)
  2748. end
  2749. rng:Destroy()
  2750. end))
  2751. end
  2752.  
  2753. function wind(type,pos,scale,value,speed)
  2754. local type = type
  2755. local rng = Instance.new("Part", char)
  2756. rng.Anchored = true
  2757. rng.BrickColor = origcolor
  2758. rng.CanCollide = false
  2759. rng.FormFactor = 3
  2760. rng.Name = "Ring"
  2761. rng.Size = Vector3.new(1, 1, 1)
  2762. rng.Transparency = 0
  2763. rng.TopSurface = 0
  2764. rng.BottomSurface = 0
  2765. rng.CFrame = pos
  2766. local rngm = Instance.new("SpecialMesh", rng)
  2767. rngm.MeshId = "http://www.roblox.com/asset/?id=1051557"
  2768. rngm.Scale = scale
  2769. local scaler2 = 1
  2770. if type == "Add" then
  2771. scaler2 = 1*value
  2772. elseif type == "Divide" then
  2773. scaler2 = 1/value
  2774. end
  2775. coroutine.resume(coroutine.create(function()
  2776. for i = 0,10,0.1 do
  2777. swait()
  2778. if type == "Add" then
  2779. scaler2 = scaler2 - 0.01*value
  2780. elseif type == "Divide" then
  2781. scaler2 = scaler2 - 0.01/value
  2782. end
  2783. rng.CFrame = rng.CFrame*CFrame.Angles(0,0.025*speed,0)
  2784. rng.Transparency = rng.Transparency + 0.01
  2785. rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, scaler2)
  2786. end
  2787. rng:Destroy()
  2788. end))
  2789. end
  2790.  
  2791. function groundwind(type,pos,scale,value,speed)
  2792. local type = type
  2793. local rng = Instance.new("Part", char)
  2794. rng.Anchored = true
  2795. rng.BrickColor = origcolor
  2796. rng.CanCollide = false
  2797. rng.FormFactor = 3
  2798. rng.Name = "Ring"
  2799. rng.Size = Vector3.new(1, 1, 1)
  2800. rng.Transparency = 0
  2801. rng.TopSurface = 0
  2802. rng.BottomSurface = 0
  2803. rng.CFrame = pos
  2804. local rngm = Instance.new("SpecialMesh", rng)
  2805. rngm.MeshId = "http://www.roblox.com/asset/?id=1051557"
  2806. rngm.Scale = scale
  2807. local scaler2 = 1
  2808. if type == "Add" then
  2809. scaler2 = 1*value
  2810. elseif type == "Divide" then
  2811. scaler2 = 1/value
  2812. end
  2813. coroutine.resume(coroutine.create(function()
  2814. for i = 0,10,0.1 do
  2815. swait()
  2816. if type == "Add" then
  2817. scaler2 = scaler2 - 0.01*value
  2818. elseif type == "Divide" then
  2819. scaler2 = scaler2 - 0.01/value
  2820. end
  2821. rng.CFrame = rng.CFrame*CFrame.Angles(0,0.025*speed,0)
  2822. rng.Transparency = rng.Transparency + 0.01
  2823. rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2/5, scaler2)
  2824. end
  2825. rng:Destroy()
  2826. end))
  2827. end
  2828.  
  2829. function CameraManager()
  2830. if TwoD and not CamInterrupt then
  2831. if Humanoid.Health > 0 then
  2832. Camera.CameraSubject = Humanoid
  2833. Camera.CameraType = "Scriptable"
  2834. Humanoid.AutoRotate = false
  2835. if Booleans.GyroUse then
  2836. Directer.MaxTorque = Vec3(0, huge, 0)
  2837. else
  2838. Directer.MaxTorque = Vec3(0, 0, 0)
  2839. end
  2840. if TargetInfo[1] ~= nil and TargetInfo[2] ~= nil then
  2841. if Booleans.CamFollow then
  2842. CPart.CFrame = cFrame(RootPart.Position, Vec3(TargetInfo[1].Position.X, RootPart.Position.Y, TargetInfo[1].Position.Z))
  2843. Directer.CFrame = cFrame((RootPart.CFrame * cFrame(0, 0, 10)).p, TargetInfo[1].Position)
  2844. else
  2845. CPart.Position = RootPart.Position
  2846. end
  2847. else
  2848. local ahead = (RootPart.CFrame * cFrame(0, 0, -3)).p
  2849. CPart.CFrame = cFrame(RootPart.Position, Vec3(ahead.X, RootPart.Position.Y, ahead.Z))
  2850. end
  2851. Camera.CFrame = lerp(Camera.CFrame, CPart.CFrame * cFrame(25, 3, 0) * Euler(0, radian(90), 0), 0.2)
  2852. else
  2853. Camera.CameraSubject = Humanoid
  2854. Camera.CameraType = "Custom"
  2855. Controller.Disabled = false
  2856. end
  2857. end
  2858. end
  2859.  
  2860. function sphere(bonuspeed,type,pos,scale,value,color,heart,invert,notaffectbychaosrainbow)
  2861. local type = type
  2862. local rng = Instance.new("Part", char)
  2863. rng.Anchored = true
  2864. rng.BrickColor = color
  2865. rng.CanCollide = false
  2866. rng.FormFactor = 3
  2867. rng.Name = "Ring"
  2868. rng.Material = "Neon"
  2869. rng.Size = Vector3.new(1, 1, 1)
  2870. rng.Transparency = 0
  2871. rng.TopSurface = 0
  2872. rng.BottomSurface = 0
  2873. rng.CFrame = pos
  2874. local rngm = Instance.new("SpecialMesh", rng)
  2875. rngm.MeshType = "Sphere"
  2876.  
  2877.  
  2878. if(heart)then
  2879. rngm.MeshType = Enum.MeshType.FileMesh
  2880. rngm.MeshId = "rbxassetid://105992239"
  2881. rngm.Offset = Vector3.new(0,0,-.25)
  2882. end
  2883. rngm.Scale = scale
  2884. if rainbowmode == true and not notaffectbychaosrainbow then
  2885. rng.Color = Color3.new(r/255,g/255,b/255)
  2886. end
  2887. local scaler2 = 1
  2888. if type == "Add" then
  2889. scaler2 = 1*value
  2890. elseif type == "Divide" then
  2891. scaler2 = 1/value
  2892. end
  2893. coroutine.resume(coroutine.create(function()
  2894. for i = 0,10/bonuspeed,0.1 do
  2895. swait()
  2896. if rainbowmode == true and not notaffectbychaosrainbow then
  2897. rng.Color = Color3.new(r/255,g/255,b/255)
  2898. end
  2899. if type == "Add" then
  2900. scaler2 = scaler2 - 0.01*value/bonuspeed
  2901. elseif type == "Divide" then
  2902. scaler2 = scaler2 - 0.01/value*bonuspeed
  2903. end
  2904. if chaosmode == true and not notaffectbychaosrainbow then
  2905. rng.BrickColor = BrickColor.random()
  2906. end
  2907. if glitchymode then
  2908. local val = math.random(1,255)
  2909. local color = Color3.fromRGB(val,val,val)
  2910. rng.Color = color
  2911. end
  2912. rng.Transparency = rng.Transparency + 0.01*bonuspeed
  2913. if(invert)then
  2914. if(heart)then
  2915. rngm.Scale = rngm.Scale - Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, 0)
  2916. else
  2917. rngm.Scale = rngm.Scale - Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, scaler2*bonuspeed)
  2918. end
  2919. else
  2920. if(heart)then
  2921. rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, 0)
  2922. else
  2923. rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, scaler2*bonuspeed)
  2924. end
  2925. end
  2926. rng.CFrame = pos
  2927. end
  2928. rng:Destroy()
  2929. end))
  2930. end
  2931.  
  2932. function newBezier(startpos, pos2, pos3, endpos, t)
  2933. local A = clerp(startpos, pos2, t)
  2934. local B = clerp(pos2, pos3, t)
  2935. local C = clerp(pos3, endpos, t)
  2936. local lerp1 = clerp(A, B, t)
  2937. local lerp2 = clerp(B, C, t)
  2938. local cubic = clerp(lerp1, lerp2, t)
  2939. return cubic
  2940. end
  2941.  
  2942.  
  2943. function PixelBlock(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos,heart,invert)
  2944. local type = type
  2945. local rng = Instance.new("Part", char)
  2946. rng.Anchored = true
  2947. rng.BrickColor = color
  2948. rng.CanCollide = false
  2949. rng.FormFactor = 3
  2950. rng.Name = "Ring"
  2951. rng.Material = "Neon"
  2952. rng.Size = Vector3.new(1, 1, 1)
  2953. rng.Transparency = 0
  2954. rng.TopSurface = 0
  2955. rng.BottomSurface = 0
  2956. rng.CFrame = pos
  2957. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos
  2958. local rngm = Instance.new("SpecialMesh", rng)
  2959. rngm.MeshType = "Brick"
  2960. if(heart)then
  2961. rngm.MeshType = Enum.MeshType.FileMesh
  2962. rngm.MeshId = "rbxassetid://105992239"
  2963. rngm.Offset = Vector3.new(0,0,-.25)
  2964. end
  2965. rngm.Scale = vt(x1,y1,z1)
  2966. if rainbowmode == true then
  2967. rng.Color = Color3.new(r/255,g/255,b/255)
  2968. end
  2969. local scaler2 = 1
  2970. local speeder = FastSpeed/10
  2971. if type == "Add" then
  2972. scaler2 = 1*value
  2973. elseif type == "Divide" then
  2974. scaler2 = 1/value
  2975. end
  2976. coroutine.resume(coroutine.create(function()
  2977. for i = 0,10/bonuspeed,0.1 do
  2978. swait()
  2979. if rainbowmode == true then
  2980. rng.Color = Color3.new(r/255,g/255,b/255)
  2981. end
  2982. if type == "Add" then
  2983. scaler2 = scaler2 - 0.01*value/bonuspeed
  2984. elseif type == "Divide" then
  2985. scaler2 = scaler2 - 0.01/value*bonuspeed
  2986. end
  2987. if chaosmode == true then
  2988. rng.BrickColor = BrickColor.random()
  2989. end
  2990. if glitchymode then
  2991. local val = math.random(1,255)
  2992. local color = Color3.fromRGB(val,val,val)
  2993. rng.Color = color
  2994. end
  2995. speeder = speeder - 0.01*FastSpeed*bonuspeed/10
  2996. if(invert)then rng.CFrame = rng.CFrame - rng.CFrame.lookVector*speeder*bonuspeed else rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed end
  2997. --rng.Transparency = rng.Transparency + 0.01*bonuspeed
  2998. rngm.Scale = rngm.Scale - Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, scaler2*bonuspeed)
  2999. end
  3000. rng:Destroy()
  3001. end))
  3002. end
  3003.  
  3004.  
  3005. function PixelBlockNeg(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos,heart,invert)
  3006. local type = type
  3007. local rng = Instance.new("Part", char)
  3008. rng.Anchored = true
  3009. rng.BrickColor = color
  3010. rng.CanCollide = false
  3011. rng.FormFactor = 3
  3012. rng.Name = "Ring"
  3013. rng.Material = "Neon"
  3014. rng.Size = Vector3.new(1, 1, 1)
  3015. rng.Transparency = 0
  3016. rng.TopSurface = 0
  3017. rng.BottomSurface = 0
  3018. rng.CFrame = pos
  3019. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos
  3020. local rngm = Instance.new("SpecialMesh", rng)
  3021. rngm.MeshType = "Brick"
  3022. if(heart)then
  3023. rngm.MeshType = Enum.MeshType.FileMesh
  3024. rngm.MeshId = "rbxassetid://105992239"
  3025. rngm.Offset = Vector3.new(0,0,-.25)
  3026. end
  3027. rngm.Scale = vt(x1,y1,z1)
  3028. if rainbowmode == true then
  3029. rng.Color = Color3.new(r/255,g/255,b/255)
  3030. end
  3031. local scaler2 = 0
  3032. local speeder = FastSpeed/10
  3033. if type == "Add" then
  3034. scaler2 = 1*value
  3035. elseif type == "Divide" then
  3036. scaler2 = 1/value
  3037. end
  3038. coroutine.resume(coroutine.create(function()
  3039. for i = 0,10/bonuspeed,0.1 do
  3040. swait()
  3041. if rainbowmode == true then
  3042. rng.Color = Color3.new(r/255,g/255,b/255)
  3043. end
  3044. if type == "Add" then
  3045. scaler2 = scaler2 - 0.01*value/bonuspeed
  3046. elseif type == "Divide" then
  3047. scaler2 = scaler2 - 0.01/value*bonuspeed
  3048. end
  3049. if chaosmode == true then
  3050. rng.BrickColor = BrickColor.random()
  3051. end
  3052. if glitchymode then
  3053. local val = math.random(1,255)
  3054. local color = Color3.fromRGB(val,val,val)
  3055. rng.Color = color
  3056. end
  3057. speeder = speeder + 0.01*FastSpeed*bonuspeed/10
  3058. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed
  3059. if(invert)then rng.CFrame = rng.CFrame - rng.CFrame.lookVector*speeder*bonuspeed else rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed end
  3060. --rng.Transparency = rng.Transparency + 0.01*bonuspeed
  3061. rngm.Scale = rngm.Scale - Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, scaler2*bonuspeed)
  3062. end
  3063. rng:Destroy()
  3064. end))
  3065. end
  3066.  
  3067. function sphereMK(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos)
  3068. local type = type
  3069. local rng = Instance.new("Part", char)
  3070. rng.Anchored = true
  3071. rng.BrickColor = color
  3072. rng.CanCollide = false
  3073. rng.FormFactor = 3
  3074. rng.Name = "Ring"
  3075. rng.Material = "Neon"
  3076. rng.Size = Vector3.new(1, 1, 1)
  3077. rng.Transparency = 0
  3078. rng.TopSurface = 0
  3079. rng.BottomSurface = 0
  3080. rng.CFrame = pos
  3081. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos
  3082. local rngm = Instance.new("SpecialMesh", rng)
  3083. rngm.MeshType = "Sphere"
  3084. rngm.Scale = vt(x1,y1,z1)
  3085. if rainbowmode == true then
  3086. rng.Color = Color3.new(r/255,g/255,b/255)
  3087. end
  3088. local scaler2 = 1
  3089. local speeder = FastSpeed
  3090. if type == "Add" then
  3091. scaler2 = 1*value
  3092. elseif type == "Divide" then
  3093. scaler2 = 1/value
  3094. end
  3095. coroutine.resume(coroutine.create(function()
  3096. for i = 0,10/bonuspeed,0.1 do
  3097. swait()
  3098. if rainbowmode == true then
  3099. rng.Color = Color3.new(r/255,g/255,b/255)
  3100. end
  3101. if type == "Add" then
  3102. scaler2 = scaler2 - 0.01*value/bonuspeed
  3103. elseif type == "Divide" then
  3104. scaler2 = scaler2 - 0.01/value*bonuspeed
  3105. end
  3106. if chaosmode == true then
  3107. rng.BrickColor = BrickColor.random()
  3108. end
  3109. if glitchymode then
  3110. local val = math.random(1,255)
  3111. local color = Color3.fromRGB(val,val,val)
  3112. rng.Color = color
  3113. end
  3114. speeder = speeder - 0.01*FastSpeed*bonuspeed
  3115. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed
  3116. rng.Transparency = rng.Transparency + 0.01*bonuspeed
  3117. rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, 0)
  3118. end
  3119. rng:Destroy()
  3120. end))
  3121. end
  3122.  
  3123.  
  3124. function sphereMKCharge(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos)
  3125. local type = type
  3126. local rng = Instance.new("Part", char)
  3127. rng.Anchored = true
  3128. rng.BrickColor = color
  3129. rng.CanCollide = false
  3130. rng.FormFactor = 3
  3131. rng.Name = "Ring"
  3132. rng.Material = "Neon"
  3133. rng.Size = Vector3.new(1, 1, 1)
  3134. rng.Transparency = 1
  3135. rng.TopSurface = 0
  3136. rng.BottomSurface = 0
  3137. rng.CFrame = pos
  3138. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos
  3139. local rngm = Instance.new("SpecialMesh", rng)
  3140. rngm.MeshType = "Sphere"
  3141. rngm.Scale = vt(x1,y1,z1)
  3142. if rainbowmode == true then
  3143. rng.Color = Color3.new(r/255,g/255,b/255)
  3144. end
  3145. local scaler2 = 1
  3146. local speeder = FastSpeed
  3147. if type == "Add" then
  3148. scaler2 = 1*value
  3149. elseif type == "Divide" then
  3150. scaler2 = 1/value
  3151. end
  3152. coroutine.resume(coroutine.create(function()
  3153. for i = 0,10/bonuspeed,0.1 do
  3154. swait()
  3155. if rainbowmode == true then
  3156. rng.Color = Color3.new(r/255,g/255,b/255)
  3157. end
  3158. if type == "Add" then
  3159. scaler2 = scaler2 - 0.01*value/bonuspeed
  3160. elseif type == "Divide" then
  3161. scaler2 = scaler2 - 0.01/value*bonuspeed
  3162. end
  3163. if chaosmode == true then
  3164. rng.BrickColor = BrickColor.random()
  3165. end
  3166. if glitchymode then
  3167. local val = math.random(1,255)
  3168. local color = Color3.fromRGB(val,val,val)
  3169. rng.Color = color
  3170. end
  3171. speeder = speeder - 0.01*FastSpeed*bonuspeed
  3172. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed
  3173. rng.Transparency = rng.Transparency - 0.01*bonuspeed
  3174. rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, 0)
  3175. end
  3176. rng:Destroy()
  3177. end))
  3178. end
  3179.  
  3180. function dmg(dude)
  3181. if dude.Name ~= Character then
  3182. local bgf = Instance.new("BodyGyro",dude.Head)
  3183. bgf.CFrame = bgf.CFrame * CFrame.fromEulerAnglesXYZ(math.rad(-90),0,0)
  3184. local val = Instance.new("BoolValue",dude)
  3185. val.Name = "IsHit"
  3186. local ds = coroutine.wrap(function()
  3187. local torso = dude:FindFirstChild'Torso' or dude:FindFirstChild'UpperTorso'
  3188. for i = 1, 10 do
  3189. sphereMK(1.5,2,"Add",torso.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),1,1,25,-.01,BrickColor.new("White"),0,true)
  3190. end
  3191. dude:WaitForChild("Head"):BreakJoints()
  3192. wait(0.5)
  3193. targetted = nil
  3194. CFuncs["Sound"].Create("rbxassetid://62339698", char, 0.5, 0.3)
  3195.  
  3196. coroutine.resume(coroutine.create(function()
  3197. for i, v in pairs(dude:GetChildren()) do
  3198. if v:IsA("Accessory") then
  3199. v:Destroy()
  3200. end
  3201. if v:IsA("Humanoid") then
  3202. v:Destroy()
  3203. end
  3204. if v:IsA("CharacterMesh") then
  3205. v:Destroy()
  3206. end
  3207. if v:IsA("Model") then
  3208. v:Destroy()
  3209. end
  3210. if v:IsA("Part") or v:IsA("MeshPart") then
  3211. for x, o in pairs(v:GetChildren()) do
  3212. if o:IsA("Decal") then
  3213. o:Destroy()
  3214. end
  3215. end
  3216. coroutine.resume(coroutine.create(function()
  3217. v.Material = "Neon"
  3218. v.CanCollide = false
  3219. local bld = Instance.new("ParticleEmitter",v)
  3220. bld.LightEmission = 1
  3221. bld.Texture = "rbxassetid://284205403"
  3222. bld.Color = ColorSequence.new(Color3.new(1,1,1))
  3223. bld.Rate = 50
  3224. bld.Lifetime = NumberRange.new(1)
  3225. bld.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,0.75,0),NumberSequenceKeypoint.new(1,0,0)})
  3226. bld.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,1,0)})
  3227. bld.Speed = NumberRange.new(0,0)
  3228. bld.VelocitySpread = 50000
  3229. bld.Rotation = NumberRange.new(-500,500)
  3230. bld.RotSpeed = NumberRange.new(-500,500)
  3231. local sbs = Instance.new("BodyPosition", v)
  3232. sbs.P = 3000
  3233. sbs.D = 1000
  3234. sbs.maxForce = Vector3.new(50000000000, 50000000000, 50000000000)
  3235. sbs.position = v.Position + Vector3.new(math.random(-5,5),math.random(-5,5),math.random(-5,5))
  3236. v.Color = Color3.new(1,1,1)
  3237. coroutine.resume(coroutine.create(function()
  3238. for i = 0, 49 do
  3239. swait(1)
  3240. v.Transparency = v.Transparency + 0.02
  3241. end
  3242. CFuncs["Sound"].Create("rbxassetid://1192402877", v, 0.25, 1)
  3243. bld.Speed = NumberRange.new(1,5)
  3244. bld.Acceleration = vt(0,10,0)
  3245. wait(0.5)
  3246. bld.Enabled = false
  3247. wait(3)
  3248. v:Destroy()
  3249. dude:Destroy()
  3250. end))
  3251. end))
  3252. end
  3253. end
  3254. end))
  3255. end)
  3256. ds()
  3257. end
  3258. end
  3259.  
  3260.  
  3261. function FindNearestHead(Position, Distance, SinglePlayer)
  3262. if SinglePlayer then
  3263. return (SinglePlayer.Torso.CFrame.p - Position).magnitude < Distance
  3264. end
  3265. local List = {}
  3266. for i, v in pairs(workspace:GetChildren()) do
  3267. if v:IsA("Model") then
  3268. if v:findFirstChild("Head") then
  3269. if v ~= Character then
  3270. if (v.Head.Position - Position).magnitude <= Distance then
  3271. table.insert(List, v)
  3272. end
  3273. end
  3274. end
  3275. end
  3276. end
  3277. return List
  3278. end
  3279.  
  3280. function FaceMouse()
  3281. Cam = workspace.CurrentCamera
  3282. return {
  3283. CFrame.new(char.Torso.Position, Vector3.new(mouse.Hit.p.x, char.Torso.Position.y, mouse.Hit.p.z)),
  3284. Vector3.new(mouse.Hit.p.x, mouse.Hit.p.y, mouse.Hit.p.z)
  3285. }
  3286. end
  3287.  
  3288. function FaceMouse2()
  3289. Cam = workspace.CurrentCamera
  3290. return {
  3291. CFrame.new(char.Torso.Position, Vector3.new(mouse.Hit.p.x, mouse.Hit.p.y, mouse.Hit.p.z)),
  3292. Vector3.new(mouse.Hit.p.x, mouse.Hit.p.y, mouse.Hit.p.z)
  3293. }
  3294. end
  3295.  
  3296. local ModeOfGlitch = 1
  3297. -- Functions are ready.
  3298. local storehumanoidWS = 16
  3299.  
  3300. function CorruptBlink()
  3301. for i = 0, 14 do
  3302. PixelBlock(3,math.random(4,8),"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),3,3,3,0.03,MAINRUINCOLOR,0)
  3303. end
  3304. sphere(10,"Add",root.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  3305. CFuncs["Sound"].Create("rbxassetid://1177785010", root, 10,1)
  3306. RootPart.CFrame = mouse.Hit *CFrame.new(0,2,0)
  3307. CameraEnshaking(2,10)
  3308. if(ModeOfGlitch == 1 or ModeOfGlitch == 3 or ModeOfGlitch == 4 or ModeOfGlitch == 666666)then for i, v in pairs(FindNearestHead(Torso.CFrame.p, 20)) do
  3309. if v:FindFirstChild('Head') then
  3310. dmg(v)
  3311. end
  3312. end end
  3313. for i = 0, 14 do
  3314. PixelBlock(3,math.random(4,8),"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),3,3,3,0.03,MAINRUINCOLOR,0)
  3315. end
  3316. sphere(10,"Add",root.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  3317. end
  3318.  
  3319. function ExtinctiveHeartbreak()
  3320. local targetted = nil
  3321. if mouse.Target.Parent ~= Character and mouse.Target.Parent.Parent ~= Character and mouse.Target.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
  3322. targetted = mouse.Target.Parent
  3323. end
  3324. if targetted ~= nil then
  3325. attack = true
  3326. CFuncs["Sound"].Create("rbxassetid://847061203", root, 2.5,1)
  3327. for i = 0, 9 do
  3328. sphereMK(3,0.25,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),1,1,10,-0.01,BrickColor.new("Really black"),0)
  3329. end
  3330. for i = 0, 24 do
  3331. PixelBlock(1,math.random(4,8),"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),3,3,3,0.06,BrickColor.new("Really black"),0)
  3332. end
  3333. sphere(3,"Add",root.CFrame,vt(0,0,0),0.25,BrickColor.new("Really black"))
  3334. local originalpos = root.CFrame
  3335. RootPart.CFrame = targetted.Head.CFrame * CFrame.new(0,-2,2)
  3336. for i = 0, 9 do
  3337. sphereMK(3,0.25,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),1,1,10,-0.01,BrickColor.new("Really black"),0)
  3338. end
  3339. for i = 0, 24 do
  3340. PixelBlock(1,math.random(4,8),"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),3,3,3,0.06,BrickColor.new("Really black"),0)
  3341. end
  3342. hum.WalkSpeed = 0
  3343. targetted.Head.Anchored = true
  3344. sphere(3,"Add",root.CFrame,vt(0,0,0),0.25,BrickColor.new("Really black"))
  3345. for i = 0,2,0.1 do
  3346. swait()
  3347. 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(0)),.4)
  3348. 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(0)),.4)
  3349. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.05 * math.cos(sine / 28))*angles(math.rad(0),math.rad(0),math.rad(80)),.4)
  3350. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(10)),.8)
  3351. RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.1 * math.cos(sine / 28),0)*angles(math.rad(20),math.rad(0),math.rad(10)),.4)
  3352. LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.1 * math.cos(sine / 28),0)*angles(math.rad(90),math.rad(0),math.rad(60)),.4)
  3353. end
  3354. coroutine.resume(coroutine.create(function()
  3355. bld = Instance.new("ParticleEmitter",targetted:WaitForChild("Torso"))
  3356. bld.LightEmission = 0.1
  3357. bld.Texture = "rbxassetid://284205403"
  3358. bld.Color = ColorSequence.new(Color3.new(0.5,0,0))
  3359. bld.Rate = 500
  3360. bld.Lifetime = NumberRange.new(1)
  3361. bld.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,2,0),NumberSequenceKeypoint.new(1,0,0)})
  3362. bld.Acceleration = vt(0,-25,0)
  3363. bld.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,0,0)})
  3364. bld.Speed = NumberRange.new(10,50)
  3365. bld.EmissionDirection = "Front"
  3366. bld.VelocitySpread = 25
  3367. bld.Rotation = NumberRange.new(-500,500)
  3368. bld.RotSpeed = NumberRange.new(-500,500)
  3369. end))
  3370. coroutine.resume(coroutine.create(function()
  3371. bld = Instance.new("ParticleEmitter",targetted:WaitForChild("UpperTorso"))
  3372. bld.LightEmission = 0.1
  3373. bld.Texture = "rbxassetid://284205403"
  3374. bld.Color = ColorSequence.new(Color3.new(0.5,0,0))
  3375. bld.Rate = 500
  3376. bld.Lifetime = NumberRange.new(1)
  3377. bld.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,2,0),NumberSequenceKeypoint.new(1,0,0)})
  3378. bld.Acceleration = vt(0,-25,0)
  3379. bld.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,0,0)})
  3380. bld.Speed = NumberRange.new(10,50)
  3381. bld.EmissionDirection = "Front"
  3382. bld.VelocitySpread = 25
  3383. bld.Rotation = NumberRange.new(-500,500)
  3384. bld.RotSpeed = NumberRange.new(-500,500)
  3385. end))
  3386. CameraEnshaking(5,5)
  3387. game:GetService("Debris"):AddItem(bld,3)
  3388. dmg(targetted)
  3389. CFuncs["Sound"].Create("rbxassetid://429400881", targetted.Head, 1,1)
  3390. for i = 0,1,0.1 do
  3391. swait()
  3392. 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(0)),.8)
  3393. 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(0)),.8)
  3394. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.25,0 + 0.05 * math.cos(sine / 28))*angles(math.rad(0),math.rad(0),math.rad(-80)),.8)
  3395. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(80)),.8)
  3396. RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.1 * math.cos(sine / 28),0)*angles(math.rad(20),math.rad(0),math.rad(10)),.8)
  3397. LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.1 * math.cos(sine / 28),0)*angles(math.rad(90),math.rad(0),math.rad(-80)),.8)
  3398. end
  3399. CFuncs["Sound"].Create("rbxassetid://847061203", root, 2.5,1)
  3400. for i = 0, 9 do
  3401. sphereMK(3,0.25,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),1,1,10,-0.01,BrickColor.new("Really black"),0)
  3402. end
  3403. for i = 0, 24 do
  3404. PixelBlock(1,math.random(4,8),"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),3,3,3,0.06,BrickColor.new("Really black"),0)
  3405. end
  3406. sphere(3,"Add",root.CFrame,vt(0,0,0),0.25,BrickColor.new("Really black"))
  3407. root.CFrame = originalpos
  3408. for i = 0, 9 do
  3409. sphereMK(3,0.25,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),1,1,10,-0.01,BrickColor.new("Really black"),0)
  3410. end
  3411. for i = 0, 24 do
  3412. PixelBlock(1,math.random(4,8),"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),3,3,3,0.06,BrickColor.new("Really black"),0)
  3413. end
  3414. sphere(3,"Add",root.CFrame,vt(0,0,0),0.25,BrickColor.new("Really black"))
  3415. bld.Enabled = false
  3416. attack = false
  3417. hum.WalkSpeed = storehumanoidWS
  3418. end
  3419. end
  3420. function PureBomb()
  3421. attack = true
  3422.  
  3423. local orb = Instance.new("Part", char)
  3424. orb.Anchored = true
  3425. orb.BrickColor = BrickColor.new("Toothpaste")
  3426. orb.CanCollide = false
  3427. orb.FormFactor = 3
  3428. orb.Name = "Ring"
  3429. orb.Material = "Neon"
  3430. orb.Size = Vector3.new(1, 1, 1)
  3431. orb.Transparency = 0
  3432. orb.TopSurface = 0
  3433. orb.BottomSurface = 0
  3434. local orbm = Instance.new("SpecialMesh", orb)
  3435. orbm.MeshType = "Sphere"
  3436. orbm.Name = "SizeMesh"
  3437. orbm.Scale = vt(0,0,0)
  3438. local scaled = 0.1
  3439. local posid = 0
  3440. CFuncs["Sound"].Create("rbxassetid://136007472", orb, 1,1)
  3441. for i = 0, 5, 0.1 do
  3442. swait()
  3443. scaled = scaled - 0.001
  3444. posid = posid - scaled
  3445. orb.CFrame = rarm.CFrame*CFrame.new(0,-0.1+posid/1.05,0)
  3446. orbm.Scale = orbm.Scale + vt(scaled,scaled,scaled)
  3447. sphereMKCharge(5,-0.25,"Add",orb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),0.5,0.5,5,-0.005,BrickColor.new("Toothpaste"),10)
  3448. PixelBlockNeg(2,1,"Add",orb.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.01,BrickColor.new("Toothpaste"),0)
  3449. RH.C0=clerp(RH.C0,cf(1,-1 - 0.1 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(-2 - 1 * math.cos(sine / 32))),.1)
  3450. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.1 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3 + 1 * math.cos(sine / 32)),math.rad(0),math.rad(-10)),.1)
  3451. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.1 * math.cos(sine / 32))*angles(math.rad(0),math.rad(0),math.rad(0)),.1)
  3452. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(0)),.1)
  3453. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(180),math.rad(20),math.rad(0)),.1)
  3454. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(-30 + 5 * math.cos(sine / 30)),math.rad(-20)),.1)
  3455. end
  3456. for i = 0, 2, 0.1 do
  3457. swait()
  3458. orb.CFrame = rarm.CFrame*CFrame.new(0,-0.1+posid/1.05,0)
  3459. RH.C0=clerp(RH.C0,cf(1,-1 - 0.1 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(-2 - 1 * math.cos(sine / 32))),.4)
  3460. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.1 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3 + 1 * math.cos(sine / 32)),math.rad(0),math.rad(-10)),.4)
  3461. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.1 * math.cos(sine / 32))*angles(math.rad(0),math.rad(0),math.rad(-50)),.4)
  3462. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(20)),.4)
  3463. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(220),math.rad(20),math.rad(0)),.4)
  3464. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(-30 + 5 * math.cos(sine / 30)),math.rad(-20)),.4)
  3465. end
  3466. coroutine.resume(coroutine.create(function()
  3467. orb.Anchored = false
  3468. CFuncs["Sound"].Create("rbxassetid://260433768", root, 1.25,1)
  3469. local a = Instance.new("Part",workspace)
  3470. a.Name = "Direction"
  3471. a.Anchored = true
  3472. a.BrickColor = bc("Bright red")
  3473. a.Material = "Neon"
  3474. a.Transparency = 1
  3475. a.CanCollide = false
  3476. local ray = Ray.new(
  3477. orb.CFrame.p, -- origin
  3478. (mouse.Hit.p - orb.CFrame.p).unit * 500 -- direction
  3479. )
  3480. local ignore = orb
  3481. local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  3482. a.BottomSurface = 10
  3483. a.TopSurface = 10
  3484. local distance = (orb.CFrame.p - position).magnitude
  3485. a.Size = Vector3.new(0.1, 0.1, 0.1)
  3486. a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, 0)
  3487. orb.CFrame = a.CFrame
  3488. a:Destroy()
  3489. local bv = Instance.new("BodyVelocity")
  3490. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  3491. bv.velocity = orb.CFrame.lookVector*125
  3492. bv.Parent = orb
  3493. local hitted = false
  3494. game:GetService("Debris"):AddItem(orb, 15)
  3495. wait()
  3496. local hit =orb.Touched:connect(function(hit)
  3497. if hitted == false then
  3498. hitted = true
  3499. CameraEnshaking(10,2.5)
  3500. CFuncs["Sound"].Create("rbxassetid://151304356", orb, 5,1)
  3501. MagniDamage(orb, 65, 65,90, 0, "Normal")
  3502. sphere(1,"Add",orb.CFrame,vt(orbm.Scale.x,orbm.Scale.y,orbm.Scale.z),1,BrickColor.new("Toothpaste"))
  3503. sphere(2,"Add",orb.CFrame,vt(orbm.Scale.x,orbm.Scale.y,orbm.Scale.z),2,BrickColor.new("Toothpaste"))
  3504. for i = 0, 49 do
  3505. PixelBlock(1,math.random(1,30),"Add",orb.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,BrickColor.new("Toothpaste"),0)
  3506. end
  3507. for i = 0, 9 do
  3508. sphereMK(1,2.5,"Add",orb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),5,5,50,-0.05,BrickColor.new("Toothpaste"),0)
  3509. sphereMK(2,5,"Add",orb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),5,5,50,-0.05,BrickColor.new("Toothpaste"),0)
  3510. end
  3511. orb.Anchored = true
  3512. orb.Transparency = 1
  3513. wait(8)
  3514. orb:Destroy()
  3515. end
  3516. end)
  3517. end))
  3518. for i = 0, 1, 0.1 do
  3519. swait()
  3520. RH.C0=clerp(RH.C0,cf(1,-1 - 0.1 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(-2 - 1 * math.cos(sine / 32))),.4)
  3521. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.1 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3 + 1 * math.cos(sine / 32)),math.rad(0),math.rad(-10)),.4)
  3522. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.1 * math.cos(sine / 32))*angles(math.rad(0),math.rad(0),math.rad(50)),.4)
  3523. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-50)),.4)
  3524. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(60),math.rad(20),math.rad(50)),.4)
  3525. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(-30 + 5 * math.cos(sine / 30)),math.rad(-20)),.4)
  3526. end
  3527. attack = false
  3528. end
  3529.  
  3530. function ChaosGroundStrike()
  3531. attack = true
  3532. for i = 0, 2, 0.1 do
  3533. swait()
  3534. RH.C0=clerp(RH.C0,cf(1,-0.25,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(20)),.2)
  3535. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(20)),.2)
  3536. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(-20),math.rad(0),math.rad(0)),.2)
  3537. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.2)
  3538. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(140),math.rad(0),math.rad(-20)),.2)
  3539. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(140),math.rad(0),math.rad(20)),.2)
  3540. end
  3541. CFuncs["Sound"].Create("rbxassetid://438666141", root, 7.5,1)
  3542. CFuncs["Sound"].Create("rbxassetid://1208650519", root, 7.5, 1)
  3543. CameraEnshaking(4,12)
  3544. for i, v in pairs(FindNearestHead(Torso.CFrame.p, 52.5)) do
  3545. if v:FindFirstChild('Head') then
  3546. dmg(v)
  3547. end
  3548. end
  3549. sphere(5,"Add",root.CFrame*CFrame.new(0,-2.9,0),vt(0,0,0),1,BrickColor.random())
  3550. sphere(10,"Add",root.CFrame*CFrame.new(0,-2.9,0),vt(0,0,0),2,BrickColor.random())
  3551. sphere(1,"Add",root.CFrame*CFrame.new(0,-2.9,0),vt(100,0.1,100),0.01,BrickColor.random())
  3552. for i = 0, 2, 0.1 do
  3553. swait()
  3554. sphereMK(2.5,0.75,"Add",root.CFrame*CFrame.new(math.random(-52.5,52.5),-5,math.random(-52.5,52.5))*CFrame.Angles(math.rad(90 + math.rad(math.random(-45,45))),math.rad(math.random(-45,45)),math.rad(math.random(-45,45))),2.5,2.5,25,-0.025,BrickColor.random(),0)
  3555. sphereMK(2.5,0.75,"Add",root.CFrame*CFrame.new(math.random(-52.5,52.5),-5,math.random(-52.5,52.5))*CFrame.Angles(math.rad(90 + math.rad(math.random(-45,45))),math.rad(math.random(-45,45)),math.rad(math.random(-45,45))),2.5,2.5,25,-0.025,BrickColor.random(),0)
  3556. RH.C0=clerp(RH.C0,cf(1,-1,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(10)),.4)
  3557. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(10)),.4)
  3558. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(10),math.rad(0),math.rad(0)),.4)
  3559. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10),math.rad(0),math.rad(0)),.4)
  3560. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-50),math.rad(0),math.rad(30)),.4)
  3561. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-50),math.rad(0),math.rad(-30)),.4)
  3562. end
  3563. attack = false
  3564. end
  3565.  
  3566. function InsaneGroundStrike()
  3567. attack = true
  3568. chatfunc("Succumb to the insanity!",Color3.new(0,0,0))
  3569. for i = 0, 8, 0.1 do
  3570. swait()
  3571. PixelBlockNeg(2,1,"Add",RightLeg.CFrame*cf(0,-1.35,0)*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),1,1,1,0.01,BrickColor.new("Toothpaste"),0)
  3572.  
  3573. RH.C0=clerp(RH.C0,cf(1,-0.25,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(20)),.2)
  3574. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(20)),.2)
  3575. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(-20),math.rad(0),math.rad(0)),.2)
  3576. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.2)
  3577. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(140),math.rad(0),math.rad(-20)),.2)
  3578. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(140),math.rad(0),math.rad(20)),.2)
  3579. end
  3580. CFuncs["Sound"].Create("rbxassetid://438666141", root, 7.5,1)
  3581. CFuncs["Sound"].Create("rbxassetid://1208650519", root, 7.5, 1)
  3582. CameraEnshaking(8,24)
  3583. for i, v in pairs(FindNearestHead(Torso.CFrame.p, 105)) do
  3584. if v:FindFirstChild('Head') then
  3585. dmg(v)
  3586. end
  3587. end
  3588. sphere(5,"Add",root.CFrame*CFrame.new(0,-2.9,0),vt(0,0,0),1,BrickColor.random())
  3589. sphere(10,"Add",root.CFrame*CFrame.new(0,-2.9,0),vt(0,0,0),2,BrickColor.random())
  3590. sphere(1,"Add",root.CFrame*CFrame.new(0,-2.9,0),vt(200,0.1,200),0.01,BrickColor.random())
  3591. CFuncs["Sound"].Create("rbxassetid://907329669", root, 10, 1)
  3592. chatfunc("Leave the dead where they fall!",Color3.new(0,0,0))
  3593. for i = 0, 2, 0.1 do
  3594. swait()
  3595. sphereMK(2.5,0.75,"Add",root.CFrame*CFrame.new(math.random(-105,105),-5,math.random(-105,105))*CFrame.Angles(math.rad(90 + math.rad(math.random(-45,45))),math.rad(math.random(-45,45)),math.rad(math.random(-45,45))),2.5,2.5,25,-0.025,BrickColor.random(),0)
  3596. sphereMK(2.5,0.75,"Add",root.CFrame*CFrame.new(math.random(-105,105),-5,math.random(-105,105))*CFrame.Angles(math.rad(90 + math.rad(math.random(-45,45))),math.rad(math.random(-45,45)),math.rad(math.random(-45,45))),2.5,2.5,25,-0.025,BrickColor.random(),0)
  3597. RH.C0=clerp(RH.C0,cf(1,-1,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(10)),.4)
  3598. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(10)),.4)
  3599. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(10),math.rad(0),math.rad(0)),.4)
  3600. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10),math.rad(0),math.rad(0)),.4)
  3601. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-50),math.rad(0),math.rad(30)),.4)
  3602. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-50),math.rad(0),math.rad(-30)),.4)
  3603. end
  3604. attack = false
  3605. end
  3606.  
  3607. function Starfall()
  3608. attack = true
  3609. hum.WalkSpeed = 0
  3610. CFuncs["Sound"].Create("rbxassetid://136007472", root, 5, 1)
  3611. for i = 0, 5, 0.1 do
  3612. swait()
  3613. PixelBlockNeg(1,math.random(1,2),"Add",sorb.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,MAINRUINCOLOR,0)
  3614. PixelBlockNeg(1,math.random(1,2),"Add",sorb2.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,MAINRUINCOLOR,0)
  3615. RH.C0=clerp(RH.C0,cf(1,-0.25,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-10)),.1)
  3616. 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(10)),.1)
  3617. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1.5 + 0.1 * math.cos(sine / 28))*angles(math.rad(-5 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(0)),.1)
  3618. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-10),math.rad(0),math.rad(0)),.1)
  3619. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(130),math.rad(0),math.rad(70 + 2.5 * math.cos(sine / 28))),.1)
  3620. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(130),math.rad(0),math.rad(-70 - 2.5 * math.cos(sine / 28))),.1)
  3621. end
  3622. local Overed = false
  3623. CameraEnshaking(2,20)
  3624. sphere(1.5,"Add",sorb.CFrame,vt(0,0,0),0.25,MAINRUINCOLOR)
  3625. sphere(1.5,"Add",sorb2.CFrame,vt(0,0,0),0.25,MAINRUINCOLOR)
  3626. sphere(5,"Add",root.CFrame,vt(0,0,0),12.5,MAINRUINCOLOR)
  3627. CFuncs["Sound"].Create("rbxassetid://1177785010", char, 1, 1)
  3628. local orb = Instance.new("Part", char)
  3629. orb.Anchored = true
  3630. orb.BrickColor = BrickColor.new("Toothpaste")
  3631. orb.CanCollide = false
  3632. orb.FormFactor = 3
  3633. orb.Name = "Remenant"
  3634. orb.Material = "Neon"
  3635. orb.CFrame = root.CFrame*CFrame.new(0,150,0)
  3636. orb.Size = Vector3.new(1, 1, 1)
  3637. orb.Transparency = 1
  3638. orb.TopSurface = 0
  3639. orb.BottomSurface = 0
  3640. hum.WalkSpeed = storehumanoidWS
  3641. coroutine.resume(coroutine.create(function()
  3642. for i = 0, 9 do
  3643. swait(10)
  3644. local lb = Instance.new("Part")
  3645. lb.Color = MAINRUINCOLOR.Color
  3646. lb.CanCollide = false
  3647. lb.Material = "Neon"
  3648. lb.Anchored = true
  3649. lb.TopSurface = 0
  3650. lb.BottomSurface = 0
  3651. lb.Transparency = 0
  3652. lb.Size = vt(1,1,1)
  3653. lb.CFrame = orb.CFrame*CFrame.new(math.random(-150,150),0,math.random(-150,150))*CFrame.Angles(math.rad(-90 + math.random(-15,15)),0,math.rad(math.random(-15,15)))
  3654. lb.Anchored = false
  3655. lb.Parent = char
  3656. local thingery = Instance.new("SpecialMesh",lb)
  3657. thingery.MeshType = "Sphere"
  3658. thingery.Scale = vt(20,20,20)
  3659. game:GetService("Debris"):AddItem(lb, 10)
  3660. local bv = Instance.new("BodyVelocity")
  3661. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  3662. bv.velocity = lb.CFrame.lookVector*math.random(75,250)
  3663. bv.Parent = lb
  3664. sphere(2.5,"Add",lb.CFrame,vt(50,50,0),0.25,MAINRUINCOLOR)
  3665. sphere(5,"Add",lb.CFrame,vt(50,50,0),0.5,MAINRUINCOLOR)
  3666. CFuncs["Sound"].Create("rbxassetid://633627961",lb, 5, 1)
  3667. CFuncs["Sound"].Create("rbxassetid://1002081188", lb, 5, 1)
  3668. CFuncs["Sound"].Create("rbxassetid://741272936", lb, 5, 1)
  3669. CFuncs["Sound"].Create("rbxassetid://1192402877", lb, 5, 1)
  3670. local hitted = false
  3671. coroutine.resume(coroutine.create(function()
  3672. while true do
  3673. swait(1)
  3674. if lb.Parent ~= nil and hitted == false then
  3675. PixelBlockNeg(5,math.random(1,2),"Add",lb.CFrame*CFrame.Angles(math.rad(math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),10,10,10,0.1,MAINRUINCOLOR,-2)
  3676. elseif lb.Parent == nil then
  3677. break
  3678. end
  3679. end
  3680. end))
  3681.  
  3682. game:GetService("Debris"):AddItem(a, 0.1)
  3683.  
  3684. coroutine.resume(coroutine.create(function()
  3685. swait(1)
  3686. lb.Touched:connect(function(hit)
  3687. if hitted == false then
  3688. hitted = true
  3689. lb.Transparency = 1
  3690. lb.Anchored = true
  3691. CFuncs["Sound"].Create("rbxassetid://1177785010", lb, 5, 1)
  3692. CFuncs["Sound"].Create("rbxassetid://192410089", lb, 5, 0.7)
  3693. CFuncs["Sound"].Create("rbxassetid://579687077", lb, 2.5, 0.75)
  3694. CFuncs["Sound"].Create("rbxassetid://1060191237", lb, 3, 0.75)
  3695. CFuncs["Sound"].Create("rbxassetid://164881112", lb, 5, 1)
  3696. CFuncs["Sound"].Create("rbxassetid://429123896", lb, 3.5, 0.85)
  3697. MagniDamage(lb, 45, 45,85, 0, "Normal")
  3698. CameraEnshaking(1,5)
  3699. sphere(8,"Add",lb.CFrame,vt(20,20,20),1,MAINRUINCOLOR)
  3700. sphere(16,"Add",lb.CFrame,vt(20,20,20),2,MAINRUINCOLOR)
  3701. for i = 0, 9 do
  3702. sphereMK(1,math.random(1,3),"Add",lb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),5,5,50,-0.1,MAINRUINCOLOR,0)
  3703. end
  3704. for i = 0, 49 do
  3705. swait()
  3706. MagniDamage(lb, 30, 2,4, 0, "Normal")
  3707. PixelBlock(4,math.random(1,30),"Add",lb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),16,16,16,0.16,MAINRUINCOLOR,0)
  3708. end
  3709. end
  3710. end)
  3711. end))
  3712. end
  3713. Overed = true
  3714. orb:Destroy()
  3715. end))
  3716.  
  3717. attack = false
  3718. end
  3719.  
  3720. function StarfallEX()
  3721. attack = true
  3722. hum.WalkSpeed = 0
  3723. CFuncs["Sound"].Create("rbxassetid://136007472", root, 5, 1)
  3724. for i = 0, 5, 0.1 do
  3725. swait()
  3726. PixelBlockNeg(1,math.random(1,2),"Add",sorb.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,MAINRUINCOLOR,0)
  3727. PixelBlockNeg(1,math.random(1,2),"Add",sorb2.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,MAINRUINCOLOR,0)
  3728. RH.C0=clerp(RH.C0,cf(1,-0.25,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-10)),.1)
  3729. 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(10)),.1)
  3730. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1.5 + 0.1 * math.cos(sine / 28))*angles(math.rad(-5 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(0)),.1)
  3731. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-10),math.rad(0),math.rad(0)),.1)
  3732. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(130),math.rad(0),math.rad(70 + 2.5 * math.cos(sine / 28))),.1)
  3733. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(130),math.rad(0),math.rad(-70 - 2.5 * math.cos(sine / 28))),.1)
  3734. end
  3735. local Overed = false
  3736. CameraEnshaking(2,20)
  3737. sphere(1.5,"Add",sorb.CFrame,vt(0,0,0),0.25,MAINRUINCOLOR)
  3738. sphere(1.5,"Add",sorb2.CFrame,vt(0,0,0),0.25,MAINRUINCOLOR)
  3739. sphere(5,"Add",root.CFrame,vt(0,0,0),12.5,MAINRUINCOLOR)
  3740. CFuncs["Sound"].Create("rbxassetid://1177785010", char, 1, 1)
  3741. local orb = Instance.new("Part", char)
  3742. orb.Anchored = true
  3743. orb.BrickColor = BrickColor.new("Toothpaste")
  3744. orb.CanCollide = false
  3745. orb.FormFactor = 3
  3746. orb.Name = "Remenant"
  3747. orb.Material = "Neon"
  3748. orb.CFrame = root.CFrame*CFrame.new(0,150,0)
  3749. orb.Size = Vector3.new(1, 1, 1)
  3750. orb.Transparency = 1
  3751. orb.TopSurface = 0
  3752. orb.BottomSurface = 0
  3753. hum.WalkSpeed = storehumanoidWS
  3754. coroutine.resume(coroutine.create(function()
  3755. for i = 1, 5 do
  3756. swait(10)
  3757. local lb = Instance.new("Part")
  3758. lb.Color = MAINRUINCOLOR.Color
  3759. lb.CanCollide = false
  3760. lb.Material = "Neon"
  3761. lb.Anchored = true
  3762. lb.TopSurface = 0
  3763. lb.BottomSurface = 0
  3764. lb.Transparency = 0
  3765. lb.Size = vt(1,1,1)
  3766. lb.CFrame = orb.CFrame*CFrame.new(math.random(-75,75),0,math.random(-75,75))*CFrame.Angles(math.rad(-90 + math.random(-15,15)),0,math.rad(math.random(-15,15)))
  3767. lb.Anchored = false
  3768. lb.Parent = char
  3769. local thingery = Instance.new("SpecialMesh",lb)
  3770. thingery.MeshType = "Sphere"
  3771. thingery.Scale = vt(20,20,20)
  3772. game:GetService("Debris"):AddItem(lb, 10)
  3773. local bv = Instance.new("BodyVelocity")
  3774. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  3775. bv.velocity = lb.CFrame.lookVector*math.random(75,250)
  3776. bv.Parent = lb
  3777. sphere(2.5,"Add",lb.CFrame,vt(50,50,0),0.25,MAINRUINCOLOR)
  3778. sphere(5,"Add",lb.CFrame,vt(50,50,0),0.5,MAINRUINCOLOR)
  3779. CFuncs["Sound"].Create("rbxassetid://633627961",lb, 5, 1)
  3780. CFuncs["Sound"].Create("rbxassetid://1002081188", lb, 5, 1)
  3781. CFuncs["Sound"].Create("rbxassetid://741272936", lb, 5, 1)
  3782. CFuncs["Sound"].Create("rbxassetid://1192402877", lb, 5, 1)
  3783. local hitted = false
  3784. coroutine.resume(coroutine.create(function()
  3785. while true do
  3786. swait(1)
  3787. if lb.Parent ~= nil and hitted == false then
  3788. PixelBlockNeg(5,math.random(1,2),"Add",lb.CFrame*CFrame.Angles(math.rad(math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),10,10,10,0.1,MAINRUINCOLOR,-2)
  3789. elseif lb.Parent == nil then
  3790. break
  3791. end
  3792. end
  3793. end))
  3794.  
  3795. game:GetService("Debris"):AddItem(a, 0.1)
  3796.  
  3797. coroutine.resume(coroutine.create(function()
  3798. swait(5)
  3799. lb.Touched:connect(function(hit)
  3800. if hitted == false and not hit:IsDescendantOf(Character) then
  3801. hitted = true
  3802. lb.Transparency = 1
  3803. lb.Anchored = true
  3804. CFuncs["Sound"].Create("rbxassetid://1177785010", lb, 5, 1)
  3805. CFuncs["Sound"].Create("rbxassetid://192410089", lb, 5, 0.7)
  3806. CFuncs["Sound"].Create("rbxassetid://579687077", lb, 2.5, 0.75)
  3807. CFuncs["Sound"].Create("rbxassetid://1060191237", lb, 3, 0.75)
  3808. CFuncs["Sound"].Create("rbxassetid://164881112", lb, 5, 1)
  3809. CFuncs["Sound"].Create("rbxassetid://429123896", lb, 3.5, 0.85)
  3810. MagniDamage(lb, 45, 90,170, 0, "Normal")
  3811. CameraEnshaking(1,5)
  3812. sphere(8,"Add",lb.CFrame,vt(20,20,20),1,MAINRUINCOLOR)
  3813. sphere(16,"Add",lb.CFrame,vt(20,20,20),2,MAINRUINCOLOR)
  3814. for i = 0, 9 do
  3815. sphereMK(1,math.random(1,3),"Add",lb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),5,5,50,-0.1,MAINRUINCOLOR,0)
  3816. end
  3817. for i = 0, 49 do
  3818. swait()
  3819. MagniDamage(lb, 60, 20,40, 0, "Normal")
  3820. PixelBlock(4,math.random(1,30),"Add",lb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),16,16,16,0.16,MAINRUINCOLOR,0)
  3821. end
  3822. end
  3823. end)
  3824. end))
  3825. end
  3826. Overed = true
  3827. orb:Destroy()
  3828. end))
  3829.  
  3830. attack = false
  3831. end
  3832.  
  3833.  
  3834. function StarDivision()
  3835. attack = true
  3836. CFuncs["Sound"].Create("rbxassetid://136007472", root, 2, 1.5)
  3837. for i = 0, 2, 0.1 do
  3838. swait()
  3839. PixelBlockNeg(1,math.random(1,2),"Add",sorb.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,MAINRUINCOLOR,0)
  3840. RH.C0=clerp(RH.C0,cf(1,-0.25,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-10)),.6)
  3841. 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(10)),.6)
  3842. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1.5 + 0.1 * math.cos(sine / 28))*angles(math.rad(0 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(90)),.6)
  3843. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10),math.rad(0),math.rad(-90)),.6)
  3844. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(90)), 0.6)
  3845. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(10), math.rad(0), math.rad(-20)), 0.6)
  3846. end
  3847. local orb = Instance.new("Part", char)
  3848. orb.BrickColor = MAINRUINCOLOR
  3849. orb.CanCollide = false
  3850. orb.FormFactor = 3
  3851. orb.Name = "Ring"
  3852. orb.Material = "Neon"
  3853. orb.Size = Vector3.new(1, 1, 1)
  3854. orb.Transparency = 0
  3855. orb.TopSurface = 0
  3856. orb.BottomSurface = 0
  3857. local orbm = Instance.new("SpecialMesh", orb)
  3858. orbm.MeshType = "Sphere"
  3859. orbm.Name = "SizeMesh"
  3860. orbm.Scale = vt(2,2,2)
  3861. local a = Instance.new("Part",workspace)
  3862. a.Name = "Direction"
  3863. a.Anchored = true
  3864. a.BrickColor = bc("Bright red")
  3865. a.Material = "Neon"
  3866. a.Transparency = 1
  3867. a.CanCollide = false
  3868. local ray = Ray.new(
  3869. sorb.CFrame.p, -- origin
  3870. (mouse.Hit.p - sorb.CFrame.p).unit * 500 -- direction
  3871. )
  3872. local ignore = sorb
  3873. local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  3874. a.BottomSurface = 10
  3875. a.TopSurface = 10
  3876. local distance = (sorb.CFrame.p - position).magnitude
  3877. a.Size = Vector3.new(0.1, 0.1, 0.1)
  3878. a.CFrame = CFrame.new(sorb.CFrame.p, position) * CFrame.new(0, 0, 0)
  3879. orb.CFrame = a.CFrame
  3880. a:Destroy()
  3881. local bv = Instance.new("BodyVelocity")
  3882. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  3883. bv.velocity = orb.CFrame.lookVector*100
  3884. bv.Parent = orb
  3885. local hitted = false
  3886. game:GetService("Debris"):AddItem(orb, 10)
  3887. CFuncs["Sound"].Create("rbxassetid://376970418",orb, 1.5, 1.15)
  3888. CFuncs["Sound"].Create("rbxassetid://633627961",orb, 1, 1.15)
  3889. CFuncs["Sound"].Create("rbxassetid://1002081188", orb, 1, 1.15)
  3890. CFuncs["Sound"].Create("rbxassetid://741272936", orb, 1, 1.15)
  3891. CFuncs["Sound"].Create("rbxassetid://1192402877", orb, 1, 1.15)
  3892. coroutine.resume(coroutine.create(function()
  3893. while true do
  3894. swait(1)
  3895. if orb.Parent ~= nil and hitted == false then
  3896. PixelBlockNeg(1,math.random(1,2),"Add",orb.CFrame*CFrame.Angles(math.rad(math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),1,1,1,0.02,MAINRUINCOLOR,-2)
  3897. elseif orb.Parent == nil then
  3898. break
  3899. end
  3900. end
  3901. end))
  3902. coroutine.resume(coroutine.create(function()
  3903. swait(1)
  3904. orb.Touched:connect(function(hit)
  3905. if hitted == false then
  3906. hitted = true
  3907. game:GetService("Debris"):AddItem(orb, 5)
  3908. orb.Transparency = 1
  3909. orb.Anchored = true
  3910. local elocacenter = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  3911. elocacenter.Anchored = true
  3912. elocacenter.CFrame = orb.CFrame
  3913. elocacenter.Orientation = vt(0,0,0)
  3914. local eloca1 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  3915. eloca1.Anchored = true
  3916. eloca1.CFrame = elocacenter.CFrame
  3917. local eloca2 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  3918. eloca2.Anchored = true
  3919. eloca2.CFrame = elocacenter.CFrame
  3920. local eloca3 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  3921. eloca3.Anchored = true
  3922. eloca3.CFrame = elocacenter.CFrame
  3923. local eloca4 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  3924. eloca4.Anchored = true
  3925. eloca4.CFrame = elocacenter.CFrame
  3926. local lookavec = 0
  3927. local speeds = 0
  3928. CameraEnshaking(1,1)
  3929. CFuncs["Sound"].Create("rbxassetid://419447292", elocacenter, 10,1)
  3930. sphere(1,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  3931. sphere(2,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  3932. sphere(3,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  3933. sphere(4,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  3934. sphere(5,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  3935. for i = 0, 99 do
  3936. swait()
  3937. lookavec = lookavec + 1
  3938. speeds = speeds + 0.1
  3939. elocacenter.CFrame = elocacenter.CFrame*CFrame.Angles(0,math.rad(speeds),0)
  3940. eloca1.CFrame = elocacenter.CFrame*CFrame.new(lookavec,0,0)
  3941. PixelBlockNeg(2,math.random(1,2),"Add",eloca1.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),5,5,5,0.05,MAINRUINCOLOR,-2)
  3942.  
  3943. eloca2.CFrame = elocacenter.CFrame*CFrame.new(-lookavec,0,0)
  3944. PixelBlockNeg(2,math.random(1,2),"Add",eloca2.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),5,5,5,0.05,MAINRUINCOLOR,-2)
  3945.  
  3946. eloca3.CFrame = elocacenter.CFrame*CFrame.new(0,0,lookavec)
  3947. PixelBlockNeg(2,math.random(1,2),"Add",eloca3.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),5,5,5,0.05,MAINRUINCOLOR,-2)
  3948.  
  3949. eloca4.CFrame = elocacenter.CFrame*CFrame.new(0,0,-lookavec)
  3950. PixelBlockNeg(2,math.random(1,2),"Add",eloca4.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),5,5,5,0.05,MAINRUINCOLOR,-2)
  3951. end
  3952.  
  3953. for i = 0, 149 do
  3954. swait()
  3955. speeds = speeds + 0.1
  3956. elocacenter.CFrame = elocacenter.CFrame*CFrame.Angles(0,math.rad(speeds),0)
  3957. eloca1.CFrame = elocacenter.CFrame*CFrame.new(lookavec,0,0)
  3958. PixelBlockNeg(2,math.random(1,2),"Add",eloca1.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),5,5,5,0.05,MAINRUINCOLOR,-2)
  3959.  
  3960. eloca2.CFrame = elocacenter.CFrame*CFrame.new(-lookavec,0,0)
  3961. PixelBlockNeg(2,math.random(1,2),"Add",eloca2.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),5,5,5,0.05,MAINRUINCOLOR,-2)
  3962.  
  3963. eloca3.CFrame = elocacenter.CFrame*CFrame.new(0,0,lookavec)
  3964. PixelBlockNeg(2,math.random(1,2),"Add",eloca3.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),5,5,5,0.05,MAINRUINCOLOR,-2)
  3965.  
  3966. eloca4.CFrame = elocacenter.CFrame*CFrame.new(0,0,-lookavec)
  3967. PixelBlockNeg(2,math.random(1,2),"Add",eloca4.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),5,5,5,0.05,MAINRUINCOLOR,-2)
  3968. end
  3969. for i, v in pairs(FindNearestHead(elocacenter.CFrame.p, 125)) do
  3970. if v:FindFirstChild('Head') then
  3971. dmg(v)
  3972. end
  3973. end
  3974. CameraEnshaking(7,30)
  3975. MagniDamage(elocacenter, 225, 50,75, 0, "Normal")
  3976. CFuncs["Sound"].Create("rbxassetid://468991944", char, 4, 1)
  3977. CFuncs["Sound"].Create("rbxassetid://533636230", char, 5, 0.75)
  3978. CFuncs["Sound"].Create("rbxassetid://419447292", char, 1,1)
  3979. CFuncs["Sound"].Create("rbxassetid://421328847", char, 1,1)
  3980. sphere(1,"Add",elocacenter.CFrame,vt(125,90000,125),-0.25,MAINRUINCOLOR)
  3981. sphere(1,"Add",elocacenter.CFrame,vt(125,90000,125),0.5,MAINRUINCOLOR)
  3982. sphere(1,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  3983. sphere(2,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  3984. sphere(3,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  3985. sphere(4,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  3986. sphere(5,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  3987. for i = 0, 24 do
  3988. sphereMK(1,2,"Add",elocacenter.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),25,25,100,-0.5,MAINRUINCOLOR,0)
  3989. sphereMK(2,4,"Add",elocacenter.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),25,25,75,-0.25,MAINRUINCOLOR,0)
  3990. sphereMK(3,6,"Add",elocacenter.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),25,25,50,-0.25,MAINRUINCOLOR,0)
  3991. sphereMK(4,8,"Add",elocacenter.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),25,25,25,-0.25,MAINRUINCOLOR,0)
  3992. end
  3993. coroutine.resume(coroutine.create(function()
  3994. for i = 0, 499 do
  3995. swait(1)
  3996. MagniDamage(elocacenter, 90, 1,5, 0, "Normal")
  3997. PixelBlockNeg(2,math.random(1,10),"Add",elocacenter.CFrame*CFrame.new(math.random(-75,75),0,math.random(-75,75))*CFrame.Angles(math.rad(90 + math.random(-30,30)),math.rad(math.random(-30,30)),math.rad(math.random(-30,30))),15,15,15,0.15,MAINRUINCOLOR,-5)
  3998. end
  3999. elocacenter:Destroy()
  4000. eloca1:Destroy()
  4001. eloca2:Destroy()
  4002. eloca3:Destroy()
  4003. eloca4:Destroy()
  4004. end))
  4005. end
  4006. end)
  4007. end))
  4008. attack = false
  4009. end
  4010.  
  4011.  
  4012. function UniversalCollapse()
  4013. attack = true
  4014. local speedearn = 0
  4015. hum.WalkSpeed = 0
  4016. CFuncs["Sound"].Create("rbxassetid://1208650519", char, 10, 1)
  4017. for i = 0, 10, 0.1 do
  4018. swait()
  4019. speedearn = speedearn + 0.1
  4020. sphereMK(1+speedearn,speedearn,"Add",tors.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),5,5,10*speedearn,-0.05,MAINRUINCOLOR,0)
  4021. sphereMK(1+speedearn,speedearn,"Add",tors.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),5,5,10*speedearn,-0.05,MAINRUINCOLOR,0)
  4022. sphereMK(1+speedearn,speedearn,"Add",tors.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),5,5,10*speedearn,-0.05,MAINRUINCOLOR,0)
  4023. sphereMK(1+speedearn,speedearn,"Add",tors.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),5,5,10*speedearn,-0.05,MAINRUINCOLOR,0)
  4024. sphereMK(1+speedearn,speedearn,"Add",tors.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),5,5,10*speedearn,-0.05,MAINRUINCOLOR,0)
  4025. RH.C0=clerp(RH.C0,cf(1,-0.05,-0.75)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-30)),.1)
  4026. LH.C0=clerp(LH.C0,cf(-1,-0.5,-0.25)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(30)),.1)
  4027. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1.5 + 0.1 * math.cos(sine / 28))*angles(math.rad(20 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(0)),.1)
  4028. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(55),math.rad(0),math.rad(0)),.1)
  4029. RW.C0=clerp(RW.C0,cf(0.75,0.5,-0.25)*angles(math.rad(140),math.rad(0),math.rad(-20 + 2.5 * math.cos(sine / 28))),.1)
  4030. LW.C0=clerp(LW.C0,cf(-0.75,0.5,-0.25)*angles(math.rad(140),math.rad(0),math.rad(20 - 2.5 * math.cos(sine / 28))),.1)
  4031. end
  4032. CameraEnshaking(5,45)
  4033. sphere(5,"Add",root.CFrame,vt(0,0,0),25,MAINRUINCOLOR)
  4034. CFuncs["Sound"].Create("rbxassetid://1177785010", char, 10, 1)
  4035. for i, v in pairs(FindNearestHead(Torso.CFrame.p, 1234567890)) do
  4036. if v:FindFirstChild('Head') then
  4037. dmg(v)
  4038. end
  4039. end
  4040. hum.WalkSpeed = storehumanoidWS
  4041. attack = false
  4042. end
  4043. function ChaosBegone()
  4044. attack = true
  4045. local speedearn = 0
  4046. CFuncs["Sound"].Create("rbxassetid://1208650519", char, 10, 0.75)
  4047. for i = 0, 10, 0.1 do
  4048. swait()
  4049. speedearn = speedearn + 0.1
  4050. sphereMK(1+speedearn,speedearn,"Add",tors.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),5,5,10*speedearn,-0.05,MAINRUINCOLOR,0)
  4051. sphereMK(1+speedearn,speedearn,"Add",tors.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),5,5,10*speedearn,-0.05,MAINRUINCOLOR,0)
  4052. sphereMK(1+speedearn,speedearn,"Add",tors.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),5,5,10*speedearn,-0.05,MAINRUINCOLOR,0)
  4053. sphereMK(1+speedearn,speedearn,"Add",tors.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),5,5,10*speedearn,-0.05,MAINRUINCOLOR,0)
  4054. sphereMK(1+speedearn,speedearn,"Add",tors.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),5,5,10*speedearn,-0.05,MAINRUINCOLOR,0)
  4055. RH.C0=clerp(RH.C0,cf(1,-0.25,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(20)),.2)
  4056. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(20)),.2)
  4057. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(-20),math.rad(0),math.rad(0)),.2)
  4058. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.2)
  4059. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(140),math.rad(0),math.rad(-20)),.2)
  4060. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(140),math.rad(0),math.rad(20)),.2)
  4061. end
  4062. CFuncs["Sound"].Create("rbxassetid://438666141", char, 7.5,1)
  4063. CFuncs["Sound"].Create("rbxassetid://1208650519", char, 7.5, 1)
  4064. CameraEnshaking(5,25)
  4065. for i, v in pairs(FindNearestHead(Torso.CFrame.p, 1234567890)) do
  4066. if v:FindFirstChild('Head') then
  4067. dmg(v)
  4068. end
  4069. end
  4070. sphere(5,"Add",root.CFrame*CFrame.new(0,-2.9,0),vt(0,0,0),1*1000,BrickColor.random())
  4071. sphere(10,"Add",root.CFrame*CFrame.new(0,-2.9,0),vt(0,0,0),2*1000,BrickColor.random())
  4072. sphere(1,"Add",root.CFrame*CFrame.new(0,-2.9,0),vt(100*1000,0.1,100*1000),0.01,BrickColor.random())
  4073. for i = 0, 3, 0.1 do
  4074. swait()
  4075. sphereMK(2.5,0.75,"Add",root.CFrame*CFrame.new(math.random(-52.5*10,52.5*10),-5,math.random(-52.5*10,52.5*10))*CFrame.Angles(math.rad(90 + math.rad(math.random(-45,45))),math.rad(math.random(-45,45)),math.rad(math.random(-45,45))),2.5,2.5,25,-0.025,BrickColor.random(),0)
  4076. sphereMK(2.5,0.75,"Add",root.CFrame*CFrame.new(math.random(-52.5*10,52.5*10),-5,math.random(-52.5*10,52.5*10))*CFrame.Angles(math.rad(90 + math.rad(math.random(-45,45))),math.rad(math.random(-45,45)),math.rad(math.random(-45,45))),2.5,2.5,25,-0.025,BrickColor.random(),0)
  4077. sphereMK(2.5,0.75,"Add",root.CFrame*CFrame.new(math.random(-52.5*10,52.5*10),-5,math.random(-52.5*10,52.5*10))*CFrame.Angles(math.rad(90 + math.rad(math.random(-45,45))),math.rad(math.random(-45,45)),math.rad(math.random(-45,45))),2.5,2.5,25,-0.025,BrickColor.random(),0)
  4078. sphereMK(2.5,0.75,"Add",root.CFrame*CFrame.new(math.random(-52.5*10,52.5*10),-5,math.random(-52.5*10,52.5*10))*CFrame.Angles(math.rad(90 + math.rad(math.random(-45,45))),math.rad(math.random(-45,45)),math.rad(math.random(-45,45))),2.5,2.5,25,-0.025,BrickColor.random(),0)
  4079. RH.C0=clerp(RH.C0,cf(1,-1,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(10)),.4)
  4080. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(10)),.4)
  4081. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(10),math.rad(0),math.rad(0)),.4)
  4082. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10),math.rad(0),math.rad(0)),.4)
  4083. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-50),math.rad(0),math.rad(30)),.4)
  4084. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-50),math.rad(0),math.rad(-30)),.4)
  4085. end
  4086. attack = false
  4087. end
  4088.  
  4089. function orb_spawn_norm(positted,timer,color,MagniBoost,min,max,volEx,ShakePower,volSummon)
  4090. local orb = Instance.new("Part", char)
  4091. orb.Anchored = true
  4092. orb.BrickColor = color
  4093. orb.CanCollide = false
  4094. orb.FormFactor = 3
  4095. orb.Name = "Ring"
  4096. orb.Material = "Neon"
  4097. orb.Size = Vector3.new(1, 1, 1)
  4098. orb.Transparency = 0
  4099. orb.TopSurface = 0
  4100. orb.BottomSurface = 0
  4101. local orbm = Instance.new("SpecialMesh", orb)
  4102. orbm.MeshType = "Sphere"
  4103. orb.CFrame = positted
  4104. orbm.Name = "SizeMesh"
  4105. orbm.Scale = vt(1,1,1)
  4106. coroutine.wrap(function()
  4107. while orb and orb.Parent do
  4108. if glitchymode then
  4109. local val = math.random(1,255)
  4110. local color = Color3.fromRGB(val,val,val)
  4111. orb.Color = color
  4112. end
  4113. swait()
  4114. end
  4115. end)()
  4116. CFuncs["Sound"].Create("rbxassetid://183763506", orb, volSummon, 1)
  4117. sphere(2.5,"Add",orb.CFrame,vt(1,1,1),0.05,orb.BrickColor)
  4118. --[[for i = 0, 2 do
  4119. sphereMK(5,0.15,"Add",orb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),1.5,1.5,7.5,-0.015,orb.BrickColor,0)
  4120. end]]--
  4121. coroutine.resume(coroutine.create(function()
  4122. wait(timer)
  4123. CameraEnshaking(3,ShakePower)
  4124. orb.Transparency = 1
  4125. MagniDamage(orb, 3.5*MagniBoost, min,max, 0, "Normal")
  4126. sphere(5,"Add",orb.CFrame,vt(1,1,1),0.1*MagniBoost,orb.BrickColor)
  4127. --[[for i = 0, 4 do
  4128. sphereMK(5,0.15*MagniBoost,"Add",orb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),2.5,2.5,15,-0.025,orb.BrickColor,0)
  4129. end]]--
  4130. CFuncs["Sound"].Create("rbxassetid://192410089", orb, volEx, 0.7)
  4131. wait(3)
  4132. orb:Destroy()
  4133. end))
  4134. end
  4135.  
  4136. function orb_spawn(positted,timer)
  4137. local orb = Instance.new("Part", char)
  4138. orb.Anchored = true
  4139. orb.BrickColor = BrickColor.new("White")
  4140.  
  4141. orb.CanCollide = false
  4142. orb.FormFactor = 3
  4143. orb.Name = "Ring"
  4144. orb.Material = "Neon"
  4145. orb.Size = Vector3.new(1, 1, 1)
  4146. orb.Transparency = 0
  4147. orb.TopSurface = 0
  4148. orb.BottomSurface = 0
  4149. local orbm = Instance.new("SpecialMesh", orb)
  4150. orbm.MeshType = "Sphere"
  4151. orb.CFrame = positted
  4152. orbm.Name = "SizeMesh"
  4153. orbm.Scale = vt(1,1,1)
  4154. CFuncs["Sound"].Create("rbxassetid://183763506", orb, 1.5, 1)
  4155. sphere(2.5,"Add",orb.CFrame,vt(1,1,1),0.025,orb.BrickColor)
  4156. coroutine.wrap(function()
  4157. while orb and orb.Parent do
  4158. if glitchymode then
  4159. local val = math.random(1,255)
  4160. local color = Color3.fromRGB(val,val,val)
  4161. orb.Color = color
  4162. end
  4163. swait()
  4164. end
  4165. end)()
  4166. for i = 0, 2 do
  4167. sphereMK(5,0.15,"Add",orb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),1.5,1.5,7.5,-0.015,orb.BrickColor,0)
  4168. end
  4169.  
  4170. coroutine.resume(coroutine.create(function()
  4171. wait(timer)
  4172. CameraEnshaking(3,2)
  4173. orb.Transparency = 1
  4174. MagniDamage(orb, 17.5, 10,50, 0, "Normal")
  4175. sphere(5,"Add",orb.CFrame,vt(1,1,1),0.5,orb.BrickColor)
  4176. for i = 0, 4 do
  4177. sphereMK(5,0.65,"Add",orb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),2.5,2.5,15,-0.025,orb.BrickColor,0)
  4178. end
  4179. CFuncs["Sound"].Create("rbxassetid://192410089", orb, 2, 0.7)
  4180. wait(3)
  4181. orb:Destroy()
  4182. end))
  4183. end
  4184.  
  4185. function scattercorrupt()
  4186. attack = true
  4187. local rot = 0
  4188. local randomrotations = math.random(1,2)
  4189. local lookv = 2.5
  4190. local power = 5
  4191. sphere(1,"Add",root.CFrame,vt(1,100000,1),0.5,BrickColor.new("Royal purple"))
  4192. sphere(1,"Add",root.CFrame,vt(1,1,1),0.75,BrickColor.new("Royal purple"))
  4193. for i = 0, 9 do
  4194. sphereMK(1,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))),10,10,45,-0.1,BrickColor.new("Royal purple"),0)
  4195. end
  4196. CFuncs["Sound"].Create("rbxassetid://180204650", char, 2.5, 0.6)
  4197. CFuncs["Sound"].Create("rbxassetid://233856079", char, 1, 0.5)
  4198. CFuncs["Sound"].Create("rbxassetid://1208650519", char, 2.5, 1)
  4199. CFuncs["Sound"].Create("rbxassetid://239000203", char, 0.5,0.75)
  4200. CFuncs["Sound"].Create("rbxassetid://579687077", char, 0.5,0.5)
  4201. local hite = Instance.new("Part", char)
  4202. hite.Anchored = true
  4203. hite.CanCollide = false
  4204. hite.FormFactor = 3
  4205. hite.Name = "Ring"
  4206. hite.Material = "Neon"
  4207. hite.Size = Vector3.new(1, 1, 1)
  4208. hite.Transparency = 1
  4209. hite.TopSurface = 0
  4210. hite.BottomSurface = 0
  4211. hite.CFrame = root.CFrame*CFrame.new(0,-2.5,0)
  4212. local rem = Instance.new("Part", char)
  4213. rem.Anchored = true
  4214. rem.CanCollide = false
  4215. rem.FormFactor = 3
  4216. rem.Name = "Ring"
  4217. rem.Material = "Neon"
  4218. rem.Size = Vector3.new(1, 1, 1)
  4219. rem.Transparency = 1
  4220. rem.TopSurface = 0
  4221. rem.BottomSurface = 0
  4222. rem.CFrame = hite.CFrame
  4223. local rem2 = rem:Clone()
  4224. rem2.Parent = char
  4225. rem2.CFrame = rem.CFrame*CFrame.Angles(0,math.rad(90),0)
  4226. local rem3 = rem:Clone()
  4227. rem3.Parent = char
  4228. rem3.CFrame = rem.CFrame*CFrame.Angles(0,math.rad(180),0)
  4229. local rem4 = rem:Clone()
  4230. rem4.Parent = char
  4231. rem4.CFrame = rem.CFrame*CFrame.Angles(0,math.rad(270),0)
  4232. hite:Destroy()
  4233. coroutine.resume(coroutine.create(function()
  4234. for i = 0, 24 do
  4235. swait(1)
  4236. if randomrotations == 1 then
  4237. rot = rot + 1
  4238. elseif randomrotations == 2 then
  4239. rot = rot - 1
  4240. end
  4241. power = power + 0.5
  4242. lookv = lookv + 7.5
  4243. rem.CFrame = rem.CFrame*CFrame.Angles(0,math.rad(rot),0)
  4244. rem2.CFrame = rem.CFrame*CFrame.Angles(0,math.rad(90),0)
  4245. rem3.CFrame = rem.CFrame*CFrame.Angles(0,math.rad(180),0)
  4246. rem4.CFrame = rem.CFrame*CFrame.Angles(0,math.rad(270),0)
  4247. orb_spawn_norm(rem.CFrame + rem.CFrame.lookVector*lookv,3,BrickColor.new("Royal purple"),power,25,75,10,power/5,7.5)
  4248. orb_spawn_norm(rem2.CFrame + rem2.CFrame.lookVector*lookv,3,BrickColor.new("Royal purple"),power,25,75,10,power/5,7.5)
  4249. orb_spawn_norm(rem3.CFrame + rem3.CFrame.lookVector*lookv,3,BrickColor.new("Royal purple"),power,25,75,10,power/5,7.5)
  4250. orb_spawn_norm(rem4.CFrame + rem4.CFrame.lookVector*lookv,3,BrickColor.new("Royal purple"),power,25,75,10,power/5,7.5)
  4251. end
  4252. end))
  4253. attack = false
  4254. end
  4255. function yinyangi()
  4256. attack = true
  4257. for i = 0, 2, 0.1 do
  4258. swait()
  4259. RH.C0=clerp(RH.C0,cf(1,-0.25,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-20)),.2)
  4260. 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(20)),.2)
  4261. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.5,0.5 + 0.1 * math.cos(sine / 28))*angles(math.rad(75),math.rad(0),math.rad(0)),.2)
  4262. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.2)
  4263. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(90)),.2)
  4264. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),.2)
  4265. end
  4266. local bv = Instance.new("BodyVelocity")
  4267. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  4268. bv.velocity = root.CFrame.lookVector*175
  4269. bv.Parent = root
  4270. for Rotations = 0, 9 do
  4271.  
  4272. for i = 0, 1, 0.5 do
  4273. swait()
  4274. bv.velocity = root.CFrame.lookVector*175
  4275. RH.C0=clerp(RH.C0,cf(1,-0.25,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-20)),.5)
  4276. 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(20)),.5)
  4277. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.5,0.5 + 0.1 * math.cos(sine / 28))*angles(math.rad(90),math.rad(0),math.rad(90)),.5)
  4278. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.5)
  4279. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(90)),.5)
  4280. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),.5)
  4281. end
  4282.  
  4283. orb_spawn(rarm.CFrame*CFrame.new(0,-1,0),2.5)
  4284. for i = 0, 1, 0.5 do
  4285. swait()
  4286. bv.velocity = root.CFrame.lookVector*175
  4287. RH.C0=clerp(RH.C0,cf(1,-0.25,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-20)),.5)
  4288. 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(20)),.5)
  4289. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.5,0.5 + 0.1 * math.cos(sine / 28))*angles(math.rad(90),math.rad(0),math.rad(180)),.5)
  4290. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.5)
  4291. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(90)),.5)
  4292. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),.5)
  4293. end
  4294.  
  4295. orb_spawn(rarm.CFrame*CFrame.new(0,-1,0),2.5)
  4296. for i = 0, 1, 0.5 do
  4297. swait()
  4298. bv.velocity = root.CFrame.lookVector*175
  4299. RH.C0=clerp(RH.C0,cf(1,-0.25,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-20)),.5)
  4300. 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(20)),.5)
  4301. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.5,0.5 + 0.1 * math.cos(sine / 28))*angles(math.rad(90),math.rad(0),math.rad(270)),.5)
  4302. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.5)
  4303. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(90)),.5)
  4304. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),.5)
  4305. end
  4306.  
  4307. orb_spawn(rarm.CFrame*CFrame.new(0,-1,0),2.5)
  4308. for i = 0, 1, 0.5 do
  4309. swait()
  4310. bv.velocity = root.CFrame.lookVector*175
  4311. RH.C0=clerp(RH.C0,cf(1,-0.25,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-20)),.5)
  4312. 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(20)),.5)
  4313. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.5,0.5 + 0.1 * math.cos(sine / 28))*angles(math.rad(90),math.rad(0),math.rad(360)),.5)
  4314. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.5)
  4315. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(90)),.5)
  4316. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),.5)
  4317. end
  4318.  
  4319. orb_spawn(rarm.CFrame*CFrame.new(0,-1,0),2.5)
  4320. end
  4321. bv:Destroy()
  4322. attack = false
  4323. end
  4324.  
  4325. function JusticeBeam()
  4326. attack = true
  4327.  
  4328. local rngb = Instance.new("Part", char)
  4329. rngb.Anchored = true
  4330. rngb.BrickColor = origcolor
  4331. rngb.CanCollide = false
  4332. rngb.FormFactor = 3
  4333. rngb.Name = "Ring"
  4334. rngb.Material = "Neon"
  4335. rngb.Size = Vector3.new(1, 0.05, 1)
  4336. rngb.Transparency = 1
  4337. rngb.TopSurface = 0
  4338. rngb.BottomSurface = 0
  4339. local rngmb = Instance.new("SpecialMesh", rngb)
  4340. rngmb.MeshType = "Brick"
  4341. rngmb.Name = "SizeMesh"
  4342. rngmb.Scale = vt(0,1,0)
  4343.  
  4344. local orb = rngb:Clone()
  4345. orb.Parent = char
  4346. orb.Transparency = 0
  4347. orb.BrickColor = BrickColor.new("White")
  4348. orb.Size = vt(1,1,1)
  4349. local orbmish = orb.SizeMesh
  4350. orbmish.Scale = vt(0,0,0)
  4351. orbmish.MeshType = "Sphere"
  4352.  
  4353. local orbe = rngb:Clone()
  4354. orbe.Parent = char
  4355. orbe.Transparency = 0.5
  4356. orbe.BrickColor = BrickColor.new("New Yeller")
  4357. orbe.Size = vt(1,1,1)
  4358. local orbmish2 = orbe.SizeMesh
  4359. orbmish2.Scale = vt(0,0,0)
  4360. orbmish2.MeshType = "Sphere"
  4361. orbe.Color = Color3.new(1,1,1)
  4362.  
  4363. rngb:Destroy()
  4364. --[[CFuncs["Sound"].Create("rbxassetid://136007472", orb, 1.5, 1)
  4365. local scaled = 1
  4366. for i = 0,5,0.1 do
  4367. swait()
  4368. scaled = scaled - 0.02
  4369. if rainbowmode == true then
  4370. orbe.Color = Color3.new(r/255,g/255,b/255)
  4371. end
  4372. orbmish.Scale = orbmish.Scale + vt(scaled/1.5,scaled/1.5,scaled/1.5)
  4373. orbmish2.Scale = orbmish2.Scale + vt(scaled*1.1/1.5,scaled*1.1/1.5,scaled*1.1/1.5)
  4374. orb.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*11.5
  4375. orbe.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*11.5
  4376. sphereMKCharge(2.5,-0.5,"Add",orb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),2.5,2.5,15,-0.025,MAINRUINCOLOR,25)
  4377. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(90)),0.3)
  4378. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(-90)),.3)
  4379. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(90)), 0.3)
  4380. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(10), math.rad(0), math.rad(-20)), 0.3)
  4381. RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-0.5),math.rad(0),math.rad(0)),.3)
  4382. 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(-2.5),math.rad(10),math.rad(0)),.3)
  4383. RootPart.CFrame = FaceMouse()[1]
  4384. end]]--
  4385. for i = 0,5,0.1 do
  4386. swait()
  4387. if rainbowmode == true then
  4388. orbe.Color = Color3.new(r/255,g/255,b/255)
  4389. end
  4390. if glitchymode then
  4391. local val = math.random(1,255)
  4392. local color = Color3.fromRGB(val,val,val)
  4393. orbe.Color = color
  4394. end
  4395. orb.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*11.5
  4396. orbe.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*11.5
  4397. RH.C0=clerp(RH.C0,cf(1,-0.25,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-10)),.1)
  4398. 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(10)),.1)
  4399. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1.5 + 0.1 * math.cos(sine / 28))*angles(math.rad(0 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(0)),.1)
  4400. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(15),math.rad(0),math.rad(0)),.1)
  4401. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(90),0,math.rad(20 + 2.5 * math.cos(sine / 28))),.1)
  4402. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(90),0,math.rad(-20 - 2.5 * math.cos(sine / 28))),.1)
  4403. end
  4404. orbe.Transparency = 1
  4405. orb.Transparency = 1
  4406. orb.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*5
  4407. CFuncs["Sound"].Create("rbxassetid://294188875", char, 1, 1)
  4408. local a2 = Instance.new("Part",Character)
  4409. a2.Name = "Direction"
  4410. a2.Anchored = true
  4411. a2.BrickColor = bc("New Yeller")
  4412. a2.Color = Color3.new(1,1,1)
  4413. a2.Material = "Neon"
  4414. a2.Transparency = 0.5
  4415. a2.Shape = "Cylinder"
  4416. a2.CanCollide = false
  4417. local ba = Instance.new("Part",Character)
  4418. ba.Name = "HitDirect"
  4419. ba.Anchored = true
  4420. ba.BrickColor = bc("Cool yellow")
  4421. ba.Material = "Neon"
  4422. ba.Transparency = 1
  4423. ba.CanCollide = false
  4424. local ray = Ray.new(
  4425. orb.CFrame.p, -- origin
  4426. root.CFrame.lookVector.unit * 1000 -- direction
  4427. )
  4428. local ignore = Character
  4429. local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  4430. a2.Transparency = .75
  4431. a2.BottomSurface = 10
  4432. a2.TopSurface = 10
  4433. local distance = (orb.CFrame.p - position).magnitude
  4434. a2.Size = Vector3.new(distance, 1, 1)
  4435. a2.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
  4436. ba.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance)
  4437. a2.CFrame = a2.CFrame*CFrame.Angles(0,math.rad(90),0)
  4438. game:GetService("Debris"):AddItem(a2, 20)
  4439. game:GetService("Debris"):AddItem(ba, 20)
  4440. local msh2 = Instance.new("SpecialMesh",a2)
  4441. msh2.MeshType = "Cylinder"
  4442. msh2.Scale = vt(1,6*5,6*5)
  4443.  
  4444. local snd = CFuncs.Sound.Create("rbxassetid://294188875", Torso, 10, 1)
  4445. for i = 1, 80*2 do
  4446. RH.C0=clerp(RH.C0,cf(1,-0.25,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-10)),.1)
  4447. 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(10)),.1)
  4448. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1.5 + 0.1 * math.cos(sine / 28))*angles(math.rad(0 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(0)),.1)
  4449. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(15),math.rad(0),math.rad(0)),.1)
  4450. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(90),0,math.rad(20 + 2.5 * math.cos(sine / 28))),.1)
  4451. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(90),0,math.rad(-20 - 2.5 * math.cos(sine / 28))),.1)
  4452. swait()
  4453. CameraEnshaking(1,5)
  4454. a2.Color = Color3.new(1,1,1)
  4455. a2.Transparency = .25
  4456. orb.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*4
  4457. orbe.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*4
  4458. ray = Ray.new(
  4459. orb.CFrame.p, -- origin
  4460. root.CFrame.lookVector.unit * 1000 -- direction
  4461. )
  4462. hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  4463. distance = (orb.CFrame.p - position).magnitude
  4464. if typrot == 1 then
  4465. rotation = rotation + 2.5
  4466. elseif typrot == 2 then
  4467. rotation = rotation - 2.5
  4468. end
  4469. a2.Size = Vector3.new(distance, 1, 1)
  4470. a2.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
  4471. ba.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance)
  4472. a2.CFrame = a2.CFrame*CFrame.Angles(0,math.rad(90),0)
  4473. msh2.Scale = msh2.Scale - vt(0,.19,.19)
  4474. sphereMK(5,1.5,"Add",ba.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),15,15,25,-0.15,MAINRUINCOLOR,0)
  4475. sphereMK(5,1.5,"Add",ba.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),15,15,25,-0.15,MAINRUINCOLOR,0)
  4476. MagniDamage(ba, 30, 5,25, 0, "Normal")
  4477. end
  4478. a2:Destroy()
  4479. ba:Destroy()
  4480. orb:Destroy()
  4481. orbe:Destroy()
  4482. attack = false
  4483. end
  4484.  
  4485. function Wip()
  4486. attack = true
  4487.  
  4488. local rngb = Instance.new("Part", char)
  4489. rngb.Anchored = true
  4490. rngb.BrickColor = origcolor
  4491. rngb.CanCollide = false
  4492. rngb.FormFactor = 3
  4493. rngb.Name = "Ring"
  4494. rngb.Material = "Neon"
  4495. rngb.Size = Vector3.new(1, 0.05, 1)
  4496. rngb.Transparency = 1
  4497. rngb.TopSurface = 0
  4498. rngb.BottomSurface = 0
  4499. local rngmb = Instance.new("SpecialMesh", rngb)
  4500. rngmb.MeshType = "Brick"
  4501. rngmb.Name = "SizeMesh"
  4502. rngmb.Scale = vt(0,1,0)
  4503.  
  4504. local orb = rngb:Clone()
  4505. orb.Parent = char
  4506. orb.Transparency = 0
  4507. orb.BrickColor = BrickColor.new("White")
  4508. orb.Size = vt(1,1,1)
  4509. local orbmish = orb.SizeMesh
  4510. orbmish.Scale = vt(0,0,0)
  4511. orbmish.MeshType = "Sphere"
  4512.  
  4513. local orbe = rngb:Clone()
  4514. orbe.Parent = char
  4515. orbe.Transparency = 0.5
  4516. orbe.BrickColor = BrickColor.new("New Yeller")
  4517. orbe.Size = vt(1,1,1)
  4518. local orbmish2 = orbe.SizeMesh
  4519. orbmish2.Scale = vt(0,0,0)
  4520. orbmish2.MeshType = "Sphere"
  4521. orbe.Color = Color3.new(r/255,g/255,b/255)
  4522.  
  4523. hum.AutoRotate = false
  4524. rngb:Destroy()
  4525. --[[CFuncs["Sound"].Create("rbxassetid://136007472", orb, 1.5, 1)
  4526. local scaled = 1
  4527. for i = 0,5,0.1 do
  4528. swait()
  4529. scaled = scaled - 0.02
  4530. if rainbowmode == true then
  4531. orbe.Color = Color3.new(r/255,g/255,b/255)
  4532. end
  4533. orbmish.Scale = orbmish.Scale + vt(scaled/1.5,scaled/1.5,scaled/1.5)
  4534. orbmish2.Scale = orbmish2.Scale + vt(scaled*1.1/1.5,scaled*1.1/1.5,scaled*1.1/1.5)
  4535. orb.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*11.5
  4536. orbe.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*11.5
  4537. sphereMKCharge(2.5,-0.5,"Add",orb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),2.5,2.5,15,-0.025,MAINRUINCOLOR,25)
  4538. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(90)),0.3)
  4539. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(-90)),.3)
  4540. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(90)), 0.3)
  4541. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(10), math.rad(0), math.rad(-20)), 0.3)
  4542. RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-0.5),math.rad(0),math.rad(0)),.3)
  4543. 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(-2.5),math.rad(10),math.rad(0)),.3)
  4544. RootPart.CFrame = FaceMouse()[1]
  4545. end]]--
  4546. for i = 0,5,0.1 do
  4547. swait()
  4548. if rainbowmode == true then
  4549. orbe.Color = Color3.new(r/255,g/255,b/255)
  4550. end
  4551. if glitchymode then
  4552. local val = math.random(1,255)
  4553. local color = Color3.fromRGB(val,val,val)
  4554. orbe.Color = color
  4555. end
  4556. orb.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*11.5
  4557. orbe.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*11.5
  4558. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(90)),0.3)
  4559. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(-90)),.3)
  4560. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(90)), 0.3)
  4561. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(10), math.rad(0), math.rad(-20)), 0.3)
  4562. RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-0.5),math.rad(0),math.rad(0)),.3)
  4563. 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(-2.5),math.rad(10),math.rad(0)),.3)
  4564. RootPart.CFrame = FaceMouse()[1]
  4565. end
  4566. orbe.Transparency = 1
  4567. orb.Transparency = 1
  4568. orb.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*5
  4569. CFuncs["Sound"].Create("rbxassetid://294188875", char, 1, 1)
  4570. local a = Instance.new("Part",Character)
  4571. a.Name = "Direction"
  4572. a.Anchored = true
  4573. a.BrickColor = bc("White")
  4574. a.Material = "Neon"
  4575. a.Transparency = 0
  4576. a.Shape = "Cylinder"
  4577. a.CanCollide = false
  4578. local a2 = Instance.new("Part",Character)
  4579. a2.Name = "Direction"
  4580. a2.Anchored = true
  4581. a2.BrickColor = bc("New Yeller")
  4582. a2.Color = Color3.new(r/255,g/255,b/255)
  4583. a2.Material = "Neon"
  4584. a2.Transparency = 0.5
  4585. a2.Shape = "Cylinder"
  4586. a2.CanCollide = false
  4587. local ba = Instance.new("Part",Character)
  4588. ba.Name = "HitDirect"
  4589. ba.Anchored = true
  4590. ba.BrickColor = bc("Cool yellow")
  4591. ba.Material = "Neon"
  4592. ba.Transparency = 1
  4593. ba.CanCollide = false
  4594. local ray = Ray.new(
  4595. orb.CFrame.p, -- origin
  4596. (mouse.Hit.p - orb.CFrame.p).unit * 1000 -- direction
  4597. )
  4598. local ignore = Character
  4599. local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  4600. a.BottomSurface = 10
  4601. a.TopSurface = 10
  4602. a2.BottomSurface = 10
  4603. a2.TopSurface = 10
  4604. local distance = (orb.CFrame.p - position).magnitude
  4605. a.Size = Vector3.new(distance, 1, 1)
  4606. a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
  4607. a2.Size = Vector3.new(distance, 1, 1)
  4608. a2.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
  4609. ba.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance)
  4610. a.CFrame = a.CFrame*CFrame.Angles(0,math.rad(90),0)
  4611. a2.CFrame = a2.CFrame*CFrame.Angles(0,math.rad(90),0)
  4612. game:GetService("Debris"):AddItem(a, 20)
  4613. game:GetService("Debris"):AddItem(a2, 20)
  4614. game:GetService("Debris"):AddItem(ba, 20)
  4615. local msh = Instance.new("SpecialMesh",a)
  4616. msh.MeshType = "Cylinder"
  4617. msh.Scale = vt(1,5*5,5*5)
  4618. local msh2 = Instance.new("SpecialMesh",a2)
  4619. msh2.MeshType = "Cylinder"
  4620. msh2.Scale = vt(1,6*5,6*5)
  4621.  
  4622. for i = 0,10,0.1 do
  4623. swait()
  4624. CameraEnshaking(1,5)
  4625. a2.Color = Color3.new(r/255,g/255,b/255)
  4626. orb.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*4
  4627. orbe.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*4
  4628. ray = Ray.new(
  4629. orb.CFrame.p, -- origin
  4630. (mouse.Hit.p - orb.CFrame.p).unit * 1000 -- direction
  4631. )
  4632. hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  4633. distance = (orb.CFrame.p - position).magnitude
  4634. if typrot == 1 then
  4635. rotation = rotation + 2.5
  4636. elseif typrot == 2 then
  4637. rotation = rotation - 2.5
  4638. end
  4639. RootPart.CFrame = FaceMouse()[1]
  4640. a.Size = Vector3.new(distance, 1, 1)
  4641. a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
  4642. a2.Size = Vector3.new(distance, 1, 1)
  4643. a2.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
  4644. ba.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance)
  4645. a.CFrame = a.CFrame*CFrame.Angles(0,math.rad(90),0)
  4646. a2.CFrame = a2.CFrame*CFrame.Angles(0,math.rad(90),0)
  4647. msh.Scale = msh.Scale - vt(0,0.05*5,0.05*5)
  4648. msh2.Scale = msh2.Scale - vt(0,0.06*5,0.06*5)
  4649. sphereMK(5,1.5,"Add",ba.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),15,15,25,-0.15,MAINRUINCOLOR,0)
  4650. sphereMK(5,1.5,"Add",ba.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),15,15,25,-0.15,MAINRUINCOLOR,0)
  4651. MagniDamage(ba, 30, 5,25, 0, "Normal")
  4652. end
  4653. a:Destroy()
  4654. a2:Destroy()
  4655. ba:Destroy()
  4656. orb:Destroy()
  4657. orbe:Destroy()
  4658. hum.AutoRotate = true
  4659. attack = false
  4660. end
  4661.  
  4662.  
  4663. function UniversalSpark()
  4664. attack = true
  4665.  
  4666. local rngb = Instance.new("Part", char)
  4667. rngb.Anchored = true
  4668. rngb.BrickColor = origcolor
  4669. rngb.CanCollide = false
  4670. rngb.FormFactor = 3
  4671. rngb.Name = "Ring"
  4672. rngb.Material = "Neon"
  4673. rngb.Size = Vector3.new(1, 0.05, 1)
  4674. rngb.Transparency = 1
  4675. rngb.TopSurface = 0
  4676. rngb.BottomSurface = 0
  4677. local rngmb = Instance.new("SpecialMesh", rngb)
  4678. rngmb.MeshType = "Brick"
  4679. rngmb.Name = "SizeMesh"
  4680. rngmb.Scale = vt(0,1,0)
  4681.  
  4682. local orb = rngb:Clone()
  4683. orb.Parent = char
  4684. orb.Transparency = 0
  4685. orb.BrickColor = BrickColor.new("White")
  4686. orb.Size = vt(1,1,1)
  4687. local orbmish = orb.SizeMesh
  4688. orbmish.Scale = vt(0,0,0)
  4689. orbmish.MeshType = "Sphere"
  4690.  
  4691. local orbe = rngb:Clone()
  4692. orbe.Parent = char
  4693. orbe.Transparency = 0.5
  4694. orbe.BrickColor = BrickColor.new("New Yeller")
  4695. orbe.Size = vt(1,1,1)
  4696. local orbmish2 = orbe.SizeMesh
  4697. orbmish2.Scale = vt(0,0,0)
  4698. orbmish2.MeshType = "Sphere"
  4699. orbe.Color = Color3.new(r/255,g/255,b/255)
  4700.  
  4701. rngb:Destroy()
  4702. --[[CFuncs["Sound"].Create("rbxassetid://136007472", orb, 1.5, 1)
  4703. local scaled = 1
  4704. for i = 0,5,0.1 do
  4705. swait()
  4706. scaled = scaled - 0.02
  4707. if rainbowmode == true then
  4708. orbe.Color = Color3.new(r/255,g/255,b/255)
  4709. end
  4710. orbmish.Scale = orbmish.Scale + vt(scaled/1.5,scaled/1.5,scaled/1.5)
  4711. orbmish2.Scale = orbmish2.Scale + vt(scaled*1.1/1.5,scaled*1.1/1.5,scaled*1.1/1.5)
  4712. orb.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*11.5
  4713. orbe.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*11.5
  4714. sphereMKCharge(2.5,-0.5,"Add",orb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),2.5,2.5,15,-0.025,MAINRUINCOLOR,25)
  4715. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(90)),0.3)
  4716. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(-90)),.3)
  4717. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(90)), 0.3)
  4718. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(10), math.rad(0), math.rad(-20)), 0.3)
  4719. RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-0.5),math.rad(0),math.rad(0)),.3)
  4720. 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(-2.5),math.rad(10),math.rad(0)),.3)
  4721. RootPart.CFrame = FaceMouse()[1]
  4722. end]]--
  4723. for i = 0,5,0.1 do
  4724. swait()
  4725. if rainbowmode == true then
  4726. orbe.Color = Color3.new(r/255,g/255,b/255)
  4727. end
  4728. if glitchymode then
  4729. local val = math.random(1,255)
  4730. local color = Color3.fromRGB(val,val,val)
  4731. orbe.Color = color
  4732. end
  4733. orb.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*11.5
  4734. orbe.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*11.5
  4735. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(90)),0.3)
  4736. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(-90)),.3)
  4737. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(90)), 0.3)
  4738. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(10), math.rad(0), math.rad(-20)), 0.3)
  4739. RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-0.5),math.rad(0),math.rad(0)),.3)
  4740. 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(-2.5),math.rad(10),math.rad(0)),.3)
  4741. RootPart.CFrame = FaceMouse()[1]
  4742. end
  4743. orbe.Transparency = 1
  4744. orb.Transparency = 1
  4745. orb.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*5
  4746. CFuncs["Sound"].Create("rbxassetid://741272936", char, 1, 1)
  4747. CFuncs["Sound"].Create("rbxassetid://164881112", char, 1, 1)
  4748. CFuncs["Sound"].Create("rbxassetid://1192402877", char, 1, 1)
  4749.  
  4750. CFuncs["Sound"].Create("rbxassetid://294188875", char, 1, 1)
  4751. CFuncs["Sound"].Create("rbxassetid://741272936", char, 0.75, 1)
  4752. CFuncs["Sound"].Create("rbxassetid://1192402877", char, 1, 1)
  4753. CFuncs["Sound"].Create("rbxassetid://1208650519", char, 0.75, 1)
  4754. CFuncs["Sound"].Create("rbxassetid://164881112", char, 0.75, 1)
  4755. CFuncs["Sound"].Create("rbxassetid://429123896", char, 1, 0.85)
  4756. CFuncs["Sound"].Create("rbxassetid://164178927", char, 1, 1)
  4757. local xd= Instance.new("Sound",char)
  4758. xd.SoundId = "rbxassetid://445796828"
  4759. xd.Pitch = 0.75
  4760. xd.Looped = true
  4761. xd.Volume = 1.25
  4762. xd:Play()
  4763. local a = Instance.new("Part",Character)
  4764. a.Name = "Direction"
  4765. a.Anchored = true
  4766. a.BrickColor = bc("Alder")
  4767. a.Color = MAINRUINCOLOR.Color
  4768. a.Material = "Neon"
  4769. a.Transparency = 0.5
  4770. a.Shape = "Cylinder"
  4771. a.CanCollide = false
  4772. local a2 = Instance.new("Part",Character)
  4773. a2.Name = "Direction"
  4774. a2.Anchored = true
  4775. a2.BrickColor = bc("New Yeller")
  4776. a2.Color = MAINRUINCOLOR.Color
  4777. a2.Material = "Neon"
  4778. a2.Transparency = 0.5
  4779. a2.Shape = "Cylinder"
  4780. a2.CanCollide = false
  4781. local ba = Instance.new("Part",Character)
  4782. ba.Name = "HitDirect"
  4783. ba.Anchored = true
  4784. ba.BrickColor = bc("Cool yellow")
  4785. ba.Material = "Neon"
  4786. ba.Transparency = 1
  4787. ba.CanCollide = false
  4788. local ray = Ray.new(
  4789. orb.CFrame.p, -- origin
  4790. (mouse.Hit.p - orb.CFrame.p).unit * 1000 -- direction
  4791. )
  4792. local ignore = Character
  4793. local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  4794. a.BottomSurface = 10
  4795. a.TopSurface = 10
  4796. a2.BottomSurface = 10
  4797. a2.TopSurface = 10
  4798. local distance = (orb.CFrame.p - position).magnitude
  4799. a.Size = Vector3.new(distance, 1, 1)
  4800. a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
  4801. a2.Size = Vector3.new(distance, 1, 1)
  4802. a2.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
  4803. ba.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance)
  4804. a.CFrame = a.CFrame*CFrame.Angles(0,math.rad(90),0)
  4805. a2.CFrame = a2.CFrame*CFrame.Angles(0,math.rad(90),0)
  4806. game:GetService("Debris"):AddItem(a, 60)
  4807. game:GetService("Debris"):AddItem(a2, 60)
  4808. game:GetService("Debris"):AddItem(ba, 60)
  4809. local outerscale = 0
  4810. local msh = Instance.new("SpecialMesh",a)
  4811. msh.MeshType = "Cylinder"
  4812. msh.Scale = vt(1,0,0)
  4813. local msh2 = Instance.new("SpecialMesh",a2)
  4814. msh2.MeshType = "Cylinder"
  4815. msh2.Scale = vt(1,0,0)
  4816. for i = 0,2,0.1 do
  4817. swait()
  4818. CameraEnshaking(1,1)
  4819. msh2.Scale = msh2.Scale + vt(0,outerscale*20,outerscale*20)
  4820. msh.Scale = msh.Scale + vt(0,outerscale*15,outerscale*15)
  4821. outerscale = outerscale - 0.015
  4822. orb.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*4
  4823. orbe.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*4
  4824. ray = Ray.new(
  4825. orb.CFrame.p, -- origin
  4826. (mouse.Hit.p - orb.CFrame.p).unit * 1000 -- direction
  4827. )
  4828. hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  4829. distance = (orb.CFrame.p - position).magnitude
  4830. if typrot == 1 then
  4831. rotation = rotation + 2.5
  4832. elseif typrot == 2 then
  4833. rotation = rotation - 2.5
  4834. end
  4835. RootPart.CFrame = FaceMouse()[1]
  4836. a.Size = Vector3.new(distance, 1, 1)
  4837. a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
  4838. a2.Size = Vector3.new(distance, 1, 1)
  4839. a2.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
  4840. ba.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance)
  4841. a.CFrame = a.CFrame*CFrame.Angles(0,math.rad(90),0)
  4842. a2.CFrame = a2.CFrame*CFrame.Angles(0,math.rad(90),0)
  4843. sphereMK(5,5,"Add",ba.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),25*3,25*3,75*3,-0.25*3,MAINRUINCOLOR,0)
  4844. sphereMK(5,5,"Add",ba.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),25*3,25*3,75*3,-0.25*3,MAINRUINCOLOR,0)
  4845. MagniDamage(ba, 100, 500,60000, 0, "Normal")
  4846. end
  4847. for z = 0, 2 do
  4848. for i = 0,4,0.1 do
  4849. swait()
  4850. CameraEnshaking(1,1)
  4851. msh2.Scale = msh2.Scale + vt(0,outerscale,outerscale)
  4852. msh.Scale = msh.Scale - vt(0,outerscale,outerscale)
  4853. outerscale = outerscale + 0.015
  4854. orb.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*4
  4855. orbe.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*4
  4856. ray = Ray.new(
  4857. orb.CFrame.p, -- origin
  4858. (mouse.Hit.p - orb.CFrame.p).unit * 1000 -- direction
  4859. )
  4860. hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  4861. distance = (orb.CFrame.p - position).magnitude
  4862. if typrot == 1 then
  4863. rotation = rotation + 2.5
  4864. elseif typrot == 2 then
  4865. rotation = rotation - 2.5
  4866. end
  4867. RootPart.CFrame = FaceMouse()[1]
  4868. a.Size = Vector3.new(distance, 1, 1)
  4869. a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
  4870. a2.Size = Vector3.new(distance, 1, 1)
  4871. a2.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
  4872. ba.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance)
  4873. a.CFrame = a.CFrame*CFrame.Angles(0,math.rad(90),0)
  4874. a2.CFrame = a2.CFrame*CFrame.Angles(0,math.rad(90),0)
  4875. sphereMK(5,5,"Add",ba.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),25*3,25*3,75*3,-0.25*3,MAINRUINCOLOR,0)
  4876. sphereMK(5,5,"Add",ba.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),25*3,25*3,75*3,-0.25*3,MAINRUINCOLOR,0)
  4877. MagniDamage(ba, 100, 500,60000, 0, "Normal")
  4878. end
  4879. for i = 0,4,0.1 do
  4880. swait()
  4881. CameraEnshaking(1,1)
  4882. msh2.Scale = msh2.Scale + vt(0,outerscale,outerscale)
  4883. msh.Scale = msh.Scale - vt(0,outerscale,outerscale)
  4884. outerscale = outerscale - 0.015
  4885. orb.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*4
  4886. orbe.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*4
  4887. ray = Ray.new(
  4888. orb.CFrame.p, -- origin
  4889. (mouse.Hit.p - orb.CFrame.p).unit * 1000 -- direction
  4890. )
  4891. hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  4892. distance = (orb.CFrame.p - position).magnitude
  4893. if typrot == 1 then
  4894. rotation = rotation + 2.5
  4895. elseif typrot == 2 then
  4896. rotation = rotation - 2.5
  4897. end
  4898. RootPart.CFrame = FaceMouse()[1]
  4899. a.Size = Vector3.new(distance, 1, 1)
  4900. a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
  4901. a2.Size = Vector3.new(distance, 1, 1)
  4902. a2.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
  4903. ba.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance)
  4904. a.CFrame = a.CFrame*CFrame.Angles(0,math.rad(90),0)
  4905. a2.CFrame = a2.CFrame*CFrame.Angles(0,math.rad(90),0)
  4906. sphereMK(5,5,"Add",ba.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),25*3,25*3,75*3,-0.25*3,MAINRUINCOLOR,0)
  4907. sphereMK(5,5,"Add",ba.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),25*3,25*3,75*3,-0.25*3,MAINRUINCOLOR,0)
  4908. MagniDamage(ba, 100, 500,60000, 0, "Normal")
  4909. end
  4910. end
  4911. for i = 0,4,0.1 do
  4912. swait()
  4913. CameraEnshaking(1,1)
  4914. msh2.Scale = msh2.Scale + vt(0,outerscale,outerscale)
  4915. msh.Scale = msh.Scale - vt(0,outerscale,outerscale)
  4916. xd.Volume = xd.Volume - 0.025
  4917. a.Transparency = a.Transparency + 0.025
  4918. a2.Transparency = a2.Transparency + 0.025
  4919. outerscale = outerscale - 0.015
  4920. orb.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*4
  4921. orbe.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*4
  4922. ray = Ray.new(
  4923. orb.CFrame.p, -- origin
  4924. (mouse.Hit.p - orb.CFrame.p).unit * 1000 -- direction
  4925. )
  4926. hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  4927. distance = (orb.CFrame.p - position).magnitude
  4928. if typrot == 1 then
  4929. rotation = rotation + 2.5
  4930. elseif typrot == 2 then
  4931. rotation = rotation - 2.5
  4932. end
  4933. RootPart.CFrame = FaceMouse()[1]
  4934. a.Size = Vector3.new(distance, 1, 1)
  4935. a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
  4936. a2.Size = Vector3.new(distance, 1, 1)
  4937. a2.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
  4938. ba.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance)
  4939. a.CFrame = a.CFrame*CFrame.Angles(0,math.rad(90),0)
  4940. a2.CFrame = a2.CFrame*CFrame.Angles(0,math.rad(90),0)
  4941. sphereMK(5,5,"Add",ba.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),25*3,25*3,75*3,-0.25*3,MAINRUINCOLOR,0)
  4942. sphereMK(5,5,"Add",ba.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),25*3,25*3,75*3,-0.25*3,MAINRUINCOLOR,0)
  4943. MagniDamage(ba, 100, 500,60000, 0, "Normal")
  4944. end
  4945. xd:Destroy()
  4946. a:Destroy()
  4947. a2:Destroy()
  4948. ba:Destroy()
  4949. orb:Destroy()
  4950. orbe:Destroy()
  4951. attack = false
  4952. end
  4953.  
  4954.  
  4955.  
  4956. function attackone()
  4957. attack = true
  4958. for i = 0,1,0.1 do
  4959. swait()
  4960. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(20),math.rad(0),math.rad(-40)),0.2)
  4961. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(40)),.2)
  4962. RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-40)), 0.2)
  4963. LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-40)), 0.2)
  4964. RH.C0=clerp(RH.C0,cf(1,-1 - 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)),.2)
  4965. 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(10)),.2)
  4966. end
  4967. CFuncs["Sound"].Create("rbxassetid://200632136", root, 1, 1.1)
  4968.  
  4969. local hitb = Instance.new("Part", char)
  4970. hitb.Anchored = true
  4971. hitb.CanCollide = false
  4972. hitb.FormFactor = 3
  4973. hitb.Name = "Ring"
  4974. hitb.Material = "Neon"
  4975. hitb.Size = Vector3.new(1, 1, 1)
  4976. hitb.Transparency = 1
  4977. hitb.TopSurface = 0
  4978. hitb.BottomSurface = 0
  4979. hitb.CFrame = root.CFrame + root.CFrame.lookVector*2
  4980. MagniDamage(hitb, 3, 10,30, 0, "Normal")
  4981. hitb:Destroy()
  4982. for i = 0,1,0.1 do
  4983. swait()
  4984. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(-5),math.rad(0),math.rad(70)),0.4)
  4985. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(20),math.rad(0),math.rad(-70)),.4)
  4986. RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(70)), 0.4)
  4987. LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(40)), 0.4)
  4988. RH.C0=clerp(RH.C0,cf(1,-1 - 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(-40)),.4)
  4989. 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(-10)),.4)
  4990. end
  4991.  
  4992. attack = false
  4993. end
  4994.  
  4995. function attacktwo()
  4996. attack = true
  4997. for i = 0,1,0.1 do
  4998. swait()
  4999. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(20),math.rad(0),math.rad(40)),0.2)
  5000. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(-40)),.2)
  5001. RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(40)), 0.2)
  5002. LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(40)), 0.2)
  5003. RH.C0=clerp(RH.C0,cf(1,-1 - 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)),.2)
  5004. 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(10)),.2)
  5005. end
  5006. CFuncs["Sound"].Create("rbxassetid://200632136", root, 1, 1)
  5007. local hitb = Instance.new("Part", char)
  5008. hitb.Anchored = true
  5009. hitb.CanCollide = false
  5010. hitb.FormFactor = 3
  5011. hitb.Name = "Ring"
  5012. hitb.Material = "Neon"
  5013. hitb.Size = Vector3.new(1, 1, 1)
  5014. hitb.Transparency = 1
  5015. hitb.TopSurface = 0
  5016. hitb.BottomSurface = 0
  5017. hitb.CFrame = root.CFrame + root.CFrame.lookVector*2
  5018. MagniDamage(hitb, 3, 10,30, 0, "Normal")
  5019. hitb:Destroy()
  5020. for i = 0,1,0.1 do
  5021. swait()
  5022. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(-5),math.rad(0),math.rad(-70)),0.4)
  5023. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(20),math.rad(0),math.rad(70)),.4)
  5024. RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-40)), 0.4)
  5025. LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-70)), 0.4)
  5026. RH.C0=clerp(RH.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(-40)),.4)
  5027. 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(-10)),.4)
  5028. end
  5029. attack = false
  5030. end
  5031.  
  5032. function attackthree()
  5033. attack = true
  5034. for i = 0,1,0.1 do
  5035. swait()
  5036. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(80)),0.3)
  5037. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(20),math.rad(0),math.rad(-80)),.3)
  5038. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(80)), 0.3)
  5039. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(10), math.rad(0), math.rad(-20)), 0.3)
  5040. RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-0.5),math.rad(0),math.rad(0)),.3)
  5041. 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(-2.5),math.rad(10),math.rad(0)),.3)
  5042. end
  5043. local distlook = 5
  5044. for i = 0, 4 do
  5045. swait(2)
  5046. CameraEnshaking(2,3)
  5047. local hite = Instance.new("Part", char)
  5048. hite.Anchored = true
  5049. hite.CanCollide = false
  5050. hite.FormFactor = 3
  5051. hite.Name = "Ring"
  5052. hite.Material = "Neon"
  5053. hite.Size = Vector3.new(1, 1, 1)
  5054. hite.Transparency = 1
  5055. hite.TopSurface = 0
  5056. hite.BottomSurface = 0
  5057. hite.CFrame = root.CFrame + root.CFrame.lookVector*distlook
  5058. sphere(3,"Add",hite.CFrame,vt(0,0,0),0.15,MAINRUINCOLOR)
  5059. sphere(6,"Add",hite.CFrame,vt(0,0,0),0.3,MAINRUINCOLOR)
  5060. MagniDamage(hite, 10, 15,35, 0, "Normal")
  5061. for i = 0, 2 do
  5062. sphereMK(2,0.2,"Add",rarm.CFrame*CFrame.Angles(math.rad(-90+math.random(-20,20)),math.rad(math.random(-20,20)),math.rad(math.random(-20,20))),0.5,0.5,5,-0.005,MAINRUINCOLOR,0)
  5063. sphereMK(3,0.2,"Add",hite.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),0.5,0.5,5,-0.005,MAINRUINCOLOR,0)
  5064. sphereMK(6,0.35,"Add",hite.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),0.5,0.5,5,-0.005,MAINRUINCOLOR,0)
  5065. end
  5066. CFuncs["Sound"].Create("rbxassetid://183763506", hite, 2.5, 1)
  5067. CFuncs["Sound"].Create("rbxassetid://178452221", hite, 0.25, 0.6)
  5068. game:GetService("Debris"):AddItem(hite, 5)
  5069. distlook = distlook + 10
  5070. end
  5071. attack = false
  5072. end
  5073.  
  5074. function FinalCalamity()
  5075. end
  5076.  
  5077. function resetmode()
  5078. rainbowmode = false
  5079. chaosmode = false
  5080. glitchymode = false
  5081. tl1.Enabled = false
  5082. tl2.Enabled = false
  5083. tl3.Enabled = false
  5084. local lust = ModeOfGlitch == 69
  5085. ModeOfGlitch = 1
  5086. storehumanoidWS = 16
  5087. if(not lust)then
  5088. newTheme("rbxassetid://1564523997",48.6,1,1)
  5089. end
  5090. coroutine.resume(coroutine.create(function()
  5091. attack = true
  5092. hum.WalkSpeed = 0
  5093. CFuncs["Sound"].Create("rbxassetid://136007472", root, 2.5, 1.25)
  5094. for i = 0,4,0.1 do
  5095. swait()
  5096. 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)
  5097. 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)
  5098. 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)
  5099. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.05 * math.cos(sine / 28))*angles(math.rad(30),math.rad(0),math.rad(0)),.2)
  5100. 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)
  5101. RW.C0=clerp(RW.C0,cf(1.05,0.4,-0.5)*angles(math.rad(140),math.rad(0),math.rad(-50)),.2)
  5102. LW.C0=clerp(LW.C0,cf(-1.05,0.4,-0.5)*angles(math.rad(140),math.rad(0),math.rad(50)),.2)
  5103. end
  5104. if(lust)then
  5105. CFuncs["Sound"].Create("rbxassetid://847061203", root, 5,1)
  5106. sphere(2.5,"Add",root.CFrame*angles(0,0,0),vt(100,100,2),1.25,BrickColor.new'Pink',true,true)
  5107. for i = 0, 49 do
  5108. PixelBlock(1,15,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))*cf(0,0,-80),6,6,6,0.12,BrickColor.new("Pink"),0,true,true)
  5109. end
  5110.  
  5111. for i = 0,4,0.05 do
  5112. swait()
  5113. Pitch = 1-i/4
  5114. 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)
  5115. 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)
  5116. 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)
  5117. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.05 * math.cos(sine / 28))*angles(math.rad(30),math.rad(0),math.rad(0)),.2)
  5118. 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)
  5119. RW.C0=clerp(RW.C0,cf(1.05,0.4,-0.5)*angles(math.rad(140),math.rad(0),math.rad(-50)),.2)
  5120. LW.C0=clerp(LW.C0,cf(-1.05,0.4,-0.5)*angles(math.rad(140),math.rad(0),math.rad(50)),.2)
  5121. end
  5122. for i = 0,3,0.1 do
  5123. swait()
  5124. 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)
  5125. 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)
  5126. 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)
  5127. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.05 * math.cos(sine / 28))*angles(math.rad(30),math.rad(0),math.rad(0)),.2)
  5128. 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)
  5129. RW.C0=clerp(RW.C0,cf(1.05,0.4,-0.5)*angles(math.rad(140),math.rad(0),math.rad(-50)),.2)
  5130. LW.C0=clerp(LW.C0,cf(-1.05,0.4,-0.5)*angles(math.rad(140),math.rad(0),math.rad(50)),.2)
  5131. end
  5132. newTheme("rbxassetid://1564523997",48.6,1,1)
  5133. end
  5134. CFuncs["Sound"].Create("rbxassetid://206082327", root, 2.5,1)
  5135. CFuncs["Sound"].Create("rbxassetid://847061203", root, 5,1)
  5136. CFuncs["Sound"].Create("rbxassetid://239000203", root, 2.5,1)
  5137. CFuncs["Sound"].Create("rbxassetid://579687077", root, 2.5,0.75)
  5138. pcall(function() Character.ReaperShadowHead.Eye1.BrickColor = BrickColor.new'Really red' end)
  5139. pcall(function() Character.ReaperShadowHead.Eye2.BrickColor = BrickColor.new'Really red' end)
  5140. RecolorTextAndRename("Solitude",Color3.new(0,0,0),Color3.new(1,1,1))
  5141. CameraEnshaking(5,2.5)
  5142. MAINRUINCOLOR = BrickColor.new("Really black")
  5143. sphere(2.5,"Add",root.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  5144. for i = 0, 49 do
  5145. PixelBlock(1,math.random(1,20),"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),2,2,2,0.04,MAINRUINCOLOR,0)
  5146. end
  5147. for i = 0,3,0.1 do
  5148. sphereMK(2.5,-1,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),2.5,2.5,25,-0.025,MAINRUINCOLOR,0)
  5149. end
  5150. for i, v in pairs(mw2:GetChildren()) do
  5151. if v:IsA("Part") then
  5152. v.BrickColor = BrickColor.new("Really black")
  5153. v.Material = "Neon"
  5154. end
  5155. end
  5156. for i, v in pairs(mw1:GetChildren()) do
  5157. if v:IsA("Part") then
  5158. v.Transparency = 1
  5159. v.BrickColor = BrickColor.new("Really black")
  5160. v.Material = "Neon"
  5161. end
  5162. end
  5163. for i, v in pairs(m:GetChildren()) do
  5164. if v:IsA("Part") then
  5165. v.BrickColor = BrickColor.new("Really black")
  5166. v.Material = "Glass"
  5167. end
  5168. end
  5169. for i, v in pairs(m2:GetChildren()) do
  5170. if v:IsA("Part") then
  5171. v.BrickColor = BrickColor.new("Dark stone grey")
  5172. v.Material = "Granite"
  5173. end
  5174. end
  5175. for i, v in pairs(m3:GetChildren()) do
  5176. if v:IsA("Part") then
  5177. v.BrickColor = BrickColor.new("Really black")
  5178. v.Material = "Neon"
  5179. end
  5180. end
  5181. for i, v in pairs(extrawingmod1:GetChildren()) do
  5182. if v:IsA("Part") then
  5183. v.Transparency = 1
  5184. v.BrickColor = BrickColor.new("White")
  5185. v.Material = "Neon"
  5186. end
  5187. end
  5188. for i, v in pairs(extrawingmod2:GetChildren()) do
  5189. if v:IsA("Part") then
  5190. v.Transparency = 1
  5191. v.BrickColor = BrickColor.new("White")
  5192. v.Material = "Neon"
  5193. end
  5194. end
  5195. for i = 0,2,0.1 do
  5196. swait()
  5197. 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)
  5198. 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)
  5199. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.05 * math.cos(sine / 28))*angles(math.rad(-30),math.rad(0),math.rad(0)),.2)
  5200. 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))),.2)
  5201. 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))),.2)
  5202. 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))),.2)
  5203. end
  5204. hum.WalkSpeed = storehumanoidWS
  5205. attack = false
  5206. end))
  5207. end
  5208.  
  5209. function lustmode()
  5210.  
  5211. ModeOfGlitch = 69
  5212. storehumanoidWS = 16
  5213. rainbowmode = false
  5214. chaosmode = false
  5215. glitchymode = false
  5216. tl1.Enabled = false
  5217. tl2.Enabled = false
  5218. tl3.Enabled = false
  5219. newTheme("rbxassetid://1203355187",0,1,1)
  5220. coroutine.wrap(function()
  5221. attack = true
  5222. hum.WalkSpeed = 0
  5223. CFuncs["Sound"].Create("rbxassetid://136007472", root, 2.5, 1.25)
  5224. for i = 0,4,0.1 do
  5225. swait()
  5226. 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)
  5227. 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)
  5228. 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)
  5229. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.05 * math.cos(sine / 28))*angles(math.rad(30),math.rad(0),math.rad(0)),.2)
  5230. 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)
  5231. RW.C0=clerp(RW.C0,cf(1.05,0.4,-0.5)*angles(math.rad(140),math.rad(0),math.rad(-50)),.2)
  5232. LW.C0=clerp(LW.C0,cf(-1.05,0.4,-0.5)*angles(math.rad(140),math.rad(0),math.rad(50)),.2)
  5233. end
  5234. CFuncs["Sound"].Create("rbxassetid://847061203", root, 5,1)
  5235. sphere(2.5,"Add",root.CFrame*cf(0,0,0),vt(0,0,2),1.5,BrickColor.new'Pink',true)
  5236.  
  5237. for i = 0,4,0.1 do
  5238. swait()
  5239. 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)
  5240. 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)
  5241. 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)
  5242. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.05 * math.cos(sine / 28))*angles(math.rad(30),math.rad(0),math.rad(0)),.2)
  5243. 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)
  5244. RW.C0=clerp(RW.C0,cf(1.05,0.4,-0.5)*angles(math.rad(140),math.rad(0),math.rad(-50)),.2)
  5245. LW.C0=clerp(LW.C0,cf(-1.05,0.4,-0.5)*angles(math.rad(140),math.rad(0),math.rad(50)),.2)
  5246. end
  5247. CFuncs["Sound"].Create("rbxassetid://206082327", root, 2.5,1)
  5248. CFuncs["Sound"].Create("rbxassetid://847061203", root, 5,1)
  5249. CFuncs["Sound"].Create("rbxassetid://239000203", root, 2.5,1)
  5250. CFuncs["Sound"].Create("rbxassetid://579687077", root, 2.5,0.75)
  5251. pcall(function() Character.ReaperShadowHead.Eye1.BrickColor = BrickColor.new'Pink' end)
  5252. pcall(function() Character.ReaperShadowHead.Eye2.BrickColor = BrickColor.new'Pink' end)
  5253. CameraEnshaking(5,2.5)
  5254. MAINRUINCOLOR = BrickColor.new("Pink")
  5255. sphere(2.5,"Add",root.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  5256. for i = 0, 49 do
  5257. PixelBlock(1,math.random(1,20),"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),6,6,6,0.12,MAINRUINCOLOR,0,true)
  5258. end
  5259. for i = 0,3,0.1 do
  5260. sphereMK(2.5,-1,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),2.5,2.5,25,-0.025,MAINRUINCOLOR,0,true)
  5261. end
  5262. RecolorTextAndRename("Loost",Color3.new(1,1,1),BrickColor.new'Pink'.Color)
  5263. for i, v in pairs(mw2:GetChildren()) do
  5264. if v:IsA("Part") then
  5265. v.BrickColor = MAINRUINCOLOR
  5266. v.Material = "Neon"
  5267. end
  5268. end
  5269. for i, v in pairs(mw1:GetChildren()) do
  5270. if v:IsA("Part") then
  5271. v.Transparency = 1
  5272. v.BrickColor = MAINRUINCOLOR
  5273. v.Material = "Neon"
  5274. end
  5275. end
  5276. for i, v in pairs(m:GetChildren()) do
  5277. if v:IsA("Part") then
  5278. v.BrickColor = BrickColor.new("Pink")
  5279. v.Material = "Ice"
  5280. end
  5281. end
  5282. for i, v in pairs(m2:GetChildren()) do
  5283. if v:IsA("Part") then
  5284. v.BrickColor = BrickColor.new("Pink")
  5285. v.Material = "Glass"
  5286. end
  5287. end
  5288. for i, v in pairs(m3:GetChildren()) do
  5289. if v:IsA("Part") then
  5290. v.BrickColor = BrickColor.new("Pink")
  5291. v.Material = "Neon"
  5292. end
  5293. end
  5294. for i, v in pairs(extrawingmod1:GetChildren()) do
  5295. if v:IsA("Part") then
  5296. v.Transparency = 1
  5297. v.BrickColor = BrickColor.new("Pink")
  5298. v.Material = "Neon"
  5299. end
  5300. end
  5301. for i, v in pairs(extrawingmod2:GetChildren()) do
  5302. if v:IsA("Part") then
  5303. v.Transparency = 1
  5304. v.BrickColor = BrickColor.new("Pink")
  5305. v.Material = "Neon"
  5306. end
  5307. end
  5308. for i = 0,2,0.1 do
  5309. swait()
  5310. 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)
  5311. 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)
  5312. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.05 * math.cos(sine / 28))*angles(math.rad(-30),math.rad(0),math.rad(0)),.2)
  5313. 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))),.2)
  5314. 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))),.2)
  5315. 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))),.2)
  5316. end
  5317. hum.WalkSpeed = storehumanoidWS
  5318. attack = false
  5319. end)()
  5320. end
  5321.  
  5322. function insanitymode()
  5323. storehumanoidWS = 16
  5324. hum.WalkSpeed = 0
  5325. rainbowmode = false
  5326. glitchymode = false
  5327. chaosmode = true
  5328. tl1.Enabled = true
  5329. tl2.Enabled = true
  5330. tl3.Enabled = true
  5331. local lust = ModeOfGlitch == 69
  5332. newTheme("rbxassetid://919231299",0,1,1)
  5333. coroutine.resume(coroutine.create(function()
  5334. tr1.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  5335. tr2.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  5336. tr3.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  5337. attack = true
  5338. hum.WalkSpeed = 0
  5339. CFuncs["Sound"].Create("rbxassetid://136007472", root, 2.5, 1.25)
  5340. for i = 0,4,0.1 do
  5341. swait()
  5342. 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)
  5343. 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)
  5344. 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)
  5345. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.05 * math.cos(sine / 28))*angles(math.rad(30),math.rad(0),math.rad(0)),.2)
  5346. 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)
  5347. RW.C0=clerp(RW.C0,cf(1.05,0.4,-0.5)*angles(math.rad(140),math.rad(0),math.rad(-50)),.2)
  5348. LW.C0=clerp(LW.C0,cf(-1.05,0.4,-0.5)*angles(math.rad(140),math.rad(0),math.rad(50)),.2)
  5349. end
  5350. for i = 0,8,0.1 do
  5351. swait()
  5352. 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)
  5353. 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,.035,MAINRUINCOLOR,0)
  5354. 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)
  5355. 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)
  5356. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.05 * math.cos(sine / 28))*angles(math.rad(30),math.rad(0),math.rad(0)),.2)
  5357. 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)
  5358. RW.C0=clerp(RW.C0,cf(1.05,0.4,-0.5)*angles(math.rad(140),math.rad(0),math.rad(-50)),.2)
  5359. LW.C0=clerp(LW.C0,cf(-1.05,0.4,-0.5)*angles(math.rad(140),math.rad(0),math.rad(50)),.2)
  5360. end
  5361.  
  5362. for i = 0,3,0.1 do
  5363. swait()
  5364. 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)
  5365. 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)
  5366. 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)
  5367. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.05 * math.cos(sine / 28))*angles(math.rad(30),math.rad(0),math.rad(0)),.2)
  5368. 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)
  5369. RW.C0=clerp(RW.C0,cf(1.05,0.4,-0.5)*angles(math.rad(140),math.rad(0),math.rad(-50)),.2)
  5370. LW.C0=clerp(LW.C0,cf(-1.05,0.4,-0.5)*angles(math.rad(140),math.rad(0),math.rad(50)),.2)
  5371. end
  5372. CFuncs["Sound"].Create("rbxassetid://206082327", root, 2.5,1)
  5373. CFuncs["Sound"].Create("rbxassetid://847061203", root, 5,1)
  5374. CFuncs["Sound"].Create("rbxassetid://239000203", root, 2.5,1)
  5375. CFuncs["Sound"].Create("rbxassetid://579687077", root, 2.5,0.75)
  5376. CameraEnshaking(5,2.5)
  5377. MAINRUINCOLOR = BrickColor.new("Black")
  5378. sphere(2.5,"Add",root.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  5379. for i = 0, 49 do
  5380. PixelBlock(1,math.random(1,20),"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),2,2,2,0.04,MAINRUINCOLOR,0)
  5381. end
  5382. for i = 0,3,0.1 do
  5383. sphereMK(2.5,-1,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),2.5,2.5,25,-0.025,MAINRUINCOLOR,0)
  5384. end
  5385. ModeOfGlitch = 666666
  5386. for i, v in pairs(mw2:GetChildren()) do
  5387. if v:IsA("Part") then
  5388. v.BrickColor = MAINRUINCOLOR
  5389. v.Material = "Neon"
  5390. end
  5391. end
  5392. for i, v in pairs(mw1:GetChildren()) do
  5393. if v:IsA("Part") then
  5394. v.Transparency = 0.75
  5395. v.BrickColor = BrickColor.random()
  5396. v.Material = "Neon"
  5397. end
  5398. end
  5399. for i, v in pairs(m:GetChildren()) do
  5400. if v:IsA("Part") then
  5401. v.BrickColor = BrickColor.new("Black")
  5402. v.Material = "Neon"
  5403. end
  5404. end
  5405. for i, v in pairs(m2:GetChildren()) do
  5406. if v:IsA("Part") then
  5407. v.BrickColor = BrickColor.random()
  5408. v.Material = "Neon"
  5409. end
  5410. end
  5411. for i, v in pairs(m3:GetChildren()) do
  5412. if v:IsA("Part") then
  5413. v.BrickColor = BrickColor.new("Black")
  5414. v.Material = "Neon"
  5415. end
  5416. end
  5417. for i, v in pairs(extrawingmod1:GetChildren()) do
  5418. if v:IsA("Part") then
  5419. v.Transparency = .75
  5420. v.BrickColor = BrickColor.Random()
  5421. v.Material = "Neon"
  5422. end
  5423. end
  5424. for i, v in pairs(extrawingmod2:GetChildren()) do
  5425. if v:IsA("Part") then
  5426. v.Transparency = 0
  5427. v.BrickColor = BrickColor.new("Black")
  5428. v.Material = "Neon"
  5429. end
  5430. end
  5431. for i = 0,2,0.1 do
  5432. swait()
  5433. 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)
  5434. 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)
  5435. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.05 * math.cos(sine / 28))*angles(math.rad(-30),math.rad(0),math.rad(0)),.2)
  5436. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-30),math.rad(0),math.rad(0 - 10 * math.cos(sine / 0.2))),.2)
  5437. 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)))*angles(0,0,math.rad(0 - 10 * math.cos(sine / 0.2))),.2)
  5438. 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)))*angles(0,0,math.rad(0 - 10 * math.cos(sine / 0.2))),.2)
  5439. end
  5440. hum.WalkSpeed = storehumanoidWS
  5441. attack = false
  5442. end))
  5443. end
  5444.  
  5445. local attacktype = 1
  5446. mouse.Button1Down:connect(function()
  5447. if attack == false and attacktype == 1 then
  5448. attacktype = 2
  5449. attackone()
  5450. elseif attack == false and attacktype == 2 then
  5451. attacktype = 3
  5452. attacktwo()
  5453. elseif attack == false and attacktype == 3 then
  5454. attacktype = 1
  5455. attackthree()
  5456. elseif attack == false and attacktype == 4 then
  5457. attacktype = 1
  5458. --attackfour()
  5459. end
  5460. end)
  5461.  
  5462. function Judgement()
  5463. attack = true
  5464. hum.WalkSpeed = 0
  5465. local p = Instance.new("Part",root)
  5466. p.Anchored = true
  5467. p.CanCollide = false
  5468. p.BrickColor = MAINRUINCOLOR
  5469. p.Material = Enum.Material.Neon
  5470. p.Size = Vector3.new(1,1,1)
  5471. p.CFrame = CFrame.new(mouse.Hit.p)+Vector3.new(0,1000,0)
  5472. p.CFrame = p.CFrame * CFrame.Angles(0,0,89.5354)
  5473. local m = Instance.new("SpecialMesh",p)
  5474. m.MeshType = "Cylinder"
  5475. m.Scale = Vector3.new(2000,2,2)
  5476. local targ = Instance.new("Part",root)
  5477. targ.Transparency = 1
  5478. targ.CanCollide = false
  5479. targ.Size = Vector3.new(1,1,1)
  5480. targ.CFrame = p.CFrame-Vector3.new(0,1000,0)
  5481. CFuncs.Sound.Create("rbxassetid://164178927", targ, 5, 1)
  5482. CFuncs.Sound.Create("rbxassetid://1208650519", targ, 10, 1)
  5483. for i = 1,15 do
  5484. targ.CFrame = p.CFrame-Vector3.new(0,1000,0)
  5485. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(-20),math.rad(0),math.rad(0)),0.2)
  5486. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-15),math.rad(0),math.rad(0)),.2)
  5487. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(100)), 0.2)
  5488. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-100)), 0.2)
  5489. RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-0.5),math.rad(0),math.rad(-20)),.2)
  5490. 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(-2.5),math.rad(10),math.rad(20)),.2)
  5491. sphere(10, "Add", targ.CFrame, vt(15, 15, 15), 0.05, MAINRUINCOLOR)
  5492. sphereMK(3, 0.5, "Add", targ.CFrame * CFrame.Angles(math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360))), 1, 1, 7, -0.005, MAINRUINCOLOR, 0)
  5493. m.Scale = m.Scale+Vector3.new(0,1,1)
  5494. p.CFrame = CFrame.new(mouse.Hit.p)+Vector3.new(0,1000,0)
  5495. p.CFrame = p.CFrame * CFrame.Angles(0,0,89.5354)
  5496. swait()
  5497. end
  5498. sphereMK(3, 0.2, "Add", targ.CFrame * CFrame.Angles(math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360))), 0.5, 0.5, 5, -0.005, MAINRUINCOLOR, 0)
  5499. for i = 1,200 do
  5500. targ.CFrame = p.CFrame-Vector3.new(0,1000,0)
  5501. sphereMK(3, 0.5, "Add", targ.CFrame * CFrame.Angles(math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360))), 3, 3, 15, -0.005, MAINRUINCOLOR, 0)
  5502. sphere(10, "Add", targ.CFrame, vt(15, 15, 15), 0.15, MAINRUINCOLOR)
  5503. p.CFrame = CFrame.new(mouse.Hit.p)+Vector3.new(0,1000,0)
  5504. p.CFrame = p.CFrame * CFrame.Angles(0,0,89.5354)
  5505. MagniDamage(targ, 25, 5, 8, 0, "Normal")
  5506. swait()
  5507. end
  5508. for i =1,15 do
  5509. m.Scale = m.Scale-Vector3.new(1,1,1)
  5510. p.Transparency = i / 15
  5511. swait()
  5512. end
  5513. p:Destroy()
  5514. hum.WalkSpeed = storehumanoidWS
  5515. attack = false
  5516. end
  5517.  
  5518. local ODerDB = false
  5519. function ChooseODer()
  5520. if(not ODerDB)then
  5521. coroutine.wrap(function()
  5522.  
  5523. local allowOD = true
  5524. local whom = (mouse.Target and mouse.Target.Parent)
  5525. if(whom and whom:FindFirstChildOfClass'Humanoid' and whom:FindFirstChild'Head')then
  5526. ODerDB = true
  5527. for _,v in next, ODers do
  5528. if(v == whom)then
  5529. print'nO OD SELF'
  5530. allowOD = false
  5531. end
  5532. end
  5533. if(allowOD)then
  5534. local ref=CFuncs.Part.Create(m,Enum.Material.Neon,0,.4,(whom.Name == 'Nebula_Zorua' and 'Royal purple' or MAINRUINCOLOR),"ref",Vector3.new(0.05,0.05,0.05))
  5535. local refz = CFuncs.Mesh.Create("SpecialMesh",ref,"Sphere","",Vector3.new(0, 0, 0),Vector3.new(14, 14, 14))
  5536.  
  5537. ref.CFrame = Torso.CFrame
  5538. ref.Anchored = true
  5539. local e1 = Torso.CFrame:Lerp(whom.Head.CFrame, 0.25) * CFrame.new(math.random(-15, 15), math.random(0, 15), math.random(-15, 15))
  5540. local e2 = Torso.CFrame:Lerp(whom.Head.CFrame, 0.75) * CFrame.new(math.random(-15, 15), math.random(0, 15), math.random(-15, 15))
  5541. local MPos = whom.Head.CFrame*cf(0,4,0)
  5542. for i = 0, 1, .05 do
  5543. swait()
  5544. ref.CFrame = newBezier(Torso.CFrame, e1, e2, MPos, i)
  5545.  
  5546. sphere(10,"Add",ref.CFrame,vt(6,6,3),0,(whom.Name == 'Nebula_Zorua' and BrickColor.new'Royal purple' or MAINRUINCOLOR),true)
  5547. if whom:FindFirstChild'Head' == nil then
  5548. break
  5549. end
  5550. end
  5551. ref:destroy()
  5552. if whom:FindFirstChild'Head' then
  5553. table.insert(ODers,whom)
  5554. if(#ODers > 2)then
  5555. table.remove(ODers,1)
  5556. end
  5557. sphere(1.5,"Add",whom.Head.CFrame * cf(0,4,0),vt(6,6,3),.15,(whom.Name == 'Nebula_Zorua' and BrickColor.new'Royal purple' or MAINRUINCOLOR),true)
  5558. end
  5559. end
  5560. ODerDB = false
  5561. end
  5562. end)()
  5563. end
  5564. end
  5565.  
  5566. function RiddleMeThisRiddleMeThat()-- Who's afraid of the big black IUSFGEYUI8TY8RUFETUYERFYAERFE7RFWAE9RASEVR7YTRWW65ERAY
  5567. attack = true
  5568. hum.WalkSpeed = 0
  5569. storehumanoidWS = 75
  5570. hum.JumpPower = 0
  5571. newThemeCust("rbxassetid://1420353940",0,1,1)
  5572. kan.TimePosition = 0
  5573. ModeOfGlitch = 8376532578634534
  5574. repeat swait() until kan.IsLoaded
  5575. chatfunc("Riddle me this..",text.TextStrokeColor3)
  5576. for i = 0, 14, .1 do
  5577. swait()
  5578. RH.C0=clerp(RH.C0,cf(1,-1-.2*math.cos(sine/16),0)*angles(0,math.rad(90),0),.1)
  5579. LH.C0=clerp(LH.C0,cf(-1,-1-.2*math.cos(sine/16),.05)*angles(0,math.rad(15),0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.1)
  5580. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0+.2*math.cos(sine/16)),.1)
  5581. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(0,0,0),.1)
  5582. RW.C0=clerp(RW.C0,cf(1,0.5+.2*math.cos(sine/16),-.65)*angles(math.rad(45),0,math.rad(-90)),.1)
  5583. LW.C0=clerp(LW.C0,cf(-1,0.5+.2*math.cos(sine/16),-.65)*angles(math.rad(-45),0,math.rad(100)),.1)
  5584. end
  5585. chatfunc("Riddle me that..",text.TextStrokeColor3)
  5586. for i = 0, 12, .1 do
  5587. swait()
  5588. RH.C0=clerp(RH.C0,cf(1,-1-.2*math.cos(sine/16),0)*angles(0,math.rad(90),0),.1)
  5589. LH.C0=clerp(LH.C0,cf(-1,-1-.2*math.cos(sine/16),.05)*angles(0,math.rad(15),0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.1)
  5590. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0+.2*math.cos(sine/16)),.1)
  5591. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(0,math.rad(25),0),.1)
  5592. RW.C0=clerp(RW.C0,cf(1,0.5+.2*math.cos(sine/16),-.65)*angles(math.rad(45),0,math.rad(-90)),.1)
  5593. LW.C0=clerp(LW.C0,cf(-1,0.5+.2*math.cos(sine/16),-.65)*angles(math.rad(-45),0,math.rad(100)),.1)
  5594. end
  5595. chatfunc("Who's afraid of the big black..",Color3.new(1,1,1))
  5596. for i = 0, 16, .1 do
  5597. swait()
  5598. RH.C0=clerp(RH.C0,cf(1,-1-.2*math.cos(sine/16),0)*angles(0,math.rad(90),0),.1)
  5599. LH.C0=clerp(LH.C0,cf(-1,-1-.2*math.cos(sine/16),.05)*angles(0,math.rad(15),0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.1)
  5600. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0+.2*math.cos(sine/16)),.1)
  5601. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(25),0,0),.1)
  5602. RW.C0=clerp(RW.C0,cf(1,0.5+.2*math.cos(sine/16),-.65)*angles(math.rad(45),0,math.rad(-90)),.1)
  5603. LW.C0=clerp(LW.C0,cf(-1,0.5+.2*math.cos(sine/16),-.65)*angles(math.rad(-45),0,math.rad(100)),.1)
  5604. end
  5605. CFuncs["Sound"].Create("rbxassetid://206082327", root, 2.5,1)
  5606. CFuncs["Sound"].Create("rbxassetid://847061203", root, 5,1)
  5607. CFuncs["Sound"].Create("rbxassetid://239000203", root, 2.5,1)
  5608. CFuncs["Sound"].Create("rbxassetid://579687077", root, 2.5,0.75)
  5609. pcall(function() Character.ReaperShadowHead.Eye1.BrickColor = BrickColor.new'Black' end)
  5610. pcall(function() Character.ReaperShadowHead.Eye2.BrickColor = BrickColor.new'Black' end)
  5611. RecolorTextAndRename("The Big Black",Color3.new(0,0,0),Color3.new(1,1,1))
  5612. CameraEnshaking(5,2.5)
  5613. MAINRUINCOLOR = BrickColor.new("Really black")
  5614. sphere(2.5,"Add",root.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  5615. tl1.Enabled = true
  5616. tl2.Enabled = true
  5617. tl3.Enabled = true
  5618. for i = 0, 49 do
  5619. PixelBlock(1,math.random(1,20),"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),2,2,2,0.04,MAINRUINCOLOR,0)
  5620. end
  5621. for i = 0,3,0.1 do
  5622. sphereMK(2.5,-1,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),2.5,2.5,25,-0.025,MAINRUINCOLOR,0)
  5623. end
  5624. for i, v in pairs(mw2:GetChildren()) do
  5625. if v:IsA("Part") then
  5626. v.BrickColor = BrickColor.new("Really black")
  5627. v.Material = "Glass"
  5628. end
  5629. end
  5630. for i, v in pairs(mw1:GetChildren()) do
  5631. if v:IsA("Part") then
  5632. v.Transparency = 0
  5633. v.BrickColor = BrickColor.new("Really black")
  5634. v.Material = "Glass"
  5635. end
  5636. end
  5637. for i, v in pairs(m:GetChildren()) do
  5638. if v:IsA("Part") then
  5639. v.BrickColor = BrickColor.new("Really black")
  5640. v.Material = "Glass"
  5641. end
  5642. end
  5643. for i, v in pairs(m2:GetChildren()) do
  5644. if v:IsA("Part") then
  5645. v.BrickColor = BrickColor.new("Dark stone grey")
  5646. v.Material = "Granite"
  5647. end
  5648. end
  5649. for i, v in pairs(m3:GetChildren()) do
  5650. if v:IsA("Part") then
  5651. v.BrickColor = BrickColor.new("Really black")
  5652. v.Material = "Glass"
  5653. end
  5654. end
  5655. for i, v in pairs(extrawingmod1:GetChildren()) do
  5656. if v:IsA("Part") then
  5657. v.Transparency = 0
  5658. v.BrickColor = BrickColor.new("Dark stone grey")
  5659. v.Material = "Glass"
  5660. end
  5661. end
  5662. for i, v in pairs(extrawingmod2:GetChildren()) do
  5663. if v:IsA("Part") then
  5664. v.Transparency = 0
  5665. v.BrickColor = BrickColor.new("Dark stone grey")
  5666. v.Material = "Glass"
  5667. end
  5668. end
  5669. for i = 0,2,0.1 do
  5670. swait()
  5671. 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)
  5672. 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)
  5673. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.05 * math.cos(sine / 28))*angles(math.rad(-30),math.rad(0),math.rad(0)),.2)
  5674. 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))),.2)
  5675. 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))),.2)
  5676. 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))),.2)
  5677. end
  5678. hum.JumpPower = 50
  5679. hum.WalkSpeed = storehumanoidWS
  5680. attack = false
  5681. end
  5682.  
  5683. function FuckMeSidewaysAndCallMeGay()
  5684. local whom = (mouse.Target and mouse.Target.Parent)
  5685. --[[local fuckThisBoi = false
  5686. if(whom and whom:FindFirstChildOfClass'Humanoid')then
  5687. for _,v in next, ODers do
  5688. if(v == whom)then
  5689. fuckThisBoi = false
  5690. end
  5691. end
  5692. end
  5693. if(not fuckThisBoi)then
  5694. attack = false
  5695. warn'to fuck that boi you need to target them with z'
  5696. else]]
  5697. if(whom and whom:FindFirstChildOfClass'Humanoid' and whom:FindFirstChild'Torso' or whom:FindFirstChild'UpperTorso')then
  5698. local hed = whom:FindFirstChild'Torso' or whom:FindFirstChild'UpperTorso'
  5699. local hum = whom:FindFirstChildOfClass'Humanoid'
  5700. local ocf = RootPart.CFrame
  5701. hum.WalkSpeed = 0
  5702. hum.JumpPower = 0
  5703. hed.Anchored = true
  5704. RootPart.Anchored = true
  5705. Humanoid.WalkSpeed = 0
  5706. Humanoid.JumpPower = 0
  5707. RootPart.CFrame = hed.CFrame*cf(0,0,1.35)
  5708. CFuncs["Sound"].Create("rbxassetid://847061203", root, 2.5,1)
  5709. for i = 0, 9 do
  5710. sphereMK(3,0.25,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),1,1,10,-0.01,BrickColor.new("Pink"),0)
  5711. end
  5712. for i = 0, 24 do
  5713. PixelBlock(1,math.random(4,8),"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),3,3,3,0.06,BrickColor.new("Pink"),0)
  5714. end
  5715. sphere(3,"Add",root.CFrame,vt(0,0,0),0.25,BrickColor.new("Pink"))
  5716. attack = true
  5717. local speed = 1
  5718. local heck;
  5719. local stopitlol = false;
  5720. heck = mouse.KeyUp:connect(function(k)
  5721. if(k:lower() == 'm')then
  5722. stopitlol = true
  5723. heck:disconnect()
  5724. end
  5725. end)
  5726. local times = 0
  5727. repeat swait()
  5728. speed = speed - .01
  5729. times = times + 1
  5730. if(speed < .1)then
  5731. speed = .1
  5732. end
  5733. for i = 0, speed, .05 do
  5734. RootPart.CFrame = hed.CFrame*cf(0,0,1.35)
  5735. swait()
  5736. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(50),0,0)*angles(0,math.rad(90),0),.4)
  5737. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(50),0,0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.4)
  5738. RootJoint.C0=clerp(RootJoint.C0,cf(0,-.1,0)*angles(math.rad(-25),0,0)*RootCF,.4)
  5739. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(0,0,0),.8)
  5740. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(75),0,0),.4)
  5741. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(75),0,0),.4)
  5742. end
  5743. CameraEnshaking(5,5)
  5744.  
  5745. CFuncs["Sound"].Create("rbxassetid://836796971", Torso, 10,1)
  5746.  
  5747. for i = 0, speed, .05 do
  5748. RootPart.CFrame = hed.CFrame*cf(0,0,1.35)
  5749. swait()
  5750. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(-50),0,0)*angles(0,math.rad(90),0),.4)
  5751. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(-50),0,0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.4)
  5752. RootJoint.C0=clerp(RootJoint.C0,cf(0,-.1,0)*angles(math.rad(25),0,0)*RootCF,.4)
  5753. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(0,0,0),.8)
  5754. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-75),0,0),.4)
  5755. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-75),0,0),.4)
  5756. end
  5757. until stopitlol and times >= 3
  5758. for i = 1, 3 do
  5759. for i = 0, 1.5, .05 do
  5760. RootPart.CFrame = hed.CFrame*cf(0,0,1.35)
  5761. swait()
  5762. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(50),0,0)*angles(0,math.rad(90),0),.4)
  5763. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(50),0,0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.4)
  5764. RootJoint.C0=clerp(RootJoint.C0,cf(0,-.1,0)*angles(math.rad(-25),0,0)*RootCF,.4)
  5765. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(0,0,0),.8)
  5766. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(75),0,0),.4)
  5767. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(75),0,0),.4)
  5768. end
  5769. CameraEnshaking(5,25)
  5770.  
  5771. CFuncs["Sound"].Create("rbxassetid://1430568042", Torso, 10,.75)
  5772.  
  5773.  
  5774. coroutine.resume(coroutine.create(function()
  5775. bld = Instance.new("ParticleEmitter",whom:WaitForChild("Torso"))
  5776. bld.LightEmission = 0.1
  5777. bld.Texture = "rbxassetid://284205403"
  5778. bld.Color = ColorSequence.new(Color3.new(1,1,1))
  5779. bld.Rate = 500
  5780. bld.Lifetime = NumberRange.new(1)
  5781. bld.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,2,0),NumberSequenceKeypoint.new(1,0,0)})
  5782. bld.Acceleration = vt(0,-25,0)
  5783. bld.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,0,0)})
  5784. bld.Speed = NumberRange.new(10,50)
  5785. bld.EmissionDirection = "Back"
  5786. bld.VelocitySpread = 25
  5787. bld.Rotation = NumberRange.new(-500,500)
  5788. bld.RotSpeed = NumberRange.new(-500,500)
  5789. bld.Enabled = false
  5790. bld:Emit(250)
  5791. end))
  5792. coroutine.resume(coroutine.create(function()
  5793. bld = Instance.new("ParticleEmitter",whom:WaitForChild("LowerTorso"))
  5794. bld.LightEmission = 0.1
  5795. bld.Texture = "rbxassetid://284205403"
  5796. bld.Color = ColorSequence.new(Color3.new(1,1,1))
  5797. bld.Rate = 500
  5798. bld.Lifetime = NumberRange.new(1)
  5799. bld.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,2,0),NumberSequenceKeypoint.new(1,0,0)})
  5800. bld.Acceleration = vt(0,-25,0)
  5801. bld.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,0,0)})
  5802. bld.Speed = NumberRange.new(10,50)
  5803. bld.EmissionDirection = "Back"
  5804. bld.VelocitySpread = 25
  5805. bld.Rotation = NumberRange.new(-500,500)
  5806. bld.RotSpeed = NumberRange.new(-500,500)
  5807. bld.Enabled = false
  5808. bld:Emit(250)
  5809. end))
  5810. for i = 0, 1.5, .05 do
  5811. RootPart.CFrame = hed.CFrame*cf(0,0,1.35)
  5812. swait()
  5813. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(-50),0,0)*angles(0,math.rad(90),0),.4)
  5814. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(-50),0,0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.4)
  5815. RootJoint.C0=clerp(RootJoint.C0,cf(0,-.1,0)*angles(math.rad(25),0,0)*RootCF,.4)
  5816. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(0,0,0),.8)
  5817. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-75),0,0),.4)
  5818. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-75),0,0),.4)
  5819. end
  5820. end
  5821. for i = 0, 4, .05 do
  5822. RootPart.CFrame = hed.CFrame*cf(0,0,1.35)
  5823. swait()
  5824. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(100),0,0)*angles(0,math.rad(90),0),.1)
  5825. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(100),0,0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.1)
  5826. RootJoint.C0=clerp(RootJoint.C0,cf(0,-.75,0)*angles(math.rad(-50),0,0)*RootCF,.1)
  5827. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(0,0,0),.1)
  5828. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(75),0,0),.1)
  5829. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(75),0,0),.1)
  5830. end
  5831. CameraEnshaking(5,25)
  5832. CFuncs["Sound"].Create("rbxassetid://429400881", hed, 3,1)
  5833. CFuncs["Sound"].Create("rbxassetid://1430568042", Torso, 10,.75)
  5834.  
  5835. dmg(whom)
  5836. coroutine.resume(coroutine.create(function()
  5837. bld = Instance.new("ParticleEmitter",whom:WaitForChild("Torso"))
  5838. bld.LightEmission = 0.1
  5839. bld.Texture = "rbxassetid://284205403"
  5840. bld.Color = ColorSequence.new(Color3.new(1,1,1))
  5841. bld.Rate = 500
  5842. bld.Lifetime = NumberRange.new(1)
  5843. bld.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,2,0),NumberSequenceKeypoint.new(1,0,0)})
  5844. bld.Acceleration = vt(0,-25,0)
  5845. bld.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,0,0)})
  5846. bld.Speed = NumberRange.new(10,50)
  5847. bld.EmissionDirection = "Back"
  5848. bld.VelocitySpread = 25
  5849. bld.Rotation = NumberRange.new(-500,500)
  5850. bld.RotSpeed = NumberRange.new(-500,500)
  5851. bld.Enabled = true
  5852. end))
  5853. coroutine.resume(coroutine.create(function()
  5854. bld = Instance.new("ParticleEmitter",whom:WaitForChild("LowerTorso"))
  5855. bld.LightEmission = 0.1
  5856. bld.Texture = "rbxassetid://284205403"
  5857. bld.Color = ColorSequence.new(Color3.new(1,1,1))
  5858. bld.Rate = 500
  5859. bld.Lifetime = NumberRange.new(1)
  5860. bld.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,2,0),NumberSequenceKeypoint.new(1,0,0)})
  5861. bld.Acceleration = vt(0,-25,0)
  5862. bld.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,0,0)})
  5863. bld.Speed = NumberRange.new(10,50)
  5864. bld.EmissionDirection = "Back"
  5865. bld.VelocitySpread = 25
  5866. bld.Rotation = NumberRange.new(-500,500)
  5867. bld.RotSpeed = NumberRange.new(-500,500)
  5868. bld.Enabled = true
  5869. end))
  5870. for i = 0, 3, .05 do
  5871. RootPart.CFrame = hed.CFrame*cf(0,0,1.35)
  5872. swait()
  5873. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(-100),0,0)*angles(0,math.rad(90),0),.4)
  5874. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(-100),0,0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.4)
  5875. RootJoint.C0=clerp(RootJoint.C0,cf(0,-.75,0)*angles(math.rad(50),0,0)*RootCF,.4)
  5876. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(0,0,0),.8)
  5877. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-75),0,0),.4)
  5878. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-75),0,0),.4)
  5879. end
  5880.  
  5881. RootPart.CFrame = ocf
  5882. CFuncs["Sound"].Create("rbxassetid://847061203", root, 2.5,1)
  5883. for i = 0, 9 do
  5884. sphereMK(3,0.25,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),1,1,10,-0.01,BrickColor.new("Pink"),0)
  5885. end
  5886. for i = 0, 24 do
  5887. PixelBlock(1,math.random(4,8),"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),3,3,3,0.06,BrickColor.new("Pink"),0)
  5888. end
  5889. sphere(3,"Add",root.CFrame,vt(0,0,0),0.25,BrickColor.new("Pink"))
  5890. RootPart.Anchored = false
  5891. Humanoid.WalkSpeed = storehumanoidWS
  5892. Humanoid.JumpPower = 50
  5893. attack = false
  5894. end
  5895. end
  5896.  
  5897. local input = ""
  5898.  
  5899. mouse.KeyDown:connect(function(k)
  5900. if(k == "w" or k == "a" or k == "s" or k == "d")then
  5901. input = input .. k
  5902. local newInput = input
  5903. coroutine.wrap(function()
  5904. for i = 1, 25 do
  5905. if(newInput ~= input)then break end
  5906. swait()
  5907. end
  5908. if(newInput == input)then input = "" end
  5909. end)()
  5910. if(input == "wwssadad" and not AllowRape)then
  5911. AllowRape = true
  5912. warn("Rape unlocked! Have fun ;)")
  5913. elseif(input == "wwaassdd" and not AllowCata)then
  5914. AllowCata = true
  5915. warn("You unlocked CATASTROPHE.")
  5916. elseif(input == 'ddawas' and ModeOfGlitch == 4 and not attack)then
  5917. ChaosBegone()
  5918. end
  5919. end
  5920. end)
  5921.  
  5922. mouse.KeyDown:connect(function(k)
  5923. if k == "h" then
  5924.  
  5925. end
  5926.  
  5927. if k == "q" and attack == false and ModeOfGlitch ~= 2 then
  5928. ModeOfGlitch = 2
  5929. storehumanoidWS = 16
  5930. hum.WalkSpeed = 16
  5931. rainbowmode = false
  5932. chaosmode = false
  5933. glitchymode = false
  5934. tl1.Enabled = false
  5935. tl2.Enabled = false
  5936. tl3.Enabled = false
  5937. RecolorTextAndRename("Purity",Color3.new(1,1,1),Color3.new(0,1,1))
  5938. pcall(function() Character.ReaperShadowHead.Eye1.BrickColor = BrickColor.new'Teal' end)
  5939. pcall(function() Character.ReaperShadowHead.Eye2.BrickColor = BrickColor.new'Teal' end)
  5940. newTheme("rbxassetid://1539245059",0,1,1)
  5941. MAINRUINCOLOR = BrickColor.new("Toothpaste")
  5942. for i, v in pairs(mw2:GetChildren()) do
  5943. if v:IsA("Part") then
  5944. v.BrickColor = MAINRUINCOLOR
  5945. v.Material = "Neon"
  5946. end
  5947. end
  5948. for i, v in pairs(mw1:GetChildren()) do
  5949. if v:IsA("Part") then
  5950. v.Transparency = 1
  5951. v.BrickColor = MAINRUINCOLOR
  5952. v.Material = "Neon"
  5953. end
  5954. end
  5955. for i, v in pairs(m:GetChildren()) do
  5956. if v:IsA("Part") then
  5957. v.BrickColor = BrickColor.new("White")
  5958. v.Material = "Ice"
  5959. end
  5960. end
  5961. for i, v in pairs(m2:GetChildren()) do
  5962. if v:IsA("Part") then
  5963. v.BrickColor = BrickColor.new("Pastel light blue")
  5964. v.Material = "Glass"
  5965. end
  5966. end
  5967. for i, v in pairs(m3:GetChildren()) do
  5968. if v:IsA("Part") then
  5969. v.BrickColor = BrickColor.new("Toothpaste")
  5970. v.Material = "Neon"
  5971. end
  5972. end
  5973. for i, v in pairs(extrawingmod1:GetChildren()) do
  5974. if v:IsA("Part") then
  5975. v.Transparency = 1
  5976. v.BrickColor = BrickColor.new("White")
  5977. v.Material = "Neon"
  5978. end
  5979. end
  5980. for i, v in pairs(extrawingmod2:GetChildren()) do
  5981. if v:IsA("Part") then
  5982. v.Transparency = 1
  5983. v.BrickColor = BrickColor.new("White")
  5984. v.Material = "Neon"
  5985. end
  5986. end
  5987. elseif k == "q" and attack == false and ModeOfGlitch == 2 then
  5988. resetmode()
  5989. end
  5990. if k == "f" and attack == false and ModeOfGlitch ~= 69 then
  5991. lustmode()
  5992. elseif k == "f" and attack == false and ModeOfGlitch == 69 then
  5993. resetmode()
  5994. end
  5995. if k == "m" and attack == false and ModeOfGlitch == 1 then
  5996. RiddleMeThisRiddleMeThat()
  5997. elseif k == "m" and attack == false and ModeOfGlitch == 8376532578634534 then
  5998. resetmode()
  5999. end
  6000. if k == "e" and attack == false and ModeOfGlitch ~= 3 then
  6001. ModeOfGlitch = 3
  6002. storehumanoidWS = 16
  6003. hum.WalkSpeed = 16
  6004. rainbowmode = false
  6005. chaosmode = false
  6006. glitchymode = true
  6007. tl1.Enabled = true
  6008. tl2.Enabled = true
  6009. tl3.Enabled = true
  6010. RecolorTextAndRename("gLiTcHy",Color3.new(0,0,0),Color3.new(0.35,0,1))
  6011. newTheme("rbxassetid://1274310715",0,.93,1.25) -- 474074203
  6012. pcall(function() Character.ReaperShadowHead.Eye1.BrickColor = BrickColor.new'White' end)
  6013. pcall(function() Character.ReaperShadowHead.Eye2.BrickColor = BrickColor.new'White' end)
  6014. MAINRUINCOLOR = BrickColor.new("White")
  6015. for i, v in pairs(mw2:GetChildren()) do
  6016. if v:IsA("Part") then
  6017. v.BrickColor = MAINRUINCOLOR
  6018. v.Material = "Neon"
  6019. end
  6020. end
  6021. for i, v in pairs(mw1:GetChildren()) do
  6022. if v:IsA("Part") then
  6023. v.Transparency = 0
  6024. v.BrickColor = MAINRUINCOLOR
  6025. v.Material = "Neon"
  6026. end
  6027. end
  6028. for i, v in pairs(m:GetChildren()) do
  6029. if v:IsA("Part") then
  6030. v.BrickColor = BrickColor.new("Really black")
  6031. v.Material = "Ice"
  6032. end
  6033. end
  6034. for i, v in pairs(m2:GetChildren()) do
  6035. if v:IsA("Part") then
  6036. v.BrickColor = BrickColor.new("Dark indigo")
  6037. v.Material = "Glass"
  6038. end
  6039. end
  6040. for i, v in pairs(m3:GetChildren()) do
  6041. if v:IsA("Part") then
  6042. v.Transparency = 1
  6043. v.BrickColor = BrickColor.new("Royal purple")
  6044. v.Material = "Neon"
  6045. end
  6046. end
  6047. for i, v in pairs(extrawingmod1:GetChildren()) do
  6048. if v:IsA("Part") then
  6049. v.Transparency = 1
  6050. v.BrickColor = BrickColor.new("White")
  6051. v.Material = "Neon"
  6052. end
  6053. end
  6054. for i, v in pairs(extrawingmod2:GetChildren()) do
  6055. if v:IsA("Part") then
  6056. v.Transparency = 1
  6057. v.BrickColor = BrickColor.new("White")
  6058. v.Material = "Neon"
  6059. end
  6060. end
  6061. elseif k == "e" and attack == false and ModeOfGlitch == 3 then
  6062. resetmode()
  6063. end
  6064. if k == "r" and attack == false and ModeOfGlitch ~= 4 then
  6065. ModeOfGlitch = 4
  6066. storehumanoidWS = 16
  6067. hum.WalkSpeed = 16
  6068. rainbowmode = false
  6069. glitchymode = false
  6070. chaosmode = true
  6071. tl1.Enabled = true
  6072. tl2.Enabled = true
  6073. tl3.Enabled = true
  6074. RecolorTextAndRename("CHAOS",Color3.new(0,0,0),BrickColor.random().Color)
  6075. newTheme("rbxassetid://1369263130",0,1,1)
  6076. MAINRUINCOLOR = BrickColor.new("Black")
  6077. tr1.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  6078. tr2.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  6079. tr3.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  6080. for i, v in pairs(mw2:GetChildren()) do
  6081. if v:IsA("Part") then
  6082. v.BrickColor = MAINRUINCOLOR
  6083. v.Material = "Neon"
  6084. end
  6085. end
  6086. for i, v in pairs(mw1:GetChildren()) do
  6087. if v:IsA("Part") then
  6088. v.Transparency = 0.75
  6089. v.BrickColor = BrickColor.random()
  6090. v.Material = "Neon"
  6091. end
  6092. end
  6093. for i, v in pairs(m:GetChildren()) do
  6094. if v:IsA("Part") then
  6095. v.BrickColor = BrickColor.new("Black")
  6096. v.Material = "Neon"
  6097. end
  6098. end
  6099. for i, v in pairs(m2:GetChildren()) do
  6100. if v:IsA("Part") then
  6101. v.BrickColor = BrickColor.random()
  6102. v.Material = "Neon"
  6103. end
  6104. end
  6105. for i, v in pairs(m3:GetChildren()) do
  6106. if v:IsA("Part") then
  6107. v.BrickColor = BrickColor.new("Black")
  6108. v.Material = "Neon"
  6109. end
  6110. end
  6111. for i, v in pairs(extrawingmod1:GetChildren()) do
  6112. if v:IsA("Part") then
  6113. v.Transparency = 1
  6114. v.BrickColor = BrickColor.new("White")
  6115. v.Material = "Neon"
  6116. end
  6117. end
  6118. for i, v in pairs(extrawingmod2:GetChildren()) do
  6119. if v:IsA("Part") then
  6120. v.Transparency = 1
  6121. v.BrickColor = BrickColor.new("White")
  6122. v.Material = "Neon"
  6123. end
  6124. end
  6125. elseif k == "r" and attack == false and ModeOfGlitch == 4 then
  6126. resetmode()
  6127. end
  6128.  
  6129. if k == "m" and attack == false and ModeOfGlitch == 4 then
  6130. insanitymode()
  6131. elseif k == "m" and attack == false and ModeOfGlitch == 666666 then
  6132. resetmode()
  6133. end
  6134. if k == "t" and attack == false and ModeOfGlitch ~= 5 then
  6135. ModeOfGlitch = 5
  6136. storehumanoidWS = 16
  6137. hum.WalkSpeed = 16
  6138. rainbowmode = false
  6139. chaosmode = false
  6140. glitchymode = false
  6141. tl1.Enabled = true
  6142. tl2.Enabled = true
  6143. tl3.Enabled = true
  6144. RecolorTextAndRename("Divinity",Color3.new(1,1,1),Color3.new(1,1,0.5))
  6145. newTheme("rbxassetid://661079869",0,1.02,1)
  6146. pcall(function() Character.ReaperShadowHead.Eye1.BrickColor = BrickColor.new'New Yeller' end)
  6147. pcall(function() Character.ReaperShadowHead.Eye2.BrickColor = BrickColor.new'New Yeller' end)
  6148. MAINRUINCOLOR = BrickColor.new("Bright yellow")
  6149. for i, v in pairs(mw2:GetChildren()) do
  6150. if v:IsA("Part") then
  6151. v.BrickColor = MAINRUINCOLOR
  6152. v.Material = "Neon"
  6153. end
  6154. end
  6155. for i, v in pairs(mw1:GetChildren()) do
  6156. if v:IsA("Part") then
  6157. v.Transparency = 0
  6158. v.BrickColor = MAINRUINCOLOR
  6159. v.Material = "Neon"
  6160. end
  6161. end
  6162. for i, v in pairs(m:GetChildren()) do
  6163. if v:IsA("Part") then
  6164. v.BrickColor = BrickColor.new("Cool yellow")
  6165. v.Material = "Ice"
  6166. end
  6167. end
  6168. for i, v in pairs(m2:GetChildren()) do
  6169. if v:IsA("Part") then
  6170. v.BrickColor = BrickColor.new("Bright yellow")
  6171. v.Material = "Ice"
  6172. end
  6173. end
  6174. for i, v in pairs(m3:GetChildren()) do
  6175. if v:IsA("Part") then
  6176. v.BrickColor = BrickColor.new("Bright yellow")
  6177. v.Material = "Neon"
  6178. end
  6179. end
  6180. for i, v in pairs(extrawingmod1:GetChildren()) do
  6181. if v:IsA("Part") then
  6182. v.Transparency = 1
  6183. v.BrickColor = BrickColor.new("White")
  6184. v.Material = "Neon"
  6185. end
  6186. end
  6187. for i, v in pairs(extrawingmod2:GetChildren()) do
  6188. if v:IsA("Part") then
  6189. v.Transparency = 1
  6190. v.BrickColor = BrickColor.new("White")
  6191. v.Material = "Neon"
  6192. end
  6193. end
  6194. elseif k == "t" and attack == false and ModeOfGlitch == 5 then
  6195. resetmode()
  6196. end
  6197. if k == "y" and attack == false and ModeOfGlitch ~= 6 then
  6198. ModeOfGlitch = 6
  6199. storehumanoidWS = 75
  6200. hum.WalkSpeed = 75
  6201. rainbowmode = false
  6202. chaosmode = false
  6203. glitchymode = false
  6204. tl1.Enabled = true
  6205. tl2.Enabled = true
  6206. tl3.Enabled = true
  6207. RecolorTextAndRename("Justice",Color3.new(0,0,0),Color3.new(1,1,1))
  6208. pcall(function() Character.ReaperShadowHead.Eye1.BrickColor = BrickColor.new'White' end)
  6209. pcall(function() Character.ReaperShadowHead.Eye2.BrickColor = BrickColor.new'White' end)
  6210. newTheme("rbxassetid://1102271169",0,1,1)
  6211. MAINRUINCOLOR = BrickColor.new("White")
  6212. for i, v in pairs(mw2:GetChildren()) do
  6213. if v:IsA("Part") then
  6214. v.BrickColor = MAINRUINCOLOR
  6215. v.Material = "Neon"
  6216. end
  6217. end
  6218. for i, v in pairs(mw1:GetChildren()) do
  6219. if v:IsA("Part") then
  6220. v.Transparency = 0
  6221. v.BrickColor = MAINRUINCOLOR
  6222. v.Material = "Neon"
  6223. end
  6224. end
  6225. for i, v in pairs(m:GetChildren()) do
  6226. if v:IsA("Part") then
  6227. v.BrickColor = BrickColor.new("White")
  6228. v.Material = "Ice"
  6229. end
  6230. end
  6231. for i, v in pairs(m2:GetChildren()) do
  6232. if v:IsA("Part") then
  6233. v.BrickColor = BrickColor.new("White")
  6234. v.Material = "Ice"
  6235. end
  6236. end
  6237. for i, v in pairs(m3:GetChildren()) do
  6238. if v:IsA("Part") then
  6239. v.BrickColor = BrickColor.new("White")
  6240. v.Material = "Neon"
  6241. end
  6242. end
  6243. for i, v in pairs(extrawingmod1:GetChildren()) do
  6244. if v:IsA("Part") then
  6245. v.Transparency = 1
  6246. v.BrickColor = BrickColor.new("White")
  6247. v.Material = "Neon"
  6248. end
  6249. end
  6250. for i, v in pairs(extrawingmod2:GetChildren()) do
  6251. if v:IsA("Part") then
  6252. v.Transparency = 1
  6253. v.BrickColor = BrickColor.new("White")
  6254. v.Material = "Neon"
  6255. end
  6256. end
  6257. elseif k == "y" and attack == false and ModeOfGlitch == 6 then
  6258. resetmode()
  6259. end
  6260. if k == "u" and attack == false then
  6261.  
  6262. storehumanoidWS = 50
  6263. hum.WalkSpeed = 50
  6264. rainbowmode = true
  6265. chaosmode = false
  6266. glitchymode = false
  6267. tl1.Enabled = true
  6268. tl2.Enabled = true
  6269. tl3.Enabled = true
  6270.  
  6271. if(ModeOfGlitch == 6127843)then
  6272. vaporwave = not vaporwave
  6273. end
  6274.  
  6275. if(not vaporwave)then
  6276. RecolorTextAndRename("RAINBOW",Color3.new(1,1,1),Color3.new(1,1,1))
  6277. newTheme("rbxassetid://147930134",0,1,1)
  6278. else
  6279. RecolorTextAndRename("Vaporwave",Color3.new(1,1,1),Color3.new(1,1,1))
  6280. newTheme("rbxassetid://1308711379",0,1,1)
  6281. end
  6282.  
  6283.  
  6284. ModeOfGlitch = 6127843
  6285. MAINRUINCOLOR = BrickColor.new("White")
  6286. for i, v in pairs(mw2:GetChildren()) do
  6287. if v:IsA("Part") then
  6288. v.BrickColor = MAINRUINCOLOR
  6289. v.Material = "Neon"
  6290. end
  6291. end
  6292. for i, v in pairs(mw1:GetChildren()) do
  6293. if v:IsA("Part") then
  6294. v.Transparency = 0
  6295. v.BrickColor = MAINRUINCOLOR
  6296. v.Material = "Neon"
  6297. end
  6298. end
  6299. for i, v in pairs(m:GetChildren()) do
  6300. if v:IsA("Part") then
  6301. v.BrickColor = BrickColor.new("White")
  6302. v.Material = "Neon"
  6303. end
  6304. end
  6305. for i, v in pairs(m2:GetChildren()) do
  6306. if v:IsA("Part") then
  6307. v.BrickColor = BrickColor.new("White")
  6308. v.Material = "Neon"
  6309. end
  6310. end
  6311. for i, v in pairs(m3:GetChildren()) do
  6312. if v:IsA("Part") then
  6313. v.BrickColor = BrickColor.new("White")
  6314. v.Material = "Neon"
  6315. end
  6316. end
  6317. for i, v in pairs(extrawingmod1:GetChildren()) do
  6318. if v:IsA("Part") then
  6319. v.Transparency = 1
  6320. v.BrickColor = BrickColor.new("White")
  6321. v.Material = "Neon"
  6322. end
  6323. end
  6324. for i, v in pairs(extrawingmod2:GetChildren()) do
  6325. if v:IsA("Part") then
  6326. v.Transparency = 1
  6327. v.BrickColor = BrickColor.new("White")
  6328. v.Material = "Neon"
  6329. end
  6330. end
  6331. elseif k == "u" and attack == false and ModeOfGlitch == 6127843 then
  6332. resetmode()
  6333. end
  6334. if k == "p" and attack == false and ModeOfGlitch ~= 1000000 then
  6335. ModeOfGlitch = 1000000
  6336. storehumanoidWS = 100
  6337. hum.WalkSpeed = 100
  6338. rainbowmode = false
  6339. chaosmode = false
  6340. glitchymode = false
  6341. tl1.Enabled = true
  6342. tl2.Enabled = true
  6343. tl3.Enabled = true
  6344. RecolorTextAndRename("CALAMITY",Color3.new(0.25,0,1),Color3.new(0.5,0,1))
  6345. pcall(function() Character.ReaperShadowHead.Eye1.BrickColor = BrickColor.new'Bright violet' end)
  6346. pcall(function() Character.ReaperShadowHead.Eye2.BrickColor = BrickColor.new'Bright violet' end)
  6347. newTheme("rbxassetid://1359036559",0,1,1)
  6348. MAINRUINCOLOR = BrickColor.new("Bright violet")
  6349. tl1.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  6350. tl2.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  6351. tl3.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  6352. for i, v in pairs(mw2:GetChildren()) do
  6353. if v:IsA("Part") then
  6354. v.BrickColor = MAINRUINCOLOR
  6355. v.Material = "Neon"
  6356. end
  6357. end
  6358. for i, v in pairs(mw1:GetChildren()) do
  6359. if v:IsA("Part") then
  6360. v.Transparency = 0
  6361. v.BrickColor = MAINRUINCOLOR
  6362. v.Material = "Neon"
  6363. end
  6364. end
  6365. for i, v in pairs(m:GetChildren()) do
  6366. if v:IsA("Part") then
  6367. v.Color = Color3.new(0.5,0,1)
  6368. v.Material = "Neon"
  6369. end
  6370. end
  6371. for i, v in pairs(m2:GetChildren()) do
  6372. if v:IsA("Part") then
  6373. v.Color = Color3.new(0.25,0,1)
  6374. v.Material = "Neon"
  6375. end
  6376. end
  6377. for i, v in pairs(m3:GetChildren()) do
  6378. if v:IsA("Part") then
  6379. v.Color = Color3.new(0.45,0,1)
  6380. v.Material = "Neon"
  6381. end
  6382. end
  6383. for i, v in pairs(extrawingmod1:GetChildren()) do
  6384. if v:IsA("Part") then
  6385. v.Transparency = 0.75
  6386. v.Color = Color3.new(0.25,0,1)
  6387. v.Material = "Neon"
  6388. end
  6389. end
  6390. for i, v in pairs(extrawingmod2:GetChildren()) do
  6391. if v:IsA("Part") then
  6392. v.Transparency = 0.75
  6393. v.Color = Color3.new(0.5,0,1)
  6394. v.Material = "Neon"
  6395. end
  6396. end
  6397. elseif k == "p" and attack == false and ModeOfGlitch == 1000000 then
  6398. resetmode()
  6399. end
  6400. if k == "m" and attack == false and ModeOfGlitch == 1000000 and ModeOfGlitch ~= 12345678987654321 and (plr.Name == 'Noobygames12' or plr.UserId == 5719877 or AllowCata) then
  6401. newThemeCust("rbxassetid://1504604335",0,1,1)
  6402. attack = true
  6403. hum.WalkSpeed = 0
  6404. MAINRUINCOLOR = BrickColor.new("Royal purple")
  6405. for i = 0, 24, 0.1 do
  6406. swait()
  6407. sphereMK(1,-2,"Add",tors.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),2.5,2.5,15,-0.025,MAINRUINCOLOR,100)
  6408. RH.C0=clerp(RH.C0,cf(1,-0.05,-0.75)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-30)),.1)
  6409. LH.C0=clerp(LH.C0,cf(-1,-0.5,-0.25)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(30)),.1)
  6410. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1.5 + 0.1 * math.cos(sine / 28))*angles(math.rad(20 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(0)),.1)
  6411. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(55),math.rad(0),math.rad(0)),.1)
  6412. RW.C0=clerp(RW.C0,cf(0.75,0.5,-0.25)*angles(math.rad(140),math.rad(0),math.rad(-20 + 2.5 * math.cos(sine / 28))),.1)
  6413. LW.C0=clerp(LW.C0,cf(-0.75,0.5,-0.25)*angles(math.rad(140),math.rad(0),math.rad(20 - 2.5 * math.cos(sine / 28))),.1)
  6414. end
  6415. CameraEnshaking(1,1)
  6416. sphere(5,"Add",root.CFrame,vt(0,0,0),2.5,MAINRUINCOLOR)
  6417. CFuncs["Sound"].Create("rbxassetid://847061203", char, 0.5,1)
  6418. wait(0.55)
  6419. CameraEnshaking(1,2)
  6420. sphere(5,"Add",root.CFrame,vt(0,0,0),7.5,MAINRUINCOLOR)
  6421. sphere(5,"Add",root.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  6422. sphere(5,"Add",root.CFrame,vt(0,0,0),2.5,MAINRUINCOLOR)
  6423. CFuncs["Sound"].Create("rbxassetid://847061203", char, 1,1)
  6424. wait(0.55)
  6425. CameraEnshaking(1,3)
  6426. sphere(5,"Add",root.CFrame,vt(0,0,0),12.5,MAINRUINCOLOR)
  6427. sphere(5,"Add",root.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
  6428. sphere(5,"Add",root.CFrame,vt(0,0,0),7.5,MAINRUINCOLOR)
  6429. sphere(5,"Add",root.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  6430. sphere(5,"Add",root.CFrame,vt(0,0,0),2.5,MAINRUINCOLOR)
  6431. CFuncs["Sound"].Create("rbxassetid://847061203", char, 2,1)
  6432. wait(0.55)
  6433. CameraEnshaking(10,5)
  6434. CFuncs["Sound"].Create("rbxassetid://741272936", char, 1, 1)
  6435. CFuncs["Sound"].Create("rbxassetid://164881112", char, 1, 1)
  6436. CFuncs["Sound"].Create("rbxassetid://1192402877", char, 1, 1)
  6437. CFuncs["Sound"].Create("rbxassetid://429123896", char, 1, 0.85)
  6438. CFuncs["Sound"].Create("rbxassetid://1208650519", char, 1, 1)
  6439. sphere(1,"Add",root.CFrame,vt(0,0,0),2,MAINRUINCOLOR)
  6440. sphere(2,"Add",root.CFrame,vt(0,0,0),4,MAINRUINCOLOR)
  6441. sphere(3,"Add",root.CFrame,vt(0,0,0),6,MAINRUINCOLOR)
  6442. sphere(4,"Add",root.CFrame,vt(0,0,0),8,MAINRUINCOLOR)
  6443. sphere(5,"Add",root.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
  6444. sphere(6,"Add",root.CFrame,vt(0,0,0),12,MAINRUINCOLOR)
  6445. sphere(7,"Add",root.CFrame,vt(0,0,0),14,MAINRUINCOLOR)
  6446. sphere(8,"Add",root.CFrame,vt(0,0,0),16,MAINRUINCOLOR)
  6447. sphere(9,"Add",root.CFrame,vt(0,0,0),18,MAINRUINCOLOR)
  6448. sphere(10,"Add",root.CFrame,vt(0,0,0),20,MAINRUINCOLOR)
  6449. for i = 0, 49 do
  6450. sphereMK(1,3,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),50,50,200,-1,MAINRUINCOLOR,0)
  6451. sphereMK(2,6,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),50,50,150,-0.5,MAINRUINCOLOR,0)
  6452. sphereMK(3,9,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),50,50,100,-0.5,MAINRUINCOLOR,0)
  6453. sphereMK(4,12,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),50,50,50,-0.5,MAINRUINCOLOR,0)
  6454. end
  6455. ModeOfGlitch = 12345678987654321
  6456. storehumanoidWS = 200
  6457. hum.WalkSpeed = 200
  6458. rainbowmode = false
  6459. chaosmode = false
  6460. glitchymode = false
  6461. tl1.Enabled = true
  6462. tl2.Enabled = true
  6463. tl3.Enabled = true
  6464. pcall(function() Character.ReaperShadowHead.Eye1.BrickColor = BrickColor.new'Dark indigo' end)
  6465. pcall(function() Character.ReaperShadowHead.Eye2.BrickColor = BrickColor.new'Dark indigo' end)
  6466. RecolorTextAndRename("CATASTROPHE",Color3.new(0.5,0,1),Color3.new(0.75,0,1))
  6467. tl1.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  6468. tl2.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  6469. tl3.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  6470. for i, v in pairs(mw2:GetChildren()) do
  6471. if v:IsA("Part") then
  6472. v.BrickColor = MAINRUINCOLOR
  6473. v.Material = "Neon"
  6474. end
  6475. end
  6476. for i, v in pairs(mw1:GetChildren()) do
  6477. if v:IsA("Part") then
  6478. v.Transparency = 0
  6479. v.BrickColor = MAINRUINCOLOR
  6480. v.Material = "Neon"
  6481. end
  6482. end
  6483. for i, v in pairs(m:GetChildren()) do
  6484. if v:IsA("Part") then
  6485. v.Color = Color3.new(0.5,0,1)
  6486. v.Material = "Neon"
  6487. end
  6488. end
  6489. for i, v in pairs(m2:GetChildren()) do
  6490. if v:IsA("Part") then
  6491. v.Color = Color3.new(0.5,0,1)
  6492. v.Material = "Neon"
  6493. end
  6494. end
  6495. for i, v in pairs(m3:GetChildren()) do
  6496. if v:IsA("Part") then
  6497. v.Color = Color3.new(0.5,0,1)
  6498. v.Material = "Neon"
  6499. end
  6500. end
  6501. for i, v in pairs(extrawingmod1:GetChildren()) do
  6502. if v:IsA("Part") then
  6503. v.Transparency = 0
  6504. v.Color = Color3.new(0.5,0,1)
  6505. v.Material = "Neon"
  6506. end
  6507. end
  6508. for i, v in pairs(extrawingmod2:GetChildren()) do
  6509. if v:IsA("Part") then
  6510. v.Transparency = 0
  6511. v.Color = Color3.new(0.5,0,1)
  6512. v.Material = "Neon"
  6513. end
  6514. attack = false
  6515. end
  6516. elseif k == "m" and attack == false and ModeOfGlitch == 12345678987654321 then
  6517. resetmode()
  6518. end
  6519. if k == "l" and toggleTag == false then
  6520. toggleTag = true
  6521. text.TextTransparency = 0
  6522. text.TextStrokeTransparency = 0
  6523. elseif k == "l" and toggleTag == true then
  6524. toggleTag = false
  6525. text.TextTransparency = 1
  6526. text.TextStrokeTransparency = 1
  6527. end
  6528. if k == "z" and attack == false and (ModeOfGlitch == 1 or ModeOfGlitch == 8376532578634534) then
  6529. ExtinctiveHeartbreak()
  6530. elseif k == "z" and attack == false and ModeOfGlitch == 2 then
  6531. PureBomb()
  6532. elseif k == "z" and attack == false and ModeOfGlitch == 3 then
  6533. scattercorrupt()
  6534. elseif k == "z" and attack == false and ModeOfGlitch == 5 then
  6535. Judgement()
  6536. elseif k == "z" and attack == false and ModeOfGlitch == 4 then
  6537. ChaosGroundStrike()
  6538. elseif k == "z" and attack == false and ModeOfGlitch == 666666 then
  6539. InsaneGroundStrike()
  6540.  
  6541. elseif k == "z" and attack == false and ModeOfGlitch == 69 then
  6542. ChooseODer()
  6543. elseif k == "z" and attack == false and ModeOfGlitch == 1000000 then
  6544. Starfall()
  6545. elseif k == "z" and attack == false and ModeOfGlitch == 6 then
  6546. yinyangi()
  6547. elseif k == "z" and attack == false and ModeOfGlitch == 6127843 then
  6548. Wip()
  6549. elseif k == "z" and attack == false and ModeOfGlitch == 12345678987654321 then
  6550. StarfallEX()
  6551. end
  6552. if k == "x" and attack == false and ModeOfGlitch == 1000000 then
  6553. StarDivision()
  6554. elseif k == "x" and attack == false and ModeOfGlitch == 6 then
  6555. JusticeBeam()
  6556. end
  6557. if k == "v" and attack == false and ModeOfGlitch == 12345678987654321 then
  6558. UniversalCollapse()
  6559. end
  6560. if k == "b" and attack == false and ModeOfGlitch == 4 then
  6561.  
  6562. end
  6563. if k == "n" and attack == false then
  6564. CorruptBlink()
  6565. end
  6566. if k == "m" and attack == false and ModeOfGlitch == 69 and AllowRape then
  6567. FuckMeSidewaysAndCallMeGay()
  6568. end
  6569. end)
  6570. coroutine.resume(coroutine.create(function()
  6571. while true do
  6572. swait(2)
  6573. if rainbowmode == true or ModeOfGlitch == 6 or glitchymode then
  6574. sphereMK(5,0.15,"Add",root.CFrame*CFrame.new(math.random(-5,5),-6,math.random(-5,5))*CFrame.Angles(math.rad(90),0,0),1.5,1.5,10,-0.015,MAINRUINCOLOR,0)
  6575. end
  6576.  
  6577. end
  6578. end))
  6579.  
  6580.  
  6581. coroutine.resume(coroutine.create(function()
  6582. while true do
  6583. if ModeOfGlitch == 1000000 then
  6584. swait(0.5)
  6585. end
  6586. swait()
  6587. if ModeOfGlitch == 1000000 or ModeOfGlitch == 12345678987654321 then
  6588. sphereMK(5,0.5,"Add",root.CFrame*CFrame.new(math.random(-25,25),-10,math.random(-25,25))*CFrame.Angles(math.rad(90 + math.random(-15,15)),math.rad(math.random(-15,15)),0),1,1,15,-0.01,MAINRUINCOLOR,0)
  6589. end
  6590. if ModeOfGlitch == 12345678987654321 then
  6591. sphereMK(5,math.random(1,2),"Add",root.CFrame*CFrame.new(math.random(-75,75),-25,math.random(-75,75))*CFrame.Angles(math.rad(90 + math.random(-25,25)),math.rad(math.random(-25,25)),0),1,1,50,-0.01,MAINRUINCOLOR,0)
  6592. end
  6593. end
  6594. end))
  6595.  
  6596.  
  6597. function RandomMaterial()
  6598. local getRandom;
  6599. local material;
  6600. local function IsTerrainMaterial(mat)
  6601. local isMaterial = pcall(function() workspace:FindFirstChildOfClass'Terrain':GetMaterialColor(mat) end)
  6602. return isMaterial
  6603. end
  6604. getRandom = function()
  6605. local mat = Enum.Material:GetEnumItems()[math.random(1,#Enum.Material:GetEnumItems())]
  6606. if(not IsTerrainMaterial(mat))then material = mat else getRandom() end
  6607. end
  6608. getRandom()
  6609. repeat wait() until material
  6610. return material
  6611. end
  6612. function RandomCaps(str)
  6613. local new = ""
  6614. for i = 1, #str do
  6615. if(math.random(1,2) == 1)then
  6616. new = new .. (str:sub(i,i):upper())
  6617. else
  6618. new = new .. str:sub(i,i)
  6619. end
  6620. end
  6621. return new
  6622. end
  6623.  
  6624. coroutine.resume(coroutine.create(function()
  6625. while true do
  6626. for i = 1, #ODers do
  6627. local ODer = ODers[i]
  6628. if(ODer)then
  6629. local hed = ODer:FindFirstChild'Head'
  6630. if(ODer.Parent and hed)then
  6631. sphere(10,"Add",hed.CFrame * cf(0,4,0),vt(6,6,3),0,(ODer.Name == 'Nebula_Zorua' and BrickColor.new'Royal purple' or MAINRUINCOLOR),true,false,true)
  6632. else
  6633. table.remove(ODers,i)
  6634. end
  6635. else
  6636. table.remove(ODers,i)
  6637. end
  6638. end
  6639. if(not kan)then
  6640. kan = Instance.new("Sound",char)
  6641. end
  6642. kan.Parent = char
  6643. if(plr.UserId == 5719877)then kan.Volume = 3 else kan.Volume = 1 end
  6644. kan.Pitch = Pitch
  6645. kan.SoundId = MID
  6646. kan.Name = "wrecked"
  6647. kan.Looped = true
  6648. kan:Resume()
  6649. swait()
  6650. if glitchymode == true then
  6651. local val = math.random(1,255)
  6652. local color = Color3.fromRGB(val,val,val)
  6653. pcall(function() Character.ReaperShadowHead.Eye1.Color = color end)
  6654. pcall(function() Character.ReaperShadowHead.Eye2.Color = color end)
  6655. tl1.Color = ColorSequence.new(color)
  6656. tl2.Color = ColorSequence.new(color)
  6657. tl3.Color = ColorSequence.new(color)
  6658. tr1.Color = ColorSequence.new(color)
  6659. tr2.Color = ColorSequence.new(color)
  6660. tr3.Color = ColorSequence.new(color)
  6661. for i, v in pairs(mw1:GetChildren()) do
  6662. if v:IsA("Part") then
  6663. v.Transparency = 0
  6664. v.Color = color
  6665. v.Material = "Neon"
  6666. end
  6667. end
  6668. for i, v in pairs(mw2:GetChildren()) do
  6669. if v:IsA("Part") then
  6670. v.Color = color
  6671. v.Material = "Neon"
  6672. end
  6673. end
  6674. for i, v in pairs(m2:GetChildren()) do
  6675. if v:IsA("Part") then
  6676. v.Color = color
  6677. v.Material = "Neon"
  6678. end
  6679. end
  6680. RecolorTextAndRename((ModeOfGlitch == 3 and RandomCaps"glitchy"),Color3.new(0,0,0),color)
  6681. end
  6682. if chaosmode or glitchymode then
  6683. pcall(function() Character.ReaperShadowHead.Eye1.Material = Enum.Material:GetEnumItems()[math.random(1,#Enum.Material:GetEnumItems())] end)
  6684. pcall(function() Character.ReaperShadowHead.Eye2.Material = Enum.Material:GetEnumItems()[math.random(1,#Enum.Material:GetEnumItems())] end)
  6685. else
  6686. pcall(function() Character.ReaperShadowHead.Eye1.Material = Enum.Material.Neon end)
  6687. pcall(function() Character.ReaperShadowHead.Eye2.Material = Enum.Material.Neon end)
  6688. end
  6689. if chaosmode == true then
  6690. tl1.Color = ColorSequence.new(BrickColor.random().Color)
  6691. tl2.Color = ColorSequence.new(BrickColor.random().Color)
  6692. tl3.Color = ColorSequence.new(BrickColor.random().Color)
  6693. RecolorTextAndRename((ModeOfGlitch == 666666 and "INSANITY" or "CHAOS"),Color3.new(0,0,0),BrickColor.random().Color)
  6694. pcall(function() Character.ReaperShadowHead.Eye1.BrickColor = BrickColor.random() end)
  6695. pcall(function() Character.ReaperShadowHead.Eye2.BrickColor = BrickColor.random() end)
  6696. for i, v in pairs(mw1:GetChildren()) do
  6697. if v:IsA("Part") then
  6698. v.Transparency = 0.75
  6699. v.BrickColor = BrickColor.random()
  6700. v.Material = "Neon"
  6701. end
  6702. end
  6703. for i, v in pairs(extrawingmod1:GetChildren()) do
  6704. if v:IsA("Part") and ModeOfGlitch == 666666 then
  6705. v.Transparency = 0.75
  6706. v.BrickColor = BrickColor.random()
  6707. v.Material = "Neon"
  6708. elseif v:IsA("Part") then
  6709. v.Transparency = 1
  6710. end
  6711. end
  6712. for i, v in pairs(m2:GetChildren()) do
  6713. if v:IsA("Part") then
  6714. v.BrickColor = BrickColor.random()
  6715. v.Material = "Neon"
  6716. end
  6717. end
  6718. end
  6719. end
  6720. end))
  6721. Humanoid.Name = "STARGLITCHER"
  6722. Humanoid.MaxHealth = math.huge
  6723. Humanoid.Health = math.huge
  6724. Instance.new("ForceField",char).Visible = false
  6725. Humanoid.Animator.Parent = nil
  6726. idleanim=.4
  6727. while true do
  6728. if rainbowmode == false and chaosmode == false and glitchymode == false then
  6729. tr1.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  6730. tr2.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  6731. tr3.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  6732. tl1.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  6733. tl2.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  6734. tl3.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  6735. end
  6736. if rainbowmode == true then
  6737. pcall(function() Character.ReaperShadowHead.Eye1.Color = Color3.new(r/255,g/255,b/255) end)
  6738. pcall(function() Character.ReaperShadowHead.Eye2.Color = Color3.new(r/255,g/255,b/255) end)
  6739. if(not vaporwave)then
  6740. RecolorTextAndRename("RAINBOW",Color3.new(r/255,g/255,b/255),Color3.new(r/500,g/500,b/500))
  6741. else
  6742. RecolorTextAndRename("Vaporwave",Color3.new(r/255,g/255,b/255),Color3.new(r/500,g/500,b/500))
  6743. end
  6744. MAINRUINCOLOR = BrickColor.new("White")
  6745. tr1.Color = ColorSequence.new(Color3.new(r/255,g/255,b/255))
  6746. tr2.Color = ColorSequence.new(Color3.new(r/255,g/255,b/255))
  6747. tr3.Color = ColorSequence.new(Color3.new(r/255,g/255,b/255))
  6748. tl1.Color = ColorSequence.new(Color3.new(r/255,g/255,b/255))
  6749. tl2.Color = ColorSequence.new(Color3.new(r/255,g/255,b/255))
  6750. tl3.Color = ColorSequence.new(Color3.new(r/255,g/255,b/255))
  6751. for i, v in pairs(m:GetChildren()) do
  6752. if v:IsA("Part") then
  6753. v.Color = Color3.new(r/255,g/255,b/255)
  6754. end
  6755. end
  6756. for i, v in pairs(m2:GetChildren()) do
  6757. if v:IsA("Part") then
  6758. v.Color = Color3.new(r/255,g/255,b/255)
  6759. end
  6760. end
  6761. for i, v in pairs(m3:GetChildren()) do
  6762. if v:IsA("Part") then
  6763. v.Color = Color3.new(r/255,g/255,b/255)
  6764. end
  6765. end
  6766. for i, v in pairs(mw1:GetChildren()) do
  6767. if v:IsA("Part") then
  6768. v.Color = Color3.new(r/255,g/255,b/255)
  6769. v.Material = "Neon"
  6770. end
  6771. end
  6772. for i, v in pairs(mw2:GetChildren()) do
  6773. if v:IsA("Part") then
  6774. v.Color = Color3.new(r/255,g/255,b/255)
  6775. v.Material = "Neon"
  6776. end
  6777. end
  6778. end
  6779. CameraManager()
  6780. swait()
  6781. 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)
  6782. 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)
  6783. 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)
  6784. lwing4weld.C1=clerp(lwing4weld.C1,cf(4.75,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)
  6785. lwing5weld.C1=clerp(lwing5weld.C1,cf(5.75,4,0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(25 + 30 * math.cos(sine / 32)),math.rad(0),math.rad(62.5 + 15 * math.cos(sine / 32))),.3)
  6786. lwing6weld.C1=clerp(lwing6weld.C1,cf(6.75,5,0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(30 + 35 * math.cos(sine / 32)),math.rad(0),math.rad(75 + 17.5 * math.cos(sine / 32))),.3)
  6787.  
  6788. 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)
  6789. 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)
  6790. 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)
  6791. rwing4weld.C1=clerp(rwing4weld.C1,cf(-4.75,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)
  6792. rwing5weld.C1=clerp(rwing5weld.C1,cf(-5.75,4,0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(25 + 30 * math.cos(sine / 32)),math.rad(0),math.rad(-62.5 - 15 * math.cos(sine / 32))),.3)
  6793. rwing6weld.C1=clerp(rwing6weld.C1,cf(-6.75,5,0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(30 + 35 * math.cos(sine / 32)),math.rad(0),math.rad(-75 - 17.5 * math.cos(sine / 32))),.3)
  6794. sine = sine + change
  6795. local torvel=(RootPart.Velocity*Vector3.new(1,0,1)).magnitude
  6796. local velderp=RootPart.Velocity.y
  6797. hitfloor,posfloor=rayCast(RootPart.Position,(CFrame.new(RootPart.Position,RootPart.Position - Vector3.new(0,1,0))).lookVector,4,Character)
  6798. if equipped==true or equipped==false then
  6799. if attack==false then
  6800. idle=idle+1
  6801. else
  6802. idle=0
  6803. end
  6804. if idle>=500 then
  6805. if attack==false then
  6806. --Sheath()
  6807. end
  6808. end
  6809. if RootPart.Velocity.y > 1 and hitfloor==nil then
  6810. Anim="Jump"
  6811. if attack==false then
  6812. RH.C0=clerp(RH.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)
  6813. 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)
  6814. 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)
  6815. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-2.5),math.rad(0),math.rad(0)),.1)
  6816. 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)
  6817. 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)
  6818. end
  6819. elseif RootPart.Velocity.y < -1 and hitfloor==nil then
  6820. Anim="Fall"
  6821. if attack==false then
  6822. RH.C0=clerp(RH.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)
  6823. 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)
  6824. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.05 * math.cos(sine / 25))*angles(math.rad(0),math.rad(0),math.rad(0)),.1)
  6825. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(0)),.1)
  6826. RW.C0=clerp(RW.C0,cf(1.45,0.5 + 0.1 * math.cos(sine / 25),0)*angles(math.rad(-20),math.rad(0),math.rad(50)),.1)
  6827. LW.C0=clerp(LW.C0,cf(-1.45,0.5 + 0.1 * math.cos(sine / 25),0)*angles(math.rad(-20),math.rad(0),math.rad(-50)),.1)
  6828. end
  6829. elseif torvel<1 and hitfloor~=nil then
  6830. Anim="Idle"
  6831. if attack==false then
  6832. if ModeOfGlitch == 1 then
  6833. RH.C0=clerp(RH.C0,cf(1,-1 - 0.1 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-10 - 2.5 * math.cos(sine / 32)),math.rad(-20),math.rad(0)),.1)
  6834. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.1 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(-10 + 2.5 * math.cos(sine / 32))),.1)
  6835. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.1 * math.cos(sine / 32))*angles(math.rad(10 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(20)),.1)
  6836. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(25 - 2.5 * math.cos(sine / 32)),math.rad(0 - 15 * math.cos(sine / 0.25)),math.rad(-20 - 5 * math.cos(sine / 0.465))),.1)
  6837. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(10),math.rad(-20),math.rad(30 + 2.5 * math.cos(sine / 25))),.1)
  6838. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(160),math.rad(0),math.rad(25)),.1)
  6839.  
  6840. elseif ModeOfGlitch == 2 or ModeOfGlitch == 6127843 then
  6841. 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(-7.5),math.rad(0),math.rad(0 + 1 * math.cos(sine / 34))),.1)
  6842. 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(0 + 1 * math.cos(sine / 34))),.1)
  6843. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.05 * math.cos(sine / 28))*angles(math.rad(0 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(0)),.1)
  6844. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(15 - 2.5 * math.cos(sine / 28)),math.rad(0),math.rad(0)),.1)
  6845. RW.C0=clerp(RW.C0,cf(0.85,0.5 + 0.1 * math.cos(sine / 28),-0.65)*angles(math.rad(30 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(-100 - 2.5 * math.cos(sine / 28))),.1)
  6846. LW.C0=clerp(LW.C0,cf(-0.85,0.5 + 0.1 * math.cos(sine / 28),-0.65)*angles(math.rad(40 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(90 + 2.5 * math.cos(sine / 28))),.1)
  6847.  
  6848. elseif ModeOfGlitch == 3 then
  6849. 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(0 - 1 * math.cos(sine / 34))),.1)
  6850. 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(20),math.rad(0 + 1 * math.cos(sine / 34))),.1)
  6851. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.05 * math.cos(sine / 28))*angles(math.rad(0 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(-20)),.1)
  6852. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(15 - 15 * math.cos(sine / 0.5265)),math.rad(0 - 15 * math.cos(sine / 0.25)),math.rad(0 - 15 * math.cos(sine / 0.465)))*angles(math.rad(10 - 2.5 * math.cos(sine / 28)),math.rad(0),math.rad(20)),.1)
  6853. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(15 - 15 * math.cos(sine / 0.5265)),math.rad(0 - 15 * math.cos(sine / 0.25)),math.rad(0 - 15 * math.cos(sine / 0.465)))*angles(math.rad(math.random(5,15)),math.rad(-5),math.rad(15 + 7.5 * math.cos(sine / 12.5))),.1)
  6854. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(15 - 15 * math.cos(sine / 0.5265)),math.rad(0 - 15 * math.cos(sine / 0.25)),math.rad(0 - 15 * math.cos(sine / 0.465)))*angles(math.rad(math.random(5,15)),math.rad(5),math.rad(-15 - 7.5 * math.cos(sine / 12.5))),.1)
  6855. elseif ModeOfGlitch == 4 then
  6856. RH.C0=clerp(RH.C0,cf(1,-1 - 0.025 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-1.5),math.rad(0),math.rad(20)),.1)
  6857. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.025 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-1.5),math.rad(0),math.rad(-20)),.1)
  6858. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.025 * math.cos(sine / 32))*angles(math.rad(20 - 0.5 * math.cos(sine / 32)),math.rad(0),math.rad(0)),.1)
  6859. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(30 - 5 * math.cos(sine / 0.5265)),math.rad(0 - 5 * math.cos(sine / 0.25)),math.rad(0 - 5 * math.cos(sine / 0.465))),.1)
  6860. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(10 + 2.5 * math.cos(sine / 0.252)),math.rad(0 + 2.5 * math.cos(sine / 0.123)),math.rad(5 + 2.5 * math.cos(sine / 0.6))),.1)
  6861. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(10 + 2.5 * math.cos(sine / 0.568)),math.rad(0 + 2.5 * math.cos(sine / 0.664)),math.rad(-5 + 2.5 * math.cos(sine / 0.23))),.1)
  6862. elseif ModeOfGlitch == 69 then
  6863. RootJoint.C0 = RootJoint.C0:lerp(cf(0,0,0)*angles(0,0,math.rad(0+5*math.cos(sine/16)))*RootCF,.1)
  6864. Torso.Neck.C0 = Torso.Neck.C0:lerp(necko*angles(0,0,-math.rad(0+5*math.cos(sine/16))),.1)
  6865. LH.C0 = LH.C0:lerp(cf(-1-math.rad(0+5*math.cos(sine/16)),-1+math.rad(0+5*math.cos(sine/16)),0)*angles(0,0,-math.rad(0+5*math.cos(sine/16)))*angles(math.rad(-15),math.rad(25),0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.1)
  6866. RH.C0 = RH.C0:lerp(cf(1-math.rad(0+5*math.cos(sine/16)),-1-math.rad(0+5*math.cos(sine/16)),0)*angles(0,0,-math.rad(0+5*math.cos(sine/16)))*angles(math.rad(0),math.rad(90),math.rad(0)),.1)
  6867. LW.C0 = LW.C0:lerp(cf(-1.5,0.5,0)*cf(0,-.15,0)*angles(math.rad(15),0,math.rad(20)),.1)
  6868. RW.C0 = RW.C0:lerp(cf(1.5,0.5,0)*angles(0,0,math.rad(5+5*math.sin(sine/16))),.1)
  6869. elseif ModeOfGlitch == 8376532578634534 then
  6870. RH.C0=clerp(RH.C0,cf(1,-1-.2*math.cos(sine/16),0)*angles(0,math.rad(90),0),.1)
  6871. LH.C0=clerp(LH.C0,cf(-1,-1-.2*math.cos(sine/16),.05)*angles(0,math.rad(15),0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.1)
  6872. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0+.2*math.cos(sine/16)),.1)
  6873. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(0,math.rad(-25),0)*angles(math.rad(0 - 25 * math.cos(sine / 0.1164)),math.rad(0 - 30 * math.cos(sine / 0.25)),math.rad(0 - 30 * math.cos(sine / 0.465))),.1)
  6874. RW.C0=clerp(RW.C0,cf(1,0.5+.2*math.cos(sine/16),-.65)*angles(math.rad(45),0,math.rad(-90)),.1)
  6875. LW.C0=clerp(LW.C0,cf(-1,0.5+.2*math.cos(sine/16),-.65)*angles(math.rad(-45),0,math.rad(100)),.1)
  6876.  
  6877. elseif ModeOfGlitch == 666666 then
  6878. RH.C0=clerp(RH.C0,cf(1,-1 - 0.025 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-1.5),math.rad(0),math.rad(20)),.1)
  6879. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.025 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-1.5),math.rad(0),math.rad(-20)),.1)
  6880. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.025 * math.cos(sine / 32))*angles(math.rad(20 - 0.5 * math.cos(sine / 32)),math.rad(0),math.rad(0)),.1)
  6881. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(30 - 5 * math.cos(sine / 0.5265)),math.rad(0 - 15 * math.cos(sine / 0.25)),math.rad(0 - 15 * math.cos(sine / 0.465))),.1)
  6882. RW.C0=clerp(RW.C0,cf(1.3,0.5,0)*angles(math.rad(180),math.rad(-90),math.rad(15))*angles(math.rad(-35),0,0)*angles(math.rad(10 + 2.5 * math.cos(sine / 0.252)),math.rad(0 + 2.5 * math.cos(sine / 0.123)),math.rad(5 + 2.5 * math.cos(sine / 0.6)))*angles(0,math.rad(0 - 15 * math.cos(sine / 0.25)),math.rad(0 - 15 * math.cos(sine / 0.465))),.1)
  6883. LW.C0=clerp(LW.C0,cf(-1.3,0.5,0)*angles(math.rad(180),math.rad(90),math.rad(-15))*angles(math.rad(-35),0,0)*angles(math.rad(10 + 2.5 * math.cos(sine / 0.568)),math.rad(0 + 2.5 * math.cos(sine / 0.664)),math.rad(-5 + 2.5 * math.cos(sine / 0.23)))*angles(0,math.rad(0 - 15 * math.cos(sine / 0.25)),math.rad(0 - 15 * math.cos(sine / 0.465))),.1)
  6884.  
  6885. elseif ModeOfGlitch == 5 then
  6886. 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(0 + 1 * math.cos(sine / 34))),.1)
  6887. 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(0 + 1 * math.cos(sine / 34))),.1)
  6888. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.05 * math.cos(sine / 28))*angles(math.rad(0 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(0)),.1)
  6889. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(5 - 2.5 * math.cos(sine / 28)),math.rad(0),math.rad(0)),.1)
  6890. RW.C0=clerp(RW.C0,cf(1,0.5 + 0.1 * math.cos(sine / 28),0.45)*angles(math.rad(-30),math.rad(0),math.rad(-30)),.1)
  6891. LW.C0=clerp(LW.C0,cf(-1,0.5 + 0.1 * math.cos(sine / 28),0.45)*angles(math.rad(-30),math.rad(0),math.rad(30)),.1)
  6892.  
  6893. elseif ModeOfGlitch == 1000000 or ModeOfGlitch == 6 then
  6894. RH.C0=clerp(RH.C0,cf(1,-0.25,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-10)),.1)
  6895. 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(10)),.1)
  6896. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1.5 + 0.1 * math.cos(sine / 28))*angles(math.rad(0 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(0)),.1)
  6897. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(15),math.rad(0),math.rad(0)),.1)
  6898. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(10),math.rad(0),math.rad(20 + 2.5 * math.cos(sine / 28))),.1)
  6899. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(10),math.rad(0),math.rad(-20 - 2.5 * math.cos(sine / 28))),.1)
  6900.  
  6901. elseif ModeOfGlitch == 12345678987654321 then
  6902. RH.C0=clerp(RH.C0,cf(1,-0.25,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-10)),.1)
  6903. 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(10)),.1)
  6904. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1.5 + 0.1 * math.cos(sine / 28))*angles(math.rad(0 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(-40)),.1)
  6905. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(15),math.rad(0),math.rad(40)),.1)
  6906. RW.C0=clerp(RW.C0,cf(0.85,0.5 + 0.1 * math.cos(sine / 28),-0.65)*angles(math.rad(30 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(-100 - 2.5 * math.cos(sine / 28))),.1)
  6907. LW.C0=clerp(LW.C0,cf(-0.85,0.5 + 0.1 * math.cos(sine / 28),-0.65)*angles(math.rad(40 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(90 + 2.5 * math.cos(sine / 28))),.1)
  6908. end
  6909. end
  6910. elseif torvel>2 and torvel<22 and hitfloor~=nil then
  6911. Anim="Walk"
  6912. if attack==false then
  6913. if ModeOfGlitch == 1 then
  6914. RH.C0=clerp(RH.C0,cf(1,-.9-.4*math.cos(sine/8)/1.5,.4*math.cos(sine/8)/2)*angles(math.rad(2-2*math.cos(sine/8))-math.sin(sine/8)/2,0,0)*angles(0,math.rad(90),0),.1)
  6915. LH.C0=clerp(LH.C0,cf(-1,-.9+.4*math.cos(sine/8)/1.5,-.4*math.cos(sine/8)/2)*angles(math.rad(2+2*math.cos(sine/8))+math.sin(sine/8)/2,0,0)*angles(0,math.rad(-90),0),.1)
  6916. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,-0.1 - 0.1 * math.cos(sine / 4))*angles(math.rad(5),math.rad(0),math.rad(0 - 5 * math.cos(sine / 8))),.1)
  6917. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(30 - 5 * math.cos(sine / 0.5265)),math.rad(0 - 15 * math.cos(sine / 0.25)),math.rad(0 - 15 * math.cos(sine / 0.465))),.1)
  6918. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0 + 45 * math.cos(sine / 8)),math.rad(0),math.rad(10 - 10 * math.cos(sine / 4))),.1)
  6919. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(160),math.rad(0),math.rad(25)),.1)
  6920. elseif ModeOfGlitch == 4 then
  6921. RH.C0=clerp(RH.C0,cf(1,-.9-.4*math.cos(sine/8)/2,.4*math.cos(sine/4)/2)*angles(math.rad(2-4*math.cos(sine/10))-math.sin(sine/10)/2,0,0)*angles(0,math.rad(90),0),.1)
  6922. LH.C0=clerp(LH.C0,cf(-1,-.9+.4*math.cos(sine/8)/2,-.4*math.cos(sine/4)/2)*angles(math.rad(2+3*math.cos(sine/10))+math.sin(sine/10)/2,0,0)*angles(0,math.rad(-90),0),.1)
  6923. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,-0.15 - 0.1 * math.cos(sine / 8))*angles(math.rad(12.5),math.rad(0),math.rad(0 - 5 * math.cos(sine / 12))),.1)
  6924. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(30 - 5 * math.cos(sine / 0.5265)),math.rad(0 - 5 * math.cos(sine / 0.25)),math.rad(0 - 5 * math.cos(sine / 0.465))),.1)
  6925. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(10 - 15 * math.cos(sine / 12)),math.rad(0 + 2.5 * math.cos(sine / 0.123)),math.rad(5 + 2.5 * math.cos(sine / 0.6))),.1)
  6926. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(10 + 15 * math.cos(sine / 12)),math.rad(0 + 2.5 * math.cos(sine / 0.664)),math.rad(-5 + 2.5 * math.cos(sine / 0.23))),.1)
  6927. elseif ModeOfGlitch == 666666 then
  6928. RH.C0=clerp(RH.C0,cf(1,-.9-.4*math.cos(sine/8)/2,.4*math.cos(sine/8)/2)*angles(math.rad(2-2*math.cos(sine/10))-math.sin(sine/8)/2,0,0)*angles(0,math.rad(90),0),.1)
  6929. LH.C0=clerp(LH.C0,cf(-1,-.9+.4*math.cos(sine/8)/2,-.4*math.cos(sine/8)/2)*angles(math.rad(2+2*math.cos(sine/10))+math.sin(sine/8)/2,0,0)*angles(0,math.rad(-90),0),.1)
  6930. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,-0.15 - 0.1 * math.cos(sine / 8))*angles(math.rad(12.5),math.rad(0),math.rad(0 - 5 * math.cos(sine / 12))),.1)
  6931. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(30 - 5 * math.cos(sine / 0.5265)),math.rad(0 - 15 * math.cos(sine / 0.25)),math.rad(0 - 15 * math.cos(sine / 0.465))),.1)
  6932. RW.C0=clerp(RW.C0,cf(1.3,0.5,0)*angles(math.rad(180),math.rad(-90),math.rad(15))*angles(math.rad(-35),0,0)*angles(math.rad(10 + 2.5 * math.cos(sine / 0.252)),math.rad(0 + 2.5 * math.cos(sine / 0.123)),math.rad(5 + 2.5 * math.cos(sine / 0.6)))*angles(0,math.rad(0 - 15 * math.cos(sine / 0.25)),math.rad(0 - 15 * math.cos(sine / 0.465))),.1)
  6933. LW.C0=clerp(LW.C0,cf(-1.3,0.5,0)*angles(math.rad(180),math.rad(90),math.rad(-15))*angles(math.rad(-35),0,0)*angles(math.rad(10 + 2.5 * math.cos(sine / 0.568)),math.rad(0 + 2.5 * math.cos(sine / 0.664)),math.rad(-5 + 2.5 * math.cos(sine / 0.23)))*angles(0,math.rad(0 - 15 * math.cos(sine / 0.25)),math.rad(0 - 15 * math.cos(sine / 0.465))),.1)
  6934.  
  6935. elseif ModeOfGlitch ~= 1 or ModeOfGlitch ~= 4 then
  6936. RH.C0=clerp(RH.C0,cf(1,-.85-.4*math.cos(sine/8)/1.5,.4*math.cos(sine/8)/2)*angles(math.rad(2-2*math.cos(sine/8))-math.sin(sine/8)/2,0,0)*angles(0,math.rad(90),0),.1)
  6937. LH.C0=clerp(LH.C0,cf(-1,-.85+.4*math.cos(sine/8)/1.5,-.4*math.cos(sine/8)/2)*angles(math.rad(2+2*math.cos(sine/8))+math.sin(sine/8)/2,0,0)*angles(0,math.rad(-90),0),.1)
  6938. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,-0.15 - 0.1 * math.cos(sine / 4))*angles(math.rad(5),math.rad(0),math.rad(0 - 5 * math.cos(sine / 8))),.1)
  6939. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10 + 2.5 * math.cos(sine / 100)),math.rad(0),math.rad(0 + 5 * math.cos(sine / 8))),.1)
  6940. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0 + 45 * math.cos(sine / 8)),math.rad(0),math.rad(10 - 10 * math.cos(sine / 4))),.1)
  6941. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0 - 45 * math.cos(sine / 8)),math.rad(0),math.rad(-10 + 10 * math.cos(sine / 4))),.1)
  6942. end
  6943. end
  6944. elseif torvel>=22 and hitfloor~=nil then
  6945. Anim="Run"
  6946. if attack==false then
  6947. if ModeOfGlitch ~= 1000000 and ModeOfGlitch ~= 12345678987654321 and ModeOfGlitch ~= 4 and ModeOfGlitch ~= 6 and ModeOfGlitch ~= 8376532578634534 then
  6948. RH.C0=clerp(RH.C0,cf(1,-1-.4*math.cos(sine/6)/2,.8*math.cos(sine/6)/2)*angles(math.rad(0-65*math.cos(sine/6))-math.sin(sine/6)/1.5,0,0)*angles(0,math.rad(90),0),.1)
  6949. LH.C0=clerp(LH.C0,cf(-1,-1+.4*math.cos(sine/6)/2,-.8*math.cos(sine/6)/2)*angles(math.rad(0+65*math.cos(sine/6))+math.sin(sine/6)/1.5,0,0)*angles(0,math.rad(-90),0),.1)
  6950. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,-0.125 + 0.125 * math.cos(sine / 3))*angles(math.rad(20),math.rad(0),math.rad(0 - 15 * math.cos(sine / 6))),.1)
  6951. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-10 + 2.5 * math.cos(sine / 100)),math.rad(0),math.rad(0 + 15 * math.cos(sine / 6))),.1)
  6952. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0 + 105 * math.cos(sine / 6)),math.rad(0),math.rad(5 - 10 * math.cos(sine / 3))),.1)
  6953. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0 - 105 * math.cos(sine / 6)),math.rad(0),math.rad(-5 + 10 * math.cos(sine / 3))),.1)
  6954. elseif ModeOfGlitch == 666666 then
  6955. RH.C0=clerp(RH.C0,cf(1,-0.75 - 0.25 * math.cos(sine / 3),-0.25 - 0.25 * math.cos(sine / 3))*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)
  6956. LH.C0=clerp(LH.C0,cf(-1,-0.75 + 0.25 * math.cos(sine / 3),-0.25 + 0.25 * math.cos(sine / 3))*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)
  6957. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,-0.125 + .125 * math.cos(sine / 3))*angles(math.rad(25),math.rad(0),math.rad(0 - 5 * math.cos(sine / 6))),.1)
  6958. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(30 - 5 * math.cos(sine / 0.5265)),math.rad(0 - 15 * math.cos(sine / 0.25)),math.rad(0 - 15 * math.cos(sine / 0.465))),.1)
  6959. RW.C0=clerp(RW.C0,cf(1.3,0.5,0)*angles(math.rad(180),math.rad(-90),math.rad(15))*angles(math.rad(-35),0,0)*angles(math.rad(10 + 2.5 * math.cos(sine / 0.252)),math.rad(0 + 2.5 * math.cos(sine / 0.123)),math.rad(5 + 2.5 * math.cos(sine / 0.6)))*angles(0,math.rad(0 - 15 * math.cos(sine / 0.25)),math.rad(0 - 15 * math.cos(sine / 0.465))),.1)
  6960. LW.C0=clerp(LW.C0,cf(-1.3,0.5,0)*angles(math.rad(180),math.rad(90),math.rad(-15))*angles(math.rad(-35),0,0)*angles(math.rad(10 + 2.5 * math.cos(sine / 0.568)),math.rad(0 + 2.5 * math.cos(sine / 0.664)),math.rad(-5 + 2.5 * math.cos(sine / 0.23)))*angles(0,math.rad(0 - 15 * math.cos(sine / 0.25)),math.rad(0 - 15 * math.cos(sine / 0.465))),.1)
  6961.  
  6962. elseif ModeOfGlitch == 1000000 or ModeOfGlitch == 12345678987654321 or ModeOfGlitch == 4 or ModeOfGlitch == 6 or ModeOfGlitch == 8376532578634534 then
  6963. RH.C0=clerp(RH.C0,cf(1,-0.25,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-20)),.2)
  6964. 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(20)),.2)
  6965. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.5,0.5 + 0.1 * math.cos(sine / 28))*angles(math.rad(75),math.rad(0),math.rad(0)),.2)
  6966. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.2)
  6967. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-30),math.rad(0),math.rad(30 + 2.5 * math.cos(sine / 28))),.2)
  6968. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-30),math.rad(0),math.rad(-30 - 2.5 * math.cos(sine / 28))),.2)
  6969. end
  6970. end
  6971. end
  6972. end
  6973. end
Advertisement
Add Comment
Please, Sign In to add comment