Advertisement
GojiGaming1337

Untitled

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