Advertisement
memberhero

Nebula Glitcher FE

Feb 21st, 2019
452
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 290.37 KB | None | 0 0
  1.  
  2. if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
  3. local Player = owner
  4. local Mouse,mouse,UserInputService,ContextActionService
  5. do
  6. script.Parent = RhiBel00351
  7. local CAS = {Actions={}}
  8. local Event = Instance.new("RemoteEvent")
  9. Event.Name = "UserInput_Event"
  10. Event.Parent = Player.Character
  11. local fakeEvent = function()
  12. local t = {_fakeEvent=true}
  13. t.Connect = function(self,f)self.Function=f end
  14. t.connect = t.Connect
  15. return t
  16. end
  17. local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()}
  18. local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
  19. function CAS:BindAction(name,fun,touch,...)
  20. CAS.Actions[name] = {Name=name,Function=fun,Keys={...}}
  21. end
  22. function CAS:UnbindAction(name)
  23. CAS.Actions[name] = nil
  24. end
  25. local function te(self,ev,...)
  26. local t = m[ev]
  27. if t and t._fakeEvent and t.Function then
  28. t.Function(...)
  29. end
  30. end
  31. m.TrigEvent = te
  32. UIS.TrigEvent = te
  33. Event.OnServerEvent:Connect(function(plr,io)
  34. if plr~=Player then return end
  35. if io.isMouse then
  36. m.Target = io.Target
  37. m.Hit = io.Hit
  38. elseif io.UserInputType == Enum.UserInputType.MouseButton1 then
  39. if io.UserInputState == Enum.UserInputState.Begin then
  40. m:TrigEvent("Button1Down")
  41. else
  42. m:TrigEvent("Button1Up")
  43. end
  44. else
  45. for n,t in pairs(CAS.Actions) do
  46. for _,k in pairs(t.Keys) do
  47. if k==io.KeyCode then
  48. t.Function(t.Name,io.UserInputState,io)
  49. end
  50. end
  51. end
  52. if io.UserInputState == Enum.UserInputState.Begin then
  53. m:TrigEvent("KeyDown",io.KeyCode.Name:lower())
  54. UIS:TrigEvent("InputBegan",io,false)
  55. else
  56. m:TrigEvent("KeyUp",io.KeyCode.Name:lower())
  57. UIS:TrigEvent("InputEnded",io,false)
  58. end
  59. end
  60. end)
  61. NLS([==[
  62. local Player = game:GetService("Players").LocalPlayer
  63.  
  64. local Char = Player.Character
  65. local Event = Char:WaitForChild("UserInput_Event")
  66.  
  67. local UIS = game:GetService("UserInputService")
  68.  
  69. local input = function(io,a)
  70. if a then return end
  71. local io = {KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState}
  72. Event:FireServer(io)
  73. end
  74. UIS.InputBegan:Connect(input)
  75. UIS.InputEnded:Connect(input)
  76. local Changed = false
  77. local Mouse = Player:GetMouse()
  78. local h,t = Mouse.Hit,Mouse.Target
  79. while wait(1/30) do
  80. if h~=Mouse.Hit or t~=Mouse.Target then
  81. Event:FireServer({isMouse=true,Target=Mouse.Target,Hit=Mouse.Hit})
  82. h,t=Mouse.Hit,Mouse.Target
  83. end
  84. end
  85. ]==],Player.Character)
  86. Mouse,mouse,UserInputService,ContextActionService = m,m,UIS,CAS
  87. end
  88.  
  89.  
  90. wait(0.2)
  91.  
  92. warn'Star Glitcher Loaded.'
  93. warn'All purpose switcher...'
  94. warn'Created by Noobygames12'
  95. warn'Edited by Neubla_Zorua'
  96. warn([[Icons:
  97. ! = New
  98. ? = Spoilers
  99. * = Exclusivity]])
  100. print([[V 3.21 (ON PROGRESS) Update Log:
  101. ! - Changed Judgement back to Justice
  102. ! - Gave Divinity an attack named Judgement. Credit to XXUNORIB
  103. ! - Replaced Corruption with Glitchy
  104. ! - Fixed some bugs, too
  105. ! - Changed Chaos's "B" (Chaos Begone) to a keystroke. (ddawas)
  106. ]])
  107.  
  108. --- its obs smooth af do not touch
  109. ---- Sources and functions might be taken from others
  110. plr = owner
  111. char = plr.Character
  112. hum = char:FindFirstChildOfClass'Humanoid'
  113. local cam = game.Workspace.CurrentCamera
  114. Camera = cam
  115. local CamInterrupt = false
  116. local TwoD = false
  117. local TargetInfo = {nil, nil}
  118. cam.CameraType = "Custom"
  119. t = char.Torso
  120. h = char.Head
  121. ra = char["Right Arm"]
  122. la = char["Left Arm"]
  123. rl = char["Right Leg"]
  124. ll = char["Left Leg"]
  125. tors = char.Torso
  126. lleg = char["Left Leg"]
  127. root = char.HumanoidRootPart
  128. hed = char.Head
  129. rleg = char["Right Leg"]
  130. rarm = char["Right Arm"]
  131. larm = char["Left Arm"]
  132. radian = math.rad
  133. random = math.random
  134. Vec3 = Vector3.new
  135. Inst = Instance.new
  136. cFrame = CFrame.new
  137. Euler = CFrame.fromEulerAnglesXYZ
  138. vt = Vector3.new
  139. bc = BrickColor.new
  140. br = BrickColor.random
  141. it = Instance.new
  142. cf = CFrame.new
  143.  
  144. local ODers = {}
  145.  
  146. local AllowRape = true;
  147. local AllowCata = true;
  148.  
  149. local Booleans = {
  150. CamFollow = true,
  151. GyroUse = true
  152. }
  153.  
  154. function lerp(object, newCFrame, alpha)
  155. return object:lerp(newCFrame, alpha)
  156. end
  157.  
  158. local Directer = Inst("BodyGyro", root)
  159. Directer.MaxTorque = Vec3(0, 0, 0)
  160. Directer.P = 600000
  161. local CPart = Inst("Part")
  162. CPart.Anchored = true
  163. CPart.CanCollide = false
  164. CPart.Locked = true
  165. CPart.Transparency = 1
  166.  
  167. local rainbowmode = false
  168. local chaosmode = false
  169. local glitchymode = false
  170. kan = Instance.new("Sound",char)
  171. kan.Volume = 1.25
  172. kan.TimePosition = 0
  173. kan.PlaybackSpeed = 1
  174. kan.Pitch = 1
  175. kan.SoundId = "rbxassetid://1564523997"
  176. kan.Name = "wrecked"
  177. kan.Looped = true
  178. kan:Play()
  179.  
  180. local MID = "rbxassetid://1564523997";
  181. local Pitch = 1;
  182.  
  183. function newTheme(ID,timepos,pitch,vol)
  184. local kanz = kan
  185. --kanz:Stop()
  186. --kanz.Volume = vol
  187. --kanz.TimePosition = timepos
  188. kanz.PlaybackSpeed = pitch
  189. kanz.Pitch = pitch
  190. kanz.SoundId = ID
  191. kanz.Name = "wrecked"
  192. kanz.Looped = true
  193. Pitch = pitch
  194. MID = ID
  195. --kanz:Play()
  196. --coroutine.resume(coroutine.create(function()
  197. --wait(0.05)
  198. --end))
  199. end
  200.  
  201. function newThemeCust(ID,timepos,pitch,vol)
  202. local kanz = kan
  203. kanz:Stop()
  204. kanz.Volume = vol
  205. kanz.TimePosition = timepos
  206. kanz.PlaybackSpeed = pitch
  207. kanz.Pitch = pitch
  208. MID = ID
  209. kanz.SoundId = ID
  210. kanz.Name = "wrecked"
  211. kanz.Looped = true
  212. kanz:Play()
  213. coroutine.resume(coroutine.create(function()
  214. wait(0.05)
  215. end))
  216. end
  217.  
  218.  
  219.  
  220. function CameraShake(Times, Power, PlayerTarget)
  221. coroutine.resume(coroutine.create(function()
  222. FV = Instance.new("BoolValue", PlayerTarget)
  223. FV.Name = "CameraShake"
  224. for ShakeNum=1,Times do
  225. swait()
  226. local ef=Power
  227. if ef>=1 then
  228. Humanoid.CameraOffset = Vector3.new(math.random(-ef,ef),math.random(-ef,ef),math.random(-ef,ef))
  229. else
  230. ef=Power*10
  231. Humanoid.CameraOffset = Vector3.new(math.random(-ef,ef)/10,math.random(-ef,ef)/10,math.random(-ef,ef)/10)
  232. end
  233. end
  234. Humanoid.CameraOffset = Vector3.new(0,0,0)
  235. FV:Destroy()
  236. end))
  237. end
  238.  
  239. function CameraEnshaking(Length,Intensity)
  240. coroutine.resume(coroutine.create(function()
  241. local intensity = 1*Intensity
  242. local rotM = 0.01*Intensity
  243. for i = 0, Length, 0.1 do
  244. swait()
  245. intensity = intensity - 0.05*Intensity/Length
  246. rotM = rotM - 0.0005*Intensity/Length
  247. hum.CameraOffset = Vec3(radian(random(-intensity, intensity)), radian(random(-intensity, intensity)), radian(random(-intensity, intensity)))
  248. 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)
  249. end
  250. Humanoid.CameraOffset = Vec3(0, 0, 0)
  251. end))
  252. end
  253. CamShake=function(Part,Distan,Power,Times)
  254. local de=Part.Position
  255. for i,v in pairs(workspace:children()) do
  256. if v:IsA("Model") and v:findFirstChild("Humanoid") then
  257. for _,c in pairs(v:children()) do
  258. if c.ClassName=="Part" and (c.Position - de).magnitude < Distan then
  259. local Noob=vFindFirstChildOfClass'Humanoid'
  260. if Noob~=nil then
  261. coroutine.resume(coroutine.create(function()
  262. FV = Instance.new("BoolValue", Noob)
  263. FV.Name = "CameraShake"
  264. for ShakeNum=1,Times do
  265. swait()
  266. local ef=Power
  267. if ef>=1 then
  268. Humanoid.CameraOffset = Vector3.new(math.random(-ef,ef),math.random(-ef,ef),math.random(-ef,ef))
  269. else
  270. ef=Power*10
  271. Humanoid.CameraOffset = Vector3.new(math.random(-ef,ef)/10,math.random(-ef,ef)/10,math.random(-ef,ef)/10)
  272. end
  273. end
  274. Humanoid.CameraOffset = Vector3.new(0,0,0)
  275. FV:Destroy()
  276. end))
  277. CameraShake(Times, Power, Noob)
  278. end
  279. end
  280. end
  281. end
  282. end
  283. end
  284.  
  285. function chatfunc(text,color)
  286. local chat = coroutine.wrap(function()
  287. if Character:FindFirstChild("TalkingBillBoard")~= nil then
  288. Character:FindFirstChild("TalkingBillBoard"):destroy()
  289. end
  290. local naeeym2 = Instance.new("BillboardGui",Character)
  291. naeeym2.Size = UDim2.new(0,100,0,40)
  292. naeeym2.StudsOffset = Vector3.new(0,3,0)
  293. naeeym2.Adornee = Character.Head
  294. naeeym2.Name = "TalkingBillBoard"
  295. local tecks2 = Instance.new("TextLabel",naeeym2)
  296. tecks2.BackgroundTransparency = 1
  297. tecks2.BorderSizePixel = 0
  298. tecks2.Text = ""
  299. tecks2.Font = "SciFi"
  300. tecks2.TextSize = 30
  301. tecks2.TextStrokeTransparency = 0
  302. tecks2.TextColor3 = color
  303. tecks2.TextStrokeColor3 = Color3.new(0,0,0)
  304. tecks2.Size = UDim2.new(1,0,0.5,0)
  305. local tecks3 = Instance.new("TextLabel",naeeym2)
  306. tecks3.BackgroundTransparency = 1
  307. tecks3.BorderSizePixel = 0
  308. tecks3.Text = ""
  309. tecks3.Font = "SciFi"
  310. tecks3.TextSize = 30
  311. tecks3.TextStrokeTransparency = 0
  312. tecks3.TextColor3 = Color3.new(0,0,0)
  313. tecks3.TextStrokeColor3 = color
  314. tecks3.Size = UDim2.new(1,0,0.5,0)
  315. coroutine.resume(coroutine.create(function()
  316. while true do
  317. swait(1)
  318. if chaosmode == true then
  319. tecks2.TextColor3 = BrickColor.random().Color
  320. tecks3.TextStrokeColor3 = BrickColor.random().Color
  321. end
  322. if(glitchymode)then
  323. local val = math.random(1,255)
  324. local color = Color3.fromRGB(val,val,val)
  325. tecks2.TextColor3 = color
  326. tecks3.TextStrokeColor3 = color
  327. end
  328. tecks2.Position = UDim2.new(0,math.random(-5,5),0,math.random(-5,5))
  329. tecks3.Position = UDim2.new(0,math.random(-5,5),0,math.random(-5,5))
  330. tecks2.Rotation = math.random(-5,5)
  331. tecks3.Rotation = math.random(-5,5)
  332. end
  333. end))
  334. for i = 1,string.len(text),1 do
  335. CFuncs["Sound"].Create("rbxassetid://274118116", char, 0.25, 0.115)
  336. tecks2.Text = string.sub(text,1,i)
  337. tecks3.Text = string.sub(text,1,i)
  338. swait(1)
  339. end
  340. wait(1)
  341. local randomrot = math.random(1,2)
  342. if randomrot == 1 then
  343. for i = 1, 50 do
  344. swait()
  345. tecks2.Rotation = tecks2.Rotation - .75
  346. tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
  347. tecks2.TextTransparency = tecks2.TextTransparency + .04
  348. tecks3.Rotation = tecks2.Rotation + .75
  349. tecks3.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
  350. tecks3.TextTransparency = tecks2.TextTransparency + .04
  351. end
  352. elseif randomrot == 2 then
  353. for i = 1, 50 do
  354. swait()
  355. tecks2.Rotation = tecks2.Rotation + .75
  356. tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
  357. tecks2.TextTransparency = tecks2.TextTransparency + .04
  358. tecks3.Rotation = tecks2.Rotation - .75
  359. tecks3.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
  360. tecks3.TextTransparency = tecks2.TextTransparency + .04
  361. end
  362. end
  363. naeeym2:Destroy()
  364. end)
  365. chat()
  366. end
  367.  
  368.  
  369. local Create = LoadLibrary("RbxUtility").Create
  370.  
  371. CFuncs = {
  372. ["Part"] = {
  373. Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  374. local Part = Create("Part"){
  375. Parent = Parent,
  376. Reflectance = Reflectance,
  377. Transparency = Transparency,
  378. CanCollide = false,
  379. Locked = true,
  380. BrickColor = BrickColor.new(tostring(BColor)),
  381. Name = Name,
  382. Size = Size,
  383. Material = Material,
  384. }
  385. RemoveOutlines(Part)
  386. return Part
  387. end;
  388. };
  389.  
  390. ["Mesh"] = {
  391. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  392. local Msh = Create(Mesh){
  393. Parent = Part,
  394. Offset = OffSet,
  395. Scale = Scale,
  396. }
  397. if Mesh == "SpecialMesh" then
  398. Msh.MeshType = MeshType
  399. Msh.MeshId = MeshId
  400. end
  401. return Msh
  402. end;
  403. };
  404.  
  405. ["Mesh"] = {
  406. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  407. local Msh = Create(Mesh){
  408. Parent = Part,
  409. Offset = OffSet,
  410. Scale = Scale,
  411. }
  412. if Mesh == "SpecialMesh" then
  413. Msh.MeshType = MeshType
  414. Msh.MeshId = MeshId
  415. end
  416. return Msh
  417. end;
  418. };
  419.  
  420. ["Weld"] = {
  421. Create = function(Parent, Part0, Part1, C0, C1)
  422. local Weld = Create("Weld"){
  423. Parent = Parent,
  424. Part0 = Part0,
  425. Part1 = Part1,
  426. C0 = C0,
  427. C1 = C1,
  428. }
  429. return Weld
  430. end;
  431. };
  432.  
  433. ["Sound"] = {
  434. Create = function(id, par, vol, pit)
  435. return coroutine.wrap(function()
  436. local S = Create("Sound"){
  437. Volume = vol,
  438. Name = "EffectSoundo",
  439. Pitch = pit or 1,
  440. SoundId = id,
  441. Parent = par or workspace,
  442. }
  443. S:Play()
  444. S.Ended:connect(function()
  445. S:Destroy()
  446. end)
  447. return S;
  448. end)()
  449. end;
  450. };
  451.  
  452. ["LongSound"] = {
  453. Create = function(id, par, vol, pit)
  454. coroutine.resume(coroutine.create(function()
  455. local S = Create("Sound"){
  456. Volume = vol,
  457. Pitch = pit or 1,
  458. SoundId = id,
  459. Parent = par or workspace,
  460. }
  461. wait()
  462. S:play()
  463. game:GetService("Debris"):AddItem(S, 30)
  464. end))
  465. end;
  466. };
  467.  
  468. ["ParticleEmitter"] = {
  469. Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread)
  470. local fp = Create("ParticleEmitter"){
  471. Parent = Parent,
  472. Color = ColorSequence.new(Color1, Color2),
  473. LightEmission = LightEmission,
  474. Size = Size,
  475. Texture = Texture,
  476. Transparency = Transparency,
  477. ZOffset = ZOffset,
  478. Acceleration = Accel,
  479. Drag = Drag,
  480. LockedToPart = LockedToPart,
  481. VelocityInheritance = VelocityInheritance,
  482. EmissionDirection = EmissionDirection,
  483. Enabled = Enabled,
  484. Lifetime = LifeTime,
  485. Rate = Rate,
  486. Rotation = Rotation,
  487. RotSpeed = RotSpeed,
  488. Speed = Speed,
  489. VelocitySpread = VelocitySpread,
  490. }
  491. return fp
  492. end;
  493. };
  494.  
  495. CreateTemplate = {
  496.  
  497. };
  498. }
  499.  
  500.  
  501.  
  502. New = function(Object, Parent, Name, Data)
  503. local Object = Instance.new(Object)
  504. for Index, Value in pairs(Data or {}) do
  505. Object[Index] = Value
  506. end
  507. Object.Parent = Parent
  508. Object.Name = Name
  509. return Object
  510. end
  511. local halocolor = BrickColor.new("Pastel light blue")
  512. local halocolor2 = BrickColor.new("Cool yellow")
  513. local starcolor = BrickColor.new("Bright yellow")
  514. local lunacolor = BrickColor.new("Navy blue")
  515. local lunacolor2 = BrickColor.new("Bright blue")
  516. local wepcolor = BrickColor.new("Really black")
  517. local maincolor = BrickColor.new("Really black")
  518. local m = Instance.new("Model",char)
  519. local m2 = Instance.new("Model",char)
  520. local m3 = Instance.new("Model",char)
  521. local mw1 = Instance.new("Model",char)
  522. local mw2 = Instance.new("Model",char)
  523.  
  524. local extrawingmod1 = Instance.new("Model",char)
  525. local extrawingmod2 = Instance.new("Model",char)
  526.  
  527. function CreateParta(parent,transparency,reflectance,material,brickcolor)
  528. local p = Instance.new("Part")
  529. p.TopSurface = 0
  530. p.BottomSurface = 0
  531. p.Parent = parent
  532. p.Size = Vector3.new(0.1,0.1,0.1)
  533. p.Transparency = transparency
  534. p.Reflectance = reflectance
  535. p.CanCollide = false
  536. p.Locked = true
  537. p.BrickColor = brickcolor
  538. p.Material = material
  539. return p
  540. end
  541.  
  542. function CreateMesh(parent,meshtype,x1,y1,z1)
  543. local mesh = Instance.new("SpecialMesh",parent)
  544. mesh.MeshType = meshtype
  545. mesh.Scale = Vector3.new(x1*10,y1*10,z1*10)
  546. return mesh
  547. end
  548.  
  549. function CreateSpecialMesh(parent,meshid,x1,y1,z1)
  550. local mesh = Instance.new("SpecialMesh",parent)
  551. mesh.MeshType = "FileMesh"
  552. mesh.MeshId = meshid
  553. mesh.Scale = Vector3.new(x1,y1,z1)
  554. return mesh
  555. end
  556.  
  557.  
  558. function CreateSpecialGlowMesh(parent,meshid,x1,y1,z1)
  559. local mesh = Instance.new("SpecialMesh",parent)
  560. mesh.MeshType = "FileMesh"
  561. mesh.MeshId = meshid
  562. mesh.TextureId = "http://www.roblox.com/asset/?id=269748808"
  563. mesh.Scale = Vector3.new(x1,y1,z1)
  564. mesh.VertexColor = Vector3.new(parent.BrickColor.r, parent.BrickColor.g, parent.BrickColor.b)
  565. return mesh
  566. end
  567.  
  568. function CreateWeld(parent,part0,part1,C1X,C1Y,C1Z,C1Xa,C1Ya,C1Za,C0X,C0Y,C0Z,C0Xa,C0Ya,C0Za)
  569. local weld = Instance.new("Weld")
  570. weld.Parent = parent
  571. weld.Part0 = part0
  572. weld.Part1 = part1
  573. weld.C1 = CFrame.new(C1X,C1Y,C1Z)*CFrame.Angles(C1Xa,C1Ya,C1Za)
  574. weld.C0 = CFrame.new(C0X,C0Y,C0Z)*CFrame.Angles(C0Xa,C0Ya,C0Za)
  575. return weld
  576. end
  577.  
  578. local sorb = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  579. 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))
  580. local sorb2 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  581. 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))
  582.  
  583. local handlex = CreateParta(mw2,1,1,"Neon",maincolor)
  584. CreateMesh(handle,"Brick",0,0,0)
  585. 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))
  586. local valuaring = 10
  587. for i = 0, 49 do
  588. valuaring = valuaring + 10
  589. rn = CreateParta(mw2,0,0,"Neon",halocolor)
  590. CreateMesh(rn,"Brick",0.25,0.1,0.1)
  591. 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))
  592. end
  593.  
  594. handlex = CreateParta(mw2,1,1,"Neon",maincolor)
  595. CreateMesh(handle,"Brick",0,0,0)
  596. 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))
  597. local valuaring = 10
  598. for i = 0, 49 do
  599. valuaring = valuaring + 10
  600. rn = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  601. CreateMesh(rn,"Brick",0.5,0.2,0.2)
  602. 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))
  603. end
  604.  
  605.  
  606. local handle = CreateParta(m,1,1,"Neon",maincolor)
  607. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  608. 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))
  609.  
  610. --- Left wing.
  611.  
  612. local lwing1 = CreateParta(m,1,1,"Neon",maincolor)
  613. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  614. 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))
  615.  
  616. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  617. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  618. 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))
  619. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  620. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  621. 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))
  622. A0 = Instance.new('Attachment',wed)
  623. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  624. CreateMesh(wed,"Wedge",0.05,0.5,3)
  625. 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))
  626. A1 = Instance.new('Attachment',wed)
  627. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  628. CreateMesh(wed,"Wedge",0.05,3,0.5)
  629. 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))
  630.  
  631. tl1 = Instance.new('Trail',wed)
  632. tl1.Attachment0 = A0
  633. tl1.Attachment1 = A1
  634. --tl1.Texture = "http://www.roblox.com/asset/?id=1049219073"
  635. tl1.LightEmission = 1
  636. tl1.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  637. tl1.Color = ColorSequence.new(BrickColor.new('Black').Color)
  638. tl1.Lifetime = 0.6
  639.  
  640.  
  641. local lwing2 = CreateParta(m,1,1,"Neon",maincolor)
  642. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  643. 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))
  644.  
  645. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  646. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  647. 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))
  648. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  649. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  650. 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))
  651. A0 = Instance.new('Attachment',wed)
  652. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  653. CreateMesh(wed,"Wedge",0.05,0.5,3)
  654. 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))
  655. A1 = Instance.new('Attachment',wed)
  656. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  657. CreateMesh(wed,"Wedge",0.05,3,0.5)
  658. 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))
  659.  
  660. tl2 = Instance.new('Trail',wed)
  661. tl2.Attachment0 = A0
  662. tl2.Attachment1 = A1
  663. --tl2.Texture = "http://www.roblox.com/asset/?id=1049219073"
  664. tl2.LightEmission = 1
  665. tl2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  666. tl2.Color = ColorSequence.new(BrickColor.new('Black').Color)
  667. tl2.Lifetime = 0.6
  668.  
  669. local lwing3 = CreateParta(m,1,1,"Neon",maincolor)
  670. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  671. 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))
  672.  
  673. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  674. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  675. 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))
  676. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  677. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  678. 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))
  679. A0 = Instance.new('Attachment',wed)
  680. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  681. CreateMesh(wed,"Wedge",0.05,0.5,3)
  682. 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))
  683. A1 = Instance.new('Attachment',wed)
  684. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  685. CreateMesh(wed,"Wedge",0.05,3,0.5)
  686. 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))
  687.  
  688. tl3 = Instance.new('Trail',wed)
  689. tl3.Attachment0 = A0
  690. tl3.Attachment1 = A1
  691. --tl3.Texture = "http://www.roblox.com/asset/?id=1049219073"
  692. tl3.LightEmission = 1
  693. tl3.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  694. tl3.Color = ColorSequence.new(BrickColor.new('Black').Color)
  695. tl3.Lifetime = 0.6
  696.  
  697. tl1.Enabled = false
  698. tl2.Enabled = false
  699. tl3.Enabled = false
  700. local lwing4 = CreateParta(m,1,1,"Neon",maincolor)
  701. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  702. 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))
  703.  
  704. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  705. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  706. 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))
  707. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  708. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  709. 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))
  710. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  711. CreateMesh(wed,"Wedge",0.05,0.5,3)
  712. 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))
  713. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  714. CreateMesh(wed,"Wedge",0.05,3,0.5)
  715. 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))
  716.  
  717. local lwing5 = CreateParta(m,1,1,"Neon",maincolor)
  718. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  719. 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))
  720.  
  721. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  722. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  723. 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))
  724. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  725. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  726. 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))
  727. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  728. CreateMesh(wed,"Wedge",0.05,0.5,3)
  729. 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))
  730. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  731. CreateMesh(wed,"Wedge",0.05,3,0.5)
  732. 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))
  733.  
  734. local lwing6 = CreateParta(m,1,1,"Neon",maincolor)
  735. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  736. 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))
  737.  
  738. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  739. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  740. 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))
  741. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  742. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  743. 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))
  744. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  745. CreateMesh(wed,"Wedge",0.05,0.5,3)
  746. 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))
  747. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  748. CreateMesh(wed,"Wedge",0.05,3,0.5)
  749. 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))
  750.  
  751. -- Right wing.
  752.  
  753. local rwing1 = CreateParta(m,1,1,"Neon",maincolor)
  754. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  755. 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))
  756.  
  757. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  758. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  759. 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))
  760. A0 = Instance.new('Attachment',wed)
  761. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  762. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  763. 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))
  764. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  765. CreateMesh(wed,"Wedge",0.05,0.5,3)
  766. 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))
  767. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  768. CreateMesh(wed,"Wedge",0.05,3,0.5)
  769. 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))
  770. A1 = Instance.new('Attachment',wed)
  771.  
  772. tr1 = Instance.new('Trail',wed)
  773. tr1.Attachment0 = A0
  774. tr1.Attachment1 = A1
  775. --tr1.Texture = "http://www.roblox.com/asset/?id=1049219073"
  776. tr1.LightEmission = 1
  777. tr1.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  778. tr1.Color = ColorSequence.new(BrickColor.new('Black').Color)
  779. tr1.Lifetime = 0.6
  780.  
  781. local rwing2 = CreateParta(m,1,1,"Neon",maincolor)
  782. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  783. 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))
  784.  
  785. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  786. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  787. 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))
  788. A0 = Instance.new('Attachment',wed)
  789. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  790. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  791. 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))
  792. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  793. CreateMesh(wed,"Wedge",0.05,0.5,3)
  794. 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))
  795. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  796. CreateMesh(wed,"Wedge",0.05,3,0.5)
  797. 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))
  798. A1 = Instance.new('Attachment',wed)
  799.  
  800. tr2 = Instance.new('Trail',wed)
  801. tr2.Attachment0 = A0
  802. tr2.Attachment1 = A1
  803. --tr2.Texture = "http://www.roblox.com/asset/?id=1049219073"
  804. tr2.LightEmission = 1
  805. tr2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  806. tr2.Color = ColorSequence.new(BrickColor.new('Black').Color)
  807. tr2.Lifetime = 0.6
  808.  
  809. local rwing3 = CreateParta(m,1,1,"Neon",maincolor)
  810. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  811. 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))
  812.  
  813. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  814. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  815. 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))
  816. A0 = Instance.new('Attachment',wed)
  817. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  818. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  819. 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))
  820. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  821. CreateMesh(wed,"Wedge",0.05,0.5,3)
  822. 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))
  823. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  824. CreateMesh(wed,"Wedge",0.05,3,0.5)
  825. 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))
  826. A1 = Instance.new('Attachment',wed)
  827.  
  828. tr3 = Instance.new('Trail',wed)
  829. tr3.Attachment0 = A0
  830. tr3.Attachment1 = A1
  831. --tr3.Texture = "http://www.roblox.com/asset/?id=1049219073"
  832. tr3.LightEmission = 1
  833. tr3.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  834. tr3.Color = ColorSequence.new(BrickColor.new('Black').Color)
  835. tr3.Lifetime = 0.6
  836.  
  837.  
  838. local rwing4 = CreateParta(m,1,1,"Neon",maincolor)
  839. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  840. 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))
  841.  
  842. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  843. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  844. 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))
  845. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  846. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  847. 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))
  848. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  849. CreateMesh(wed,"Wedge",0.05,0.5,3)
  850. 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))
  851. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  852. CreateMesh(wed,"Wedge",0.05,3,0.5)
  853. 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))
  854.  
  855. local rwing5 = CreateParta(m,1,1,"Neon",maincolor)
  856. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  857. 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))
  858.  
  859. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  860. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  861. 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))
  862. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  863. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  864. 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))
  865. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  866. CreateMesh(wed,"Wedge",0.05,0.5,3)
  867. 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))
  868. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  869. CreateMesh(wed,"Wedge",0.05,3,0.5)
  870. 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))
  871.  
  872. local rwing6 = CreateParta(m,1,1,"Neon",maincolor)
  873. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  874. 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))
  875.  
  876. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  877. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  878. 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))
  879. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  880. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  881. 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))
  882. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  883. CreateMesh(wed,"Wedge",0.05,0.5,3)
  884. 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))
  885. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  886. CreateMesh(wed,"Wedge",0.05,3,0.5)
  887. 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))
  888.  
  889. ---- HERES THE RING
  890.  
  891.  
  892. --[[ran = CreateParta(m2,0,0,"SmoothPlastic",wepcolor)
  893. CreateMesh(ran,"Wedge",1.02,1.02,1.02)
  894. 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))
  895. ran = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  896. CreateMesh(ran,"Wedge",0.9,0.9,1.025)
  897. 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))
  898. ran = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  899. CreateMesh(ran,"Wedge",1.025,0.9,0.9)
  900. 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))
  901.  
  902.  
  903. gan = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  904. CreateMesh(gan,"Brick",1.075,0.1,1.075)
  905. 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))
  906.  
  907. gan = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  908. CreateMesh(gan,"Brick",1.075,0.1,1.075)
  909. 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))
  910.  
  911.  
  912.  
  913. gan = CreateParta(m2,0,0,"Neon",halocolor2)
  914. CreateMesh(gan,"Brick",1.095,0.035,1.095)
  915. 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))
  916.  
  917. gan = CreateParta(m2,0,0,"Neon",halocolor2)
  918. CreateMesh(gan,"Brick",1.095,0.035,1.095)
  919. 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))
  920.  
  921. gane = CreateParta(m3,0,0,"SmoothPlastic",lunacolor2)
  922. CreateMesh(gane,"Brick",1.0625,0.2,1.0625)
  923. 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))
  924.  
  925. star = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  926. CreateSpecialMesh(star,"http://www.roblox.com/asset/?id=45428961",2.5,2.5,2.5)
  927. 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))
  928. starl = CreateParta(m3,0,0,"SmoothPlastic",starcolor)
  929. CreateSpecialMesh(starl,"http://www.roblox.com/asset/?id=45428961",1.95,2.55,1.95)
  930. 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))
  931.  
  932. -- S section A
  933.  
  934. dotsec = CreateParta(m3,0,0,"Neon",halocolor)
  935. CreateMesh(dotsec,"Sphere",0.1,0.1,0.15)
  936. 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))
  937. dotseca = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  938. CreateMesh(dotseca,"Sphere",0.2,0.2,0.1)
  939. 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))
  940. dotsecb = CreateParta(m2,0,0,"SmoothPlastic",lunacolor)
  941. CreateMesh(dotsecb,"Sphere",0.15,0.15,0.125)
  942. 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))
  943.  
  944. dotsec = CreateParta(m3,0,0,"Neon",halocolor)
  945. CreateMesh(dotsec,"Sphere",0.1,0.1,0.15)
  946. 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))
  947. dotseca = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  948. CreateMesh(dotseca,"Sphere",0.2,0.2,0.1)
  949. 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))
  950. dotsecb = CreateParta(m2,0,0,"SmoothPlastic",lunacolor)
  951. CreateMesh(dotsecb,"Sphere",0.15,0.15,0.125)
  952. 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))
  953.  
  954. dotsec = CreateParta(m3,0,0,"Neon",halocolor)
  955. CreateMesh(dotsec,"Sphere",0.1,0.1,0.15)
  956. 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))
  957. dotseca = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  958. CreateMesh(dotseca,"Sphere",0.2,0.2,0.1)
  959. 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))
  960. dotsecb = CreateParta(m2,0,0,"SmoothPlastic",lunacolor)
  961. CreateMesh(dotsecb,"Sphere",0.15,0.15,0.125)
  962. 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))
  963.  
  964. dotsec = CreateParta(m3,0,0,"Neon",halocolor)
  965. CreateMesh(dotsec,"Sphere",0.1,0.1,0.15)
  966. 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))
  967. dotseca = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  968. CreateMesh(dotseca,"Sphere",0.2,0.2,0.1)
  969. 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))
  970. dotsecb = CreateParta(m2,0,0,"SmoothPlastic",lunacolor)
  971. CreateMesh(dotsecb,"Sphere",0.15,0.15,0.125)
  972. 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))
  973.  
  974. dotsec = CreateParta(m3,0,0,"Neon",halocolor)
  975. CreateMesh(dotsec,"Sphere",0.1,0.1,0.15)
  976. 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))
  977. dotseca = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  978. CreateMesh(dotseca,"Sphere",0.2,0.2,0.1)
  979. 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))
  980. dotsecb = CreateParta(m2,0,0,"SmoothPlastic",lunacolor)
  981. CreateMesh(dotsecb,"Sphere",0.15,0.15,0.125)
  982. 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))
  983.  
  984. -- S section B
  985.  
  986. dotsec = CreateParta(m3,0,0,"Neon",halocolor)
  987. CreateMesh(dotsec,"Sphere",0.1,0.1,0.15)
  988. 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))
  989. dotseca = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  990. CreateMesh(dotseca,"Sphere",0.2,0.2,0.1)
  991. 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))
  992. dotsecb = CreateParta(m2,0,0,"SmoothPlastic",lunacolor)
  993. CreateMesh(dotsecb,"Sphere",0.15,0.15,0.125)
  994. 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))
  995.  
  996. dotsec = CreateParta(m3,0,0,"Neon",halocolor)
  997. CreateMesh(dotsec,"Sphere",0.1,0.1,0.15)
  998. 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))
  999. dotseca = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1000. CreateMesh(dotseca,"Sphere",0.2,0.2,0.1)
  1001. 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))
  1002. dotsecb = CreateParta(m2,0,0,"SmoothPlastic",lunacolor)
  1003. CreateMesh(dotsecb,"Sphere",0.15,0.15,0.125)
  1004. 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))
  1005.  
  1006. dotsec = CreateParta(m3,0,0,"Neon",halocolor)
  1007. CreateMesh(dotsec,"Sphere",0.1,0.1,0.15)
  1008. 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))
  1009. dotseca = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1010. CreateMesh(dotseca,"Sphere",0.2,0.2,0.1)
  1011. 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))
  1012. dotsecb = CreateParta(m2,0,0,"SmoothPlastic",lunacolor)
  1013. CreateMesh(dotsecb,"Sphere",0.15,0.15,0.125)
  1014. 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))
  1015.  
  1016. dotsec = CreateParta(m3,0,0,"Neon",halocolor)
  1017. CreateMesh(dotsec,"Sphere",0.1,0.1,0.15)
  1018. 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))
  1019. dotseca = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1020. CreateMesh(dotseca,"Sphere",0.2,0.2,0.1)
  1021. 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))
  1022. dotsecb = CreateParta(m2,0,0,"SmoothPlastic",lunacolor)
  1023. CreateMesh(dotsecb,"Sphere",0.15,0.15,0.125)
  1024. 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))
  1025.  
  1026. dotsec = CreateParta(m3,0,0,"Neon",halocolor)
  1027. CreateMesh(dotsec,"Sphere",0.1,0.1,0.15)
  1028. 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))
  1029. dotseca = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1030. CreateMesh(dotseca,"Sphere",0.2,0.2,0.1)
  1031. 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))
  1032. dotsecb = CreateParta(m2,0,0,"SmoothPlastic",lunacolor)
  1033. CreateMesh(dotsecb,"Sphere",0.15,0.15,0.125)
  1034. 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))
  1035.  
  1036. --- second ring
  1037.  
  1038. ran = CreateParta(m2,0,0,"SmoothPlastic",wepcolor)
  1039. CreateMesh(ran,"Wedge",1.02,1.02,1.02)
  1040. 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))
  1041. ran = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1042. CreateMesh(ran,"Wedge",0.9,0.9,1.025)
  1043. 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))
  1044. ran = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1045. CreateMesh(ran,"Wedge",1.025,0.9,0.9)
  1046. 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))
  1047.  
  1048. gan = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1049. CreateMesh(gan,"Brick",1.075,0.1,1.075)
  1050. 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))
  1051.  
  1052. gan = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1053. CreateMesh(gan,"Brick",1.075,0.1,1.075)
  1054. 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))
  1055.  
  1056.  
  1057.  
  1058. gan = CreateParta(m2,0,0,"Neon",halocolor2)
  1059. CreateMesh(gan,"Brick",1.095,0.035,1.095)
  1060. 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))
  1061.  
  1062. gan = CreateParta(m2,0,0,"Neon",halocolor2)
  1063. CreateMesh(gan,"Brick",1.095,0.035,1.095)
  1064. 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))
  1065.  
  1066. gane = CreateParta(m3,0,0,"SmoothPlastic",lunacolor2)
  1067. CreateMesh(gane,"Brick",1.0625,0.2,1.0625)
  1068. 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))
  1069.  
  1070. star = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1071. CreateSpecialMesh(star,"http://www.roblox.com/asset/?id=45428961",2.5,2.5,2.5)
  1072. 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))
  1073. starl = CreateParta(m3,0,0,"SmoothPlastic",starcolor)
  1074. CreateSpecialMesh(starl,"http://www.roblox.com/asset/?id=45428961",1.95,2.55,1.95)
  1075. 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))
  1076.  
  1077. -- S section A
  1078.  
  1079. dotsec = CreateParta(m3,0,0,"Neon",halocolor)
  1080. CreateMesh(dotsec,"Sphere",0.1,0.1,0.15)
  1081. 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))
  1082. dotseca = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1083. CreateMesh(dotseca,"Sphere",0.2,0.2,0.1)
  1084. 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))
  1085. dotsecb = CreateParta(m2,0,0,"SmoothPlastic",lunacolor)
  1086. CreateMesh(dotsecb,"Sphere",0.15,0.15,0.125)
  1087. 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))
  1088.  
  1089. dotsec = CreateParta(m3,0,0,"Neon",halocolor)
  1090. CreateMesh(dotsec,"Sphere",0.1,0.1,0.15)
  1091. 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))
  1092. dotseca = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1093. CreateMesh(dotseca,"Sphere",0.2,0.2,0.1)
  1094. 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))
  1095. dotsecb = CreateParta(m2,0,0,"SmoothPlastic",lunacolor)
  1096. CreateMesh(dotsecb,"Sphere",0.15,0.15,0.125)
  1097. 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))
  1098.  
  1099. dotsec = CreateParta(m3,0,0,"Neon",halocolor)
  1100. CreateMesh(dotsec,"Sphere",0.1,0.1,0.15)
  1101. 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))
  1102. dotseca = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1103. CreateMesh(dotseca,"Sphere",0.2,0.2,0.1)
  1104. 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))
  1105. dotsecb = CreateParta(m2,0,0,"SmoothPlastic",lunacolor)
  1106. CreateMesh(dotsecb,"Sphere",0.15,0.15,0.125)
  1107. 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))
  1108.  
  1109. dotsec = CreateParta(m3,0,0,"Neon",halocolor)
  1110. CreateMesh(dotsec,"Sphere",0.1,0.1,0.15)
  1111. 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))
  1112. dotseca = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1113. CreateMesh(dotseca,"Sphere",0.2,0.2,0.1)
  1114. 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))
  1115. dotsecb = CreateParta(m2,0,0,"SmoothPlastic",lunacolor)
  1116. CreateMesh(dotsecb,"Sphere",0.15,0.15,0.125)
  1117. 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))
  1118.  
  1119. dotsec = CreateParta(m3,0,0,"Neon",halocolor)
  1120. CreateMesh(dotsec,"Sphere",0.1,0.1,0.15)
  1121. 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))
  1122. dotseca = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1123. CreateMesh(dotseca,"Sphere",0.2,0.2,0.1)
  1124. 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))
  1125. dotsecb = CreateParta(m2,0,0,"SmoothPlastic",lunacolor)
  1126. CreateMesh(dotsecb,"Sphere",0.15,0.15,0.125)
  1127. 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))
  1128.  
  1129. -- S section B
  1130.  
  1131. dotsec = CreateParta(m3,0,0,"Neon",halocolor)
  1132. CreateMesh(dotsec,"Sphere",0.1,0.1,0.15)
  1133. 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))
  1134. dotseca = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1135. CreateMesh(dotseca,"Sphere",0.2,0.2,0.1)
  1136. 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))
  1137. dotsecb = CreateParta(m2,0,0,"SmoothPlastic",lunacolor)
  1138. CreateMesh(dotsecb,"Sphere",0.15,0.15,0.125)
  1139. 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))
  1140.  
  1141. dotsec = CreateParta(m3,0,0,"Neon",halocolor)
  1142. CreateMesh(dotsec,"Sphere",0.1,0.1,0.15)
  1143. 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))
  1144. dotseca = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1145. CreateMesh(dotseca,"Sphere",0.2,0.2,0.1)
  1146. 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))
  1147. dotsecb = CreateParta(m2,0,0,"SmoothPlastic",lunacolor)
  1148. CreateMesh(dotsecb,"Sphere",0.15,0.15,0.125)
  1149. 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))
  1150.  
  1151. dotsec = CreateParta(m3,0,0,"Neon",halocolor)
  1152. CreateMesh(dotsec,"Sphere",0.1,0.1,0.15)
  1153. 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))
  1154. dotseca = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1155. CreateMesh(dotseca,"Sphere",0.2,0.2,0.1)
  1156. 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))
  1157. dotsecb = CreateParta(m2,0,0,"SmoothPlastic",lunacolor)
  1158. CreateMesh(dotsecb,"Sphere",0.15,0.15,0.125)
  1159. 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))
  1160.  
  1161. dotsec = CreateParta(m3,0,0,"Neon",halocolor)
  1162. CreateMesh(dotsec,"Sphere",0.1,0.1,0.15)
  1163. 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))
  1164. dotseca = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1165. CreateMesh(dotseca,"Sphere",0.2,0.2,0.1)
  1166. 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))
  1167. dotsecb = CreateParta(m2,0,0,"SmoothPlastic",lunacolor)
  1168. CreateMesh(dotsecb,"Sphere",0.15,0.15,0.125)
  1169. 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))
  1170.  
  1171. dotsec = CreateParta(m3,0,0,"Neon",halocolor)
  1172. CreateMesh(dotsec,"Sphere",0.1,0.1,0.15)
  1173. 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))
  1174. dotseca = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1175. CreateMesh(dotseca,"Sphere",0.2,0.2,0.1)
  1176. 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))
  1177. dotsecb = CreateParta(m2,0,0,"SmoothPlastic",lunacolor)
  1178. CreateMesh(dotsecb,"Sphere",0.15,0.15,0.125)
  1179. 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))]]--
  1180.  
  1181.  
  1182. for i, v in pairs(m:GetChildren()) do
  1183. if v:IsA("Part") then
  1184. v.BrickColor = BrickColor.new("Really black")
  1185. v.Material = "Glass"
  1186. end
  1187. end
  1188. for i, v in pairs(m2:GetChildren()) do
  1189. if v:IsA("Part") then
  1190. v.BrickColor = BrickColor.new("Dark stone grey")
  1191. v.Material = "Granite"
  1192. end
  1193. end
  1194. for i, v in pairs(m3:GetChildren()) do
  1195. if v:IsA("Part") then
  1196. v.BrickColor = BrickColor.new("Really black")
  1197. v.Material = "Neon"
  1198. end
  1199. end
  1200. for i, v in pairs(mw2:GetChildren()) do
  1201. if v:IsA("Part") then
  1202. v.BrickColor = BrickColor.new("Really black")
  1203. v.Material = "Neon"
  1204. end
  1205. end
  1206. for i, v in pairs(mw1:GetChildren()) do
  1207. if v:IsA("Part") then
  1208. v.Transparency = 1
  1209. v.BrickColor = BrickColor.new("Really black")
  1210. v.Material = "Neon"
  1211. end
  1212. end
  1213. for i, v in pairs(extrawingmod1:GetChildren()) do
  1214. if v:IsA("Part") then
  1215. v.Transparency = 1
  1216. v.BrickColor = BrickColor.new("White")
  1217. v.Material = "Neon"
  1218. end
  1219. end
  1220. for i, v in pairs(extrawingmod2:GetChildren()) do
  1221. if v:IsA("Part") then
  1222. v.Transparency = 1
  1223. v.BrickColor = BrickColor.new("White")
  1224. v.Material = "Neon"
  1225. end
  1226. end
  1227. local MAINRUINCOLOR = BrickColor.new("Really black")
  1228. ------
  1229.  
  1230.  
  1231. function RemoveOutlines(part)
  1232. part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10
  1233. end
  1234. function CreatePart(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  1235. local Part = Create("Part")({
  1236. Parent = Parent,
  1237. Reflectance = Reflectance,
  1238. Transparency = Transparency,
  1239. CanCollide = false,
  1240. Locked = true,
  1241. BrickColor = BrickColor.new(tostring(BColor)),
  1242. Name = Name,
  1243. Size = Size,
  1244. Material = Material
  1245. })
  1246. Part.CustomPhysicalProperties = PhysicalProperties.new(0.001, 0.001, 0.001, 0.001, 0.001)
  1247. RemoveOutlines(Part)
  1248. return Part
  1249. end
  1250. function CreateMesh(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  1251. local Msh = Create(Mesh)({
  1252. Parent = Part,
  1253. Offset = OffSet,
  1254. Scale = Scale
  1255. })
  1256. if Mesh == "SpecialMesh" then
  1257. Msh.MeshType = MeshType
  1258. Msh.MeshId = MeshId
  1259. end
  1260. return Msh
  1261. end
  1262. function CreateWeld(Parent, Part0, Part1, C0, C1)
  1263. local Weld = Create("Weld")({
  1264. Parent = Parent,
  1265. Part0 = Part0,
  1266. Part1 = Part1,
  1267. C0 = C0,
  1268. C1 = C1
  1269. })
  1270. return Weld
  1271. end
  1272.  
  1273. Player=game:GetService("Players").basstracker1970
  1274. Character=Player.Character
  1275. PlayerGui=Player.PlayerGui
  1276. Backpack=Player.Backpack
  1277. Torso=Character.Torso
  1278. Head=Character.Head
  1279. Humanoid=Character:FindFirstChildOfClass'Humanoid'
  1280. m=Instance.new('Model',Character)
  1281. LeftArm=Character["Left Arm"]
  1282. LeftLeg=Character["Left Leg"]
  1283. RightArm=Character["Right Arm"]
  1284. RightLeg=Character["Right Leg"]
  1285. LS=Torso["Left Shoulder"]
  1286. LH=Torso["Left Hip"]
  1287. RS=Torso["Right Shoulder"]
  1288. RH=Torso["Right Hip"]
  1289. Face = Head.face
  1290. Neck=Torso.Neck
  1291. it=Instance.new
  1292. attacktype=1
  1293. vt=Vector3.new
  1294. cf=CFrame.new
  1295. euler=CFrame.fromEulerAnglesXYZ
  1296. angles=CFrame.Angles
  1297. cloaked=false
  1298. necko=cf(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  1299. necko2=cf(0, -0.5, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  1300. LHC0=cf(-1,-1,0,-0,-0,-1,0,1,0,1,0,0)
  1301. LHC1=cf(-0.5,1,0,-0,-0,-1,0,1,0,1,0,0)
  1302. RHC0=cf(1,-1,0,0,0,1,0,1,0,-1,-0,-0)
  1303. RHC1=cf(0.5,1,0,0,0,1,0,1,0,-1,-0,-0)
  1304. RootPart=Character.HumanoidRootPart
  1305. RootJoint=RootPart.RootJoint
  1306. RootCF=euler(-1.57,0,3.14)
  1307. attack = false
  1308. attackdebounce = false
  1309. deb=false
  1310. equipped=true
  1311. hand=false
  1312. MMouse=nil
  1313. combo=0
  1314. mana=0
  1315. trispeed=.2
  1316. attackmode='none'
  1317. local idle=0
  1318. local Anim="Idle"
  1319. local Effects={}
  1320. local gun=false
  1321. local shoot=false
  1322. local sine = 0
  1323. local change = 1
  1324. player=nil
  1325. pcall(function()char.LeftWing:destroy()end)
  1326. pcall(function()char.Halo:destroy()end)
  1327. local toggleTag = true
  1328. local txt = Instance.new("BillboardGui", Head)
  1329. txt.Adornee = nil
  1330. txt.Name = "NameDetect"
  1331. txt.Size = UDim2.new(4, 0, 1.2, 0)
  1332. txt.StudsOffset = Vector3.new(-8, 8/1.5, 0)
  1333. local text = Instance.new("TextLabel", txt)
  1334. text.Size = UDim2.new(10/2, 0, 7/2, 0)
  1335. text.FontSize = "Size8"
  1336. text.TextScaled = true
  1337. text.TextTransparency = 0
  1338. text.BackgroundTransparency = 1
  1339. text.TextTransparency = 0
  1340. text.TextStrokeTransparency = 0
  1341. text.Font = "Fantasy"
  1342. text.TextStrokeColor3 = Color3.new(1,1,1)
  1343. text.TextColor3 = Color3.new(0,0,0)
  1344. text.Text = "Solitude"
  1345.  
  1346. pcall(function() Character.ReaperShadowHead.Eye1.BrickColor = BrickColor.new'Really red' end)
  1347. pcall(function() Character.ReaperShadowHead.Eye2.BrickColor = BrickColor.new'Really red' end)
  1348.  
  1349. function RecolorTextAndRename(name,col1,col2)
  1350. text.TextStrokeColor3 = col2
  1351. text.TextColor3 = col1
  1352. text.Text = name
  1353. end
  1354. --save shoulders
  1355. RSH, LSH=nil, nil
  1356. --welds
  1357. RW, LW=Instance.new("Weld"), Instance.new("Weld")
  1358. RW.Name="Right Shoulder" LW.Name="Left Shoulder"
  1359. LH=Torso["Left Hip"]
  1360. RH=Torso["Right Hip"]
  1361. TorsoColor=Torso.BrickColor
  1362. function NoOutline(Part)
  1363. Part.TopSurface,Part.BottomSurface,Part.LeftSurface,Part.RightSurface,Part.FrontSurface,Part.BackSurface = 10,10,10,10,10,10
  1364. end
  1365. player=Player
  1366. ch=Character
  1367. RSH=ch.Torso["Right Shoulder"]
  1368. LSH=ch.Torso["Left Shoulder"]
  1369. --
  1370. RSH.Parent=nil
  1371. LSH.Parent=nil
  1372. --
  1373. RW.Name="Right Shoulder"
  1374. RW.Part0=ch.Torso
  1375. RW.C0=cf(1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.3, 0, -0.5)
  1376. RW.C1=cf(0, 0.5, 0)
  1377. RW.Part1=ch["Right Arm"]
  1378. RW.Parent=ch.Torso
  1379. --
  1380. LW.Name="Left Shoulder"
  1381. LW.Part0=ch.Torso
  1382. LW.C0=cf(-1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.7, 0, 0.8)
  1383. LW.C1=cf(0, 0.5, 0)
  1384. LW.Part1=ch["Left Arm"]
  1385. LW.Parent=ch.Torso
  1386.  
  1387. local Stats=Instance.new("BoolValue")
  1388. Stats.Name="Stats"
  1389. Stats.Parent=Character
  1390. local Atk=Instance.new("NumberValue")
  1391. Atk.Name="Damage"
  1392. Atk.Parent=Stats
  1393. Atk.Value=1
  1394. local Def=Instance.new("NumberValue")
  1395. Def.Name="Defense"
  1396. Def.Parent=Stats
  1397. Def.Value=1
  1398. local Speed=Instance.new("NumberValue")
  1399. Speed.Name="Speed"
  1400. Speed.Parent=Stats
  1401. Speed.Value=1
  1402. local Mvmt=Instance.new("NumberValue")
  1403. Mvmt.Name="Movement"
  1404. Mvmt.Parent=Stats
  1405. Mvmt.Value=1
  1406.  
  1407. local donum=0
  1408.  
  1409.  
  1410. function part(formfactor,parent,reflectance,transparency,brickcolor,name,size)
  1411. local fp=it("Part")
  1412. fp.formFactor=formfactor
  1413. fp.Parent=parent
  1414. fp.Reflectance=reflectance
  1415. fp.Transparency=transparency
  1416. fp.CanCollide=false
  1417. fp.Locked=true
  1418. fp.BrickColor=brickcolor
  1419. fp.Name=name
  1420. fp.Size=size
  1421. fp.Position=Torso.Position
  1422. NoOutline(fp)
  1423. fp.Material="SmoothPlastic"
  1424. fp:BreakJoints()
  1425. return fp
  1426. end
  1427.  
  1428. function mesh(Mesh,part,meshtype,meshid,offset,scale)
  1429. local mesh=it(Mesh)
  1430. mesh.Parent=part
  1431. if Mesh=="SpecialMesh" then
  1432. mesh.MeshType=meshtype
  1433. if meshid~="nil" then
  1434. mesh.MeshId="http://www.roblox.com/asset/?id="..meshid
  1435. end
  1436. end
  1437. mesh.Offset=offset
  1438. mesh.Scale=scale
  1439. return mesh
  1440. end
  1441.  
  1442. function weld(parent,part0,part1,c0)
  1443. local weld=it("Weld")
  1444. weld.Parent=parent
  1445. weld.Part0=part0
  1446. weld.Part1=part1
  1447. weld.C0=c0
  1448. return weld
  1449. end
  1450.  
  1451. local Color1=Torso.BrickColor
  1452.  
  1453. local bodvel=Instance.new("BodyVelocity")
  1454. local bg=Instance.new("BodyGyro")
  1455.  
  1456. --// Artificial HB \\--
  1457.  
  1458. local ArtificialHB = Instance.new("BindableEvent", script)
  1459. ArtificialHB.Name = "Heartbeat"
  1460.  
  1461. script:WaitForChild("Heartbeat")
  1462.  
  1463. local tf = 0
  1464. local allowframeloss = false
  1465. local tossremainder = false
  1466. local lastframe = tick()
  1467. local frame = 1/60
  1468. ArtificialHB:Fire()
  1469.  
  1470. game:GetService("RunService").Heartbeat:connect(function(s, p)
  1471. tf = tf + s
  1472. if tf >= frame then
  1473. if allowframeloss then
  1474. script.Heartbeat:Fire()
  1475. lastframe = tick()
  1476. else
  1477. for i = 1, math.floor(tf / frame) do
  1478. ArtificialHB:Fire()
  1479. end
  1480. lastframe = tick()
  1481. end
  1482. if tossremainder then
  1483. tf = 0
  1484. else
  1485. tf = tf - frame * math.floor(tf / frame)
  1486. end
  1487. end
  1488. end)
  1489.  
  1490. function swait(num)
  1491. if num == 0 or num == nil then
  1492. ArtificialHB.Event:wait()
  1493. else
  1494. for i = 0, num do
  1495. ArtificialHB.Event:wait()
  1496. end
  1497. end
  1498. end
  1499.  
  1500. -------- RAINBOW LEAVE IT TO ME
  1501. local r = 255
  1502. local g = 0
  1503. local b = 0
  1504. coroutine.resume(coroutine.create(function()
  1505. while wait() do
  1506. for i = 0, 254/5 do
  1507. swait()
  1508. g = g + 5
  1509. end
  1510. for i = 0, 254/5 do
  1511. swait()
  1512. r = r - 5
  1513. end
  1514. for i = 0, 254/5 do
  1515. swait()
  1516. b = b + 5
  1517. end
  1518. for i = 0, 254/5 do
  1519. swait()
  1520. g = g - 5
  1521. end
  1522. for i = 0, 254/5 do
  1523. swait()
  1524. r = r + 5
  1525. end
  1526. for i = 0, 254/5 do
  1527. swait()
  1528. b = b - 5
  1529. end
  1530. end
  1531. end))
  1532.  
  1533.  
  1534. so = function(id,par,vol,pit)
  1535. coroutine.resume(coroutine.create(function()
  1536. local sou = Instance.new("Sound",par or workspace)
  1537. sou.Volume=vol
  1538. sou.Pitch=pit or 1
  1539. sou.SoundId=id
  1540. swait()
  1541. sou:play()
  1542. game:GetService("Debris"):AddItem(sou,6)
  1543. end))
  1544. end
  1545.  
  1546. function clerp(a,b,t)
  1547. return a:lerp(b,t)
  1548. end
  1549.  
  1550. local function CFrameFromTopBack(at, top, back)
  1551. local right = top:Cross(back)
  1552. return CFrame.new(at.x, at.y, at.z,
  1553. right.x, top.x, back.x,
  1554. right.y, top.y, back.y,
  1555. right.z, top.z, back.z)
  1556. end
  1557.  
  1558. function Triangle(a, b, c)
  1559. local edg1 = (c-a):Dot((b-a).unit)
  1560. local edg2 = (a-b):Dot((c-b).unit)
  1561. local edg3 = (b-c):Dot((a-c).unit)
  1562. if edg1 <= (b-a).magnitude and edg1 >= 0 then
  1563. a, b, c = a, b, c
  1564. elseif edg2 <= (c-b).magnitude and edg2 >= 0 then
  1565. a, b, c = b, c, a
  1566. elseif edg3 <= (a-c).magnitude and edg3 >= 0 then
  1567. a, b, c = c, a, b
  1568. else
  1569. assert(false, "unreachable")
  1570. end
  1571.  
  1572. local len1 = (c-a):Dot((b-a).unit)
  1573. local len2 = (b-a).magnitude - len1
  1574. local width = (a + (b-a).unit*len1 - c).magnitude
  1575.  
  1576. local maincf = CFrameFromTopBack(a, (b-a):Cross(c-b).unit, -(b-a).unit)
  1577.  
  1578. local list = {}
  1579.  
  1580. if len1 > 0.01 then
  1581. local w1 = Instance.new('WedgePart', m)
  1582. game:GetService("Debris"):AddItem(w1,5)
  1583. w1.Material = "SmoothPlastic"
  1584. w1.FormFactor = 'Custom'
  1585. w1.BrickColor = BrickColor.new("Really black")
  1586. w1.Transparency = 0
  1587. w1.Reflectance = 0
  1588. w1.Material = "SmoothPlastic"
  1589. w1.CanCollide = false
  1590. local l1 = Instance.new("PointLight",w1)
  1591. l1.Color = Color3.new(170,0,0)
  1592. NoOutline(w1)
  1593. local sz = Vector3.new(0.2, width, len1)
  1594. w1.Size = sz
  1595. local sp = Instance.new("SpecialMesh",w1)
  1596. sp.MeshType = "Wedge"
  1597. sp.Scale = Vector3.new(0,1,1) * sz/w1.Size
  1598. w1:BreakJoints()
  1599. w1.Anchored = true
  1600. w1.Parent = workspace
  1601. w1.Transparency = 0.7
  1602. table.insert(Effects,{w1,"Disappear",.01})
  1603. w1.CFrame = maincf*CFrame.Angles(math.pi,0,math.pi/2)*CFrame.new(0,width/2,len1/2)
  1604. table.insert(list,w1)
  1605. end
  1606.  
  1607. if len2 > 0.01 then
  1608. local w2 = Instance.new('WedgePart', m)
  1609. game:GetService("Debris"):AddItem(w2,5)
  1610. w2.Material = "SmoothPlastic"
  1611. w2.FormFactor = 'Custom'
  1612. w2.BrickColor = BrickColor.new("Really black")
  1613. w2.Transparency = 0
  1614. w2.Reflectance = 0
  1615. w2.Material = "SmoothPlastic"
  1616. w2.CanCollide = false
  1617. local l2 = Instance.new("PointLight",w2)
  1618. l2.Color = Color3.new(170,0,0)
  1619. NoOutline(w2)
  1620. local sz = Vector3.new(0.2, width, len2)
  1621. w2.Size = sz
  1622. local sp = Instance.new("SpecialMesh",w2)
  1623. sp.MeshType = "Wedge"
  1624. sp.Scale = Vector3.new(0,1,1) * sz/w2.Size
  1625. w2:BreakJoints()
  1626. w2.Anchored = true
  1627. w2.Parent = workspace
  1628. w2.Transparency = 0.7
  1629. table.insert(Effects,{w2,"Disappear",.01})
  1630. w2.CFrame = maincf*CFrame.Angles(math.pi,math.pi,-math.pi/2)*CFrame.new(0,width/2,-len1 - len2/2)
  1631. table.insert(list,w2)
  1632. end
  1633. return unpack(list)
  1634. end
  1635.  
  1636.  
  1637. function Damagefunc(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch)
  1638. if hit.Parent == nil then
  1639. return
  1640. end
  1641. local h = hit.Parent:FindFirstChildOfClass("Humanoid")
  1642. for _, v in pairs(hit.Parent:children()) do
  1643. if v:IsA("Humanoid") then
  1644. h = v
  1645. end
  1646. end
  1647. if h ~= nil and hit.Parent.Name ~= Character.Name and hit.Parent:FindFirstChild("Head") ~= nil then
  1648. if hit.Parent:findFirstChild("DebounceHit") ~= nil and hit.Parent.DebounceHit.Value == true then
  1649. return
  1650. end
  1651. local c = Create("ObjectValue")({
  1652. Name = "creator",
  1653. Value = owner,
  1654. Parent = h
  1655. })
  1656. game:GetService("Debris"):AddItem(c, 0.5)
  1657. if HitSound ~= nil and HitPitch ~= nil then
  1658. CFuncs.Sound.Create(HitSound, hit, 1, HitPitch)
  1659. end
  1660. local Damage = math.random(minim, maxim)
  1661. local blocked = false
  1662. local block = hit.Parent:findFirstChild("Block")
  1663. if block ~= nil and block.className == "IntValue" and block.Value > 0 then
  1664. blocked = true
  1665. block.Value = block.Value - 1
  1666. print(block.Value)
  1667. end
  1668. if blocked == false then
  1669. HitHealth = h.Health
  1670. h.Health = h.Health - Damage
  1671. if HitHealth ~= h.Health and HitHealth ~= 0 and 0 >= h.Health and h.Parent.Name ~= "Hologram" then
  1672. print("gained kill")
  1673. end
  1674. ShowDamage(Part.CFrame * CFrame.new(0, 0, Part.Size.Z / 2).p + Vector3.new(0, 1.5, 0), -Damage, 1.5, Part.BrickColor.Color)
  1675. else
  1676. h.Health = h.Health - Damage / 2
  1677. ShowDamage(Part.CFrame * CFrame.new(0, 0, Part.Size.Z / 2).p + Vector3.new(0, 1.5, 0), -Damage, 1.5, Part.BrickColor.Color)
  1678. end
  1679. if Type == "Knockdown" then
  1680. local hum = hit.Parent:FindFirstChildOfClass'Humanoid'
  1681. hum.PlatformStand = true
  1682. coroutine.resume(coroutine.create(function(HHumanoid)
  1683. swait(1)
  1684. HHumanoid.PlatformStand = false
  1685. end), hum)
  1686. local angle = hit.Position - (Property.Position + Vector3.new(0, 0, 0)).unit
  1687. local bodvol = Create("BodyVelocity")({
  1688. velocity = angle * knockback,
  1689. P = 5000,
  1690. maxForce = Vector3.new(8000, 8000, 8000),
  1691. Parent = hit
  1692. })
  1693. local rl = Create("BodyAngularVelocity")({
  1694. P = 3000,
  1695. maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000,
  1696. angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)),
  1697. Parent = hit
  1698. })
  1699. game:GetService("Debris"):AddItem(bodvol, 0.5)
  1700. game:GetService("Debris"):AddItem(rl, 0.5)
  1701. elseif Type == "Normal" then
  1702. local vp = Create("BodyVelocity")({
  1703. P = 500,
  1704. maxForce = Vector3.new(math.huge, 0, math.huge),
  1705. velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05
  1706. })
  1707. if knockback > 0 then
  1708. vp.Parent = hit.Parent.Head
  1709. end
  1710. game:GetService("Debris"):AddItem(vp, 0.5)
  1711. elseif Type == "Up" then
  1712. local bodyVelocity = Create("BodyVelocity")({
  1713. velocity = Vector3.new(0, 20, 0),
  1714. P = 5000,
  1715. maxForce = Vector3.new(8000, 8000, 8000),
  1716. Parent = hit
  1717. })
  1718. game:GetService("Debris"):AddItem(bodyVelocity, 0.5)
  1719. local bodyVelocity = Create("BodyVelocity")({
  1720. velocity = Vector3.new(0, 20, 0),
  1721. P = 5000,
  1722. maxForce = Vector3.new(8000, 8000, 8000),
  1723. Parent = hit
  1724. })
  1725. game:GetService("Debris"):AddItem(bodyVelocity, 1)
  1726. elseif Type == "Leech" then
  1727. local hum = hit.Parent:FindFirstChildOfClass'Humanoid'
  1728. if hum ~= nil then
  1729. for i = 0, 2 do
  1730. 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)
  1731. end
  1732. Humanoid.Health = Humanoid.Health + 10
  1733. end
  1734. elseif Type == "UpKnock" then
  1735. local hum = hit.Parent:FindFirstChildOfClass'Humanoid'
  1736. hum.PlatformStand = true
  1737. if hum ~= nil then
  1738. hitr = true
  1739. end
  1740. coroutine.resume(coroutine.create(function(HHumanoid)
  1741. swait(5)
  1742. HHumanoid.PlatformStand = false
  1743. hitr = false
  1744. end), hum)
  1745. local bodyVelocity = Create("BodyVelocity")({
  1746. velocity = Vector3.new(0, 20, 0),
  1747. P = 5000,
  1748. maxForce = Vector3.new(8000, 8000, 8000),
  1749. Parent = hit
  1750. })
  1751. game:GetService("Debris"):AddItem(bodyVelocity, 0.5)
  1752. local bodyVelocity = Create("BodyVelocity")({
  1753. velocity = Vector3.new(0, 20, 0),
  1754. P = 5000,
  1755. maxForce = Vector3.new(8000, 8000, 8000),
  1756. Parent = hit
  1757. })
  1758. game:GetService("Debris"):AddItem(bodyVelocity, 1)
  1759. elseif Type == "Snare" then
  1760. local bp = Create("BodyPosition")({
  1761. P = 2000,
  1762. D = 100,
  1763. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  1764. position = hit.Parent.Torso.Position,
  1765. Parent = hit.Parent.Torso
  1766. })
  1767. game:GetService("Debris"):AddItem(bp, 1)
  1768. elseif Type == "Slashnare" then
  1769. 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)
  1770. for i = 1, math.random(4, 5) do
  1771. 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)
  1772. end
  1773. local bp = Create("BodyPosition")({
  1774. P = 2000,
  1775. D = 100,
  1776. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  1777. position = hit.Parent.Torso.Position,
  1778. Parent = hit.Parent.Torso
  1779. })
  1780. game:GetService("Debris"):AddItem(bp, 1)
  1781. elseif Type == "Spike" then
  1782. CreateBigIceSword(hit.Parent.Torso.CFrame)
  1783. local bp = Create("BodyPosition")({
  1784. P = 2000,
  1785. D = 100,
  1786. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  1787. position = hit.Parent.Torso.Position,
  1788. Parent = hit.Parent.Torso
  1789. })
  1790. game:GetService("Debris"):AddItem(bp, 1)
  1791. elseif Type == "Freeze" then
  1792. local BodPos = Create("BodyPosition")({
  1793. P = 50000,
  1794. D = 1000,
  1795. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  1796. position = hit.Parent.Torso.Position,
  1797. Parent = hit.Parent.Torso
  1798. })
  1799. local BodGy = Create("BodyGyro")({
  1800. maxTorque = Vector3.new(400000, 400000, 400000) * math.huge,
  1801. P = 20000,
  1802. Parent = hit.Parent.Torso,
  1803. cframe = hit.Parent.Torso.CFrame
  1804. })
  1805. hit.Parent.Torso.Anchored = true
  1806. coroutine.resume(coroutine.create(function(Part)
  1807. swait(1.5)
  1808. Part.Anchored = false
  1809. end), hit.Parent.Torso)
  1810. game:GetService("Debris"):AddItem(BodPos, 3)
  1811. game:GetService("Debris"):AddItem(BodGy, 3)
  1812. end
  1813. local debounce = Create("BoolValue")({
  1814. Name = "DebounceHit",
  1815. Parent = hit.Parent,
  1816. Value = true
  1817. })
  1818. game:GetService("Debris"):AddItem(debounce, Delay)
  1819. c = Instance.new("ObjectValue")
  1820. c.Name = "creator"
  1821. c.Value = Player
  1822. c.Parent = h
  1823. game:GetService("Debris"):AddItem(c, 0.5)
  1824. end
  1825. end
  1826. function ShowDamage(Pos, Text, Time, Color)
  1827. local Rate = 0.03333333333333333
  1828. local Pos = Pos or Vector3.new(0, 0, 0)
  1829. local Text = Text or ""
  1830. local Time = Time or 2
  1831. local Color = Color or Color3.new(1, 0, 1)
  1832. local EffectPart = CreatePart(workspace, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", Vector3.new(0, 0, 0))
  1833. EffectPart.Anchored = true
  1834. local BillboardGui = Create("BillboardGui")({
  1835. Size = UDim2.new(3, 0, 3, 0),
  1836. Adornee = EffectPart,
  1837. Parent = EffectPart
  1838. })
  1839. local TextLabel = Create("TextLabel")({
  1840. BackgroundTransparency = 1,
  1841. Size = UDim2.new(1, 0, 1, 0),
  1842. Text = Text,
  1843. TextColor3 = Color,
  1844. TextScaled = true,
  1845. Font = Enum.Font.ArialBold,
  1846. Parent = BillboardGui
  1847. })
  1848. game.Debris:AddItem(EffectPart, Time + 0.1)
  1849. EffectPart.Parent = game:GetService("Workspace")
  1850. delay(0, function()
  1851. local Frames = Time / Rate
  1852. for Frame = 1, Frames do
  1853. wait(Rate)
  1854. local Percent = Frame / Frames
  1855. EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0)
  1856. TextLabel.TextTransparency = Percent
  1857. end
  1858. if EffectPart and EffectPart.Parent then
  1859. EffectPart:Destroy()
  1860. end
  1861. end)
  1862. end
  1863. function MagniDamage(Part, magni, mindam, maxdam, knock, Type)
  1864. for _, c in pairs(workspace:children()) do
  1865. local hum = c:findFirstChildOfClass("Humanoid")
  1866. if hum ~= nil then
  1867. local head = c:findFirstChild("Head")
  1868. if head ~= nil then
  1869. local targ = head.Position - Part.Position
  1870. local mag = targ.magnitude
  1871. if magni >= mag and c.Name ~= Player.Name then
  1872. Damagefunc(head, head, mindam, maxdam, knock, Type, RootPart, 0.1, "rbxassetid://231917784", 1)
  1873. end
  1874. end
  1875. end
  1876. end
  1877. end
  1878.  
  1879. function MagniDamageWithEffect(Part, magni, mindam, maxdam, knock, Type)
  1880. for _, c in pairs(workspace:children()) do
  1881. local hum = c:findFirstChild("Humanoid")
  1882. if hum ~= nil then
  1883. local head = c:findFirstChild("Torso")
  1884. if head ~= nil then
  1885. local targ = head.Position - Part.Position
  1886. local mag = targ.magnitude
  1887. if magni >= mag and c.Name ~= Player.Name then
  1888. MagicBlock(BrickColor.new("Pastel light blue"),head.CFrame,5,5,5,1,1,1,0.05)
  1889. Damagefunc(head, head, mindam, maxdam, knock, Type, RootPart, 0.1, "rbxassetid://231917784", 1)
  1890. end
  1891. end
  1892. end
  1893. end
  1894. end
  1895.  
  1896. function rayCast(Pos, Dir, Max, Ignore) -- Origin Position , Direction, MaxDistance , IgnoreDescendants
  1897. return game:service("Workspace"):FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore)
  1898. end
  1899.  
  1900. function SkullEffect(brickcolor,cframe,x1,y1,z1,delay)
  1901. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  1902. prt.Anchored=true
  1903. prt.CFrame=cframe
  1904. local msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=4770583",vt(0,0,0),vt(x1,y1,z1))
  1905. --http://www.roblox.com/asset/?id=4770560
  1906. game:GetService("Debris"):AddItem(prt,2)
  1907. CF=prt.CFrame
  1908. coroutine.resume(coroutine.create(function(Part,Mesh,TehCF)
  1909. for i=0,1,0.2 do
  1910. wait()
  1911. Part.CFrame=CF*cf(0,0,-0.4)
  1912. end
  1913. for i=0,1,delay do
  1914. wait()
  1915. --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)
  1916. Mesh.Scale=Mesh.Scale
  1917. end
  1918. for i=0,1,0.1 do
  1919. wait()
  1920. Part.Transparency=i
  1921. end
  1922. Part.Parent=nil
  1923. end),prt,msh,CF)
  1924. end
  1925.  
  1926. function MagicBlock(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  1927. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  1928. prt.Anchored=true
  1929. prt.Material = "Neon"
  1930. prt.CFrame=cframe
  1931. prt.CFrame=prt.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  1932. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  1933. game:GetService("Debris"):AddItem(prt,5)
  1934. coroutine.resume(coroutine.create(function(Part,Mesh)
  1935. for i=0,1,delay do
  1936. swait()
  1937. Part.CFrame=Part.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  1938. Part.Transparency=i
  1939. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  1940. end
  1941. Part.Parent=nil
  1942. end),prt,msh)
  1943. end
  1944.  
  1945. function MagicBlockSteady(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay,rottype)
  1946. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  1947. prt.Anchored=true
  1948. prt.Material = "Neon"
  1949. prt.CFrame=cframe
  1950. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  1951. game:GetService("Debris"):AddItem(prt,5)
  1952. coroutine.resume(coroutine.create(function(Part,Mesh)
  1953. local rtype = rottype
  1954. for i=0,1,delay do
  1955. swait()
  1956. if rtype == 1 then
  1957. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1)
  1958. elseif rtype == 2 then
  1959. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1)
  1960. end
  1961. Part.Transparency=i
  1962. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  1963. end
  1964. Part.Parent=nil
  1965. end),prt,msh)
  1966. end
  1967.  
  1968. function MagicSphere(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  1969. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  1970. prt.Anchored=true
  1971. prt.CFrame=cframe
  1972. prt.CFrame=prt.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  1973. msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1))
  1974. game:GetService("Debris"):AddItem(prt,5)
  1975. coroutine.resume(coroutine.create(function(Part,Mesh)
  1976. for i=0,1,delay do
  1977. wait()
  1978. Part.Transparency=i
  1979. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  1980. end
  1981. Part.Parent=nil
  1982. end),prt,msh)
  1983. end
  1984.  
  1985. function MagicBlockSteady(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay,rottype)
  1986. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  1987. prt.Anchored=true
  1988. prt.Material = "Neon"
  1989. prt.CFrame=cframe
  1990. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  1991. game:GetService("Debris"):AddItem(prt,5)
  1992. coroutine.resume(coroutine.create(function(Part,Mesh)
  1993. local rtype = rottype
  1994. for i=0,1,delay do
  1995. swait()
  1996. if rtype == 1 then
  1997. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1)
  1998. elseif rtype == 2 then
  1999. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1)
  2000. end
  2001. Part.Transparency=i
  2002. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  2003. end
  2004. Part.Parent=nil
  2005. end),prt,msh)
  2006. end
  2007.  
  2008. function MagicShock(brickcolor,cframe,x1,y1,x3,y3,delay,rottype)
  2009. local prt=part(3,char,1,1,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2010. prt.Anchored=true
  2011. prt.Material = "Neon"
  2012. prt.CFrame=cframe
  2013. local dec = decal(prt.Color,"http://www.roblox.com/asset/?id=874580939","Front",prt)
  2014. local dec2 = decal(prt.Color,"http://www.roblox.com/asset/?id=874580939","Front",prt)
  2015. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,0.01))
  2016. game:GetService("Debris"):AddItem(prt,5)
  2017. coroutine.resume(coroutine.create(function(Part,Mesh)
  2018. local rtype = rottype
  2019. for i=0,1,delay do
  2020. swait()
  2021. if rtype == 1 then
  2022. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1)
  2023. elseif rtype == 2 then
  2024. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1)
  2025. end
  2026. dec.Transparency=i
  2027. dec2.Transparency=i
  2028. Mesh.Scale=Mesh.Scale+vt(x3,y3,0)
  2029. end
  2030. Part.Parent=nil
  2031. end),prt,msh)
  2032. end
  2033.  
  2034. function MagicShockAlt(brickcolor,cframe,x1,y1,x3,y3,delay,rottype)
  2035. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2036. prt.Anchored=true
  2037. prt.Material = "Neon"
  2038. prt.CFrame=cframe
  2039. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,0.01))
  2040. game:GetService("Debris"):AddItem(prt,5)
  2041. coroutine.resume(coroutine.create(function(Part,Mesh)
  2042. local rtype = rottype
  2043. for i=0,1,delay do
  2044. swait()
  2045. if rtype == 1 then
  2046. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1)
  2047. elseif rtype == 2 then
  2048. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1)
  2049. end
  2050. prt.Transparency=i
  2051. Mesh.Scale=Mesh.Scale+vt(x3,y3,0)
  2052. end
  2053. Part.Parent=nil
  2054. end),prt,msh)
  2055. end
  2056.  
  2057. function MagicShockAltCircle(brickcolor,cframe,x1,z1,x3,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,1,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.1,0)
  2070. elseif rtype == 2 then
  2071. prt.CFrame = prt.CFrame*CFrame.Angles(0,-0.1,0)
  2072. end
  2073. prt.Transparency=i
  2074. Mesh.Scale=Mesh.Scale+vt(x3,0,z3)
  2075. end
  2076. Part.Parent=nil
  2077. end),prt,msh)
  2078. end
  2079.  
  2080. function MagicShockTrailAlt(brickcolor,cframe,x1,y1,z1,x3,y3,delay,rottype)
  2081. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2082. prt.Anchored=true
  2083. prt.Material = "Neon"
  2084. prt.CFrame=cframe
  2085. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  2086. game:GetService("Debris"):AddItem(prt,5)
  2087. coroutine.resume(coroutine.create(function(Part,Mesh)
  2088. local rtype = rottype
  2089. for i=0,1,delay do
  2090. swait()
  2091. if rtype == 1 then
  2092. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1)
  2093. elseif rtype == 2 then
  2094. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1)
  2095. end
  2096. prt.Transparency=i
  2097. Mesh.Scale=Mesh.Scale+vt(x3,y3,0)
  2098. end
  2099. Part.Parent=nil
  2100. end),prt,msh)
  2101. end
  2102.  
  2103. function MagicShockTrailAlt2(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay,rottype)
  2104. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2105. prt.Anchored=true
  2106. prt.Material = "Neon"
  2107. prt.CFrame=cframe
  2108. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  2109. game:GetService("Debris"):AddItem(prt,5)
  2110. coroutine.resume(coroutine.create(function(Part,Mesh)
  2111. local rtype = rottype
  2112. for i=0,1,delay do
  2113. swait()
  2114. if rtype == 1 then
  2115. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1)
  2116. elseif rtype == 2 then
  2117. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1)
  2118. end
  2119. prt.Transparency=i
  2120. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  2121. end
  2122. Part.Parent=nil
  2123. end),prt,msh)
  2124. end
  2125.  
  2126. function MagicBlock2(brickcolor,cframe,Parent,x1,y1,z1,x3,y3,z3,delay)
  2127. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2128. prt.Anchored=false
  2129. prt.CFrame=cframe
  2130. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  2131. local wld=weld(prt,prt,Parent,cframe)
  2132. game:GetService("Debris"):AddItem(prt,5)
  2133. coroutine.resume(coroutine.create(function(Part,Mesh,Weld)
  2134. for i=0,1,delay do
  2135. wait()
  2136. Weld.C0=euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))*cframe
  2137. --Part.CFrame=Part.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  2138. Part.Transparency=i
  2139. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  2140. end
  2141. Part.Parent=nil
  2142. end),prt,msh,wld)
  2143. end
  2144.  
  2145. function MagicBlock3(brickcolor,cframe,Parent,x1,y1,z1,x3,y3,z3,delay)
  2146. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2147. prt.Anchored=false
  2148. prt.CFrame=cframe
  2149. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  2150. local wld=weld(prt,prt,Parent,euler(0,0,0)*cf(0,0,0))
  2151. game:GetService("Debris"):AddItem(prt,5)
  2152. coroutine.resume(coroutine.create(function(Part,Mesh,Weld)
  2153. for i=0,1,delay do
  2154. wait()
  2155. Weld.C0=euler(i*20,0,0)
  2156. --Part.CFrame=Part.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  2157. Part.Transparency=i
  2158. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  2159. end
  2160. Part.Parent=nil
  2161. end),prt,msh,wld)
  2162. end
  2163.  
  2164. function MagicCircle2(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  2165. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2166. prt.Anchored=true
  2167. prt.CFrame=cframe
  2168. local msh=mesh("CylinderMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  2169. game:GetService("Debris"):AddItem(prt,2)
  2170. coroutine.resume(coroutine.create(function(Part,Mesh)
  2171. for i=0,1,delay do
  2172. wait()
  2173. Part.CFrame=Part.CFrame
  2174. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  2175. local prt2=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2176. prt2.Anchored=true
  2177. prt2.CFrame=cframe*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  2178. local msh2=mesh("SpecialMesh",prt2,"Sphere","",vt(0,0,0),vt(0.5,0.5,0.5))
  2179. game:GetService("Debris"):AddItem(prt2,2)
  2180. coroutine.resume(coroutine.create(function(Part,Mesh)
  2181. for i=0,1,0.1 do
  2182. wait()
  2183. Part.CFrame=Part.CFrame*cf(0,0.5,0)
  2184. end
  2185. Part.Parent=nil
  2186. end),prt2,msh2)
  2187. end
  2188. for i=0,1,delay*2 do
  2189. wait()
  2190. Part.CFrame=Part.CFrame
  2191. Mesh.Scale=vt((x1+x3)-(x1+x3)*i,(y1+y3)-(y1+y3)*i,(z1+z3)-(z1+z3)*i)
  2192. end
  2193. Part.Parent=nil
  2194. end),prt,msh)
  2195. end
  2196.  
  2197. function MagicCircle(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  2198. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2199. prt.Anchored=true
  2200. prt.CFrame=cframe
  2201. local msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1))
  2202. game:GetService("Debris"):AddItem(prt,2)
  2203. coroutine.resume(coroutine.create(function(Part,Mesh)
  2204. for i=0,1,delay do
  2205. wait()
  2206. Part.CFrame=Part.CFrame
  2207. Part.Transparency=i
  2208. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  2209. end
  2210. Part.Parent=nil
  2211. end),prt,msh)
  2212. end
  2213.  
  2214. function BreakEffect(brickcolor,cframe,x1,y1,z1)
  2215. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2216. prt.Anchored=true
  2217. prt.CFrame=cframe*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  2218. local msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1))
  2219. game:GetService("Debris"):AddItem(prt,2)
  2220. coroutine.resume(coroutine.create(function(Part,CF,Numbb,randnumb)
  2221. CF=Part.CFrame
  2222. Numbb=0
  2223. randnumb=math.random()/10
  2224. rand1=math.random()/10
  2225. for i=0,1,rand1 do
  2226. wait()
  2227. CF=CF*cf(0,math.random()/2,0)
  2228. --Part.CFrame=Part.CFrame*euler(0.5,0,0)*cf(0,1,0)
  2229. Part.CFrame=CF*euler(Numbb,0,0)
  2230. Part.Transparency=i
  2231. Numbb=Numbb+randnumb
  2232. end
  2233. Part.Parent=nil
  2234. end),prt,CF,Numbb,randnumb)
  2235. end
  2236.  
  2237. function MagicWaveThing(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  2238. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2239. prt.Anchored=true
  2240. prt.CFrame=cframe
  2241. msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=1051557",vt(0,0,0),vt(x1,y1,z1))
  2242. game:GetService("Debris"):AddItem(prt,5)
  2243. coroutine.resume(coroutine.create(function(Part,Mesh)
  2244. for i=0,1,delay do
  2245. wait()
  2246. Part.CFrame=Part.CFrame*euler(0,0.7,0)
  2247. Part.Transparency=i
  2248. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  2249. end
  2250. Part.Parent=nil
  2251. end),prt,msh)
  2252. end
  2253.  
  2254. function WaveEffect(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  2255. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2256. prt.Anchored=true
  2257. prt.CFrame=cframe
  2258. msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=20329976",vt(0,0,0),vt(x1,y1,z1))
  2259. game:GetService("Debris"):AddItem(prt,2)
  2260. coroutine.resume(coroutine.create(function(Part,Mesh)
  2261. for i=0,1,delay do
  2262. wait()
  2263. Part.CFrame=Part.CFrame*cf(0,y3/2,0)
  2264. Part.Transparency=i
  2265. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  2266. end
  2267. Part.Parent=nil
  2268. end),prt,msh)
  2269. end
  2270.  
  2271. function StravEffect(brickcolor,cframe,x,y,z,x1,y1,z1,delay)
  2272. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2273. prt.Anchored=true
  2274. prt.CFrame=cframe*cf(x,y,z)
  2275. msh=mesh("SpecialMesh",prt,"FileMesh","rbxassetid://168892363",vt(0,0,0),vt(x1,y1,z1))
  2276. game:GetService("Debris"):AddItem(prt,5)
  2277. coroutine.resume(coroutine.create(function(Part,Mesh,ex,why,zee)
  2278. local num=math.random()
  2279. local num2=math.random(-3,2)+math.random()
  2280. local numm=0
  2281. for i=0,1,delay*2 do
  2282. swait()
  2283. Part.CFrame=cframe*euler(0,numm*num*10,0)*cf(ex,why,zee)*cf(-i*10,num2,0)
  2284. Part.Transparency=i
  2285. numm=numm+0.01
  2286. end
  2287. Part.Parent=nil
  2288. Mesh.Parent=nil
  2289. end),prt,msh,x,y,z)
  2290. end
  2291.  
  2292. function dmgstart(dmg,what)
  2293. hitcon = what.Touched:connect(function(hit)
  2294. local hum = hit.Parent:FindFirstChild("Humanoid")
  2295. if hum and not hum:IsDescendantOf(Character) then
  2296. hum:TakeDamage(dmg)
  2297. end
  2298. end)
  2299. end
  2300.  
  2301. function dmgstop()
  2302. hitcon:disconnect()
  2303. end
  2304.  
  2305. function Cloak()
  2306. Face.Parent=nil
  2307. cloaked=true
  2308. for _,v in pairs(Torso.Parent:children()) do
  2309. if v.className=="Part" and v.Name~="HumanoidRootPart" then
  2310. coroutine.resume(coroutine.create(function()
  2311. for i=0,1,0.2 do
  2312. wait()
  2313. v.Transparency=i
  2314. end
  2315. v.Transparency=1
  2316. end))
  2317. end
  2318. if v.className=="Hat" then
  2319. hatp=v.Handle
  2320. coroutine.resume(coroutine.create(function(derp)
  2321. for i=0,1,0.2 do
  2322. wait()
  2323. derp.Transparency=i
  2324. end
  2325. derp.Transparency=1
  2326. end),hatp)
  2327. end
  2328. end
  2329. for _,v in pairs(m:children()) do
  2330. if v.className=="Part" then
  2331. coroutine.resume(coroutine.create(function()
  2332. for i=0,1,0.2 do
  2333. wait()
  2334. v.Transparency=i
  2335. end
  2336. v.Transparency=1
  2337. end))
  2338. end
  2339. end
  2340. end
  2341.  
  2342. function UnCloak()
  2343. so("http://roblox.com/asset/?id=2767090",Torso,1,1.1)
  2344. Face.Parent=Head
  2345. cloaked=false
  2346. for _,v in pairs(Torso.Parent:children()) do
  2347. if v.className=="Part" and v.Name~="HumanoidRootPart" then
  2348. coroutine.resume(coroutine.create(function()
  2349. for i=0,1,0.1 do
  2350. wait()
  2351. v.Transparency=v.Transparency-0.1
  2352. end
  2353. v.Transparency=0
  2354. end))
  2355. end
  2356. if v.className=="Hat" then
  2357. hatp=v.Handle
  2358. coroutine.resume(coroutine.create(function(derp)
  2359. for i=0,1,0.1 do
  2360. wait()
  2361. derp.Transparency=derp.Transparency-0.1
  2362. end
  2363. derp.Transparency=0
  2364. end),hatp)
  2365. end
  2366. end
  2367. for _,v in pairs(m:children()) do
  2368. if v.className=="Part" and v.Name~="hitbox" and v.Name~='tip' then
  2369. coroutine.resume(coroutine.create(function()
  2370. for i=0,1,0.1 do
  2371. wait()
  2372. v.Transparency=v.Transparency-0.1
  2373. end
  2374. v.Transparency=0
  2375. end))
  2376. v.Transparency=0
  2377. end
  2378. end
  2379. end
  2380.  
  2381. local origcolor = BrickColor.new("Pastel light blue")
  2382. ---- This section of explosions.
  2383. function Explode(rad,par,pitch,vol,mindam,maxdam)
  2384. local expart = Instance.new("Part",char)
  2385. local expart2 = Instance.new("Part",char)
  2386. local rin = Instance.new("Part",char)
  2387. local rin2 = Instance.new("Part",char)
  2388. local partMesh = Instance.new("SpecialMesh",expart)
  2389. partMesh.MeshType = "Sphere"
  2390. local partMesh2 = Instance.new("SpecialMesh",expart2)
  2391. partMesh2.MeshType = "Sphere"
  2392. local partMesh3 = Instance.new("SpecialMesh",rin)
  2393. partMesh3.MeshType = "Brick"
  2394. local partMesh4 = Instance.new("SpecialMesh",rin2)
  2395. partMesh4.MeshType = "Brick"
  2396. CFuncs["Sound"].Create("rbxassetid://165970126", expart,vol, pitch)
  2397. partMesh.Scale = vt(rad,rad,rad)
  2398. expart.Size = vt(1,1,1)
  2399. expart.Transparency = 0
  2400. expart.Anchored = true
  2401. expart.Material = "Neon"
  2402. expart.BrickColor = bc("White")
  2403. expart.CFrame = par.CFrame
  2404. partMesh2.Scale = vt(rad,rad,rad)
  2405. expart2.Size = vt(1.15,1.15,1.15)
  2406. expart2.Transparency = 0.5
  2407. expart2.Anchored = true
  2408. expart2.Material = "Neon"
  2409. expart2.BrickColor = par.BrickColor
  2410. expart2.CFrame = par.CFrame
  2411. rin.Size = vt(1.15,1.15,1.15)
  2412. rin.Transparency = 1
  2413. rin.Anchored = true
  2414. rin.Material = "Neon"
  2415. rin.BrickColor = par.BrickColor
  2416. rin.CFrame = par.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))
  2417. rin2.Size = vt(1.15,1.15,1.15)
  2418. rin2.Transparency = 1
  2419. rin2.Anchored = true
  2420. rin2.Material = "Neon"
  2421. rin2.BrickColor = par.BrickColor
  2422. rin2.CFrame = par.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))
  2423. partMesh3.Scale = vt(0,1,0)
  2424. partMesh4.Scale = vt(0,1,0)
  2425. local dec2 = Instance.new("Decal", rin)
  2426. dec2.Face = "Top"
  2427. dec2.Texture = "http://www.roblox.com/asset/?id=874580939"
  2428. dec2.Parent = rin
  2429. local dec2b = dec2:Clone()
  2430. dec2b.Face = "Bottom"
  2431. dec2b.Parent = rin
  2432.  
  2433. local dec2a = Instance.new("Decal", rin2)
  2434. dec2a.Face = "Top"
  2435. dec2a.Texture = "http://www.roblox.com/asset/?id=874580939"
  2436. dec2a.Parent = rin2
  2437. local dec2ab = dec2a:Clone()
  2438. dec2ab.Face = "Bottom"
  2439. dec2ab.Parent = rin2
  2440. expart.CanCollide = false
  2441. expart2.CanCollide = false
  2442. rin.CanCollide = false
  2443. rin2.CanCollide = false
  2444. MagniDamage(par, rad*5, mindam, maxdam, 0, "Normal")
  2445. local value = 1*rad/6.5
  2446. for i = 0, 199 do
  2447. partMesh.Scale = partMesh.Scale + vt(value,value,value)
  2448. expart.CFrame = expart.CFrame
  2449. partMesh2.Scale = partMesh2.Scale + vt(value,value,value)
  2450. expart2.CFrame = expart.CFrame
  2451. value = value - 0.035*rad/30
  2452. if value < 7.5 then
  2453. partMesh3.Scale = partMesh3.Scale + vt(rad/5,0,rad/5)
  2454. rin.CFrame = rin.CFrame*CFrame.Angles(0,math.rad(1),0)
  2455. partMesh4.Scale = partMesh4.Scale + vt(rad/7.5,0,rad/7.5)
  2456. rin2.CFrame = rin2.CFrame*CFrame.Angles(0,math.rad(-1),0)
  2457. end
  2458. if value < 0 then
  2459. dec2.Transparency = dec2.Transparency + 0.025
  2460. dec2a.Transparency = dec2a.Transparency + 0.025
  2461. dec2b.Transparency = dec2b.Transparency + 0.025
  2462. dec2ab.Transparency = dec2ab.Transparency + 0.025
  2463. expart.Transparency = expart.Transparency + 0.025
  2464. expart2.Transparency = expart2.Transparency + 0.025
  2465. rin.Transparency = rin.Transparency + 0.025
  2466. rin2.Transparency = rin2.Transparency + 0.025
  2467. end
  2468. swait()
  2469. end
  2470. game:GetService("Debris"):AddItem(expart, 1)
  2471. game:GetService("Debris"):AddItem(expart2, 1)
  2472. game:GetService("Debris"):AddItem(rin, 1)
  2473. game:GetService("Debris"):AddItem(rin2, 1)
  2474. end
  2475.  
  2476. function ExplodeShort(rad,par,pitch,vol,mindam,maxdam)
  2477. local expart = Instance.new("Part",char)
  2478. local expart2 = Instance.new("Part",char)
  2479. local partMesh = Instance.new("SpecialMesh",expart)
  2480. partMesh.MeshType = "Sphere"
  2481. local partMesh2 = Instance.new("SpecialMesh",expart2)
  2482. partMesh2.MeshType = "Sphere"
  2483. CFuncs["Sound"].Create("http://www.roblox.com/asset/?id=142070127", expart,vol, pitch)
  2484. partMesh.Scale = vt(rad,rad,rad)
  2485. expart.Size = vt(1,1,1)
  2486. expart.Transparency = 0
  2487. expart.Anchored = true
  2488. expart.Material = "Neon"
  2489. expart.BrickColor = bc("White")
  2490. expart.CFrame = par.CFrame
  2491. partMesh2.Scale = vt(rad,rad,rad)
  2492. expart2.Size = vt(1.15,1.15,1.15)
  2493. expart2.Transparency = 0.5
  2494. expart2.Anchored = true
  2495. expart2.Material = "Neon"
  2496. expart2.BrickColor = par.BrickColor
  2497. expart2.CFrame = par.CFrame
  2498. expart.CanCollide = false
  2499. expart2.CanCollide = false
  2500. MagniDamage(par, rad*2.5, mindam, maxdam, 0, "Normal")
  2501. local value = 1*rad/6.5
  2502. for i = 0, 75 do
  2503. partMesh.Scale = partMesh.Scale + vt(value,value,value)
  2504. expart.CFrame = expart.CFrame
  2505. partMesh2.Scale = partMesh2.Scale + vt(value,value,value)
  2506. expart2.CFrame = expart.CFrame
  2507. value = value - 0.035*rad/5
  2508. if value < 0 then
  2509. value = 0
  2510. expart.Transparency = expart.Transparency + 0.05
  2511. expart2.Transparency = expart2.Transparency + 0.05
  2512. end
  2513. swait()
  2514. end
  2515. game:GetService("Debris"):AddItem(expart, 1)
  2516. game:GetService("Debris"):AddItem(expart2, 1)
  2517. end
  2518.  
  2519. function AreaDanger(rad,par,mindam,maxdam)
  2520. local expart = Instance.new("Part",char)
  2521. local partMesh = Instance.new("SpecialMesh",expart)
  2522. CFuncs["Sound"].Create("rbxassetid://231917784", expart,1.5,1.15)
  2523. partMesh.MeshType = "Sphere"
  2524. partMesh.Scale = vt(rad,rad,rad)
  2525. expart.Size = vt(1,1,1)
  2526. expart.Transparency = 0.5
  2527. expart.Anchored = true
  2528. expart.Material = "Neon"
  2529. expart.CanCollide = false
  2530. expart.BrickColor = par.BrickColor
  2531. expart.CFrame = par.CFrame
  2532. local value = 1*rad/5
  2533. MagicBlock(origcolor,expart.CFrame,0,0,0,rad/2,rad/2,rad/2,0.1)
  2534. for i = 0, 14 do
  2535. wait()
  2536. partMesh.Scale = partMesh.Scale + vt(value,value,value)
  2537. expart.CFrame = expart.CFrame
  2538. value = value - 0.035*rad
  2539. if value < 0 then
  2540. value = 0
  2541. end
  2542. end
  2543. wait(0.25)
  2544. CFuncs["Sound"].Create("rbxassetid://588738544", expart,1.5,1)
  2545. wait(0.5)
  2546. CFuncs["Sound"].Create("rbxassetid://588737825", expart,1.5,1)
  2547. CFuncs["Sound"].Create("rbxassetid://231917784", expart,1.5,0.75)
  2548. MagniDamageWithEffect(par, rad, mindam, maxdam, 0, "Normal")
  2549. MagicBlock(origcolor,expart.CFrame,rad*2,rad*2,rad*2,0.1,0.1,0.1,0.025)
  2550. for i = 0, 14 do
  2551. wait()
  2552. partMesh.Scale = partMesh.Scale + vt(value,value,value)
  2553. expart.CFrame = expart.CFrame
  2554. value = value - 0.035*rad/2
  2555. end
  2556. expart.Transparency = 1
  2557. game:GetService("Debris"):AddItem(expart, 5)
  2558. end
  2559.  
  2560. function Swarmsplosions(negrad,rad,par,mindam,maxdam)
  2561. CFuncs["Sound"].Create("rbxassetid://588737825", par, 2.5, 2)
  2562. CFuncs["Sound"].Create("rbxassetid://231917784", par, 2.5,1)
  2563. CFuncs["Sound"].Create("rbxassetid://231917744", par, 2.5,1)
  2564. CFuncs["Sound"].Create("rbxassetid://233856106", par, 2.5, 1)
  2565. MagniDamageWithEffect(par, 25, 5,10, 0, "Normal")
  2566. MagicBlock(origcolor,par.CFrame,5,5,5,5,5,5,0.025)
  2567. for i = 0, 24 do
  2568. 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))
  2569. end
  2570. for i = 0, 24 do
  2571. local expart = Instance.new("Part",char)
  2572. expart.Transparency = 1
  2573. expart.Anchored = true
  2574. expart.CanCollide = false
  2575. expart.CFrame = par.CFrame*CFrame.new(math.random(negrad,rad),math.random(negrad,rad),math.random(negrad,rad))
  2576. CFuncs["Sound"].Create("rbxassetid://588737825", expart,1,2)
  2577. CFuncs["Sound"].Create("rbxassetid://231917784", expart,1.5,1.15)
  2578. MagniDamage(expart, rad/2, mindam, maxdam, 0, "Normal")
  2579. MagicBlock(origcolor,expart.CFrame,rad,rad,rad,0.1,0.1,0.1,0.025)
  2580. for i = 0, 9 do
  2581. 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))
  2582. end
  2583. game:GetService("Debris"):AddItem(expart, 2)
  2584. wait(0.1)
  2585. end
  2586. end
  2587.  
  2588. function EXterPlosion(par)
  2589. CFuncs["Sound"].Create("rbxassetid://919941001", par, 10, 1)
  2590. CFuncs["Sound"].Create("rbxassetid://138213851", par, 5,0.85)
  2591. CFuncs["Sound"].Create("rbxassetid://157878578", par, 5,0.2)
  2592. CFuncs["Sound"].Create("rbxassetid://233856106", par, 2.5, 1)
  2593. MagniDamageWithEffect(par, 500, 80,99, 0, "Normal")
  2594. MagicBlock(origcolor,par.CFrame,5,5,5,5,5,5,0.005)
  2595. MagicBlock(origcolor,par.CFrame,0,0,0,150,150,150,0.1)
  2596. for i = 0, 24 do
  2597. 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))
  2598. end
  2599. for i = 0, 24 do
  2600. 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))
  2601. end
  2602. end
  2603. ----
  2604.  
  2605.  
  2606. function ring(type,pos,scale,value)
  2607. local type = type
  2608. local rng = Instance.new("Part", char)
  2609. rng.Anchored = true
  2610. rng.BrickColor = origcolor
  2611. rng.CanCollide = false
  2612. rng.FormFactor = 3
  2613. rng.Name = "Ring"
  2614. rng.Size = Vector3.new(1, 1, 1)
  2615. rng.Transparency = 0
  2616. rng.TopSurface = 0
  2617. rng.BottomSurface = 0
  2618. rng.CFrame = pos
  2619. local rngm = Instance.new("SpecialMesh", rng)
  2620. rngm.MeshId = "http://www.roblox.com/asset/?id=3270017"
  2621. rngm.Scale = scale
  2622. local scaler2 = 1
  2623. if type == "Add" then
  2624. scaler2 = 1*value
  2625. elseif type == "Divide" then
  2626. scaler2 = 1/value
  2627. end
  2628. coroutine.resume(coroutine.create(function()
  2629. for i = 0,10,0.1 do
  2630. swait()
  2631. if type == "Add" then
  2632. scaler2 = scaler2 - 0.01*value
  2633. elseif type == "Divide" then
  2634. scaler2 = scaler2 - 0.01/value
  2635. end
  2636. rng.Transparency = rng.Transparency + 0.01
  2637. rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, 0)
  2638. end
  2639. rng:Destroy()
  2640. end))
  2641. end
  2642.  
  2643.  
  2644. function wave(type,pos,scale,value)
  2645. local type = type
  2646. local rng = Instance.new("Part", char)
  2647. rng.Anchored = true
  2648. rng.BrickColor = origcolor
  2649. rng.CanCollide = false
  2650. rng.FormFactor = 3
  2651. rng.Name = "Ring"
  2652. rng.Size = Vector3.new(1, 1, 1)
  2653. rng.Transparency = 0
  2654. rng.TopSurface = 0
  2655. rng.BottomSurface = 0
  2656. rng.CFrame = pos
  2657. local rngm = Instance.new("SpecialMesh", rng)
  2658. rngm.MeshId = "http://www.roblox.com/asset/?id=20329976"
  2659. rngm.Scale = scale
  2660. local scaler2 = 1
  2661. if type == "Add" then
  2662. scaler2 = 1*value
  2663. elseif type == "Divide" then
  2664. scaler2 = 1/value
  2665. end
  2666. coroutine.resume(coroutine.create(function()
  2667. for i = 0,10,0.1 do
  2668. swait()
  2669. if type == "Add" then
  2670. scaler2 = scaler2 - 0.01*value
  2671. elseif type == "Divide" then
  2672. scaler2 = scaler2 - 0.01/value
  2673. end
  2674. rng.Transparency = rng.Transparency + 0.01
  2675. rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, scaler2)
  2676. end
  2677. rng:Destroy()
  2678. end))
  2679. end
  2680.  
  2681. function wind(type,pos,scale,value,speed)
  2682. local type = type
  2683. local rng = Instance.new("Part", char)
  2684. rng.Anchored = true
  2685. rng.BrickColor = origcolor
  2686. rng.CanCollide = false
  2687. rng.FormFactor = 3
  2688. rng.Name = "Ring"
  2689. rng.Size = Vector3.new(1, 1, 1)
  2690. rng.Transparency = 0
  2691. rng.TopSurface = 0
  2692. rng.BottomSurface = 0
  2693. rng.CFrame = pos
  2694. local rngm = Instance.new("SpecialMesh", rng)
  2695. rngm.MeshId = "http://www.roblox.com/asset/?id=1051557"
  2696. rngm.Scale = scale
  2697. local scaler2 = 1
  2698. if type == "Add" then
  2699. scaler2 = 1*value
  2700. elseif type == "Divide" then
  2701. scaler2 = 1/value
  2702. end
  2703. coroutine.resume(coroutine.create(function()
  2704. for i = 0,10,0.1 do
  2705. swait()
  2706. if type == "Add" then
  2707. scaler2 = scaler2 - 0.01*value
  2708. elseif type == "Divide" then
  2709. scaler2 = scaler2 - 0.01/value
  2710. end
  2711. rng.CFrame = rng.CFrame*CFrame.Angles(0,0.025*speed,0)
  2712. rng.Transparency = rng.Transparency + 0.01
  2713. rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, scaler2)
  2714. end
  2715. rng:Destroy()
  2716. end))
  2717. end
  2718.  
  2719. function groundwind(type,pos,scale,value,speed)
  2720. local type = type
  2721. local rng = Instance.new("Part", char)
  2722. rng.Anchored = true
  2723. rng.BrickColor = origcolor
  2724. rng.CanCollide = false
  2725. rng.FormFactor = 3
  2726. rng.Name = "Ring"
  2727. rng.Size = Vector3.new(1, 1, 1)
  2728. rng.Transparency = 0
  2729. rng.TopSurface = 0
  2730. rng.BottomSurface = 0
  2731. rng.CFrame = pos
  2732. local rngm = Instance.new("SpecialMesh", rng)
  2733. rngm.MeshId = "http://www.roblox.com/asset/?id=1051557"
  2734. rngm.Scale = scale
  2735. local scaler2 = 1
  2736. if type == "Add" then
  2737. scaler2 = 1*value
  2738. elseif type == "Divide" then
  2739. scaler2 = 1/value
  2740. end
  2741. coroutine.resume(coroutine.create(function()
  2742. for i = 0,10,0.1 do
  2743. swait()
  2744. if type == "Add" then
  2745. scaler2 = scaler2 - 0.01*value
  2746. elseif type == "Divide" then
  2747. scaler2 = scaler2 - 0.01/value
  2748. end
  2749. rng.CFrame = rng.CFrame*CFrame.Angles(0,0.025*speed,0)
  2750. rng.Transparency = rng.Transparency + 0.01
  2751. rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2/5, scaler2)
  2752. end
  2753. rng:Destroy()
  2754. end))
  2755. end
  2756.  
  2757. function CameraManager()
  2758. if TwoD and not CamInterrupt then
  2759. if Humanoid.Health > 0 then
  2760. Camera.CameraSubject = Humanoid
  2761. Camera.CameraType = "Scriptable"
  2762. Humanoid.AutoRotate = false
  2763. if Booleans.GyroUse then
  2764. Directer.MaxTorque = Vec3(0, huge, 0)
  2765. else
  2766. Directer.MaxTorque = Vec3(0, 0, 0)
  2767. end
  2768. if TargetInfo[1] ~= nil and TargetInfo[2] ~= nil then
  2769. if Booleans.CamFollow then
  2770. CPart.CFrame = cFrame(RootPart.Position, Vec3(TargetInfo[1].Position.X, RootPart.Position.Y, TargetInfo[1].Position.Z))
  2771. Directer.CFrame = cFrame((RootPart.CFrame * cFrame(0, 0, 10)).p, TargetInfo[1].Position)
  2772. else
  2773. CPart.Position = RootPart.Position
  2774. end
  2775. else
  2776. local ahead = (RootPart.CFrame * cFrame(0, 0, -3)).p
  2777. CPart.CFrame = cFrame(RootPart.Position, Vec3(ahead.X, RootPart.Position.Y, ahead.Z))
  2778. end
  2779. Camera.CFrame = lerp(Camera.CFrame, CPart.CFrame * cFrame(25, 3, 0) * Euler(0, radian(90), 0), 0.2)
  2780. else
  2781. Camera.CameraSubject = Humanoid
  2782. Camera.CameraType = "Custom"
  2783. Controller.Disabled = false
  2784. end
  2785. end
  2786. end
  2787.  
  2788. function sphere(bonuspeed,type,pos,scale,value,color,heart,invert,notaffectbychaosrainbow)
  2789. local type = type
  2790. local rng = Instance.new("Part", char)
  2791. rng.Anchored = true
  2792. rng.BrickColor = color
  2793. rng.CanCollide = false
  2794. rng.FormFactor = 3
  2795. rng.Name = "Ring"
  2796. rng.Material = "Neon"
  2797. rng.Size = Vector3.new(1, 1, 1)
  2798. rng.Transparency = 0
  2799. rng.TopSurface = 0
  2800. rng.BottomSurface = 0
  2801. rng.CFrame = pos
  2802. local rngm = Instance.new("SpecialMesh", rng)
  2803. rngm.MeshType = "Sphere"
  2804.  
  2805.  
  2806. if(heart)then
  2807. rngm.MeshType = Enum.MeshType.FileMesh
  2808. rngm.MeshId = "rbxassetid://105992239"
  2809. rngm.Offset = Vector3.new(0,0,-.25)
  2810. end
  2811. rngm.Scale = scale
  2812. if rainbowmode == true and not notaffectbychaosrainbow then
  2813. rng.Color = Color3.new(r/255,g/255,b/255)
  2814. end
  2815. local scaler2 = 1
  2816. if type == "Add" then
  2817. scaler2 = 1*value
  2818. elseif type == "Divide" then
  2819. scaler2 = 1/value
  2820. end
  2821. coroutine.resume(coroutine.create(function()
  2822. for i = 0,10/bonuspeed,0.1 do
  2823. swait()
  2824. if rainbowmode == true and not notaffectbychaosrainbow then
  2825. rng.Color = Color3.new(r/255,g/255,b/255)
  2826. end
  2827. if type == "Add" then
  2828. scaler2 = scaler2 - 0.01*value/bonuspeed
  2829. elseif type == "Divide" then
  2830. scaler2 = scaler2 - 0.01/value*bonuspeed
  2831. end
  2832. if chaosmode == true and not notaffectbychaosrainbow then
  2833. rng.BrickColor = BrickColor.random()
  2834. end
  2835. if glitchymode then
  2836. local val = math.random(1,255)
  2837. local color = Color3.fromRGB(val,val,val)
  2838. rng.Color = color
  2839. end
  2840. rng.Transparency = rng.Transparency + 0.01*bonuspeed
  2841. if(invert)then
  2842. if(heart)then
  2843. rngm.Scale = rngm.Scale - Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, 0)
  2844. else
  2845. rngm.Scale = rngm.Scale - Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, scaler2*bonuspeed)
  2846. end
  2847. else
  2848. if(heart)then
  2849. rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, 0)
  2850. else
  2851. rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, scaler2*bonuspeed)
  2852. end
  2853. end
  2854. rng.CFrame = pos
  2855. end
  2856. rng:Destroy()
  2857. end))
  2858. end
  2859.  
  2860. function newBezier(startpos, pos2, pos3, endpos, t)
  2861. local A = clerp(startpos, pos2, t)
  2862. local B = clerp(pos2, pos3, t)
  2863. local C = clerp(pos3, endpos, t)
  2864. local lerp1 = clerp(A, B, t)
  2865. local lerp2 = clerp(B, C, t)
  2866. local cubic = clerp(lerp1, lerp2, t)
  2867. return cubic
  2868. end
  2869.  
  2870.  
  2871. function PixelBlock(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos,heart,invert)
  2872. local type = type
  2873. local rng = Instance.new("Part", char)
  2874. rng.Anchored = true
  2875. rng.BrickColor = color
  2876. rng.CanCollide = false
  2877. rng.FormFactor = 3
  2878. rng.Name = "Ring"
  2879. rng.Material = "Neon"
  2880. rng.Size = Vector3.new(1, 1, 1)
  2881. rng.Transparency = 0
  2882. rng.TopSurface = 0
  2883. rng.BottomSurface = 0
  2884. rng.CFrame = pos
  2885. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos
  2886. local rngm = Instance.new("SpecialMesh", rng)
  2887. rngm.MeshType = "Brick"
  2888. if(heart)then
  2889. rngm.MeshType = Enum.MeshType.FileMesh
  2890. rngm.MeshId = "rbxassetid://105992239"
  2891. rngm.Offset = Vector3.new(0,0,-.25)
  2892. end
  2893. rngm.Scale = vt(x1,y1,z1)
  2894. if rainbowmode == true then
  2895. rng.Color = Color3.new(r/255,g/255,b/255)
  2896. end
  2897. local scaler2 = 1
  2898. local speeder = FastSpeed/10
  2899. if type == "Add" then
  2900. scaler2 = 1*value
  2901. elseif type == "Divide" then
  2902. scaler2 = 1/value
  2903. end
  2904. coroutine.resume(coroutine.create(function()
  2905. for i = 0,10/bonuspeed,0.1 do
  2906. swait()
  2907. if rainbowmode == true then
  2908. rng.Color = Color3.new(r/255,g/255,b/255)
  2909. end
  2910. if type == "Add" then
  2911. scaler2 = scaler2 - 0.01*value/bonuspeed
  2912. elseif type == "Divide" then
  2913. scaler2 = scaler2 - 0.01/value*bonuspeed
  2914. end
  2915. if chaosmode == true then
  2916. rng.BrickColor = BrickColor.random()
  2917. end
  2918. if glitchymode then
  2919. local val = math.random(1,255)
  2920. local color = Color3.fromRGB(val,val,val)
  2921. rng.Color = color
  2922. end
  2923. speeder = speeder - 0.01*FastSpeed*bonuspeed/10
  2924. if(invert)then rng.CFrame = rng.CFrame - rng.CFrame.lookVector*speeder*bonuspeed else rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed end
  2925. --rng.Transparency = rng.Transparency + 0.01*bonuspeed
  2926. rngm.Scale = rngm.Scale - Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, scaler2*bonuspeed)
  2927. end
  2928. rng:Destroy()
  2929. end))
  2930. end
  2931.  
  2932.  
  2933. function PixelBlockNeg(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos,heart,invert)
  2934. local type = type
  2935. local rng = Instance.new("Part", char)
  2936. rng.Anchored = true
  2937. rng.BrickColor = color
  2938. rng.CanCollide = false
  2939. rng.FormFactor = 3
  2940. rng.Name = "Ring"
  2941. rng.Material = "Neon"
  2942. rng.Size = Vector3.new(1, 1, 1)
  2943. rng.Transparency = 0
  2944. rng.TopSurface = 0
  2945. rng.BottomSurface = 0
  2946. rng.CFrame = pos
  2947. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos
  2948. local rngm = Instance.new("SpecialMesh", rng)
  2949. rngm.MeshType = "Brick"
  2950. if(heart)then
  2951. rngm.MeshType = Enum.MeshType.FileMesh
  2952. rngm.MeshId = "rbxassetid://105992239"
  2953. rngm.Offset = Vector3.new(0,0,-.25)
  2954. end
  2955. rngm.Scale = vt(x1,y1,z1)
  2956. if rainbowmode == true then
  2957. rng.Color = Color3.new(r/255,g/255,b/255)
  2958. end
  2959. local scaler2 = 0
  2960. local speeder = FastSpeed/10
  2961. if type == "Add" then
  2962. scaler2 = 1*value
  2963. elseif type == "Divide" then
  2964. scaler2 = 1/value
  2965. end
  2966. coroutine.resume(coroutine.create(function()
  2967. for i = 0,10/bonuspeed,0.1 do
  2968. swait()
  2969. if rainbowmode == true then
  2970. rng.Color = Color3.new(r/255,g/255,b/255)
  2971. end
  2972. if type == "Add" then
  2973. scaler2 = scaler2 - 0.01*value/bonuspeed
  2974. elseif type == "Divide" then
  2975. scaler2 = scaler2 - 0.01/value*bonuspeed
  2976. end
  2977. if chaosmode == true then
  2978. rng.BrickColor = BrickColor.random()
  2979. end
  2980. if glitchymode then
  2981. local val = math.random(1,255)
  2982. local color = Color3.fromRGB(val,val,val)
  2983. rng.Color = color
  2984. end
  2985. speeder = speeder + 0.01*FastSpeed*bonuspeed/10
  2986. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed
  2987. if(invert)then rng.CFrame = rng.CFrame - rng.CFrame.lookVector*speeder*bonuspeed else rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed end
  2988. --rng.Transparency = rng.Transparency + 0.01*bonuspeed
  2989. rngm.Scale = rngm.Scale - Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, scaler2*bonuspeed)
  2990. end
  2991. rng:Destroy()
  2992. end))
  2993. end
  2994.  
  2995. function sphereMK(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos)
  2996. local type = type
  2997. local rng = Instance.new("Part", char)
  2998. rng.Anchored = true
  2999. rng.BrickColor = color
  3000. rng.CanCollide = false
  3001. rng.FormFactor = 3
  3002. rng.Name = "Ring"
  3003. rng.Material = "Neon"
  3004. rng.Size = Vector3.new(1, 1, 1)
  3005. rng.Transparency = 0
  3006. rng.TopSurface = 0
  3007. rng.BottomSurface = 0
  3008. rng.CFrame = pos
  3009. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos
  3010. local rngm = Instance.new("SpecialMesh", rng)
  3011. rngm.MeshType = "Sphere"
  3012. rngm.Scale = vt(x1,y1,z1)
  3013. if rainbowmode == true then
  3014. rng.Color = Color3.new(r/255,g/255,b/255)
  3015. end
  3016. local scaler2 = 1
  3017. local speeder = FastSpeed
  3018. if type == "Add" then
  3019. scaler2 = 1*value
  3020. elseif type == "Divide" then
  3021. scaler2 = 1/value
  3022. end
  3023. coroutine.resume(coroutine.create(function()
  3024. for i = 0,10/bonuspeed,0.1 do
  3025. swait()
  3026. if rainbowmode == true then
  3027. rng.Color = Color3.new(r/255,g/255,b/255)
  3028. end
  3029. if type == "Add" then
  3030. scaler2 = scaler2 - 0.01*value/bonuspeed
  3031. elseif type == "Divide" then
  3032. scaler2 = scaler2 - 0.01/value*bonuspeed
  3033. end
  3034. if chaosmode == true then
  3035. rng.BrickColor = BrickColor.random()
  3036. end
  3037. if glitchymode then
  3038. local val = math.random(1,255)
  3039. local color = Color3.fromRGB(val,val,val)
  3040. rng.Color = color
  3041. end
  3042. speeder = speeder - 0.01*FastSpeed*bonuspeed
  3043. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed
  3044. rng.Transparency = rng.Transparency + 0.01*bonuspeed
  3045. rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, 0)
  3046. end
  3047. rng:Destroy()
  3048. end))
  3049. end
  3050.  
  3051.  
  3052. function sphereMKCharge(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos)
  3053. local type = type
  3054. local rng = Instance.new("Part", char)
  3055. rng.Anchored = true
  3056. rng.BrickColor = color
  3057. rng.CanCollide = false
  3058. rng.FormFactor = 3
  3059. rng.Name = "Ring"
  3060. rng.Material = "Neon"
  3061. rng.Size = Vector3.new(1, 1, 1)
  3062. rng.Transparency = 1
  3063. rng.TopSurface = 0
  3064. rng.BottomSurface = 0
  3065. rng.CFrame = pos
  3066. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos
  3067. local rngm = Instance.new("SpecialMesh", rng)
  3068. rngm.MeshType = "Sphere"
  3069. rngm.Scale = vt(x1,y1,z1)
  3070. if rainbowmode == true then
  3071. rng.Color = Color3.new(r/255,g/255,b/255)
  3072. end
  3073. local scaler2 = 1
  3074. local speeder = FastSpeed
  3075. if type == "Add" then
  3076. scaler2 = 1*value
  3077. elseif type == "Divide" then
  3078. scaler2 = 1/value
  3079. end
  3080. coroutine.resume(coroutine.create(function()
  3081. for i = 0,10/bonuspeed,0.1 do
  3082. swait()
  3083. if rainbowmode == true then
  3084. rng.Color = Color3.new(r/255,g/255,b/255)
  3085. end
  3086. if type == "Add" then
  3087. scaler2 = scaler2 - 0.01*value/bonuspeed
  3088. elseif type == "Divide" then
  3089. scaler2 = scaler2 - 0.01/value*bonuspeed
  3090. end
  3091. if chaosmode == true then
  3092. rng.BrickColor = BrickColor.random()
  3093. end
  3094. if glitchymode then
  3095. local val = math.random(1,255)
  3096. local color = Color3.fromRGB(val,val,val)
  3097. rng.Color = color
  3098. end
  3099. speeder = speeder - 0.01*FastSpeed*bonuspeed
  3100. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed
  3101. rng.Transparency = rng.Transparency - 0.01*bonuspeed
  3102. rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, 0)
  3103. end
  3104. rng:Destroy()
  3105. end))
  3106. end
  3107.  
  3108. function dmg(dude)
  3109. if dude.Name ~= Character then
  3110. local bgf = Instance.new("BodyGyro",dude.Head)
  3111. bgf.CFrame = bgf.CFrame * CFrame.fromEulerAnglesXYZ(math.rad(-90),0,0)
  3112. local val = Instance.new("BoolValue",dude)
  3113. val.Name = "IsHit"
  3114. local ds = coroutine.wrap(function()
  3115. local torso = dude:FindFirstChild'Torso' or dude:FindFirstChild'UpperTorso'
  3116. for i = 1, 10 do
  3117. 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)
  3118. end
  3119. dude:WaitForChild("Head"):BreakJoints()
  3120. wait(0.5)
  3121. targetted = nil
  3122. CFuncs["Sound"].Create("rbxassetid://62339698", char, 0.5, 0.3)
  3123.  
  3124. coroutine.resume(coroutine.create(function()
  3125. for i, v in pairs(dude:GetChildren()) do
  3126. if v:IsA("Accessory") then
  3127. v:Destroy()
  3128. end
  3129. if v:IsA("Humanoid") then
  3130. v:Destroy()
  3131. end
  3132. if v:IsA("CharacterMesh") then
  3133. v:Destroy()
  3134. end
  3135. if v:IsA("Model") then
  3136. v:Destroy()
  3137. end
  3138. if v:IsA("Part") or v:IsA("MeshPart") then
  3139. for x, o in pairs(v:GetChildren()) do
  3140. if o:IsA("Decal") then
  3141. o:Destroy()
  3142. end
  3143. end
  3144. coroutine.resume(coroutine.create(function()
  3145. v.Material = "Neon"
  3146. v.CanCollide = false
  3147. local bld = Instance.new("ParticleEmitter",v)
  3148. bld.LightEmission = 1
  3149. bld.Texture = "rbxassetid://284205403"
  3150. bld.Color = ColorSequence.new(Color3.new(1,1,1))
  3151. bld.Rate = 50
  3152. bld.Lifetime = NumberRange.new(1)
  3153. bld.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,0.75,0),NumberSequenceKeypoint.new(1,0,0)})
  3154. bld.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,1,0)})
  3155. bld.Speed = NumberRange.new(0,0)
  3156. bld.VelocitySpread = 50000
  3157. bld.Rotation = NumberRange.new(-500,500)
  3158. bld.RotSpeed = NumberRange.new(-500,500)
  3159. local sbs = Instance.new("BodyPosition", v)
  3160. sbs.P = 3000
  3161. sbs.D = 1000
  3162. sbs.maxForce = Vector3.new(50000000000, 50000000000, 50000000000)
  3163. sbs.position = v.Position + Vector3.new(math.random(-5,5),math.random(-5,5),math.random(-5,5))
  3164. v.Color = Color3.new(1,1,1)
  3165. coroutine.resume(coroutine.create(function()
  3166. for i = 0, 49 do
  3167. swait(1)
  3168. v.Transparency = v.Transparency + 0.02
  3169. end
  3170. CFuncs["Sound"].Create("rbxassetid://1192402877", v, 0.25, 1)
  3171. bld.Speed = NumberRange.new(1,5)
  3172. bld.Acceleration = vt(0,10,0)
  3173. wait(0.5)
  3174. bld.Enabled = false
  3175. wait(3)
  3176. v:Destroy()
  3177. dude:Destroy()
  3178. end))
  3179. end))
  3180. end
  3181. end
  3182. end))
  3183. end)
  3184. ds()
  3185. end
  3186. end
  3187.  
  3188.  
  3189. function FindNearestHead(Position, Distance, SinglePlayer)
  3190. if SinglePlayer then
  3191. return (SinglePlayer.Torso.CFrame.p - Position).magnitude < Distance
  3192. end
  3193. local List = {}
  3194. for i, v in pairs(workspace:GetChildren()) do
  3195. if v:IsA("Model") then
  3196. if v:findFirstChild("Head") then
  3197. if v ~= Character then
  3198. if (v.Head.Position - Position).magnitude <= Distance then
  3199. table.insert(List, v)
  3200. end
  3201. end
  3202. end
  3203. end
  3204. end
  3205. return List
  3206. end
  3207.  
  3208. function FaceMouse()
  3209. Cam = workspace.CurrentCamera
  3210. return {
  3211. CFrame.new(char.Torso.Position, Vector3.new(mouse.Hit.p.x, char.Torso.Position.y, mouse.Hit.p.z)),
  3212. Vector3.new(mouse.Hit.p.x, mouse.Hit.p.y, mouse.Hit.p.z)
  3213. }
  3214. end
  3215.  
  3216. function FaceMouse2()
  3217. Cam = workspace.CurrentCamera
  3218. return {
  3219. CFrame.new(char.Torso.Position, Vector3.new(mouse.Hit.p.x, mouse.Hit.p.y, mouse.Hit.p.z)),
  3220. Vector3.new(mouse.Hit.p.x, mouse.Hit.p.y, mouse.Hit.p.z)
  3221. }
  3222. end
  3223.  
  3224. local ModeOfGlitch = 1
  3225. -- Functions are ready.
  3226. local storehumanoidWS = 16
  3227.  
  3228. function CorruptBlink()
  3229. for i = 0, 14 do
  3230. 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)
  3231. end
  3232. sphere(10,"Add",root.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  3233. CFuncs["Sound"].Create("rbxassetid://1177785010", root, 10,1)
  3234. RootPart.CFrame = mouse.Hit *CFrame.new(0,2,0)
  3235. CameraEnshaking(2,10)
  3236. if(ModeOfGlitch == 1 or ModeOfGlitch == 3 or ModeOfGlitch == 4 or ModeOfGlitch == 666666)then for i, v in pairs(FindNearestHead(Torso.CFrame.p, 20)) do
  3237. if v:FindFirstChild('Head') then
  3238. dmg(v)
  3239. end
  3240. end end
  3241. for i = 0, 14 do
  3242. 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)
  3243. end
  3244. sphere(10,"Add",root.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  3245. end
  3246.  
  3247. function ExtinctiveHeartbreak()
  3248. local targetted = nil
  3249. if mouse.Target.Parent ~= Character and mouse.Target.Parent.Parent ~= Character and mouse.Target.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
  3250. targetted = mouse.Target.Parent
  3251. end
  3252. if targetted ~= nil then
  3253. attack = true
  3254. CFuncs["Sound"].Create("rbxassetid://847061203", root, 2.5,1)
  3255. for i = 0, 9 do
  3256. 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)
  3257. end
  3258. for i = 0, 24 do
  3259. 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)
  3260. end
  3261. sphere(3,"Add",root.CFrame,vt(0,0,0),0.25,BrickColor.new("Really black"))
  3262. local originalpos = root.CFrame
  3263. RootPart.CFrame = targetted.Head.CFrame * CFrame.new(0,-2,2)
  3264. for i = 0, 9 do
  3265. 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)
  3266. end
  3267. for i = 0, 24 do
  3268. 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)
  3269. end
  3270. hum.WalkSpeed = 0
  3271. targetted.Head.Anchored = true
  3272. sphere(3,"Add",root.CFrame,vt(0,0,0),0.25,BrickColor.new("Really black"))
  3273. for i = 0,2,0.1 do
  3274. swait()
  3275. 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)
  3276. 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)
  3277. 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)
  3278. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(10)),.8)
  3279. 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)
  3280. 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)
  3281. end
  3282. coroutine.resume(coroutine.create(function()
  3283. bld = Instance.new("ParticleEmitter",targetted:WaitForChild("Torso"))
  3284. bld.LightEmission = 0.1
  3285. bld.Texture = "rbxassetid://284205403"
  3286. bld.Color = ColorSequence.new(Color3.new(0.5,0,0))
  3287. bld.Rate = 500
  3288. bld.Lifetime = NumberRange.new(1)
  3289. bld.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,2,0),NumberSequenceKeypoint.new(1,0,0)})
  3290. bld.Acceleration = vt(0,-25,0)
  3291. bld.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,0,0)})
  3292. bld.Speed = NumberRange.new(10,50)
  3293. bld.EmissionDirection = "Front"
  3294. bld.VelocitySpread = 25
  3295. bld.Rotation = NumberRange.new(-500,500)
  3296. bld.RotSpeed = NumberRange.new(-500,500)
  3297. end))
  3298. coroutine.resume(coroutine.create(function()
  3299. bld = Instance.new("ParticleEmitter",targetted:WaitForChild("UpperTorso"))
  3300. bld.LightEmission = 0.1
  3301. bld.Texture = "rbxassetid://284205403"
  3302. bld.Color = ColorSequence.new(Color3.new(0.5,0,0))
  3303. bld.Rate = 500
  3304. bld.Lifetime = NumberRange.new(1)
  3305. bld.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,2,0),NumberSequenceKeypoint.new(1,0,0)})
  3306. bld.Acceleration = vt(0,-25,0)
  3307. bld.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,0,0)})
  3308. bld.Speed = NumberRange.new(10,50)
  3309. bld.EmissionDirection = "Front"
  3310. bld.VelocitySpread = 25
  3311. bld.Rotation = NumberRange.new(-500,500)
  3312. bld.RotSpeed = NumberRange.new(-500,500)
  3313. end))
  3314. CameraEnshaking(5,5)
  3315. game:GetService("Debris"):AddItem(bld,3)
  3316. dmg(targetted)
  3317. CFuncs["Sound"].Create("rbxassetid://429400881", targetted.Head, 1,1)
  3318. for i = 0,1,0.1 do
  3319. swait()
  3320. 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)
  3321. 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)
  3322. 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)
  3323. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(80)),.8)
  3324. 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)
  3325. 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)
  3326. end
  3327. CFuncs["Sound"].Create("rbxassetid://847061203", root, 2.5,1)
  3328. for i = 0, 9 do
  3329. 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)
  3330. end
  3331. for i = 0, 24 do
  3332. 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)
  3333. end
  3334. sphere(3,"Add",root.CFrame,vt(0,0,0),0.25,BrickColor.new("Really black"))
  3335. root.CFrame = originalpos
  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. sphere(3,"Add",root.CFrame,vt(0,0,0),0.25,BrickColor.new("Really black"))
  3343. bld.Enabled = false
  3344. attack = false
  3345. hum.WalkSpeed = storehumanoidWS
  3346. end
  3347. end
  3348. function PureBomb()
  3349. attack = true
  3350.  
  3351. local orb = Instance.new("Part", char)
  3352. orb.Anchored = true
  3353. orb.BrickColor = BrickColor.new("Toothpaste")
  3354. orb.CanCollide = false
  3355. orb.FormFactor = 3
  3356. orb.Name = "Ring"
  3357. orb.Material = "Neon"
  3358. orb.Size = Vector3.new(1, 1, 1)
  3359. orb.Transparency = 0
  3360. orb.TopSurface = 0
  3361. orb.BottomSurface = 0
  3362. local orbm = Instance.new("SpecialMesh", orb)
  3363. orbm.MeshType = "Sphere"
  3364. orbm.Name = "SizeMesh"
  3365. orbm.Scale = vt(0,0,0)
  3366. local scaled = 0.1
  3367. local posid = 0
  3368. CFuncs["Sound"].Create("rbxassetid://136007472", orb, 1,1)
  3369. for i = 0, 5, 0.1 do
  3370. swait()
  3371. scaled = scaled - 0.001
  3372. posid = posid - scaled
  3373. orb.CFrame = rarm.CFrame*CFrame.new(0,-0.1+posid/1.05,0)
  3374. orbm.Scale = orbm.Scale + vt(scaled,scaled,scaled)
  3375. 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)
  3376. 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)
  3377. 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)
  3378. 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)
  3379. 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)
  3380. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(0)),.1)
  3381. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(180),math.rad(20),math.rad(0)),.1)
  3382. 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)
  3383. end
  3384. for i = 0, 2, 0.1 do
  3385. swait()
  3386. orb.CFrame = rarm.CFrame*CFrame.new(0,-0.1+posid/1.05,0)
  3387. 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)
  3388. 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)
  3389. 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)
  3390. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(20)),.4)
  3391. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(220),math.rad(20),math.rad(0)),.4)
  3392. 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)
  3393. end
  3394. coroutine.resume(coroutine.create(function()
  3395. orb.Anchored = false
  3396. CFuncs["Sound"].Create("rbxassetid://260433768", root, 1.25,1)
  3397. local a = Instance.new("Part",workspace)
  3398. a.Name = "Direction"
  3399. a.Anchored = true
  3400. a.BrickColor = bc("Bright red")
  3401. a.Material = "Neon"
  3402. a.Transparency = 1
  3403. a.CanCollide = false
  3404. local ray = Ray.new(
  3405. orb.CFrame.p, -- origin
  3406. (mouse.Hit.p - orb.CFrame.p).unit * 500 -- direction
  3407. )
  3408. local ignore = orb
  3409. local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  3410. a.BottomSurface = 10
  3411. a.TopSurface = 10
  3412. local distance = (orb.CFrame.p - position).magnitude
  3413. a.Size = Vector3.new(0.1, 0.1, 0.1)
  3414. a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, 0)
  3415. orb.CFrame = a.CFrame
  3416. a:Destroy()
  3417. local bv = Instance.new("BodyVelocity")
  3418. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  3419. bv.velocity = orb.CFrame.lookVector*125
  3420. bv.Parent = orb
  3421. local hitted = false
  3422. game:GetService("Debris"):AddItem(orb, 15)
  3423. wait()
  3424. local hit =orb.Touched:connect(function(hit)
  3425. if hitted == false then
  3426. hitted = true
  3427. CameraEnshaking(10,2.5)
  3428. CFuncs["Sound"].Create("rbxassetid://151304356", orb, 5,1)
  3429. MagniDamage(orb, 65, 65,90, 0, "Normal")
  3430. sphere(1,"Add",orb.CFrame,vt(orbm.Scale.x,orbm.Scale.y,orbm.Scale.z),1,BrickColor.new("Toothpaste"))
  3431. sphere(2,"Add",orb.CFrame,vt(orbm.Scale.x,orbm.Scale.y,orbm.Scale.z),2,BrickColor.new("Toothpaste"))
  3432. for i = 0, 49 do
  3433. 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)
  3434. end
  3435. for i = 0, 9 do
  3436. 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)
  3437. 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)
  3438. end
  3439. orb.Anchored = true
  3440. orb.Transparency = 1
  3441. wait(8)
  3442. orb:Destroy()
  3443. end
  3444. end)
  3445. end))
  3446. for i = 0, 1, 0.1 do
  3447. swait()
  3448. 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)
  3449. 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)
  3450. 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)
  3451. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-50)),.4)
  3452. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(60),math.rad(20),math.rad(50)),.4)
  3453. 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)
  3454. end
  3455. attack = false
  3456. end
  3457.  
  3458. function ChaosGroundStrike()
  3459. attack = true
  3460. for i = 0, 2, 0.1 do
  3461. swait()
  3462. 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)
  3463. 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)
  3464. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(-20),math.rad(0),math.rad(0)),.2)
  3465. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.2)
  3466. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(140),math.rad(0),math.rad(-20)),.2)
  3467. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(140),math.rad(0),math.rad(20)),.2)
  3468. end
  3469. CFuncs["Sound"].Create("rbxassetid://438666141", root, 7.5,1)
  3470. CFuncs["Sound"].Create("rbxassetid://1208650519", root, 7.5, 1)
  3471. CameraEnshaking(4,12)
  3472. for i, v in pairs(FindNearestHead(Torso.CFrame.p, 52.5)) do
  3473. if v:FindFirstChild('Head') then
  3474. dmg(v)
  3475. end
  3476. end
  3477. sphere(5,"Add",root.CFrame*CFrame.new(0,-2.9,0),vt(0,0,0),1,BrickColor.random())
  3478. sphere(10,"Add",root.CFrame*CFrame.new(0,-2.9,0),vt(0,0,0),2,BrickColor.random())
  3479. sphere(1,"Add",root.CFrame*CFrame.new(0,-2.9,0),vt(100,0.1,100),0.01,BrickColor.random())
  3480. for i = 0, 2, 0.1 do
  3481. swait()
  3482. 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)
  3483. 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)
  3484. 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)
  3485. 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)
  3486. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(10),math.rad(0),math.rad(0)),.4)
  3487. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10),math.rad(0),math.rad(0)),.4)
  3488. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-50),math.rad(0),math.rad(30)),.4)
  3489. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-50),math.rad(0),math.rad(-30)),.4)
  3490. end
  3491. attack = false
  3492. end
  3493.  
  3494. function InsaneGroundStrike()
  3495. attack = true
  3496. chatfunc("Succumb to the insanity!",Color3.new(0,0,0))
  3497. for i = 0, 8, 0.1 do
  3498. swait()
  3499. 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)
  3500.  
  3501. 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)
  3502. 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)
  3503. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(-20),math.rad(0),math.rad(0)),.2)
  3504. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.2)
  3505. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(140),math.rad(0),math.rad(-20)),.2)
  3506. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(140),math.rad(0),math.rad(20)),.2)
  3507. end
  3508. CFuncs["Sound"].Create("rbxassetid://438666141", root, 7.5,1)
  3509. CFuncs["Sound"].Create("rbxassetid://1208650519", root, 7.5, 1)
  3510. CameraEnshaking(8,24)
  3511. for i, v in pairs(FindNearestHead(Torso.CFrame.p, 105)) do
  3512. if v:FindFirstChild('Head') then
  3513. dmg(v)
  3514. end
  3515. end
  3516. sphere(5,"Add",root.CFrame*CFrame.new(0,-2.9,0),vt(0,0,0),1,BrickColor.random())
  3517. sphere(10,"Add",root.CFrame*CFrame.new(0,-2.9,0),vt(0,0,0),2,BrickColor.random())
  3518. sphere(1,"Add",root.CFrame*CFrame.new(0,-2.9,0),vt(200,0.1,200),0.01,BrickColor.random())
  3519. CFuncs["Sound"].Create("rbxassetid://907329669", root, 10, 1)
  3520. chatfunc("Leave the dead where they fall!",Color3.new(0,0,0))
  3521. for i = 0, 2, 0.1 do
  3522. swait()
  3523. 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)
  3524. 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)
  3525. 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)
  3526. 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)
  3527. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(10),math.rad(0),math.rad(0)),.4)
  3528. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10),math.rad(0),math.rad(0)),.4)
  3529. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-50),math.rad(0),math.rad(30)),.4)
  3530. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-50),math.rad(0),math.rad(-30)),.4)
  3531. end
  3532. attack = false
  3533. end
  3534.  
  3535. function Starfall()
  3536. attack = true
  3537. hum.WalkSpeed = 0
  3538. CFuncs["Sound"].Create("rbxassetid://136007472", root, 5, 1)
  3539. for i = 0, 5, 0.1 do
  3540. swait()
  3541. 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)
  3542. 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)
  3543. 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)
  3544. 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)
  3545. 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)
  3546. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-10),math.rad(0),math.rad(0)),.1)
  3547. 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)
  3548. 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)
  3549. end
  3550. local Overed = false
  3551. CameraEnshaking(2,20)
  3552. sphere(1.5,"Add",sorb.CFrame,vt(0,0,0),0.25,MAINRUINCOLOR)
  3553. sphere(1.5,"Add",sorb2.CFrame,vt(0,0,0),0.25,MAINRUINCOLOR)
  3554. sphere(5,"Add",root.CFrame,vt(0,0,0),12.5,MAINRUINCOLOR)
  3555. CFuncs["Sound"].Create("rbxassetid://1177785010", char, 1, 1)
  3556. local orb = Instance.new("Part", char)
  3557. orb.Anchored = true
  3558. orb.BrickColor = BrickColor.new("Toothpaste")
  3559. orb.CanCollide = false
  3560. orb.FormFactor = 3
  3561. orb.Name = "Remenant"
  3562. orb.Material = "Neon"
  3563. orb.CFrame = root.CFrame*CFrame.new(0,150,0)
  3564. orb.Size = Vector3.new(1, 1, 1)
  3565. orb.Transparency = 1
  3566. orb.TopSurface = 0
  3567. orb.BottomSurface = 0
  3568. hum.WalkSpeed = storehumanoidWS
  3569. coroutine.resume(coroutine.create(function()
  3570. for i = 0, 9 do
  3571. swait(10)
  3572. local lb = Instance.new("Part")
  3573. lb.Color = MAINRUINCOLOR.Color
  3574. lb.CanCollide = false
  3575. lb.Material = "Neon"
  3576. lb.Anchored = true
  3577. lb.TopSurface = 0
  3578. lb.BottomSurface = 0
  3579. lb.Transparency = 0
  3580. lb.Size = vt(1,1,1)
  3581. 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)))
  3582. lb.Anchored = false
  3583. lb.Parent = char
  3584. local thingery = Instance.new("SpecialMesh",lb)
  3585. thingery.MeshType = "Sphere"
  3586. thingery.Scale = vt(20,20,20)
  3587. game:GetService("Debris"):AddItem(lb, 10)
  3588. local bv = Instance.new("BodyVelocity")
  3589. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  3590. bv.velocity = lb.CFrame.lookVector*math.random(75,250)
  3591. bv.Parent = lb
  3592. sphere(2.5,"Add",lb.CFrame,vt(50,50,0),0.25,MAINRUINCOLOR)
  3593. sphere(5,"Add",lb.CFrame,vt(50,50,0),0.5,MAINRUINCOLOR)
  3594. CFuncs["Sound"].Create("rbxassetid://633627961",lb, 5, 1)
  3595. CFuncs["Sound"].Create("rbxassetid://1002081188", lb, 5, 1)
  3596. CFuncs["Sound"].Create("rbxassetid://741272936", lb, 5, 1)
  3597. CFuncs["Sound"].Create("rbxassetid://1192402877", lb, 5, 1)
  3598. local hitted = false
  3599. coroutine.resume(coroutine.create(function()
  3600. while true do
  3601. swait(1)
  3602. if lb.Parent ~= nil and hitted == false then
  3603. 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)
  3604. elseif lb.Parent == nil then
  3605. break
  3606. end
  3607. end
  3608. end))
  3609.  
  3610. game:GetService("Debris"):AddItem(a, 0.1)
  3611.  
  3612. coroutine.resume(coroutine.create(function()
  3613. swait(1)
  3614. lb.Touched:connect(function(hit)
  3615. if hitted == false then
  3616. hitted = true
  3617. lb.Transparency = 1
  3618. lb.Anchored = true
  3619. CFuncs["Sound"].Create("rbxassetid://1177785010", lb, 5, 1)
  3620. CFuncs["Sound"].Create("rbxassetid://192410089", lb, 5, 0.7)
  3621. CFuncs["Sound"].Create("rbxassetid://579687077", lb, 2.5, 0.75)
  3622. CFuncs["Sound"].Create("rbxassetid://1060191237", lb, 3, 0.75)
  3623. CFuncs["Sound"].Create("rbxassetid://164881112", lb, 5, 1)
  3624. CFuncs["Sound"].Create("rbxassetid://429123896", lb, 3.5, 0.85)
  3625. MagniDamage(lb, 45, 45,85, 0, "Normal")
  3626. CameraEnshaking(1,5)
  3627. sphere(8,"Add",lb.CFrame,vt(20,20,20),1,MAINRUINCOLOR)
  3628. sphere(16,"Add",lb.CFrame,vt(20,20,20),2,MAINRUINCOLOR)
  3629. for i = 0, 9 do
  3630. 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)
  3631. end
  3632. for i = 0, 49 do
  3633. swait()
  3634. MagniDamage(lb, 30, 2,4, 0, "Normal")
  3635. 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)
  3636. end
  3637. end
  3638. end)
  3639. end))
  3640. end
  3641. Overed = true
  3642. orb:Destroy()
  3643. end))
  3644.  
  3645. attack = false
  3646. end
  3647.  
  3648. function StarfallEX()
  3649. attack = true
  3650. hum.WalkSpeed = 0
  3651. CFuncs["Sound"].Create("rbxassetid://136007472", root, 5, 1)
  3652. for i = 0, 5, 0.1 do
  3653. swait()
  3654. 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)
  3655. 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)
  3656. 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)
  3657. 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)
  3658. 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)
  3659. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-10),math.rad(0),math.rad(0)),.1)
  3660. 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)
  3661. 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)
  3662. end
  3663. local Overed = false
  3664. CameraEnshaking(2,20)
  3665. sphere(1.5,"Add",sorb.CFrame,vt(0,0,0),0.25,MAINRUINCOLOR)
  3666. sphere(1.5,"Add",sorb2.CFrame,vt(0,0,0),0.25,MAINRUINCOLOR)
  3667. sphere(5,"Add",root.CFrame,vt(0,0,0),12.5,MAINRUINCOLOR)
  3668. CFuncs["Sound"].Create("rbxassetid://1177785010", char, 1, 1)
  3669. local orb = Instance.new("Part", char)
  3670. orb.Anchored = true
  3671. orb.BrickColor = BrickColor.new("Toothpaste")
  3672. orb.CanCollide = false
  3673. orb.FormFactor = 3
  3674. orb.Name = "Remenant"
  3675. orb.Material = "Neon"
  3676. orb.CFrame = root.CFrame*CFrame.new(0,150,0)
  3677. orb.Size = Vector3.new(1, 1, 1)
  3678. orb.Transparency = 1
  3679. orb.TopSurface = 0
  3680. orb.BottomSurface = 0
  3681. hum.WalkSpeed = storehumanoidWS
  3682. coroutine.resume(coroutine.create(function()
  3683. for i = 1, 5 do
  3684. swait(10)
  3685. local lb = Instance.new("Part")
  3686. lb.Color = MAINRUINCOLOR.Color
  3687. lb.CanCollide = false
  3688. lb.Material = "Neon"
  3689. lb.Anchored = true
  3690. lb.TopSurface = 0
  3691. lb.BottomSurface = 0
  3692. lb.Transparency = 0
  3693. lb.Size = vt(1,1,1)
  3694. 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)))
  3695. lb.Anchored = false
  3696. lb.Parent = char
  3697. local thingery = Instance.new("SpecialMesh",lb)
  3698. thingery.MeshType = "Sphere"
  3699. thingery.Scale = vt(20,20,20)
  3700. game:GetService("Debris"):AddItem(lb, 10)
  3701. local bv = Instance.new("BodyVelocity")
  3702. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  3703. bv.velocity = lb.CFrame.lookVector*math.random(75,250)
  3704. bv.Parent = lb
  3705. sphere(2.5,"Add",lb.CFrame,vt(50,50,0),0.25,MAINRUINCOLOR)
  3706. sphere(5,"Add",lb.CFrame,vt(50,50,0),0.5,MAINRUINCOLOR)
  3707. CFuncs["Sound"].Create("rbxassetid://633627961",lb, 5, 1)
  3708. CFuncs["Sound"].Create("rbxassetid://1002081188", lb, 5, 1)
  3709. CFuncs["Sound"].Create("rbxassetid://741272936", lb, 5, 1)
  3710. CFuncs["Sound"].Create("rbxassetid://1192402877", lb, 5, 1)
  3711. local hitted = false
  3712. coroutine.resume(coroutine.create(function()
  3713. while true do
  3714. swait(1)
  3715. if lb.Parent ~= nil and hitted == false then
  3716. 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)
  3717. elseif lb.Parent == nil then
  3718. break
  3719. end
  3720. end
  3721. end))
  3722.  
  3723. game:GetService("Debris"):AddItem(a, 0.1)
  3724.  
  3725. coroutine.resume(coroutine.create(function()
  3726. swait(5)
  3727. lb.Touched:connect(function(hit)
  3728. if hitted == false and not hit:IsDescendantOf(Character) then
  3729. hitted = true
  3730. lb.Transparency = 1
  3731. lb.Anchored = true
  3732. CFuncs["Sound"].Create("rbxassetid://1177785010", lb, 5, 1)
  3733. CFuncs["Sound"].Create("rbxassetid://192410089", lb, 5, 0.7)
  3734. CFuncs["Sound"].Create("rbxassetid://579687077", lb, 2.5, 0.75)
  3735. CFuncs["Sound"].Create("rbxassetid://1060191237", lb, 3, 0.75)
  3736. CFuncs["Sound"].Create("rbxassetid://164881112", lb, 5, 1)
  3737. CFuncs["Sound"].Create("rbxassetid://429123896", lb, 3.5, 0.85)
  3738. MagniDamage(lb, 45, 90,170, 0, "Normal")
  3739. CameraEnshaking(1,5)
  3740. sphere(8,"Add",lb.CFrame,vt(20,20,20),1,MAINRUINCOLOR)
  3741. sphere(16,"Add",lb.CFrame,vt(20,20,20),2,MAINRUINCOLOR)
  3742. for i = 0, 9 do
  3743. 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)
  3744. end
  3745. for i = 0, 49 do
  3746. swait()
  3747. MagniDamage(lb, 60, 20,40, 0, "Normal")
  3748. 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)
  3749. end
  3750. end
  3751. end)
  3752. end))
  3753. end
  3754. Overed = true
  3755. orb:Destroy()
  3756. end))
  3757.  
  3758. attack = false
  3759. end
  3760.  
  3761.  
  3762. function StarDivision()
  3763. attack = true
  3764. CFuncs["Sound"].Create("rbxassetid://136007472", root, 2, 1.5)
  3765. for i = 0, 2, 0.1 do
  3766. swait()
  3767. 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)
  3768. 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)
  3769. 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)
  3770. 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)
  3771. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10),math.rad(0),math.rad(-90)),.6)
  3772. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(90)), 0.6)
  3773. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(10), math.rad(0), math.rad(-20)), 0.6)
  3774. end
  3775. local orb = Instance.new("Part", char)
  3776. orb.BrickColor = MAINRUINCOLOR
  3777. orb.CanCollide = false
  3778. orb.FormFactor = 3
  3779. orb.Name = "Ring"
  3780. orb.Material = "Neon"
  3781. orb.Size = Vector3.new(1, 1, 1)
  3782. orb.Transparency = 0
  3783. orb.TopSurface = 0
  3784. orb.BottomSurface = 0
  3785. local orbm = Instance.new("SpecialMesh", orb)
  3786. orbm.MeshType = "Sphere"
  3787. orbm.Name = "SizeMesh"
  3788. orbm.Scale = vt(2,2,2)
  3789. local a = Instance.new("Part",workspace)
  3790. a.Name = "Direction"
  3791. a.Anchored = true
  3792. a.BrickColor = bc("Bright red")
  3793. a.Material = "Neon"
  3794. a.Transparency = 1
  3795. a.CanCollide = false
  3796. local ray = Ray.new(
  3797. sorb.CFrame.p, -- origin
  3798. (mouse.Hit.p - sorb.CFrame.p).unit * 500 -- direction
  3799. )
  3800. local ignore = sorb
  3801. local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  3802. a.BottomSurface = 10
  3803. a.TopSurface = 10
  3804. local distance = (sorb.CFrame.p - position).magnitude
  3805. a.Size = Vector3.new(0.1, 0.1, 0.1)
  3806. a.CFrame = CFrame.new(sorb.CFrame.p, position) * CFrame.new(0, 0, 0)
  3807. orb.CFrame = a.CFrame
  3808. a:Destroy()
  3809. local bv = Instance.new("BodyVelocity")
  3810. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  3811. bv.velocity = orb.CFrame.lookVector*100
  3812. bv.Parent = orb
  3813. local hitted = false
  3814. game:GetService("Debris"):AddItem(orb, 10)
  3815. CFuncs["Sound"].Create("rbxassetid://376970418",orb, 1.5, 1.15)
  3816. CFuncs["Sound"].Create("rbxassetid://633627961",orb, 1, 1.15)
  3817. CFuncs["Sound"].Create("rbxassetid://1002081188", orb, 1, 1.15)
  3818. CFuncs["Sound"].Create("rbxassetid://741272936", orb, 1, 1.15)
  3819. CFuncs["Sound"].Create("rbxassetid://1192402877", orb, 1, 1.15)
  3820. coroutine.resume(coroutine.create(function()
  3821. while true do
  3822. swait(1)
  3823. if orb.Parent ~= nil and hitted == false then
  3824. 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)
  3825. elseif orb.Parent == nil then
  3826. break
  3827. end
  3828. end
  3829. end))
  3830. coroutine.resume(coroutine.create(function()
  3831. swait(1)
  3832. orb.Touched:connect(function(hit)
  3833. if hitted == false then
  3834. hitted = true
  3835. game:GetService("Debris"):AddItem(orb, 5)
  3836. orb.Transparency = 1
  3837. orb.Anchored = true
  3838. local elocacenter = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  3839. elocacenter.Anchored = true
  3840. elocacenter.CFrame = orb.CFrame
  3841. elocacenter.Orientation = vt(0,0,0)
  3842. local eloca1 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  3843. eloca1.Anchored = true
  3844. eloca1.CFrame = elocacenter.CFrame
  3845. local eloca2 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  3846. eloca2.Anchored = true
  3847. eloca2.CFrame = elocacenter.CFrame
  3848. local eloca3 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  3849. eloca3.Anchored = true
  3850. eloca3.CFrame = elocacenter.CFrame
  3851. local eloca4 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  3852. eloca4.Anchored = true
  3853. eloca4.CFrame = elocacenter.CFrame
  3854. local lookavec = 0
  3855. local speeds = 0
  3856. CameraEnshaking(1,1)
  3857. CFuncs["Sound"].Create("rbxassetid://419447292", elocacenter, 10,1)
  3858. sphere(1,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  3859. sphere(2,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  3860. sphere(3,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  3861. sphere(4,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  3862. sphere(5,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  3863. for i = 0, 99 do
  3864. swait()
  3865. lookavec = lookavec + 1
  3866. speeds = speeds + 0.1
  3867. elocacenter.CFrame = elocacenter.CFrame*CFrame.Angles(0,math.rad(speeds),0)
  3868. eloca1.CFrame = elocacenter.CFrame*CFrame.new(lookavec,0,0)
  3869. 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)
  3870.  
  3871. eloca2.CFrame = elocacenter.CFrame*CFrame.new(-lookavec,0,0)
  3872. 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)
  3873.  
  3874. eloca3.CFrame = elocacenter.CFrame*CFrame.new(0,0,lookavec)
  3875. 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)
  3876.  
  3877. eloca4.CFrame = elocacenter.CFrame*CFrame.new(0,0,-lookavec)
  3878. 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)
  3879. end
  3880.  
  3881. for i = 0, 149 do
  3882. swait()
  3883. speeds = speeds + 0.1
  3884. elocacenter.CFrame = elocacenter.CFrame*CFrame.Angles(0,math.rad(speeds),0)
  3885. eloca1.CFrame = elocacenter.CFrame*CFrame.new(lookavec,0,0)
  3886. 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)
  3887.  
  3888. eloca2.CFrame = elocacenter.CFrame*CFrame.new(-lookavec,0,0)
  3889. 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)
  3890.  
  3891. eloca3.CFrame = elocacenter.CFrame*CFrame.new(0,0,lookavec)
  3892. 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)
  3893.  
  3894. eloca4.CFrame = elocacenter.CFrame*CFrame.new(0,0,-lookavec)
  3895. 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)
  3896. end
  3897. for i, v in pairs(FindNearestHead(elocacenter.CFrame.p, 125)) do
  3898. if v:FindFirstChild('Head') then
  3899. dmg(v)
  3900. end
  3901. end
  3902. CameraEnshaking(7,30)
  3903. MagniDamage(elocacenter, 225, 50,75, 0, "Normal")
  3904. CFuncs["Sound"].Create("rbxassetid://468991944", char, 4, 1)
  3905. CFuncs["Sound"].Create("rbxassetid://533636230", char, 5, 0.75)
  3906. CFuncs["Sound"].Create("rbxassetid://419447292", char, 1,1)
  3907. CFuncs["Sound"].Create("rbxassetid://421328847", char, 1,1)
  3908. sphere(1,"Add",elocacenter.CFrame,vt(125,90000,125),-0.25,MAINRUINCOLOR)
  3909. sphere(1,"Add",elocacenter.CFrame,vt(125,90000,125),0.5,MAINRUINCOLOR)
  3910. sphere(1,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  3911. sphere(2,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  3912. sphere(3,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  3913. sphere(4,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  3914. sphere(5,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  3915. for i = 0, 24 do
  3916. 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)
  3917. 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)
  3918. 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)
  3919. 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)
  3920. end
  3921. coroutine.resume(coroutine.create(function()
  3922. for i = 0, 499 do
  3923. swait(1)
  3924. MagniDamage(elocacenter, 90, 1,5, 0, "Normal")
  3925. 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)
  3926. end
  3927. elocacenter:Destroy()
  3928. eloca1:Destroy()
  3929. eloca2:Destroy()
  3930. eloca3:Destroy()
  3931. eloca4:Destroy()
  3932. end))
  3933. end
  3934. end)
  3935. end))
  3936. attack = false
  3937. end
  3938.  
  3939.  
  3940. function UniversalCollapse()
  3941. attack = true
  3942. local speedearn = 0
  3943. hum.WalkSpeed = 0
  3944. CFuncs["Sound"].Create("rbxassetid://1208650519", char, 10, 1)
  3945. for i = 0, 10, 0.1 do
  3946. swait()
  3947. speedearn = speedearn + 0.1
  3948. 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)
  3949. 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)
  3950. 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)
  3951. 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)
  3952. 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)
  3953. 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)
  3954. 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)
  3955. 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)
  3956. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(55),math.rad(0),math.rad(0)),.1)
  3957. 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)
  3958. 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)
  3959. end
  3960. CameraEnshaking(5,45)
  3961. sphere(5,"Add",root.CFrame,vt(0,0,0),25,MAINRUINCOLOR)
  3962. CFuncs["Sound"].Create("rbxassetid://1177785010", char, 10, 1)
  3963. for i, v in pairs(FindNearestHead(Torso.CFrame.p, 1234567890)) do
  3964. if v:FindFirstChild('Head') then
  3965. dmg(v)
  3966. end
  3967. end
  3968. hum.WalkSpeed = storehumanoidWS
  3969. attack = false
  3970. end
  3971. function ChaosBegone()
  3972. attack = true
  3973. local speedearn = 0
  3974. CFuncs["Sound"].Create("rbxassetid://1208650519", char, 10, 0.75)
  3975. for i = 0, 10, 0.1 do
  3976. swait()
  3977. speedearn = speedearn + 0.1
  3978. 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)
  3979. 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)
  3980. 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)
  3981. 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)
  3982. 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)
  3983. 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)
  3984. 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)
  3985. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(-20),math.rad(0),math.rad(0)),.2)
  3986. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.2)
  3987. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(140),math.rad(0),math.rad(-20)),.2)
  3988. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(140),math.rad(0),math.rad(20)),.2)
  3989. end
  3990. CFuncs["Sound"].Create("rbxassetid://438666141", char, 7.5,1)
  3991. CFuncs["Sound"].Create("rbxassetid://1208650519", char, 7.5, 1)
  3992. CameraEnshaking(5,25)
  3993. for i, v in pairs(FindNearestHead(Torso.CFrame.p, 1234567890)) do
  3994. if v:FindFirstChild('Head') then
  3995. dmg(v)
  3996. end
  3997. end
  3998. sphere(5,"Add",root.CFrame*CFrame.new(0,-2.9,0),vt(0,0,0),1*1000,BrickColor.random())
  3999. sphere(10,"Add",root.CFrame*CFrame.new(0,-2.9,0),vt(0,0,0),2*1000,BrickColor.random())
  4000. sphere(1,"Add",root.CFrame*CFrame.new(0,-2.9,0),vt(100*1000,0.1,100*1000),0.01,BrickColor.random())
  4001. for i = 0, 3, 0.1 do
  4002. swait()
  4003. 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)
  4004. 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)
  4005. 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)
  4006. 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)
  4007. 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)
  4008. 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)
  4009. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(10),math.rad(0),math.rad(0)),.4)
  4010. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10),math.rad(0),math.rad(0)),.4)
  4011. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-50),math.rad(0),math.rad(30)),.4)
  4012. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-50),math.rad(0),math.rad(-30)),.4)
  4013. end
  4014. attack = false
  4015. end
  4016.  
  4017. function orb_spawn_norm(positted,timer,color,MagniBoost,min,max,volEx,ShakePower,volSummon)
  4018. local orb = Instance.new("Part", char)
  4019. orb.Anchored = true
  4020. orb.BrickColor = color
  4021. orb.CanCollide = false
  4022. orb.FormFactor = 3
  4023. orb.Name = "Ring"
  4024. orb.Material = "Neon"
  4025. orb.Size = Vector3.new(1, 1, 1)
  4026. orb.Transparency = 0
  4027. orb.TopSurface = 0
  4028. orb.BottomSurface = 0
  4029. local orbm = Instance.new("SpecialMesh", orb)
  4030. orbm.MeshType = "Sphere"
  4031. orb.CFrame = positted
  4032. orbm.Name = "SizeMesh"
  4033. orbm.Scale = vt(1,1,1)
  4034. coroutine.wrap(function()
  4035. while orb and orb.Parent do
  4036. if glitchymode then
  4037. local val = math.random(1,255)
  4038. local color = Color3.fromRGB(val,val,val)
  4039. orb.Color = color
  4040. end
  4041. swait()
  4042. end
  4043. end)()
  4044. CFuncs["Sound"].Create("rbxassetid://183763506", orb, volSummon, 1)
  4045. sphere(2.5,"Add",orb.CFrame,vt(1,1,1),0.05,orb.BrickColor)
  4046. --[[for i = 0, 2 do
  4047. 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)
  4048. end]]--
  4049. coroutine.resume(coroutine.create(function()
  4050. wait(timer)
  4051. CameraEnshaking(3,ShakePower)
  4052. orb.Transparency = 1
  4053. MagniDamage(orb, 3.5*MagniBoost, min,max, 0, "Normal")
  4054. sphere(5,"Add",orb.CFrame,vt(1,1,1),0.1*MagniBoost,orb.BrickColor)
  4055. --[[for i = 0, 4 do
  4056. 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)
  4057. end]]--
  4058. CFuncs["Sound"].Create("rbxassetid://192410089", orb, volEx, 0.7)
  4059. wait(3)
  4060. orb:Destroy()
  4061. end))
  4062. end
  4063.  
  4064. function orb_spawn(positted,timer)
  4065. local orb = Instance.new("Part", char)
  4066. orb.Anchored = true
  4067. orb.BrickColor = BrickColor.new("White")
  4068.  
  4069. orb.CanCollide = false
  4070. orb.FormFactor = 3
  4071. orb.Name = "Ring"
  4072. orb.Material = "Neon"
  4073. orb.Size = Vector3.new(1, 1, 1)
  4074. orb.Transparency = 0
  4075. orb.TopSurface = 0
  4076. orb.BottomSurface = 0
  4077. local orbm = Instance.new("SpecialMesh", orb)
  4078. orbm.MeshType = "Sphere"
  4079. orb.CFrame = positted
  4080. orbm.Name = "SizeMesh"
  4081. orbm.Scale = vt(1,1,1)
  4082. CFuncs["Sound"].Create("rbxassetid://183763506", orb, 1.5, 1)
  4083. sphere(2.5,"Add",orb.CFrame,vt(1,1,1),0.025,orb.BrickColor)
  4084. coroutine.wrap(function()
  4085. while orb and orb.Parent do
  4086. if glitchymode then
  4087. local val = math.random(1,255)
  4088. local color = Color3.fromRGB(val,val,val)
  4089. orb.Color = color
  4090. end
  4091. swait()
  4092. end
  4093. end)()
  4094. for i = 0, 2 do
  4095. 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)
  4096. end
  4097.  
  4098. coroutine.resume(coroutine.create(function()
  4099. wait(timer)
  4100. CameraEnshaking(3,2)
  4101. orb.Transparency = 1
  4102. MagniDamage(orb, 17.5, 10,50, 0, "Normal")
  4103. sphere(5,"Add",orb.CFrame,vt(1,1,1),0.5,orb.BrickColor)
  4104. for i = 0, 4 do
  4105. 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)
  4106. end
  4107. CFuncs["Sound"].Create("rbxassetid://192410089", orb, 2, 0.7)
  4108. wait(3)
  4109. orb:Destroy()
  4110. end))
  4111. end
  4112.  
  4113. function scattercorrupt()
  4114. attack = true
  4115. local rot = 0
  4116. local randomrotations = math.random(1,2)
  4117. local lookv = 2.5
  4118. local power = 5
  4119. sphere(1,"Add",root.CFrame,vt(1,100000,1),0.5,BrickColor.new("Royal purple"))
  4120. sphere(1,"Add",root.CFrame,vt(1,1,1),0.75,BrickColor.new("Royal purple"))
  4121. for i = 0, 9 do
  4122. 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)
  4123. end
  4124. CFuncs["Sound"].Create("rbxassetid://180204650", char, 2.5, 0.6)
  4125. CFuncs["Sound"].Create("rbxassetid://233856079", char, 1, 0.5)
  4126. CFuncs["Sound"].Create("rbxassetid://1208650519", char, 2.5, 1)
  4127. CFuncs["Sound"].Create("rbxassetid://239000203", char, 0.5,0.75)
  4128. CFuncs["Sound"].Create("rbxassetid://579687077", char, 0.5,0.5)
  4129. local hite = Instance.new("Part", char)
  4130. hite.Anchored = true
  4131. hite.CanCollide = false
  4132. hite.FormFactor = 3
  4133. hite.Name = "Ring"
  4134. hite.Material = "Neon"
  4135. hite.Size = Vector3.new(1, 1, 1)
  4136. hite.Transparency = 1
  4137. hite.TopSurface = 0
  4138. hite.BottomSurface = 0
  4139. hite.CFrame = root.CFrame*CFrame.new(0,-2.5,0)
  4140. local rem = Instance.new("Part", char)
  4141. rem.Anchored = true
  4142. rem.CanCollide = false
  4143. rem.FormFactor = 3
  4144. rem.Name = "Ring"
  4145. rem.Material = "Neon"
  4146. rem.Size = Vector3.new(1, 1, 1)
  4147. rem.Transparency = 1
  4148. rem.TopSurface = 0
  4149. rem.BottomSurface = 0
  4150. rem.CFrame = hite.CFrame
  4151. local rem2 = rem:Clone()
  4152. rem2.Parent = char
  4153. rem2.CFrame = rem.CFrame*CFrame.Angles(0,math.rad(90),0)
  4154. local rem3 = rem:Clone()
  4155. rem3.Parent = char
  4156. rem3.CFrame = rem.CFrame*CFrame.Angles(0,math.rad(180),0)
  4157. local rem4 = rem:Clone()
  4158. rem4.Parent = char
  4159. rem4.CFrame = rem.CFrame*CFrame.Angles(0,math.rad(270),0)
  4160. hite:Destroy()
  4161. coroutine.resume(coroutine.create(function()
  4162. for i = 0, 24 do
  4163. swait(1)
  4164. if randomrotations == 1 then
  4165. rot = rot + 1
  4166. elseif randomrotations == 2 then
  4167. rot = rot - 1
  4168. end
  4169. power = power + 0.5
  4170. lookv = lookv + 7.5
  4171. rem.CFrame = rem.CFrame*CFrame.Angles(0,math.rad(rot),0)
  4172. rem2.CFrame = rem.CFrame*CFrame.Angles(0,math.rad(90),0)
  4173. rem3.CFrame = rem.CFrame*CFrame.Angles(0,math.rad(180),0)
  4174. rem4.CFrame = rem.CFrame*CFrame.Angles(0,math.rad(270),0)
  4175. orb_spawn_norm(rem.CFrame + rem.CFrame.lookVector*lookv,3,BrickColor.new("Royal purple"),power,25,75,10,power/5,7.5)
  4176. orb_spawn_norm(rem2.CFrame + rem2.CFrame.lookVector*lookv,3,BrickColor.new("Royal purple"),power,25,75,10,power/5,7.5)
  4177. orb_spawn_norm(rem3.CFrame + rem3.CFrame.lookVector*lookv,3,BrickColor.new("Royal purple"),power,25,75,10,power/5,7.5)
  4178. orb_spawn_norm(rem4.CFrame + rem4.CFrame.lookVector*lookv,3,BrickColor.new("Royal purple"),power,25,75,10,power/5,7.5)
  4179. end
  4180. end))
  4181. attack = false
  4182. end
  4183. function yinyangi()
  4184. attack = true
  4185. for i = 0, 2, 0.1 do
  4186. swait()
  4187. 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)
  4188. 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)
  4189. 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)
  4190. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.2)
  4191. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(90)),.2)
  4192. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),.2)
  4193. end
  4194. local bv = Instance.new("BodyVelocity")
  4195. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  4196. bv.velocity = root.CFrame.lookVector*175
  4197. bv.Parent = root
  4198. for Rotations = 0, 9 do
  4199.  
  4200. for i = 0, 1, 0.5 do
  4201. swait()
  4202. bv.velocity = root.CFrame.lookVector*175
  4203. 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)
  4204. 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)
  4205. 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)
  4206. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.5)
  4207. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(90)),.5)
  4208. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),.5)
  4209. end
  4210.  
  4211. orb_spawn(rarm.CFrame*CFrame.new(0,-1,0),2.5)
  4212. for i = 0, 1, 0.5 do
  4213. swait()
  4214. bv.velocity = root.CFrame.lookVector*175
  4215. 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)
  4216. 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)
  4217. 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)
  4218. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.5)
  4219. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(90)),.5)
  4220. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),.5)
  4221. end
  4222.  
  4223. orb_spawn(rarm.CFrame*CFrame.new(0,-1,0),2.5)
  4224. for i = 0, 1, 0.5 do
  4225. swait()
  4226. bv.velocity = root.CFrame.lookVector*175
  4227. 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)
  4228. 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)
  4229. 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)
  4230. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.5)
  4231. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(90)),.5)
  4232. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),.5)
  4233. end
  4234.  
  4235. orb_spawn(rarm.CFrame*CFrame.new(0,-1,0),2.5)
  4236. for i = 0, 1, 0.5 do
  4237. swait()
  4238. bv.velocity = root.CFrame.lookVector*175
  4239. 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)
  4240. 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)
  4241. 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)
  4242. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.5)
  4243. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(90)),.5)
  4244. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),.5)
  4245. end
  4246.  
  4247. orb_spawn(rarm.CFrame*CFrame.new(0,-1,0),2.5)
  4248. end
  4249. bv:Destroy()
  4250. attack = false
  4251. end
  4252.  
  4253. function JusticeBeam()
  4254. attack = true
  4255.  
  4256. local rngb = Instance.new("Part", char)
  4257. rngb.Anchored = true
  4258. rngb.BrickColor = origcolor
  4259. rngb.CanCollide = false
  4260. rngb.FormFactor = 3
  4261. rngb.Name = "Ring"
  4262. rngb.Material = "Neon"
  4263. rngb.Size = Vector3.new(1, 0.05, 1)
  4264. rngb.Transparency = 1
  4265. rngb.TopSurface = 0
  4266. rngb.BottomSurface = 0
  4267. local rngmb = Instance.new("SpecialMesh", rngb)
  4268. rngmb.MeshType = "Brick"
  4269. rngmb.Name = "SizeMesh"
  4270. rngmb.Scale = vt(0,1,0)
  4271.  
  4272. local orb = rngb:Clone()
  4273. orb.Parent = char
  4274. orb.Transparency = 0
  4275. orb.BrickColor = BrickColor.new("White")
  4276. orb.Size = vt(1,1,1)
  4277. local orbmish = orb.SizeMesh
  4278. orbmish.Scale = vt(0,0,0)
  4279. orbmish.MeshType = "Sphere"
  4280.  
  4281. local orbe = rngb:Clone()
  4282. orbe.Parent = char
  4283. orbe.Transparency = 0.5
  4284. orbe.BrickColor = BrickColor.new("New Yeller")
  4285. orbe.Size = vt(1,1,1)
  4286. local orbmish2 = orbe.SizeMesh
  4287. orbmish2.Scale = vt(0,0,0)
  4288. orbmish2.MeshType = "Sphere"
  4289. orbe.Color = Color3.new(1,1,1)
  4290.  
  4291. rngb:Destroy()
  4292. --[[CFuncs["Sound"].Create("rbxassetid://136007472", orb, 1.5, 1)
  4293. local scaled = 1
  4294. for i = 0,5,0.1 do
  4295. swait()
  4296. scaled = scaled - 0.02
  4297. if rainbowmode == true then
  4298. orbe.Color = Color3.new(r/255,g/255,b/255)
  4299. end
  4300. orbmish.Scale = orbmish.Scale + vt(scaled/1.5,scaled/1.5,scaled/1.5)
  4301. orbmish2.Scale = orbmish2.Scale + vt(scaled*1.1/1.5,scaled*1.1/1.5,scaled*1.1/1.5)
  4302. orb.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*11.5
  4303. orbe.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*11.5
  4304. 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)
  4305. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(90)),0.3)
  4306. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(-90)),.3)
  4307. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(90)), 0.3)
  4308. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(10), math.rad(0), math.rad(-20)), 0.3)
  4309. 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)
  4310. 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)
  4311. RootPart.CFrame = FaceMouse()[1]
  4312. end]]--
  4313. for i = 0,5,0.1 do
  4314. swait()
  4315. if rainbowmode == true then
  4316. orbe.Color = Color3.new(r/255,g/255,b/255)
  4317. end
  4318. if glitchymode then
  4319. local val = math.random(1,255)
  4320. local color = Color3.fromRGB(val,val,val)
  4321. orbe.Color = color
  4322. end
  4323. orb.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*11.5
  4324. orbe.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*11.5
  4325. 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)
  4326. 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)
  4327. 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)
  4328. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(15),math.rad(0),math.rad(0)),.1)
  4329. 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)
  4330. 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)
  4331. end
  4332. orbe.Transparency = 1
  4333. orb.Transparency = 1
  4334. orb.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*5
  4335. CFuncs["Sound"].Create("rbxassetid://294188875", char, 1, 1)
  4336. local a2 = Instance.new("Part",Character)
  4337. a2.Name = "Direction"
  4338. a2.Anchored = true
  4339. a2.BrickColor = bc("New Yeller")
  4340. a2.Color = Color3.new(1,1,1)
  4341. a2.Material = "Neon"
  4342. a2.Transparency = 0.5
  4343. a2.Shape = "Cylinder"
  4344. a2.CanCollide = false
  4345. local ba = Instance.new("Part",Character)
  4346. ba.Name = "HitDirect"
  4347. ba.Anchored = true
  4348. ba.BrickColor = bc("Cool yellow")
  4349. ba.Material = "Neon"
  4350. ba.Transparency = 1
  4351. ba.CanCollide = false
  4352. local ray = Ray.new(
  4353. orb.CFrame.p, -- origin
  4354. root.CFrame.lookVector.unit * 1000 -- direction
  4355. )
  4356. local ignore = Character
  4357. local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  4358. a2.Transparency = .75
  4359. a2.BottomSurface = 10
  4360. a2.TopSurface = 10
  4361. local distance = (orb.CFrame.p - position).magnitude
  4362. a2.Size = Vector3.new(distance, 1, 1)
  4363. a2.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
  4364. ba.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance)
  4365. a2.CFrame = a2.CFrame*CFrame.Angles(0,math.rad(90),0)
  4366. game:GetService("Debris"):AddItem(a2, 20)
  4367. game:GetService("Debris"):AddItem(ba, 20)
  4368. local msh2 = Instance.new("SpecialMesh",a2)
  4369. msh2.MeshType = "Cylinder"
  4370. msh2.Scale = vt(1,6*5,6*5)
  4371.  
  4372. local snd = CFuncs.Sound.Create("rbxassetid://294188875", Torso, 10, 1)
  4373. for i = 1, 80*2 do
  4374. 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)
  4375. 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)
  4376. 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)
  4377. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(15),math.rad(0),math.rad(0)),.1)
  4378. 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)
  4379. 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)
  4380. swait()
  4381. CameraEnshaking(1,5)
  4382. a2.Color = Color3.new(1,1,1)
  4383. a2.Transparency = .25
  4384. orb.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*4
  4385. orbe.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*4
  4386. ray = Ray.new(
  4387. orb.CFrame.p, -- origin
  4388. root.CFrame.lookVector.unit * 1000 -- direction
  4389. )
  4390. hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  4391. distance = (orb.CFrame.p - position).magnitude
  4392. if typrot == 1 then
  4393. rotation = rotation + 2.5
  4394. elseif typrot == 2 then
  4395. rotation = rotation - 2.5
  4396. end
  4397. a2.Size = Vector3.new(distance, 1, 1)
  4398. a2.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
  4399. ba.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance)
  4400. a2.CFrame = a2.CFrame*CFrame.Angles(0,math.rad(90),0)
  4401. msh2.Scale = msh2.Scale - vt(0,.19,.19)
  4402. 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)
  4403. 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)
  4404. MagniDamage(ba, 30, 5,25, 0, "Normal")
  4405. end
  4406. a2:Destroy()
  4407. ba:Destroy()
  4408. orb:Destroy()
  4409. orbe:Destroy()
  4410. attack = false
  4411. end
  4412.  
  4413. function Wip()
  4414. attack = true
  4415.  
  4416. local rngb = Instance.new("Part", char)
  4417. rngb.Anchored = true
  4418. rngb.BrickColor = origcolor
  4419. rngb.CanCollide = false
  4420. rngb.FormFactor = 3
  4421. rngb.Name = "Ring"
  4422. rngb.Material = "Neon"
  4423. rngb.Size = Vector3.new(1, 0.05, 1)
  4424. rngb.Transparency = 1
  4425. rngb.TopSurface = 0
  4426. rngb.BottomSurface = 0
  4427. local rngmb = Instance.new("SpecialMesh", rngb)
  4428. rngmb.MeshType = "Brick"
  4429. rngmb.Name = "SizeMesh"
  4430. rngmb.Scale = vt(0,1,0)
  4431.  
  4432. local orb = rngb:Clone()
  4433. orb.Parent = char
  4434. orb.Transparency = 0
  4435. orb.BrickColor = BrickColor.new("White")
  4436. orb.Size = vt(1,1,1)
  4437. local orbmish = orb.SizeMesh
  4438. orbmish.Scale = vt(0,0,0)
  4439. orbmish.MeshType = "Sphere"
  4440.  
  4441. local orbe = rngb:Clone()
  4442. orbe.Parent = char
  4443. orbe.Transparency = 0.5
  4444. orbe.BrickColor = BrickColor.new("New Yeller")
  4445. orbe.Size = vt(1,1,1)
  4446. local orbmish2 = orbe.SizeMesh
  4447. orbmish2.Scale = vt(0,0,0)
  4448. orbmish2.MeshType = "Sphere"
  4449. orbe.Color = Color3.new(r/255,g/255,b/255)
  4450.  
  4451. hum.AutoRotate = false
  4452. rngb:Destroy()
  4453. --[[CFuncs["Sound"].Create("rbxassetid://136007472", orb, 1.5, 1)
  4454. local scaled = 1
  4455. for i = 0,5,0.1 do
  4456. swait()
  4457. scaled = scaled - 0.02
  4458. if rainbowmode == true then
  4459. orbe.Color = Color3.new(r/255,g/255,b/255)
  4460. end
  4461. orbmish.Scale = orbmish.Scale + vt(scaled/1.5,scaled/1.5,scaled/1.5)
  4462. orbmish2.Scale = orbmish2.Scale + vt(scaled*1.1/1.5,scaled*1.1/1.5,scaled*1.1/1.5)
  4463. orb.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*11.5
  4464. orbe.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*11.5
  4465. 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)
  4466. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(90)),0.3)
  4467. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(-90)),.3)
  4468. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(90)), 0.3)
  4469. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(10), math.rad(0), math.rad(-20)), 0.3)
  4470. 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)
  4471. 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)
  4472. RootPart.CFrame = FaceMouse()[1]
  4473. end]]--
  4474. for i = 0,5,0.1 do
  4475. swait()
  4476. if rainbowmode == true then
  4477. orbe.Color = Color3.new(r/255,g/255,b/255)
  4478. end
  4479. if glitchymode then
  4480. local val = math.random(1,255)
  4481. local color = Color3.fromRGB(val,val,val)
  4482. orbe.Color = color
  4483. end
  4484. orb.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*11.5
  4485. orbe.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*11.5
  4486. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(90)),0.3)
  4487. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(-90)),.3)
  4488. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(90)), 0.3)
  4489. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(10), math.rad(0), math.rad(-20)), 0.3)
  4490. 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)
  4491. 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)
  4492. RootPart.CFrame = FaceMouse()[1]
  4493. end
  4494. orbe.Transparency = 1
  4495. orb.Transparency = 1
  4496. orb.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*5
  4497. CFuncs["Sound"].Create("rbxassetid://294188875", char, 1, 1)
  4498. local a = Instance.new("Part",Character)
  4499. a.Name = "Direction"
  4500. a.Anchored = true
  4501. a.BrickColor = bc("White")
  4502. a.Material = "Neon"
  4503. a.Transparency = 0
  4504. a.Shape = "Cylinder"
  4505. a.CanCollide = false
  4506. local a2 = Instance.new("Part",Character)
  4507. a2.Name = "Direction"
  4508. a2.Anchored = true
  4509. a2.BrickColor = bc("New Yeller")
  4510. a2.Color = Color3.new(r/255,g/255,b/255)
  4511. a2.Material = "Neon"
  4512. a2.Transparency = 0.5
  4513. a2.Shape = "Cylinder"
  4514. a2.CanCollide = false
  4515. local ba = Instance.new("Part",Character)
  4516. ba.Name = "HitDirect"
  4517. ba.Anchored = true
  4518. ba.BrickColor = bc("Cool yellow")
  4519. ba.Material = "Neon"
  4520. ba.Transparency = 1
  4521. ba.CanCollide = false
  4522. local ray = Ray.new(
  4523. orb.CFrame.p, -- origin
  4524. (mouse.Hit.p - orb.CFrame.p).unit * 1000 -- direction
  4525. )
  4526. local ignore = Character
  4527. local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  4528. a.BottomSurface = 10
  4529. a.TopSurface = 10
  4530. a2.BottomSurface = 10
  4531. a2.TopSurface = 10
  4532. local distance = (orb.CFrame.p - position).magnitude
  4533. a.Size = Vector3.new(distance, 1, 1)
  4534. a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
  4535. a2.Size = Vector3.new(distance, 1, 1)
  4536. a2.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
  4537. ba.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance)
  4538. a.CFrame = a.CFrame*CFrame.Angles(0,math.rad(90),0)
  4539. a2.CFrame = a2.CFrame*CFrame.Angles(0,math.rad(90),0)
  4540. game:GetService("Debris"):AddItem(a, 20)
  4541. game:GetService("Debris"):AddItem(a2, 20)
  4542. game:GetService("Debris"):AddItem(ba, 20)
  4543. local msh = Instance.new("SpecialMesh",a)
  4544. msh.MeshType = "Cylinder"
  4545. msh.Scale = vt(1,5*5,5*5)
  4546. local msh2 = Instance.new("SpecialMesh",a2)
  4547. msh2.MeshType = "Cylinder"
  4548. msh2.Scale = vt(1,6*5,6*5)
  4549.  
  4550. for i = 0,10,0.1 do
  4551. swait()
  4552. CameraEnshaking(1,5)
  4553. a2.Color = Color3.new(r/255,g/255,b/255)
  4554. orb.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*4
  4555. orbe.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*4
  4556. ray = Ray.new(
  4557. orb.CFrame.p, -- origin
  4558. (mouse.Hit.p - orb.CFrame.p).unit * 1000 -- direction
  4559. )
  4560. hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  4561. distance = (orb.CFrame.p - position).magnitude
  4562. if typrot == 1 then
  4563. rotation = rotation + 2.5
  4564. elseif typrot == 2 then
  4565. rotation = rotation - 2.5
  4566. end
  4567. RootPart.CFrame = FaceMouse()[1]
  4568. a.Size = Vector3.new(distance, 1, 1)
  4569. a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
  4570. a2.Size = Vector3.new(distance, 1, 1)
  4571. a2.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
  4572. ba.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance)
  4573. a.CFrame = a.CFrame*CFrame.Angles(0,math.rad(90),0)
  4574. a2.CFrame = a2.CFrame*CFrame.Angles(0,math.rad(90),0)
  4575. msh.Scale = msh.Scale - vt(0,0.05*5,0.05*5)
  4576. msh2.Scale = msh2.Scale - vt(0,0.06*5,0.06*5)
  4577. 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)
  4578. 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)
  4579. MagniDamage(ba, 30, 5,25, 0, "Normal")
  4580. end
  4581. a:Destroy()
  4582. a2:Destroy()
  4583. ba:Destroy()
  4584. orb:Destroy()
  4585. orbe:Destroy()
  4586. hum.AutoRotate = true
  4587. attack = false
  4588. end
  4589.  
  4590.  
  4591. function UniversalSpark()
  4592. attack = true
  4593.  
  4594. local rngb = Instance.new("Part", char)
  4595. rngb.Anchored = true
  4596. rngb.BrickColor = origcolor
  4597. rngb.CanCollide = false
  4598. rngb.FormFactor = 3
  4599. rngb.Name = "Ring"
  4600. rngb.Material = "Neon"
  4601. rngb.Size = Vector3.new(1, 0.05, 1)
  4602. rngb.Transparency = 1
  4603. rngb.TopSurface = 0
  4604. rngb.BottomSurface = 0
  4605. local rngmb = Instance.new("SpecialMesh", rngb)
  4606. rngmb.MeshType = "Brick"
  4607. rngmb.Name = "SizeMesh"
  4608. rngmb.Scale = vt(0,1,0)
  4609.  
  4610. local orb = rngb:Clone()
  4611. orb.Parent = char
  4612. orb.Transparency = 0
  4613. orb.BrickColor = BrickColor.new("White")
  4614. orb.Size = vt(1,1,1)
  4615. local orbmish = orb.SizeMesh
  4616. orbmish.Scale = vt(0,0,0)
  4617. orbmish.MeshType = "Sphere"
  4618.  
  4619. local orbe = rngb:Clone()
  4620. orbe.Parent = char
  4621. orbe.Transparency = 0.5
  4622. orbe.BrickColor = BrickColor.new("New Yeller")
  4623. orbe.Size = vt(1,1,1)
  4624. local orbmish2 = orbe.SizeMesh
  4625. orbmish2.Scale = vt(0,0,0)
  4626. orbmish2.MeshType = "Sphere"
  4627. orbe.Color = Color3.new(r/255,g/255,b/255)
  4628.  
  4629. rngb:Destroy()
  4630. --[[CFuncs["Sound"].Create("rbxassetid://136007472", orb, 1.5, 1)
  4631. local scaled = 1
  4632. for i = 0,5,0.1 do
  4633. swait()
  4634. scaled = scaled - 0.02
  4635. if rainbowmode == true then
  4636. orbe.Color = Color3.new(r/255,g/255,b/255)
  4637. end
  4638. orbmish.Scale = orbmish.Scale + vt(scaled/1.5,scaled/1.5,scaled/1.5)
  4639. orbmish2.Scale = orbmish2.Scale + vt(scaled*1.1/1.5,scaled*1.1/1.5,scaled*1.1/1.5)
  4640. orb.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*11.5
  4641. orbe.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*11.5
  4642. 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)
  4643. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(90)),0.3)
  4644. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(-90)),.3)
  4645. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(90)), 0.3)
  4646. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(10), math.rad(0), math.rad(-20)), 0.3)
  4647. 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)
  4648. 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)
  4649. RootPart.CFrame = FaceMouse()[1]
  4650. end]]--
  4651. for i = 0,5,0.1 do
  4652. swait()
  4653. if rainbowmode == true then
  4654. orbe.Color = Color3.new(r/255,g/255,b/255)
  4655. end
  4656. if glitchymode then
  4657. local val = math.random(1,255)
  4658. local color = Color3.fromRGB(val,val,val)
  4659. orbe.Color = color
  4660. end
  4661. orb.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*11.5
  4662. orbe.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*11.5
  4663. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(90)),0.3)
  4664. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(-90)),.3)
  4665. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(90)), 0.3)
  4666. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(10), math.rad(0), math.rad(-20)), 0.3)
  4667. 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)
  4668. 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)
  4669. RootPart.CFrame = FaceMouse()[1]
  4670. end
  4671. orbe.Transparency = 1
  4672. orb.Transparency = 1
  4673. orb.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*5
  4674. CFuncs["Sound"].Create("rbxassetid://741272936", char, 1, 1)
  4675. CFuncs["Sound"].Create("rbxassetid://164881112", char, 1, 1)
  4676. CFuncs["Sound"].Create("rbxassetid://1192402877", char, 1, 1)
  4677.  
  4678. CFuncs["Sound"].Create("rbxassetid://294188875", char, 1, 1)
  4679. CFuncs["Sound"].Create("rbxassetid://741272936", char, 0.75, 1)
  4680. CFuncs["Sound"].Create("rbxassetid://1192402877", char, 1, 1)
  4681. CFuncs["Sound"].Create("rbxassetid://1208650519", char, 0.75, 1)
  4682. CFuncs["Sound"].Create("rbxassetid://164881112", char, 0.75, 1)
  4683. CFuncs["Sound"].Create("rbxassetid://429123896", char, 1, 0.85)
  4684. CFuncs["Sound"].Create("rbxassetid://164178927", char, 1, 1)
  4685. local xd= Instance.new("Sound",char)
  4686. xd.SoundId = "rbxassetid://445796828"
  4687. xd.Pitch = 0.75
  4688. xd.Looped = true
  4689. xd.Volume = 1.25
  4690. xd:Play()
  4691. local a = Instance.new("Part",Character)
  4692. a.Name = "Direction"
  4693. a.Anchored = true
  4694. a.BrickColor = bc("Alder")
  4695. a.Color = MAINRUINCOLOR.Color
  4696. a.Material = "Neon"
  4697. a.Transparency = 0.5
  4698. a.Shape = "Cylinder"
  4699. a.CanCollide = false
  4700. local a2 = Instance.new("Part",Character)
  4701. a2.Name = "Direction"
  4702. a2.Anchored = true
  4703. a2.BrickColor = bc("New Yeller")
  4704. a2.Color = MAINRUINCOLOR.Color
  4705. a2.Material = "Neon"
  4706. a2.Transparency = 0.5
  4707. a2.Shape = "Cylinder"
  4708. a2.CanCollide = false
  4709. local ba = Instance.new("Part",Character)
  4710. ba.Name = "HitDirect"
  4711. ba.Anchored = true
  4712. ba.BrickColor = bc("Cool yellow")
  4713. ba.Material = "Neon"
  4714. ba.Transparency = 1
  4715. ba.CanCollide = false
  4716. local ray = Ray.new(
  4717. orb.CFrame.p, -- origin
  4718. (mouse.Hit.p - orb.CFrame.p).unit * 1000 -- direction
  4719. )
  4720. local ignore = Character
  4721. local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  4722. a.BottomSurface = 10
  4723. a.TopSurface = 10
  4724. a2.BottomSurface = 10
  4725. a2.TopSurface = 10
  4726. local distance = (orb.CFrame.p - position).magnitude
  4727. a.Size = Vector3.new(distance, 1, 1)
  4728. a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
  4729. a2.Size = Vector3.new(distance, 1, 1)
  4730. a2.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
  4731. ba.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance)
  4732. a.CFrame = a.CFrame*CFrame.Angles(0,math.rad(90),0)
  4733. a2.CFrame = a2.CFrame*CFrame.Angles(0,math.rad(90),0)
  4734. game:GetService("Debris"):AddItem(a, 60)
  4735. game:GetService("Debris"):AddItem(a2, 60)
  4736. game:GetService("Debris"):AddItem(ba, 60)
  4737. local outerscale = 0
  4738. local msh = Instance.new("SpecialMesh",a)
  4739. msh.MeshType = "Cylinder"
  4740. msh.Scale = vt(1,0,0)
  4741. local msh2 = Instance.new("SpecialMesh",a2)
  4742. msh2.MeshType = "Cylinder"
  4743. msh2.Scale = vt(1,0,0)
  4744. for i = 0,2,0.1 do
  4745. swait()
  4746. CameraEnshaking(1,1)
  4747. msh2.Scale = msh2.Scale + vt(0,outerscale*20,outerscale*20)
  4748. msh.Scale = msh.Scale + vt(0,outerscale*15,outerscale*15)
  4749. outerscale = outerscale - 0.015
  4750. orb.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*4
  4751. orbe.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*4
  4752. ray = Ray.new(
  4753. orb.CFrame.p, -- origin
  4754. (mouse.Hit.p - orb.CFrame.p).unit * 1000 -- direction
  4755. )
  4756. hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  4757. distance = (orb.CFrame.p - position).magnitude
  4758. if typrot == 1 then
  4759. rotation = rotation + 2.5
  4760. elseif typrot == 2 then
  4761. rotation = rotation - 2.5
  4762. end
  4763. RootPart.CFrame = FaceMouse()[1]
  4764. a.Size = Vector3.new(distance, 1, 1)
  4765. a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
  4766. a2.Size = Vector3.new(distance, 1, 1)
  4767. a2.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
  4768. ba.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance)
  4769. a.CFrame = a.CFrame*CFrame.Angles(0,math.rad(90),0)
  4770. a2.CFrame = a2.CFrame*CFrame.Angles(0,math.rad(90),0)
  4771. 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)
  4772. 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)
  4773. MagniDamage(ba, 100, 500,60000, 0, "Normal")
  4774. end
  4775. for z = 0, 2 do
  4776. for i = 0,4,0.1 do
  4777. swait()
  4778. CameraEnshaking(1,1)
  4779. msh2.Scale = msh2.Scale + vt(0,outerscale,outerscale)
  4780. msh.Scale = msh.Scale - vt(0,outerscale,outerscale)
  4781. outerscale = outerscale + 0.015
  4782. orb.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*4
  4783. orbe.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*4
  4784. ray = Ray.new(
  4785. orb.CFrame.p, -- origin
  4786. (mouse.Hit.p - orb.CFrame.p).unit * 1000 -- direction
  4787. )
  4788. hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  4789. distance = (orb.CFrame.p - position).magnitude
  4790. if typrot == 1 then
  4791. rotation = rotation + 2.5
  4792. elseif typrot == 2 then
  4793. rotation = rotation - 2.5
  4794. end
  4795. RootPart.CFrame = FaceMouse()[1]
  4796. a.Size = Vector3.new(distance, 1, 1)
  4797. a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
  4798. a2.Size = Vector3.new(distance, 1, 1)
  4799. a2.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
  4800. ba.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance)
  4801. a.CFrame = a.CFrame*CFrame.Angles(0,math.rad(90),0)
  4802. a2.CFrame = a2.CFrame*CFrame.Angles(0,math.rad(90),0)
  4803. 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)
  4804. 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)
  4805. MagniDamage(ba, 100, 500,60000, 0, "Normal")
  4806. end
  4807. for i = 0,4,0.1 do
  4808. swait()
  4809. CameraEnshaking(1,1)
  4810. msh2.Scale = msh2.Scale + vt(0,outerscale,outerscale)
  4811. msh.Scale = msh.Scale - vt(0,outerscale,outerscale)
  4812. outerscale = outerscale - 0.015
  4813. orb.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*4
  4814. orbe.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*4
  4815. ray = Ray.new(
  4816. orb.CFrame.p, -- origin
  4817. (mouse.Hit.p - orb.CFrame.p).unit * 1000 -- direction
  4818. )
  4819. hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  4820. distance = (orb.CFrame.p - position).magnitude
  4821. if typrot == 1 then
  4822. rotation = rotation + 2.5
  4823. elseif typrot == 2 then
  4824. rotation = rotation - 2.5
  4825. end
  4826. RootPart.CFrame = FaceMouse()[1]
  4827. a.Size = Vector3.new(distance, 1, 1)
  4828. a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
  4829. a2.Size = Vector3.new(distance, 1, 1)
  4830. a2.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
  4831. ba.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance)
  4832. a.CFrame = a.CFrame*CFrame.Angles(0,math.rad(90),0)
  4833. a2.CFrame = a2.CFrame*CFrame.Angles(0,math.rad(90),0)
  4834. 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)
  4835. 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)
  4836. MagniDamage(ba, 100, 500,60000, 0, "Normal")
  4837. end
  4838. end
  4839. for i = 0,4,0.1 do
  4840. swait()
  4841. CameraEnshaking(1,1)
  4842. msh2.Scale = msh2.Scale + vt(0,outerscale,outerscale)
  4843. msh.Scale = msh.Scale - vt(0,outerscale,outerscale)
  4844. xd.Volume = xd.Volume - 0.025
  4845. a.Transparency = a.Transparency + 0.025
  4846. a2.Transparency = a2.Transparency + 0.025
  4847. outerscale = outerscale - 0.015
  4848. orb.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*4
  4849. orbe.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*4
  4850. ray = Ray.new(
  4851. orb.CFrame.p, -- origin
  4852. (mouse.Hit.p - orb.CFrame.p).unit * 1000 -- direction
  4853. )
  4854. hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  4855. distance = (orb.CFrame.p - position).magnitude
  4856. if typrot == 1 then
  4857. rotation = rotation + 2.5
  4858. elseif typrot == 2 then
  4859. rotation = rotation - 2.5
  4860. end
  4861. RootPart.CFrame = FaceMouse()[1]
  4862. a.Size = Vector3.new(distance, 1, 1)
  4863. a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
  4864. a2.Size = Vector3.new(distance, 1, 1)
  4865. a2.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
  4866. ba.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance)
  4867. a.CFrame = a.CFrame*CFrame.Angles(0,math.rad(90),0)
  4868. a2.CFrame = a2.CFrame*CFrame.Angles(0,math.rad(90),0)
  4869. 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)
  4870. 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)
  4871. MagniDamage(ba, 100, 500,60000, 0, "Normal")
  4872. end
  4873. xd:Destroy()
  4874. a:Destroy()
  4875. a2:Destroy()
  4876. ba:Destroy()
  4877. orb:Destroy()
  4878. orbe:Destroy()
  4879. attack = false
  4880. end
  4881.  
  4882.  
  4883.  
  4884. function attackone()
  4885. attack = true
  4886. for i = 0,1,0.1 do
  4887. swait()
  4888. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(20),math.rad(0),math.rad(-40)),0.2)
  4889. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(40)),.2)
  4890. RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-40)), 0.2)
  4891. LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-40)), 0.2)
  4892. 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)
  4893. 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)
  4894. end
  4895. CFuncs["Sound"].Create("rbxassetid://200632136", root, 1, 1.1)
  4896.  
  4897. local hitb = Instance.new("Part", char)
  4898. hitb.Anchored = true
  4899. hitb.CanCollide = false
  4900. hitb.FormFactor = 3
  4901. hitb.Name = "Ring"
  4902. hitb.Material = "Neon"
  4903. hitb.Size = Vector3.new(1, 1, 1)
  4904. hitb.Transparency = 1
  4905. hitb.TopSurface = 0
  4906. hitb.BottomSurface = 0
  4907. hitb.CFrame = root.CFrame + root.CFrame.lookVector*2
  4908. MagniDamage(hitb, 3, 10,30, 0, "Normal")
  4909. hitb:Destroy()
  4910. for i = 0,1,0.1 do
  4911. swait()
  4912. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(-5),math.rad(0),math.rad(70)),0.4)
  4913. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(20),math.rad(0),math.rad(-70)),.4)
  4914. RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(70)), 0.4)
  4915. LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(40)), 0.4)
  4916. 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)
  4917. 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)
  4918. end
  4919.  
  4920. attack = false
  4921. end
  4922.  
  4923. function attacktwo()
  4924. attack = true
  4925. for i = 0,1,0.1 do
  4926. swait()
  4927. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(20),math.rad(0),math.rad(40)),0.2)
  4928. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(-40)),.2)
  4929. RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(40)), 0.2)
  4930. LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(40)), 0.2)
  4931. 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)
  4932. 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)
  4933. end
  4934. CFuncs["Sound"].Create("rbxassetid://200632136", root, 1, 1)
  4935. local hitb = Instance.new("Part", char)
  4936. hitb.Anchored = true
  4937. hitb.CanCollide = false
  4938. hitb.FormFactor = 3
  4939. hitb.Name = "Ring"
  4940. hitb.Material = "Neon"
  4941. hitb.Size = Vector3.new(1, 1, 1)
  4942. hitb.Transparency = 1
  4943. hitb.TopSurface = 0
  4944. hitb.BottomSurface = 0
  4945. hitb.CFrame = root.CFrame + root.CFrame.lookVector*2
  4946. MagniDamage(hitb, 3, 10,30, 0, "Normal")
  4947. hitb:Destroy()
  4948. for i = 0,1,0.1 do
  4949. swait()
  4950. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(-5),math.rad(0),math.rad(-70)),0.4)
  4951. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(20),math.rad(0),math.rad(70)),.4)
  4952. RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-40)), 0.4)
  4953. LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-70)), 0.4)
  4954. 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)
  4955. 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)
  4956. end
  4957. attack = false
  4958. end
  4959.  
  4960. function attackthree()
  4961. attack = true
  4962. for i = 0,1,0.1 do
  4963. swait()
  4964. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(80)),0.3)
  4965. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(20),math.rad(0),math.rad(-80)),.3)
  4966. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(80)), 0.3)
  4967. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(10), math.rad(0), math.rad(-20)), 0.3)
  4968. 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)
  4969. 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)
  4970. end
  4971. local distlook = 5
  4972. for i = 0, 4 do
  4973. swait(2)
  4974. CameraEnshaking(2,3)
  4975. local hite = Instance.new("Part", char)
  4976. hite.Anchored = true
  4977. hite.CanCollide = false
  4978. hite.FormFactor = 3
  4979. hite.Name = "Ring"
  4980. hite.Material = "Neon"
  4981. hite.Size = Vector3.new(1, 1, 1)
  4982. hite.Transparency = 1
  4983. hite.TopSurface = 0
  4984. hite.BottomSurface = 0
  4985. hite.CFrame = root.CFrame + root.CFrame.lookVector*distlook
  4986. sphere(3,"Add",hite.CFrame,vt(0,0,0),0.15,MAINRUINCOLOR)
  4987. sphere(6,"Add",hite.CFrame,vt(0,0,0),0.3,MAINRUINCOLOR)
  4988. MagniDamage(hite, 10, 15,35, 0, "Normal")
  4989. for i = 0, 2 do
  4990. 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)
  4991. 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)
  4992. 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)
  4993. end
  4994. CFuncs["Sound"].Create("rbxassetid://183763506", hite, 2.5, 1)
  4995. CFuncs["Sound"].Create("rbxassetid://178452221", hite, 0.25, 0.6)
  4996. game:GetService("Debris"):AddItem(hite, 5)
  4997. distlook = distlook + 10
  4998. end
  4999. attack = false
  5000. end
  5001.  
  5002. function FinalCalamity()
  5003. end
  5004.  
  5005. function resetmode()
  5006. rainbowmode = false
  5007. chaosmode = false
  5008. glitchymode = false
  5009. tl1.Enabled = false
  5010. tl2.Enabled = false
  5011. tl3.Enabled = false
  5012. local lust = ModeOfGlitch == 69
  5013. ModeOfGlitch = 1
  5014. storehumanoidWS = 16
  5015. if(not lust)then
  5016. newTheme("rbxassetid://1564523997",48.6,1,1)
  5017. end
  5018. coroutine.resume(coroutine.create(function()
  5019. attack = true
  5020. hum.WalkSpeed = 0
  5021. CFuncs["Sound"].Create("rbxassetid://136007472", root, 2.5, 1.25)
  5022. for i = 0,4,0.1 do
  5023. swait()
  5024. 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)
  5025. 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)
  5026. 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)
  5027. 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)
  5028. 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)
  5029. RW.C0=clerp(RW.C0,cf(1.05,0.4,-0.5)*angles(math.rad(140),math.rad(0),math.rad(-50)),.2)
  5030. LW.C0=clerp(LW.C0,cf(-1.05,0.4,-0.5)*angles(math.rad(140),math.rad(0),math.rad(50)),.2)
  5031. end
  5032. if(lust)then
  5033. CFuncs["Sound"].Create("rbxassetid://847061203", root, 5,1)
  5034. sphere(2.5,"Add",root.CFrame*angles(0,0,0),vt(100,100,2),1.25,BrickColor.new'Pink',true,true)
  5035. for i = 0, 49 do
  5036. 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)
  5037. end
  5038.  
  5039. for i = 0,4,0.05 do
  5040. swait()
  5041. Pitch = 1-i/4
  5042. 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)
  5043. 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)
  5044. 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)
  5045. 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)
  5046. 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)
  5047. RW.C0=clerp(RW.C0,cf(1.05,0.4,-0.5)*angles(math.rad(140),math.rad(0),math.rad(-50)),.2)
  5048. LW.C0=clerp(LW.C0,cf(-1.05,0.4,-0.5)*angles(math.rad(140),math.rad(0),math.rad(50)),.2)
  5049. end
  5050. for i = 0,3,0.1 do
  5051. swait()
  5052. 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)
  5053. 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)
  5054. 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)
  5055. 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)
  5056. 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)
  5057. RW.C0=clerp(RW.C0,cf(1.05,0.4,-0.5)*angles(math.rad(140),math.rad(0),math.rad(-50)),.2)
  5058. LW.C0=clerp(LW.C0,cf(-1.05,0.4,-0.5)*angles(math.rad(140),math.rad(0),math.rad(50)),.2)
  5059. end
  5060. newTheme("rbxassetid://1564523997",48.6,1,1)
  5061. end
  5062. CFuncs["Sound"].Create("rbxassetid://206082327", root, 2.5,1)
  5063. CFuncs["Sound"].Create("rbxassetid://847061203", root, 5,1)
  5064. CFuncs["Sound"].Create("rbxassetid://239000203", root, 2.5,1)
  5065. CFuncs["Sound"].Create("rbxassetid://579687077", root, 2.5,0.75)
  5066. pcall(function() Character.ReaperShadowHead.Eye1.BrickColor = BrickColor.new'Really red' end)
  5067. pcall(function() Character.ReaperShadowHead.Eye2.BrickColor = BrickColor.new'Really red' end)
  5068. RecolorTextAndRename("Solitude",Color3.new(0,0,0),Color3.new(1,1,1))
  5069. CameraEnshaking(5,2.5)
  5070. MAINRUINCOLOR = BrickColor.new("Really black")
  5071. sphere(2.5,"Add",root.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  5072. for i = 0, 49 do
  5073. 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)
  5074. end
  5075. for i = 0,3,0.1 do
  5076. 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)
  5077. end
  5078. for i, v in pairs(mw2:GetChildren()) do
  5079. if v:IsA("Part") then
  5080. v.BrickColor = BrickColor.new("Really black")
  5081. v.Material = "Neon"
  5082. end
  5083. end
  5084. for i, v in pairs(mw1:GetChildren()) do
  5085. if v:IsA("Part") then
  5086. v.Transparency = 1
  5087. v.BrickColor = BrickColor.new("Really black")
  5088. v.Material = "Neon"
  5089. end
  5090. end
  5091. for i, v in pairs(m:GetChildren()) do
  5092. if v:IsA("Part") then
  5093. v.BrickColor = BrickColor.new("Really black")
  5094. v.Material = "Glass"
  5095. end
  5096. end
  5097. for i, v in pairs(m2:GetChildren()) do
  5098. if v:IsA("Part") then
  5099. v.BrickColor = BrickColor.new("Dark stone grey")
  5100. v.Material = "Granite"
  5101. end
  5102. end
  5103. for i, v in pairs(m3:GetChildren()) do
  5104. if v:IsA("Part") then
  5105. v.BrickColor = BrickColor.new("Really black")
  5106. v.Material = "Neon"
  5107. end
  5108. end
  5109. for i, v in pairs(extrawingmod1:GetChildren()) do
  5110. if v:IsA("Part") then
  5111. v.Transparency = 1
  5112. v.BrickColor = BrickColor.new("White")
  5113. v.Material = "Neon"
  5114. end
  5115. end
  5116. for i, v in pairs(extrawingmod2:GetChildren()) do
  5117. if v:IsA("Part") then
  5118. v.Transparency = 1
  5119. v.BrickColor = BrickColor.new("White")
  5120. v.Material = "Neon"
  5121. end
  5122. end
  5123. for i = 0,2,0.1 do
  5124. swait()
  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 - 2.5 * math.cos(sine / 0.2))),.2)
  5129. 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)
  5130. 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)
  5131. end
  5132. hum.WalkSpeed = storehumanoidWS
  5133. attack = false
  5134. end))
  5135. end
  5136.  
  5137. function lustmode()
  5138.  
  5139. ModeOfGlitch = 69
  5140. storehumanoidWS = 16
  5141. rainbowmode = false
  5142. chaosmode = false
  5143. glitchymode = false
  5144. tl1.Enabled = false
  5145. tl2.Enabled = false
  5146. tl3.Enabled = false
  5147. newTheme("rbxassetid://1292453759",0,1,1)
  5148. coroutine.wrap(function()
  5149. attack = true
  5150. hum.WalkSpeed = 0
  5151. CFuncs["Sound"].Create("rbxassetid://136007472", root, 2.5, 1.25)
  5152. for i = 0,4,0.1 do
  5153. swait()
  5154. 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)
  5155. 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)
  5156. 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)
  5157. 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)
  5158. 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)
  5159. RW.C0=clerp(RW.C0,cf(1.05,0.4,-0.5)*angles(math.rad(140),math.rad(0),math.rad(-50)),.2)
  5160. LW.C0=clerp(LW.C0,cf(-1.05,0.4,-0.5)*angles(math.rad(140),math.rad(0),math.rad(50)),.2)
  5161. end
  5162. CFuncs["Sound"].Create("rbxassetid://847061203", root, 5,1)
  5163. sphere(2.5,"Add",root.CFrame*cf(0,0,0),vt(0,0,2),1.5,BrickColor.new'Pink',true)
  5164.  
  5165. for i = 0,4,0.1 do
  5166. swait()
  5167. 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)
  5168. 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)
  5169. 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)
  5170. 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)
  5171. 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)
  5172. RW.C0=clerp(RW.C0,cf(1.05,0.4,-0.5)*angles(math.rad(140),math.rad(0),math.rad(-50)),.2)
  5173. LW.C0=clerp(LW.C0,cf(-1.05,0.4,-0.5)*angles(math.rad(140),math.rad(0),math.rad(50)),.2)
  5174. end
  5175. CFuncs["Sound"].Create("rbxassetid://206082327", root, 2.5,1)
  5176. CFuncs["Sound"].Create("rbxassetid://847061203", root, 5,1)
  5177. CFuncs["Sound"].Create("rbxassetid://239000203", root, 2.5,1)
  5178. CFuncs["Sound"].Create("rbxassetid://579687077", root, 2.5,0.75)
  5179. pcall(function() Character.ReaperShadowHead.Eye1.BrickColor = BrickColor.new'Pink' end)
  5180. pcall(function() Character.ReaperShadowHead.Eye2.BrickColor = BrickColor.new'Pink' end)
  5181. CameraEnshaking(5,2.5)
  5182. MAINRUINCOLOR = BrickColor.new("Pink")
  5183. sphere(2.5,"Add",root.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  5184. for i = 0, 49 do
  5185. 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)
  5186. end
  5187. for i = 0,3,0.1 do
  5188. 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)
  5189. end
  5190. RecolorTextAndRename("Loost",Color3.new(1,1,1),BrickColor.new'Pink'.Color)
  5191. for i, v in pairs(mw2:GetChildren()) do
  5192. if v:IsA("Part") then
  5193. v.BrickColor = MAINRUINCOLOR
  5194. v.Material = "Neon"
  5195. end
  5196. end
  5197. for i, v in pairs(mw1:GetChildren()) do
  5198. if v:IsA("Part") then
  5199. v.Transparency = 1
  5200. v.BrickColor = MAINRUINCOLOR
  5201. v.Material = "Neon"
  5202. end
  5203. end
  5204. for i, v in pairs(m:GetChildren()) do
  5205. if v:IsA("Part") then
  5206. v.BrickColor = BrickColor.new("Pink")
  5207. v.Material = "Ice"
  5208. end
  5209. end
  5210. for i, v in pairs(m2:GetChildren()) do
  5211. if v:IsA("Part") then
  5212. v.BrickColor = BrickColor.new("Pink")
  5213. v.Material = "Glass"
  5214. end
  5215. end
  5216. for i, v in pairs(m3:GetChildren()) do
  5217. if v:IsA("Part") then
  5218. v.BrickColor = BrickColor.new("Pink")
  5219. v.Material = "Neon"
  5220. end
  5221. end
  5222. for i, v in pairs(extrawingmod1:GetChildren()) do
  5223. if v:IsA("Part") then
  5224. v.Transparency = 1
  5225. v.BrickColor = BrickColor.new("Pink")
  5226. v.Material = "Neon"
  5227. end
  5228. end
  5229. for i, v in pairs(extrawingmod2:GetChildren()) do
  5230. if v:IsA("Part") then
  5231. v.Transparency = 1
  5232. v.BrickColor = BrickColor.new("Pink")
  5233. v.Material = "Neon"
  5234. end
  5235. end
  5236. for i = 0,2,0.1 do
  5237. swait()
  5238. 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)
  5239. 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)
  5240. 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)
  5241. 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)
  5242. 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)
  5243. 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)
  5244. end
  5245. hum.WalkSpeed = storehumanoidWS
  5246. attack = false
  5247. end)()
  5248. end
  5249.  
  5250. function insanitymode()
  5251. storehumanoidWS = 16
  5252. hum.WalkSpeed = 0
  5253. rainbowmode = false
  5254. glitchymode = false
  5255. chaosmode = true
  5256. tl1.Enabled = true
  5257. tl2.Enabled = true
  5258. tl3.Enabled = true
  5259. local lust = ModeOfGlitch == 69
  5260. newTheme("rbxassetid://919231299",0,1,1)
  5261. coroutine.resume(coroutine.create(function()
  5262. tr1.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  5263. tr2.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  5264. tr3.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  5265. attack = true
  5266. hum.WalkSpeed = 0
  5267. CFuncs["Sound"].Create("rbxassetid://136007472", root, 2.5, 1.25)
  5268. for i = 0,4,0.1 do
  5269. swait()
  5270. 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)
  5271. 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)
  5272. 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)
  5273. 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)
  5274. 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)
  5275. RW.C0=clerp(RW.C0,cf(1.05,0.4,-0.5)*angles(math.rad(140),math.rad(0),math.rad(-50)),.2)
  5276. LW.C0=clerp(LW.C0,cf(-1.05,0.4,-0.5)*angles(math.rad(140),math.rad(0),math.rad(50)),.2)
  5277. end
  5278. for i = 0,8,0.1 do
  5279. swait()
  5280. 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)
  5281. 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)
  5282. 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)
  5283. 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)
  5284. 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)
  5285. 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)
  5286. RW.C0=clerp(RW.C0,cf(1.05,0.4,-0.5)*angles(math.rad(140),math.rad(0),math.rad(-50)),.2)
  5287. LW.C0=clerp(LW.C0,cf(-1.05,0.4,-0.5)*angles(math.rad(140),math.rad(0),math.rad(50)),.2)
  5288. end
  5289.  
  5290. for i = 0,3,0.1 do
  5291. swait()
  5292. 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)
  5293. 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)
  5294. 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)
  5295. 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)
  5296. 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)
  5297. RW.C0=clerp(RW.C0,cf(1.05,0.4,-0.5)*angles(math.rad(140),math.rad(0),math.rad(-50)),.2)
  5298. LW.C0=clerp(LW.C0,cf(-1.05,0.4,-0.5)*angles(math.rad(140),math.rad(0),math.rad(50)),.2)
  5299. end
  5300. CFuncs["Sound"].Create("rbxassetid://206082327", root, 2.5,1)
  5301. CFuncs["Sound"].Create("rbxassetid://847061203", root, 5,1)
  5302. CFuncs["Sound"].Create("rbxassetid://239000203", root, 2.5,1)
  5303. CFuncs["Sound"].Create("rbxassetid://579687077", root, 2.5,0.75)
  5304. CameraEnshaking(5,2.5)
  5305. MAINRUINCOLOR = BrickColor.new("Black")
  5306. sphere(2.5,"Add",root.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  5307. for i = 0, 49 do
  5308. 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)
  5309. end
  5310. for i = 0,3,0.1 do
  5311. 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)
  5312. end
  5313. ModeOfGlitch = 666666
  5314. for i, v in pairs(mw2:GetChildren()) do
  5315. if v:IsA("Part") then
  5316. v.BrickColor = MAINRUINCOLOR
  5317. v.Material = "Neon"
  5318. end
  5319. end
  5320. for i, v in pairs(mw1:GetChildren()) do
  5321. if v:IsA("Part") then
  5322. v.Transparency = 0.75
  5323. v.BrickColor = BrickColor.random()
  5324. v.Material = "Neon"
  5325. end
  5326. end
  5327. for i, v in pairs(m:GetChildren()) do
  5328. if v:IsA("Part") then
  5329. v.BrickColor = BrickColor.new("Black")
  5330. v.Material = "Neon"
  5331. end
  5332. end
  5333. for i, v in pairs(m2:GetChildren()) do
  5334. if v:IsA("Part") then
  5335. v.BrickColor = BrickColor.random()
  5336. v.Material = "Neon"
  5337. end
  5338. end
  5339. for i, v in pairs(m3:GetChildren()) do
  5340. if v:IsA("Part") then
  5341. v.BrickColor = BrickColor.new("Black")
  5342. v.Material = "Neon"
  5343. end
  5344. end
  5345. for i, v in pairs(extrawingmod1:GetChildren()) do
  5346. if v:IsA("Part") then
  5347. v.Transparency = .75
  5348. v.BrickColor = BrickColor.Random()
  5349. v.Material = "Neon"
  5350. end
  5351. end
  5352. for i, v in pairs(extrawingmod2:GetChildren()) do
  5353. if v:IsA("Part") then
  5354. v.Transparency = 0
  5355. v.BrickColor = BrickColor.new("Black")
  5356. v.Material = "Neon"
  5357. end
  5358. end
  5359. for i = 0,2,0.1 do
  5360. swait()
  5361. 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)
  5362. 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)
  5363. 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)
  5364. 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)
  5365. 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)
  5366. 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)
  5367. end
  5368. hum.WalkSpeed = storehumanoidWS
  5369. attack = false
  5370. end))
  5371. end
  5372.  
  5373. local attacktype = 1
  5374. mouse.Button1Down:connect(function()
  5375. if attack == false and attacktype == 1 then
  5376. attacktype = 2
  5377. attackone()
  5378. elseif attack == false and attacktype == 2 then
  5379. attacktype = 3
  5380. attacktwo()
  5381. elseif attack == false and attacktype == 3 then
  5382. attacktype = 1
  5383. attackthree()
  5384. elseif attack == false and attacktype == 4 then
  5385. attacktype = 1
  5386. --attackfour()
  5387. end
  5388. end)
  5389.  
  5390. function Judgement()
  5391. attack = true
  5392. hum.WalkSpeed = 0
  5393. local p = Instance.new("Part",root)
  5394. p.Anchored = true
  5395. p.CanCollide = false
  5396. p.BrickColor = MAINRUINCOLOR
  5397. p.Material = Enum.Material.Neon
  5398. p.Size = Vector3.new(1,1,1)
  5399. p.CFrame = CFrame.new(mouse.Hit.p)+Vector3.new(0,1000,0)
  5400. p.CFrame = p.CFrame * CFrame.Angles(0,0,89.5354)
  5401. local m = Instance.new("SpecialMesh",p)
  5402. m.MeshType = "Cylinder"
  5403. m.Scale = Vector3.new(2000,2,2)
  5404. local targ = Instance.new("Part",root)
  5405. targ.Transparency = 1
  5406. targ.CanCollide = false
  5407. targ.Size = Vector3.new(1,1,1)
  5408. targ.CFrame = p.CFrame-Vector3.new(0,1000,0)
  5409. CFuncs.Sound.Create("rbxassetid://164178927", targ, 5, 1)
  5410. CFuncs.Sound.Create("rbxassetid://1208650519", targ, 10, 1)
  5411. for i = 1,15 do
  5412. targ.CFrame = p.CFrame-Vector3.new(0,1000,0)
  5413. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(-20),math.rad(0),math.rad(0)),0.2)
  5414. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-15),math.rad(0),math.rad(0)),.2)
  5415. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(100)), 0.2)
  5416. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-100)), 0.2)
  5417. 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)
  5418. 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)
  5419. sphere(10, "Add", targ.CFrame, vt(15, 15, 15), 0.05, MAINRUINCOLOR)
  5420. 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)
  5421. m.Scale = m.Scale+Vector3.new(0,1,1)
  5422. p.CFrame = CFrame.new(mouse.Hit.p)+Vector3.new(0,1000,0)
  5423. p.CFrame = p.CFrame * CFrame.Angles(0,0,89.5354)
  5424. swait()
  5425. end
  5426. 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)
  5427. for i = 1,200 do
  5428. targ.CFrame = p.CFrame-Vector3.new(0,1000,0)
  5429. 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)
  5430. sphere(10, "Add", targ.CFrame, vt(15, 15, 15), 0.15, MAINRUINCOLOR)
  5431. p.CFrame = CFrame.new(mouse.Hit.p)+Vector3.new(0,1000,0)
  5432. p.CFrame = p.CFrame * CFrame.Angles(0,0,89.5354)
  5433. MagniDamage(targ, 25, 5, 8, 0, "Normal")
  5434. swait()
  5435. end
  5436. for i =1,15 do
  5437. m.Scale = m.Scale-Vector3.new(1,1,1)
  5438. p.Transparency = i / 15
  5439. swait()
  5440. end
  5441. p:Destroy()
  5442. hum.WalkSpeed = storehumanoidWS
  5443. attack = false
  5444. end
  5445.  
  5446. local ODerDB = false
  5447. function ChooseODer()
  5448. if(not ODerDB)then
  5449. coroutine.wrap(function()
  5450.  
  5451. local allowOD = true
  5452. local whom = (mouse.Target and mouse.Target.Parent)
  5453. if(whom and whom:FindFirstChildOfClass'Humanoid' and whom:FindFirstChild'Head')then
  5454. ODerDB = true
  5455. for _,v in next, ODers do
  5456. if(v == whom)then
  5457. print'nO OD SELF'
  5458. allowOD = false
  5459. end
  5460. end
  5461. if(allowOD)then
  5462. 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))
  5463. local refz = CFuncs.Mesh.Create("SpecialMesh",ref,"Sphere","",Vector3.new(0, 0, 0),Vector3.new(14, 14, 14))
  5464.  
  5465. ref.CFrame = Torso.CFrame
  5466. ref.Anchored = true
  5467. local e1 = Torso.CFrame:Lerp(whom.Head.CFrame, 0.25) * CFrame.new(math.random(-15, 15), math.random(0, 15), math.random(-15, 15))
  5468. local e2 = Torso.CFrame:Lerp(whom.Head.CFrame, 0.75) * CFrame.new(math.random(-15, 15), math.random(0, 15), math.random(-15, 15))
  5469. local MPos = whom.Head.CFrame*cf(0,4,0)
  5470. for i = 0, 1, .05 do
  5471. swait()
  5472. ref.CFrame = newBezier(Torso.CFrame, e1, e2, MPos, i)
  5473.  
  5474. sphere(10,"Add",ref.CFrame,vt(6,6,3),0,(whom.Name == 'Nebula_Zorua' and BrickColor.new'Royal purple' or MAINRUINCOLOR),true)
  5475. if whom:FindFirstChild'Head' == nil then
  5476. break
  5477. end
  5478. end
  5479. ref:destroy()
  5480. if whom:FindFirstChild'Head' then
  5481. table.insert(ODers,whom)
  5482. if(#ODers > 2)then
  5483. table.remove(ODers,1)
  5484. end
  5485. 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)
  5486. end
  5487. end
  5488. ODerDB = false
  5489. end
  5490. end)()
  5491. end
  5492. end
  5493.  
  5494. function RiddleMeThisRiddleMeThat()-- Who's afraid of the big black IUSFGEYUI8TY8RUFETUYERFYAERFE7RFWAE9RASEVR7YTRWW65ERAY
  5495. attack = true
  5496. hum.WalkSpeed = 0
  5497. storehumanoidWS = 75
  5498. hum.JumpPower = 0
  5499. newThemeCust("rbxassetid://1420353940",0,1,1)
  5500. kan.TimePosition = 0
  5501. ModeOfGlitch = 8376532578634534
  5502. repeat swait() until kan.IsLoaded
  5503. chatfunc("Riddle me this..",text.TextStrokeColor3)
  5504. for i = 0, 14, .1 do
  5505. swait()
  5506. RH.C0=clerp(RH.C0,cf(1,-1-.2*math.cos(sine/16),0)*angles(0,math.rad(90),0),.1)
  5507. 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)
  5508. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0+.2*math.cos(sine/16)),.1)
  5509. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(0,0,0),.1)
  5510. RW.C0=clerp(RW.C0,cf(1,0.5+.2*math.cos(sine/16),-.65)*angles(math.rad(45),0,math.rad(-90)),.1)
  5511. LW.C0=clerp(LW.C0,cf(-1,0.5+.2*math.cos(sine/16),-.65)*angles(math.rad(-45),0,math.rad(100)),.1)
  5512. end
  5513. chatfunc("Riddle me that..",text.TextStrokeColor3)
  5514. for i = 0, 12, .1 do
  5515. swait()
  5516. RH.C0=clerp(RH.C0,cf(1,-1-.2*math.cos(sine/16),0)*angles(0,math.rad(90),0),.1)
  5517. 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)
  5518. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0+.2*math.cos(sine/16)),.1)
  5519. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(0,math.rad(25),0),.1)
  5520. RW.C0=clerp(RW.C0,cf(1,0.5+.2*math.cos(sine/16),-.65)*angles(math.rad(45),0,math.rad(-90)),.1)
  5521. LW.C0=clerp(LW.C0,cf(-1,0.5+.2*math.cos(sine/16),-.65)*angles(math.rad(-45),0,math.rad(100)),.1)
  5522. end
  5523. chatfunc("Who's afraid of the big black..",Color3.new(1,1,1))
  5524. for i = 0, 16, .1 do
  5525. swait()
  5526. RH.C0=clerp(RH.C0,cf(1,-1-.2*math.cos(sine/16),0)*angles(0,math.rad(90),0),.1)
  5527. 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)
  5528. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0+.2*math.cos(sine/16)),.1)
  5529. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(25),0,0),.1)
  5530. RW.C0=clerp(RW.C0,cf(1,0.5+.2*math.cos(sine/16),-.65)*angles(math.rad(45),0,math.rad(-90)),.1)
  5531. LW.C0=clerp(LW.C0,cf(-1,0.5+.2*math.cos(sine/16),-.65)*angles(math.rad(-45),0,math.rad(100)),.1)
  5532. end
  5533. CFuncs["Sound"].Create("rbxassetid://206082327", root, 2.5,1)
  5534. CFuncs["Sound"].Create("rbxassetid://847061203", root, 5,1)
  5535. CFuncs["Sound"].Create("rbxassetid://239000203", root, 2.5,1)
  5536. CFuncs["Sound"].Create("rbxassetid://579687077", root, 2.5,0.75)
  5537. pcall(function() Character.ReaperShadowHead.Eye1.BrickColor = BrickColor.new'Black' end)
  5538. pcall(function() Character.ReaperShadowHead.Eye2.BrickColor = BrickColor.new'Black' end)
  5539. RecolorTextAndRename("The Big Black",Color3.new(0,0,0),Color3.new(1,1,1))
  5540. CameraEnshaking(5,2.5)
  5541. MAINRUINCOLOR = BrickColor.new("Really black")
  5542. sphere(2.5,"Add",root.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  5543. tl1.Enabled = true
  5544. tl2.Enabled = true
  5545. tl3.Enabled = true
  5546. for i = 0, 49 do
  5547. 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)
  5548. end
  5549. for i = 0,3,0.1 do
  5550. 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)
  5551. end
  5552. for i, v in pairs(mw2:GetChildren()) do
  5553. if v:IsA("Part") then
  5554. v.BrickColor = BrickColor.new("Really black")
  5555. v.Material = "Glass"
  5556. end
  5557. end
  5558. for i, v in pairs(mw1:GetChildren()) do
  5559. if v:IsA("Part") then
  5560. v.Transparency = 0
  5561. v.BrickColor = BrickColor.new("Really black")
  5562. v.Material = "Glass"
  5563. end
  5564. end
  5565. for i, v in pairs(m:GetChildren()) do
  5566. if v:IsA("Part") then
  5567. v.BrickColor = BrickColor.new("Really black")
  5568. v.Material = "Glass"
  5569. end
  5570. end
  5571. for i, v in pairs(m2:GetChildren()) do
  5572. if v:IsA("Part") then
  5573. v.BrickColor = BrickColor.new("Dark stone grey")
  5574. v.Material = "Granite"
  5575. end
  5576. end
  5577. for i, v in pairs(m3:GetChildren()) do
  5578. if v:IsA("Part") then
  5579. v.BrickColor = BrickColor.new("Really black")
  5580. v.Material = "Glass"
  5581. end
  5582. end
  5583. for i, v in pairs(extrawingmod1:GetChildren()) do
  5584. if v:IsA("Part") then
  5585. v.Transparency = 0
  5586. v.BrickColor = BrickColor.new("Dark stone grey")
  5587. v.Material = "Glass"
  5588. end
  5589. end
  5590. for i, v in pairs(extrawingmod2:GetChildren()) do
  5591. if v:IsA("Part") then
  5592. v.Transparency = 0
  5593. v.BrickColor = BrickColor.new("Dark stone grey")
  5594. v.Material = "Glass"
  5595. end
  5596. end
  5597. for i = 0,2,0.1 do
  5598. swait()
  5599. 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)
  5600. 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)
  5601. 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)
  5602. 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)
  5603. 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)
  5604. 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)
  5605. end
  5606. hum.JumpPower = 50
  5607. hum.WalkSpeed = storehumanoidWS
  5608. attack = false
  5609. end
  5610.  
  5611. function FuckMeSidewaysAndCallMeGay()
  5612. local whom = (mouse.Target and mouse.Target.Parent)
  5613. --[[local fuckThisBoi = false
  5614. if(whom and whom:FindFirstChildOfClass'Humanoid')then
  5615. for _,v in next, ODers do
  5616. if(v == whom)then
  5617. fuckThisBoi = false
  5618. end
  5619. end
  5620. end
  5621. if(not fuckThisBoi)then
  5622. attack = false
  5623. warn'to fuck that boi you need to target them with z'
  5624. else]]
  5625. if(whom and whom:FindFirstChildOfClass'Humanoid' and whom:FindFirstChild'Torso' or whom:FindFirstChild'UpperTorso')then
  5626. local hed = whom:FindFirstChild'Torso' or whom:FindFirstChild'UpperTorso'
  5627. local hum = whom:FindFirstChildOfClass'Humanoid'
  5628. local ocf = RootPart.CFrame
  5629. hum.WalkSpeed = 0
  5630. hum.JumpPower = 0
  5631. hed.Anchored = true
  5632. RootPart.Anchored = true
  5633. Humanoid.WalkSpeed = 0
  5634. Humanoid.JumpPower = 0
  5635. RootPart.CFrame = hed.CFrame*cf(0,0,1.35)
  5636. CFuncs["Sound"].Create("rbxassetid://847061203", root, 2.5,1)
  5637. for i = 0, 9 do
  5638. 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)
  5639. end
  5640. for i = 0, 24 do
  5641. 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)
  5642. end
  5643. sphere(3,"Add",root.CFrame,vt(0,0,0),0.25,BrickColor.new("Pink"))
  5644. attack = true
  5645. local speed = 1
  5646. local heck;
  5647. local stopitlol = false;
  5648. heck = mouse.KeyUp:connect(function(k)
  5649. if(k:lower() == 'm')then
  5650. stopitlol = true
  5651. heck:disconnect()
  5652. end
  5653. end)
  5654. local times = 0
  5655. repeat swait()
  5656. speed = speed - .01
  5657. times = times + 1
  5658. if(speed < .1)then
  5659. speed = .1
  5660. end
  5661. for i = 0, speed, .05 do
  5662. RootPart.CFrame = hed.CFrame*cf(0,0,1.35)
  5663. swait()
  5664. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(50),0,0)*angles(0,math.rad(90),0),.4)
  5665. 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)
  5666. RootJoint.C0=clerp(RootJoint.C0,cf(0,-.1,0)*angles(math.rad(-25),0,0)*RootCF,.4)
  5667. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(0,0,0),.8)
  5668. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(75),0,0),.4)
  5669. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(75),0,0),.4)
  5670. end
  5671. CameraEnshaking(5,5)
  5672.  
  5673. CFuncs["Sound"].Create("rbxassetid://836796971", Torso, 10,1)
  5674.  
  5675. for i = 0, speed, .05 do
  5676. RootPart.CFrame = hed.CFrame*cf(0,0,1.35)
  5677. swait()
  5678. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(-50),0,0)*angles(0,math.rad(90),0),.4)
  5679. 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)
  5680. RootJoint.C0=clerp(RootJoint.C0,cf(0,-.1,0)*angles(math.rad(25),0,0)*RootCF,.4)
  5681. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(0,0,0),.8)
  5682. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-75),0,0),.4)
  5683. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-75),0,0),.4)
  5684. end
  5685. until stopitlol and times >= 3
  5686. for i = 1, 3 do
  5687. for i = 0, 1.5, .05 do
  5688. RootPart.CFrame = hed.CFrame*cf(0,0,1.35)
  5689. swait()
  5690. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(50),0,0)*angles(0,math.rad(90),0),.4)
  5691. 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)
  5692. RootJoint.C0=clerp(RootJoint.C0,cf(0,-.1,0)*angles(math.rad(-25),0,0)*RootCF,.4)
  5693. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(0,0,0),.8)
  5694. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(75),0,0),.4)
  5695. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(75),0,0),.4)
  5696. end
  5697. CameraEnshaking(5,25)
  5698.  
  5699. CFuncs["Sound"].Create("rbxassetid://1430568042", Torso, 10,.75)
  5700.  
  5701.  
  5702. coroutine.resume(coroutine.create(function()
  5703. bld = Instance.new("ParticleEmitter",whom:WaitForChild("Torso"))
  5704. bld.LightEmission = 0.1
  5705. bld.Texture = "rbxassetid://284205403"
  5706. bld.Color = ColorSequence.new(Color3.new(1,1,1))
  5707. bld.Rate = 500
  5708. bld.Lifetime = NumberRange.new(1)
  5709. bld.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,2,0),NumberSequenceKeypoint.new(1,0,0)})
  5710. bld.Acceleration = vt(0,-25,0)
  5711. bld.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,0,0)})
  5712. bld.Speed = NumberRange.new(10,50)
  5713. bld.EmissionDirection = "Back"
  5714. bld.VelocitySpread = 25
  5715. bld.Rotation = NumberRange.new(-500,500)
  5716. bld.RotSpeed = NumberRange.new(-500,500)
  5717. bld.Enabled = false
  5718. bld:Emit(250)
  5719. end))
  5720. coroutine.resume(coroutine.create(function()
  5721. bld = Instance.new("ParticleEmitter",whom:WaitForChild("LowerTorso"))
  5722. bld.LightEmission = 0.1
  5723. bld.Texture = "rbxassetid://284205403"
  5724. bld.Color = ColorSequence.new(Color3.new(1,1,1))
  5725. bld.Rate = 500
  5726. bld.Lifetime = NumberRange.new(1)
  5727. bld.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,2,0),NumberSequenceKeypoint.new(1,0,0)})
  5728. bld.Acceleration = vt(0,-25,0)
  5729. bld.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,0,0)})
  5730. bld.Speed = NumberRange.new(10,50)
  5731. bld.EmissionDirection = "Back"
  5732. bld.VelocitySpread = 25
  5733. bld.Rotation = NumberRange.new(-500,500)
  5734. bld.RotSpeed = NumberRange.new(-500,500)
  5735. bld.Enabled = false
  5736. bld:Emit(250)
  5737. end))
  5738. for i = 0, 1.5, .05 do
  5739. RootPart.CFrame = hed.CFrame*cf(0,0,1.35)
  5740. swait()
  5741. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(-50),0,0)*angles(0,math.rad(90),0),.4)
  5742. 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)
  5743. RootJoint.C0=clerp(RootJoint.C0,cf(0,-.1,0)*angles(math.rad(25),0,0)*RootCF,.4)
  5744. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(0,0,0),.8)
  5745. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-75),0,0),.4)
  5746. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-75),0,0),.4)
  5747. end
  5748. end
  5749. for i = 0, 4, .05 do
  5750. RootPart.CFrame = hed.CFrame*cf(0,0,1.35)
  5751. swait()
  5752. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(100),0,0)*angles(0,math.rad(90),0),.1)
  5753. 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)
  5754. RootJoint.C0=clerp(RootJoint.C0,cf(0,-.75,0)*angles(math.rad(-50),0,0)*RootCF,.1)
  5755. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(0,0,0),.1)
  5756. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(75),0,0),.1)
  5757. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(75),0,0),.1)
  5758. end
  5759. CameraEnshaking(5,25)
  5760. CFuncs["Sound"].Create("rbxassetid://429400881", hed, 3,1)
  5761. CFuncs["Sound"].Create("rbxassetid://1430568042", Torso, 10,.75)
  5762.  
  5763. dmg(whom)
  5764. coroutine.resume(coroutine.create(function()
  5765. bld = Instance.new("ParticleEmitter",whom:WaitForChild("Torso"))
  5766. bld.LightEmission = 0.1
  5767. bld.Texture = "rbxassetid://284205403"
  5768. bld.Color = ColorSequence.new(Color3.new(1,1,1))
  5769. bld.Rate = 500
  5770. bld.Lifetime = NumberRange.new(1)
  5771. bld.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,2,0),NumberSequenceKeypoint.new(1,0,0)})
  5772. bld.Acceleration = vt(0,-25,0)
  5773. bld.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,0,0)})
  5774. bld.Speed = NumberRange.new(10,50)
  5775. bld.EmissionDirection = "Back"
  5776. bld.VelocitySpread = 25
  5777. bld.Rotation = NumberRange.new(-500,500)
  5778. bld.RotSpeed = NumberRange.new(-500,500)
  5779. bld.Enabled = true
  5780. end))
  5781. coroutine.resume(coroutine.create(function()
  5782. bld = Instance.new("ParticleEmitter",whom:WaitForChild("LowerTorso"))
  5783. bld.LightEmission = 0.1
  5784. bld.Texture = "rbxassetid://284205403"
  5785. bld.Color = ColorSequence.new(Color3.new(1,1,1))
  5786. bld.Rate = 500
  5787. bld.Lifetime = NumberRange.new(1)
  5788. bld.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,2,0),NumberSequenceKeypoint.new(1,0,0)})
  5789. bld.Acceleration = vt(0,-25,0)
  5790. bld.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,0,0)})
  5791. bld.Speed = NumberRange.new(10,50)
  5792. bld.EmissionDirection = "Back"
  5793. bld.VelocitySpread = 25
  5794. bld.Rotation = NumberRange.new(-500,500)
  5795. bld.RotSpeed = NumberRange.new(-500,500)
  5796. bld.Enabled = true
  5797. end))
  5798. for i = 0, 3, .05 do
  5799. RootPart.CFrame = hed.CFrame*cf(0,0,1.35)
  5800. swait()
  5801. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(-100),0,0)*angles(0,math.rad(90),0),.4)
  5802. 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)
  5803. RootJoint.C0=clerp(RootJoint.C0,cf(0,-.75,0)*angles(math.rad(50),0,0)*RootCF,.4)
  5804. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(0,0,0),.8)
  5805. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-75),0,0),.4)
  5806. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-75),0,0),.4)
  5807. end
  5808.  
  5809. RootPart.CFrame = ocf
  5810. CFuncs["Sound"].Create("rbxassetid://847061203", root, 2.5,1)
  5811. for i = 0, 9 do
  5812. 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)
  5813. end
  5814. for i = 0, 24 do
  5815. 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)
  5816. end
  5817. sphere(3,"Add",root.CFrame,vt(0,0,0),0.25,BrickColor.new("Pink"))
  5818. RootPart.Anchored = false
  5819. Humanoid.WalkSpeed = storehumanoidWS
  5820. Humanoid.JumpPower = 50
  5821. attack = false
  5822. end
  5823. end
  5824.  
  5825. local input = ""
  5826.  
  5827. mouse.KeyDown:connect(function(k)
  5828. if(k == "w" or k == "a" or k == "s" or k == "d")then
  5829. input = input .. k
  5830. local newInput = input
  5831. coroutine.wrap(function()
  5832. for i = 1, 25 do
  5833. if(newInput ~= input)then break end
  5834. swait()
  5835. end
  5836. if(newInput == input)then input = "" end
  5837. end)()
  5838. if(input == "w" and not AllowRape)then
  5839. AllowRape = true
  5840. warn("Rape unlocked! Have fun ;)")
  5841. elseif(input == "w" and not AllowCata)then
  5842. AllowCata = true
  5843. warn("You unlocked CATASTROPHE.")
  5844. elseif(input == 'd' and ModeOfGlitch == 4 and not attack)then
  5845. ChaosBegone()
  5846. end
  5847. end
  5848. end)
  5849.  
  5850. mouse.KeyDown:connect(function(k)
  5851. if k == "h" then
  5852.  
  5853. end
  5854.  
  5855. if k == "q" and attack == false and ModeOfGlitch ~= 2 then
  5856. ModeOfGlitch = 2
  5857. storehumanoidWS = 16
  5858. hum.WalkSpeed = 16
  5859. rainbowmode = false
  5860. chaosmode = false
  5861. glitchymode = false
  5862. tl1.Enabled = false
  5863. tl2.Enabled = false
  5864. tl3.Enabled = false
  5865. RecolorTextAndRename("Purity",Color3.new(1,1,1),Color3.new(0,1,1))
  5866. pcall(function() Character.ReaperShadowHead.Eye1.BrickColor = BrickColor.new'Teal' end)
  5867. pcall(function() Character.ReaperShadowHead.Eye2.BrickColor = BrickColor.new'Teal' end)
  5868. newTheme("rbxassetid://1539245059",0,1,1)
  5869. MAINRUINCOLOR = BrickColor.new("Toothpaste")
  5870. for i, v in pairs(mw2:GetChildren()) do
  5871. if v:IsA("Part") then
  5872. v.BrickColor = MAINRUINCOLOR
  5873. v.Material = "Neon"
  5874. end
  5875. end
  5876. for i, v in pairs(mw1:GetChildren()) do
  5877. if v:IsA("Part") then
  5878. v.Transparency = 1
  5879. v.BrickColor = MAINRUINCOLOR
  5880. v.Material = "Neon"
  5881. end
  5882. end
  5883. for i, v in pairs(m:GetChildren()) do
  5884. if v:IsA("Part") then
  5885. v.BrickColor = BrickColor.new("White")
  5886. v.Material = "Ice"
  5887. end
  5888. end
  5889. for i, v in pairs(m2:GetChildren()) do
  5890. if v:IsA("Part") then
  5891. v.BrickColor = BrickColor.new("Pastel light blue")
  5892. v.Material = "Glass"
  5893. end
  5894. end
  5895. for i, v in pairs(m3:GetChildren()) do
  5896. if v:IsA("Part") then
  5897. v.BrickColor = BrickColor.new("Toothpaste")
  5898. v.Material = "Neon"
  5899. end
  5900. end
  5901. for i, v in pairs(extrawingmod1:GetChildren()) do
  5902. if v:IsA("Part") then
  5903. v.Transparency = 1
  5904. v.BrickColor = BrickColor.new("White")
  5905. v.Material = "Neon"
  5906. end
  5907. end
  5908. for i, v in pairs(extrawingmod2:GetChildren()) do
  5909. if v:IsA("Part") then
  5910. v.Transparency = 1
  5911. v.BrickColor = BrickColor.new("White")
  5912. v.Material = "Neon"
  5913. end
  5914. end
  5915. elseif k == "q" and attack == false and ModeOfGlitch == 2 then
  5916. resetmode()
  5917. end
  5918. if k == "f" and attack == false and ModeOfGlitch ~= 69 then
  5919. lustmode()
  5920. elseif k == "f" and attack == false and ModeOfGlitch == 69 then
  5921. resetmode()
  5922. end
  5923. if k == "m" and attack == false and ModeOfGlitch == 1 then
  5924. RiddleMeThisRiddleMeThat()
  5925. elseif k == "m" and attack == false and ModeOfGlitch == 8376532578634534 then
  5926. resetmode()
  5927. end
  5928. if k == "e" and attack == false and ModeOfGlitch ~= 3 then
  5929. ModeOfGlitch = 3
  5930. storehumanoidWS = 16
  5931. hum.WalkSpeed = 16
  5932. rainbowmode = false
  5933. chaosmode = false
  5934. glitchymode = true
  5935. tl1.Enabled = true
  5936. tl2.Enabled = true
  5937. tl3.Enabled = true
  5938. RecolorTextAndRename("gLiTcHy",Color3.new(0,0,0),Color3.new(0.35,0,1))
  5939. newTheme("rbxassetid://1274310715",0,.93,1.25) -- 474074203
  5940. pcall(function() Character.ReaperShadowHead.Eye1.BrickColor = BrickColor.new'White' end)
  5941. pcall(function() Character.ReaperShadowHead.Eye2.BrickColor = BrickColor.new'White' end)
  5942. MAINRUINCOLOR = BrickColor.new("White")
  5943. for i, v in pairs(mw2:GetChildren()) do
  5944. if v:IsA("Part") then
  5945. v.BrickColor = MAINRUINCOLOR
  5946. v.Material = "Neon"
  5947. end
  5948. end
  5949. for i, v in pairs(mw1:GetChildren()) do
  5950. if v:IsA("Part") then
  5951. v.Transparency = 0
  5952. v.BrickColor = MAINRUINCOLOR
  5953. v.Material = "Neon"
  5954. end
  5955. end
  5956. for i, v in pairs(m:GetChildren()) do
  5957. if v:IsA("Part") then
  5958. v.BrickColor = BrickColor.new("Really black")
  5959. v.Material = "Ice"
  5960. end
  5961. end
  5962. for i, v in pairs(m2:GetChildren()) do
  5963. if v:IsA("Part") then
  5964. v.BrickColor = BrickColor.new("Dark indigo")
  5965. v.Material = "Glass"
  5966. end
  5967. end
  5968. for i, v in pairs(m3:GetChildren()) do
  5969. if v:IsA("Part") then
  5970. v.Transparency = 1
  5971. v.BrickColor = BrickColor.new("Royal purple")
  5972. v.Material = "Neon"
  5973. end
  5974. end
  5975. for i, v in pairs(extrawingmod1:GetChildren()) do
  5976. if v:IsA("Part") then
  5977. v.Transparency = 1
  5978. v.BrickColor = BrickColor.new("White")
  5979. v.Material = "Neon"
  5980. end
  5981. end
  5982. for i, v in pairs(extrawingmod2:GetChildren()) do
  5983. if v:IsA("Part") then
  5984. v.Transparency = 1
  5985. v.BrickColor = BrickColor.new("White")
  5986. v.Material = "Neon"
  5987. end
  5988. end
  5989. elseif k == "e" and attack == false and ModeOfGlitch == 3 then
  5990. resetmode()
  5991. end
  5992. if k == "r" and attack == false and ModeOfGlitch ~= 4 then
  5993. ModeOfGlitch = 4
  5994. storehumanoidWS = 16
  5995. hum.WalkSpeed = 16
  5996. rainbowmode = false
  5997. glitchymode = false
  5998. chaosmode = true
  5999. tl1.Enabled = true
  6000. tl2.Enabled = true
  6001. tl3.Enabled = true
  6002. RecolorTextAndRename("CHAOS",Color3.new(0,0,0),BrickColor.random().Color)
  6003. newTheme("rbxassetid://1369263130",0,1,1)
  6004. MAINRUINCOLOR = BrickColor.new("Black")
  6005. tr1.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  6006. tr2.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  6007. tr3.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  6008. for i, v in pairs(mw2:GetChildren()) do
  6009. if v:IsA("Part") then
  6010. v.BrickColor = MAINRUINCOLOR
  6011. v.Material = "Neon"
  6012. end
  6013. end
  6014. for i, v in pairs(mw1:GetChildren()) do
  6015. if v:IsA("Part") then
  6016. v.Transparency = 0.75
  6017. v.BrickColor = BrickColor.random()
  6018. v.Material = "Neon"
  6019. end
  6020. end
  6021. for i, v in pairs(m:GetChildren()) do
  6022. if v:IsA("Part") then
  6023. v.BrickColor = BrickColor.new("Black")
  6024. v.Material = "Neon"
  6025. end
  6026. end
  6027. for i, v in pairs(m2:GetChildren()) do
  6028. if v:IsA("Part") then
  6029. v.BrickColor = BrickColor.random()
  6030. v.Material = "Neon"
  6031. end
  6032. end
  6033. for i, v in pairs(m3:GetChildren()) do
  6034. if v:IsA("Part") then
  6035. v.BrickColor = BrickColor.new("Black")
  6036. v.Material = "Neon"
  6037. end
  6038. end
  6039. for i, v in pairs(extrawingmod1:GetChildren()) do
  6040. if v:IsA("Part") then
  6041. v.Transparency = 1
  6042. v.BrickColor = BrickColor.new("White")
  6043. v.Material = "Neon"
  6044. end
  6045. end
  6046. for i, v in pairs(extrawingmod2:GetChildren()) do
  6047. if v:IsA("Part") then
  6048. v.Transparency = 1
  6049. v.BrickColor = BrickColor.new("White")
  6050. v.Material = "Neon"
  6051. end
  6052. end
  6053. elseif k == "r" and attack == false and ModeOfGlitch == 4 then
  6054. resetmode()
  6055. end
  6056.  
  6057. if k == "m" and attack == false and ModeOfGlitch == 4 then
  6058. insanitymode()
  6059. elseif k == "m" and attack == false and ModeOfGlitch == 666666 then
  6060. resetmode()
  6061. end
  6062. if k == "t" and attack == false and ModeOfGlitch ~= 5 then
  6063. ModeOfGlitch = 5
  6064. storehumanoidWS = 16
  6065. hum.WalkSpeed = 16
  6066. rainbowmode = false
  6067. chaosmode = false
  6068. glitchymode = false
  6069. tl1.Enabled = true
  6070. tl2.Enabled = true
  6071. tl3.Enabled = true
  6072. RecolorTextAndRename("Divinity",Color3.new(1,1,1),Color3.new(1,1,0.5))
  6073. newTheme("rbxassetid://661079869",0,1.02,1)
  6074. pcall(function() Character.ReaperShadowHead.Eye1.BrickColor = BrickColor.new'New Yeller' end)
  6075. pcall(function() Character.ReaperShadowHead.Eye2.BrickColor = BrickColor.new'New Yeller' end)
  6076. MAINRUINCOLOR = BrickColor.new("Bright yellow")
  6077. for i, v in pairs(mw2:GetChildren()) do
  6078. if v:IsA("Part") then
  6079. v.BrickColor = MAINRUINCOLOR
  6080. v.Material = "Neon"
  6081. end
  6082. end
  6083. for i, v in pairs(mw1:GetChildren()) do
  6084. if v:IsA("Part") then
  6085. v.Transparency = 0
  6086. v.BrickColor = MAINRUINCOLOR
  6087. v.Material = "Neon"
  6088. end
  6089. end
  6090. for i, v in pairs(m:GetChildren()) do
  6091. if v:IsA("Part") then
  6092. v.BrickColor = BrickColor.new("Cool yellow")
  6093. v.Material = "Ice"
  6094. end
  6095. end
  6096. for i, v in pairs(m2:GetChildren()) do
  6097. if v:IsA("Part") then
  6098. v.BrickColor = BrickColor.new("Bright yellow")
  6099. v.Material = "Ice"
  6100. end
  6101. end
  6102. for i, v in pairs(m3:GetChildren()) do
  6103. if v:IsA("Part") then
  6104. v.BrickColor = BrickColor.new("Bright yellow")
  6105. v.Material = "Neon"
  6106. end
  6107. end
  6108. for i, v in pairs(extrawingmod1:GetChildren()) do
  6109. if v:IsA("Part") then
  6110. v.Transparency = 1
  6111. v.BrickColor = BrickColor.new("White")
  6112. v.Material = "Neon"
  6113. end
  6114. end
  6115. for i, v in pairs(extrawingmod2:GetChildren()) do
  6116. if v:IsA("Part") then
  6117. v.Transparency = 1
  6118. v.BrickColor = BrickColor.new("White")
  6119. v.Material = "Neon"
  6120. end
  6121. end
  6122. elseif k == "t" and attack == false and ModeOfGlitch == 5 then
  6123. resetmode()
  6124. end
  6125. if k == "y" and attack == false and ModeOfGlitch ~= 6 then
  6126. ModeOfGlitch = 6
  6127. storehumanoidWS = 75
  6128. hum.WalkSpeed = 75
  6129. rainbowmode = false
  6130. chaosmode = false
  6131. glitchymode = false
  6132. tl1.Enabled = true
  6133. tl2.Enabled = true
  6134. tl3.Enabled = true
  6135. RecolorTextAndRename("Justice",Color3.new(0,0,0),Color3.new(1,1,1))
  6136. pcall(function() Character.ReaperShadowHead.Eye1.BrickColor = BrickColor.new'White' end)
  6137. pcall(function() Character.ReaperShadowHead.Eye2.BrickColor = BrickColor.new'White' end)
  6138. newTheme("rbxassetid://1102271169",0,1,1)
  6139. MAINRUINCOLOR = BrickColor.new("White")
  6140. for i, v in pairs(mw2:GetChildren()) do
  6141. if v:IsA("Part") then
  6142. v.BrickColor = MAINRUINCOLOR
  6143. v.Material = "Neon"
  6144. end
  6145. end
  6146. for i, v in pairs(mw1:GetChildren()) do
  6147. if v:IsA("Part") then
  6148. v.Transparency = 0
  6149. v.BrickColor = MAINRUINCOLOR
  6150. v.Material = "Neon"
  6151. end
  6152. end
  6153. for i, v in pairs(m:GetChildren()) do
  6154. if v:IsA("Part") then
  6155. v.BrickColor = BrickColor.new("White")
  6156. v.Material = "Ice"
  6157. end
  6158. end
  6159. for i, v in pairs(m2:GetChildren()) do
  6160. if v:IsA("Part") then
  6161. v.BrickColor = BrickColor.new("White")
  6162. v.Material = "Ice"
  6163. end
  6164. end
  6165. for i, v in pairs(m3:GetChildren()) do
  6166. if v:IsA("Part") then
  6167. v.BrickColor = BrickColor.new("White")
  6168. v.Material = "Neon"
  6169. end
  6170. end
  6171. for i, v in pairs(extrawingmod1:GetChildren()) do
  6172. if v:IsA("Part") then
  6173. v.Transparency = 1
  6174. v.BrickColor = BrickColor.new("White")
  6175. v.Material = "Neon"
  6176. end
  6177. end
  6178. for i, v in pairs(extrawingmod2:GetChildren()) do
  6179. if v:IsA("Part") then
  6180. v.Transparency = 1
  6181. v.BrickColor = BrickColor.new("White")
  6182. v.Material = "Neon"
  6183. end
  6184. end
  6185. elseif k == "y" and attack == false and ModeOfGlitch == 6 then
  6186. resetmode()
  6187. end
  6188. if k == "u" and attack == false then
  6189.  
  6190. storehumanoidWS = 50
  6191. hum.WalkSpeed = 50
  6192. rainbowmode = true
  6193. chaosmode = false
  6194. glitchymode = false
  6195. tl1.Enabled = true
  6196. tl2.Enabled = true
  6197. tl3.Enabled = true
  6198.  
  6199. if(ModeOfGlitch == 6127843)then
  6200. vaporwave = not vaporwave
  6201. end
  6202.  
  6203. if(not vaporwave)then
  6204. RecolorTextAndRename("RAINBOW",Color3.new(1,1,1),Color3.new(1,1,1))
  6205. newTheme("rbxassetid://147930134",0,1,1)
  6206. else
  6207. RecolorTextAndRename("Vaporwave",Color3.new(1,1,1),Color3.new(1,1,1))
  6208. newTheme("rbxassetid://1308711379",0,1,1)
  6209. end
  6210.  
  6211.  
  6212. ModeOfGlitch = 6127843
  6213. MAINRUINCOLOR = BrickColor.new("White")
  6214. for i, v in pairs(mw2:GetChildren()) do
  6215. if v:IsA("Part") then
  6216. v.BrickColor = MAINRUINCOLOR
  6217. v.Material = "Neon"
  6218. end
  6219. end
  6220. for i, v in pairs(mw1:GetChildren()) do
  6221. if v:IsA("Part") then
  6222. v.Transparency = 0
  6223. v.BrickColor = MAINRUINCOLOR
  6224. v.Material = "Neon"
  6225. end
  6226. end
  6227. for i, v in pairs(m:GetChildren()) do
  6228. if v:IsA("Part") then
  6229. v.BrickColor = BrickColor.new("White")
  6230. v.Material = "Neon"
  6231. end
  6232. end
  6233. for i, v in pairs(m2:GetChildren()) do
  6234. if v:IsA("Part") then
  6235. v.BrickColor = BrickColor.new("White")
  6236. v.Material = "Neon"
  6237. end
  6238. end
  6239. for i, v in pairs(m3:GetChildren()) do
  6240. if v:IsA("Part") then
  6241. v.BrickColor = BrickColor.new("White")
  6242. v.Material = "Neon"
  6243. end
  6244. end
  6245. for i, v in pairs(extrawingmod1:GetChildren()) do
  6246. if v:IsA("Part") then
  6247. v.Transparency = 1
  6248. v.BrickColor = BrickColor.new("White")
  6249. v.Material = "Neon"
  6250. end
  6251. end
  6252. for i, v in pairs(extrawingmod2:GetChildren()) do
  6253. if v:IsA("Part") then
  6254. v.Transparency = 1
  6255. v.BrickColor = BrickColor.new("White")
  6256. v.Material = "Neon"
  6257. end
  6258. end
  6259. elseif k == "u" and attack == false and ModeOfGlitch == 6127843 then
  6260. resetmode()
  6261. end
  6262. if k == "p" and attack == false and ModeOfGlitch ~= 1000000 then
  6263. ModeOfGlitch = 1000000
  6264. storehumanoidWS = 100
  6265. hum.WalkSpeed = 100
  6266. rainbowmode = false
  6267. chaosmode = false
  6268. glitchymode = false
  6269. tl1.Enabled = true
  6270. tl2.Enabled = true
  6271. tl3.Enabled = true
  6272. RecolorTextAndRename("CALAMITY",Color3.new(0.25,0,1),Color3.new(0.5,0,1))
  6273. pcall(function() Character.ReaperShadowHead.Eye1.BrickColor = BrickColor.new'Bright violet' end)
  6274. pcall(function() Character.ReaperShadowHead.Eye2.BrickColor = BrickColor.new'Bright violet' end)
  6275. newTheme("rbxassetid://1359036559",0,1,1)
  6276. MAINRUINCOLOR = BrickColor.new("Bright violet")
  6277. tl1.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  6278. tl2.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  6279. tl3.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  6280. for i, v in pairs(mw2:GetChildren()) do
  6281. if v:IsA("Part") then
  6282. v.BrickColor = MAINRUINCOLOR
  6283. v.Material = "Neon"
  6284. end
  6285. end
  6286. for i, v in pairs(mw1:GetChildren()) do
  6287. if v:IsA("Part") then
  6288. v.Transparency = 0
  6289. v.BrickColor = MAINRUINCOLOR
  6290. v.Material = "Neon"
  6291. end
  6292. end
  6293. for i, v in pairs(m:GetChildren()) do
  6294. if v:IsA("Part") then
  6295. v.Color = Color3.new(0.5,0,1)
  6296. v.Material = "Neon"
  6297. end
  6298. end
  6299. for i, v in pairs(m2:GetChildren()) do
  6300. if v:IsA("Part") then
  6301. v.Color = Color3.new(0.25,0,1)
  6302. v.Material = "Neon"
  6303. end
  6304. end
  6305. for i, v in pairs(m3:GetChildren()) do
  6306. if v:IsA("Part") then
  6307. v.Color = Color3.new(0.45,0,1)
  6308. v.Material = "Neon"
  6309. end
  6310. end
  6311. for i, v in pairs(extrawingmod1:GetChildren()) do
  6312. if v:IsA("Part") then
  6313. v.Transparency = 0.75
  6314. v.Color = Color3.new(0.25,0,1)
  6315. v.Material = "Neon"
  6316. end
  6317. end
  6318. for i, v in pairs(extrawingmod2:GetChildren()) do
  6319. if v:IsA("Part") then
  6320. v.Transparency = 0.75
  6321. v.Color = Color3.new(0.5,0,1)
  6322. v.Material = "Neon"
  6323. end
  6324. end
  6325. elseif k == "p" and attack == false and ModeOfGlitch == 1000000 then
  6326. resetmode()
  6327. end
  6328. if k == "m" and attack == false and ModeOfGlitch == 1000000 and ModeOfGlitch ~= 12345678987654321 and (plr.Name == 'Noobygames12' or plr.UserId == 5719877 or AllowCata) then
  6329. newThemeCust("rbxassetid://1504604335",0,1,1)
  6330. attack = true
  6331. hum.WalkSpeed = 0
  6332. MAINRUINCOLOR = BrickColor.new("Royal purple")
  6333. for i = 0, 24, 0.1 do
  6334. swait()
  6335. 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)
  6336. 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)
  6337. 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)
  6338. 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)
  6339. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(55),math.rad(0),math.rad(0)),.1)
  6340. 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)
  6341. 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)
  6342. end
  6343. CameraEnshaking(1,1)
  6344. sphere(5,"Add",root.CFrame,vt(0,0,0),2.5,MAINRUINCOLOR)
  6345. CFuncs["Sound"].Create("rbxassetid://847061203", char, 0.5,1)
  6346. wait(0.55)
  6347. CameraEnshaking(1,2)
  6348. sphere(5,"Add",root.CFrame,vt(0,0,0),7.5,MAINRUINCOLOR)
  6349. sphere(5,"Add",root.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  6350. sphere(5,"Add",root.CFrame,vt(0,0,0),2.5,MAINRUINCOLOR)
  6351. CFuncs["Sound"].Create("rbxassetid://847061203", char, 1,1)
  6352. wait(0.55)
  6353. CameraEnshaking(1,3)
  6354. sphere(5,"Add",root.CFrame,vt(0,0,0),12.5,MAINRUINCOLOR)
  6355. sphere(5,"Add",root.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
  6356. sphere(5,"Add",root.CFrame,vt(0,0,0),7.5,MAINRUINCOLOR)
  6357. sphere(5,"Add",root.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  6358. sphere(5,"Add",root.CFrame,vt(0,0,0),2.5,MAINRUINCOLOR)
  6359. CFuncs["Sound"].Create("rbxassetid://847061203", char, 2,1)
  6360. wait(0.55)
  6361. CameraEnshaking(10,5)
  6362. CFuncs["Sound"].Create("rbxassetid://741272936", char, 1, 1)
  6363. CFuncs["Sound"].Create("rbxassetid://164881112", char, 1, 1)
  6364. CFuncs["Sound"].Create("rbxassetid://1192402877", char, 1, 1)
  6365. CFuncs["Sound"].Create("rbxassetid://429123896", char, 1, 0.85)
  6366. CFuncs["Sound"].Create("rbxassetid://1208650519", char, 1, 1)
  6367. sphere(1,"Add",root.CFrame,vt(0,0,0),2,MAINRUINCOLOR)
  6368. sphere(2,"Add",root.CFrame,vt(0,0,0),4,MAINRUINCOLOR)
  6369. sphere(3,"Add",root.CFrame,vt(0,0,0),6,MAINRUINCOLOR)
  6370. sphere(4,"Add",root.CFrame,vt(0,0,0),8,MAINRUINCOLOR)
  6371. sphere(5,"Add",root.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
  6372. sphere(6,"Add",root.CFrame,vt(0,0,0),12,MAINRUINCOLOR)
  6373. sphere(7,"Add",root.CFrame,vt(0,0,0),14,MAINRUINCOLOR)
  6374. sphere(8,"Add",root.CFrame,vt(0,0,0),16,MAINRUINCOLOR)
  6375. sphere(9,"Add",root.CFrame,vt(0,0,0),18,MAINRUINCOLOR)
  6376. sphere(10,"Add",root.CFrame,vt(0,0,0),20,MAINRUINCOLOR)
  6377. for i = 0, 49 do
  6378. 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)
  6379. 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)
  6380. 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)
  6381. 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)
  6382. end
  6383. ModeOfGlitch = 12345678987654321
  6384. storehumanoidWS = 200
  6385. hum.WalkSpeed = 200
  6386. rainbowmode = false
  6387. chaosmode = false
  6388. glitchymode = false
  6389. tl1.Enabled = true
  6390. tl2.Enabled = true
  6391. tl3.Enabled = true
  6392. pcall(function() Character.ReaperShadowHead.Eye1.BrickColor = BrickColor.new'Dark indigo' end)
  6393. pcall(function() Character.ReaperShadowHead.Eye2.BrickColor = BrickColor.new'Dark indigo' end)
  6394. RecolorTextAndRename("CATASTROPHE",Color3.new(0.5,0,1),Color3.new(0.75,0,1))
  6395. tl1.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  6396. tl2.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  6397. tl3.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  6398. for i, v in pairs(mw2:GetChildren()) do
  6399. if v:IsA("Part") then
  6400. v.BrickColor = MAINRUINCOLOR
  6401. v.Material = "Neon"
  6402. end
  6403. end
  6404. for i, v in pairs(mw1:GetChildren()) do
  6405. if v:IsA("Part") then
  6406. v.Transparency = 0
  6407. v.BrickColor = MAINRUINCOLOR
  6408. v.Material = "Neon"
  6409. end
  6410. end
  6411. for i, v in pairs(m:GetChildren()) do
  6412. if v:IsA("Part") then
  6413. v.Color = Color3.new(0.5,0,1)
  6414. v.Material = "Neon"
  6415. end
  6416. end
  6417. for i, v in pairs(m2:GetChildren()) do
  6418. if v:IsA("Part") then
  6419. v.Color = Color3.new(0.5,0,1)
  6420. v.Material = "Neon"
  6421. end
  6422. end
  6423. for i, v in pairs(m3:GetChildren()) do
  6424. if v:IsA("Part") then
  6425. v.Color = Color3.new(0.5,0,1)
  6426. v.Material = "Neon"
  6427. end
  6428. end
  6429. for i, v in pairs(extrawingmod1:GetChildren()) do
  6430. if v:IsA("Part") then
  6431. v.Transparency = 0
  6432. v.Color = Color3.new(0.5,0,1)
  6433. v.Material = "Neon"
  6434. end
  6435. end
  6436. for i, v in pairs(extrawingmod2:GetChildren()) do
  6437. if v:IsA("Part") then
  6438. v.Transparency = 0
  6439. v.Color = Color3.new(0.5,0,1)
  6440. v.Material = "Neon"
  6441. end
  6442. attack = false
  6443. end
  6444. elseif k == "m" and attack == false and ModeOfGlitch == 12345678987654321 then
  6445. resetmode()
  6446. end
  6447. if k == "l" and toggleTag == false then
  6448. toggleTag = true
  6449. text.TextTransparency = 0
  6450. text.TextStrokeTransparency = 0
  6451. elseif k == "l" and toggleTag == true then
  6452. toggleTag = false
  6453. text.TextTransparency = 1
  6454. text.TextStrokeTransparency = 1
  6455. end
  6456. if k == "z" and attack == false and (ModeOfGlitch == 1 or ModeOfGlitch == 8376532578634534) then
  6457. ExtinctiveHeartbreak()
  6458. elseif k == "z" and attack == false and ModeOfGlitch == 2 then
  6459. PureBomb()
  6460. elseif k == "z" and attack == false and ModeOfGlitch == 3 then
  6461. scattercorrupt()
  6462. elseif k == "z" and attack == false and ModeOfGlitch == 5 then
  6463. Judgement()
  6464. elseif k == "z" and attack == false and ModeOfGlitch == 4 then
  6465. ChaosGroundStrike()
  6466. elseif k == "z" and attack == false and ModeOfGlitch == 666666 then
  6467. InsaneGroundStrike()
  6468.  
  6469. elseif k == "z" and attack == false and ModeOfGlitch == 69 then
  6470. ChooseODer()
  6471. elseif k == "z" and attack == false and ModeOfGlitch == 1000000 then
  6472. Starfall()
  6473. elseif k == "z" and attack == false and ModeOfGlitch == 6 then
  6474. yinyangi()
  6475. elseif k == "z" and attack == false and ModeOfGlitch == 6127843 then
  6476. Wip()
  6477. elseif k == "z" and attack == false and ModeOfGlitch == 12345678987654321 then
  6478. StarfallEX()
  6479. end
  6480. if k == "x" and attack == false and ModeOfGlitch == 1000000 then
  6481. StarDivision()
  6482. elseif k == "x" and attack == false and ModeOfGlitch == 6 then
  6483. JusticeBeam()
  6484. end
  6485. if k == "v" and attack == false and ModeOfGlitch == 12345678987654321 then
  6486. UniversalCollapse()
  6487. end
  6488. if k == "b" and attack == false and ModeOfGlitch == 4 then
  6489.  
  6490. end
  6491. if k == "n" and attack == false then
  6492. CorruptBlink()
  6493. end
  6494. if k == "m" and attack == false and ModeOfGlitch == 69 and AllowRape then
  6495. FuckMeSidewaysAndCallMeGay()
  6496. end
  6497. end)
  6498. coroutine.resume(coroutine.create(function()
  6499. while true do
  6500. swait(2)
  6501. if rainbowmode == true or ModeOfGlitch == 6 or glitchymode then
  6502. 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)
  6503. end
  6504.  
  6505. end
  6506. end))
  6507.  
  6508.  
  6509. coroutine.resume(coroutine.create(function()
  6510. while true do
  6511. if ModeOfGlitch == 1000000 then
  6512. swait(0.5)
  6513. end
  6514. swait()
  6515. if ModeOfGlitch == 1000000 or ModeOfGlitch == 12345678987654321 then
  6516. 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)
  6517. end
  6518. if ModeOfGlitch == 12345678987654321 then
  6519. 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)
  6520. end
  6521. end
  6522. end))
  6523.  
  6524.  
  6525. function RandomMaterial()
  6526. local getRandom;
  6527. local material;
  6528. local function IsTerrainMaterial(mat)
  6529. local isMaterial = pcall(function() workspace:FindFirstChildOfClass'Terrain':GetMaterialColor(mat) end)
  6530. return isMaterial
  6531. end
  6532. getRandom = function()
  6533. local mat = Enum.Material:GetEnumItems()[math.random(1,#Enum.Material:GetEnumItems())]
  6534. if(not IsTerrainMaterial(mat))then material = mat else getRandom() end
  6535. end
  6536. getRandom()
  6537. repeat wait() until material
  6538. return material
  6539. end
  6540. function RandomCaps(str)
  6541. local new = ""
  6542. for i = 1, #str do
  6543. if(math.random(1,2) == 1)then
  6544. new = new .. (str:sub(i,i):upper())
  6545. else
  6546. new = new .. str:sub(i,i)
  6547. end
  6548. end
  6549. return new
  6550. end
  6551.  
  6552. coroutine.resume(coroutine.create(function()
  6553. while true do
  6554. for i = 1, #ODers do
  6555. local ODer = ODers[i]
  6556. if(ODer)then
  6557. local hed = ODer:FindFirstChild'Head'
  6558. if(ODer.Parent and hed)then
  6559. 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)
  6560. else
  6561. table.remove(ODers,i)
  6562. end
  6563. else
  6564. table.remove(ODers,i)
  6565. end
  6566. end
  6567. if(not kan)then
  6568. kan = Instance.new("Sound",char)
  6569. end
  6570. kan.Parent = char
  6571. if(plr.UserId == 5719877)then kan.Volume = 3 else kan.Volume = 1 end
  6572. kan.Pitch = Pitch
  6573. kan.SoundId = MID
  6574. kan.Name = "wrecked"
  6575. kan.Looped = true
  6576. kan:Resume()
  6577. swait()
  6578. if glitchymode == true then
  6579. local val = math.random(1,255)
  6580. local color = Color3.fromRGB(val,val,val)
  6581. pcall(function() Character.ReaperShadowHead.Eye1.Color = color end)
  6582. pcall(function() Character.ReaperShadowHead.Eye2.Color = color end)
  6583. tl1.Color = ColorSequence.new(color)
  6584. tl2.Color = ColorSequence.new(color)
  6585. tl3.Color = ColorSequence.new(color)
  6586. tr1.Color = ColorSequence.new(color)
  6587. tr2.Color = ColorSequence.new(color)
  6588. tr3.Color = ColorSequence.new(color)
  6589. for i, v in pairs(mw1:GetChildren()) do
  6590. if v:IsA("Part") then
  6591. v.Transparency = 0
  6592. v.Color = color
  6593. v.Material = "Neon"
  6594. end
  6595. end
  6596. for i, v in pairs(mw2:GetChildren()) do
  6597. if v:IsA("Part") then
  6598. v.Color = color
  6599. v.Material = "Neon"
  6600. end
  6601. end
  6602. for i, v in pairs(m2:GetChildren()) do
  6603. if v:IsA("Part") then
  6604. v.Color = color
  6605. v.Material = "Neon"
  6606. end
  6607. end
  6608. RecolorTextAndRename((ModeOfGlitch == 3 and RandomCaps"glitchy"),Color3.new(0,0,0),color)
  6609. end
  6610. if chaosmode or glitchymode then
  6611. pcall(function() Character.ReaperShadowHead.Eye1.Material = Enum.Material:GetEnumItems()[math.random(1,#Enum.Material:GetEnumItems())] end)
  6612. pcall(function() Character.ReaperShadowHead.Eye2.Material = Enum.Material:GetEnumItems()[math.random(1,#Enum.Material:GetEnumItems())] end)
  6613. else
  6614. pcall(function() Character.ReaperShadowHead.Eye1.Material = Enum.Material.Neon end)
  6615. pcall(function() Character.ReaperShadowHead.Eye2.Material = Enum.Material.Neon end)
  6616. end
  6617. if chaosmode == true then
  6618. tl1.Color = ColorSequence.new(BrickColor.random().Color)
  6619. tl2.Color = ColorSequence.new(BrickColor.random().Color)
  6620. tl3.Color = ColorSequence.new(BrickColor.random().Color)
  6621. RecolorTextAndRename((ModeOfGlitch == 666666 and "INSANITY" or "CHAOS"),Color3.new(0,0,0),BrickColor.random().Color)
  6622. pcall(function() Character.ReaperShadowHead.Eye1.BrickColor = BrickColor.random() end)
  6623. pcall(function() Character.ReaperShadowHead.Eye2.BrickColor = BrickColor.random() end)
  6624. for i, v in pairs(mw1:GetChildren()) do
  6625. if v:IsA("Part") then
  6626. v.Transparency = 0.75
  6627. v.BrickColor = BrickColor.random()
  6628. v.Material = "Neon"
  6629. end
  6630. end
  6631. for i, v in pairs(extrawingmod1:GetChildren()) do
  6632. if v:IsA("Part") and ModeOfGlitch == 666666 then
  6633. v.Transparency = 0.75
  6634. v.BrickColor = BrickColor.random()
  6635. v.Material = "Neon"
  6636. elseif v:IsA("Part") then
  6637. v.Transparency = 1
  6638. end
  6639. end
  6640. for i, v in pairs(m2:GetChildren()) do
  6641. if v:IsA("Part") then
  6642. v.BrickColor = BrickColor.random()
  6643. v.Material = "Neon"
  6644. end
  6645. end
  6646. end
  6647. end
  6648. end))
  6649. Humanoid.Name = "STARGLITCHER"
  6650. Humanoid.MaxHealth = math.huge
  6651. Humanoid.Health = math.huge
  6652. Instance.new("ForceField",char).Visible = false
  6653. Humanoid.Animator.Parent = nil
  6654. idleanim=.4
  6655. while true do
  6656. if rainbowmode == false and chaosmode == false and glitchymode == false then
  6657. tr1.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  6658. tr2.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  6659. tr3.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  6660. tl1.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  6661. tl2.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  6662. tl3.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  6663. end
  6664. if rainbowmode == true then
  6665. pcall(function() Character.ReaperShadowHead.Eye1.Color = Color3.new(r/255,g/255,b/255) end)
  6666. pcall(function() Character.ReaperShadowHead.Eye2.Color = Color3.new(r/255,g/255,b/255) end)
  6667. if(not vaporwave)then
  6668. RecolorTextAndRename("RAINBOW",Color3.new(r/255,g/255,b/255),Color3.new(r/500,g/500,b/500))
  6669. else
  6670. RecolorTextAndRename("Vaporwave",Color3.new(r/255,g/255,b/255),Color3.new(r/500,g/500,b/500))
  6671. end
  6672. MAINRUINCOLOR = BrickColor.new("White")
  6673. tr1.Color = ColorSequence.new(Color3.new(r/255,g/255,b/255))
  6674. tr2.Color = ColorSequence.new(Color3.new(r/255,g/255,b/255))
  6675. tr3.Color = ColorSequence.new(Color3.new(r/255,g/255,b/255))
  6676. tl1.Color = ColorSequence.new(Color3.new(r/255,g/255,b/255))
  6677. tl2.Color = ColorSequence.new(Color3.new(r/255,g/255,b/255))
  6678. tl3.Color = ColorSequence.new(Color3.new(r/255,g/255,b/255))
  6679. for i, v in pairs(m:GetChildren()) do
  6680. if v:IsA("Part") then
  6681. v.Color = Color3.new(r/255,g/255,b/255)
  6682. end
  6683. end
  6684. for i, v in pairs(m2:GetChildren()) do
  6685. if v:IsA("Part") then
  6686. v.Color = Color3.new(r/255,g/255,b/255)
  6687. end
  6688. end
  6689. for i, v in pairs(m3:GetChildren()) do
  6690. if v:IsA("Part") then
  6691. v.Color = Color3.new(r/255,g/255,b/255)
  6692. end
  6693. end
  6694. for i, v in pairs(mw1:GetChildren()) do
  6695. if v:IsA("Part") then
  6696. v.Color = Color3.new(r/255,g/255,b/255)
  6697. v.Material = "Neon"
  6698. end
  6699. end
  6700. for i, v in pairs(mw2:GetChildren()) do
  6701. if v:IsA("Part") then
  6702. v.Color = Color3.new(r/255,g/255,b/255)
  6703. v.Material = "Neon"
  6704. end
  6705. end
  6706. end
  6707. CameraManager()
  6708. swait()
  6709. 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)
  6710. 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)
  6711. 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)
  6712. 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)
  6713. 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)
  6714. 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)
  6715.  
  6716. 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)
  6717. 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)
  6718. 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)
  6719. 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)
  6720. 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)
  6721. 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)
  6722. sine = sine + change
  6723. local torvel=(RootPart.Velocity*Vector3.new(1,0,1)).magnitude
  6724. local velderp=RootPart.Velocity.y
  6725. hitfloor,posfloor=rayCast(RootPart.Position,(CFrame.new(RootPart.Position,RootPart.Position - Vector3.new(0,1,0))).lookVector,4,Character)
  6726. if equipped==true or equipped==false then
  6727. if attack==false then
  6728. idle=idle+1
  6729. else
  6730. idle=0
  6731. end
  6732. if idle>=500 then
  6733. if attack==false then
  6734. --Sheath()
  6735. end
  6736. end
  6737. if RootPart.Velocity.y > 1 and hitfloor==nil then
  6738. Anim="Jump"
  6739. if attack==false then
  6740. 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)
  6741. 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)
  6742. 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)
  6743. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-2.5),math.rad(0),math.rad(0)),.1)
  6744. 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)
  6745. 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)
  6746. end
  6747. elseif RootPart.Velocity.y < -1 and hitfloor==nil then
  6748. Anim="Fall"
  6749. if attack==false then
  6750. 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)
  6751. 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)
  6752. 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)
  6753. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(0)),.1)
  6754. 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)
  6755. 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)
  6756. end
  6757. elseif torvel<1 and hitfloor~=nil then
  6758. Anim="Idle"
  6759. if attack==false then
  6760. if ModeOfGlitch == 1 then
  6761. 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)
  6762. 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)
  6763. 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)
  6764. 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)
  6765. 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)
  6766. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(160),math.rad(0),math.rad(25)),.1)
  6767.  
  6768. elseif ModeOfGlitch == 2 or ModeOfGlitch == 6127843 then
  6769. 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)
  6770. 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)
  6771. 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)
  6772. 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)
  6773. 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)
  6774. 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)
  6775.  
  6776. elseif ModeOfGlitch == 3 then
  6777. 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)
  6778. 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)
  6779. 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)
  6780. 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)
  6781. 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)
  6782. 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)
  6783. elseif ModeOfGlitch == 4 then
  6784. 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)
  6785. 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)
  6786. 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)
  6787. 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)
  6788. 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)
  6789. 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)
  6790. elseif ModeOfGlitch == 69 then
  6791. RootJoint.C0 = RootJoint.C0:lerp(cf(0,0,0)*angles(0,0,math.rad(0+5*math.cos(sine/16)))*RootCF,.1)
  6792. Torso.Neck.C0 = Torso.Neck.C0:lerp(necko*angles(0,0,-math.rad(0+5*math.cos(sine/16))),.1)
  6793. 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)
  6794. 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)
  6795. LW.C0 = LW.C0:lerp(cf(-1.5,0.5,0)*cf(0,-.15,0)*angles(math.rad(15),0,math.rad(20)),.1)
  6796. RW.C0 = RW.C0:lerp(cf(1.5,0.5,0)*angles(0,0,math.rad(5+5*math.sin(sine/16))),.1)
  6797. elseif ModeOfGlitch == 8376532578634534 then
  6798. RH.C0=clerp(RH.C0,cf(1,-1-.2*math.cos(sine/16),0)*angles(0,math.rad(90),0),.1)
  6799. 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)
  6800. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0+.2*math.cos(sine/16)),.1)
  6801. 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)
  6802. RW.C0=clerp(RW.C0,cf(1,0.5+.2*math.cos(sine/16),-.65)*angles(math.rad(45),0,math.rad(-90)),.1)
  6803. LW.C0=clerp(LW.C0,cf(-1,0.5+.2*math.cos(sine/16),-.65)*angles(math.rad(-45),0,math.rad(100)),.1)
  6804.  
  6805. elseif ModeOfGlitch == 666666 then
  6806. 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)
  6807. 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)
  6808. 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)
  6809. 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)
  6810. 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)
  6811. 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)
  6812.  
  6813. elseif ModeOfGlitch == 5 then
  6814. 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)
  6815. 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)
  6816. 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)
  6817. 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)
  6818. 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)
  6819. 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)
  6820.  
  6821. elseif ModeOfGlitch == 1000000 or ModeOfGlitch == 6 then
  6822. 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)
  6823. 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)
  6824. 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)
  6825. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(15),math.rad(0),math.rad(0)),.1)
  6826. 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)
  6827. 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)
  6828.  
  6829. elseif ModeOfGlitch == 12345678987654321 then
  6830. 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)
  6831. 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)
  6832. 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)
  6833. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(15),math.rad(0),math.rad(40)),.1)
  6834. 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)
  6835. 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)
  6836. end
  6837. end
  6838. elseif torvel>2 and torvel<22 and hitfloor~=nil then
  6839. Anim="Walk"
  6840. if attack==false then
  6841. if ModeOfGlitch == 1 then
  6842. 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)
  6843. 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)
  6844. 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)
  6845. 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)
  6846. 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)
  6847. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(160),math.rad(0),math.rad(25)),.1)
  6848. elseif ModeOfGlitch == 4 then
  6849. 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)
  6850. 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)
  6851. 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)
  6852. 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)
  6853. 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)
  6854. 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)
  6855. elseif ModeOfGlitch == 666666 then
  6856. 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)
  6857. 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)
  6858. 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)
  6859. 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)
  6860. 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)
  6861. 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)
  6862.  
  6863. elseif ModeOfGlitch ~= 1 or ModeOfGlitch ~= 4 then
  6864. 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)
  6865. 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)
  6866. 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)
  6867. 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)
  6868. 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)
  6869. 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)
  6870. end
  6871. end
  6872. elseif torvel>=22 and hitfloor~=nil then
  6873. Anim="Run"
  6874. if attack==false then
  6875. if ModeOfGlitch ~= 1000000 and ModeOfGlitch ~= 12345678987654321 and ModeOfGlitch ~= 4 and ModeOfGlitch ~= 6 and ModeOfGlitch ~= 8376532578634534 then
  6876. 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)
  6877. 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)
  6878. 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)
  6879. 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)
  6880. 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)
  6881. 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)
  6882. elseif ModeOfGlitch == 666666 then
  6883. 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)
  6884. 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)
  6885. 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)
  6886. 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)
  6887. 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)
  6888. 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)
  6889.  
  6890. elseif ModeOfGlitch == 1000000 or ModeOfGlitch == 12345678987654321 or ModeOfGlitch == 4 or ModeOfGlitch == 6 or ModeOfGlitch == 8376532578634534 then
  6891. 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)
  6892. 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)
  6893. 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)
  6894. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.2)
  6895. 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)
  6896. 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)
  6897. end
  6898. end
  6899. end
  6900. end
  6901. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement