Advertisement
Hermaxs

Untitled

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