Advertisement
Guest User

AAA!

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