Advertisement
ItzPartapika

Soviet Officer...

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