Advertisement
GojiGaming1337

God Glitcher

Apr 25th, 2018
297
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 193.44 KB | None | 0 0
  1. warn("God Glitcher Loaded.")
  2. warn("All purpose switcher...")
  3. warn("Edit By Frepix.")
  4. warn("Minor Edit By UndeniableInfinity.")
  5. warn("A kinda minor edit by GodzillaGamer2037")
  6. warn("Please Support The Original Creator Of This Script.")
  7. plr = game.Players.LocalPlayer
  8. char = plr.Character
  9. hum = char.Humanoid
  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. local Booleans = {CamFollow = true, GyroUse = true}
  42. function lerp(object, newCFrame, alpha)
  43. return object:lerp(newCFrame, alpha)
  44. end
  45.  
  46. ff = Instance.new("ForceField", game.Players.LocalPlayer.Character)
  47. ff.Visible = false
  48.  
  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://525767156"
  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 CreateWeld(Parent, Part0, Part1, C0, C1)
  922. local Weld = Create("Weld")({
  923. Parent = Parent,
  924. Part0 = Part0,
  925. Part1 = Part1,
  926. C0 = C0,
  927. C1 = C1
  928. })
  929. return Weld
  930. end
  931. Player = game:GetService("Players").LocalPlayer
  932. Character = Player.Character
  933. PlayerGui = Player.PlayerGui
  934. Backpack = Player.Backpack
  935. Torso = Character.Torso
  936. Head = Character.Head
  937. Humanoid = Character.Humanoid
  938. m = Instance.new("Model", Character)
  939. LeftArm = Character["Left Arm"]
  940. LeftLeg = Character["Left Leg"]
  941. RightArm = Character["Right Arm"]
  942. RightLeg = Character["Right Leg"]
  943. LS = Torso["Left Shoulder"]
  944. LH = Torso["Left Hip"]
  945. RS = Torso["Right Shoulder"]
  946. RH = Torso["Right Hip"]
  947. Face = Head.face
  948. Neck = Torso.Neck
  949. it = Instance.new
  950. attacktype = 1
  951. vt = Vector3.new
  952. cf = CFrame.new
  953. euler = CFrame.fromEulerAnglesXYZ
  954. angles = CFrame.Angles
  955. cloaked = false
  956. necko = cf(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
  957. necko2 = cf(0, -0.5, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
  958. LHC0 = cf(-1, -1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  959. LHC1 = cf(-0.5, 1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  960. RHC0 = cf(1, -1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  961. RHC1 = cf(0.5, 1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  962. RootPart = Character.HumanoidRootPart
  963. RootJoint = RootPart.RootJoint
  964. RootCF = euler(-1.57, 0, 3.14)
  965. attack = false
  966. attackdebounce = false
  967. deb = false
  968. equipped = true
  969. hand = false
  970. MMouse = nil
  971. combo = 0
  972. mana = 0
  973. trispeed = 0.2
  974. attackmode = "none"
  975. local idle = 0
  976. local Anim = "Idle"
  977. local Effects = {}
  978. local gun = false
  979. local shoot = false
  980. local sine = 0
  981. local change = 1
  982. player = nil
  983. local toggleTag = true
  984. local txt = Instance.new("BillboardGui", Head)
  985. txt.Adornee = nil
  986. txt.Name = "NameDetect"
  987. txt.Size = UDim2.new(4, 0, 1.2, 0)
  988. txt.StudsOffset = Vector3.new(-8, 5.333333333333333, 0)
  989. local text = Instance.new("TextLabel", txt)
  990. text.Size = UDim2.new(5, 0, 3.5, 0)
  991. text.FontSize = "Size8"
  992. text.TextScaled = true
  993. text.TextTransparency = 0
  994. text.BackgroundTransparency = 1
  995. text.TextTransparency = 0
  996. text.TextStrokeTransparency = 0
  997. text.Font = "Fantasy"
  998. text.TextStrokeColor3 = Color3.new(1, 0, 0)
  999. text.TextColor3 = Color3.new(0, 0, 0)
  1000. text.Text = "Godzilla"
  1001. function RecolorTextAndRename(name, col1, col2)
  1002. text.TextStrokeColor3 = col2
  1003. text.TextColor3 = col1
  1004. text.Text = name
  1005. end
  1006. mouse = Player:GetMouse()
  1007. RSH, LSH = nil, nil
  1008. RW, LW = Instance.new("Weld"), Instance.new("Weld")
  1009. RW.Name = "Right Shoulder"
  1010. LW.Name = "Left Shoulder"
  1011. LH = Torso["Left Hip"]
  1012. RH = Torso["Right Hip"]
  1013. TorsoColor = Torso.BrickColor
  1014. function NoOutline(Part)
  1015. Part.TopSurface, Part.BottomSurface, Part.LeftSurface, Part.RightSurface, Part.FrontSurface, Part.BackSurface = 10, 10, 10, 10, 10, 10
  1016. end
  1017. player = Player
  1018. ch = Character
  1019. RSH = ch.Torso["Right Shoulder"]
  1020. LSH = ch.Torso["Left Shoulder"]
  1021. RSH.Parent = nil
  1022. LSH.Parent = nil
  1023. RW.Name = "Right Shoulder"
  1024. RW.Part0 = ch.Torso
  1025. RW.C0 = cf(1.5, 0.5, 0)
  1026. RW.C1 = cf(0, 0.5, 0)
  1027. RW.Part1 = ch["Right Arm"]
  1028. RW.Parent = ch.Torso
  1029. LW.Name = "Left Shoulder"
  1030. LW.Part0 = ch.Torso
  1031. LW.C0 = cf(-1.5, 0.5, 0)
  1032. LW.C1 = cf(0, 0.5, 0)
  1033. LW.Part1 = ch["Left Arm"]
  1034. LW.Parent = ch.Torso
  1035. local Stats = Instance.new("BoolValue")
  1036. Stats.Name = "Stats"
  1037. Stats.Parent = Character
  1038. local Atk = Instance.new("NumberValue")
  1039. Atk.Name = "Damage"
  1040. Atk.Parent = Stats
  1041. Atk.Value = 1
  1042. local Def = Instance.new("NumberValue")
  1043. Def.Name = "Defense"
  1044. Def.Parent = Stats
  1045. Def.Value = 1
  1046. local Speed = Instance.new("NumberValue")
  1047. Speed.Name = "Speed"
  1048. Speed.Parent = Stats
  1049. Speed.Value = 1
  1050. local Mvmt = Instance.new("NumberValue")
  1051. Mvmt.Name = "Movement"
  1052. Mvmt.Parent = Stats
  1053. Mvmt.Value = 1
  1054. local donum = 0
  1055. function part(formfactor, parent, reflectance, transparency, brickcolor, name, size)
  1056. local fp = it("Part")
  1057. fp.formFactor = formfactor
  1058. fp.Parent = parent
  1059. fp.Reflectance = reflectance
  1060. fp.Transparency = transparency
  1061. fp.CanCollide = false
  1062. fp.Locked = true
  1063. fp.BrickColor = brickcolor
  1064. fp.Name = name
  1065. fp.Size = size
  1066. fp.Position = Torso.Position
  1067. NoOutline(fp)
  1068. fp.Material = "SmoothPlastic"
  1069. fp:BreakJoints()
  1070. return fp
  1071. end
  1072. function mesh(Mesh, part, meshtype, meshid, offset, scale)
  1073. local mesh = it(Mesh)
  1074. mesh.Parent = part
  1075. if Mesh == "SpecialMesh" then
  1076. mesh.MeshType = meshtype
  1077. if meshid ~= "nil" then
  1078. mesh.MeshId = "http://www.roblox.com/asset/?id=" .. meshid
  1079. end
  1080. end
  1081. mesh.Offset = offset
  1082. mesh.Scale = scale
  1083. return mesh
  1084. end
  1085. function weld(parent, part0, part1, c0)
  1086. local weld = it("Weld")
  1087. weld.Parent = parent
  1088. weld.Part0 = part0
  1089. weld.Part1 = part1
  1090. weld.C0 = c0
  1091. return weld
  1092. end
  1093. local Color1 = Torso.BrickColor
  1094. local bodvel = Instance.new("BodyVelocity")
  1095. local bg = Instance.new("BodyGyro")
  1096. function swait(num)
  1097. if num == 0 or num == nil then
  1098. game:service("RunService").Stepped:wait(0)
  1099. else
  1100. for i = 0, num do
  1101. game:service("RunService").Stepped:wait(0)
  1102. end
  1103. end
  1104. end
  1105. local r = 255
  1106. local g = 0
  1107. local b = 0
  1108. coroutine.resume(coroutine.create(function()
  1109. while wait() do
  1110. for i = 0, 50.8 do
  1111. swait()
  1112. g = g + 5
  1113. end
  1114. for i = 0, 50.8 do
  1115. swait()
  1116. r = r - 5
  1117. end
  1118. for i = 0, 50.8 do
  1119. swait()
  1120. b = b + 5
  1121. end
  1122. for i = 0, 50.8 do
  1123. swait()
  1124. g = g - 5
  1125. end
  1126. for i = 0, 50.8 do
  1127. swait()
  1128. r = r + 5
  1129. end
  1130. for i = 0, 50.8 do
  1131. swait()
  1132. b = b - 5
  1133. end
  1134. end
  1135. end))
  1136. function so(id, par, vol, pit)
  1137. coroutine.resume(coroutine.create(function()
  1138. local sou = Instance.new("Sound", par or workspace)
  1139. sou.Volume = vol
  1140. sou.Pitch = pit or 1
  1141. sou.SoundId = id
  1142. swait()
  1143. sou:play()
  1144. game:GetService("Debris"):AddItem(sou, 6)
  1145. end))
  1146. end
  1147. function clerp(a, b, t)
  1148. local qa = {
  1149. QuaternionFromCFrame(a)
  1150. }
  1151. local qb = {
  1152. QuaternionFromCFrame(b)
  1153. }
  1154. local ax, ay, az = a.x, a.y, a.z
  1155. local bx, by, bz = b.x, b.y, b.z
  1156. local _t = 1 - t
  1157. return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  1158. end
  1159. function QuaternionFromCFrame(cf)
  1160. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  1161. local trace = m00 + m11 + m22
  1162. if trace > 0 then
  1163. local s = math.sqrt(1 + trace)
  1164. local recip = 0.5 / s
  1165. return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  1166. else
  1167. local i = 0
  1168. if m00 < m11 then
  1169. i = 1
  1170. end
  1171. if m22 > (i == 0 and m00 or m11) then
  1172. i = 2
  1173. end
  1174. if i == 0 then
  1175. local s = math.sqrt(m00 - m11 - m22 + 1)
  1176. local recip = 0.5 / s
  1177. return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  1178. elseif i == 1 then
  1179. local s = math.sqrt(m11 - m22 - m00 + 1)
  1180. local recip = 0.5 / s
  1181. return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  1182. elseif i == 2 then
  1183. local s = math.sqrt(m22 - m00 - m11 + 1)
  1184. local recip = 0.5 / s
  1185. return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  1186. end
  1187. end
  1188. end
  1189. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  1190. local xs, ys, zs = x + x, y + y, z + z
  1191. local wx, wy, wz = w * xs, w * ys, w * zs
  1192. local xx = x * xs
  1193. local xy = x * ys
  1194. local xz = x * zs
  1195. local yy = y * ys
  1196. local yz = y * zs
  1197. local zz = z * zs
  1198. 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))
  1199. end
  1200. function QuaternionSlerp(a, b, t)
  1201. local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  1202. local startInterp, finishInterp
  1203. if cosTheta >= 1.0E-4 then
  1204. if 1 - cosTheta > 1.0E-4 then
  1205. local theta = math.acos(cosTheta)
  1206. local invSinTheta = 1 / math.sin(theta)
  1207. startInterp = math.sin((1 - t) * theta) * invSinTheta
  1208. finishInterp = math.sin(t * theta) * invSinTheta
  1209. else
  1210. startInterp = 1 - t
  1211. finishInterp = t
  1212. end
  1213. elseif 1 + cosTheta > 1.0E-4 then
  1214. local theta = math.acos(-cosTheta)
  1215. local invSinTheta = 1 / math.sin(theta)
  1216. startInterp = math.sin((t - 1) * theta) * invSinTheta
  1217. finishInterp = math.sin(t * theta) * invSinTheta
  1218. else
  1219. startInterp = t - 1
  1220. finishInterp = t
  1221. end
  1222. 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
  1223. end
  1224. local CFrameFromTopBack = function(at, top, back)
  1225. local right = top:Cross(back)
  1226. 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)
  1227. end
  1228. function Triangle(a, b, c)
  1229. local edg1 = (c - a):Dot((b - a).unit)
  1230. local edg2 = (a - b):Dot((c - b).unit)
  1231. local edg3 = (b - c):Dot((a - c).unit)
  1232. if edg1 <= (b - a).magnitude and edg1 >= 0 then
  1233. a, b = a, b
  1234. elseif edg2 <= (c - b).magnitude and edg2 >= 0 then
  1235. a, b, c = b, c, a
  1236. elseif edg3 <= (a - c).magnitude and edg3 >= 0 then
  1237. a, b, c = c, a, b
  1238. else
  1239. assert(false, "unreachable")
  1240. end
  1241. local len1 = (c - a):Dot((b - a).unit)
  1242. local len2 = (b - a).magnitude - len1
  1243. local width = (a + (b - a).unit * len1 - c).magnitude
  1244. local maincf = CFrameFromTopBack(a, (b - a):Cross(c - b).unit, -(b - a).unit)
  1245. local list = {}
  1246. if len1 > 0.01 then
  1247. local w1 = Instance.new("WedgePart", m)
  1248. game:GetService("Debris"):AddItem(w1, 5)
  1249. w1.Material = "SmoothPlastic"
  1250. w1.FormFactor = "Custom"
  1251. w1.BrickColor = BrickColor.new("Really red")
  1252. w1.Transparency = 0
  1253. w1.Reflectance = 0
  1254. w1.Material = "SmoothPlastic"
  1255. w1.CanCollide = false
  1256. local l1 = Instance.new("PointLight", w1)
  1257. l1.Color = Color3.new(170, 0, 0)
  1258. NoOutline(w1)
  1259. local sz = Vector3.new(0.2, width, len1)
  1260. w1.Size = sz
  1261. local sp = Instance.new("SpecialMesh", w1)
  1262. sp.MeshType = "Wedge"
  1263. sp.Scale = Vector3.new(0, 1, 1) * sz / w1.Size
  1264. w1:BreakJoints()
  1265. w1.Anchored = true
  1266. w1.Parent = workspace
  1267. w1.Transparency = 0.7
  1268. table.insert(Effects, {
  1269. w1,
  1270. "Disappear",
  1271. 0.01
  1272. })
  1273. w1.CFrame = maincf * CFrame.Angles(math.pi, 0, math.pi / 2) * CFrame.new(0, width / 2, len1 / 2)
  1274. table.insert(list, w1)
  1275. end
  1276. if len2 > 0.01 then
  1277. local w2 = Instance.new("WedgePart", m)
  1278. game:GetService("Debris"):AddItem(w2, 5)
  1279. w2.Material = "SmoothPlastic"
  1280. w2.FormFactor = "Custom"
  1281. w2.BrickColor = BrickColor.new("Really red")
  1282. w2.Transparency = 0
  1283. w2.Reflectance = 0
  1284. w2.Material = "SmoothPlastic"
  1285. w2.CanCollide = false
  1286. local l2 = Instance.new("PointLight", w2)
  1287. l2.Color = Color3.new(170, 0, 0)
  1288. NoOutline(w2)
  1289. local sz = Vector3.new(0.2, width, len2)
  1290. w2.Size = sz
  1291. local sp = Instance.new("SpecialMesh", w2)
  1292. sp.MeshType = "Wedge"
  1293. sp.Scale = Vector3.new(0, 1, 1) * sz / w2.Size
  1294. w2:BreakJoints()
  1295. w2.Anchored = true
  1296. w2.Parent = workspace
  1297. w2.Transparency = 0.7
  1298. table.insert(Effects, {
  1299. w2,
  1300. "Disappear",
  1301. 0.01
  1302. })
  1303. w2.CFrame = maincf * CFrame.Angles(math.pi, math.pi, -math.pi / 2) * CFrame.new(0, width / 2, -len1 - len2 / 2)
  1304. table.insert(list, w2)
  1305. end
  1306. return unpack(list)
  1307. end
  1308. function Damagefunc(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch)
  1309. if hit.Parent == nil then
  1310. return
  1311. end
  1312. local h = hit.Parent:FindFirstChildOfClass("Humanoid")
  1313. for _, v in pairs(hit.Parent:children()) do
  1314. if v:IsA("Humanoid") then
  1315. h = v
  1316. end
  1317. end
  1318. if h ~= nil and hit.Parent.Name ~= Character.Name and hit.Parent:FindFirstChild("Head") ~= nil then
  1319. if hit.Parent:findFirstChild("DebounceHit") ~= nil and hit.Parent.DebounceHit.Value == true then
  1320. return
  1321. end
  1322. local c = Create("ObjectValue")({
  1323. Name = "creator",
  1324. Value = game:service("Players").LocalPlayer,
  1325. Parent = h
  1326. })
  1327. game:GetService("Debris"):AddItem(c, 0.5)
  1328. if HitSound ~= nil and HitPitch ~= nil then
  1329. CFuncs.Sound.Create(HitSound, hit, 1, HitPitch)
  1330. end
  1331. local Damage = math.random(minim, maxim)
  1332. local blocked = false
  1333. local block = hit.Parent:findFirstChild("Block")
  1334. if block ~= nil and block.className == "IntValue" and block.Value > 0 then
  1335. blocked = true
  1336. block.Value = block.Value - 1
  1337. print(block.Value)
  1338. end
  1339. if blocked == false then
  1340. HitHealth = h.Health
  1341. h.Health = h.Health - Damage
  1342. if HitHealth ~= h.Health and HitHealth ~= 0 and 0 >= h.Health and h.Parent.Name ~= "Hologram" then
  1343. print("gained kill")
  1344. end
  1345. ShowDamage(Part.CFrame * CFrame.new(0, 0, Part.Size.Z / 2).p + Vector3.new(0, 1.5, 0), -Damage, 1.5, Part.BrickColor.Color)
  1346. else
  1347. h.Health = h.Health - Damage / 2
  1348. ShowDamage(Part.CFrame * CFrame.new(0, 0, Part.Size.Z / 2).p + Vector3.new(0, 1.5, 0), -Damage, 1.5, Part.BrickColor.Color)
  1349. end
  1350. if Type == "Knockdown" then
  1351. local hum = hit.Parent.Humanoid
  1352. hum.PlatformStand = true
  1353. coroutine.resume(coroutine.create(function(HHumanoid)
  1354. swait(1)
  1355. HHumanoid.PlatformStand = false
  1356. end), hum)
  1357. local angle = hit.Position - (Property.Position + Vector3.new(0, 0, 0)).unit
  1358. local bodvol = Create("BodyVelocity")({
  1359. velocity = angle * knockback,
  1360. P = 5000,
  1361. maxForce = Vector3.new(8000, 8000, 8000),
  1362. Parent = hit
  1363. })
  1364. local rl = Create("BodyAngularVelocity")({
  1365. P = 3000,
  1366. maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000,
  1367. angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)),
  1368. Parent = hit
  1369. })
  1370. game:GetService("Debris"):AddItem(bodvol, 0.5)
  1371. game:GetService("Debris"):AddItem(rl, 0.5)
  1372. elseif Type == "Normal" then
  1373. local vp = Create("BodyVelocity")({
  1374. P = 500,
  1375. maxForce = Vector3.new(math.huge, 0, math.huge),
  1376. velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05
  1377. })
  1378. if knockback > 0 then
  1379. vp.Parent = hit.Parent.Head
  1380. end
  1381. game:GetService("Debris"):AddItem(vp, 0.5)
  1382. elseif Type == "Up" then
  1383. local bodyVelocity = Create("BodyVelocity")({
  1384. velocity = Vector3.new(0, 20, 0),
  1385. P = 5000,
  1386. maxForce = Vector3.new(8000, 8000, 8000),
  1387. Parent = hit
  1388. })
  1389. game:GetService("Debris"):AddItem(bodyVelocity, 0.5)
  1390. local bodyVelocity = Create("BodyVelocity")({
  1391. velocity = Vector3.new(0, 20, 0),
  1392. P = 5000,
  1393. maxForce = Vector3.new(8000, 8000, 8000),
  1394. Parent = hit
  1395. })
  1396. game:GetService("Debris"):AddItem(bodyVelocity, 1)
  1397. elseif Type == "Leech" then
  1398. local hum = hit.Parent.Humanoid
  1399. if hum ~= nil then
  1400. for i = 0, 2 do
  1401. 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)
  1402. end
  1403. Humanoid.Health = Humanoid.Health + 10
  1404. end
  1405. elseif Type == "UpKnock" then
  1406. local hum = hit.Parent.Humanoid
  1407. hum.PlatformStand = true
  1408. if hum ~= nil then
  1409. hitr = true
  1410. end
  1411. coroutine.resume(coroutine.create(function(HHumanoid)
  1412. swait(5)
  1413. HHumanoid.PlatformStand = false
  1414. hitr = false
  1415. end), hum)
  1416. local bodyVelocity = Create("BodyVelocity")({
  1417. velocity = Vector3.new(0, 20, 0),
  1418. P = 5000,
  1419. maxForce = Vector3.new(8000, 8000, 8000),
  1420. Parent = hit
  1421. })
  1422. game:GetService("Debris"):AddItem(bodyVelocity, 0.5)
  1423. local bodyVelocity = Create("BodyVelocity")({
  1424. velocity = Vector3.new(0, 20, 0),
  1425. P = 5000,
  1426. maxForce = Vector3.new(8000, 8000, 8000),
  1427. Parent = hit
  1428. })
  1429. game:GetService("Debris"):AddItem(bodyVelocity, 1)
  1430. elseif Type == "Snare" then
  1431. local bp = Create("BodyPosition")({
  1432. P = 2000,
  1433. D = 100,
  1434. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  1435. position = hit.Parent.Torso.Position,
  1436. Parent = hit.Parent.Torso
  1437. })
  1438. game:GetService("Debris"):AddItem(bp, 1)
  1439. elseif Type == "Slashnare" then
  1440. Effects.Block.Create(BrickColor.new("Pastel Blue"), hit.Parent.Torso.CFrame * cn(0, 0, 0), 60, 60, 60, 12, 12, 12, 0.07)
  1441. for i = 1, math.random(4, 5) do
  1442. 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)
  1443. end
  1444. local bp = Create("BodyPosition")({
  1445. P = 2000,
  1446. D = 100,
  1447. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  1448. position = hit.Parent.Torso.Position,
  1449. Parent = hit.Parent.Torso
  1450. })
  1451. game:GetService("Debris"):AddItem(bp, 1)
  1452. elseif Type == "Spike" then
  1453. CreateBigIceSword(hit.Parent.Torso.CFrame)
  1454. local bp = Create("BodyPosition")({
  1455. P = 2000,
  1456. D = 100,
  1457. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  1458. position = hit.Parent.Torso.Position,
  1459. Parent = hit.Parent.Torso
  1460. })
  1461. game:GetService("Debris"):AddItem(bp, 1)
  1462. elseif Type == "Freeze" then
  1463. local BodPos = Create("BodyPosition")({
  1464. P = 50000,
  1465. D = 1000,
  1466. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  1467. position = hit.Parent.Torso.Position,
  1468. Parent = hit.Parent.Torso
  1469. })
  1470. local BodGy = Create("BodyGyro")({
  1471. maxTorque = Vector3.new(400000, 400000, 400000) * math.huge,
  1472. P = 20000,
  1473. Parent = hit.Parent.Torso,
  1474. cframe = hit.Parent.Torso.CFrame
  1475. })
  1476. hit.Parent.Torso.Anchored = true
  1477. coroutine.resume(coroutine.create(function(Part)
  1478. swait(1.5)
  1479. Part.Anchored = false
  1480. end), hit.Parent.Torso)
  1481. game:GetService("Debris"):AddItem(BodPos, 3)
  1482. game:GetService("Debris"):AddItem(BodGy, 3)
  1483. end
  1484. local debounce = Create("BoolValue")({
  1485. Name = "DebounceHit",
  1486. Parent = hit.Parent,
  1487. Value = true
  1488. })
  1489. game:GetService("Debris"):AddItem(debounce, Delay)
  1490. c = Instance.new("ObjectValue")
  1491. c.Name = "creator"
  1492. c.Value = Player
  1493. c.Parent = h
  1494. game:GetService("Debris"):AddItem(c, 0.5)
  1495. end
  1496. end
  1497. function ShowDamage(Pos, Text, Time, Color)
  1498. local Rate = 0.03333333333333333
  1499. local Pos = Pos or Vector3.new(0, 0, 0)
  1500. local Text = Text or ""
  1501. local Time = Time or 2
  1502. local Color = Color or Color3.new(1, 0, 1)
  1503. local EffectPart = CreatePart(workspace, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", Vector3.new(0, 0, 0))
  1504. EffectPart.Anchored = true
  1505. local BillboardGui = Create("BillboardGui")({
  1506. Size = UDim2.new(3, 0, 3, 0),
  1507. Adornee = EffectPart,
  1508. Parent = EffectPart
  1509. })
  1510. local TextLabel = Create("TextLabel")({
  1511. BackgroundTransparency = 1,
  1512. Size = UDim2.new(1, 0, 1, 0),
  1513. Text = Text,
  1514. TextColor3 = Color,
  1515. TextScaled = true,
  1516. Font = Enum.Font.ArialBold,
  1517. Parent = BillboardGui
  1518. })
  1519. game.Debris:AddItem(EffectPart, Time + 0.1)
  1520. EffectPart.Parent = game:GetService("Workspace")
  1521. delay(0, function()
  1522. local Frames = Time / Rate
  1523. for Frame = 1, Frames do
  1524. wait(Rate)
  1525. local Percent = Frame / Frames
  1526. EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0)
  1527. TextLabel.TextTransparency = Percent
  1528. end
  1529. if EffectPart and EffectPart.Parent then
  1530. EffectPart:Destroy()
  1531. end
  1532. end)
  1533. end
  1534. function MagniDamage(Part, magni, mindam, maxdam, knock, Type)
  1535. for _, c in pairs(workspace:children()) do
  1536. local hum = c:findFirstChildOfClass("Humanoid")
  1537. if hum ~= nil then
  1538. local head = c:findFirstChild("Head")
  1539. if head ~= nil then
  1540. local targ = head.Position - Part.Position
  1541. local mag = targ.magnitude
  1542. if magni >= mag and c.Name ~= Player.Name then
  1543. Damagefunc(head, head, mindam, maxdam, knock, Type, RootPart, 0.1, "rbxassetid://231917784", 1)
  1544. end
  1545. end
  1546. end
  1547. end
  1548. end
  1549. function MagniDamageWithEffect(Part, magni, mindam, maxdam, knock, Type)
  1550. for _, c in pairs(workspace:children()) do
  1551. local hum = c:findFirstChild("Humanoid")
  1552. if hum ~= nil then
  1553. local head = c:findFirstChild("Torso")
  1554. if head ~= nil then
  1555. local targ = head.Position - Part.Position
  1556. local mag = targ.magnitude
  1557. if magni >= mag and c.Name ~= Player.Name then
  1558. MagicBlock(BrickColor.new("Pastel light blue"), head.CFrame, 5, 5, 5, 1, 1, 1, 0.05)
  1559. Damagefunc(head, head, mindam, maxdam, knock, Type, RootPart, 0.1, "rbxassetid://231917784", 1)
  1560. end
  1561. end
  1562. end
  1563. end
  1564. end
  1565. function rayCast(Pos, Dir, Max, Ignore)
  1566. return game:service("Workspace"):FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore)
  1567. end
  1568. function SkullEffect(brickcolor, cframe, x1, y1, z1, delay)
  1569. local prt = part(3, workspace, 0, 0, brickcolor, "Effect", vt(0.5, 0.5, 0.5))
  1570. prt.Anchored = true
  1571. prt.CFrame = cframe
  1572. local msh = mesh("SpecialMesh", prt, "FileMesh", "http://www.roblox.com/asset/?id=4770583", vt(0, 0, 0), vt(x1, y1, z1))
  1573. game:GetService("Debris"):AddItem(prt, 2)
  1574. CF = prt.CFrame
  1575. coroutine.resume(coroutine.create(function(Part, Mesh, TehCF)
  1576. for i = 0, 1, 0.2 do
  1577. wait()
  1578. Part.CFrame = CF * cf(0, 0, -0.4)
  1579. end
  1580. for i = 0, 1, delay do
  1581. wait()
  1582. Mesh.Scale = Mesh.Scale
  1583. end
  1584. for i = 0, 1, 0.1 do
  1585. wait()
  1586. Part.Transparency = i
  1587. end
  1588. Part.Parent = nil
  1589. end), prt, msh, CF)
  1590. end
  1591. function MagicBlock(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  1592. local prt = part(3, char, 0, 0, brickcolor, "Effect", vt(0.5, 0.5, 0.5))
  1593. prt.Anchored = true
  1594. prt.Material = "Neon"
  1595. prt.CFrame = cframe
  1596. prt.CFrame = prt.CFrame * euler(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  1597. msh = mesh("BlockMesh", prt, "", "", vt(0, 0, 0), vt(x1, y1, z1))
  1598. game:GetService("Debris"):AddItem(prt, 5)
  1599. coroutine.resume(coroutine.create(function(Part, Mesh)
  1600. for i = 0, 1, delay do
  1601. swait()
  1602. Part.CFrame = Part.CFrame * euler(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  1603. Part.Transparency = i
  1604. Mesh.Scale = Mesh.Scale + vt(x3, y3, z3)
  1605. end
  1606. Part.Parent = nil
  1607. end), prt, msh)
  1608. end
  1609. function MagicBlockSteady(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, rottype)
  1610. local prt = part(3, char, 0, 0, brickcolor, "Effect", vt(0.5, 0.5, 0.5))
  1611. prt.Anchored = true
  1612. prt.Material = "Neon"
  1613. prt.CFrame = cframe
  1614. msh = mesh("BlockMesh", prt, "", "", vt(0, 0, 0), vt(x1, y1, z1))
  1615. game:GetService("Debris"):AddItem(prt, 5)
  1616. coroutine.resume(coroutine.create(function(Part, Mesh)
  1617. local rtype = rottype
  1618. for i = 0, 1, delay do
  1619. swait()
  1620. if rtype == 1 then
  1621. prt.CFrame = prt.CFrame * CFrame.Angles(0, 0, 0.1)
  1622. elseif rtype == 2 then
  1623. prt.CFrame = prt.CFrame * CFrame.Angles(0, 0, -0.1)
  1624. end
  1625. Part.Transparency = i
  1626. Mesh.Scale = Mesh.Scale + vt(x3, y3, z3)
  1627. end
  1628. Part.Parent = nil
  1629. end), prt, msh)
  1630. end
  1631. function MagicSphere(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  1632. local prt = part(3, char, 0, 0, brickcolor, "Effect", vt(0.5, 0.5, 0.5))
  1633. prt.Anchored = true
  1634. prt.CFrame = cframe
  1635. prt.CFrame = prt.CFrame * euler(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  1636. msh = mesh("SpecialMesh", prt, "Sphere", "", vt(0, 0, 0), vt(x1, y1, z1))
  1637. game:GetService("Debris"):AddItem(prt, 5)
  1638. coroutine.resume(coroutine.create(function(Part, Mesh)
  1639. for i = 0, 1, delay do
  1640. wait()
  1641. Part.Transparency = i
  1642. Mesh.Scale = Mesh.Scale + vt(x3, y3, z3)
  1643. end
  1644. Part.Parent = nil
  1645. end), prt, msh)
  1646. end
  1647. function MagicBlockSteady(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, rottype)
  1648. local prt = part(3, char, 0, 0, brickcolor, "Effect", vt(0.5, 0.5, 0.5))
  1649. prt.Anchored = true
  1650. prt.Material = "Neon"
  1651. prt.CFrame = cframe
  1652. msh = mesh("BlockMesh", prt, "", "", vt(0, 0, 0), vt(x1, y1, z1))
  1653. game:GetService("Debris"):AddItem(prt, 5)
  1654. coroutine.resume(coroutine.create(function(Part, Mesh)
  1655. local rtype = rottype
  1656. for i = 0, 1, delay do
  1657. swait()
  1658. if rtype == 1 then
  1659. prt.CFrame = prt.CFrame * CFrame.Angles(0, 0, 0.1)
  1660. elseif rtype == 2 then
  1661. prt.CFrame = prt.CFrame * CFrame.Angles(0, 0, -0.1)
  1662. end
  1663. Part.Transparency = i
  1664. Mesh.Scale = Mesh.Scale + vt(x3, y3, z3)
  1665. end
  1666. Part.Parent = nil
  1667. end), prt, msh)
  1668. end
  1669. function MagicShock(brickcolor, cframe, x1, y1, x3, y3, delay, rottype)
  1670. local prt = part(3, char, 1, 1, brickcolor, "Effect", vt(0.5, 0.5, 0.5))
  1671. prt.Anchored = true
  1672. prt.Material = "Neon"
  1673. prt.CFrame = cframe
  1674. local dec = decal(prt.Color, "http://www.roblox.com/asset/?id=874580939", "Front", prt)
  1675. local dec2 = decal(prt.Color, "http://www.roblox.com/asset/?id=874580939", "Front", prt)
  1676. msh = mesh("BlockMesh", prt, "", "", vt(0, 0, 0), vt(x1, y1, 0.01))
  1677. game:GetService("Debris"):AddItem(prt, 5)
  1678. coroutine.resume(coroutine.create(function(Part, Mesh)
  1679. local rtype = rottype
  1680. for i = 0, 1, delay do
  1681. swait()
  1682. if rtype == 1 then
  1683. prt.CFrame = prt.CFrame * CFrame.Angles(0, 0, 0.1)
  1684. elseif rtype == 2 then
  1685. prt.CFrame = prt.CFrame * CFrame.Angles(0, 0, -0.1)
  1686. end
  1687. dec.Transparency = i
  1688. dec2.Transparency = i
  1689. Mesh.Scale = Mesh.Scale + vt(x3, y3, 0)
  1690. end
  1691. Part.Parent = nil
  1692. end), prt, msh)
  1693. end
  1694. function MagicShockAlt(brickcolor, cframe, x1, y1, x3, y3, delay, rottype)
  1695. local prt = part(3, char, 0, 0, brickcolor, "Effect", vt(0.5, 0.5, 0.5))
  1696. prt.Anchored = true
  1697. prt.Material = "Neon"
  1698. prt.CFrame = cframe
  1699. msh = mesh("BlockMesh", prt, "", "", vt(0, 0, 0), vt(x1, y1, 0.01))
  1700. game:GetService("Debris"):AddItem(prt, 5)
  1701. coroutine.resume(coroutine.create(function(Part, Mesh)
  1702. local rtype = rottype
  1703. for i = 0, 1, delay do
  1704. swait()
  1705. if rtype == 1 then
  1706. prt.CFrame = prt.CFrame * CFrame.Angles(0, 0, 0.1)
  1707. elseif rtype == 2 then
  1708. prt.CFrame = prt.CFrame * CFrame.Angles(0, 0, -0.1)
  1709. end
  1710. prt.Transparency = i
  1711. Mesh.Scale = Mesh.Scale + vt(x3, y3, 0)
  1712. end
  1713. Part.Parent = nil
  1714. end), prt, msh)
  1715. end
  1716. function MagicShockAltCircle(brickcolor, cframe, x1, z1, x3, z3, delay, rottype)
  1717. local prt = part(3, char, 0, 0, brickcolor, "Effect", vt(0.5, 0.5, 0.5))
  1718. prt.Anchored = true
  1719. prt.Material = "Neon"
  1720. prt.CFrame = cframe
  1721. msh = mesh("BlockMesh", prt, "", "", vt(0, 0, 0), vt(x1, 1, z1))
  1722. game:GetService("Debris"):AddItem(prt, 5)
  1723. coroutine.resume(coroutine.create(function(Part, Mesh)
  1724. local rtype = rottype
  1725. for i = 0, 1, delay do
  1726. swait()
  1727. if rtype == 1 then
  1728. prt.CFrame = prt.CFrame * CFrame.Angles(0, 0.1, 0)
  1729. elseif rtype == 2 then
  1730. prt.CFrame = prt.CFrame * CFrame.Angles(0, -0.1, 0)
  1731. end
  1732. prt.Transparency = i
  1733. Mesh.Scale = Mesh.Scale + vt(x3, 0, z3)
  1734. end
  1735. Part.Parent = nil
  1736. end), prt, msh)
  1737. end
  1738. function MagicShockTrailAlt(brickcolor, cframe, x1, y1, z1, x3, y3, delay, rottype)
  1739. local prt = part(3, char, 0, 0, brickcolor, "Effect", vt(0.5, 0.5, 0.5))
  1740. prt.Anchored = true
  1741. prt.Material = "Neon"
  1742. prt.CFrame = cframe
  1743. msh = mesh("BlockMesh", prt, "", "", vt(0, 0, 0), vt(x1, y1, z1))
  1744. game:GetService("Debris"):AddItem(prt, 5)
  1745. coroutine.resume(coroutine.create(function(Part, Mesh)
  1746. local rtype = rottype
  1747. for i = 0, 1, delay do
  1748. swait()
  1749. if rtype == 1 then
  1750. prt.CFrame = prt.CFrame * CFrame.Angles(0, 0, 0.1)
  1751. elseif rtype == 2 then
  1752. prt.CFrame = prt.CFrame * CFrame.Angles(0, 0, -0.1)
  1753. end
  1754. prt.Transparency = i
  1755. Mesh.Scale = Mesh.Scale + vt(x3, y3, 0)
  1756. end
  1757. Part.Parent = nil
  1758. end), prt, msh)
  1759. end
  1760. function MagicShockTrailAlt2(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, rottype)
  1761. local prt = part(3, char, 0, 0, brickcolor, "Effect", vt(0.5, 0.5, 0.5))
  1762. prt.Anchored = true
  1763. prt.Material = "Neon"
  1764. prt.CFrame = cframe
  1765. msh = mesh("BlockMesh", prt, "", "", vt(0, 0, 0), vt(x1, y1, z1))
  1766. game:GetService("Debris"):AddItem(prt, 5)
  1767. coroutine.resume(coroutine.create(function(Part, Mesh)
  1768. local rtype = rottype
  1769. for i = 0, 1, delay do
  1770. swait()
  1771. if rtype == 1 then
  1772. prt.CFrame = prt.CFrame * CFrame.Angles(0, 0, 0.1)
  1773. elseif rtype == 2 then
  1774. prt.CFrame = prt.CFrame * CFrame.Angles(0, 0, -0.1)
  1775. end
  1776. prt.Transparency = i
  1777. Mesh.Scale = Mesh.Scale + vt(x3, y3, z3)
  1778. end
  1779. Part.Parent = nil
  1780. end), prt, msh)
  1781. end
  1782. function MagicBlock2(brickcolor, cframe, Parent, x1, y1, z1, x3, y3, z3, delay)
  1783. local prt = part(3, char, 0, 0, brickcolor, "Effect", vt(0.5, 0.5, 0.5))
  1784. prt.Anchored = false
  1785. prt.CFrame = cframe
  1786. msh = mesh("BlockMesh", prt, "", "", vt(0, 0, 0), vt(x1, y1, z1))
  1787. local wld = weld(prt, prt, Parent, cframe)
  1788. game:GetService("Debris"):AddItem(prt, 5)
  1789. coroutine.resume(coroutine.create(function(Part, Mesh, Weld)
  1790. for i = 0, 1, delay do
  1791. wait()
  1792. Weld.C0 = euler(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)) * cframe
  1793. Part.Transparency = i
  1794. Mesh.Scale = Mesh.Scale + vt(x3, y3, z3)
  1795. end
  1796. Part.Parent = nil
  1797. end), prt, msh, wld)
  1798. end
  1799. function MagicBlock3(brickcolor, cframe, Parent, x1, y1, z1, x3, y3, z3, delay)
  1800. local prt = part(3, workspace, 0, 0, brickcolor, "Effect", vt(0.5, 0.5, 0.5))
  1801. prt.Anchored = false
  1802. prt.CFrame = cframe
  1803. msh = mesh("BlockMesh", prt, "", "", vt(0, 0, 0), vt(x1, y1, z1))
  1804. local wld = weld(prt, prt, Parent, euler(0, 0, 0) * cf(0, 0, 0))
  1805. game:GetService("Debris"):AddItem(prt, 5)
  1806. coroutine.resume(coroutine.create(function(Part, Mesh, Weld)
  1807. for i = 0, 1, delay do
  1808. wait()
  1809. Weld.C0 = euler(i * 20, 0, 0)
  1810. Part.Transparency = i
  1811. Mesh.Scale = Mesh.Scale + vt(x3, y3, z3)
  1812. end
  1813. Part.Parent = nil
  1814. end), prt, msh, wld)
  1815. end
  1816. function MagicCircle2(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  1817. local prt = part(3, workspace, 0, 0, brickcolor, "Effect", vt(0.5, 0.5, 0.5))
  1818. prt.Anchored = true
  1819. prt.CFrame = cframe
  1820. local msh = mesh("CylinderMesh", prt, "", "", vt(0, 0, 0), vt(x1, y1, z1))
  1821. game:GetService("Debris"):AddItem(prt, 2)
  1822. coroutine.resume(coroutine.create(function(Part, Mesh)
  1823. for i = 0, 1, delay do
  1824. wait()
  1825. Part.CFrame = Part.CFrame
  1826. Mesh.Scale = Mesh.Scale + vt(x3, y3, z3)
  1827. local prt2 = part(3, workspace, 0, 0, brickcolor, "Effect", vt(0.5, 0.5, 0.5))
  1828. prt2.Anchored = true
  1829. prt2.CFrame = cframe * euler(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  1830. local msh2 = mesh("SpecialMesh", prt2, "Sphere", "", vt(0, 0, 0), vt(0.5, 0.5, 0.5))
  1831. game:GetService("Debris"):AddItem(prt2, 2)
  1832. coroutine.resume(coroutine.create(function(Part, Mesh)
  1833. for i = 0, 1, 0.1 do
  1834. wait()
  1835. Part.CFrame = Part.CFrame * cf(0, 0.5, 0)
  1836. end
  1837. Part.Parent = nil
  1838. end), prt2, msh2)
  1839. end
  1840. for i = 0, 1, delay * 2 do
  1841. wait()
  1842. Part.CFrame = Part.CFrame
  1843. Mesh.Scale = vt(x1 + x3 - (x1 + x3) * i, y1 + y3 - (y1 + y3) * i, z1 + z3 - (z1 + z3) * i)
  1844. end
  1845. Part.Parent = nil
  1846. end), prt, msh)
  1847. end
  1848. function MagicCircle(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  1849. local prt = part(3, workspace, 0, 0, brickcolor, "Effect", vt(0.5, 0.5, 0.5))
  1850. prt.Anchored = true
  1851. prt.CFrame = cframe
  1852. local msh = mesh("SpecialMesh", prt, "Sphere", "", vt(0, 0, 0), vt(x1, y1, z1))
  1853. game:GetService("Debris"):AddItem(prt, 2)
  1854. coroutine.resume(coroutine.create(function(Part, Mesh)
  1855. for i = 0, 1, delay do
  1856. wait()
  1857. Part.CFrame = Part.CFrame
  1858. Part.Transparency = i
  1859. Mesh.Scale = Mesh.Scale + vt(x3, y3, z3)
  1860. end
  1861. Part.Parent = nil
  1862. end), prt, msh)
  1863. end
  1864. function BreakEffect(brickcolor, cframe, x1, y1, z1)
  1865. local prt = part(3, workspace, 0, 0, brickcolor, "Effect", vt(0.5, 0.5, 0.5))
  1866. prt.Anchored = true
  1867. prt.CFrame = cframe * euler(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  1868. local msh = mesh("SpecialMesh", prt, "Sphere", "", vt(0, 0, 0), vt(x1, y1, z1))
  1869. game:GetService("Debris"):AddItem(prt, 2)
  1870. coroutine.resume(coroutine.create(function(Part, CF, Numbb, randnumb)
  1871. CF = Part.CFrame
  1872. Numbb = 0
  1873. randnumb = math.random() / 10
  1874. rand1 = math.random() / 10
  1875. for i = 0, 1, rand1 do
  1876. wait()
  1877. CF = CF * cf(0, math.random() / 2, 0)
  1878. Part.CFrame = CF * euler(Numbb, 0, 0)
  1879. Part.Transparency = i
  1880. Numbb = Numbb + randnumb
  1881. end
  1882. Part.Parent = nil
  1883. end), prt, CF, Numbb, randnumb)
  1884. end
  1885. function MagicWaveThing(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  1886. local prt = part(3, workspace, 0, 0, brickcolor, "Effect", vt(0.5, 0.5, 0.5))
  1887. prt.Anchored = true
  1888. prt.CFrame = cframe
  1889. msh = mesh("SpecialMesh", prt, "FileMesh", "http://www.roblox.com/asset/?id=1051557", vt(0, 0, 0), vt(x1, y1, z1))
  1890. game:GetService("Debris"):AddItem(prt, 5)
  1891. coroutine.resume(coroutine.create(function(Part, Mesh)
  1892. for i = 0, 1, delay do
  1893. wait()
  1894. Part.CFrame = Part.CFrame * euler(0, 0.7, 0)
  1895. Part.Transparency = i
  1896. Mesh.Scale = Mesh.Scale + vt(x3, y3, z3)
  1897. end
  1898. Part.Parent = nil
  1899. end), prt, msh)
  1900. end
  1901. function WaveEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  1902. local prt = part(3, workspace, 0, 0, brickcolor, "Effect", vt(0.5, 0.5, 0.5))
  1903. prt.Anchored = true
  1904. prt.CFrame = cframe
  1905. msh = mesh("SpecialMesh", prt, "FileMesh", "http://www.roblox.com/asset/?id=20329976", vt(0, 0, 0), vt(x1, y1, z1))
  1906. game:GetService("Debris"):AddItem(prt, 2)
  1907. coroutine.resume(coroutine.create(function(Part, Mesh)
  1908. for i = 0, 1, delay do
  1909. wait()
  1910. Part.CFrame = Part.CFrame * cf(0, y3 / 2, 0)
  1911. Part.Transparency = i
  1912. Mesh.Scale = Mesh.Scale + vt(x3, y3, z3)
  1913. end
  1914. Part.Parent = nil
  1915. end), prt, msh)
  1916. end
  1917. function StravEffect(brickcolor, cframe, x, y, z, x1, y1, z1, delay)
  1918. local prt = part(3, workspace, 0, 0, brickcolor, "Effect", vt(0.5, 0.5, 0.5))
  1919. prt.Anchored = true
  1920. prt.CFrame = cframe * cf(x, y, z)
  1921. msh = mesh("SpecialMesh", prt, "FileMesh", "rbxassetid://168892363", vt(0, 0, 0), vt(x1, y1, z1))
  1922. game:GetService("Debris"):AddItem(prt, 5)
  1923. coroutine.resume(coroutine.create(function(Part, Mesh, ex, why, zee)
  1924. local num = math.random()
  1925. local num2 = math.random(-3, 2) + math.random()
  1926. local numm = 0
  1927. for i = 0, 1, delay * 2 do
  1928. swait()
  1929. Part.CFrame = cframe * euler(0, numm * num * 10, 0) * cf(ex, why, zee) * cf(-i * 10, num2, 0)
  1930. Part.Transparency = i
  1931. numm = numm + 0.01
  1932. end
  1933. Part.Parent = nil
  1934. Mesh.Parent = nil
  1935. end), prt, msh, x, y, z)
  1936. end
  1937. function dmgstart(dmg, what)
  1938. hitcon = what.Touched:connect(function(hit)
  1939. local hum = hit.Parent:FindFirstChild("Humanoid")
  1940. if hum and not hum:IsDescendantOf(Character) then
  1941. hum:TakeDamage(dmg)
  1942. end
  1943. end)
  1944. end
  1945. function dmgstop()
  1946. hitcon:disconnect()
  1947. end
  1948. function Cloak()
  1949. Face.Parent = nil
  1950. cloaked = true
  1951. for _, v in pairs(Torso.Parent:children()) do
  1952. if v.className == "Part" and v.Name ~= "HumanoidRootPart" then
  1953. coroutine.resume(coroutine.create(function()
  1954. for i = 0, 1, 0.2 do
  1955. wait()
  1956. v.Transparency = i
  1957. end
  1958. v.Transparency = 1
  1959. end))
  1960. end
  1961. if v.className == "Hat" then
  1962. hatp = v.Handle
  1963. coroutine.resume(coroutine.create(function(derp)
  1964. for i = 0, 1, 0.2 do
  1965. wait()
  1966. derp.Transparency = i
  1967. end
  1968. derp.Transparency = 1
  1969. end), hatp)
  1970. end
  1971. end
  1972. for _, v in pairs(m:children()) do
  1973. if v.className == "Part" then
  1974. coroutine.resume(coroutine.create(function()
  1975. for i = 0, 1, 0.2 do
  1976. wait()
  1977. v.Transparency = i
  1978. end
  1979. v.Transparency = 1
  1980. end))
  1981. end
  1982. end
  1983. end
  1984. function UnCloak()
  1985. so("http://roblox.com/asset/?id=2767090", Torso, 1, 1.1)
  1986. Face.Parent = Head
  1987. cloaked = false
  1988. for _, v in pairs(Torso.Parent:children()) do
  1989. if v.className == "Part" and v.Name ~= "HumanoidRootPart" then
  1990. coroutine.resume(coroutine.create(function()
  1991. for i = 0, 1, 0.1 do
  1992. wait()
  1993. v.Transparency = v.Transparency - 0.1
  1994. end
  1995. v.Transparency = 0
  1996. end))
  1997. end
  1998. if v.className == "Hat" then
  1999. hatp = v.Handle
  2000. coroutine.resume(coroutine.create(function(derp)
  2001. for i = 0, 1, 0.1 do
  2002. wait()
  2003. derp.Transparency = derp.Transparency - 0.1
  2004. end
  2005. derp.Transparency = 0
  2006. end), hatp)
  2007. end
  2008. end
  2009. for _, v in pairs(m:children()) do
  2010. if v.className == "Part" and v.Name ~= "hitbox" and v.Name ~= "tip" then
  2011. coroutine.resume(coroutine.create(function()
  2012. for i = 0, 1, 0.1 do
  2013. wait()
  2014. v.Transparency = v.Transparency - 0.1
  2015. end
  2016. v.Transparency = 0
  2017. end))
  2018. v.Transparency = 0
  2019. end
  2020. end
  2021. end
  2022. local origcolor = BrickColor.new("Pastel light blue")
  2023. function Explode(rad, par, pitch, vol, mindam, maxdam)
  2024. local expart = Instance.new("Part", char)
  2025. local expart2 = Instance.new("Part", char)
  2026. local rin = Instance.new("Part", char)
  2027. local rin2 = Instance.new("Part", char)
  2028. local partMesh = Instance.new("SpecialMesh", expart)
  2029. partMesh.MeshType = "Sphere"
  2030. local partMesh2 = Instance.new("SpecialMesh", expart2)
  2031. partMesh2.MeshType = "Sphere"
  2032. local partMesh3 = Instance.new("SpecialMesh", rin)
  2033. partMesh3.MeshType = "Brick"
  2034. local partMesh4 = Instance.new("SpecialMesh", rin2)
  2035. partMesh4.MeshType = "Brick"
  2036. CFuncs.Sound.Create("rbxassetid://165970126", expart, vol, pitch)
  2037. partMesh.Scale = vt(rad, rad, rad)
  2038. expart.Size = vt(1, 1, 1)
  2039. expart.Transparency = 0
  2040. expart.Anchored = true
  2041. expart.Material = "Neon"
  2042. expart.BrickColor = bc("White")
  2043. expart.CFrame = par.CFrame
  2044. partMesh2.Scale = vt(rad, rad, rad)
  2045. expart2.Size = vt(1.15, 1.15, 1.15)
  2046. expart2.Transparency = 0.5
  2047. expart2.Anchored = true
  2048. expart2.Material = "Neon"
  2049. expart2.BrickColor = par.BrickColor
  2050. expart2.CFrame = par.CFrame
  2051. rin.Size = vt(1.15, 1.15, 1.15)
  2052. rin.Transparency = 1
  2053. rin.Anchored = true
  2054. rin.Material = "Neon"
  2055. rin.BrickColor = par.BrickColor
  2056. rin.CFrame = par.CFrame * CFrame.Angles(math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360)))
  2057. rin2.Size = vt(1.15, 1.15, 1.15)
  2058. rin2.Transparency = 1
  2059. rin2.Anchored = true
  2060. rin2.Material = "Neon"
  2061. rin2.BrickColor = par.BrickColor
  2062. rin2.CFrame = par.CFrame * CFrame.Angles(math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360)))
  2063. partMesh3.Scale = vt(0, 1, 0)
  2064. partMesh4.Scale = vt(0, 1, 0)
  2065. local dec2 = Instance.new("Decal", rin)
  2066. dec2.Face = "Top"
  2067. dec2.Texture = "http://www.roblox.com/asset/?id=874580939"
  2068. dec2.Parent = rin
  2069. local dec2b = dec2:Clone()
  2070. dec2b.Face = "Bottom"
  2071. dec2b.Parent = rin
  2072. local dec2a = Instance.new("Decal", rin2)
  2073. dec2a.Face = "Top"
  2074. dec2a.Texture = "http://www.roblox.com/asset/?id=874580939"
  2075. dec2a.Parent = rin2
  2076. local dec2ab = dec2a:Clone()
  2077. dec2ab.Face = "Bottom"
  2078. dec2ab.Parent = rin2
  2079. expart.CanCollide = false
  2080. expart2.CanCollide = false
  2081. rin.CanCollide = false
  2082. rin2.CanCollide = false
  2083. MagniDamage(par, rad * 5, mindam, maxdam, 0, "Normal")
  2084. local value = 1 * rad / 6.5
  2085. for i = 0, 199 do
  2086. partMesh.Scale = partMesh.Scale + vt(value, value, value)
  2087. expart.CFrame = expart.CFrame
  2088. partMesh2.Scale = partMesh2.Scale + vt(value, value, value)
  2089. expart2.CFrame = expart.CFrame
  2090. value = value - 0.035 * rad / 30
  2091. if value < 7.5 then
  2092. partMesh3.Scale = partMesh3.Scale + vt(rad / 5, 0, rad / 5)
  2093. rin.CFrame = rin.CFrame * CFrame.Angles(0, math.rad(1), 0)
  2094. partMesh4.Scale = partMesh4.Scale + vt(rad / 7.5, 0, rad / 7.5)
  2095. rin2.CFrame = rin2.CFrame * CFrame.Angles(0, math.rad(-1), 0)
  2096. end
  2097. if value < 0 then
  2098. dec2.Transparency = dec2.Transparency + 0.025
  2099. dec2a.Transparency = dec2a.Transparency + 0.025
  2100. dec2b.Transparency = dec2b.Transparency + 0.025
  2101. dec2ab.Transparency = dec2ab.Transparency + 0.025
  2102. expart.Transparency = expart.Transparency + 0.025
  2103. expart2.Transparency = expart2.Transparency + 0.025
  2104. rin.Transparency = rin.Transparency + 0.025
  2105. rin2.Transparency = rin2.Transparency + 0.025
  2106. end
  2107. swait()
  2108. end
  2109. game:GetService("Debris"):AddItem(expart, 1)
  2110. game:GetService("Debris"):AddItem(expart2, 1)
  2111. game:GetService("Debris"):AddItem(rin, 1)
  2112. game:GetService("Debris"):AddItem(rin2, 1)
  2113. end
  2114. function ExplodeShort(rad, par, pitch, vol, mindam, maxdam)
  2115. local expart = Instance.new("Part", char)
  2116. local expart2 = Instance.new("Part", char)
  2117. local partMesh = Instance.new("SpecialMesh", expart)
  2118. partMesh.MeshType = "Sphere"
  2119. local partMesh2 = Instance.new("SpecialMesh", expart2)
  2120. partMesh2.MeshType = "Sphere"
  2121. CFuncs.Sound.Create("http://www.roblox.com/asset/?id=142070127", expart, vol, pitch)
  2122. partMesh.Scale = vt(rad, rad, rad)
  2123. expart.Size = vt(1, 1, 1)
  2124. expart.Transparency = 0
  2125. expart.Anchored = true
  2126. expart.Material = "Neon"
  2127. expart.BrickColor = bc("White")
  2128. expart.CFrame = par.CFrame
  2129. partMesh2.Scale = vt(rad, rad, rad)
  2130. expart2.Size = vt(1.15, 1.15, 1.15)
  2131. expart2.Transparency = 0.5
  2132. expart2.Anchored = true
  2133. expart2.Material = "Neon"
  2134. expart2.BrickColor = par.BrickColor
  2135. expart2.CFrame = par.CFrame
  2136. expart.CanCollide = false
  2137. expart2.CanCollide = false
  2138. MagniDamage(par, rad * 2.5, mindam, maxdam, 0, "Normal")
  2139. local value = 1 * rad / 6.5
  2140. for i = 0, 75 do
  2141. partMesh.Scale = partMesh.Scale + vt(value, value, value)
  2142. expart.CFrame = expart.CFrame
  2143. partMesh2.Scale = partMesh2.Scale + vt(value, value, value)
  2144. expart2.CFrame = expart.CFrame
  2145. value = value - 0.035 * rad / 5
  2146. if value < 0 then
  2147. value = 0
  2148. expart.Transparency = expart.Transparency + 0.05
  2149. expart2.Transparency = expart2.Transparency + 0.05
  2150. end
  2151. swait()
  2152. end
  2153. game:GetService("Debris"):AddItem(expart, 1)
  2154. game:GetService("Debris"):AddItem(expart2, 1)
  2155. end
  2156. function AreaDanger(rad, par, mindam, maxdam)
  2157. local expart = Instance.new("Part", char)
  2158. local partMesh = Instance.new("SpecialMesh", expart)
  2159. CFuncs.Sound.Create("rbxassetid://231917784", expart, 1.5, 1.15)
  2160. partMesh.MeshType = "Sphere"
  2161. partMesh.Scale = vt(rad, rad, rad)
  2162. expart.Size = vt(1, 1, 1)
  2163. expart.Transparency = 0.5
  2164. expart.Anchored = true
  2165. expart.Material = "Neon"
  2166. expart.CanCollide = false
  2167. expart.BrickColor = par.BrickColor
  2168. expart.CFrame = par.CFrame
  2169. local value = 1 * rad / 5
  2170. MagicBlock(origcolor, expart.CFrame, 0, 0, 0, rad / 2, rad / 2, rad / 2, 0.1)
  2171. for i = 0, 14 do
  2172. wait()
  2173. partMesh.Scale = partMesh.Scale + vt(value, value, value)
  2174. expart.CFrame = expart.CFrame
  2175. value = value - 0.035 * rad
  2176. if value < 0 then
  2177. value = 0
  2178. end
  2179. end
  2180. wait(0.25)
  2181. CFuncs.Sound.Create("rbxassetid://588738544", expart, 1.5, 1)
  2182. wait(0.5)
  2183. CFuncs.Sound.Create("rbxassetid://588737825", expart, 1.5, 1)
  2184. CFuncs.Sound.Create("rbxassetid://231917784", expart, 1.5, 0.75)
  2185. MagniDamageWithEffect(par, rad, mindam, maxdam, 0, "Normal")
  2186. MagicBlock(origcolor, expart.CFrame, rad * 2, rad * 2, rad * 2, 0.1, 0.1, 0.1, 0.025)
  2187. for i = 0, 14 do
  2188. wait()
  2189. partMesh.Scale = partMesh.Scale + vt(value, value, value)
  2190. expart.CFrame = expart.CFrame
  2191. value = value - 0.035 * rad / 2
  2192. end
  2193. expart.Transparency = 1
  2194. game:GetService("Debris"):AddItem(expart, 5)
  2195. end
  2196. function Swarmsplosions(negrad, rad, par, mindam, maxdam)
  2197. CFuncs.Sound.Create("rbxassetid://588737825", par, 2.5, 2)
  2198. CFuncs.Sound.Create("rbxassetid://231917784", par, 2.5, 1)
  2199. CFuncs.Sound.Create("rbxassetid://231917744", par, 2.5, 1)
  2200. CFuncs.Sound.Create("rbxassetid://233856106", par, 2.5, 1)
  2201. MagniDamageWithEffect(par, 25, 5, 10, 0, "Normal")
  2202. MagicBlock(origcolor, par.CFrame, 5, 5, 5, 5, 5, 5, 0.025)
  2203. for i = 0, 24 do
  2204. 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))
  2205. end
  2206. for i = 0, 24 do
  2207. local expart = Instance.new("Part", char)
  2208. expart.Transparency = 1
  2209. expart.Anchored = true
  2210. expart.CanCollide = false
  2211. expart.CFrame = par.CFrame * CFrame.new(math.random(negrad, rad), math.random(negrad, rad), math.random(negrad, rad))
  2212. CFuncs.Sound.Create("rbxassetid://588737825", expart, 1, 2)
  2213. CFuncs.Sound.Create("rbxassetid://231917784", expart, 1.5, 1.15)
  2214. MagniDamage(expart, rad / 2, mindam, maxdam, 0, "Normal")
  2215. MagicBlock(origcolor, expart.CFrame, rad, rad, rad, 0.1, 0.1, 0.1, 0.025)
  2216. for i = 0, 9 do
  2217. 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))
  2218. end
  2219. game:GetService("Debris"):AddItem(expart, 2)
  2220. wait(0.1)
  2221. end
  2222. end
  2223. function EXterPlosion(par)
  2224. CFuncs.Sound.Create("rbxassetid://919941001", par, 10, 1)
  2225. CFuncs.Sound.Create("rbxassetid://138213851", par, 5, 0.85)
  2226. CFuncs.Sound.Create("rbxassetid://157878578", par, 5, 0.2)
  2227. CFuncs.Sound.Create("rbxassetid://233856106", par, 2.5, 1)
  2228. MagniDamageWithEffect(par, 500, 80, 99, 0, "Normal")
  2229. MagicBlock(origcolor, par.CFrame, 5, 5, 5, 5, 5, 5, 0.005)
  2230. MagicBlock(origcolor, par.CFrame, 0, 0, 0, 150, 150, 150, 0.1)
  2231. for i = 0, 24 do
  2232. 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))
  2233. end
  2234. for i = 0, 24 do
  2235. 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))
  2236. end
  2237. end
  2238. function ring(type, pos, scale, value)
  2239. local type = type
  2240. local rng = Instance.new("Part", char)
  2241. rng.Anchored = true
  2242. rng.BrickColor = origcolor
  2243. rng.CanCollide = false
  2244. rng.FormFactor = 3
  2245. rng.Name = "Ring"
  2246. rng.Size = Vector3.new(1, 1, 1)
  2247. rng.Transparency = 0
  2248. rng.TopSurface = 0
  2249. rng.BottomSurface = 0
  2250. rng.CFrame = pos
  2251. local rngm = Instance.new("SpecialMesh", rng)
  2252. rngm.MeshId = "http://www.roblox.com/asset/?id=3270017"
  2253. rngm.Scale = scale
  2254. local scaler2 = 1
  2255. if type == "Add" then
  2256. scaler2 = 1 * value
  2257. elseif type == "Divide" then
  2258. scaler2 = 1 / value
  2259. end
  2260. coroutine.resume(coroutine.create(function()
  2261. for i = 0, 10, 0.1 do
  2262. swait()
  2263. if type == "Add" then
  2264. scaler2 = scaler2 - 0.01 * value
  2265. elseif type == "Divide" then
  2266. scaler2 = scaler2 - 0.01 / value
  2267. end
  2268. rng.Transparency = rng.Transparency + 0.01
  2269. rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, 0)
  2270. end
  2271. rng:Destroy()
  2272. end))
  2273. end
  2274. function wave(type, pos, scale, value)
  2275. local type = type
  2276. local rng = Instance.new("Part", char)
  2277. rng.Anchored = true
  2278. rng.BrickColor = origcolor
  2279. rng.CanCollide = false
  2280. rng.FormFactor = 3
  2281. rng.Name = "Ring"
  2282. rng.Size = Vector3.new(1, 1, 1)
  2283. rng.Transparency = 0
  2284. rng.TopSurface = 0
  2285. rng.BottomSurface = 0
  2286. rng.CFrame = pos
  2287. local rngm = Instance.new("SpecialMesh", rng)
  2288. rngm.MeshId = "http://www.roblox.com/asset/?id=20329976"
  2289. rngm.Scale = scale
  2290. local scaler2 = 1
  2291. if type == "Add" then
  2292. scaler2 = 1 * value
  2293. elseif type == "Divide" then
  2294. scaler2 = 1 / value
  2295. end
  2296. coroutine.resume(coroutine.create(function()
  2297. for i = 0, 10, 0.1 do
  2298. swait()
  2299. if type == "Add" then
  2300. scaler2 = scaler2 - 0.01 * value
  2301. elseif type == "Divide" then
  2302. scaler2 = scaler2 - 0.01 / value
  2303. end
  2304. rng.Transparency = rng.Transparency + 0.01
  2305. rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, scaler2)
  2306. end
  2307. rng:Destroy()
  2308. end))
  2309. end
  2310. function wind(type, pos, scale, value, speed)
  2311. local type = type
  2312. local rng = Instance.new("Part", char)
  2313. rng.Anchored = true
  2314. rng.BrickColor = origcolor
  2315. rng.CanCollide = false
  2316. rng.FormFactor = 3
  2317. rng.Name = "Ring"
  2318. rng.Size = Vector3.new(1, 1, 1)
  2319. rng.Transparency = 0
  2320. rng.TopSurface = 0
  2321. rng.BottomSurface = 0
  2322. rng.CFrame = pos
  2323. local rngm = Instance.new("SpecialMesh", rng)
  2324. rngm.MeshId = "http://www.roblox.com/asset/?id=1051557"
  2325. rngm.Scale = scale
  2326. local scaler2 = 1
  2327. if type == "Add" then
  2328. scaler2 = 1 * value
  2329. elseif type == "Divide" then
  2330. scaler2 = 1 / value
  2331. end
  2332. coroutine.resume(coroutine.create(function()
  2333. for i = 0, 10, 0.1 do
  2334. swait()
  2335. if type == "Add" then
  2336. scaler2 = scaler2 - 0.01 * value
  2337. elseif type == "Divide" then
  2338. scaler2 = scaler2 - 0.01 / value
  2339. end
  2340. rng.CFrame = rng.CFrame * CFrame.Angles(0, 0.025 * speed, 0)
  2341. rng.Transparency = rng.Transparency + 0.01
  2342. rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, scaler2)
  2343. end
  2344. rng:Destroy()
  2345. end))
  2346. end
  2347. function groundwind(type, pos, scale, value, speed)
  2348. local type = type
  2349. local rng = Instance.new("Part", char)
  2350. rng.Anchored = true
  2351. rng.BrickColor = origcolor
  2352. rng.CanCollide = false
  2353. rng.FormFactor = 3
  2354. rng.Name = "Ring"
  2355. rng.Size = Vector3.new(1, 1, 1)
  2356. rng.Transparency = 0
  2357. rng.TopSurface = 0
  2358. rng.BottomSurface = 0
  2359. rng.CFrame = pos
  2360. local rngm = Instance.new("SpecialMesh", rng)
  2361. rngm.MeshId = "http://www.roblox.com/asset/?id=1051557"
  2362. rngm.Scale = scale
  2363. local scaler2 = 1
  2364. if type == "Add" then
  2365. scaler2 = 1 * value
  2366. elseif type == "Divide" then
  2367. scaler2 = 1 / value
  2368. end
  2369. coroutine.resume(coroutine.create(function()
  2370. for i = 0, 10, 0.1 do
  2371. swait()
  2372. if type == "Add" then
  2373. scaler2 = scaler2 - 0.01 * value
  2374. elseif type == "Divide" then
  2375. scaler2 = scaler2 - 0.01 / value
  2376. end
  2377. rng.CFrame = rng.CFrame * CFrame.Angles(0, 0.025 * speed, 0)
  2378. rng.Transparency = rng.Transparency + 0.01
  2379. rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2 / 5, scaler2)
  2380. end
  2381. rng:Destroy()
  2382. end))
  2383. end
  2384. function CameraManager()
  2385. if TwoD and not CamInterrupt then
  2386. if Humanoid.Health > 0 then
  2387. Camera.CameraSubject = Humanoid
  2388. Camera.CameraType = "Scriptable"
  2389. Humanoid.AutoRotate = false
  2390. if Booleans.GyroUse then
  2391. Directer.MaxTorque = Vec3(0, huge, 0)
  2392. else
  2393. Directer.MaxTorque = Vec3(0, 0, 0)
  2394. end
  2395. if TargetInfo[1] ~= nil and TargetInfo[2] ~= nil then
  2396. if Booleans.CamFollow then
  2397. CPart.CFrame = cFrame(RootPart.Position, Vec3(TargetInfo[1].Position.X, RootPart.Position.Y, TargetInfo[1].Position.Z))
  2398. Directer.CFrame = cFrame((RootPart.CFrame * cFrame(0, 0, 10)).p, TargetInfo[1].Position)
  2399. else
  2400. CPart.Position = RootPart.Position
  2401. end
  2402. else
  2403. local ahead = (RootPart.CFrame * cFrame(0, 0, -3)).p
  2404. CPart.CFrame = cFrame(RootPart.Position, Vec3(ahead.X, RootPart.Position.Y, ahead.Z))
  2405. end
  2406. Camera.CFrame = lerp(Camera.CFrame, CPart.CFrame * cFrame(25, 3, 0) * Euler(0, radian(90), 0), 0.2)
  2407. else
  2408. Camera.CameraSubject = Humanoid
  2409. Camera.CameraType = "Custom"
  2410. Controller.Disabled = false
  2411. end
  2412. end
  2413. end
  2414. function sphere(bonuspeed, type, pos, scale, value, color)
  2415. local type = type
  2416. local rng = Instance.new("Part", char)
  2417. rng.Anchored = true
  2418. rng.BrickColor = color
  2419. rng.CanCollide = false
  2420. rng.FormFactor = 3
  2421. rng.Name = "Ring"
  2422. rng.Material = "Neon"
  2423. rng.Size = Vector3.new(1, 1, 1)
  2424. rng.Transparency = 0
  2425. rng.TopSurface = 0
  2426. rng.BottomSurface = 0
  2427. rng.CFrame = pos
  2428. local rngm = Instance.new("SpecialMesh", rng)
  2429. rngm.MeshType = "Sphere"
  2430. rngm.Scale = scale
  2431. if rainbowmode == true then
  2432. rng.Color = Color3.new(r / 255, g / 255, b / 255)
  2433. end
  2434. local scaler2 = 1
  2435. if type == "Add" then
  2436. scaler2 = 1 * value
  2437. elseif type == "Divide" then
  2438. scaler2 = 1 / value
  2439. end
  2440. coroutine.resume(coroutine.create(function()
  2441. for i = 0, 10 / bonuspeed, 0.1 do
  2442. swait()
  2443. if rainbowmode == true then
  2444. rng.Color = Color3.new(r / 255, g / 255, b / 255)
  2445. end
  2446. if type == "Add" then
  2447. scaler2 = scaler2 - 0.01 * value / bonuspeed
  2448. elseif type == "Divide" then
  2449. scaler2 = scaler2 - 0.01 / value * bonuspeed
  2450. end
  2451. if chaosmode == true then
  2452. rng.BrickColor = BrickColor.random()
  2453. end
  2454. rng.Transparency = rng.Transparency + 0.01 * bonuspeed
  2455. rngm.Scale = rngm.Scale + Vector3.new(scaler2 * bonuspeed, scaler2 * bonuspeed, scaler2 * bonuspeed)
  2456. end
  2457. rng:Destroy()
  2458. end))
  2459. end
  2460. function sphereMK(bonuspeed, FastSpeed, type, pos, x1, y1, z1, value, color, outerpos)
  2461. local type = type
  2462. local rng = Instance.new("Part", char)
  2463. rng.Anchored = true
  2464. rng.BrickColor = color
  2465. rng.CanCollide = false
  2466. rng.FormFactor = 3
  2467. rng.Name = "Ring"
  2468. rng.Material = "Neon"
  2469. rng.Size = Vector3.new(1, 1, 1)
  2470. rng.Transparency = 0
  2471. rng.TopSurface = 0
  2472. rng.BottomSurface = 0
  2473. rng.CFrame = pos
  2474. rng.CFrame = rng.CFrame + rng.CFrame.lookVector * outerpos
  2475. local rngm = Instance.new("SpecialMesh", rng)
  2476. rngm.MeshType = "Sphere"
  2477. rngm.Scale = vt(x1, y1, z1)
  2478. if rainbowmode == true then
  2479. rng.Color = Color3.new(r / 255, g / 255, b / 255)
  2480. end
  2481. local scaler2 = 1
  2482. local speeder = FastSpeed
  2483. if type == "Add" then
  2484. scaler2 = 1 * value
  2485. elseif type == "Divide" then
  2486. scaler2 = 1 / value
  2487. end
  2488. coroutine.resume(coroutine.create(function()
  2489. for i = 0, 10 / bonuspeed, 0.1 do
  2490. swait()
  2491. if rainbowmode == true then
  2492. rng.Color = Color3.new(r / 255, g / 255, b / 255)
  2493. end
  2494. if type == "Add" then
  2495. scaler2 = scaler2 - 0.01 * value / bonuspeed
  2496. elseif type == "Divide" then
  2497. scaler2 = scaler2 - 0.01 / value * bonuspeed
  2498. end
  2499. if chaosmode == true then
  2500. rng.BrickColor = BrickColor.random()
  2501. end
  2502. speeder = speeder - 0.01 * FastSpeed * bonuspeed
  2503. rng.CFrame = rng.CFrame + rng.CFrame.lookVector * speeder * bonuspeed
  2504. rng.Transparency = rng.Transparency + 0.01 * bonuspeed
  2505. rngm.Scale = rngm.Scale + Vector3.new(scaler2 * bonuspeed, scaler2 * bonuspeed, 0)
  2506. end
  2507. rng:Destroy()
  2508. end))
  2509. end
  2510. function sphereMKCharge(bonuspeed, FastSpeed, type, pos, x1, y1, z1, value, color, outerpos)
  2511. local type = type
  2512. local rng = Instance.new("Part", char)
  2513. rng.Anchored = true
  2514. rng.BrickColor = color
  2515. rng.CanCollide = false
  2516. rng.FormFactor = 3
  2517. rng.Name = "Ring"
  2518. rng.Material = "Neon"
  2519. rng.Size = Vector3.new(1, 1, 1)
  2520. rng.Transparency = 1
  2521. rng.TopSurface = 0
  2522. rng.BottomSurface = 0
  2523. rng.CFrame = pos
  2524. rng.CFrame = rng.CFrame + rng.CFrame.lookVector * outerpos
  2525. local rngm = Instance.new("SpecialMesh", rng)
  2526. rngm.MeshType = "Sphere"
  2527. rngm.Scale = vt(x1, y1, z1)
  2528. if rainbowmode == true then
  2529. rng.Color = Color3.new(r / 255, g / 255, b / 255)
  2530. end
  2531. local scaler2 = 1
  2532. local speeder = FastSpeed
  2533. if type == "Add" then
  2534. scaler2 = 1 * value
  2535. elseif type == "Divide" then
  2536. scaler2 = 1 / value
  2537. end
  2538. coroutine.resume(coroutine.create(function()
  2539. for i = 0, 10 / bonuspeed, 0.1 do
  2540. swait()
  2541. if rainbowmode == true then
  2542. rng.Color = Color3.new(r / 255, g / 255, b / 255)
  2543. end
  2544. if type == "Add" then
  2545. scaler2 = scaler2 - 0.01 * value / bonuspeed
  2546. elseif type == "Divide" then
  2547. scaler2 = scaler2 - 0.01 / value * bonuspeed
  2548. end
  2549. if chaosmode == true then
  2550. rng.BrickColor = BrickColor.random()
  2551. end
  2552. speeder = speeder - 0.01 * FastSpeed * bonuspeed
  2553. rng.CFrame = rng.CFrame + rng.CFrame.lookVector * speeder * bonuspeed
  2554. rng.Transparency = rng.Transparency - 0.01 * bonuspeed
  2555. rngm.Scale = rngm.Scale + Vector3.new(scaler2 * bonuspeed, scaler2 * bonuspeed, 0)
  2556. end
  2557. rng:Destroy()
  2558. end))
  2559. end
  2560. function dmg(dude)
  2561. if dude.Name ~= Character then
  2562. local bgf = Instance.new("BodyGyro", dude.Head)
  2563. bgf.CFrame = bgf.CFrame * CFrame.fromEulerAnglesXYZ(math.rad(-90), 0, 0)
  2564. local val = Instance.new("BoolValue", dude)
  2565. val.Name = "IsHit"
  2566. local ds = coroutine.wrap(function()
  2567. dude:WaitForChild("Head"):BreakJoints()
  2568. wait(0.5)
  2569. targetted = nil
  2570. CFuncs.Sound.Create("rbxassetid://62339698", char, 0.5, 0.3)
  2571. coroutine.resume(coroutine.create(function()
  2572. for i, v in pairs(dude:GetChildren()) do
  2573. if v:IsA("Accessory") then
  2574. v:Destroy()
  2575. end
  2576. if v:IsA("Humanoid") then
  2577. v:Destroy()
  2578. end
  2579. if v:IsA("CharacterMesh") then
  2580. v:Destroy()
  2581. end
  2582. if v:IsA("Model") then
  2583. v:Destroy()
  2584. end
  2585. if v:IsA("Part") or v:IsA("MeshPart") then
  2586. for x, o in pairs(v:GetChildren()) do
  2587. if o:IsA("Decal") then
  2588. o:Destroy()
  2589. end
  2590. end
  2591. coroutine.resume(coroutine.create(function()
  2592. v.Material = "Neon"
  2593. v.CanCollide = false
  2594. local bld = Instance.new("ParticleEmitter", v)
  2595. bld.LightEmission = 1
  2596. bld.Texture = "rbxassetid://284205403"
  2597. bld.Color = ColorSequence.new(Color3.new(1, 1, 1))
  2598. bld.Rate = 50
  2599. bld.Lifetime = NumberRange.new(1)
  2600. bld.Size = NumberSequence.new({
  2601. NumberSequenceKeypoint.new(0, 0.75, 0),
  2602. NumberSequenceKeypoint.new(1, 0, 0)
  2603. })
  2604. bld.Transparency = NumberSequence.new({
  2605. NumberSequenceKeypoint.new(0, 0, 0),
  2606. NumberSequenceKeypoint.new(1, 1, 0)
  2607. })
  2608. bld.Speed = NumberRange.new(0, 0)
  2609. bld.VelocitySpread = 50000
  2610. bld.Rotation = NumberRange.new(-500, 500)
  2611. bld.RotSpeed = NumberRange.new(-500, 500)
  2612. local sbs = Instance.new("BodyPosition", v)
  2613. sbs.P = 3000
  2614. sbs.D = 1000
  2615. sbs.maxForce = Vector3.new(50000000000, 50000000000, 50000000000)
  2616. sbs.position = v.Position + Vector3.new(math.random(-5, 5), math.random(-5, 5), math.random(-5, 5))
  2617. v.Color = Color3.new(1, 1, 1)
  2618. coroutine.resume(coroutine.create(function()
  2619. for i = 0, 49 do
  2620. swait(1)
  2621. v.Transparency = v.Transparency + 0.02
  2622. end
  2623. CFuncs.Sound.Create("rbxassetid://1192402877", v, 0.25, 1)
  2624. bld.Speed = NumberRange.new(1, 5)
  2625. bld.Acceleration = vt(0, 10, 0)
  2626. wait(0.5)
  2627. bld.Enabled = false
  2628. wait(3)
  2629. v:Destroy()
  2630. dude:Destroy()
  2631. end))
  2632. end))
  2633. end
  2634. end
  2635. end))
  2636. end)
  2637. ds()
  2638. end
  2639. end
  2640. function FindNearestHead(Position, Distance, SinglePlayer)
  2641. if SinglePlayer then
  2642. return Distance > (SinglePlayer.Torso.CFrame.p - Position).magnitude
  2643. end
  2644. local List = {}
  2645. for i, v in pairs(workspace:GetChildren()) do
  2646. if v:IsA("Model") and v:findFirstChild("Head") and v ~= Character and Distance >= (v.Head.Position - Position).magnitude then
  2647. table.insert(List, v)
  2648. end
  2649. end
  2650. return List
  2651. end
  2652. function FaceMouse()
  2653. Cam = workspace.CurrentCamera
  2654. return {
  2655. CFrame.new(char.Torso.Position, Vector3.new(mouse.Hit.p.x, char.Torso.Position.y, mouse.Hit.p.z)),
  2656. Vector3.new(mouse.Hit.p.x, mouse.Hit.p.y, mouse.Hit.p.z)
  2657. }
  2658. end
  2659. function FaceMouse2()
  2660. Cam = workspace.CurrentCamera
  2661. return {
  2662. CFrame.new(char.Torso.Position, Vector3.new(mouse.Hit.p.x, mouse.Hit.p.y, mouse.Hit.p.z)),
  2663. Vector3.new(mouse.Hit.p.x, mouse.Hit.p.y, mouse.Hit.p.z)
  2664. }
  2665. end
  2666. local ModeOfGlitch = 1
  2667. local storehumanoidWS = 16
  2668. function ExtinctiveHeartbreak()
  2669. local targetted
  2670. if mouse.Target.Parent ~= Character and mouse.Target.Parent.Parent ~= Character and mouse.Target.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
  2671. targetted = mouse.Target.Parent
  2672. end
  2673. if targetted ~= nil then
  2674. attack = true
  2675. CFuncs.Sound.Create("rbxassetid://847061203", root, 2.5, 1)
  2676. for i = 0, 9 do
  2677. 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)
  2678. end
  2679. sphere(3, "Add", root.CFrame, vt(0, 0, 0), 0.25, BrickColor.new("Really black"))
  2680. local originalpos = root.CFrame
  2681. RootPart.CFrame = targetted.Head.CFrame * CFrame.new(0, -2, 2)
  2682. for i = 0, 9 do
  2683. 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)
  2684. end
  2685. hum.WalkSpeed = 0
  2686. targetted.Head.Anchored = true
  2687. sphere(3, "Add", root.CFrame, vt(0, 0, 0), 0.25, BrickColor.new("Really black"))
  2688. for i = 0, 2, 0.1 do
  2689. swait()
  2690. 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)
  2691. 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)
  2692. 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)
  2693. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(20), math.rad(0), math.rad(10)), 0.8)
  2694. 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)
  2695. 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)
  2696. end
  2697. coroutine.resume(coroutine.create(function()
  2698. bld = Instance.new("ParticleEmitter", targetted:WaitForChild("Torso"))
  2699. bld.LightEmission = 0.1
  2700. bld.Texture = "rbxassetid://284205403"
  2701. bld.Color = ColorSequence.new(Color3.new(0.5, 0, 0))
  2702. bld.Rate = 500
  2703. bld.Lifetime = NumberRange.new(1)
  2704. bld.Size = NumberSequence.new({
  2705. NumberSequenceKeypoint.new(0, 2, 0),
  2706. NumberSequenceKeypoint.new(1, 0, 0)
  2707. })
  2708. bld.Acceleration = vt(0, -25, 0)
  2709. bld.Transparency = NumberSequence.new({
  2710. NumberSequenceKeypoint.new(0, 0, 0),
  2711. NumberSequenceKeypoint.new(1, 0, 0)
  2712. })
  2713. bld.Speed = NumberRange.new(10, 50)
  2714. bld.EmissionDirection = "Front"
  2715. bld.VelocitySpread = 25
  2716. bld.Rotation = NumberRange.new(-500, 500)
  2717. bld.RotSpeed = NumberRange.new(-500, 500)
  2718. end))
  2719. coroutine.resume(coroutine.create(function()
  2720. bld = Instance.new("ParticleEmitter", targetted:WaitForChild("UpperTorso"))
  2721. bld.LightEmission = 0.1
  2722. bld.Texture = "rbxassetid://284205403"
  2723. bld.Color = ColorSequence.new(Color3.new(0.5, 0, 0))
  2724. bld.Rate = 500
  2725. bld.Lifetime = NumberRange.new(1)
  2726. bld.Size = NumberSequence.new({
  2727. NumberSequenceKeypoint.new(0, 2, 0),
  2728. NumberSequenceKeypoint.new(1, 0, 0)
  2729. })
  2730. bld.Acceleration = vt(0, -25, 0)
  2731. bld.Transparency = NumberSequence.new({
  2732. NumberSequenceKeypoint.new(0, 0, 0),
  2733. NumberSequenceKeypoint.new(1, 0, 0)
  2734. })
  2735. bld.Speed = NumberRange.new(10, 50)
  2736. bld.EmissionDirection = "Front"
  2737. bld.VelocitySpread = 25
  2738. bld.Rotation = NumberRange.new(-500, 500)
  2739. bld.RotSpeed = NumberRange.new(-500, 500)
  2740. end))
  2741. CameraEnshaking(5, 5)
  2742. game:GetService("Debris"):AddItem(bld, 3)
  2743. dmg(targetted)
  2744. CFuncs.Sound.Create("rbxassetid://429400881", targetted.Head, 1, 1)
  2745. for i = 0, 1, 0.1 do
  2746. swait()
  2747. 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)
  2748. 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)
  2749. 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)
  2750. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(20), math.rad(0), math.rad(80)), 0.8)
  2751. 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)
  2752. 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)
  2753. end
  2754. CFuncs.Sound.Create("rbxassetid://847061203", root, 2.5, 1)
  2755. for i = 0, 9 do
  2756. 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)
  2757. end
  2758. sphere(3, "Add", root.CFrame, vt(0, 0, 0), 0.25, BrickColor.new("Really black"))
  2759. root.CFrame = originalpos
  2760. for i = 0, 9 do
  2761. 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)
  2762. end
  2763. sphere(3, "Add", root.CFrame, vt(0, 0, 0), 0.25, BrickColor.new("Really black"))
  2764. bld.Enabled = false
  2765. attack = false
  2766. hum.WalkSpeed = storehumanoidWS
  2767. end
  2768. end
  2769. function PureBomb()
  2770. attack = true
  2771. local orb = Instance.new("Part", char)
  2772. orb.Anchored = true
  2773. orb.BrickColor = BrickColor.new("Really red")
  2774. orb.CanCollide = false
  2775. orb.FormFactor = 3
  2776. orb.Name = "Ring"
  2777. orb.Material = "Neon"
  2778. orb.Size = Vector3.new(1, 1, 1)
  2779. orb.Transparency = 0
  2780. orb.TopSurface = 0
  2781. orb.BottomSurface = 0
  2782. local orbm = Instance.new("SpecialMesh", orb)
  2783. orbm.MeshType = "Sphere"
  2784. orbm.Name = "SizeMesh"
  2785. orbm.Scale = vt(0, 0, 0)
  2786. local scaled = 0.1
  2787. local posid = 0
  2788. CFuncs.Sound.Create("rbxassetid://136007472", orb, 1, 1)
  2789. for i = 0, 5, 0.1 do
  2790. swait()
  2791. scaled = scaled - 0.001
  2792. posid = posid - scaled
  2793. orb.CFrame = rarm.CFrame * CFrame.new(0, -0.1 + posid / 1.05, 0)
  2794. orbm.Scale = orbm.Scale + vt(scaled, scaled, scaled)
  2795. 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("Really red"), 10)
  2796. 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)
  2797. 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)
  2798. 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)
  2799. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(0), math.rad(0), math.rad(0)), 0.1)
  2800. RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * angles(math.rad(180), math.rad(20), math.rad(0)), 0.1)
  2801. 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)
  2802. end
  2803. for i = 0, 2, 0.1 do
  2804. swait()
  2805. orb.CFrame = rarm.CFrame * CFrame.new(0, -0.1 + posid / 1.05, 0)
  2806. 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)
  2807. 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)
  2808. 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)
  2809. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(0), math.rad(0), math.rad(20)), 0.4)
  2810. RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * angles(math.rad(220), math.rad(20), math.rad(0)), 0.4)
  2811. 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)
  2812. end
  2813. coroutine.resume(coroutine.create(function()
  2814. orb.Anchored = false
  2815. CFuncs.Sound.Create("rbxassetid://260433768", root, 1.25, 1)
  2816. local a = Instance.new("Part", workspace)
  2817. a.Name = "Direction"
  2818. a.Anchored = true
  2819. a.BrickColor = bc("Bright red")
  2820. a.Material = "Neon"
  2821. a.Transparency = 1
  2822. a.CanCollide = false
  2823. local ray = Ray.new(orb.CFrame.p, (mouse.Hit.p - orb.CFrame.p).unit * 500)
  2824. local ignore = orb
  2825. local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  2826. a.BottomSurface = 10
  2827. a.TopSurface = 10
  2828. local distance = (orb.CFrame.p - position).magnitude
  2829. a.Size = Vector3.new(0.1, 0.1, 0.1)
  2830. a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, 0)
  2831. orb.CFrame = a.CFrame
  2832. a:Destroy()
  2833. local bv = Instance.new("BodyVelocity")
  2834. bv.maxForce = Vector3.new(1000000000, 1000000000, 1000000000)
  2835. bv.velocity = orb.CFrame.lookVector * 125
  2836. bv.Parent = orb
  2837. local hitted = false
  2838. game:GetService("Debris"):AddItem(orb, 15)
  2839. wait()
  2840. local hit = orb.Touched:connect(function(hit)
  2841. if hitted == false then
  2842. hitted = true
  2843. CameraEnshaking(10, 2.5)
  2844. CFuncs.Sound.Create("rbxassetid://151304356", orb, 5, 1)
  2845. MagniDamage(orb, 65, 65, 90, 0, "Normal")
  2846. sphere(1, "Add", orb.CFrame, vt(orbm.Scale.x, orbm.Scale.y, orbm.Scale.z), 1, BrickColor.new("Really red"))
  2847. sphere(2, "Add", orb.CFrame, vt(orbm.Scale.x, orbm.Scale.y, orbm.Scale.z), 2, BrickColor.new("Really red"))
  2848. for i = 0, 9 do
  2849. 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("Really red"), 0)
  2850. 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("Really red"), 0)
  2851. end
  2852. orb.Anchored = true
  2853. orb.Transparency = 1
  2854. wait(8)
  2855. orb:Destroy()
  2856. end
  2857. end)
  2858. end))
  2859. for i = 0, 1, 0.1 do
  2860. swait()
  2861. 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)
  2862. 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)
  2863. 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)
  2864. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(20), math.rad(0), math.rad(-50)), 0.4)
  2865. RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * angles(math.rad(60), math.rad(20), math.rad(50)), 0.4)
  2866. 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)
  2867. end
  2868. attack = false
  2869. end
  2870. function ChaosGroundStrike()
  2871. attack = true
  2872. for i = 0, 2, 0.1 do
  2873. swait()
  2874. 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)
  2875. 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)
  2876. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(-20), math.rad(0), math.rad(0)), 0.2)
  2877. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(-20), math.rad(0), math.rad(0)), 0.2)
  2878. RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * angles(math.rad(140), math.rad(0), math.rad(-20)), 0.2)
  2879. LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * angles(math.rad(140), math.rad(0), math.rad(20)), 0.2)
  2880. end
  2881. CFuncs.Sound.Create("rbxassetid://438666141", root, 7.5, 1)
  2882. CFuncs.Sound.Create("rbxassetid://1208650519", root, 7.5, 1)
  2883. CameraEnshaking(4, 12)
  2884. for i, v in pairs(FindNearestHead(Torso.CFrame.p, 52.5)) do
  2885. if v:FindFirstChild("Head") then
  2886. dmg(v)
  2887. end
  2888. end
  2889. sphere(5, "Add", root.CFrame * CFrame.new(0, -2.9, 0), vt(0, 0, 0), 1, BrickColor.random())
  2890. sphere(10, "Add", root.CFrame * CFrame.new(0, -2.9, 0), vt(0, 0, 0), 2, BrickColor.random())
  2891. sphere(1, "Add", root.CFrame * CFrame.new(0, -2.9, 0), vt(100, 0.1, 100), 0.01, BrickColor.random())
  2892. for i = 0, 2, 0.1 do
  2893. swait()
  2894. 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)
  2895. 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)
  2896. 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)
  2897. 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)
  2898. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(10), math.rad(0), math.rad(0)), 0.4)
  2899. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(10), math.rad(0), math.rad(0)), 0.4)
  2900. RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * angles(math.rad(-50), math.rad(0), math.rad(30)), 0.4)
  2901. LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * angles(math.rad(-50), math.rad(0), math.rad(-30)), 0.4)
  2902. end
  2903. attack = false
  2904. end
  2905.  
  2906. function GlitchedTeleport()
  2907. attack = true
  2908. CreateSound("333430981", hed, 5, 1)
  2909. for i = 1, 25 do
  2910. swait()
  2911. RightArm.Parent = RightArm
  2912. LeftArm.Parent = LeftArm
  2913. Torso.Parent = Torso
  2914. RightLeg.Parent = RightLeg
  2915. LeftLeg.Parent = LeftLeg
  2916. for _,v in next, char:GetDescendants() do
  2917. if(v:IsA'DataModelMesh')then
  2918. v.Offset = Vector3.new(math.random(-500,500)/200,math.random(-500,500)/200,math.random(-500,500)/200)
  2919. end
  2920. end
  2921. end
  2922. TorsoParent = nil
  2923. RightArm.Parent = nil
  2924. LeftArm.Parent = nil
  2925. RightLeg.Parent = nil
  2926. LeftLeg.Parent = nil
  2927. for _,v in next, char:GetDescendants() do
  2928. if(v:IsA'DataModelMesh')then
  2929. v.Offset = Vector3.new(0,0,0)
  2930. end
  2931. end
  2932. wait(.5)
  2933. root.CFrame = CFrame.new(CFrame.new(mouse.Hit.p)*CFrame.new(0,2.8,0).p,root.Position)
  2934. CreateSound("289556450", hed, 10, 1)
  2935. for i = 1, 60 do
  2936. swait()
  2937. RightArm.Parent = ra
  2938. LeftArm.Parent = la
  2939. TorsoParent.Parent = tors
  2940. RightLeg.Parent = rl
  2941. LeftLeg.Parent = ll
  2942. for _,v in next, char:GetDescendants() do
  2943. if(v:IsA'DataModelMesh')then
  2944. v.Offset = Vector3.new(math.random(-500,500)/200,math.random(-500,500)/200,math.random(-500,500)/200)
  2945. end
  2946. end
  2947. end
  2948. TorsoParent.Parent = nil
  2949. RightArm.Parent = nil
  2950. LeftArm.Parent = nil
  2951. RightLeg.Parent = nil
  2952. LeftLeg.Parent = nil
  2953. for _,v in next, char:GetDescendants() do
  2954. if(v:IsA'DataModelMesh')then
  2955. v.Offset = Vector3.new(0,0,0)
  2956. end
  2957. end
  2958. wait(1)
  2959. attack = false
  2960. end
  2961. function ChaosBegone()
  2962. attack = true
  2963. chatfunc("WHY WONT YOU PEOPLE...", BrickColor.random().Color)
  2964. for i = 0, 10, 0.1 do
  2965. swait()
  2966. 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)
  2967. 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)
  2968. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(-20), math.rad(0), math.rad(0)), 0.2)
  2969. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(-20), math.rad(0), math.rad(0)), 0.2)
  2970. RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * angles(math.rad(140), math.rad(0), math.rad(-20)), 0.2)
  2971. LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * angles(math.rad(140), math.rad(0), math.rad(20)), 0.2)
  2972. end
  2973. chatfunc("DIE!!", BrickColor.random().Color)
  2974. CFuncs.Sound.Create("rbxassetid://438666141", char, 7.5, 1)
  2975. CFuncs.Sound.Create("rbxassetid://1208650519", char, 7.5, 1)
  2976. CameraEnshaking(5, 25)
  2977. for i, v in pairs(FindNearestHead(Torso.CFrame.p, 1234567890)) do
  2978. if v:FindFirstChild("Head") then
  2979. dmg(v)
  2980. end
  2981. end
  2982. sphere(5, "Add", root.CFrame * CFrame.new(0, -2.9, 0), vt(0, 0, 0), 1000, BrickColor.random())
  2983. sphere(10, "Add", root.CFrame * CFrame.new(0, -2.9, 0), vt(0, 0, 0), 2000, BrickColor.random())
  2984. sphere(1, "Add", root.CFrame * CFrame.new(0, -2.9, 0), vt(100000, 0.1, 100000), 0.01, BrickColor.random())
  2985. for i = 0, 3, 0.1 do
  2986. swait()
  2987. 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)
  2988. 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)
  2989. 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)
  2990. 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)
  2991. 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)
  2992. 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)
  2993. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(10), math.rad(0), math.rad(0)), 0.4)
  2994. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(10), math.rad(0), math.rad(0)), 0.4)
  2995. RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * angles(math.rad(-50), math.rad(0), math.rad(30)), 0.4)
  2996. LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * angles(math.rad(-50), math.rad(0), math.rad(-30)), 0.4)
  2997. end
  2998. attack = false
  2999. end
  3000. function ChaosUltra()
  3001. attack = true
  3002. chatfunc("WHY DONT YOU KNOW..", BrickColor.random().Color)
  3003. for i = 0, 10, 0.1 do
  3004. swait()
  3005. 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)
  3006. 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)
  3007. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(-20), math.rad(0), math.rad(0)), 0.2)
  3008. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(-20), math.rad(0), math.rad(0)), 0.2)
  3009. RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * angles(math.rad(140), math.rad(0), math.rad(-20)), 0.2)
  3010. LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * angles(math.rad(140), math.rad(0), math.rad(20)), 0.2)
  3011. end
  3012. chatfunc("HOW TO DIE!!!!", BrickColor.random().Color)
  3013. CFuncs.Sound.Create("rbxassetid://438666141", char, 7.5, 1)
  3014. CFuncs.Sound.Create("rbxassetid://1208650519", char, 7.5, 1)
  3015. CameraEnshaking(5, 25)
  3016. for i, v in pairs(FindNearestHead(Torso.CFrame.p, 1234567890)) do
  3017. if v:FindFirstChild("Head") then
  3018. dmg(v)
  3019. end
  3020. end
  3021. sphere(5, "Add", root.CFrame * CFrame.new(0, -2.9, 0), vt(0, 0, 0), 1000, BrickColor.random())
  3022. sphere(10, "Add", root.CFrame * CFrame.new(0, -2.9, 0), vt(0, 0, 0), 2000, BrickColor.random())
  3023. sphere(1, "Add", root.CFrame * CFrame.new(0, -2.9, 0), vt(100000, 0.1, 100000), 0.01, BrickColor.random())
  3024. for i = 0, 3, 0.1 do
  3025. swait()
  3026. 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)
  3027. 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)
  3028. 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)
  3029. 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)
  3030. 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)
  3031. 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)
  3032. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(10), math.rad(0), math.rad(0)), 0.4)
  3033. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(10), math.rad(0), math.rad(0)), 0.4)
  3034. RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * angles(math.rad(-50), math.rad(0), math.rad(30)), 0.4)
  3035. LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * angles(math.rad(-50), math.rad(0), math.rad(-30)), 0.4)
  3036. end
  3037. attack = false
  3038. end
  3039. function orb_spawn_norm(positted, timer, color, MagniBoost, min, max, volEx, ShakePower, volSummon)
  3040. local orb = Instance.new("Part", char)
  3041. orb.Anchored = true
  3042. orb.BrickColor = color
  3043. orb.CanCollide = false
  3044. orb.FormFactor = 3
  3045. orb.Name = "Ring"
  3046. orb.Material = "Neon"
  3047. orb.Size = Vector3.new(1, 1, 1)
  3048. orb.Transparency = 0
  3049. orb.TopSurface = 0
  3050. orb.BottomSurface = 0
  3051. local orbm = Instance.new("SpecialMesh", orb)
  3052. orbm.MeshType = "Sphere"
  3053. orb.CFrame = positted
  3054. orbm.Name = "SizeMesh"
  3055. orbm.Scale = vt(1, 1, 1)
  3056. CFuncs.Sound.Create("rbxassetid://183763506", orb, volSummon, 1)
  3057. sphere(2.5, "Add", orb.CFrame, vt(1, 1, 1), 0.05, orb.BrickColor)
  3058. coroutine.resume(coroutine.create(function()
  3059. wait(timer)
  3060. CameraEnshaking(3, ShakePower)
  3061. orb.Transparency = 1
  3062. MagniDamage(orb, 3.5 * MagniBoost, min, max, 0, "Normal")
  3063. sphere(5, "Add", orb.CFrame, vt(1, 1, 1), 0.1 * MagniBoost, orb.BrickColor)
  3064. CFuncs.Sound.Create("rbxassetid://192410089", orb, volEx, 0.7)
  3065. wait(3)
  3066. orb:Destroy()
  3067. end))
  3068. end
  3069. function orb_spawn(positted, timer)
  3070. local randomcol = math.random(1, 2)
  3071. local orb = Instance.new("Part", char)
  3072. orb.Anchored = true
  3073. if randomcol == 1 then
  3074. orb.BrickColor = BrickColor.new("Really red")
  3075. elseif randomcol == 2 then
  3076. orb.BrickColor = BrickColor.new("Really black")
  3077. end
  3078. orb.CanCollide = false
  3079. orb.FormFactor = 3
  3080. orb.Name = "Ring"
  3081. orb.Material = "Neon"
  3082. orb.Size = Vector3.new(1, 1, 1)
  3083. orb.Transparency = 0
  3084. orb.TopSurface = 0
  3085. orb.BottomSurface = 0
  3086. local orbm = Instance.new("SpecialMesh", orb)
  3087. orbm.MeshType = "Sphere"
  3088. orb.CFrame = positted
  3089. orbm.Name = "SizeMesh"
  3090. orbm.Scale = vt(1, 1, 1)
  3091. CFuncs.Sound.Create("rbxassetid://183763506", orb, 1.5, 1)
  3092. sphere(2.5, "Add", orb.CFrame, vt(1, 1, 1), 0.025, orb.BrickColor)
  3093. for i = 0, 2 do
  3094. 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)
  3095. end
  3096. coroutine.resume(coroutine.create(function()
  3097. wait(timer)
  3098. CameraEnshaking(3, 2)
  3099. orb.Transparency = 1
  3100. MagniDamage(orb, 17.5, 10, 50, 0, "Normal")
  3101. sphere(5, "Add", orb.CFrame, vt(1, 1, 1), 0.5, orb.BrickColor)
  3102. for i = 0, 4 do
  3103. 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)
  3104. end
  3105. CFuncs.Sound.Create("rbxassetid://192410089", orb, 2, 0.7)
  3106. wait(3)
  3107. orb:Destroy()
  3108. end))
  3109. end
  3110. function scattercorrupt()
  3111. attack = true
  3112. local rot = 0
  3113. local randomrotations = math.random(1, 2)
  3114. local lookv = 2.5
  3115. local power = 5
  3116. sphere(1, "Add", root.CFrame, vt(1, 100000, 1), 0.5, BrickColor.new("Crimson"))
  3117. sphere(1, "Add", root.CFrame, vt(1, 1, 1), 0.75, BrickColor.new("Crimson"))
  3118. for i = 0, 9 do
  3119. sphereMK(1, 1.5, "Add", root.CFrame * CFrame.Angles(math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360))), 10, 10, 45, -0.1, BrickColor.new("Crimson"), 0)
  3120. end
  3121. CFuncs.Sound.Create("rbxassetid://180204650", char, 2.5, 0.6)
  3122. CFuncs.Sound.Create("rbxassetid://233856079", char, 1, 0.5)
  3123. CFuncs.Sound.Create("rbxassetid://1208650519", char, 2.5, 1)
  3124. CFuncs.Sound.Create("rbxassetid://239000203", char, 0.5, 0.75)
  3125. CFuncs.Sound.Create("rbxassetid://579687077", char, 0.5, 0.5)
  3126. local hite = Instance.new("Part", char)
  3127. hite.Anchored = true
  3128. hite.CanCollide = false
  3129. hite.FormFactor = 3
  3130. hite.Name = "Ring"
  3131. hite.Material = "Neon"
  3132. hite.Size = Vector3.new(1, 1, 1)
  3133. hite.Transparency = 1
  3134. hite.TopSurface = 0
  3135. hite.BottomSurface = 0
  3136. hite.CFrame = root.CFrame * CFrame.new(0, -2.5, 0)
  3137. local rem = Instance.new("Part", char)
  3138. rem.Anchored = true
  3139. rem.CanCollide = false
  3140. rem.FormFactor = 3
  3141. rem.Name = "Ring"
  3142. rem.Material = "Neon"
  3143. rem.Size = Vector3.new(1, 1, 1)
  3144. rem.Transparency = 1
  3145. rem.TopSurface = 0
  3146. rem.BottomSurface = 0
  3147. rem.CFrame = hite.CFrame
  3148. local rem2 = rem:Clone()
  3149. rem2.Parent = char
  3150. rem2.CFrame = rem.CFrame * CFrame.Angles(0, math.rad(90), 0)
  3151. local rem3 = rem:Clone()
  3152. rem3.Parent = char
  3153. rem3.CFrame = rem.CFrame * CFrame.Angles(0, math.rad(180), 0)
  3154. local rem4 = rem:Clone()
  3155. rem4.Parent = char
  3156. rem4.CFrame = rem.CFrame * CFrame.Angles(0, math.rad(270), 0)
  3157. hite:Destroy()
  3158. coroutine.resume(coroutine.create(function()
  3159. for i = 0, 24 do
  3160. swait(1)
  3161. if randomrotations == 1 then
  3162. rot = rot + 1
  3163. elseif randomrotations == 2 then
  3164. rot = rot - 1
  3165. end
  3166. power = power + 0.5
  3167. lookv = lookv + 7.5
  3168. rem.CFrame = rem.CFrame * CFrame.Angles(0, math.rad(rot), 0)
  3169. rem2.CFrame = rem.CFrame * CFrame.Angles(0, math.rad(90), 0)
  3170. rem3.CFrame = rem.CFrame * CFrame.Angles(0, math.rad(180), 0)
  3171. rem4.CFrame = rem.CFrame * CFrame.Angles(0, math.rad(270), 0)
  3172. orb_spawn_norm(rem.CFrame + rem.CFrame.lookVector * lookv, 3, BrickColor.new("Crimson"), power, 25, 75, 10, power / 5, 7.5)
  3173. orb_spawn_norm(rem2.CFrame + rem2.CFrame.lookVector * lookv, 3, BrickColor.new("Crimson"), power, 25, 75, 10, power / 5, 7.5)
  3174. orb_spawn_norm(rem3.CFrame + rem3.CFrame.lookVector * lookv, 3, BrickColor.new("Crimson"), power, 25, 75, 10, power / 5, 7.5)
  3175. orb_spawn_norm(rem4.CFrame + rem4.CFrame.lookVector * lookv, 3, BrickColor.new("Crimson"), power, 25, 75, 10, power / 5, 7.5)
  3176. end
  3177. end))
  3178. attack = false
  3179. end
  3180. function yinyangi()
  3181. attack = true
  3182. for i = 0, 2, 0.1 do
  3183. swait()
  3184. RH.C0 = clerp(RH.C0, cf(1, -0.25, -0.5) * angles(math.rad(0), math.rad(90), math.rad(0)) * angles(math.rad(-2.5), math.rad(0), math.rad(-20)), 0.2)
  3185. LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * angles(math.rad(0), math.rad(-90), math.rad(0)) * angles(math.rad(-2.5), math.rad(0), math.rad(20)), 0.2)
  3186. 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)
  3187. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(-20), math.rad(0), math.rad(0)), 0.2)
  3188. RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(90)), 0.2)
  3189. LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-90)), 0.2)
  3190. end
  3191. local bv = Instance.new("BodyVelocity")
  3192. bv.maxForce = Vector3.new(1000000000, 1000000000, 1000000000)
  3193. bv.velocity = root.CFrame.lookVector * 175
  3194. bv.Parent = root
  3195. for Rotations = 0, 9 do
  3196. for i = 0, 1, 0.5 do
  3197. swait()
  3198. bv.velocity = root.CFrame.lookVector * 175
  3199. 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)
  3200. 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)
  3201. 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)
  3202. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(-20), math.rad(0), math.rad(0)), 0.5)
  3203. RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(90)), 0.5)
  3204. LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-90)), 0.5)
  3205. end
  3206. orb_spawn(rarm.CFrame * CFrame.new(0, -1, 0), 2.5)
  3207. for i = 0, 1, 0.5 do
  3208. swait()
  3209. bv.velocity = root.CFrame.lookVector * 175
  3210. 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)
  3211. 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)
  3212. 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)
  3213. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(-20), math.rad(0), math.rad(0)), 0.5)
  3214. RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(90)), 0.5)
  3215. LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-90)), 0.5)
  3216. end
  3217. orb_spawn(rarm.CFrame * CFrame.new(0, -1, 0), 2.5)
  3218. for i = 0, 1, 0.5 do
  3219. swait()
  3220. bv.velocity = root.CFrame.lookVector * 175
  3221. 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)
  3222. 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)
  3223. 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)
  3224. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(-20), math.rad(0), math.rad(0)), 0.5)
  3225. RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(90)), 0.5)
  3226. LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-90)), 0.5)
  3227. end
  3228. orb_spawn(rarm.CFrame * CFrame.new(0, -1, 0), 2.5)
  3229. for i = 0, 1, 0.5 do
  3230. swait()
  3231. bv.velocity = root.CFrame.lookVector * 175
  3232. 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)
  3233. 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)
  3234. 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)
  3235. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(-20), math.rad(0), math.rad(0)), 0.5)
  3236. RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(90)), 0.5)
  3237. LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-90)), 0.5)
  3238. end
  3239. orb_spawn(rarm.CFrame * CFrame.new(0, -1, 0), 2.5)
  3240. end
  3241. bv:Destroy()
  3242. attack = false
  3243. end
  3244. function Wip()
  3245. attack = true
  3246. local rngb = Instance.new("Part", char)
  3247. rngb.Anchored = true
  3248. rngb.BrickColor = origcolor
  3249. rngb.CanCollide = false
  3250. rngb.FormFactor = 3
  3251. rngb.Name = "Ring"
  3252. rngb.Material = "Neon"
  3253. rngb.Size = Vector3.new(1, 0.05, 1)
  3254. rngb.Transparency = 1
  3255. rngb.TopSurface = 0
  3256. rngb.BottomSurface = 0
  3257. local rngmb = Instance.new("SpecialMesh", rngb)
  3258. rngmb.MeshType = "Brick"
  3259. rngmb.Name = "SizeMesh"
  3260. rngmb.Scale = vt(0, 1, 0)
  3261. local orb = rngb:Clone()
  3262. orb.Parent = char
  3263. orb.Transparency = 0
  3264. orb.BrickColor = BrickColor.new("White")
  3265. orb.Size = vt(1, 1, 1)
  3266. local orbmish = orb.SizeMesh
  3267. orbmish.Scale = vt(0, 0, 0)
  3268. orbmish.MeshType = "Sphere"
  3269. local orbe = rngb:Clone()
  3270. orbe.Parent = char
  3271. orbe.Transparency = 0.5
  3272. orbe.BrickColor = BrickColor.new("New Yeller")
  3273. orbe.Size = vt(1, 1, 1)
  3274. local orbmish2 = orbe.SizeMesh
  3275. orbmish2.Scale = vt(0, 0, 0)
  3276. orbmish2.MeshType = "Sphere"
  3277. orbe.Color = Color3.new(r / 255, g / 255, b / 255)
  3278. rngb:Destroy()
  3279. for i = 0, 5, 0.1 do
  3280. swait()
  3281. if rainbowmode == true then
  3282. orbe.Color = Color3.new(r / 255, g / 255, b / 255)
  3283. end
  3284. orb.CFrame = root.CFrame * CFrame.new(0, 0.5, 0) + root.CFrame.lookVector * 11.5
  3285. orbe.CFrame = root.CFrame * CFrame.new(0, 0.5, 0) + root.CFrame.lookVector * 11.5
  3286. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(90)), 0.3)
  3287. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(0), math.rad(0), math.rad(-90)), 0.3)
  3288. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(90)), 0.3)
  3289. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(10), math.rad(0), math.rad(-20)), 0.3)
  3290. 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)
  3291. 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)
  3292. RootPart.CFrame = FaceMouse()[1]
  3293. end
  3294. orbe.Transparency = 1
  3295. orb.Transparency = 1
  3296. orb.CFrame = root.CFrame * CFrame.new(0, 0.5, 0) + root.CFrame.lookVector * 5
  3297. CFuncs.Sound.Create("rbxassetid://294188875", char, 1, 1)
  3298. local a = Instance.new("Part", Character)
  3299. a.Name = "Direction"
  3300. a.Anchored = true
  3301. a.BrickColor = bc("White")
  3302. a.Material = "Neon"
  3303. a.Transparency = 0
  3304. a.Shape = "Cylinder"
  3305. a.CanCollide = false
  3306. local a2 = Instance.new("Part", Character)
  3307. a2.Name = "Direction"
  3308. a2.Anchored = true
  3309. a2.BrickColor = bc("New Yeller")
  3310. a2.Color = Color3.new(r / 255, g / 255, b / 255)
  3311. a2.Material = "Neon"
  3312. a2.Transparency = 0.5
  3313. a2.Shape = "Cylinder"
  3314. a2.CanCollide = false
  3315. local ba = Instance.new("Part", Character)
  3316. ba.Name = "HitDirect"
  3317. ba.Anchored = true
  3318. ba.BrickColor = bc("Really black")
  3319. ba.Material = "Neon"
  3320. ba.Transparency = 1
  3321. ba.CanCollide = false
  3322. local ray = Ray.new(orb.CFrame.p, (mouse.Hit.p - orb.CFrame.p).unit * 1000)
  3323. local ignore = Character
  3324. local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  3325. a.BottomSurface = 10
  3326. a.TopSurface = 10
  3327. a2.BottomSurface = 10
  3328. a2.TopSurface = 10
  3329. local distance = (orb.CFrame.p - position).magnitude
  3330. a.Size = Vector3.new(distance, 1, 1)
  3331. a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance / 2)
  3332. a2.Size = Vector3.new(distance, 1, 1)
  3333. a2.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance / 2)
  3334. ba.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance)
  3335. a.CFrame = a.CFrame * CFrame.Angles(0, math.rad(90), 0)
  3336. a2.CFrame = a2.CFrame * CFrame.Angles(0, math.rad(90), 0)
  3337. game:GetService("Debris"):AddItem(a, 20)
  3338. game:GetService("Debris"):AddItem(a2, 20)
  3339. game:GetService("Debris"):AddItem(ba, 20)
  3340. local msh = Instance.new("SpecialMesh", a)
  3341. msh.MeshType = "Cylinder"
  3342. msh.Scale = vt(1, 25, 25)
  3343. local msh2 = Instance.new("SpecialMesh", a2)
  3344. msh2.MeshType = "Cylinder"
  3345. msh2.Scale = vt(1, 30, 30)
  3346. for i = 0, 10, 0.1 do
  3347. swait()
  3348. CameraEnshaking(1, 5)
  3349. a2.Color = Color3.new(r / 255, g / 255, b / 255)
  3350. orb.CFrame = root.CFrame * CFrame.new(0, 0.5, 0) + root.CFrame.lookVector * 4
  3351. orbe.CFrame = root.CFrame * CFrame.new(0, 0.5, 0) + root.CFrame.lookVector * 4
  3352. ray = Ray.new(orb.CFrame.p, (mouse.Hit.p - orb.CFrame.p).unit * 1000)
  3353. hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  3354. distance = (orb.CFrame.p - position).magnitude
  3355. if typrot == 1 then
  3356. rotation = rotation + 2.5
  3357. elseif typrot == 2 then
  3358. rotation = rotation - 2.5
  3359. end
  3360. RootPart.CFrame = FaceMouse()[1]
  3361. a.Size = Vector3.new(distance, 1, 1)
  3362. a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance / 2)
  3363. a2.Size = Vector3.new(distance, 1, 1)
  3364. a2.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance / 2)
  3365. ba.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance)
  3366. a.CFrame = a.CFrame * CFrame.Angles(0, math.rad(90), 0)
  3367. a2.CFrame = a2.CFrame * CFrame.Angles(0, math.rad(90), 0)
  3368. msh.Scale = msh.Scale - vt(0, 0.25, 0.25)
  3369. msh2.Scale = msh2.Scale - vt(0, 0.3, 0.3)
  3370. 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)
  3371. 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)
  3372. MagniDamage(ba, 30, 500, 60000, 0, "Normal")
  3373. end
  3374. a:Destroy()
  3375. a2:Destroy()
  3376. ba:Destroy()
  3377. orb:Destroy()
  3378. orbe:Destroy()
  3379. attack = false
  3380. end
  3381. function UniversalSpark()
  3382. attack = true
  3383. chatfunc("CANT YOU DIE YET?!!", BrickColor.random().Color)
  3384. swait()
  3385. local rngb = Instance.new("Part", char)
  3386. rngb.Anchored = true
  3387. rngb.BrickColor = origcolor
  3388. rngb.CanCollide = false
  3389. rngb.FormFactor = 3
  3390. rngb.Name = "Ring"
  3391. rngb.Material = "Neon"
  3392. rngb.Size = Vector3.new(1, 0.05, 1)
  3393. rngb.Transparency = 1
  3394. rngb.TopSurface = 0
  3395. rngb.BottomSurface = 0
  3396. local rngmb = Instance.new("SpecialMesh", rngb)
  3397. rngmb.MeshType = "Brick"
  3398. rngmb.Name = "SizeMesh"
  3399. rngmb.Scale = vt(0, 1, 0)
  3400. local orb = rngb:Clone()
  3401. orb.Parent = char
  3402. orb.Transparency = 0
  3403. orb.BrickColor = BrickColor.new("White")
  3404. orb.Size = vt(1, 1, 1)
  3405. local orbmish = orb.SizeMesh
  3406. orbmish.Scale = vt(0, 0, 0)
  3407. orbmish.MeshType = "Sphere"
  3408. local orbe = rngb:Clone()
  3409. orbe.Parent = char
  3410. orbe.Transparency = 0.5
  3411. orbe.BrickColor = BrickColor.new("New Yeller")
  3412. orbe.Size = vt(1, 1, 1)
  3413. local orbmish2 = orbe.SizeMesh
  3414. orbmish2.Scale = vt(0, 0, 0)
  3415. orbmish2.MeshType = "Sphere"
  3416. orbe.Color = Color3.new(r / 255, g / 255, b / 255)
  3417. rngb:Destroy()
  3418. for i = 0, 5, 0.1 do
  3419. swait()
  3420. if rainbowmode == true then
  3421. orbe.Color = Color3.new(r / 255, g / 255, b / 255)
  3422. end
  3423. orb.CFrame = root.CFrame * CFrame.new(0, 0.5, 0) + root.CFrame.lookVector * 11.5
  3424. orbe.CFrame = root.CFrame * CFrame.new(0, 0.5, 0) + root.CFrame.lookVector * 11.5
  3425. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(90)), 0.3)
  3426. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(0), math.rad(0), math.rad(-90)), 0.3)
  3427. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(90)), 0.3)
  3428. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(10), math.rad(0), math.rad(-20)), 0.3)
  3429. 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)
  3430. 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)
  3431. RootPart.CFrame = FaceMouse()[1]
  3432. end
  3433. orbe.Transparency = 1
  3434. orb.Transparency = 1
  3435. orb.CFrame = root.CFrame * CFrame.new(0, 0.5, 0) + root.CFrame.lookVector * 5
  3436. CFuncs.Sound.Create("rbxassetid://294188875", char, 1, 1)
  3437. CFuncs.Sound.Create("rbxassetid://741272936", char, 0.75, 1)
  3438. CFuncs.Sound.Create("rbxassetid://1192402877", char, 1, 1)
  3439. CFuncs.Sound.Create("rbxassetid://1208650519", char, 0.75, 1)
  3440. CFuncs.Sound.Create("rbxassetid://164881112", char, 0.75, 1)
  3441. CFuncs.Sound.Create("rbxassetid://429123896", char, 1, 0.85)
  3442. CFuncs.Sound.Create("rbxassetid://164178927", char, 1, 1)
  3443. local xd = Instance.new("Sound", char)
  3444. xd.SoundId = "rbxassetid://445796828"
  3445. xd.Pitch = 0.75
  3446. xd.Looped = true
  3447. xd.Volume = 1.25
  3448. xd:Play()
  3449. local a = Instance.new("Part", Character)
  3450. a.Name = "Direction"
  3451. a.Anchored = true
  3452. a.BrickColor = bc("Alder")
  3453. a.Color = MAINRUINCOLOR.Color
  3454. a.Material = "Neon"
  3455. a.Transparency = 0.5
  3456. a.Shape = "Cylinder"
  3457. a.CanCollide = false
  3458. local a2 = Instance.new("Part", Character)
  3459. a2.Name = "Direction"
  3460. a2.Anchored = true
  3461. a2.BrickColor = bc("New Yeller")
  3462. a2.Color = MAINRUINCOLOR.Color
  3463. a2.Material = "Neon"
  3464. a2.Transparency = 0.5
  3465. a2.Shape = "Cylinder"
  3466. a2.CanCollide = false
  3467. local ba = Instance.new("Part", Character)
  3468. ba.Name = "HitDirect"
  3469. ba.Anchored = true
  3470. ba.BrickColor = bc("Really black")
  3471. ba.Material = "Neon"
  3472. ba.Transparency = 1
  3473. ba.CanCollide = false
  3474. local ray = Ray.new(orb.CFrame.p, (mouse.Hit.p - orb.CFrame.p).unit * 1000)
  3475. local ignore = Character
  3476. local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  3477. a.BottomSurface = 10
  3478. a.TopSurface = 10
  3479. a2.BottomSurface = 10
  3480. a2.TopSurface = 10
  3481. local distance = (orb.CFrame.p - position).magnitude
  3482. a.Size = Vector3.new(distance, 1, 1)
  3483. a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance / 2)
  3484. a2.Size = Vector3.new(distance, 1, 1)
  3485. a2.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance / 2)
  3486. ba.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance)
  3487. a.CFrame = a.CFrame * CFrame.Angles(0, math.rad(90), 0)
  3488. a2.CFrame = a2.CFrame * CFrame.Angles(0, math.rad(90), 0)
  3489. game:GetService("Debris"):AddItem(a, 60)
  3490. game:GetService("Debris"):AddItem(a2, 60)
  3491. game:GetService("Debris"):AddItem(ba, 60)
  3492. local outerscale = 0
  3493. local msh = Instance.new("SpecialMesh", a)
  3494. msh.MeshType = "Cylinder"
  3495. msh.Scale = vt(1, 0, 0)
  3496. local msh2 = Instance.new("SpecialMesh", a2)
  3497. msh2.MeshType = "Cylinder"
  3498. msh2.Scale = vt(1, 0, 0)
  3499. for i = 0, 2, 0.1 do
  3500. swait()
  3501. CameraEnshaking(1, 1)
  3502. msh2.Scale = msh2.Scale + vt(0, outerscale * 20, outerscale * 20)
  3503. msh.Scale = msh.Scale + vt(0, outerscale * 15, outerscale * 15)
  3504. outerscale = outerscale - 0.015
  3505. orb.CFrame = root.CFrame * CFrame.new(0, 0.5, 0) + root.CFrame.lookVector * 4
  3506. orbe.CFrame = root.CFrame * CFrame.new(0, 0.5, 0) + root.CFrame.lookVector * 4
  3507. ray = Ray.new(orb.CFrame.p, (mouse.Hit.p - orb.CFrame.p).unit * 1000)
  3508. hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  3509. distance = (orb.CFrame.p - position).magnitude
  3510. if typrot == 1 then
  3511. rotation = rotation + 2.5
  3512. elseif typrot == 2 then
  3513. rotation = rotation - 2.5
  3514. end
  3515. RootPart.CFrame = FaceMouse()[1]
  3516. a.Size = Vector3.new(distance, 1, 1)
  3517. a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance / 2)
  3518. a2.Size = Vector3.new(distance, 1, 1)
  3519. a2.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance / 2)
  3520. ba.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance)
  3521. a.CFrame = a.CFrame * CFrame.Angles(0, math.rad(90), 0)
  3522. a2.CFrame = a2.CFrame * CFrame.Angles(0, math.rad(90), 0)
  3523. 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)
  3524. 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)
  3525. MagniDamage(ba, 100, 500, 60000, 0, "Normal")
  3526. end
  3527. for z = 0, 2 do
  3528. for i = 0, 4, 0.1 do
  3529. swait()
  3530. CameraEnshaking(1, 1)
  3531. msh2.Scale = msh2.Scale + vt(0, outerscale, outerscale)
  3532. msh.Scale = msh.Scale - vt(0, outerscale, outerscale)
  3533. outerscale = outerscale + 0.015
  3534. orb.CFrame = root.CFrame * CFrame.new(0, 0.5, 0) + root.CFrame.lookVector * 4
  3535. orbe.CFrame = root.CFrame * CFrame.new(0, 0.5, 0) + root.CFrame.lookVector * 4
  3536. ray = Ray.new(orb.CFrame.p, (mouse.Hit.p - orb.CFrame.p).unit * 1000)
  3537. hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  3538. distance = (orb.CFrame.p - position).magnitude
  3539. if typrot == 1 then
  3540. rotation = rotation + 2.5
  3541. elseif typrot == 2 then
  3542. rotation = rotation - 2.5
  3543. end
  3544. RootPart.CFrame = FaceMouse()[1]
  3545. a.Size = Vector3.new(distance, 1, 1)
  3546. a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance / 2)
  3547. a2.Size = Vector3.new(distance, 1, 1)
  3548. a2.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance / 2)
  3549. ba.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance)
  3550. a.CFrame = a.CFrame * CFrame.Angles(0, math.rad(90), 0)
  3551. a2.CFrame = a2.CFrame * CFrame.Angles(0, math.rad(90), 0)
  3552. 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)
  3553. 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)
  3554. MagniDamage(ba, 100, 500, 60000, 0, "Normal")
  3555. end
  3556. for i = 0, 4, 0.1 do
  3557. swait()
  3558. CameraEnshaking(1, 1)
  3559. msh2.Scale = msh2.Scale + vt(0, outerscale, outerscale)
  3560. msh.Scale = msh.Scale - vt(0, outerscale, outerscale)
  3561. outerscale = outerscale - 0.015
  3562. orb.CFrame = root.CFrame * CFrame.new(0, 0.5, 0) + root.CFrame.lookVector * 4
  3563. orbe.CFrame = root.CFrame * CFrame.new(0, 0.5, 0) + root.CFrame.lookVector * 4
  3564. ray = Ray.new(orb.CFrame.p, (mouse.Hit.p - orb.CFrame.p).unit * 1000)
  3565. hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  3566. distance = (orb.CFrame.p - position).magnitude
  3567. if typrot == 1 then
  3568. rotation = rotation + 2.5
  3569. elseif typrot == 2 then
  3570. rotation = rotation - 2.5
  3571. end
  3572. RootPart.CFrame = FaceMouse()[1]
  3573. a.Size = Vector3.new(distance, 1, 1)
  3574. a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance / 2)
  3575. a2.Size = Vector3.new(distance, 1, 1)
  3576. a2.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance / 2)
  3577. ba.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance)
  3578. a.CFrame = a.CFrame * CFrame.Angles(0, math.rad(90), 0)
  3579. a2.CFrame = a2.CFrame * CFrame.Angles(0, math.rad(90), 0)
  3580. 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)
  3581. 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)
  3582. MagniDamage(ba, 100, 500, 60000, 0, "Normal")
  3583. end
  3584. end
  3585. for i = 0, 4, 0.1 do
  3586. swait()
  3587. CameraEnshaking(1, 1)
  3588. msh2.Scale = msh2.Scale + vt(0, outerscale, outerscale)
  3589. msh.Scale = msh.Scale - vt(0, outerscale, outerscale)
  3590. xd.Volume = xd.Volume - 0.025
  3591. a.Transparency = a.Transparency + 0.025
  3592. a2.Transparency = a2.Transparency + 0.025
  3593. outerscale = outerscale - 0.015
  3594. orb.CFrame = root.CFrame * CFrame.new(0, 0.5, 0) + root.CFrame.lookVector * 4
  3595. orbe.CFrame = root.CFrame * CFrame.new(0, 0.5, 0) + root.CFrame.lookVector * 4
  3596. ray = Ray.new(orb.CFrame.p, (mouse.Hit.p - orb.CFrame.p).unit * 1000)
  3597. hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  3598. distance = (orb.CFrame.p - position).magnitude
  3599. if typrot == 1 then
  3600. rotation = rotation + 2.5
  3601. elseif typrot == 2 then
  3602. rotation = rotation - 2.5
  3603. end
  3604. RootPart.CFrame = FaceMouse()[1]
  3605. a.Size = Vector3.new(distance, 1, 1)
  3606. a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance / 2)
  3607. a2.Size = Vector3.new(distance, 1, 1)
  3608. a2.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance / 2)
  3609. ba.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance)
  3610. a.CFrame = a.CFrame * CFrame.Angles(0, math.rad(90), 0)
  3611. a2.CFrame = a2.CFrame * CFrame.Angles(0, math.rad(90), 0)
  3612. 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)
  3613. 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)
  3614. MagniDamage(ba, 100, 500, 60000, 0, "Normal")
  3615. end
  3616. xd:Destroy()
  3617. a:Destroy()
  3618. a2:Destroy()
  3619. ba:Destroy()
  3620. orb:Destroy()
  3621. orbe:Destroy()
  3622. attack = false
  3623. end
  3624. function resetmode()
  3625. rainbowmode = false
  3626. chaosmode = false
  3627. RecolorTextAndRename("Godzilla", Color3.new(0, 0, 0), Color3.new(1, 0, 0))
  3628. ModeOfGlitch = 1
  3629. storehumanoidWS = 16
  3630. for i, v in pairs(mw2:GetChildren()) do
  3631. if v:IsA("Part") then
  3632. v.BrickColor = BrickColor.new("Really red")
  3633. v.Material = "Neon"
  3634. end
  3635. end
  3636. for i, v in pairs(mw1:GetChildren()) do
  3637. if v:IsA("Part") then
  3638. v.Transparency = 1
  3639. v.BrickColor = BrickColor.new("Really red")
  3640. v.Material = "Neon"
  3641. end
  3642. end
  3643. MAINRUINCOLOR = BrickColor.new("Really red")
  3644. hum.WalkSpeed = 16
  3645. newTheme("rbxassetid://525767156", 0, 1, 10)
  3646. for i, v in pairs(m:GetChildren()) do
  3647. if v:IsA("Part") then
  3648. v.BrickColor = BrickColor.new("Really black")
  3649. v.Material = "Glass"
  3650. end
  3651. end
  3652. for i, v in pairs(m2:GetChildren()) do
  3653. if v:IsA("Part") then
  3654. v.BrickColor = BrickColor.new("Crimson")
  3655. v.Material = "Granite"
  3656. end
  3657. end
  3658. for i, v in pairs(m3:GetChildren()) do
  3659. if v:IsA("Part") then
  3660. v.BrickColor = BrickColor.new("Really red")
  3661. v.Material = "Neon"
  3662. end
  3663. end
  3664. for i, v in pairs(extrawingmod1:GetChildren()) do
  3665. if v:IsA("Part") then
  3666. v.Transparency = 1
  3667. v.BrickColor = BrickColor.new("White")
  3668. v.Material = "Neon"
  3669. end
  3670. end
  3671. for i, v in pairs(extrawingmod2:GetChildren()) do
  3672. if v:IsA("Part") then
  3673. v.Transparency = 1
  3674. v.BrickColor = BrickColor.new("White")
  3675. v.Material = "Neon"
  3676. end
  3677. end
  3678. end
  3679. function attackone()
  3680. attack = true
  3681. for i = 0, 1, 0.1 do
  3682. swait()
  3683. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(20), math.rad(0), math.rad(-40)), 0.2)
  3684. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(0), math.rad(0), math.rad(40)), 0.2)
  3685. RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-40)), 0.2)
  3686. LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-40)), 0.2)
  3687. 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)
  3688. 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)
  3689. end
  3690. CFuncs.Sound.Create("rbxassetid://200632136", root, 1, 1.1)
  3691. local hitb = Instance.new("Part", char)
  3692. hitb.Anchored = true
  3693. hitb.CanCollide = false
  3694. hitb.FormFactor = 3
  3695. hitb.Name = "Ring"
  3696. hitb.Material = "Neon"
  3697. hitb.Size = Vector3.new(1, 1, 1)
  3698. hitb.Transparency = 1
  3699. hitb.TopSurface = 0
  3700. hitb.BottomSurface = 0
  3701. hitb.CFrame = root.CFrame + root.CFrame.lookVector * 2
  3702. MagniDamage(hitb, 3, 10, 30, 0, "Normal")
  3703. hitb:Destroy()
  3704. for i = 0, 1, 0.1 do
  3705. swait()
  3706. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(-5), math.rad(0), math.rad(70)), 0.4)
  3707. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(20), math.rad(0), math.rad(-70)), 0.4)
  3708. RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(70)), 0.4)
  3709. LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(40)), 0.4)
  3710. 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)
  3711. 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)
  3712. end
  3713. attack = false
  3714. end
  3715. function attacktwo()
  3716. attack = true
  3717. for i = 0, 1, 0.1 do
  3718. swait()
  3719. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(20), math.rad(0), math.rad(40)), 0.2)
  3720. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(0), math.rad(0), math.rad(-40)), 0.2)
  3721. RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(40)), 0.2)
  3722. LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(40)), 0.2)
  3723. 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)
  3724. 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)
  3725. end
  3726. CFuncs.Sound.Create("rbxassetid://200632136", root, 1, 1)
  3727. local hitb = Instance.new("Part", char)
  3728. hitb.Anchored = true
  3729. hitb.CanCollide = false
  3730. hitb.FormFactor = 3
  3731. hitb.Name = "Ring"
  3732. hitb.Material = "Neon"
  3733. hitb.Size = Vector3.new(1, 1, 1)
  3734. hitb.Transparency = 1
  3735. hitb.TopSurface = 0
  3736. hitb.BottomSurface = 0
  3737. hitb.CFrame = root.CFrame + root.CFrame.lookVector * 2
  3738. MagniDamage(hitb, 3, 10, 30, 0, "Normal")
  3739. hitb:Destroy()
  3740. for i = 0, 1, 0.1 do
  3741. swait()
  3742. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(-5), math.rad(0), math.rad(-70)), 0.4)
  3743. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(20), math.rad(0), math.rad(70)), 0.4)
  3744. RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-40)), 0.4)
  3745. LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-70)), 0.4)
  3746. RH.C0 = clerp(RH.C0, cf(1, -1 - 0.05 * math.cos(sine / 25), 0) * angles(math.rad(0), math.rad(90), math.rad(0)) * angles(math.rad(-5), math.rad(0), math.rad(-40)), 0.4)
  3747. LH.C0 = clerp(LH.C0, cf(-1, -1 - 0.05 * math.cos(sine / 25), 0) * angles(math.rad(0), math.rad(-90), math.rad(0)) * angles(math.rad(-5), math.rad(0), math.rad(-10)), 0.4)
  3748. end
  3749. attack = false
  3750. end
  3751. function attackthree()
  3752. attack = true
  3753. for i = 0, 1, 0.1 do
  3754. swait()
  3755. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(80)), 0.3)
  3756. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(20), math.rad(0), math.rad(-80)), 0.3)
  3757. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(80)), 0.3)
  3758. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(10), math.rad(0), math.rad(-20)), 0.3)
  3759. 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)
  3760. 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)
  3761. end
  3762. local distlook = 5
  3763. for i = 0, 4 do
  3764. swait(2)
  3765. CameraEnshaking(2, 3)
  3766. local hite = Instance.new("Part", char)
  3767. hite.Anchored = true
  3768. hite.CanCollide = false
  3769. hite.FormFactor = 3
  3770. hite.Name = "Ring"
  3771. hite.Material = "Neon"
  3772. hite.Size = Vector3.new(1, 1, 1)
  3773. hite.Transparency = 1
  3774. hite.TopSurface = 0
  3775. hite.BottomSurface = 0
  3776. hite.CFrame = root.CFrame + root.CFrame.lookVector * distlook
  3777. sphere(3, "Add", hite.CFrame, vt(0, 0, 0), 0.15, MAINRUINCOLOR)
  3778. sphere(6, "Add", hite.CFrame, vt(0, 0, 0), 0.3, MAINRUINCOLOR)
  3779. MagniDamage(hite, 10, 15, 35, 0, "Normal")
  3780. for i = 0, 2 do
  3781. 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)
  3782. 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)
  3783. 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)
  3784. end
  3785. CFuncs.Sound.Create("rbxassetid://183763506", hite, 2.5, 1)
  3786. CFuncs.Sound.Create("rbxassetid://178452221", hite, 0.25, 0.6)
  3787. game:GetService("Debris"):AddItem(hite, 5)
  3788. distlook = distlook + 10
  3789. end
  3790. attack = false
  3791. end
  3792. local attacktype = 1
  3793. mouse.Button1Down:connect(function()
  3794. if attack == false and attacktype == 1 then
  3795. attacktype = 2
  3796. attackone()
  3797. elseif attack == false and attacktype == 2 then
  3798. attacktype = 3
  3799. attacktwo()
  3800. elseif attack == false and attacktype == 3 then
  3801. attacktype = 1
  3802. attackthree()
  3803. elseif attack == false and attacktype == 4 then
  3804. attacktype = 1
  3805. end
  3806. end)
  3807. mouse.KeyDown:connect(function(k)
  3808. if k == "q" and attack == false and ModeOfGlitch ~= 2 then
  3809. ModeOfGlitch = 2
  3810. storehumanoidWS = 16
  3811. hum.WalkSpeed = 16
  3812. rainbowmode = false
  3813. chaosmode = false
  3814. RecolorTextAndRename("Awaken Assassin", Color3.new(2, 0, 0), Color3.new(0.5, 0.15, 0))
  3815. newTheme("rbxassetid://632243735", 20.25, 1, 1)
  3816. MAINRUINCOLOR = BrickColor.new("Really black")
  3817. for i, v in pairs(mw2:GetChildren()) do
  3818. if v:IsA("Part") then
  3819. v.BrickColor = MAINRUINCOLOR
  3820. v.Material = "Neon"
  3821. end
  3822. end
  3823. for i, v in pairs(mw1:GetChildren()) do
  3824. if v:IsA("Part") then
  3825. v.Transparency = 0
  3826. v.BrickColor = MAINRUINCOLOR
  3827. v.Material = "Neon"
  3828. end
  3829. end
  3830. for i, v in pairs(m:GetChildren()) do
  3831. if v:IsA("Part") then
  3832. v.BrickColor = BrickColor.new("White")
  3833. v.Material = "Ice"
  3834. end
  3835. end
  3836. for i, v in pairs(m2:GetChildren()) do
  3837. if v:IsA("Part") then
  3838. v.BrickColor = BrickColor.new("Crimson")
  3839. v.Material = "Glass"
  3840. end
  3841. end
  3842. for i, v in pairs(m3:GetChildren()) do
  3843. if v:IsA("Part") then
  3844. v.BrickColor = BrickColor.new("Really red")
  3845. v.Material = "Neon"
  3846. end
  3847. end
  3848. for i, v in pairs(extrawingmod1:GetChildren()) do
  3849. if v:IsA("Part") then
  3850. v.Transparency = 1
  3851. v.BrickColor = BrickColor.new("White")
  3852. v.Material = "Neon"
  3853. end
  3854. end
  3855. for i, v in pairs(extrawingmod2:GetChildren()) do
  3856. if v:IsA("Part") then
  3857. v.Transparency = 1
  3858. v.BrickColor = BrickColor.new("White")
  3859. v.Material = "Neon"
  3860. end
  3861. end
  3862. elseif k == "q" and attack == false and ModeOfGlitch == 2 then
  3863. resetmode()
  3864. end
  3865. if k == "e" and attack == false and ModeOfGlitch ~= 3 then
  3866. ModeOfGlitch = 3
  3867. storehumanoidWS = 16
  3868. hum.WalkSpeed = 16
  3869. rainbowmode = false
  3870. chaosmode = false
  3871. RecolorTextAndRename("A.E. Guard", Color3.new(0, 0, 0), Color3.new(0.35, 0, 0))
  3872. newTheme("rbxassetid://155177236", 58.15, 1,2)
  3873. MAINRUINCOLOR = BrickColor.new("Crimson")
  3874. for i, v in pairs(mw2:GetChildren()) do
  3875. if v:IsA("Part") then
  3876. v.BrickColor = MAINRUINCOLOR
  3877. v.Material = "Neon"
  3878. end
  3879. end
  3880. for i, v in pairs(mw1:GetChildren()) do
  3881. if v:IsA("Part") then
  3882. v.Transparency = 1
  3883. v.BrickColor = MAINRUINCOLOR
  3884. v.Material = "Neon"
  3885. end
  3886. end
  3887. for i, v in pairs(m:GetChildren()) do
  3888. if v:IsA("Part") then
  3889. v.BrickColor = BrickColor.new("Black")
  3890. v.Material = "Ice"
  3891. end
  3892. end
  3893. for i, v in pairs(m2:GetChildren()) do
  3894. if v:IsA("Part") then
  3895. v.BrickColor = BrickColor.new("Crimson")
  3896. v.Material = "Glass"
  3897. end
  3898. end
  3899. for i, v in pairs(m3:GetChildren()) do
  3900. if v:IsA("Part") then
  3901. v.BrickColor = BrickColor.new("Dark red")
  3902. v.Material = "Neon"
  3903. end
  3904. end
  3905. for i, v in pairs(extrawingmod1:GetChildren()) do
  3906. if v:IsA("Part") then
  3907. v.Transparency = 1
  3908. v.BrickColor = BrickColor.new("White")
  3909. v.Material = "Neon"
  3910. end
  3911. end
  3912. for i, v in pairs(extrawingmod2:GetChildren()) do
  3913. if v:IsA("Part") then
  3914. v.Transparency = 1
  3915. v.BrickColor = BrickColor.new("White")
  3916. v.Material = "Neon"
  3917. end
  3918. end
  3919. elseif k == "e" and attack == false and ModeOfGlitch == 3 then
  3920. resetmode()
  3921. end
  3922. if k == "r" and attack == false and ModeOfGlitch ~= 4 then
  3923. ModeOfGlitch = 4
  3924. storehumanoidWS = 16
  3925. hum.WalkSpeed = 16
  3926. rainbowmode = false
  3927. chaosmode = true
  3928. RecolorTextAndRename("B E G O N E", Color3.new(0, 0, 0), BrickColor.random().Color)
  3929. newTheme("rbxassetid://1630638140", 0, 1, 10)
  3930. MAINRUINCOLOR = BrickColor.new("Crimson")
  3931. for i, v in pairs(mw2:GetChildren()) do
  3932. if v:IsA("Part") then
  3933. v.BrickColor = MAINRUINCOLOR
  3934. v.Material = "Neon"
  3935. end
  3936. end
  3937. for i, v in pairs(mw1:GetChildren()) do
  3938. if v:IsA("Part") then
  3939. v.Transparency = 0.75
  3940. v.BrickColor = BrickColor.random()
  3941. v.Material = "Neon"
  3942. end
  3943. end
  3944. for i, v in pairs(m:GetChildren()) do
  3945. if v:IsA("Part") then
  3946. v.BrickColor = BrickColor.new("Black")
  3947. v.Material = "Neon"
  3948. end
  3949. end
  3950. for i, v in pairs(m2:GetChildren()) do
  3951. if v:IsA("Part") then
  3952. v.BrickColor = BrickColor.random()
  3953. v.Material = "Neon"
  3954. end
  3955. end
  3956. for i, v in pairs(m3:GetChildren()) do
  3957. if v:IsA("Part") then
  3958. v.BrickColor = BrickColor.new("Black")
  3959. v.Material = "Neon"
  3960. end
  3961. end
  3962. for i, v in pairs(extrawingmod1:GetChildren()) do
  3963. if v:IsA("Part") then
  3964. v.Transparency = 1
  3965. v.BrickColor = BrickColor.new("White")
  3966. v.Material = "Neon"
  3967. end
  3968. end
  3969. for i, v in pairs(extrawingmod2:GetChildren()) do
  3970. if v:IsA("Part") then
  3971. v.Transparency = 1
  3972. v.BrickColor = BrickColor.new("White")
  3973. v.Material = "Neon"
  3974. end
  3975. end
  3976. elseif k == "r" and attack == false and ModeOfGlitch == 4 then
  3977. resetmode()
  3978. end
  3979. if k == "t" and attack == false and ModeOfGlitch ~= 5 then
  3980. ModeOfGlitch = 5
  3981.  
  3982. storehumanoidWS = 16
  3983. hum.WalkSpeed = 16
  3984. rainbowmode = false
  3985. chaosmode = false
  3986. RecolorTextAndRename("Ad al wolf", Color3.new(0, 0, 0), Color3.new(255, 255, 255))
  3987. newTheme("rbxassetid://1665372867", 10, 1, 3.2)
  3988. ModeOfGlitch = 1
  3989. MAINRUINCOLOR = BrickColor.new("Really black")
  3990. for i, v in pairs(mw2:GetChildren()) do
  3991. if v:IsA("Part") then
  3992. v.BrickColor = MAINRUINCOLOR
  3993. v.Material = "Neon"
  3994. end
  3995. end
  3996. for i, v in pairs(mw1:GetChildren()) do
  3997. if v:IsA("Part") then
  3998. v.BrickColor = BrickColor.new ("Really red")
  3999. v.Material = "Neon"
  4000. end
  4001. end
  4002. for i, v in pairs(m:GetChildren()) do
  4003. if v:IsA("Part") then
  4004. v.BrickColor = BrickColor.new("Really black")
  4005. v.Material = "Ice"
  4006. end
  4007. end
  4008. for i, v in pairs(m2:GetChildren()) do
  4009. if v:IsA("Part") then
  4010. v.BrickColor = BrickColor.new("Really black")
  4011. v.Material = "Ice"
  4012. end
  4013. end
  4014. for i, v in pairs(m3:GetChildren()) do
  4015. if v:IsA("Part") then
  4016. v.BrickColor = BrickColor.new("Really black")
  4017. v.Material = "Neon"
  4018. end
  4019. end
  4020. for i, v in pairs(extrawingmod1:GetChildren()) do
  4021. if v:IsA("Part") then
  4022. v.Transparency = 1
  4023. v.BrickColor = BrickColor.new("White")
  4024. v.Material = "Neon"
  4025. end
  4026. end
  4027. for i, v in pairs(extrawingmod2:GetChildren()) do
  4028. if v:IsA("Part") then
  4029. v.Transparency = 1
  4030. v.BrickColor = BrickColor.new("White")
  4031. v.Material = "Neon"
  4032. end
  4033. end
  4034. elseif k == "t" and attack == false and ModeOfGlitch == 5 then
  4035. resetmode()
  4036. end
  4037. if k == "y" and attack == false and ModeOfGlitch ~= 6 then
  4038. ModeOfGlitch = 6
  4039. storehumanoidWS = 75
  4040. hum.WalkSpeed = 75
  4041. rainbowmode = false
  4042. chaosmode = false
  4043. RecolorTextAndRename("True Power", Color3.new(0, 0, .6), Color3.new(10, 1, 1))
  4044. newTheme("rbxassetid://1669325951", 0, 1, 1)
  4045. MAINRUINCOLOR = BrickColor.new("Really black")
  4046. for i, v in pairs(mw2:GetChildren()) do
  4047. if v:IsA("Part") then
  4048. v.BrickColor = BrickColor.new("Really black")
  4049. v.Material = "Neon"
  4050. end
  4051. end
  4052. for i, v in pairs(mw1:GetChildren()) do
  4053. if v:IsA("Part") then
  4054. v.Transparency = 0
  4055. v.BrickColor = BrickColor.new("Dark indigo")
  4056. v.Material = "Neon"
  4057. end
  4058. end
  4059. for i, v in pairs(m:GetChildren()) do
  4060. if v:IsA("Part") then
  4061. v.BrickColor = BrickColor.new("Toothpaste")
  4062. v.Material = "Ice"
  4063. end
  4064. end
  4065. for i, v in pairs(m2:GetChildren()) do
  4066. if v:IsA("Part") then
  4067. v.BrickColor = BrickColor.new("Dark indigo")
  4068. v.Material = "Ice"
  4069. end
  4070. end
  4071. for i, v in pairs(m3:GetChildren()) do
  4072. if v:IsA("Part") then
  4073. v.BrickColor = BrickColor.new("Toothpaste")
  4074. v.Material = "Neon"
  4075. end
  4076. end
  4077. for i, v in pairs(extrawingmod1:GetChildren()) do
  4078. if v:IsA("Part") then
  4079. v.Transparency = .5
  4080. v.BrickColor = BrickColor.new("Crimson")
  4081. v.Material = "Granite"
  4082. end
  4083. end
  4084. for i, v in pairs(extrawingmod2:GetChildren()) do
  4085. if v:IsA("Part") then
  4086. v.Transparency = .5
  4087. v.BrickColor = BrickColor.new("Bright red")
  4088. v.Material = "Granite"
  4089. end
  4090. end
  4091.  
  4092.  
  4093. elseif k == "y" and attack == false and ModeOfGlitch == 6 then
  4094. resetmode()
  4095. end
  4096. if k == "u" and attack == false and ModeOfGlitch ~= 6127843 then
  4097. ModeOfGlitch = 6127843
  4098. storehumanoidWS = 50
  4099. hum.WalkSpeed = 50
  4100. rainbowmode = false
  4101. chaosmode = false
  4102. RecolorTextAndRename("The Last Assassin", Color3.new(1, .5, .5), Color3.new(1, .5, .5))
  4103. newTheme("rbxassetid://557894001", 0, 1, 1)
  4104. MAINRUINCOLOR = BrickColor.new("Crimson")
  4105. for i, v in pairs(mw2:GetChildren()) do
  4106. if v:IsA("Part") then
  4107. v.BrickColor = MAINRUINCOLOR
  4108. v.Material = "Neon"
  4109. end
  4110. end
  4111. for i, v in pairs(mw1:GetChildren()) do
  4112. if v:IsA("Part") then
  4113. v.Transparency = 0
  4114. v.BrickColor = MAINRUINCOLOR
  4115. v.Material = "Neon"
  4116. end
  4117. end
  4118. for i, v in pairs(m:GetChildren()) do
  4119. if v:IsA("Part") then
  4120. v.BrickColor = BrickColor.new("White")
  4121. v.Material = "Neon"
  4122. end
  4123. end
  4124. for i, v in pairs(m2:GetChildren()) do
  4125. if v:IsA("Part") then
  4126. v.BrickColor = BrickColor.new("White")
  4127. v.Material = "Neon"
  4128. end
  4129. end
  4130. for i, v in pairs(m3:GetChildren()) do
  4131. if v:IsA("Part") then
  4132. v.BrickColor = BrickColor.new("White")
  4133. v.Material = "Neon"
  4134. end
  4135. end
  4136. for i, v in pairs(extrawingmod1:GetChildren()) do
  4137. if v:IsA("Part") then
  4138. v.Transparency = 1
  4139. v.BrickColor = BrickColor.new("White")
  4140. v.Material = "Neon"
  4141. end
  4142. end
  4143. for i, v in pairs(extrawingmod2:GetChildren()) do
  4144. if v:IsA("Part") then
  4145. v.Transparency = 1
  4146. v.BrickColor = BrickColor.new("White")
  4147. v.Material = "Neon"
  4148. end
  4149. end
  4150. elseif k == "u" and attack == false and ModeOfGlitch == 6127843 then
  4151. resetmode()
  4152. end
  4153. if k == "p" and attack == false and ModeOfGlitch ~= 1000000 then
  4154. ModeOfGlitch = 1000000
  4155. storehumanoidWS = 100
  4156. hum.WalkSpeed = 100
  4157. rainbowmode = false
  4158. chaosmode = false
  4159. RecolorTextAndRename("The Last Assassin, Royal Emperor", Color3.new(1, 0, 0), Color3.new(0.5, 0, 0))
  4160. newTheme("rbxassetid://919565310", 0, 1, 1)
  4161. MAINRUINCOLOR = BrickColor.new("Crimson")
  4162. for i, v in pairs(mw2:GetChildren()) do
  4163. if v:IsA("Part") then
  4164. v.BrickColor = MAINRUINCOLOR
  4165. v.Material = "Neon"
  4166. end
  4167. end
  4168. for i, v in pairs(mw1:GetChildren()) do
  4169. if v:IsA("Part") then
  4170. v.Transparency = 0
  4171. v.BrickColor = MAINRUINCOLOR
  4172. v.Material = "Neon"
  4173. end
  4174. end
  4175. for i, v in pairs(m:GetChildren()) do
  4176. if v:IsA("Part") then
  4177. v.Color = Color3.new(0.5, 0, 0)
  4178. v.Material = "Neon"
  4179. end
  4180. end
  4181. for i, v in pairs(m2:GetChildren()) do
  4182. if v:IsA("Part") then
  4183. v.Color = Color3.new(0.25, 0, 0)
  4184. v.Material = "Neon"
  4185. end
  4186. end
  4187. for i, v in pairs(m3:GetChildren()) do
  4188. if v:IsA("Part") then
  4189. v.Color = Color3.new(0.45, 0, 0)
  4190. v.Material = "Neon"
  4191. end
  4192. end
  4193. for i, v in pairs(extrawingmod1:GetChildren()) do
  4194. if v:IsA("Part") then
  4195. v.Transparency = 0
  4196. v.Color = Color3.new(1, 0, 0)
  4197. v.Material = "Neon"
  4198. end
  4199. end
  4200. for i, v in pairs(extrawingmod2:GetChildren()) do
  4201. if v:IsA("Part") then
  4202. v.Transparency = 0
  4203. v.Color = Color3.new(7, 0, 0)
  4204. v.Material = "Neon"
  4205. end
  4206. end
  4207. elseif k == "p" and attack == false and ModeOfGlitch == 1000000 then
  4208. resetmode()
  4209. end
  4210. if k == "l" and toggleTag == false then
  4211. toggleTag = true
  4212. text.TextTransparency = 0
  4213. text.TextStrokeTransparency = 0
  4214. elseif k == "l" and toggleTag == true then
  4215. toggleTag = false
  4216. text.TextTransparency = 1
  4217. text.TextStrokeTransparency = 1
  4218. end
  4219. if k == "z" and attack == false and ModeOfGlitch == 1 then
  4220. ExtinctiveHeartbreak()
  4221. elseif k == "z" and attack == false and ModeOfGlitch == 2 then
  4222. PureBomb()
  4223. elseif k == "z" and attack == false and ModeOfGlitch == 3 then
  4224. scattercorrupt()
  4225. elseif k == "z" and attack == false and ModeOfGlitch == 4 then
  4226. ChaosGroundStrike()
  4227. elseif k == "x" and attack == false and ModeOfGlitch == 4 then
  4228. UniversalSpark()
  4229. elseif k == "z" and attack == false and ModeOfGlitch == 5 then
  4230. elseif k == "z" and attack == false and ModeOfGlitch == 1000000 then
  4231. UniversalSpark()
  4232. elseif k == "c" and attack == false and ModeOfGlitch == 1000000 then
  4233. scattercorrupt()
  4234. wait(1)
  4235. yinyangi()
  4236. elseif k == "v" and attack == false and ModeOfGlitch == 1000000 then
  4237. ChaosGroundStrike()
  4238. elseif k == "b" and attack == false and ModeOfGlitch == 1000000 then
  4239. yinyangi()
  4240. PureBomb()
  4241. elseif k == "f" and attack == false and ModeOfGlitch == 1000000 then
  4242. PureBomb()
  4243. wait(.25)
  4244. PureBomb()
  4245. wait(.25)
  4246. PureBomb()
  4247. wait(.25)
  4248. PureBomb()
  4249. wait(.25)
  4250. yinyangi()
  4251. elseif k == "x" and attack == false and ModeOfGlitch == 1000000 then
  4252. Wip()
  4253. wait(.5)
  4254. scattercorrupt()
  4255. elseif k == "n" and attack == false and ModeOfGlitch == 1000000 then
  4256. ChaosUltra()
  4257. elseif k == "l" and attack == false and ModeOfGlitch == 5 then
  4258. scattercorrupt()
  4259. scattercorrupt()
  4260. elseif k == "m" and attack == false and ModeOfGlitch == 1000000 then
  4261. scattercorrupt()
  4262. wait(.5)
  4263. scattercorrupt()
  4264. wait(.5)
  4265. scattercorrupt()
  4266. wait(.5)
  4267. ChaosGroundStrike()
  4268. wait(.75)
  4269. PureBomb()
  4270. elseif k == "z" and attack == false and ModeOfGlitch == 6 then
  4271. yinyangi()
  4272. elseif k == "z" and attack == false and ModeOfGlitch == 6127843 then
  4273. Wip()
  4274. end
  4275. if k == "l" and attack == false and ModeOfGlitch == 4 then
  4276. ChaosBegone()
  4277. end
  4278. end)
  4279. coroutine.resume(coroutine.create(function()
  4280. while true do
  4281. swait(2)
  4282. if rainbowmode == true or ModeOfGlitch == 6 then
  4283. 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)
  4284. end
  4285. end
  4286. end))
  4287. coroutine.resume(coroutine.create(function()
  4288. while true do
  4289. swait(0.5)
  4290. if ModeOfGlitch == 1000000 then
  4291. 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)
  4292. end
  4293. end
  4294. end))
  4295. coroutine.resume(coroutine.create(function()
  4296. while true do
  4297. swait(2)
  4298. if chaosmode == true then
  4299. RecolorTextAndRename("THE END.", Color3.new(0.25, 0, 0), BrickColor.random().Color)
  4300. for i, v in pairs(mw1:GetChildren()) do
  4301. if v:IsA("Part") then
  4302. v.Transparency = 0.75
  4303. v.BrickColor = BrickColor.random()
  4304. v.Material = "Neon"
  4305. end
  4306. end
  4307. for i, v in pairs(m2:GetChildren()) do
  4308. if v:IsA("Part") then
  4309. v.BrickColor = BrickColor.random()
  4310. v.Material = "Neon"
  4311. end
  4312. end
  4313. end
  4314. end
  4315. end))
  4316. Humanoid.Name = "STARGLITCHER"
  4317. Humanoid.MaxHealth = math.huge
  4318. Humanoid.Health = math.huge
  4319. Instance.new("ForceField", char).Visible = false
  4320. Humanoid.Animator.Parent = nil
  4321. idleanim = 0.4
  4322. while true do
  4323. if rainbowmode == true then
  4324. RecolorTextAndRename("StarLight", Color3.new(r / 255, g / 255, b / 255), Color3.new(r / 500, g / 500, b / 500))
  4325. MAINRUINCOLOR = BrickColor.new("White")
  4326. for i, v in pairs(m:GetChildren()) do
  4327. if v:IsA("Part") then
  4328. v.Color = Color3.new(r / 255, g / 255, b / 255)
  4329. end
  4330. end
  4331. for i, v in pairs(m2:GetChildren()) do
  4332. if v:IsA("Part") then
  4333. v.Color = Color3.new(r / 255, g / 255, b / 255)
  4334. end
  4335. end
  4336. for i, v in pairs(m3:GetChildren()) do
  4337. if v:IsA("Part") then
  4338. v.Color = Color3.new(r / 255, g / 255, b / 255)
  4339. end
  4340. end
  4341. for i, v in pairs(mw1:GetChildren()) do
  4342. if v:IsA("Part") then
  4343. v.Color = Color3.new(r / 255, g / 255, b / 255)
  4344. v.Material = "Neon"
  4345. end
  4346. end
  4347. for i, v in pairs(mw2:GetChildren()) do
  4348. if v:IsA("Part") then
  4349. v.Color = Color3.new(r / 255, g / 255, b / 255)
  4350. v.Material = "Neon"
  4351. end
  4352. end
  4353. end
  4354. CameraManager()
  4355. swait()
  4356. 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)
  4357. 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)
  4358. 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)
  4359. 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)
  4360. 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)
  4361. 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)
  4362. 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)
  4363. 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)
  4364. 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)
  4365. 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)
  4366. 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)
  4367. 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)
  4368. sine = sine + change
  4369. local torvel = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude
  4370. local velderp = RootPart.Velocity.y
  4371. hitfloor, posfloor = rayCast(RootPart.Position, CFrame.new(RootPart.Position, RootPart.Position - Vector3.new(0, 1, 0)).lookVector, 4, Character)
  4372. if equipped == true or equipped == false then
  4373. if attack == false then
  4374. idle = idle + 1
  4375. else
  4376. idle = 0
  4377. end
  4378. if not (idle >= 500) or attack == false then
  4379. end
  4380. if RootPart.Velocity.y > 1 and hitfloor == nil then
  4381. Anim = "Jump"
  4382. if attack == false then
  4383. 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)
  4384. LH.C0 = clerp(LH.C0, cf(-1, -1 - 0.05 * math.cos(sine / 25), 0) * angles(math.rad(0), math.rad(-90), math.rad(0)) * angles(math.rad(-5), math.rad(0), math.rad(20)), 0.1)
  4385. 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)
  4386. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(-2.5), math.rad(0), math.rad(0)), 0.1)
  4387. 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)
  4388. 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)
  4389. end
  4390. elseif RootPart.Velocity.y < -1 and hitfloor == nil then
  4391. Anim = "Fall"
  4392. if attack == false then
  4393. 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)
  4394. 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)
  4395. 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)
  4396. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(0), math.rad(0), math.rad(0)), 0.1)
  4397. 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)
  4398. 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)
  4399. end
  4400. elseif torvel < 1 and hitfloor ~= nil then
  4401. Anim = "Idle"
  4402. if attack == false then
  4403. if ModeOfGlitch == 1 then
  4404. 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)
  4405. 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)
  4406. 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)
  4407. 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)
  4408. 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)
  4409. LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * angles(math.rad(160), math.rad(0), math.rad(25)), 0.1)
  4410. elseif ModeOfGlitch == 2 or ModeOfGlitch == 6127843 then
  4411. 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)
  4412. 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)
  4413. 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)
  4414. 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)
  4415. 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)
  4416. 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)
  4417. elseif ModeOfGlitch == 3 then
  4418. 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)
  4419. 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)
  4420. 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)
  4421. 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)
  4422. 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)
  4423. LW.C0 = clerp(LW.C0, cf(-1.5, 0.75, 0) * angles(math.rad(170), math.rad(-20), math.rad(20)), 0.1)
  4424. elseif ModeOfGlitch == 4 then
  4425. 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)
  4426. 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)
  4427. 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)
  4428. 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)
  4429. 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)
  4430. 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)
  4431. elseif ModeOfGlitch == 5 then
  4432. 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)
  4433. 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)
  4434. 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)
  4435. 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)
  4436. 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)
  4437. 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)
  4438. elseif ModeOfGlitch == 6 or ModeOfGlitch == 1000000 then
  4439. 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)
  4440. 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)
  4441. 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)
  4442. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(15), math.rad(0), math.rad(0)), 0.1)
  4443. 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)
  4444. 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)
  4445. end
  4446. end
  4447. elseif torvel > 2 and torvel < 22 and hitfloor ~= nil then
  4448. Anim = "Walk"
  4449. if attack == false then
  4450. if ModeOfGlitch == 1 then
  4451. 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)
  4452. 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)
  4453. 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)
  4454. 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)
  4455. 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)
  4456. LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * angles(math.rad(160), math.rad(0), math.rad(25)), 0.1)
  4457. elseif ModeOfGlitch == 4 then
  4458. 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)
  4459. 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)
  4460. 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)
  4461. 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)
  4462. 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)
  4463. 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)
  4464. elseif ModeOfGlitch ~= 1 or ModeOfGlitch ~= 4 then
  4465. 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)
  4466. 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)
  4467. 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)
  4468. 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)
  4469. 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)
  4470. 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)
  4471. end
  4472. end
  4473. elseif torvel >= 22 and hitfloor ~= nil then
  4474. Anim = "Run"
  4475. if attack == false then
  4476. if ModeOfGlitch ~= 6 and ModeOfGlitch ~= 1000000 then
  4477. 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)
  4478. 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)
  4479. 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)
  4480. 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)
  4481. 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)
  4482. 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)
  4483. elseif ModeOfGlitch == 6 or ModeOfGlitch == 1000000 then
  4484. 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)
  4485. 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)
  4486. 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)
  4487. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(-20), math.rad(0), math.rad(0)), 0.2)
  4488. 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)
  4489. 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)
  4490.  
  4491. end
  4492. end
  4493. end
  4494. end
  4495. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement