Advertisement
5sdfsadgaq5465

starglitcher by kostik fe

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