Advertisement
9Simplicity9

Untitled

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