Advertisement
Azurewood

NOTHING

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