Advertisement
ExcuseMehEdit

BROKEN </3 V2

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