Advertisement
Vintage-Furry

H i!

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