Advertisement
plytalent

starglitcher edit by plytalent#3750(rbx name plytalent)

Mar 19th, 2019
1,319
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 248.54 KB | None | 0 0
  1. if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
  2. local Player,game,owner = owner,game
  3. local RealPlayer = Player
  4. do
  5. print("FE Compatibility code by Mokiros")
  6. local rp = RealPlayer
  7. script.Parent = rp.Character
  8.  
  9. --RemoteEvent for communicating
  10. local Event = Instance.new("RemoteEvent")
  11. Event.Name = "UserInput_Event"
  12.  
  13. --Fake event to make stuff like Mouse.KeyDown work
  14. local function fakeEvent()
  15. local t = {_fakeEvent=true,Functions={},Connect=function(self,f)table.insert(self.Functions,f) end}
  16. t.connect = t.Connect
  17. return t
  18. end
  19.  
  20. --Creating fake input objects with fake variables
  21. local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()}
  22. local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
  23. local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
  24. CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
  25. end}
  26. --Merged 2 functions into one by checking amount of arguments
  27. CAS.UnbindAction = CAS.BindAction
  28.  
  29. --This function will trigger the events that have been :Connect()'ed
  30. local function te(self,ev,...)
  31. local t = m[ev]
  32. if t and t._fakeEvent then
  33. for _,f in pairs(t.Functions) do
  34. f(...)
  35. end
  36. end
  37. end
  38. m.TrigEvent = te
  39. UIS.TrigEvent = te
  40.  
  41. Event.OnServerEvent:Connect(function(plr,io)
  42. if plr~=rp then return end
  43. m.Target = io.Target
  44. m.Hit = io.Hit
  45. if not io.isMouse then
  46. local b = io.UserInputState == Enum.UserInputState.Begin
  47. if io.UserInputType == Enum.UserInputType.MouseButton1 then
  48. return m:TrigEvent(b and "Button1Down" or "Button1Up")
  49. end
  50. for _,t in pairs(CAS.Actions) do
  51. for _,k in pairs(t.Keys) do
  52. if k==io.KeyCode then
  53. t.Function(t.Name,io.UserInputState,io)
  54. end
  55. end
  56. end
  57. m:TrigEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower())
  58. UIS:TrigEvent(b and "InputBegan" or "InputEnded",io,false)
  59. end
  60. end)
  61. Event.Parent = NLS([==[
  62. local Player = game:GetService("Players").LocalPlayer
  63. local Event = script:WaitForChild("UserInput_Event")
  64.  
  65. local Mouse = Player:GetMouse()
  66. local UIS = game:GetService("UserInputService")
  67. local input = function(io,a)
  68. if a then return end
  69. --Since InputObject is a client-side instance, we create and pass table instead
  70. Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState,Hit=Mouse.Hit,Target=Mouse.Target})
  71. end
  72. UIS.InputBegan:Connect(input)
  73. UIS.InputEnded:Connect(input)
  74.  
  75. local h,t
  76. --Give the server mouse data 30 times every second, but only if the values changed
  77. --If player is not moving their mouse, client won't fire events
  78. while wait(1/30) do
  79. if h~=Mouse.Hit or t~=Mouse.Target then
  80. h,t=Mouse.Hit,Mouse.Target
  81. Event:FireServer({isMouse=true,Target=t,Hit=h})
  82. end
  83. end]==],Player.Character)
  84.  
  85. ----Sandboxed game object that allows the usage of client-side methods and services
  86. --Real game object
  87. local _rg = game
  88.  
  89. --Metatable for fake service
  90. local fsmt = {
  91. __index = function(self,k)
  92. local s = rawget(self,"_RealService")
  93. if s then return s[k] end
  94. end,
  95. __newindex = function(self,k,v)
  96. local s = rawget(self,"_RealService")
  97. if s then s[k]=v end
  98. end,
  99. __call = function(self,...)
  100. local s = rawget(self,"_RealService")
  101. if s then return s(...) end
  102. end
  103. }
  104. local function FakeService(t,RealService)
  105. t._RealService = typeof(RealService)=="string" and _rg:GetService(RealService) or RealService
  106. return setmetatable(t,fsmt)
  107. end
  108.  
  109. --Fake game object
  110. local g = {
  111. GetService = function(self,s)
  112. return self[s]
  113. end,
  114. Players = FakeService({
  115. LocalPlayer = FakeService({GetMouse=function(self)return m end},Player)
  116. },"Players"),
  117. UserInputService = FakeService(UIS,"UserInputService"),
  118. ContextActionService = FakeService(CAS,"ContextActionService"),
  119. }
  120. rawset(g.Players,"localPlayer",g.Players.LocalPlayer)
  121. g.service = g.GetService
  122.  
  123. g.RunService = FakeService({
  124. RenderStepped = _rg:GetService("RunService").Heartbeat,
  125. BindToRenderStep = function(self,name,_,fun)
  126.  
  127. end,
  128. UnbindFromRenderStep = function(self,name)
  129. self._btrs[name]:Disconnect()
  130. end,
  131. },"RunService")
  132.  
  133. setmetatable(g,{
  134. __index=function(self,s)
  135. return _rg:GetService(s) or typeof(_rg[s])=="function"
  136. and function(_,...)return _rg[s](_rg,...)end or _rg[s]
  137. end,
  138. __newindex = fsmt.__newindex,
  139. __call = fsmt.__call
  140. })
  141. --Changing owner to fake player object to support owner:GetMouse()
  142. game,owner = g,g.Players.LocalPlayer
  143. end
  144.  
  145. warn("Star Glitcher Loaded.")
  146. warn("All purpose switcher...")
  147. warn("Edit By Frepix.")
  148. warn("Edit by plytalent")
  149. warn("Moves Edited By UndeniableInfinity.")
  150. warn("Please Support The Original Creator Of This Script.")
  151. warn("key mode q e r t y u p g h j")
  152. warn("key skill l z")
  153. warn("key clock unclock f")
  154. warn("key hidden unhidden wing x")
  155. plr = owner
  156. char = plr.Character
  157. hum = char.Humanoid
  158. local cam = game.Workspace.CurrentCamera
  159. --local Controller = plr.PlayerScripts:WaitForChild("ControlScript")
  160. Camera = cam
  161. local CamInterrupt = false
  162. local TwoD = false
  163. local TargetInfo = {nil, nil}
  164. cam.CameraType = "Custom"
  165. t = char.Torso
  166. h = char.Head
  167. ra = char["Right Arm"]
  168. la = char["Left Arm"]
  169. rl = char["Right Leg"]
  170. ll = char["Left Leg"]
  171. tors = char.Torso
  172. lleg = char["Left Leg"]
  173. root = char.HumanoidRootPart
  174. hed = char.Head
  175. rleg = char["Right Leg"]
  176. rarm = char["Right Arm"]
  177. larm = char["Left Arm"]
  178. radian = math.rad
  179. random = math.random
  180. Vec3 = Vector3.new
  181. Inst = Instance.new
  182. cFrame = CFrame.new
  183. Euler = CFrame.fromEulerAnglesXYZ
  184. vt = Vector3.new
  185. bc = BrickColor.new
  186. br = BrickColor.random
  187. it = Instance.new
  188. cf = CFrame.new
  189. local Booleans = {CamFollow = true, GyroUse = true}
  190. function lerp(object, newCFrame, alpha)
  191. return object:lerp(newCFrame, alpha)
  192. end
  193.  
  194. ff = Instance.new("ForceField", game.Players.LocalPlayer.Character)
  195. ff.Visible = false
  196.  
  197. local Directer = Inst("BodyGyro", root)
  198. Directer.MaxTorque = Vec3(0, 0, 0)
  199. Directer.P = 600000
  200. local CPart = Inst("Part")
  201. CPart.Anchored = true
  202. CPart.CanCollide = false
  203. CPart.Locked = true
  204. CPart.Transparency = 1
  205. local rainbowmode = false
  206. local chaosmode = false
  207. kan = Instance.new("Sound", char)
  208. kan.Volume = 1.98
  209. kan.TimePosition = 0
  210. kan.PlaybackSpeed = 1
  211. kan.Pitch = 1
  212. kan.SoundId = "rbxassetid://415898123"
  213. kan.Name = "wrecked"
  214. kan.Looped = true
  215. kan:Play()
  216. function newTheme(ID, timepos, pitch, vol)
  217. local kanz = kan
  218. kanz.PlaybackSpeed = pitch
  219. kanz.Pitch = pitch
  220. kanz.SoundId = ID
  221. kanz.Name = "wrecked"
  222. kanz.Looped = true
  223. end
  224. function CameraShake(Times, Power, PlayerTarget)
  225. coroutine.resume(coroutine.create(function()
  226. FV = Instance.new("BoolValue", PlayerTarget)
  227. FV.Name = "CameraShake"
  228. for ShakeNum = 1, Times do
  229. swait()
  230. local ef = Power
  231. if ef >= 1 then
  232. Humanoid.CameraOffset = Vector3.new(math.random(-ef, ef), math.random(-ef, ef), math.random(-ef, ef))
  233. else
  234. ef = Power * 10
  235. Humanoid.CameraOffset = Vector3.new(math.random(-ef, ef) / 10, math.random(-ef, ef) / 10, math.random(-ef, ef) / 10)
  236. end
  237. end
  238. Humanoid.CameraOffset = Vector3.new(0, 0, 0)
  239. FV:Destroy()
  240. end))
  241. end
  242. function CameraEnshaking(Length, Intensity)
  243. coroutine.resume(coroutine.create(function()
  244. local intensity = 1 * Intensity
  245. local rotM = 0.01 * Intensity
  246. for i = 0, Length, 0.1 do
  247. swait()
  248. intensity = intensity - 0.05 * Intensity / Length
  249. rotM = rotM - 5.0E-4 * Intensity / Length
  250. hum.CameraOffset = Vec3(radian(random(-intensity, intensity)), radian(random(-intensity, intensity)), radian(random(-intensity, intensity)))
  251. 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)
  252. end
  253. Humanoid.CameraOffset = Vec3(0, 0, 0)
  254. end))
  255. end
  256. function CamShake(Part, Distan, Power, Times)
  257. local de = Part.Position
  258. for i, v in pairs(workspace:children()) do
  259. if v:IsA("Model") and v:findFirstChild("Humanoid") then
  260. for _, c in pairs(v:children()) do
  261. if c.ClassName == "Part" and Distan > (c.Position - de).magnitude then
  262. do
  263. local Noob = v.Humanoid
  264. if Noob ~= nil then
  265. coroutine.resume(coroutine.create(function()
  266. FV = Instance.new("BoolValue", Noob)
  267. FV.Name = "CameraShake"
  268. for ShakeNum = 1, Times do
  269. swait()
  270. local ef = Power
  271. if ef >= 1 then
  272. Humanoid.CameraOffset = Vector3.new(math.random(-ef, ef), math.random(-ef, ef), math.random(-ef, ef))
  273. else
  274. ef = Power * 10
  275. Humanoid.CameraOffset = Vector3.new(math.random(-ef, ef) / 10, math.random(-ef, ef) / 10, math.random(-ef, ef) / 10)
  276. end
  277. end
  278. Humanoid.CameraOffset = Vector3.new(0, 0, 0)
  279. FV:Destroy()
  280. end))
  281. CameraShake(Times, Power, Noob)
  282. end
  283. end
  284. end
  285. end
  286. end
  287. end
  288. end
  289. function chatfunc(text, color)
  290. local chat = coroutine.wrap(function()
  291. if Character:FindFirstChild("TalkingBillBoard") ~= nil then
  292. Character:FindFirstChild("TalkingBillBoard"):destroy()
  293. end
  294. local naeeym2 = Instance.new("BillboardGui", Character)
  295. naeeym2.Size = UDim2.new(0, 100, 0, 40)
  296. naeeym2.StudsOffset = Vector3.new(0, 3, 0)
  297. naeeym2.Adornee = Character.Head
  298. naeeym2.Name = "TalkingBillBoard"
  299. local tecks2 = Instance.new("TextLabel", naeeym2)
  300. tecks2.BackgroundTransparency = 1
  301. tecks2.BorderSizePixel = 0
  302. tecks2.Text = ""
  303. tecks2.Font = "SciFi"
  304. tecks2.TextSize = 30
  305. tecks2.TextStrokeTransparency = 0
  306. tecks2.TextColor3 = color
  307. tecks2.TextStrokeColor3 = Color3.new(0, 0, 0)
  308. tecks2.Size = UDim2.new(1, 0, 0.5, 0)
  309. local tecks3 = Instance.new("TextLabel", naeeym2)
  310. tecks3.BackgroundTransparency = 1
  311. tecks3.BorderSizePixel = 0
  312. tecks3.Text = ""
  313. tecks3.Font = "SciFi"
  314. tecks3.TextSize = 30
  315. tecks3.TextStrokeTransparency = 0
  316. tecks3.TextColor3 = Color3.new(0, 0, 0)
  317. tecks3.TextStrokeColor3 = color
  318. tecks3.Size = UDim2.new(1, 0, 0.5, 0)
  319. coroutine.resume(coroutine.create(function()
  320. while true do
  321. swait(1)
  322. if chaosmode == true then
  323. tecks2.TextColor3 = BrickColor.random().Color
  324. tecks3.TextStrokeColor3 = BrickColor.random().Color
  325. end
  326. tecks2.Position = UDim2.new(0, math.random(-5, 5), 0, math.random(-5, 5))
  327. tecks3.Position = UDim2.new(0, math.random(-5, 5), 0, math.random(-5, 5))
  328. tecks2.Rotation = math.random(-5, 5)
  329. tecks3.Rotation = math.random(-5, 5)
  330. end
  331. end))
  332. for i = 1, string.len(text) do
  333. CFuncs.Sound.Create("rbxassetid://274118116", char, 0.25, 0.115)
  334. tecks2.Text = string.sub(text, 1, i)
  335. tecks3.Text = string.sub(text, 1, i)
  336. swait(1)
  337. end
  338. wait(1)
  339. local randomrot = math.random(1, 2)
  340. if randomrot == 1 then
  341. for i = 1, 50 do
  342. swait()
  343. tecks2.Rotation = tecks2.Rotation - 0.75
  344. tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency + 0.04
  345. tecks2.TextTransparency = tecks2.TextTransparency + 0.04
  346. tecks3.Rotation = tecks2.Rotation + 0.75
  347. tecks3.TextStrokeTransparency = tecks2.TextStrokeTransparency + 0.04
  348. tecks3.TextTransparency = tecks2.TextTransparency + 0.04
  349. end
  350. elseif randomrot == 2 then
  351. for i = 1, 50 do
  352. swait()
  353. tecks2.Rotation = tecks2.Rotation + 0.75
  354. tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency + 0.04
  355. tecks2.TextTransparency = tecks2.TextTransparency + 0.04
  356. tecks3.Rotation = tecks2.Rotation - 0.75
  357. tecks3.TextStrokeTransparency = tecks2.TextStrokeTransparency + 0.04
  358. tecks3.TextTransparency = tecks2.TextTransparency + 0.04
  359. end
  360. end
  361. naeeym2:Destroy()
  362. end)
  363. chat()
  364. end
  365. local Create = LoadLibrary("RbxUtility").Create
  366. CFuncs = {
  367. Part = {
  368. Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  369. local Part = Create("Part")({
  370. Parent = Parent,
  371. Reflectance = Reflectance,
  372. Transparency = Transparency,
  373. CanCollide = false,
  374. Locked = true,
  375. BrickColor = BrickColor.new(tostring(BColor)),
  376. Name = Name,
  377. Size = Size,
  378. Material = Material
  379. })
  380. RemoveOutlines(Part)
  381. return Part
  382. end
  383. },
  384. Mesh = {
  385. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  386. local Msh = Create(Mesh)({
  387. Parent = Part,
  388. Offset = OffSet,
  389. Scale = Scale
  390. })
  391. if Mesh == "SpecialMesh" then
  392. Msh.MeshType = MeshType
  393. Msh.MeshId = MeshId
  394. end
  395. return Msh
  396. end
  397. },
  398. Mesh = {
  399. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  400. local Msh = Create(Mesh)({
  401. Parent = Part,
  402. Offset = OffSet,
  403. Scale = Scale
  404. })
  405. if Mesh == "SpecialMesh" then
  406. Msh.MeshType = MeshType
  407. Msh.MeshId = MeshId
  408. end
  409. return Msh
  410. end
  411. },
  412. Weld = {
  413. Create = function(Parent, Part0, Part1, C0, C1)
  414. local Weld = Create("Weld")({
  415. Parent = Parent,
  416. Part0 = Part0,
  417. Part1 = Part1,
  418. C0 = C0,
  419. C1 = C1
  420. })
  421. return Weld
  422. end
  423. },
  424. Sound = {
  425. Create = function(id, par, vol, pit)
  426. coroutine.resume(coroutine.create(function()
  427. local S = Create("Sound")({
  428. Volume = vol,
  429. Pitch = pit or 1,
  430. SoundId = id,
  431. Parent = par or workspace
  432. })
  433. wait()
  434. S:play()
  435. game:GetService("Debris"):AddItem(S, 10)
  436. end))
  437. end
  438. },
  439. LongSound = {
  440. Create = function(id, par, vol, pit)
  441. coroutine.resume(coroutine.create(function()
  442. local S = Create("Sound")({
  443. Volume = vol,
  444. Pitch = pit or 1,
  445. SoundId = id,
  446. Parent = par or workspace
  447. })
  448. wait()
  449. S:play()
  450. game:GetService("Debris"):AddItem(S, 30)
  451. end))
  452. end
  453. },
  454. ParticleEmitter = {
  455. Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread)
  456. local fp = Create("ParticleEmitter")({
  457. Parent = Parent,
  458. Color = ColorSequence.new(Color1, Color2),
  459. LightEmission = LightEmission,
  460. Size = Size,
  461. Texture = Texture,
  462. Transparency = Transparency,
  463. ZOffset = ZOffset,
  464. Acceleration = Accel,
  465. Drag = Drag,
  466. LockedToPart = LockedToPart,
  467. VelocityInheritance = VelocityInheritance,
  468. EmissionDirection = EmissionDirection,
  469. Enabled = Enabled,
  470. Lifetime = LifeTime,
  471. Rate = Rate,
  472. Rotation = Rotation,
  473. RotSpeed = RotSpeed,
  474. Speed = Speed,
  475. VelocitySpread = VelocitySpread
  476. })
  477. return fp
  478. end
  479. },
  480. CreateTemplate = {}
  481. }
  482. function New(Object, Parent, Name, Data)
  483. local Object = Instance.new(Object)
  484. for Index, Value in pairs(Data or {}) do
  485. Object[Index] = Value
  486. end
  487. Object.Parent = Parent
  488. Object.Name = Name
  489. return Object
  490. end
  491. local halocolor = BrickColor.new("Pastel light blue")
  492. local halocolor2 = BrickColor.new("Really black")
  493. local starcolor = BrickColor.new("Really black")
  494. local lunacolor = BrickColor.new("Navy blue")
  495. local lunacolor2 = BrickColor.new("Bright blue")
  496. local wepcolor = BrickColor.new("Really black")
  497. local maincolor = BrickColor.new("Really black")
  498. local m = Instance.new("Model", char)
  499. m.Name = "wing and hand"
  500. local m2 = Instance.new("Model", char)
  501. m2.Name = "right and left hand"
  502. local m3 = Instance.new("Model", char)
  503. m3.Name = "right and left hand"
  504. local mw1 = Instance.new("Model", char)
  505. mw1.Name = "left wing"
  506. local mw2 = Instance.new("Model", char)
  507. mw2.Name = "right wing and ring"
  508. local extrawingmod1 = Instance.new("Model", char)
  509. extrawingmod1.Name = "extar_wing 1"
  510. local extrawingmod2 = Instance.new("Model", char)
  511. extrawingmod2.Name = "extar_wing 2"
  512. local extrawingmod3 = Instance.new("Model", char)
  513. extrawingmod3.Name = "extar_wing 3"
  514. local extrawingmod4 = Instance.new("Model", char)
  515. extrawingmod4.Name = "extar_wing 4"
  516. local extrawingmod5 = Instance.new("Model",char)
  517. extrawingmod5.Name = "extar_wing 5"
  518. local extrawingmod6 = Instance.new("Model",char)
  519. extrawingmod5.Name = "extar_wing 6"
  520. function CreateParta(parent, transparency, reflectance, material, brickcolor)
  521. local p = Instance.new("Part")
  522. p.TopSurface = 0
  523. p.BottomSurface = 0
  524. p.Parent = parent
  525. p.Size = Vector3.new(0.1, 0.1, 0.1)
  526. p.Transparency = transparency
  527. p.Reflectance = reflectance
  528. p.CanCollide = false
  529. p.Locked = true
  530. p.BrickColor = brickcolor
  531. p.Material = material
  532. return p
  533. end
  534. function CreateMesh(parent, meshtype, x1, y1, z1)
  535. local mesh = Instance.new("SpecialMesh", parent)
  536. mesh.MeshType = meshtype
  537. mesh.Scale = Vector3.new(x1 * 10, y1 * 10, z1 * 10)
  538. return mesh
  539. end
  540. function CreateSpecialMesh(parent, meshid, x1, y1, z1)
  541. local mesh = Instance.new("SpecialMesh", parent)
  542. mesh.MeshType = "FileMesh"
  543. mesh.MeshId = meshid
  544. mesh.Scale = Vector3.new(x1, y1, z1)
  545. return mesh
  546. end
  547. function CreateSpecialGlowMesh(parent, meshid, x1, y1, z1)
  548. local mesh = Instance.new("SpecialMesh", parent)
  549. mesh.MeshType = "FileMesh"
  550. mesh.MeshId = meshid
  551. mesh.TextureId = "http://www.roblox.com/asset/?id=269748808"
  552. mesh.Scale = Vector3.new(x1, y1, z1)
  553. mesh.VertexColor = Vector3.new(parent.BrickColor.r, parent.BrickColor.g, parent.BrickColor.b)
  554. return mesh
  555. end
  556. function CreateWeld(parent, part0, part1, C1X, C1Y, C1Z, C1Xa, C1Ya, C1Za, C0X, C0Y, C0Z, C0Xa, C0Ya, C0Za)
  557. local weld = Instance.new("Weld")
  558. weld.Parent = parent
  559. weld.Part0 = part0
  560. weld.Part1 = part1
  561. weld.C1 = CFrame.new(C1X, C1Y, C1Z) * CFrame.Angles(C1Xa, C1Ya, C1Za)
  562. weld.C0 = CFrame.new(C0X, C0Y, C0Z) * CFrame.Angles(C0Xa, C0Ya, C0Za)
  563. return weld
  564. end
  565. local handlex = CreateParta(mw2, 1, 1, "Neon", maincolor)
  566. CreateMesh(handle, "Brick", 0, 0, 0)
  567. 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))
  568. local valuaring = 10
  569. for i = 0, 49 do
  570. valuaring = valuaring + 10
  571. rn = CreateParta(mw2, 0, 0, "Neon", halocolor)
  572. CreateMesh(rn, "Brick", 0.25, 0.1, 0.1)
  573. 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))
  574. end
  575. local handle = CreateParta(m, 1, 1, "Neon", maincolor)
  576. CreateMesh(handle, "Brick", 0.5, 0.5, 0.5)
  577. 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))
  578. local lwing1 = CreateParta(m, 1, 1, "Neon", maincolor)
  579. CreateMesh(handle, "Brick", 0.5, 0.5, 0.5)
  580. 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))
  581. wed = CreateParta(mw1, 0, 0, "Neon", halocolor)
  582. CreateMesh(wed, "Wedge", 0.05, 0.5, 0.5)
  583. 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))
  584. wed = CreateParta(mw1, 0, 0, "Neon", halocolor)
  585. CreateMesh(wed, "Wedge", 0.05, 0.5, 0.5)
  586. 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))
  587. wed = CreateParta(mw1, 0, 0, "Neon", halocolor)
  588. CreateMesh(wed, "Wedge", 0.05, 0.5, 3)
  589. 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))
  590. wed = CreateParta(mw1, 0, 0, "Neon", halocolor)
  591. CreateMesh(wed, "Wedge", 0.05, 3, 0.5)
  592. 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))
  593. local lwing2 = CreateParta(m, 1, 1, "Neon", maincolor)
  594. CreateMesh(handle, "Brick", 0.5, 0.5, 0.5)
  595. 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))
  596. wed = CreateParta(mw1, 0, 0, "Neon", halocolor)
  597. CreateMesh(wed, "Wedge", 0.05, 0.5, 0.5)
  598. 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))
  599. wed = CreateParta(mw1, 0, 0, "Neon", halocolor)
  600. CreateMesh(wed, "Wedge", 0.05, 0.5, 0.5)
  601. 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))
  602. wed = CreateParta(mw1, 0, 0, "Neon", halocolor)
  603. CreateMesh(wed, "Wedge", 0.05, 0.5, 3)
  604. 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))
  605. wed = CreateParta(mw1, 0, 0, "Neon", halocolor)
  606. CreateMesh(wed, "Wedge", 0.05, 3, 0.5)
  607. 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))
  608. local lwing3 = CreateParta(m, 1, 1, "Neon", maincolor)
  609. CreateMesh(handle, "Brick", 0.5, 0.5, 0.5)
  610. 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))
  611. wed = CreateParta(mw1, 0, 0, "Neon", halocolor)
  612. CreateMesh(wed, "Wedge", 0.05, 0.5, 0.5)
  613. 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))
  614. wed = CreateParta(mw1, 0, 0, "Neon", halocolor)
  615. CreateMesh(wed, "Wedge", 0.05, 0.5, 0.5)
  616. 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))
  617. wed = CreateParta(mw1, 0, 0, "Neon", halocolor)
  618. CreateMesh(wed, "Wedge", 0.05, 0.5, 3)
  619. 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))
  620. wed = CreateParta(mw1, 0, 0, "Neon", halocolor)
  621. CreateMesh(wed, "Wedge", 0.05, 3, 0.5)
  622. 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))
  623. local lwing4 = CreateParta(m, 1, 1, "Neon", maincolor)
  624. CreateMesh(handle, "Brick", 0.5, 0.5, 0.5)
  625. 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))
  626. wed = CreateParta(extrawingmod1, 0, 0, "Neon", halocolor)
  627. CreateMesh(wed, "Wedge", 0.05, 0.5, 0.5)
  628. 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))
  629. wed = CreateParta(extrawingmod1, 0, 0, "Neon", halocolor)
  630. CreateMesh(wed, "Wedge", 0.05, 0.5, 0.5)
  631. 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))
  632. wed = CreateParta(extrawingmod1, 0, 0, "Neon", halocolor)
  633. CreateMesh(wed, "Wedge", 0.05, 0.5, 3)
  634. 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))
  635. wed = CreateParta(extrawingmod1, 0, 0, "Neon", halocolor)
  636. CreateMesh(wed, "Wedge", 0.05, 3, 0.5)
  637. 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))
  638. local lwing5 = CreateParta(m, 1, 1, "Neon", maincolor)
  639. CreateMesh(handle, "Brick", 0.5, 0.5, 0.5)
  640. 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))
  641. wed = CreateParta(extrawingmod1, 0, 0, "Neon", halocolor)
  642. CreateMesh(wed, "Wedge", 0.05, 0.5, 0.5)
  643. 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))
  644. wed = CreateParta(extrawingmod1, 0, 0, "Neon", halocolor)
  645. CreateMesh(wed, "Wedge", 0.05, 0.5, 0.5)
  646. 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))
  647. wed = CreateParta(extrawingmod1, 0, 0, "Neon", halocolor)
  648. CreateMesh(wed, "Wedge", 0.05, 0.5, 3)
  649. 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))
  650. wed = CreateParta(extrawingmod1, 0, 0, "Neon", halocolor)
  651. CreateMesh(wed, "Wedge", 0.05, 3, 0.5)
  652. 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))
  653. local lwing6 = CreateParta(m, 1, 1, "Neon", maincolor)
  654. CreateMesh(handle, "Brick", 0.5, 0.5, 0.5)
  655. 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))
  656. wed = CreateParta(extrawingmod1, 0, 0, "Neon", halocolor)
  657. CreateMesh(wed, "Wedge", 0.05, 0.5, 0.5)
  658. 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))
  659. wed = CreateParta(extrawingmod1, 0, 0, "Neon", halocolor)
  660. CreateMesh(wed, "Wedge", 0.05, 0.5, 0.5)
  661. 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))
  662. wed = CreateParta(extrawingmod1, 0, 0, "Neon", halocolor)
  663. CreateMesh(wed, "Wedge", 0.05, 0.5, 3)
  664. 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))
  665. wed = CreateParta(extrawingmod1, 0, 0, "Neon", halocolor)
  666. CreateMesh(wed, "Wedge", 0.05, 3, 0.5)
  667. 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))
  668. --edit left wing here --
  669. --local lwing7 = CreateParta(m, 1, 1, "Neon", maincolor)
  670. --CreateMesh(handle, "Brick", 0.5, 0.5, 0.5)
  671. --local lwing7weld = CreateWeld(lwing7, handle, lwing7, 8.75, 6, 0, math.rad(20), math.rad(0), math.rad(50), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
  672. --wed = CreateParta(extrawingmod3, 0, 0, "Neon", halocolor)
  673. --CreateMesh(wed, "Wedge", 0.05, 0.5, 0.5)
  674. --CreateWeld(wed, lwing7, 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))
  675. --wed = CreateParta(extrawingmod3, 0, 0, "Neon", halocolor)
  676. --CreateMesh(wed, "Wedge", 0.05, 0.5, 0.5)
  677. --CreateWeld(wed, lwing7, 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))
  678. --wed = CreateParta(extrawingmod3, 0, 0, "Neon", halocolor)
  679. --CreateMesh(wed, "Wedge", 0.05, 0.5, 3)
  680. --CreateWeld(wed, lwing7, 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))
  681. --wed = CreateParta(extrawingmod3, 0, 0, "Neon", halocolor)
  682. --CreateMesh(wed, "Wedge", 0.05, 3, 0.5)
  683. --CreateWeld(wed, lwing7, 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))
  684. --local lwing8 = CreateParta(m, 1, 1, "Neon", maincolor)
  685. --CreateMesh(handle, "Brick", 0.5, 0.5, 0.5)
  686. --local lwing8weld = CreateWeld(lwing8, handle, lwing8, 9.75, 7, 0, math.rad(25), math.rad(0), math.rad(62.5), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
  687. --wed = CreateParta(extrawingmod3, 0, 0, "Neon", halocolor)
  688. --CreateMesh(wed, "Wedge", 0.05, 0.5, 0.5)
  689. --CreateWeld(wed, lwing8, 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))
  690. --wed = CreateParta(extrawingmod3, 0, 0, "Neon", halocolor)
  691. --CreateMesh(wed, "Wedge", 0.05, 0.5, 0.5)
  692. --CreateWeld(wed, lwing8, 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))
  693. --wed = CreateParta(extrawingmod3, 0, 0, "Neon", halocolor)
  694. --CreateMesh(wed, "Wedge", 0.05, 0.5, 3)
  695. --CreateWeld(wed, lwing8, 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))
  696. --wed = CreateParta(extrawingmod3, 0, 0, "Neon", halocolor)
  697. --CreateMesh(wed, "Wedge", 0.05, 3, 0.5)
  698. --CreateWeld(wed, lwing8, 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))
  699. --local lwing9 = CreateParta(m, 1, 1, "Neon", maincolor)
  700. --CreateMesh(handle, "Brick", 0.5, 0.5, 0.5)
  701. --local lwing9weld = CreateWeld(lwing9, handle, lwing9, 10.75, 8, 0, math.rad(30), math.rad(0), math.rad(75), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
  702. --wed = CreateParta(extrawingmod3, 0, 0, "Neon", halocolor)
  703. --CreateMesh(wed, "Wedge", 0.05, 0.5, 0.5)
  704. --CreateWeld(wed, lwing9, 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))
  705. --wed = CreateParta(extrawingmod3, 0, 0, "Neon", halocolor)
  706. --CreateMesh(wed, "Wedge", 0.05, 0.5, 0.5)
  707. --CreateWeld(wed, lwing9, 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))
  708. --wed = CreateParta(extrawingmod3, 0, 0, "Neon", halocolor)
  709. --CreateMesh(wed, "Wedge", 0.05, 0.5, 3)
  710. --CreateWeld(wed, lwing9, 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))
  711. --wed = CreateParta(extrawingmod3, 0, 0, "Neon", halocolor)
  712. --CreateMesh(wed, "Wedge", 0.05, 3, 0.5)
  713. --CreateWeld(wed, lwing9, 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))
  714. --local lwing10 = CreateParta(m, 1, 1, "Neon", maincolor)
  715. --CreateMesh(handle, "Brick", 0.5, 0.5, 0.5)
  716. --local lwing10weld = CreateWeld(lwing10, handle, lwing10, 11.75, 9, 0, math.rad(30), math.rad(0), math.rad(75), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
  717. --wed = CreateParta(extrawingmod5, 0, 0, "Neon", halocolor)
  718. --CreateMesh(wed, "Wedge", 0.05, 0.5, 0.5)
  719. --CreateWeld(wed, lwing10, 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))
  720. --wed = CreateParta(extrawingmod5, 0, 0, "Neon", halocolor)
  721. --CreateMesh(wed, "Wedge", 0.05, 0.5, 0.5)
  722. --CreateWeld(wed, lwing10, 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))
  723. --wed = CreateParta(extrawingmod5, 0, 0, "Neon", halocolor)
  724. --CreateMesh(wed, "Wedge", 0.05, 0.5, 3)
  725. --CreateWeld(wed, lwing10, 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))
  726. --wed = CreateParta(extrawingmod5, 0, 0, "Neon", halocolor)
  727. --CreateMesh(wed, "Wedge", 0.05, 3, 0.5)
  728. --CreateWeld(wed, lwing10, 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))
  729. --end of edit wing left--
  730. local rwing1 = CreateParta(m, 1, 1, "Neon", maincolor)
  731. CreateMesh(handle, "Brick", 0.5, 0.5, 0.5)
  732. 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))
  733. wed = CreateParta(mw2, 0, 0, "Neon", halocolor)
  734. CreateMesh(wed, "Wedge", 0.05, 0.5, 0.5)
  735. 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))
  736. wed = CreateParta(mw2, 0, 0, "Neon", halocolor)
  737. CreateMesh(wed, "Wedge", 0.05, 0.5, 0.5)
  738. 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))
  739. wed = CreateParta(mw2, 0, 0, "Neon", halocolor)
  740. CreateMesh(wed, "Wedge", 0.05, 0.5, 3)
  741. 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))
  742. wed = CreateParta(mw2, 0, 0, "Neon", halocolor)
  743. CreateMesh(wed, "Wedge", 0.05, 3, 0.5)
  744. 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))
  745. local rwing2 = CreateParta(m, 1, 1, "Neon", maincolor)
  746. CreateMesh(handle, "Brick", 0.5, 0.5, 0.5)
  747. 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))
  748. wed = CreateParta(mw2, 0, 0, "Neon", halocolor)
  749. CreateMesh(wed, "Wedge", 0.05, 0.5, 0.5)
  750. 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))
  751. wed = CreateParta(mw2, 0, 0, "Neon", halocolor)
  752. CreateMesh(wed, "Wedge", 0.05, 0.5, 0.5)
  753. 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))
  754. wed = CreateParta(mw2, 0, 0, "Neon", halocolor)
  755. CreateMesh(wed, "Wedge", 0.05, 0.5, 3)
  756. 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))
  757. wed = CreateParta(mw2, 0, 0, "Neon", halocolor)
  758. CreateMesh(wed, "Wedge", 0.05, 3, 0.5)
  759. 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))
  760. local rwing3 = CreateParta(m, 1, 1, "Neon", maincolor)
  761. CreateMesh(handle, "Brick", 0.5, 0.5, 0.5)
  762. 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))
  763. wed = CreateParta(mw2, 0, 0, "Neon", halocolor)
  764. CreateMesh(wed, "Wedge", 0.05, 0.5, 0.5)
  765. 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))
  766. wed = CreateParta(mw2, 0, 0, "Neon", halocolor)
  767. CreateMesh(wed, "Wedge", 0.05, 0.5, 0.5)
  768. 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))
  769. wed = CreateParta(mw2, 0, 0, "Neon", halocolor)
  770. CreateMesh(wed, "Wedge", 0.05, 0.5, 3)
  771. 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))
  772. wed = CreateParta(mw2, 0, 0, "Neon", halocolor)
  773. CreateMesh(wed, "Wedge", 0.05, 3, 0.5)
  774. 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))
  775. local rwing4 = CreateParta(m, 1, 1, "Neon", maincolor)
  776. CreateMesh(handle, "Brick", 0.5, 0.5, 0.5)
  777. 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))
  778. wed = CreateParta(extrawingmod2, 0, 0, "Neon", halocolor)
  779. CreateMesh(wed, "Wedge", 0.05, 0.5, 0.5)
  780. 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))
  781. wed = CreateParta(extrawingmod2, 0, 0, "Neon", halocolor)
  782. CreateMesh(wed, "Wedge", 0.05, 0.5, 0.5)
  783. 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))
  784. wed = CreateParta(extrawingmod2, 0, 0, "Neon", halocolor)
  785. CreateMesh(wed, "Wedge", 0.05, 0.5, 3)
  786. 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))
  787. wed = CreateParta(extrawingmod2, 0, 0, "Neon", halocolor)
  788. CreateMesh(wed, "Wedge", 0.05, 3, 0.5)
  789. 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))
  790. local rwing5 = CreateParta(m, 1, 1, "Neon", maincolor)
  791. CreateMesh(handle, "Brick", 0.5, 0.5, 0.5)
  792. 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))
  793. wed = CreateParta(extrawingmod2, 0, 0, "Neon", halocolor)
  794. CreateMesh(wed, "Wedge", 0.05, 0.5, 0.5)
  795. 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))
  796. wed = CreateParta(extrawingmod2, 0, 0, "Neon", halocolor)
  797. CreateMesh(wed, "Wedge", 0.05, 0.5, 0.5)
  798. 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))
  799. wed = CreateParta(extrawingmod2, 0, 0, "Neon", halocolor)
  800. CreateMesh(wed, "Wedge", 0.05, 0.5, 3)
  801. 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))
  802. wed = CreateParta(extrawingmod2, 0, 0, "Neon", halocolor)
  803. CreateMesh(wed, "Wedge", 0.05, 3, 0.5)
  804. 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))
  805. local rwing6 = CreateParta(m, 1, 1, "Neon", maincolor)
  806. CreateMesh(handle, "Brick", 0.5, 0.5, 0.5)
  807. 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))
  808. wed = CreateParta(extrawingmod2, 0, 0, "Neon", halocolor)
  809. CreateMesh(wed, "Wedge", 0.05, 0.5, 0.5)
  810. 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))
  811. wed = CreateParta(extrawingmod2, 0, 0, "Neon", halocolor)
  812. CreateMesh(wed, "Wedge", 0.05, 0.5, 0.5)
  813. 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))
  814. wed = CreateParta(extrawingmod2, 0, 0, "Neon", halocolor)
  815. CreateMesh(wed, "Wedge", 0.05, 0.5, 3)
  816. 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))
  817. wed = CreateParta(extrawingmod2, 0, 0, "Neon", halocolor)
  818. CreateMesh(wed, "Wedge", 0.05, 3, 0.5)
  819. 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))
  820. --start of edit right wing--
  821. --local rwing7 = CreateParta(m, 1, 1, "Neon", maincolor)
  822. --CreateMesh(handle, "Brick", 0.5, 0.5, 0.5)
  823. --local rwing7weld = CreateWeld(rwing7, handle, rwing7, -8.75, 3, 0, math.rad(35), math.rad(0), math.rad(-87.5), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
  824. --wed = CreateParta(extrawingmod4, 0, 0, "Neon", halocolor)
  825. --CreateMesh(wed, "Wedge", 0.05, 0.5, 0.5)
  826. --CreateWeld(wed, rwing7, 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))
  827. --wed = CreateParta(extrawingmod4, 0, 0, "Neon", halocolor)
  828. --CreateMesh(wed, "Wedge", 0.05, 0.5, 0.5)
  829. --CreateWeld(wed, rwing7, 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))
  830. --wed = CreateParta(extrawingmod4, 0, 0, "Neon", halocolor)
  831. --CreateMesh(wed, "Wedge", 0.05, 0.5, 3)
  832. --CreateWeld(wed, rwing7, 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))
  833. --wed = CreateParta(extrawingmod4, 0, 0, "Neon", halocolor)
  834. --CreateMesh(wed, "Wedge", 0.05, 3, 0.5)
  835. --CreateWeld(wed, rwing7, 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))
  836. --local rwing8 = CreateParta(m, 1, 1, "Neon", maincolor)
  837. --CreateMesh(handle, "Brick", 0.5, 0.5, 0.5)
  838. --local rwing8weld = CreateWeld(rwing8, handle, rwing8, -9.75, 4, 0, math.rad(40), math.rad(0), math.rad(-100), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
  839. --wed = CreateParta(extrawingmod4, 0, 0, "Neon", halocolor)
  840. --CreateMesh(wed, "Wedge", 0.05, 0.5, 0.5)
  841. --CreateWeld(wed, rwing8, 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))
  842. --wed = CreateParta(extrawingmod4, 0, 0, "Neon", halocolor)
  843. --CreateMesh(wed, "Wedge", 0.05, 0.5, 0.5)
  844. --CreateWeld(wed, rwing8, 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))
  845. --wed = CreateParta(extrawingmod4, 0, 0, "Neon", halocolor)
  846. --CreateMesh(wed, "Wedge", 0.05, 0.5, 3)
  847. --CreateWeld(wed, rwing8, 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))
  848. --wed = CreateParta(extrawingmod4, 0, 0, "Neon", halocolor)
  849. --CreateMesh(wed, "Wedge", 0.05, 3, 0.5)
  850. --CreateWeld(wed, rwing8, 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))
  851. --local rwing9 = CreateParta(m, 1, 1, "Neon", maincolor)
  852. --CreateMesh(handle, "Brick", 0.5, 0.5, 0.5)
  853. --local rwing9weld = CreateWeld(rwing9, handle, rwing9, -10.75, 3, 0, math.rad(45), math.rad(0), math.rad(-112), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
  854. --wed = CreateParta(extrawingmod4, 0, 0, "Neon", halocolor)
  855. --CreateMesh(wed, "Wedge", 0.05, 0.5, 0.5)
  856. --CreateWeld(wed, rwing9, 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))
  857. --wed = CreateParta(extrawingmod4, 0, 0, "Neon", halocolor)
  858. --CreateMesh(wed, "Wedge", 0.05, 0.5, 0.5)
  859. --CreateWeld(wed, rwing9, 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))
  860. --wed = CreateParta(extrawingmod4, 0, 0, "Neon", halocolor)
  861. --CreateMesh(wed, "Wedge", 0.05, 0.5, 3)
  862. --CreateWeld(wed, rwing9, 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))
  863. --wed = CreateParta(extrawingmod4, 0, 0, "Neon", halocolor)
  864. --CreateMesh(wed, "Wedge", 0.05, 3, 0.5)
  865. --CreateWeld(wed, rwing9, 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))
  866. ----local rwing10 = CreateParta(m, 1, 1, "Neon", maincolor)
  867. ----CreateMesh(handle, "Brick", 0.5, 0.5, 0.5)
  868. ----local rwing10weld = CreateWeld(rwing10, handle, rwing10, -11.75, 3, 0, math.rad(50), math.rad(0), math.rad(-124.5), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
  869. ----wed = CreateParta(extrawingmod6, 0, 0, "Neon", halocolor)
  870. ----CreateMesh(wed, "Wedge", 0.05, 0.5, 0.5)
  871. ----CreateWeld(wed, rwing9, 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))
  872. ----wed = CreateParta(extrawingmod6, 0, 0, "Neon", halocolor)
  873. ----CreateMesh(wed, "Wedge", 0.05, 0.5, 0.5)
  874. ----CreateWeld(wed, rwing9, 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))
  875. ----wed = CreateParta(extrawingmod6, 0, 0, "Neon", halocolor)
  876. ----CreateMesh(wed, "Wedge", 0.05, 0.5, 3)
  877. ----CreateWeld(wed, rwing10, 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))
  878. ----wed = CreateParta(extrawingmod6, 0, 0, "Neon", halocolor)
  879. ----CreateMesh(wed, "Wedge", 0.05, 3, 0.5)
  880. ----CreateWeld(wed, rwing10, 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))
  881. --end of edit right wing--
  882. ran = CreateParta(m2, 0, 0, "SmoothPlastic", wepcolor)
  883. CreateMesh(ran, "Wedge", 1.02, 1.02, 1.02)
  884. 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))
  885. ran = CreateParta(m, 0, 0, "SmoothPlastic", wepcolor)
  886. CreateMesh(ran, "Wedge", 0.9, 0.9, 1.025)
  887. 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))
  888. ran = CreateParta(m, 0, 0, "SmoothPlastic", wepcolor)
  889. CreateMesh(ran, "Wedge", 1.025, 0.9, 0.9)
  890. 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))
  891. gan = CreateParta(m, 0, 0, "SmoothPlastic", wepcolor)
  892. CreateMesh(gan, "Brick", 1.075, 0.1, 1.075)
  893. 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))
  894. gan = CreateParta(m, 0, 0, "SmoothPlastic", wepcolor)
  895. CreateMesh(gan, "Brick", 1.075, 0.1, 1.075)
  896. 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))
  897. gan = CreateParta(m2, 0, 0, "Neon", halocolor2)
  898. CreateMesh(gan, "Brick", 1.095, 0.035, 1.095)
  899. 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))
  900. gan = CreateParta(m2, 0, 0, "Neon", halocolor2)
  901. CreateMesh(gan, "Brick", 1.095, 0.035, 1.095)
  902. 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))
  903. gane = CreateParta(m3, 0, 0, "SmoothPlastic", lunacolor2)
  904. CreateMesh(gane, "Brick", 1.0625, 0.2, 1.0625)
  905. 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))
  906. star = CreateParta(m, 0, 0, "SmoothPlastic", wepcolor)
  907. CreateSpecialMesh(star, "http://www.roblox.com/asset/?id=45428961", 2.5, 2.5, 2.5)
  908. 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))
  909. starl = CreateParta(m3, 0, 0, "SmoothPlastic", starcolor)
  910. CreateSpecialMesh(starl, "http://www.roblox.com/asset/?id=45428961", 1.95, 2.55, 1.95)
  911. 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))
  912. dotsec = CreateParta(m3, 0, 0, "Neon", halocolor)
  913. CreateMesh(dotsec, "Sphere", 0.1, 0.1, 0.15)
  914. 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))
  915. dotseca = CreateParta(m, 0, 0, "SmoothPlastic", wepcolor)
  916. CreateMesh(dotseca, "Sphere", 0.2, 0.2, 0.1)
  917. 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))
  918. dotsecb = CreateParta(m2, 0, 0, "SmoothPlastic", lunacolor)
  919. CreateMesh(dotsecb, "Sphere", 0.15, 0.15, 0.125)
  920. 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))
  921. dotsec = CreateParta(m3, 0, 0, "Neon", halocolor)
  922. CreateMesh(dotsec, "Sphere", 0.1, 0.1, 0.15)
  923. 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))
  924. dotseca = CreateParta(m, 0, 0, "SmoothPlastic", wepcolor)
  925. CreateMesh(dotseca, "Sphere", 0.2, 0.2, 0.1)
  926. 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))
  927. dotsecb = CreateParta(m2, 0, 0, "SmoothPlastic", lunacolor)
  928. CreateMesh(dotsecb, "Sphere", 0.15, 0.15, 0.125)
  929. 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))
  930. dotsec = CreateParta(m3, 0, 0, "Neon", halocolor)
  931. CreateMesh(dotsec, "Sphere", 0.1, 0.1, 0.15)
  932. 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))
  933. dotseca = CreateParta(m, 0, 0, "SmoothPlastic", wepcolor)
  934. CreateMesh(dotseca, "Sphere", 0.2, 0.2, 0.1)
  935. 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))
  936. dotsecb = CreateParta(m2, 0, 0, "SmoothPlastic", lunacolor)
  937. CreateMesh(dotsecb, "Sphere", 0.15, 0.15, 0.125)
  938. 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))
  939. dotsec = CreateParta(m3, 0, 0, "Neon", halocolor)
  940. CreateMesh(dotsec, "Sphere", 0.1, 0.1, 0.15)
  941. 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))
  942. dotseca = CreateParta(m, 0, 0, "SmoothPlastic", wepcolor)
  943. CreateMesh(dotseca, "Sphere", 0.2, 0.2, 0.1)
  944. 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))
  945. dotsecb = CreateParta(m2, 0, 0, "SmoothPlastic", lunacolor)
  946. CreateMesh(dotsecb, "Sphere", 0.15, 0.15, 0.125)
  947. 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))
  948. dotsec = CreateParta(m3, 0, 0, "Neon", halocolor)
  949. CreateMesh(dotsec, "Sphere", 0.1, 0.1, 0.15)
  950. 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))
  951. dotseca = CreateParta(m, 0, 0, "SmoothPlastic", wepcolor)
  952. CreateMesh(dotseca, "Sphere", 0.2, 0.2, 0.1)
  953. 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))
  954. dotsecb = CreateParta(m2, 0, 0, "SmoothPlastic", lunacolor)
  955. CreateMesh(dotsecb, "Sphere", 0.15, 0.15, 0.125)
  956. 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))
  957. dotsec = CreateParta(m3, 0, 0, "Neon", halocolor)
  958. CreateMesh(dotsec, "Sphere", 0.1, 0.1, 0.15)
  959. 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))
  960. dotseca = CreateParta(m, 0, 0, "SmoothPlastic", wepcolor)
  961. CreateMesh(dotseca, "Sphere", 0.2, 0.2, 0.1)
  962. 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))
  963. dotsecb = CreateParta(m2, 0, 0, "SmoothPlastic", lunacolor)
  964. CreateMesh(dotsecb, "Sphere", 0.15, 0.15, 0.125)
  965. 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))
  966. dotsec = CreateParta(m3, 0, 0, "Neon", halocolor)
  967. CreateMesh(dotsec, "Sphere", 0.1, 0.1, 0.15)
  968. 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))
  969. dotseca = CreateParta(m, 0, 0, "SmoothPlastic", wepcolor)
  970. CreateMesh(dotseca, "Sphere", 0.2, 0.2, 0.1)
  971. 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))
  972. dotsecb = CreateParta(m2, 0, 0, "SmoothPlastic", lunacolor)
  973. CreateMesh(dotsecb, "Sphere", 0.15, 0.15, 0.125)
  974. 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))
  975. dotsec = CreateParta(m3, 0, 0, "Neon", halocolor)
  976. CreateMesh(dotsec, "Sphere", 0.1, 0.1, 0.15)
  977. 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))
  978. dotseca = CreateParta(m, 0, 0, "SmoothPlastic", wepcolor)
  979. CreateMesh(dotseca, "Sphere", 0.2, 0.2, 0.1)
  980. 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))
  981. dotsecb = CreateParta(m2, 0, 0, "SmoothPlastic", lunacolor)
  982. CreateMesh(dotsecb, "Sphere", 0.15, 0.15, 0.125)
  983. 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))
  984. dotsec = CreateParta(m3, 0, 0, "Neon", halocolor)
  985. CreateMesh(dotsec, "Sphere", 0.1, 0.1, 0.15)
  986. 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))
  987. dotseca = CreateParta(m, 0, 0, "SmoothPlastic", wepcolor)
  988. CreateMesh(dotseca, "Sphere", 0.2, 0.2, 0.1)
  989. 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))
  990. dotsecb = CreateParta(m2, 0, 0, "SmoothPlastic", lunacolor)
  991. CreateMesh(dotsecb, "Sphere", 0.15, 0.15, 0.125)
  992. 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))
  993. dotsec = CreateParta(m3, 0, 0, "Neon", halocolor)
  994. CreateMesh(dotsec, "Sphere", 0.1, 0.1, 0.15)
  995. 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))
  996. dotseca = CreateParta(m, 0, 0, "SmoothPlastic", wepcolor)
  997. CreateMesh(dotseca, "Sphere", 0.2, 0.2, 0.1)
  998. 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))
  999. dotsecb = CreateParta(m2, 0, 0, "SmoothPlastic", lunacolor)
  1000. CreateMesh(dotsecb, "Sphere", 0.15, 0.15, 0.125)
  1001. 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))
  1002. ran = CreateParta(m2, 0, 0, "SmoothPlastic", wepcolor)
  1003. CreateMesh(ran, "Wedge", 1.02, 1.02, 1.02)
  1004. 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))
  1005. ran = CreateParta(m, 0, 0, "SmoothPlastic", wepcolor)
  1006. CreateMesh(ran, "Wedge", 0.9, 0.9, 1.025)
  1007. 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))
  1008. ran = CreateParta(m, 0, 0, "SmoothPlastic", wepcolor)
  1009. CreateMesh(ran, "Wedge", 1.025, 0.9, 0.9)
  1010. 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))
  1011. gan = CreateParta(m, 0, 0, "SmoothPlastic", wepcolor)
  1012. CreateMesh(gan, "Brick", 1.075, 0.1, 1.075)
  1013. 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))
  1014. gan = CreateParta(m, 0, 0, "SmoothPlastic", wepcolor)
  1015. CreateMesh(gan, "Brick", 1.075, 0.1, 1.075)
  1016. 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))
  1017. gan = CreateParta(m2, 0, 0, "Neon", halocolor2)
  1018. CreateMesh(gan, "Brick", 1.095, 0.035, 1.095)
  1019. 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))
  1020. gan = CreateParta(m2, 0, 0, "Neon", halocolor2)
  1021. CreateMesh(gan, "Brick", 1.095, 0.035, 1.095)
  1022. 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))
  1023. gane = CreateParta(m3, 0, 0, "SmoothPlastic", lunacolor2)
  1024. CreateMesh(gane, "Brick", 1.0625, 0.2, 1.0625)
  1025. 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))
  1026. star = CreateParta(m, 0, 0, "SmoothPlastic", wepcolor)
  1027. CreateSpecialMesh(star, "http://www.roblox.com/asset/?id=45428961", 2.5, 2.5, 2.5)
  1028. 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))
  1029. starl = CreateParta(m3, 0, 0, "SmoothPlastic", starcolor)
  1030. CreateSpecialMesh(starl, "http://www.roblox.com/asset/?id=45428961", 1.95, 2.55, 1.95)
  1031. 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))
  1032. dotsec = CreateParta(m3, 0, 0, "Neon", halocolor)
  1033. CreateMesh(dotsec, "Sphere", 0.1, 0.1, 0.15)
  1034. 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))
  1035. dotseca = CreateParta(m, 0, 0, "SmoothPlastic", wepcolor)
  1036. CreateMesh(dotseca, "Sphere", 0.2, 0.2, 0.1)
  1037. 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))
  1038. dotsecb = CreateParta(m2, 0, 0, "SmoothPlastic", lunacolor)
  1039. CreateMesh(dotsecb, "Sphere", 0.15, 0.15, 0.125)
  1040. 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))
  1041. dotsec = CreateParta(m3, 0, 0, "Neon", halocolor)
  1042. CreateMesh(dotsec, "Sphere", 0.1, 0.1, 0.15)
  1043. 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))
  1044. dotseca = CreateParta(m, 0, 0, "SmoothPlastic", wepcolor)
  1045. CreateMesh(dotseca, "Sphere", 0.2, 0.2, 0.1)
  1046. 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))
  1047. dotsecb = CreateParta(m2, 0, 0, "SmoothPlastic", lunacolor)
  1048. CreateMesh(dotsecb, "Sphere", 0.15, 0.15, 0.125)
  1049. 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))
  1050. dotsec = CreateParta(m3, 0, 0, "Neon", halocolor)
  1051. CreateMesh(dotsec, "Sphere", 0.1, 0.1, 0.15)
  1052. 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))
  1053. dotseca = CreateParta(m, 0, 0, "SmoothPlastic", wepcolor)
  1054. CreateMesh(dotseca, "Sphere", 0.2, 0.2, 0.1)
  1055. 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))
  1056. dotsecb = CreateParta(m2, 0, 0, "SmoothPlastic", lunacolor)
  1057. CreateMesh(dotsecb, "Sphere", 0.15, 0.15, 0.125)
  1058. 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))
  1059. dotsec = CreateParta(m3, 0, 0, "Neon", halocolor)
  1060. CreateMesh(dotsec, "Sphere", 0.1, 0.1, 0.15)
  1061. 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))
  1062. dotseca = CreateParta(m, 0, 0, "SmoothPlastic", wepcolor)
  1063. CreateMesh(dotseca, "Sphere", 0.2, 0.2, 0.1)
  1064. 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))
  1065. dotsecb = CreateParta(m2, 0, 0, "SmoothPlastic", lunacolor)
  1066. CreateMesh(dotsecb, "Sphere", 0.15, 0.15, 0.125)
  1067. 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))
  1068. dotsec = CreateParta(m3, 0, 0, "Neon", halocolor)
  1069. CreateMesh(dotsec, "Sphere", 0.1, 0.1, 0.15)
  1070. 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))
  1071. dotseca = CreateParta(m, 0, 0, "SmoothPlastic", wepcolor)
  1072. CreateMesh(dotseca, "Sphere", 0.2, 0.2, 0.1)
  1073. 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))
  1074. dotsecb = CreateParta(m2, 0, 0, "SmoothPlastic", lunacolor)
  1075. CreateMesh(dotsecb, "Sphere", 0.15, 0.15, 0.125)
  1076. 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))
  1077. dotsec = CreateParta(m3, 0, 0, "Neon", halocolor)
  1078. CreateMesh(dotsec, "Sphere", 0.1, 0.1, 0.15)
  1079. 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))
  1080. dotseca = CreateParta(m, 0, 0, "SmoothPlastic", wepcolor)
  1081. CreateMesh(dotseca, "Sphere", 0.2, 0.2, 0.1)
  1082. 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))
  1083. dotsecb = CreateParta(m2, 0, 0, "SmoothPlastic", lunacolor)
  1084. CreateMesh(dotsecb, "Sphere", 0.15, 0.15, 0.125)
  1085. 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))
  1086. dotsec = CreateParta(m3, 0, 0, "Neon", halocolor)
  1087. CreateMesh(dotsec, "Sphere", 0.1, 0.1, 0.15)
  1088. 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))
  1089. dotseca = CreateParta(m, 0, 0, "SmoothPlastic", wepcolor)
  1090. CreateMesh(dotseca, "Sphere", 0.2, 0.2, 0.1)
  1091. 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))
  1092. dotsecb = CreateParta(m2, 0, 0, "SmoothPlastic", lunacolor)
  1093. CreateMesh(dotsecb, "Sphere", 0.15, 0.15, 0.125)
  1094. 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))
  1095. dotsec = CreateParta(m3, 0, 0, "Neon", halocolor)
  1096. CreateMesh(dotsec, "Sphere", 0.1, 0.1, 0.15)
  1097. 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))
  1098. dotseca = CreateParta(m, 0, 0, "SmoothPlastic", wepcolor)
  1099. CreateMesh(dotseca, "Sphere", 0.2, 0.2, 0.1)
  1100. 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))
  1101. dotsecb = CreateParta(m2, 0, 0, "SmoothPlastic", lunacolor)
  1102. CreateMesh(dotsecb, "Sphere", 0.15, 0.15, 0.125)
  1103. 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))
  1104. dotsec = CreateParta(m3, 0, 0, "Neon", halocolor)
  1105. CreateMesh(dotsec, "Sphere", 0.1, 0.1, 0.15)
  1106. 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))
  1107. dotseca = CreateParta(m, 0, 0, "SmoothPlastic", wepcolor)
  1108. CreateMesh(dotseca, "Sphere", 0.2, 0.2, 0.1)
  1109. 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))
  1110. dotsecb = CreateParta(m2, 0, 0, "SmoothPlastic", lunacolor)
  1111. CreateMesh(dotsecb, "Sphere", 0.15, 0.15, 0.125)
  1112. 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))
  1113. dotsec = CreateParta(m3, 0, 0, "Neon", halocolor)
  1114. CreateMesh(dotsec, "Sphere", 0.1, 0.1, 0.15)
  1115. 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))
  1116. dotseca = CreateParta(m, 0, 0, "SmoothPlastic", wepcolor)
  1117. CreateMesh(dotseca, "Sphere", 0.2, 0.2, 0.1)
  1118. 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))
  1119. dotsecb = CreateParta(m2, 0, 0, "SmoothPlastic", lunacolor)
  1120. CreateMesh(dotsecb, "Sphere", 0.15, 0.15, 0.125)
  1121. 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))
  1122. for i, v in pairs(m:GetChildren()) do
  1123. if v:IsA("Part") then
  1124. v.BrickColor = BrickColor.new("Really black")
  1125. v.Material = "Glass"
  1126. end
  1127. end
  1128. for i, v in pairs(m2:GetChildren()) do
  1129. if v:IsA("Part") then
  1130. v.BrickColor = BrickColor.new("Crimson")
  1131. v.Material = "Granite"
  1132. end
  1133. end
  1134. for i, v in pairs(m3:GetChildren()) do
  1135. if v:IsA("Part") then
  1136. v.BrickColor = BrickColor.new("Really red")
  1137. v.Material = "Neon"
  1138. end
  1139. end
  1140. for i, v in pairs(mw2:GetChildren()) do
  1141. if v:IsA("Part") then
  1142. v.BrickColor = BrickColor.new("Really red")
  1143. v.Material = "Neon"
  1144. end
  1145. end
  1146. for i, v in pairs(mw1:GetChildren()) do
  1147. if v:IsA("Part") then
  1148. v.Transparency = 0
  1149. v.BrickColor = BrickColor.new("Really red")
  1150. v.Material = "Neon"
  1151. end
  1152. end
  1153. for i, v in pairs(extrawingmod1:GetChildren()) do
  1154. if v:IsA("Part") then
  1155. v.Transparency = 0
  1156. v.BrickColor = BrickColor.new("Really red")
  1157. v.Material = "Neon"
  1158. end
  1159. end
  1160. for i, v in pairs(extrawingmod2:GetChildren()) do
  1161. if v:IsA("Part") then
  1162. v.Transparency = 0
  1163. v.BrickColor = BrickColor.new("Really red")
  1164. v.Material = "Neon"
  1165. end
  1166. end
  1167. for i, v in pairs(extrawingmod3:GetChildren()) do
  1168. if v:IsA("Part") then
  1169. v.Transparency = 0
  1170. v.BrickColor = BrickColor.new("Really red")
  1171. v.Material = "Neon"
  1172. end
  1173. end
  1174. for i, v in pairs(extrawingmod4:GetChildren()) do
  1175. if v:IsA("Part") then
  1176. v.Transparency = 0
  1177. v.BrickColor = BrickColor.new("Really red")
  1178. v.Material = "Neon"
  1179. end
  1180. end
  1181. 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),})
  1182. Mesh = New("SpecialMesh",FHead,"Mesh",{Scale = Vector3.new(1.25999999, 1.5, 1.25999999),})
  1183. 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),})
  1184. FHead.CanCollide = false
  1185.  
  1186.  
  1187.  
  1188. local MAINRUINCOLOR = BrickColor.new("Really red")
  1189. function RemoveOutlines(part)
  1190. part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10
  1191. end
  1192. function CreatePart(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  1193. local Part = Create("Part")({
  1194. Parent = Parent,
  1195. Reflectance = Reflectance,
  1196. Transparency = Transparency,
  1197. CanCollide = false,
  1198. Locked = true,
  1199. BrickColor = BrickColor.new(tostring(BColor)),
  1200. Name = Name,
  1201. Size = Size,
  1202. Material = Material
  1203. })
  1204. Part.CustomPhysicalProperties = PhysicalProperties.new(0.001, 0.001, 0.001, 0.001, 0.001)
  1205. RemoveOutlines(Part)
  1206. return Part
  1207. end
  1208. function CreateMesh(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  1209. local Msh = Create(Mesh)({
  1210. Parent = Part,
  1211. Offset = OffSet,
  1212. Scale = Scale
  1213. })
  1214. if Mesh == "SpecialMesh" then
  1215. Msh.MeshType = MeshType
  1216. Msh.MeshId = MeshId
  1217. end
  1218. return Msh
  1219. end
  1220. function CreateWeld(Parent, Part0, Part1, C0, C1)
  1221. local Weld = Create("Weld")({
  1222. Parent = Parent,
  1223. Part0 = Part0,
  1224. Part1 = Part1,
  1225. C0 = C0,
  1226. C1 = C1
  1227. })
  1228. return Weld
  1229. end
  1230. Player = game:GetService("Players").LocalPlayer
  1231. Character = Player.Character
  1232. PlayerGui = Player.PlayerGui
  1233. Backpack = Player.Backpack
  1234. Torso = Character.Torso
  1235. Head = Character.Head
  1236. Humanoid = Character.Humanoid
  1237. m = Instance.new("Model", Character)
  1238. LeftArm = Character["Left Arm"]
  1239. LeftLeg = Character["Left Leg"]
  1240. RightArm = Character["Right Arm"]
  1241. RightLeg = Character["Right Leg"]
  1242. LS = Torso["Left Shoulder"]
  1243. LH = Torso["Left Hip"]
  1244. RS = Torso["Right Shoulder"]
  1245. RH = Torso["Right Hip"]
  1246. Face = Head.face
  1247. Neck = Torso.Neck
  1248. it = Instance.new
  1249. attacktype = 1
  1250. vt = Vector3.new
  1251. cf = CFrame.new
  1252. euler = CFrame.fromEulerAnglesXYZ
  1253. angles = CFrame.Angles
  1254. cloaked = false
  1255. necko = cf(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
  1256. necko2 = cf(0, -0.5, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
  1257. LHC0 = cf(-1, -1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  1258. LHC1 = cf(-0.5, 1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  1259. RHC0 = cf(1, -1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  1260. RHC1 = cf(0.5, 1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  1261. RootPart = Character.HumanoidRootPart
  1262. RootJoint = RootPart.RootJoint
  1263. RootCF = euler(-1.57, 0, 3.14)
  1264. attack = false
  1265. attackdebounce = false
  1266. deb = false
  1267. equipped = true
  1268. hand = false
  1269. MMouse = nil
  1270. combo = 0
  1271. mana = 0
  1272. trispeed = 0.2
  1273. attackmode = "none"
  1274. local idle = 0
  1275. local Anim = "Idle"
  1276. local Effects = {}
  1277. local gun = false
  1278. local shoot = false
  1279. local sine = 0
  1280. local change = 1
  1281. player = nil
  1282. local toggleTag = true
  1283. local txt = Instance.new("BillboardGui", Head)
  1284. txt.Adornee = nil
  1285. txt.Name = "NameDetect"
  1286. txt.Size = UDim2.new(4, 0, 1.2, 0)
  1287. txt.StudsOffset = Vector3.new(-8, 5.333333333333333, 0)
  1288. local text = Instance.new("TextLabel", txt)
  1289. text.Size = UDim2.new(5, 0, 3.5, 0)
  1290. text.FontSize = "Size8"
  1291. text.TextScaled = true
  1292. text.TextTransparency = 0
  1293. text.BackgroundTransparency = 1
  1294. text.TextTransparency = 0
  1295. text.TextStrokeTransparency = 0
  1296. text.Font = "Fantasy"
  1297. text.TextStrokeColor3 = Color3.new(1, 0, 0)
  1298. text.TextColor3 = Color3.new(0, 0, 0)
  1299. text.Text = "Blaze"
  1300. function RecolorTextAndRename(name, col1, col2)
  1301. text.TextStrokeColor3 = col2
  1302. text.TextColor3 = col1
  1303. text.Text = name
  1304. end
  1305. mouse = Player:GetMouse()
  1306. RSH, LSH = nil, nil
  1307. RW, LW = Instance.new("Weld"), Instance.new("Weld")
  1308. RW.Name = "Right Shoulder"
  1309. LW.Name = "Left Shoulder"
  1310. LH = Torso["Left Hip"]
  1311. RH = Torso["Right Hip"]
  1312. TorsoColor = Torso.BrickColor
  1313. function NoOutline(Part)
  1314. Part.TopSurface, Part.BottomSurface, Part.LeftSurface, Part.RightSurface, Part.FrontSurface, Part.BackSurface = 10, 10, 10, 10, 10, 10
  1315. end
  1316. player = Player
  1317. ch = Character
  1318. RSH = ch.Torso["Right Shoulder"]
  1319. LSH = ch.Torso["Left Shoulder"]
  1320. RSH.Parent = nil
  1321. LSH.Parent = nil
  1322. RW.Name = "Right Shoulder"
  1323. RW.Part0 = ch.Torso
  1324. RW.C0 = cf(1.5, 0.5, 0)
  1325. RW.C1 = cf(0, 0.5, 0)
  1326. RW.Part1 = ch["Right Arm"]
  1327. RW.Parent = ch.Torso
  1328. LW.Name = "Left Shoulder"
  1329. LW.Part0 = ch.Torso
  1330. LW.C0 = cf(-1.5, 0.5, 0)
  1331. LW.C1 = cf(0, 0.5, 0)
  1332. LW.Part1 = ch["Left Arm"]
  1333. LW.Parent = ch.Torso
  1334. local Stats = Instance.new("BoolValue")
  1335. Stats.Name = "Stats"
  1336. Stats.Parent = Character
  1337. local Atk = Instance.new("NumberValue")
  1338. Atk.Name = "Damage"
  1339. Atk.Parent = Stats
  1340. Atk.Value = 1
  1341. local Def = Instance.new("NumberValue")
  1342. Def.Name = "Defense"
  1343. Def.Parent = Stats
  1344. Def.Value = 1
  1345. local Speed = Instance.new("NumberValue")
  1346. Speed.Name = "Speed"
  1347. Speed.Parent = Stats
  1348. Speed.Value = 1
  1349. local Mvmt = Instance.new("NumberValue")
  1350. Mvmt.Name = "Movement"
  1351. Mvmt.Parent = Stats
  1352. Mvmt.Value = 1
  1353. local donum = 0
  1354. function part(formfactor, parent, reflectance, transparency, brickcolor, name, size)
  1355. local fp = it("Part")
  1356. fp.formFactor = formfactor
  1357. fp.Parent = parent
  1358. fp.Reflectance = reflectance
  1359. fp.Transparency = transparency
  1360. fp.CanCollide = false
  1361. fp.Locked = true
  1362. fp.BrickColor = brickcolor
  1363. fp.Name = name
  1364. fp.Size = size
  1365. fp.Position = Torso.Position
  1366. NoOutline(fp)
  1367. fp.Material = "SmoothPlastic"
  1368. fp:BreakJoints()
  1369. return fp
  1370. end
  1371. function mesh(Mesh, part, meshtype, meshid, offset, scale)
  1372. local mesh = it(Mesh)
  1373. mesh.Parent = part
  1374. if Mesh == "SpecialMesh" then
  1375. mesh.MeshType = meshtype
  1376. if meshid ~= "nil" then
  1377. mesh.MeshId = "http://www.roblox.com/asset/?id=" .. meshid
  1378. end
  1379. end
  1380. mesh.Offset = offset
  1381. mesh.Scale = scale
  1382. return mesh
  1383. end
  1384. function weld(parent, part0, part1, c0)
  1385. local weld = it("Weld")
  1386. weld.Parent = parent
  1387. weld.Part0 = part0
  1388. weld.Part1 = part1
  1389. weld.C0 = c0
  1390. return weld
  1391. end
  1392. local Color1 = Torso.BrickColor
  1393. local bodvel = Instance.new("BodyVelocity")
  1394. local bg = Instance.new("BodyGyro")
  1395. function swait(num)
  1396. if num == 0 or num == nil then
  1397. game:service("RunService").Stepped:wait(0)
  1398. else
  1399. for i = 0, num do
  1400. game:service("RunService").Stepped:wait(0)
  1401. end
  1402. end
  1403. end
  1404. local r = 255
  1405. local g = 0
  1406. local b = 0
  1407. coroutine.resume(coroutine.create(function()
  1408. while wait() do
  1409. for i = 0, 50.8 do
  1410. swait()
  1411. g = g + 5
  1412. end
  1413. for i = 0, 50.8 do
  1414. swait()
  1415. r = r - 5
  1416. end
  1417. for i = 0, 50.8 do
  1418. swait()
  1419. b = b + 5
  1420. end
  1421. for i = 0, 50.8 do
  1422. swait()
  1423. g = g - 5
  1424. end
  1425. for i = 0, 50.8 do
  1426. swait()
  1427. r = r + 5
  1428. end
  1429. for i = 0, 50.8 do
  1430. swait()
  1431. b = b - 5
  1432. end
  1433. end
  1434. end))
  1435. function so(id, par, vol, pit)
  1436. coroutine.resume(coroutine.create(function()
  1437. local sou = Instance.new("Sound", par or workspace)
  1438. sou.Volume = vol
  1439. sou.Pitch = pit or 1
  1440. sou.SoundId = id
  1441. swait()
  1442. sou:play()
  1443. game:GetService("Debris"):AddItem(sou, 6)
  1444. end))
  1445. end
  1446. function clerp(a, b, t)
  1447. local qa = {
  1448. QuaternionFromCFrame(a)
  1449. }
  1450. local qb = {
  1451. QuaternionFromCFrame(b)
  1452. }
  1453. local ax, ay, az = a.x, a.y, a.z
  1454. local bx, by, bz = b.x, b.y, b.z
  1455. local _t = 1 - t
  1456. return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  1457. end
  1458. function QuaternionFromCFrame(cf)
  1459. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  1460. local trace = m00 + m11 + m22
  1461. if trace > 0 then
  1462. local s = math.sqrt(1 + trace)
  1463. local recip = 0.5 / s
  1464. return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  1465. else
  1466. local i = 0
  1467. if m00 < m11 then
  1468. i = 1
  1469. end
  1470. if m22 > (i == 0 and m00 or m11) then
  1471. i = 2
  1472. end
  1473. if i == 0 then
  1474. local s = math.sqrt(m00 - m11 - m22 + 1)
  1475. local recip = 0.5 / s
  1476. return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  1477. elseif i == 1 then
  1478. local s = math.sqrt(m11 - m22 - m00 + 1)
  1479. local recip = 0.5 / s
  1480. return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  1481. elseif i == 2 then
  1482. local s = math.sqrt(m22 - m00 - m11 + 1)
  1483. local recip = 0.5 / s
  1484. return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  1485. end
  1486. end
  1487. end
  1488. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  1489. local xs, ys, zs = x + x, y + y, z + z
  1490. local wx, wy, wz = w * xs, w * ys, w * zs
  1491. local xx = x * xs
  1492. local xy = x * ys
  1493. local xz = x * zs
  1494. local yy = y * ys
  1495. local yz = y * zs
  1496. local zz = z * zs
  1497. 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))
  1498. end
  1499. function QuaternionSlerp(a, b, t)
  1500. local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  1501. local startInterp, finishInterp
  1502. if cosTheta >= 1.0E-4 then
  1503. if 1 - cosTheta > 1.0E-4 then
  1504. local theta = math.acos(cosTheta)
  1505. local invSinTheta = 1 / math.sin(theta)
  1506. startInterp = math.sin((1 - t) * theta) * invSinTheta
  1507. finishInterp = math.sin(t * theta) * invSinTheta
  1508. else
  1509. startInterp = 1 - t
  1510. finishInterp = t
  1511. end
  1512. elseif 1 + cosTheta > 1.0E-4 then
  1513. local theta = math.acos(-cosTheta)
  1514. local invSinTheta = 1 / math.sin(theta)
  1515. startInterp = math.sin((t - 1) * theta) * invSinTheta
  1516. finishInterp = math.sin(t * theta) * invSinTheta
  1517. else
  1518. startInterp = t - 1
  1519. finishInterp = t
  1520. end
  1521. 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
  1522. end
  1523. local CFrameFromTopBack = function(at, top, back)
  1524. local right = top:Cross(back)
  1525. 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)
  1526. end
  1527. function Triangle(a, b, c)
  1528. local edg1 = (c - a):Dot((b - a).unit)
  1529. local edg2 = (a - b):Dot((c - b).unit)
  1530. local edg3 = (b - c):Dot((a - c).unit)
  1531. if edg1 <= (b - a).magnitude and edg1 >= 0 then
  1532. a, b = a, b
  1533. elseif edg2 <= (c - b).magnitude and edg2 >= 0 then
  1534. a, b, c = b, c, a
  1535. elseif edg3 <= (a - c).magnitude and edg3 >= 0 then
  1536. a, b, c = c, a, b
  1537. else
  1538. assert(false, "unreachable")
  1539. end
  1540. local len1 = (c - a):Dot((b - a).unit)
  1541. local len2 = (b - a).magnitude - len1
  1542. local width = (a + (b - a).unit * len1 - c).magnitude
  1543. local maincf = CFrameFromTopBack(a, (b - a):Cross(c - b).unit, -(b - a).unit)
  1544. local list = {}
  1545. if len1 > 0.01 then
  1546. local w1 = Instance.new("WedgePart", m)
  1547. game:GetService("Debris"):AddItem(w1, 5)
  1548. w1.Material = "SmoothPlastic"
  1549. w1.FormFactor = "Custom"
  1550. w1.BrickColor = BrickColor.new("Really red")
  1551. w1.Transparency = 0
  1552. w1.Reflectance = 0
  1553. w1.Material = "SmoothPlastic"
  1554. w1.CanCollide = false
  1555. local l1 = Instance.new("PointLight", w1)
  1556. l1.Color = Color3.new(170, 0, 0)
  1557. NoOutline(w1)
  1558. local sz = Vector3.new(0.2, width, len1)
  1559. w1.Size = sz
  1560. local sp = Instance.new("SpecialMesh", w1)
  1561. sp.MeshType = "Wedge"
  1562. sp.Scale = Vector3.new(0, 1, 1) * sz / w1.Size
  1563. w1:BreakJoints()
  1564. w1.Anchored = true
  1565. w1.Parent = workspace
  1566. w1.Transparency = 0.7
  1567. table.insert(Effects, {
  1568. w1,
  1569. "Disappear",
  1570. 0.01
  1571. })
  1572. w1.CFrame = maincf * CFrame.Angles(math.pi, 0, math.pi / 2) * CFrame.new(0, width / 2, len1 / 2)
  1573. table.insert(list, w1)
  1574. end
  1575. if len2 > 0.01 then
  1576. local w2 = Instance.new("WedgePart", m)
  1577. game:GetService("Debris"):AddItem(w2, 5)
  1578. w2.Material = "SmoothPlastic"
  1579. w2.FormFactor = "Custom"
  1580. w2.BrickColor = BrickColor.new("Really red")
  1581. w2.Transparency = 0
  1582. w2.Reflectance = 0
  1583. w2.Material = "SmoothPlastic"
  1584. w2.CanCollide = false
  1585. local l2 = Instance.new("PointLight", w2)
  1586. l2.Color = Color3.new(170, 0, 0)
  1587. NoOutline(w2)
  1588. local sz = Vector3.new(0.2, width, len2)
  1589. w2.Size = sz
  1590. local sp = Instance.new("SpecialMesh", w2)
  1591. sp.MeshType = "Wedge"
  1592. sp.Scale = Vector3.new(0, 1, 1) * sz / w2.Size
  1593. w2:BreakJoints()
  1594. w2.Anchored = true
  1595. w2.Parent = workspace
  1596. w2.Transparency = 0.7
  1597. table.insert(Effects, {
  1598. w2,
  1599. "Disappear",
  1600. 0.01
  1601. })
  1602. w2.CFrame = maincf * CFrame.Angles(math.pi, math.pi, -math.pi / 2) * CFrame.new(0, width / 2, -len1 - len2 / 2)
  1603. table.insert(list, w2)
  1604. end
  1605. return unpack(list)
  1606. end
  1607. function Damagefunc(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch)
  1608. if hit.Parent == nil then
  1609. return
  1610. end
  1611. local h = hit.Parent:FindFirstChildOfClass("Humanoid")
  1612. for _, v in pairs(hit.Parent:children()) do
  1613. if v:IsA("Humanoid") then
  1614. h = v
  1615. end
  1616. end
  1617. if h ~= nil and hit.Parent.Name ~= Character.Name and hit.Parent:FindFirstChild("Head") ~= nil then
  1618. if hit.Parent:findFirstChild("DebounceHit") ~= nil and hit.Parent.DebounceHit.Value == true then
  1619. return
  1620. end
  1621. local c = Create("ObjectValue")({
  1622. Name = "creator",
  1623. Value = game:service("Players").LocalPlayer,
  1624. Parent = h
  1625. })
  1626. game:GetService("Debris"):AddItem(c, 0.5)
  1627. if HitSound ~= nil and HitPitch ~= nil then
  1628. CFuncs.Sound.Create(HitSound, hit, 1, HitPitch)
  1629. end
  1630. local Damage = math.random(minim, maxim)
  1631. local blocked = false
  1632. local block = hit.Parent:findFirstChild("Block")
  1633. if block ~= nil and block.className == "IntValue" and block.Value > 0 then
  1634. blocked = true
  1635. block.Value = block.Value - 1
  1636. print(block.Value)
  1637. end
  1638. if blocked == false then
  1639. HitHealth = h.Health
  1640. h.Health = h.Health - Damage
  1641. if HitHealth ~= h.Health and HitHealth ~= 0 and 0 >= h.Health and h.Parent.Name ~= "Hologram" then
  1642. print("gained kill")
  1643. end
  1644. ShowDamage(Part.CFrame * CFrame.new(0, 0, Part.Size.Z / 2).p + Vector3.new(0, 1.5, 0), -Damage, 1.5, Part.BrickColor.Color)
  1645. else
  1646. h.Health = h.Health - Damage / 2
  1647. ShowDamage(Part.CFrame * CFrame.new(0, 0, Part.Size.Z / 2).p + Vector3.new(0, 1.5, 0), -Damage, 1.5, Part.BrickColor.Color)
  1648. end
  1649. if Type == "Knockdown" then
  1650. local hum = hit.Parent.Humanoid
  1651. hum.PlatformStand = true
  1652. coroutine.resume(coroutine.create(function(HHumanoid)
  1653. swait(1)
  1654. HHumanoid.PlatformStand = false
  1655. end), hum)
  1656. local angle = hit.Position - (Property.Position + Vector3.new(0, 0, 0)).unit
  1657. local bodvol = Create("BodyVelocity")({
  1658. velocity = angle * knockback,
  1659. P = 5000,
  1660. maxForce = Vector3.new(8000, 8000, 8000),
  1661. Parent = hit
  1662. })
  1663. local rl = Create("BodyAngularVelocity")({
  1664. P = 3000,
  1665. maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000,
  1666. angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)),
  1667. Parent = hit
  1668. })
  1669. game:GetService("Debris"):AddItem(bodvol, 0.5)
  1670. game:GetService("Debris"):AddItem(rl, 0.5)
  1671. elseif Type == "Normal" then
  1672. local vp = Create("BodyVelocity")({
  1673. P = 500,
  1674. maxForce = Vector3.new(math.huge, 0, math.huge),
  1675. velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05
  1676. })
  1677. if knockback > 0 then
  1678. vp.Parent = hit.Parent.Head
  1679. end
  1680. game:GetService("Debris"):AddItem(vp, 0.5)
  1681. elseif Type == "Up" then
  1682. local bodyVelocity = Create("BodyVelocity")({
  1683. velocity = Vector3.new(0, 20, 0),
  1684. P = 5000,
  1685. maxForce = Vector3.new(8000, 8000, 8000),
  1686. Parent = hit
  1687. })
  1688. game:GetService("Debris"):AddItem(bodyVelocity, 0.5)
  1689. local bodyVelocity = Create("BodyVelocity")({
  1690. velocity = Vector3.new(0, 20, 0),
  1691. P = 5000,
  1692. maxForce = Vector3.new(8000, 8000, 8000),
  1693. Parent = hit
  1694. })
  1695. game:GetService("Debris"):AddItem(bodyVelocity, 1)
  1696. elseif Type == "Leech" then
  1697. local hum = hit.Parent.Humanoid
  1698. if hum ~= nil then
  1699. for i = 0, 2 do
  1700. 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)
  1701. end
  1702. Humanoid.Health = Humanoid.Health + 10
  1703. end
  1704. elseif Type == "UpKnock" then
  1705. local hum = hit.Parent.Humanoid
  1706. hum.PlatformStand = true
  1707. if hum ~= nil then
  1708. hitr = true
  1709. end
  1710. coroutine.resume(coroutine.create(function(HHumanoid)
  1711. swait(5)
  1712. HHumanoid.PlatformStand = false
  1713. hitr = false
  1714. end), hum)
  1715. local bodyVelocity = Create("BodyVelocity")({
  1716. velocity = Vector3.new(0, 20, 0),
  1717. P = 5000,
  1718. maxForce = Vector3.new(8000, 8000, 8000),
  1719. Parent = hit
  1720. })
  1721. game:GetService("Debris"):AddItem(bodyVelocity, 0.5)
  1722. local bodyVelocity = Create("BodyVelocity")({
  1723. velocity = Vector3.new(0, 20, 0),
  1724. P = 5000,
  1725. maxForce = Vector3.new(8000, 8000, 8000),
  1726. Parent = hit
  1727. })
  1728. game:GetService("Debris"):AddItem(bodyVelocity, 1)
  1729. elseif Type == "Snare" then
  1730. local bp = Create("BodyPosition")({
  1731. P = 2000,
  1732. D = 100,
  1733. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  1734. position = hit.Parent.Torso.Position,
  1735. Parent = hit.Parent.Torso
  1736. })
  1737. game:GetService("Debris"):AddItem(bp, 1)
  1738. elseif Type == "Slashnare" then
  1739. Effects.Block.Create(BrickColor.new("Pastel Blue"), hit.Parent.Torso.CFrame * cn(0, 0, 0), 60, 60, 60, 12, 12, 12, 0.07)
  1740. for i = 1, math.random(4, 5) do
  1741. 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)
  1742. end
  1743. local bp = Create("BodyPosition")({
  1744. P = 2000,
  1745. D = 100,
  1746. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  1747. position = hit.Parent.Torso.Position,
  1748. Parent = hit.Parent.Torso
  1749. })
  1750. game:GetService("Debris"):AddItem(bp, 1)
  1751. elseif Type == "Spike" then
  1752. CreateBigIceSword(hit.Parent.Torso.CFrame)
  1753. local bp = Create("BodyPosition")({
  1754. P = 2000,
  1755. D = 100,
  1756. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  1757. position = hit.Parent.Torso.Position,
  1758. Parent = hit.Parent.Torso
  1759. })
  1760. game:GetService("Debris"):AddItem(bp, 1)
  1761. elseif Type == "Freeze" then
  1762. local BodPos = Create("BodyPosition")({
  1763. P = 50000,
  1764. D = 1000,
  1765. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  1766. position = hit.Parent.Torso.Position,
  1767. Parent = hit.Parent.Torso
  1768. })
  1769. local BodGy = Create("BodyGyro")({
  1770. maxTorque = Vector3.new(400000, 400000, 400000) * math.huge,
  1771. P = 20000,
  1772. Parent = hit.Parent.Torso,
  1773. cframe = hit.Parent.Torso.CFrame
  1774. })
  1775. hit.Parent.Torso.Anchored = true
  1776. coroutine.resume(coroutine.create(function(Part)
  1777. swait(1.5)
  1778. Part.Anchored = false
  1779. end), hit.Parent.Torso)
  1780. game:GetService("Debris"):AddItem(BodPos, 3)
  1781. game:GetService("Debris"):AddItem(BodGy, 3)
  1782. end
  1783. local debounce = Create("BoolValue")({
  1784. Name = "DebounceHit",
  1785. Parent = hit.Parent,
  1786. Value = true
  1787. })
  1788. game:GetService("Debris"):AddItem(debounce, Delay)
  1789. c = Instance.new("ObjectValue")
  1790. c.Name = "creator"
  1791. c.Value = Player
  1792. c.Parent = h
  1793. game:GetService("Debris"):AddItem(c, 0.5)
  1794. end
  1795. end
  1796. function ShowDamage(Pos, Text, Time, Color)
  1797. local Rate = 0.03333333333333333
  1798. local Pos = Pos or Vector3.new(0, 0, 0)
  1799. local Text = Text or ""
  1800. local Time = Time or 2
  1801. local Color = Color or Color3.new(1, 0, 1)
  1802. local EffectPart = CreatePart(workspace, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", Vector3.new(0, 0, 0))
  1803. EffectPart.Anchored = true
  1804. local BillboardGui = Create("BillboardGui")({
  1805. Size = UDim2.new(3, 0, 3, 0),
  1806. Adornee = EffectPart,
  1807. Parent = EffectPart
  1808. })
  1809. local TextLabel = Create("TextLabel")({
  1810. BackgroundTransparency = 1,
  1811. Size = UDim2.new(1, 0, 1, 0),
  1812. Text = Text,
  1813. TextColor3 = Color,
  1814. TextScaled = true,
  1815. Font = Enum.Font.ArialBold,
  1816. Parent = BillboardGui
  1817. })
  1818. game.Debris:AddItem(EffectPart, Time + 0.1)
  1819. EffectPart.Parent = game:GetService("Workspace")
  1820. delay(0, function()
  1821. local Frames = Time / Rate
  1822. for Frame = 1, Frames do
  1823. wait(Rate)
  1824. local Percent = Frame / Frames
  1825. EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0)
  1826. TextLabel.TextTransparency = Percent
  1827. end
  1828. if EffectPart and EffectPart.Parent then
  1829. EffectPart:Destroy()
  1830. end
  1831. end)
  1832. end
  1833. function MagniDamage(Part, magni, mindam, maxdam, knock, Type)
  1834. for _, c in pairs(workspace:children()) do
  1835. local hum = c:findFirstChildOfClass("Humanoid")
  1836. if hum ~= nil then
  1837. local head = c:findFirstChild("Head")
  1838. if head ~= nil then
  1839. local targ = head.Position - Part.Position
  1840. local mag = targ.magnitude
  1841. if magni >= mag and c.Name ~= Player.Name then
  1842. Damagefunc(head, head, mindam, maxdam, knock, Type, RootPart, 0.1, "rbxassetid://231917784", 1)
  1843. end
  1844. end
  1845. end
  1846. end
  1847. end
  1848. function FindNearestTorso(Position, Distance, SinglePlayer)
  1849. if SinglePlayer then
  1850. return (SinglePlayer.Torso.CFrame.p - Position).magnitude < Distance
  1851. end
  1852. local List = {}
  1853. for i, v in pairs(workspace:GetChildren()) do
  1854. if v:IsA("Model") then
  1855. if v:findFirstChild("Torso") then
  1856. if v ~= Character then
  1857. if (v.Torso.Position - Position).magnitude <= Distance then
  1858. table.insert(List, v)
  1859. end
  1860. end
  1861. end
  1862. end
  1863. end
  1864. return List
  1865. end
  1866. function MagniDamageWithEffect(Part, magni, mindam, maxdam, knock, Type)
  1867. for _, c in pairs(workspace:children()) do
  1868. local hum = c:findFirstChild("Humanoid")
  1869. if hum ~= nil then
  1870. local head = c:findFirstChild("Torso")
  1871. if head ~= nil then
  1872. local targ = head.Position - Part.Position
  1873. local mag = targ.magnitude
  1874. if magni >= mag and c.Name ~= Player.Name then
  1875. MagicBlock(BrickColor.new("Pastel light blue"), head.CFrame, 5, 5, 5, 1, 1, 1, 0.05)
  1876. Damagefunc(head, head, mindam, maxdam, knock, Type, RootPart, 0.1, "rbxassetid://231917784", 1)
  1877. end
  1878. end
  1879. end
  1880. end
  1881. end
  1882. function rayCast(Pos, Dir, Max, Ignore)
  1883. return game:service("Workspace"):FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore)
  1884. end
  1885. function SkullEffect(brickcolor, cframe, x1, y1, z1, delay)
  1886. local prt = part(3, workspace, 0, 0, brickcolor, "Effect", vt(0.5, 0.5, 0.5))
  1887. prt.Anchored = true
  1888. prt.CFrame = cframe
  1889. local msh = mesh("SpecialMesh", prt, "FileMesh", "http://www.roblox.com/asset/?id=4770583", vt(0, 0, 0), vt(x1, y1, z1))
  1890. game:GetService("Debris"):AddItem(prt, 2)
  1891. CF = prt.CFrame
  1892. coroutine.resume(coroutine.create(function(Part, Mesh, TehCF)
  1893. for i = 0, 1, 0.2 do
  1894. wait()
  1895. Part.CFrame = CF * cf(0, 0, -0.4)
  1896. end
  1897. for i = 0, 1, delay do
  1898. wait()
  1899. Mesh.Scale = Mesh.Scale
  1900. end
  1901. for i = 0, 1, 0.1 do
  1902. wait()
  1903. Part.Transparency = i
  1904. end
  1905. Part.Parent = nil
  1906. end), prt, msh, CF)
  1907. end
  1908. function MagicBlock(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  1909. local prt = part(3, char, 0, 0, brickcolor, "Effect", vt(0.5, 0.5, 0.5))
  1910. prt.Anchored = true
  1911. prt.Material = "Neon"
  1912. prt.CFrame = cframe
  1913. prt.CFrame = prt.CFrame * euler(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  1914. msh = mesh("BlockMesh", prt, "", "", vt(0, 0, 0), vt(x1, y1, z1))
  1915. game:GetService("Debris"):AddItem(prt, 5)
  1916. coroutine.resume(coroutine.create(function(Part, Mesh)
  1917. for i = 0, 1, delay do
  1918. swait()
  1919. Part.CFrame = Part.CFrame * euler(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  1920. Part.Transparency = i
  1921. Mesh.Scale = Mesh.Scale + vt(x3, y3, z3)
  1922. end
  1923. Part.Parent = nil
  1924. end), prt, msh)
  1925. end
  1926. function MagicBlockSteady(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, rottype)
  1927. local prt = part(3, char, 0, 0, brickcolor, "Effect", vt(0.5, 0.5, 0.5))
  1928. prt.Anchored = true
  1929. prt.Material = "Neon"
  1930. prt.CFrame = cframe
  1931. msh = mesh("BlockMesh", prt, "", "", vt(0, 0, 0), vt(x1, y1, z1))
  1932. game:GetService("Debris"):AddItem(prt, 5)
  1933. coroutine.resume(coroutine.create(function(Part, Mesh)
  1934. local rtype = rottype
  1935. for i = 0, 1, delay do
  1936. swait()
  1937. if rtype == 1 then
  1938. prt.CFrame = prt.CFrame * CFrame.Angles(0, 0, 0.1)
  1939. elseif rtype == 2 then
  1940. prt.CFrame = prt.CFrame * CFrame.Angles(0, 0, -0.1)
  1941. end
  1942. Part.Transparency = i
  1943. Mesh.Scale = Mesh.Scale + vt(x3, y3, z3)
  1944. end
  1945. Part.Parent = nil
  1946. end), prt, msh)
  1947. end
  1948. function MagicSphere(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  1949. local prt = part(3, char, 0, 0, brickcolor, "Effect", vt(0.5, 0.5, 0.5))
  1950. prt.Anchored = true
  1951. prt.CFrame = cframe
  1952. prt.CFrame = prt.CFrame * euler(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  1953. msh = mesh("SpecialMesh", prt, "Sphere", "", vt(0, 0, 0), vt(x1, y1, z1))
  1954. game:GetService("Debris"):AddItem(prt, 5)
  1955. coroutine.resume(coroutine.create(function(Part, Mesh)
  1956. for i = 0, 1, delay do
  1957. wait()
  1958. Part.Transparency = i
  1959. Mesh.Scale = Mesh.Scale + vt(x3, y3, z3)
  1960. end
  1961. Part.Parent = nil
  1962. end), prt, msh)
  1963. end
  1964. function MagicBlockSteady(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, rottype)
  1965. local prt = part(3, char, 0, 0, brickcolor, "Effect", vt(0.5, 0.5, 0.5))
  1966. prt.Anchored = true
  1967. prt.Material = "Neon"
  1968. prt.CFrame = cframe
  1969. msh = mesh("BlockMesh", prt, "", "", vt(0, 0, 0), vt(x1, y1, z1))
  1970. game:GetService("Debris"):AddItem(prt, 5)
  1971. coroutine.resume(coroutine.create(function(Part, Mesh)
  1972. local rtype = rottype
  1973. for i = 0, 1, delay do
  1974. swait()
  1975. if rtype == 1 then
  1976. prt.CFrame = prt.CFrame * CFrame.Angles(0, 0, 0.1)
  1977. elseif rtype == 2 then
  1978. prt.CFrame = prt.CFrame * CFrame.Angles(0, 0, -0.1)
  1979. end
  1980. Part.Transparency = i
  1981. Mesh.Scale = Mesh.Scale + vt(x3, y3, z3)
  1982. end
  1983. Part.Parent = nil
  1984. end), prt, msh)
  1985. end
  1986. function MagicShock(brickcolor, cframe, x1, y1, x3, y3, delay, rottype)
  1987. local prt = part(3, char, 1, 1, brickcolor, "Effect", vt(0.5, 0.5, 0.5))
  1988. prt.Anchored = true
  1989. prt.Material = "Neon"
  1990. prt.CFrame = cframe
  1991. local dec = decal(prt.Color, "http://www.roblox.com/asset/?id=874580939", "Front", prt)
  1992. local dec2 = decal(prt.Color, "http://www.roblox.com/asset/?id=874580939", "Front", prt)
  1993. msh = mesh("BlockMesh", prt, "", "", vt(0, 0, 0), vt(x1, y1, 0.01))
  1994. game:GetService("Debris"):AddItem(prt, 5)
  1995. coroutine.resume(coroutine.create(function(Part, Mesh)
  1996. local rtype = rottype
  1997. for i = 0, 1, delay do
  1998. swait()
  1999. if rtype == 1 then
  2000. prt.CFrame = prt.CFrame * CFrame.Angles(0, 0, 0.1)
  2001. elseif rtype == 2 then
  2002. prt.CFrame = prt.CFrame * CFrame.Angles(0, 0, -0.1)
  2003. end
  2004. dec.Transparency = i
  2005. dec2.Transparency = i
  2006. Mesh.Scale = Mesh.Scale + vt(x3, y3, 0)
  2007. end
  2008. Part.Parent = nil
  2009. end), prt, msh)
  2010. end
  2011. function MagicShockAlt(brickcolor, cframe, x1, y1, x3, y3, delay, rottype)
  2012. local prt = part(3, char, 0, 0, brickcolor, "Effect", vt(0.5, 0.5, 0.5))
  2013. prt.Anchored = true
  2014. prt.Material = "Neon"
  2015. prt.CFrame = cframe
  2016. msh = mesh("BlockMesh", prt, "", "", vt(0, 0, 0), vt(x1, y1, 0.01))
  2017. game:GetService("Debris"):AddItem(prt, 5)
  2018. coroutine.resume(coroutine.create(function(Part, Mesh)
  2019. local rtype = rottype
  2020. for i = 0, 1, delay do
  2021. swait()
  2022. if rtype == 1 then
  2023. prt.CFrame = prt.CFrame * CFrame.Angles(0, 0, 0.1)
  2024. elseif rtype == 2 then
  2025. prt.CFrame = prt.CFrame * CFrame.Angles(0, 0, -0.1)
  2026. end
  2027. prt.Transparency = i
  2028. Mesh.Scale = Mesh.Scale + vt(x3, y3, 0)
  2029. end
  2030. Part.Parent = nil
  2031. end), prt, msh)
  2032. end
  2033. function MagicShockAltCircle(brickcolor, cframe, x1, z1, x3, z3, delay, rottype)
  2034. local prt = part(3, char, 0, 0, brickcolor, "Effect", vt(0.5, 0.5, 0.5))
  2035. prt.Anchored = true
  2036. prt.Material = "Neon"
  2037. prt.CFrame = cframe
  2038. msh = mesh("BlockMesh", prt, "", "", vt(0, 0, 0), vt(x1, 1, z1))
  2039. game:GetService("Debris"):AddItem(prt, 5)
  2040. coroutine.resume(coroutine.create(function(Part, Mesh)
  2041. local rtype = rottype
  2042. for i = 0, 1, delay do
  2043. swait()
  2044. if rtype == 1 then
  2045. prt.CFrame = prt.CFrame * CFrame.Angles(0, 0.1, 0)
  2046. elseif rtype == 2 then
  2047. prt.CFrame = prt.CFrame * CFrame.Angles(0, -0.1, 0)
  2048. end
  2049. prt.Transparency = i
  2050. Mesh.Scale = Mesh.Scale + vt(x3, 0, z3)
  2051. end
  2052. Part.Parent = nil
  2053. end), prt, msh)
  2054. end
  2055. function MagicShockTrailAlt(brickcolor, cframe, x1, y1, z1, x3, y3, delay, rottype)
  2056. local prt = part(3, char, 0, 0, brickcolor, "Effect", vt(0.5, 0.5, 0.5))
  2057. prt.Anchored = true
  2058. prt.Material = "Neon"
  2059. prt.CFrame = cframe
  2060. msh = mesh("BlockMesh", prt, "", "", vt(0, 0, 0), vt(x1, y1, z1))
  2061. game:GetService("Debris"):AddItem(prt, 5)
  2062. coroutine.resume(coroutine.create(function(Part, Mesh)
  2063. local rtype = rottype
  2064. for i = 0, 1, delay do
  2065. swait()
  2066. if rtype == 1 then
  2067. prt.CFrame = prt.CFrame * CFrame.Angles(0, 0, 0.1)
  2068. elseif rtype == 2 then
  2069. prt.CFrame = prt.CFrame * CFrame.Angles(0, 0, -0.1)
  2070. end
  2071. prt.Transparency = i
  2072. Mesh.Scale = Mesh.Scale + vt(x3, y3, 0)
  2073. end
  2074. Part.Parent = nil
  2075. end), prt, msh)
  2076. end
  2077. function MagicShockTrailAlt2(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, rottype)
  2078. local prt = part(3, char, 0, 0, brickcolor, "Effect", vt(0.5, 0.5, 0.5))
  2079. prt.Anchored = true
  2080. prt.Material = "Neon"
  2081. prt.CFrame = cframe
  2082. msh = mesh("BlockMesh", prt, "", "", vt(0, 0, 0), vt(x1, y1, z1))
  2083. game:GetService("Debris"):AddItem(prt, 5)
  2084. coroutine.resume(coroutine.create(function(Part, Mesh)
  2085. local rtype = rottype
  2086. for i = 0, 1, delay do
  2087. swait()
  2088. if rtype == 1 then
  2089. prt.CFrame = prt.CFrame * CFrame.Angles(0, 0, 0.1)
  2090. elseif rtype == 2 then
  2091. prt.CFrame = prt.CFrame * CFrame.Angles(0, 0, -0.1)
  2092. end
  2093. prt.Transparency = i
  2094. Mesh.Scale = Mesh.Scale + vt(x3, y3, z3)
  2095. end
  2096. Part.Parent = nil
  2097. end), prt, msh)
  2098. end
  2099. function MagicBlock2(brickcolor, cframe, Parent, x1, y1, z1, x3, y3, z3, delay)
  2100. local prt = part(3, char, 0, 0, brickcolor, "Effect", vt(0.5, 0.5, 0.5))
  2101. prt.Anchored = false
  2102. prt.CFrame = cframe
  2103. msh = mesh("BlockMesh", prt, "", "", vt(0, 0, 0), vt(x1, y1, z1))
  2104. local wld = weld(prt, prt, Parent, cframe)
  2105. game:GetService("Debris"):AddItem(prt, 5)
  2106. coroutine.resume(coroutine.create(function(Part, Mesh, Weld)
  2107. for i = 0, 1, delay do
  2108. wait()
  2109. Weld.C0 = euler(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)) * cframe
  2110. Part.Transparency = i
  2111. Mesh.Scale = Mesh.Scale + vt(x3, y3, z3)
  2112. end
  2113. Part.Parent = nil
  2114. end), prt, msh, wld)
  2115. end
  2116. function MagicBlock3(brickcolor, cframe, Parent, x1, y1, z1, x3, y3, z3, delay)
  2117. local prt = part(3, workspace, 0, 0, brickcolor, "Effect", vt(0.5, 0.5, 0.5))
  2118. prt.Anchored = false
  2119. prt.CFrame = cframe
  2120. msh = mesh("BlockMesh", prt, "", "", vt(0, 0, 0), vt(x1, y1, z1))
  2121. local wld = weld(prt, prt, Parent, euler(0, 0, 0) * cf(0, 0, 0))
  2122. game:GetService("Debris"):AddItem(prt, 5)
  2123. coroutine.resume(coroutine.create(function(Part, Mesh, Weld)
  2124. for i = 0, 1, delay do
  2125. wait()
  2126. Weld.C0 = euler(i * 20, 0, 0)
  2127. Part.Transparency = i
  2128. Mesh.Scale = Mesh.Scale + vt(x3, y3, z3)
  2129. end
  2130. Part.Parent = nil
  2131. end), prt, msh, wld)
  2132. end
  2133. function MagicCircle2(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  2134. local prt = part(3, workspace, 0, 0, brickcolor, "Effect", vt(0.5, 0.5, 0.5))
  2135. prt.Anchored = true
  2136. prt.CFrame = cframe
  2137. local msh = mesh("CylinderMesh", prt, "", "", vt(0, 0, 0), vt(x1, y1, z1))
  2138. game:GetService("Debris"):AddItem(prt, 2)
  2139. coroutine.resume(coroutine.create(function(Part, Mesh)
  2140. for i = 0, 1, delay do
  2141. wait()
  2142. Part.CFrame = Part.CFrame
  2143. Mesh.Scale = Mesh.Scale + vt(x3, y3, z3)
  2144. local prt2 = part(3, workspace, 0, 0, brickcolor, "Effect", vt(0.5, 0.5, 0.5))
  2145. prt2.Anchored = true
  2146. prt2.CFrame = cframe * euler(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  2147. local msh2 = mesh("SpecialMesh", prt2, "Sphere", "", vt(0, 0, 0), vt(0.5, 0.5, 0.5))
  2148. game:GetService("Debris"):AddItem(prt2, 2)
  2149. coroutine.resume(coroutine.create(function(Part, Mesh)
  2150. for i = 0, 1, 0.1 do
  2151. wait()
  2152. Part.CFrame = Part.CFrame * cf(0, 0.5, 0)
  2153. end
  2154. Part.Parent = nil
  2155. end), prt2, msh2)
  2156. end
  2157. for i = 0, 1, delay * 2 do
  2158. wait()
  2159. Part.CFrame = Part.CFrame
  2160. Mesh.Scale = vt(x1 + x3 - (x1 + x3) * i, y1 + y3 - (y1 + y3) * i, z1 + z3 - (z1 + z3) * i)
  2161. end
  2162. Part.Parent = nil
  2163. end), prt, msh)
  2164. end
  2165. function MagicCircle(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  2166. local prt = part(3, workspace, 0, 0, brickcolor, "Effect", vt(0.5, 0.5, 0.5))
  2167. prt.Anchored = true
  2168. prt.CFrame = cframe
  2169. local msh = mesh("SpecialMesh", prt, "Sphere", "", vt(0, 0, 0), vt(x1, y1, z1))
  2170. game:GetService("Debris"):AddItem(prt, 2)
  2171. coroutine.resume(coroutine.create(function(Part, Mesh)
  2172. for i = 0, 1, delay do
  2173. wait()
  2174. Part.CFrame = Part.CFrame
  2175. Part.Transparency = i
  2176. Mesh.Scale = Mesh.Scale + vt(x3, y3, z3)
  2177. end
  2178. Part.Parent = nil
  2179. end), prt, msh)
  2180. end
  2181. function BreakEffect(brickcolor, cframe, x1, y1, z1)
  2182. local prt = part(3, workspace, 0, 0, brickcolor, "Effect", vt(0.5, 0.5, 0.5))
  2183. prt.Anchored = true
  2184. prt.CFrame = cframe * euler(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  2185. local msh = mesh("SpecialMesh", prt, "Sphere", "", vt(0, 0, 0), vt(x1, y1, z1))
  2186. game:GetService("Debris"):AddItem(prt, 2)
  2187. coroutine.resume(coroutine.create(function(Part, CF, Numbb, randnumb)
  2188. CF = Part.CFrame
  2189. Numbb = 0
  2190. randnumb = math.random() / 10
  2191. rand1 = math.random() / 10
  2192. for i = 0, 1, rand1 do
  2193. wait()
  2194. CF = CF * cf(0, math.random() / 2, 0)
  2195. Part.CFrame = CF * euler(Numbb, 0, 0)
  2196. Part.Transparency = i
  2197. Numbb = Numbb + randnumb
  2198. end
  2199. Part.Parent = nil
  2200. end), prt, CF, Numbb, randnumb)
  2201. end
  2202. function MagicWaveThing(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  2203. local prt = part(3, workspace, 0, 0, brickcolor, "Effect", vt(0.5, 0.5, 0.5))
  2204. prt.Anchored = true
  2205. prt.CFrame = cframe
  2206. msh = mesh("SpecialMesh", prt, "FileMesh", "http://www.roblox.com/asset/?id=1051557", vt(0, 0, 0), vt(x1, y1, z1))
  2207. game:GetService("Debris"):AddItem(prt, 5)
  2208. coroutine.resume(coroutine.create(function(Part, Mesh)
  2209. for i = 0, 1, delay do
  2210. wait()
  2211. Part.CFrame = Part.CFrame * euler(0, 0.7, 0)
  2212. Part.Transparency = i
  2213. Mesh.Scale = Mesh.Scale + vt(x3, y3, z3)
  2214. end
  2215. Part.Parent = nil
  2216. end), prt, msh)
  2217. end
  2218. function WaveEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  2219. local prt = part(3, workspace, 0, 0, brickcolor, "Effect", vt(0.5, 0.5, 0.5))
  2220. prt.Anchored = true
  2221. prt.CFrame = cframe
  2222. msh = mesh("SpecialMesh", prt, "FileMesh", "http://www.roblox.com/asset/?id=20329976", vt(0, 0, 0), vt(x1, y1, z1))
  2223. game:GetService("Debris"):AddItem(prt, 2)
  2224. coroutine.resume(coroutine.create(function(Part, Mesh)
  2225. for i = 0, 1, delay do
  2226. wait()
  2227. Part.CFrame = Part.CFrame * cf(0, y3 / 2, 0)
  2228. Part.Transparency = i
  2229. Mesh.Scale = Mesh.Scale + vt(x3, y3, z3)
  2230. end
  2231. Part.Parent = nil
  2232. end), prt, msh)
  2233. end
  2234. function StravEffect(brickcolor, cframe, x, y, z, x1, y1, z1, delay)
  2235. local prt = part(3, workspace, 0, 0, brickcolor, "Effect", vt(0.5, 0.5, 0.5))
  2236. prt.Anchored = true
  2237. prt.CFrame = cframe * cf(x, y, z)
  2238. msh = mesh("SpecialMesh", prt, "FileMesh", "rbxassetid://168892363", vt(0, 0, 0), vt(x1, y1, z1))
  2239. game:GetService("Debris"):AddItem(prt, 5)
  2240. coroutine.resume(coroutine.create(function(Part, Mesh, ex, why, zee)
  2241. local num = math.random()
  2242. local num2 = math.random(-3, 2) + math.random()
  2243. local numm = 0
  2244. for i = 0, 1, delay * 2 do
  2245. swait()
  2246. Part.CFrame = cframe * euler(0, numm * num * 10, 0) * cf(ex, why, zee) * cf(-i * 10, num2, 0)
  2247. Part.Transparency = i
  2248. numm = numm + 0.01
  2249. end
  2250. Part.Parent = nil
  2251. Mesh.Parent = nil
  2252. end), prt, msh, x, y, z)
  2253. end
  2254. function dmgstart(dmg, what)
  2255. hitcon = what.Touched:connect(function(hit)
  2256. local hum = hit.Parent:FindFirstChild("Humanoid")
  2257. if hum and not hum:IsDescendantOf(Character) then
  2258. hum:TakeDamage(dmg)
  2259. end
  2260. end)
  2261. end
  2262. function dmgstop()
  2263. hitcon:disconnect()
  2264. end
  2265. cloaked = false
  2266. wing_clocked = false
  2267. clock_mode = true
  2268. wing_clock = true
  2269. invisible_mode = false
  2270. wing_invisible_mode = false
  2271. function Cloak_wing()
  2272. wing_clocked = true
  2273. Humanoid.WalkSpeed = 200
  2274. for i, v in pairs(m:GetChildren()) do
  2275. if v:IsA("Part") then
  2276. v.Transparency = 1
  2277. end
  2278. end
  2279. for i, v in pairs(m2:GetChildren()) do
  2280. if v:IsA("Part") then
  2281. v.Transparency = 1
  2282. end
  2283. end
  2284. for i, v in pairs(m3:GetChildren()) do
  2285. if v:IsA("Part") then
  2286. v.Transparency = 1
  2287. end
  2288. end
  2289. for i, v in pairs(extrawingmod1:GetChildren()) do
  2290. if v:IsA("Part") then
  2291. v.Transparency = 1
  2292. end
  2293. end
  2294. for i, v in pairs(extrawingmod2:GetChildren()) do
  2295. if v:IsA("Part") then
  2296. v.Transparency = 1
  2297. end
  2298. end
  2299. for i, v in pairs(mw1:GetChildren()) do
  2300. if v:IsA("Part") then
  2301. v.Transparency = 1
  2302. end
  2303. end
  2304. for i, v in pairs(mw2:GetChildren()) do
  2305. if v:IsA("Part") then
  2306. v.Transparency = 1
  2307. end
  2308. end
  2309. end
  2310. function Cloak()
  2311. face = char.Head.face
  2312. cloaked = true
  2313. for _, v in pairs(Torso.Parent:children()) do
  2314. if v.className == "Part" and v.Name ~= "HumanoidRootPart" then
  2315. coroutine.resume(coroutine.create(function()
  2316. for i = 0, 1, 0.2 do
  2317. wait()
  2318. v.Transparency = i
  2319. face.Transparency = 1
  2320. end
  2321. v.Transparency = 1
  2322. end))
  2323. end
  2324. if v.className == "Accessory" then
  2325. hatp = v.Handle
  2326. coroutine.resume(coroutine.create(function(derp)
  2327. for i = 0, 1, 0.2 do
  2328. wait()
  2329. derp.Transparency = i
  2330. end
  2331. derp.Transparency = 1
  2332. end), hatp)
  2333. end
  2334. end
  2335. for _, v in pairs(m:children()) do
  2336. if v.className == "Part" then
  2337. coroutine.resume(coroutine.create(function()
  2338. for i = 0, 1, 0.2 do
  2339. wait()
  2340. v.Transparency = i
  2341. end
  2342. v.Transparency = 1
  2343.  
  2344. end))
  2345. end
  2346. end
  2347. end
  2348. function UnCloak_wing()
  2349. wing_clocked = false
  2350. hum.WalkSpeed = 200
  2351. for i, v in pairs(m:GetChildren()) do
  2352. if v:IsA("Part") then
  2353. v.Transparency = 0
  2354. end
  2355. end
  2356. for i, v in pairs(m2:GetChildren()) do
  2357. if v:IsA("Part") then
  2358. v.Transparency = 0
  2359. end
  2360. end
  2361. for i, v in pairs(m3:GetChildren()) do
  2362. if v:IsA("Part") then
  2363. v.Transparency = 0
  2364. end
  2365. end
  2366. for i, v in pairs(extrawingmod1:GetChildren()) do
  2367. if v:IsA("Part") then
  2368. v.Transparency = 0
  2369. end
  2370. end
  2371. for i, v in pairs(extrawingmod2:GetChildren()) do
  2372. if v:IsA("Part") then
  2373. v.Transparency = 0
  2374. end
  2375. end
  2376. for i, v in pairs(mw2:GetChildren()) do
  2377. if v:IsA("Part") then
  2378. v.Transparency = 0
  2379. end
  2380. end
  2381. for i, v in pairs(mw1:GetChildren()) do
  2382. if v:IsA("Part") then
  2383. v.Transparency = 0
  2384. end
  2385. end
  2386. end
  2387. function UnCloak()
  2388. face = char.Head.face
  2389. so("http://roblox.com/asset/?id=2767090", Torso, 1, 1.1)
  2390. cloaked = false
  2391. invisible_mode = false
  2392. clock_mode = true
  2393. for _, v in pairs(Torso.Parent:children()) do
  2394. if v.className == "Part" and v.Name ~= "HumanoidRootPart" then
  2395. coroutine.resume(coroutine.create(function()
  2396. for i = 0, 1, 0.1 do
  2397. wait()
  2398. face.Transparency = face.Transparency - 0.1
  2399. v.Transparency = v.Transparency - 0.1
  2400. end
  2401. v.Transparency = 0
  2402. end))
  2403. end
  2404. if v.className == "Accessory" then
  2405. hatp = v.Handle
  2406. coroutine.resume(coroutine.create(function(derp)
  2407. for i = 0, 1, 0.1 do
  2408. wait()
  2409. derp.Transparency = derp.Transparency - 0.1
  2410. end
  2411. derp.Transparency = 0
  2412. end), hatp)
  2413. end
  2414. end
  2415. for _, v in pairs(m:children()) do
  2416. if v.className == "Part" and v.Name ~= "hitbox" and v.Name ~= "tip" then
  2417. coroutine.resume(coroutine.create(function()
  2418. for i = 0, 1, 0.1 do
  2419. wait()
  2420. v.Transparency = v.Transparency - 0.1
  2421. end
  2422. v.Transparency = 0
  2423. end))
  2424. v.Transparency = 0
  2425.  
  2426. end
  2427. end
  2428. end
  2429. local origcolor = BrickColor.new("Pastel light blue")
  2430. function Explode(rad, par, pitch, vol, mindam, maxdam)
  2431. local expart = Instance.new("Part", char)
  2432. local expart2 = Instance.new("Part", char)
  2433. local rin = Instance.new("Part", char)
  2434. local rin2 = Instance.new("Part", char)
  2435. local partMesh = Instance.new("SpecialMesh", expart)
  2436. partMesh.MeshType = "Sphere"
  2437. local partMesh2 = Instance.new("SpecialMesh", expart2)
  2438. partMesh2.MeshType = "Sphere"
  2439. local partMesh3 = Instance.new("SpecialMesh", rin)
  2440. partMesh3.MeshType = "Brick"
  2441. local partMesh4 = Instance.new("SpecialMesh", rin2)
  2442. partMesh4.MeshType = "Brick"
  2443. CFuncs.Sound.Create("rbxassetid://165970126", expart, vol, pitch)
  2444. partMesh.Scale = vt(rad, rad, rad)
  2445. expart.Size = vt(1, 1, 1)
  2446. expart.Transparency = 0
  2447. expart.Anchored = true
  2448. expart.Material = "Neon"
  2449. expart.BrickColor = bc("White")
  2450. expart.CFrame = par.CFrame
  2451. partMesh2.Scale = vt(rad, rad, rad)
  2452. expart2.Size = vt(1.15, 1.15, 1.15)
  2453. expart2.Transparency = 0.5
  2454. expart2.Anchored = true
  2455. expart2.Material = "Neon"
  2456. expart2.BrickColor = par.BrickColor
  2457. expart2.CFrame = par.CFrame
  2458. rin.Size = vt(1.15, 1.15, 1.15)
  2459. rin.Transparency = 1
  2460. rin.Anchored = true
  2461. rin.Material = "Neon"
  2462. rin.BrickColor = par.BrickColor
  2463. rin.CFrame = par.CFrame * CFrame.Angles(math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360)))
  2464. rin2.Size = vt(1.15, 1.15, 1.15)
  2465. rin2.Transparency = 1
  2466. rin2.Anchored = true
  2467. rin2.Material = "Neon"
  2468. rin2.BrickColor = par.BrickColor
  2469. rin2.CFrame = par.CFrame * CFrame.Angles(math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360)))
  2470. partMesh3.Scale = vt(0, 1, 0)
  2471. partMesh4.Scale = vt(0, 1, 0)
  2472. local dec2 = Instance.new("Decal", rin)
  2473. dec2.Face = "Top"
  2474. dec2.Texture = "http://www.roblox.com/asset/?id=874580939"
  2475. dec2.Parent = rin
  2476. local dec2b = dec2:Clone()
  2477. dec2b.Face = "Bottom"
  2478. dec2b.Parent = rin
  2479. local dec2a = Instance.new("Decal", rin2)
  2480. dec2a.Face = "Top"
  2481. dec2a.Texture = "http://www.roblox.com/asset/?id=874580939"
  2482. dec2a.Parent = rin2
  2483. local dec2ab = dec2a:Clone()
  2484. dec2ab.Face = "Bottom"
  2485. dec2ab.Parent = rin2
  2486. expart.CanCollide = false
  2487. expart2.CanCollide = false
  2488. rin.CanCollide = false
  2489. rin2.CanCollide = false
  2490. MagniDamage(par, rad * 5, mindam, maxdam, 0, "Normal")
  2491. local value = 1 * rad / 6.5
  2492. for i = 0, 199 do
  2493. partMesh.Scale = partMesh.Scale + vt(value, value, value)
  2494. expart.CFrame = expart.CFrame
  2495. partMesh2.Scale = partMesh2.Scale + vt(value, value, value)
  2496. expart2.CFrame = expart.CFrame
  2497. value = value - 0.035 * rad / 30
  2498. if value < 7.5 then
  2499. partMesh3.Scale = partMesh3.Scale + vt(rad / 5, 0, rad / 5)
  2500. rin.CFrame = rin.CFrame * CFrame.Angles(0, math.rad(1), 0)
  2501. partMesh4.Scale = partMesh4.Scale + vt(rad / 7.5, 0, rad / 7.5)
  2502. rin2.CFrame = rin2.CFrame * CFrame.Angles(0, math.rad(-1), 0)
  2503. end
  2504. if value < 0 then
  2505. dec2.Transparency = dec2.Transparency + 0.025
  2506. dec2a.Transparency = dec2a.Transparency + 0.025
  2507. dec2b.Transparency = dec2b.Transparency + 0.025
  2508. dec2ab.Transparency = dec2ab.Transparency + 0.025
  2509. expart.Transparency = expart.Transparency + 0.025
  2510. expart2.Transparency = expart2.Transparency + 0.025
  2511. rin.Transparency = rin.Transparency + 0.025
  2512. rin2.Transparency = rin2.Transparency + 0.025
  2513. end
  2514. swait()
  2515. end
  2516. game:GetService("Debris"):AddItem(expart, 1)
  2517. game:GetService("Debris"):AddItem(expart2, 1)
  2518. game:GetService("Debris"):AddItem(rin, 1)
  2519. game:GetService("Debris"):AddItem(rin2, 1)
  2520. end
  2521. function ExplodeShort(rad, par, pitch, vol, mindam, maxdam)
  2522. local expart = Instance.new("Part", char)
  2523. local expart2 = Instance.new("Part", char)
  2524. local partMesh = Instance.new("SpecialMesh", expart)
  2525. partMesh.MeshType = "Sphere"
  2526. local partMesh2 = Instance.new("SpecialMesh", expart2)
  2527. partMesh2.MeshType = "Sphere"
  2528. CFuncs.Sound.Create("http://www.roblox.com/asset/?id=142070127", expart, vol, pitch)
  2529. partMesh.Scale = vt(rad, rad, rad)
  2530. expart.Size = vt(1, 1, 1)
  2531. expart.Transparency = 0
  2532. expart.Anchored = true
  2533. expart.Material = "Neon"
  2534. expart.BrickColor = bc("White")
  2535. expart.CFrame = par.CFrame
  2536. partMesh2.Scale = vt(rad, rad, rad)
  2537. expart2.Size = vt(1.15, 1.15, 1.15)
  2538. expart2.Transparency = 0.5
  2539. expart2.Anchored = true
  2540. expart2.Material = "Neon"
  2541. expart2.BrickColor = par.BrickColor
  2542. expart2.CFrame = par.CFrame
  2543. expart.CanCollide = false
  2544. expart2.CanCollide = false
  2545. MagniDamage(par, rad * 2.5, mindam, maxdam, 0, "Normal")
  2546. local value = 1 * rad / 6.5
  2547. for i = 0, 75 do
  2548. partMesh.Scale = partMesh.Scale + vt(value, value, value)
  2549. expart.CFrame = expart.CFrame
  2550. partMesh2.Scale = partMesh2.Scale + vt(value, value, value)
  2551. expart2.CFrame = expart.CFrame
  2552. value = value - 0.035 * rad / 5
  2553. if value < 0 then
  2554. value = 0
  2555. expart.Transparency = expart.Transparency + 0.05
  2556. expart2.Transparency = expart2.Transparency + 0.05
  2557. end
  2558. swait()
  2559. end
  2560. game:GetService("Debris"):AddItem(expart, 1)
  2561. game:GetService("Debris"):AddItem(expart2, 1)
  2562. end
  2563. function AreaDanger(rad, par, mindam, maxdam)
  2564. local expart = Instance.new("Part", char)
  2565. local partMesh = Instance.new("SpecialMesh", expart)
  2566. CFuncs.Sound.Create("rbxassetid://231917784", expart, 1.5, 1.15)
  2567. partMesh.MeshType = "Sphere"
  2568. partMesh.Scale = vt(rad, rad, rad)
  2569. expart.Size = vt(1, 1, 1)
  2570. expart.Transparency = 0.5
  2571. expart.Anchored = true
  2572. expart.Material = "Neon"
  2573. expart.CanCollide = false
  2574. expart.BrickColor = par.BrickColor
  2575. expart.CFrame = par.CFrame
  2576. local value = 1 * rad / 5
  2577. MagicBlock(origcolor, expart.CFrame, 0, 0, 0, rad / 2, rad / 2, rad / 2, 0.1)
  2578. for i = 0, 14 do
  2579. wait()
  2580. partMesh.Scale = partMesh.Scale + vt(value, value, value)
  2581. expart.CFrame = expart.CFrame
  2582. value = value - 0.035 * rad
  2583. if value < 0 then
  2584. value = 0
  2585. end
  2586. end
  2587. wait(0.25)
  2588. CFuncs.Sound.Create("rbxassetid://588738544", expart, 1.5, 1)
  2589. wait(0.5)
  2590. CFuncs.Sound.Create("rbxassetid://588737825", expart, 1.5, 1)
  2591. CFuncs.Sound.Create("rbxassetid://231917784", expart, 1.5, 0.75)
  2592. MagniDamageWithEffect(par, rad, mindam, maxdam, 0, "Normal")
  2593. MagicBlock(origcolor, expart.CFrame, rad * 2, rad * 2, rad * 2, 0.1, 0.1, 0.1, 0.025)
  2594. for i = 0, 14 do
  2595. wait()
  2596. partMesh.Scale = partMesh.Scale + vt(value, value, value)
  2597. expart.CFrame = expart.CFrame
  2598. value = value - 0.035 * rad / 2
  2599. end
  2600. expart.Transparency = 1
  2601. game:GetService("Debris"):AddItem(expart, 5)
  2602. end
  2603. function Swarmsplosions(negrad, rad, par, mindam, maxdam)
  2604. CFuncs.Sound.Create("rbxassetid://588737825", par, 2.5, 2)
  2605. CFuncs.Sound.Create("rbxassetid://231917784", par, 2.5, 1)
  2606. CFuncs.Sound.Create("rbxassetid://231917744", par, 2.5, 1)
  2607. CFuncs.Sound.Create("rbxassetid://233856106", par, 2.5, 1)
  2608. MagniDamageWithEffect(par, 25, 5, 10, 0, "Normal")
  2609. MagicBlock(origcolor, par.CFrame, 5, 5, 5, 5, 5, 5, 0.025)
  2610. for i = 0, 24 do
  2611. 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))
  2612. end
  2613. for i = 0, 24 do
  2614. local expart = Instance.new("Part", char)
  2615. expart.Transparency = 1
  2616. expart.Anchored = true
  2617. expart.CanCollide = false
  2618. expart.CFrame = par.CFrame * CFrame.new(math.random(negrad, rad), math.random(negrad, rad), math.random(negrad, rad))
  2619. CFuncs.Sound.Create("rbxassetid://588737825", expart, 1, 2)
  2620. CFuncs.Sound.Create("rbxassetid://231917784", expart, 1.5, 1.15)
  2621. MagniDamage(expart, rad / 2, mindam, maxdam, 0, "Normal")
  2622. MagicBlock(origcolor, expart.CFrame, rad, rad, rad, 0.1, 0.1, 0.1, 0.025)
  2623. for i = 0, 9 do
  2624. 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))
  2625. end
  2626. game:GetService("Debris"):AddItem(expart, 2)
  2627. wait(0.1)
  2628. end
  2629. end
  2630. function EXterPlosion(par)
  2631. CFuncs.Sound.Create("rbxassetid://919941001", par, 10, 1)
  2632. CFuncs.Sound.Create("rbxassetid://138213851", par, 5, 0.85)
  2633. CFuncs.Sound.Create("rbxassetid://157878578", par, 5, 0.2)
  2634. CFuncs.Sound.Create("rbxassetid://233856106", par, 2.5, 1)
  2635. MagniDamageWithEffect(par, 500, 80, 99, 0, "Normal")
  2636. MagicBlock(origcolor, par.CFrame, 5, 5, 5, 5, 5, 5, 0.005)
  2637. MagicBlock(origcolor, par.CFrame, 0, 0, 0, 150, 150, 150, 0.1)
  2638. for i = 0, 24 do
  2639. 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))
  2640. end
  2641. for i = 0, 24 do
  2642. 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))
  2643. end
  2644. end
  2645. function ring(type, pos, scale, value)
  2646. local type = type
  2647. local rng = Instance.new("Part", char)
  2648. rng.Anchored = true
  2649. rng.BrickColor = origcolor
  2650. rng.CanCollide = false
  2651. rng.FormFactor = 3
  2652. rng.Name = "Ring"
  2653. rng.Size = Vector3.new(1, 1, 1)
  2654. rng.Transparency = 0
  2655. rng.TopSurface = 0
  2656. rng.BottomSurface = 0
  2657. rng.CFrame = pos
  2658. local rngm = Instance.new("SpecialMesh", rng)
  2659. rngm.MeshId = "http://www.roblox.com/asset/?id=3270017"
  2660. rngm.Scale = scale
  2661. local scaler2 = 1
  2662. if type == "Add" then
  2663. scaler2 = 1 * value
  2664. elseif type == "Divide" then
  2665. scaler2 = 1 / value
  2666. end
  2667. coroutine.resume(coroutine.create(function()
  2668. for i = 0, 10, 0.1 do
  2669. swait()
  2670. if type == "Add" then
  2671. scaler2 = scaler2 - 0.01 * value
  2672. elseif type == "Divide" then
  2673. scaler2 = scaler2 - 0.01 / value
  2674. end
  2675. rng.Transparency = rng.Transparency + 0.01
  2676. rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, 0)
  2677. end
  2678. rng:Destroy()
  2679. end))
  2680. end
  2681. function wave(type, pos, scale, value)
  2682. local type = type
  2683. local rng = Instance.new("Part", char)
  2684. rng.Anchored = true
  2685. rng.BrickColor = origcolor
  2686. rng.CanCollide = false
  2687. rng.FormFactor = 3
  2688. rng.Name = "Ring"
  2689. rng.Size = Vector3.new(1, 1, 1)
  2690. rng.Transparency = 0
  2691. rng.TopSurface = 0
  2692. rng.BottomSurface = 0
  2693. rng.CFrame = pos
  2694. local rngm = Instance.new("SpecialMesh", rng)
  2695. rngm.MeshId = "http://www.roblox.com/asset/?id=20329976"
  2696. rngm.Scale = scale
  2697. local scaler2 = 1
  2698. if type == "Add" then
  2699. scaler2 = 1 * value
  2700. elseif type == "Divide" then
  2701. scaler2 = 1 / value
  2702. end
  2703. coroutine.resume(coroutine.create(function()
  2704. for i = 0, 10, 0.1 do
  2705. swait()
  2706. if type == "Add" then
  2707. scaler2 = scaler2 - 0.01 * value
  2708. elseif type == "Divide" then
  2709. scaler2 = scaler2 - 0.01 / value
  2710. end
  2711. rng.Transparency = rng.Transparency + 0.01
  2712. rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, scaler2)
  2713. end
  2714. rng:Destroy()
  2715. end))
  2716. end
  2717. function wind(type, pos, scale, value, speed)
  2718. local type = type
  2719. local rng = Instance.new("Part", char)
  2720. rng.Anchored = true
  2721. rng.BrickColor = origcolor
  2722. rng.CanCollide = false
  2723. rng.FormFactor = 3
  2724. rng.Name = "Ring"
  2725. rng.Size = Vector3.new(1, 1, 1)
  2726. rng.Transparency = 0
  2727. rng.TopSurface = 0
  2728. rng.BottomSurface = 0
  2729. rng.CFrame = pos
  2730. local rngm = Instance.new("SpecialMesh", rng)
  2731. rngm.MeshId = "http://www.roblox.com/asset/?id=1051557"
  2732. rngm.Scale = scale
  2733. local scaler2 = 1
  2734. if type == "Add" then
  2735. scaler2 = 1 * value
  2736. elseif type == "Divide" then
  2737. scaler2 = 1 / value
  2738. end
  2739. coroutine.resume(coroutine.create(function()
  2740. for i = 0, 10, 0.1 do
  2741. swait()
  2742. if type == "Add" then
  2743. scaler2 = scaler2 - 0.01 * value
  2744. elseif type == "Divide" then
  2745. scaler2 = scaler2 - 0.01 / value
  2746. end
  2747. rng.CFrame = rng.CFrame * CFrame.Angles(0, 0.025 * speed, 0)
  2748. rng.Transparency = rng.Transparency + 0.01
  2749. rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, scaler2)
  2750. end
  2751. rng:Destroy()
  2752. end))
  2753. end
  2754. function groundwind(type, pos, scale, value, speed)
  2755. local type = type
  2756. local rng = Instance.new("Part", char)
  2757. rng.Anchored = true
  2758. rng.BrickColor = origcolor
  2759. rng.CanCollide = false
  2760. rng.FormFactor = 3
  2761. rng.Name = "Ring"
  2762. rng.Size = Vector3.new(1, 1, 1)
  2763. rng.Transparency = 0
  2764. rng.TopSurface = 0
  2765. rng.BottomSurface = 0
  2766. rng.CFrame = pos
  2767. local rngm = Instance.new("SpecialMesh", rng)
  2768. rngm.MeshId = "http://www.roblox.com/asset/?id=1051557"
  2769. rngm.Scale = scale
  2770. local scaler2 = 1
  2771. if type == "Add" then
  2772. scaler2 = 1 * value
  2773. elseif type == "Divide" then
  2774. scaler2 = 1 / value
  2775. end
  2776. coroutine.resume(coroutine.create(function()
  2777. for i = 0, 10, 0.1 do
  2778. swait()
  2779. if type == "Add" then
  2780. scaler2 = scaler2 - 0.01 * value
  2781. elseif type == "Divide" then
  2782. scaler2 = scaler2 - 0.01 / value
  2783. end
  2784. rng.CFrame = rng.CFrame * CFrame.Angles(0, 0.025 * speed, 0)
  2785. rng.Transparency = rng.Transparency + 0.01
  2786. rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2 / 5, scaler2)
  2787. end
  2788. rng:Destroy()
  2789. end))
  2790. end
  2791. function CameraManager()
  2792. if TwoD and not CamInterrupt then
  2793. if Humanoid.Health > 0 then
  2794. Camera.CameraSubject = Humanoid
  2795. Camera.CameraType = "Scriptable"
  2796. Humanoid.AutoRotate = false
  2797. if Booleans.GyroUse then
  2798. Directer.MaxTorque = Vec3(0, huge, 0)
  2799. else
  2800. Directer.MaxTorque = Vec3(0, 0, 0)
  2801. end
  2802. if TargetInfo[1] ~= nil and TargetInfo[2] ~= nil then
  2803. if Booleans.CamFollow then
  2804. CPart.CFrame = cFrame(RootPart.Position, Vec3(TargetInfo[1].Position.X, RootPart.Position.Y, TargetInfo[1].Position.Z))
  2805. Directer.CFrame = cFrame((RootPart.CFrame * cFrame(0, 0, 10)).p, TargetInfo[1].Position)
  2806. else
  2807. CPart.Position = RootPart.Position
  2808. end
  2809. else
  2810. local ahead = (RootPart.CFrame * cFrame(0, 0, -3)).p
  2811. CPart.CFrame = cFrame(RootPart.Position, Vec3(ahead.X, RootPart.Position.Y, ahead.Z))
  2812. end
  2813. Camera.CFrame = lerp(Camera.CFrame, CPart.CFrame * cFrame(25, 3, 0) * Euler(0, radian(90), 0), 0.2)
  2814. else
  2815. Camera.CameraSubject = Humanoid
  2816. Camera.CameraType = "Custom"
  2817. Controller.Disabled = false
  2818. end
  2819. end
  2820. end
  2821. function sphere(bonuspeed, type, pos, scale, value, color)
  2822. local type = type
  2823. local rng = Instance.new("Part", char)
  2824. rng.Anchored = true
  2825. rng.BrickColor = color
  2826. rng.CanCollide = false
  2827. rng.FormFactor = 3
  2828. rng.Name = "Ring"
  2829. rng.Material = "Neon"
  2830. rng.Size = Vector3.new(1, 1, 1)
  2831. rng.Transparency = 0
  2832. rng.TopSurface = 0
  2833. rng.BottomSurface = 0
  2834. rng.CFrame = pos
  2835. local rngm = Instance.new("SpecialMesh", rng)
  2836. rngm.MeshType = "Sphere"
  2837. rngm.Scale = scale
  2838. if rainbowmode == true then
  2839. rng.Color = Color3.new(r / 255, g / 255, b / 255)
  2840. end
  2841. local scaler2 = 1
  2842. if type == "Add" then
  2843. scaler2 = 1 * value
  2844. elseif type == "Divide" then
  2845. scaler2 = 1 / value
  2846. end
  2847. coroutine.resume(coroutine.create(function()
  2848. for i = 0, 10 / bonuspeed, 0.1 do
  2849. swait()
  2850. if rainbowmode == true then
  2851. rng.Color = Color3.new(r / 255, g / 255, b / 255)
  2852. end
  2853. if type == "Add" then
  2854. scaler2 = scaler2 - 0.01 * value / bonuspeed
  2855. elseif type == "Divide" then
  2856. scaler2 = scaler2 - 0.01 / value * bonuspeed
  2857. end
  2858. if chaosmode == true then
  2859. rng.BrickColor = BrickColor.random()
  2860. end
  2861. rng.Transparency = rng.Transparency + 0.01 * bonuspeed
  2862. rngm.Scale = rngm.Scale + Vector3.new(scaler2 * bonuspeed, scaler2 * bonuspeed, scaler2 * bonuspeed)
  2863. end
  2864. rng:Destroy()
  2865. end))
  2866. end
  2867. function sphereMK(bonuspeed, FastSpeed, type, pos, x1, y1, z1, value, color, outerpos)
  2868. local type = type
  2869. local rng = Instance.new("Part", char)
  2870. rng.Anchored = true
  2871. rng.BrickColor = color
  2872. rng.CanCollide = false
  2873. rng.FormFactor = 3
  2874. rng.Name = "Ring"
  2875. rng.Material = "Neon"
  2876. rng.Size = Vector3.new(1, 1, 1)
  2877. rng.Transparency = 0
  2878. rng.TopSurface = 0
  2879. rng.BottomSurface = 0
  2880. rng.CFrame = pos
  2881. rng.CFrame = rng.CFrame + rng.CFrame.lookVector * outerpos
  2882. local rngm = Instance.new("SpecialMesh", rng)
  2883. rngm.MeshType = "Sphere"
  2884. rngm.Scale = vt(x1, y1, z1)
  2885. if rainbowmode == true then
  2886. rng.Color = Color3.new(r / 255, g / 255, b / 255)
  2887. end
  2888. local scaler2 = 1
  2889. local speeder = FastSpeed
  2890. if type == "Add" then
  2891. scaler2 = 1 * value
  2892. elseif type == "Divide" then
  2893. scaler2 = 1 / value
  2894. end
  2895. coroutine.resume(coroutine.create(function()
  2896. for i = 0, 10 / bonuspeed, 0.1 do
  2897. swait()
  2898. if rainbowmode == true then
  2899. rng.Color = Color3.new(r / 255, g / 255, b / 255)
  2900. end
  2901. if type == "Add" then
  2902. scaler2 = scaler2 - 0.01 * value / bonuspeed
  2903. elseif type == "Divide" then
  2904. scaler2 = scaler2 - 0.01 / value * bonuspeed
  2905. end
  2906. if chaosmode == true then
  2907. rng.BrickColor = BrickColor.random()
  2908. end
  2909. speeder = speeder - 0.01 * FastSpeed * bonuspeed
  2910. rng.CFrame = rng.CFrame + rng.CFrame.lookVector * speeder * bonuspeed
  2911. rng.Transparency = rng.Transparency + 0.01 * bonuspeed
  2912. rngm.Scale = rngm.Scale + Vector3.new(scaler2 * bonuspeed, scaler2 * bonuspeed, 0)
  2913. end
  2914. rng:Destroy()
  2915. end))
  2916. end
  2917. function sphereMKCharge(bonuspeed, FastSpeed, type, pos, x1, y1, z1, value, color, outerpos)
  2918. local type = type
  2919. local rng = Instance.new("Part", char)
  2920. rng.Anchored = true
  2921. rng.BrickColor = color
  2922. rng.CanCollide = false
  2923. rng.FormFactor = 3
  2924. rng.Name = "Ring"
  2925. rng.Material = "Neon"
  2926. rng.Size = Vector3.new(1, 1, 1)
  2927. rng.Transparency = 1
  2928. rng.TopSurface = 0
  2929. rng.BottomSurface = 0
  2930. rng.CFrame = pos
  2931. rng.CFrame = rng.CFrame + rng.CFrame.lookVector * outerpos
  2932. local rngm = Instance.new("SpecialMesh", rng)
  2933. rngm.MeshType = "Sphere"
  2934. rngm.Scale = vt(x1, y1, z1)
  2935. if rainbowmode == true then
  2936. rng.Color = Color3.new(r / 255, g / 255, b / 255)
  2937. end
  2938. local scaler2 = 1
  2939. local speeder = FastSpeed
  2940. if type == "Add" then
  2941. scaler2 = 1 * value
  2942. elseif type == "Divide" then
  2943. scaler2 = 1 / value
  2944. end
  2945. coroutine.resume(coroutine.create(function()
  2946. for i = 0, 10 / bonuspeed, 0.1 do
  2947. swait()
  2948. if rainbowmode == true then
  2949. rng.Color = Color3.new(r / 255, g / 255, b / 255)
  2950. end
  2951. if type == "Add" then
  2952. scaler2 = scaler2 - 0.01 * value / bonuspeed
  2953. elseif type == "Divide" then
  2954. scaler2 = scaler2 - 0.01 / value * bonuspeed
  2955. end
  2956. if chaosmode == true then
  2957. rng.BrickColor = BrickColor.random()
  2958. end
  2959. speeder = speeder - 0.01 * FastSpeed * bonuspeed
  2960. rng.CFrame = rng.CFrame + rng.CFrame.lookVector * speeder * bonuspeed
  2961. rng.Transparency = rng.Transparency - 0.01 * bonuspeed
  2962. rngm.Scale = rngm.Scale + Vector3.new(scaler2 * bonuspeed, scaler2 * bonuspeed, 0)
  2963. end
  2964. rng:Destroy()
  2965. end))
  2966. end
  2967. --function brokescript(dude)
  2968. -- if dude.Name ~= Character then
  2969. -- if targetname == dude.Parent.name
  2970. -- target == game:GetService("Players"):FindFirstChild(targetname)
  2971. -- targetscript == target:FindFirstChildOfClass("Local Script")
  2972. -- targetscript.Disabled
  2973. -- end
  2974. -- end
  2975. --end
  2976. function dmg(dude)
  2977. if dude.Name ~= Character then
  2978. local bgf = Instance.new("BodyGyro", dude.Head)
  2979. bgf.CFrame = bgf.CFrame * CFrame.fromEulerAnglesXYZ(math.rad(-90), 0, 0)
  2980. local val = Instance.new("BoolValue", dude)
  2981. val.Name = "IsHit"
  2982. local ds = coroutine.wrap(function()
  2983. dude:WaitForChild("Head"):BreakJoints()
  2984. wait(0.5)
  2985. targetted = nil
  2986. CFuncs.Sound.Create("rbxassetid://62339698", char, 0.5, 0.3)
  2987. coroutine.resume(coroutine.create(function()
  2988. for i, v in pairs(dude:GetChildren()) do
  2989. if v:IsA("Accessory") then
  2990. v:Destroy()
  2991. end
  2992. if v:IsA("Humanoid") then
  2993. v:Destroy()
  2994. end
  2995. if v:IsA("CharacterMesh") then
  2996. v:Destroy()
  2997. end
  2998. if v:IsA("Model") then
  2999. v:Destroy()
  3000. end
  3001. if v:IsA("Part") or v:IsA("MeshPart") then
  3002. for x, o in pairs(v:GetChildren()) do
  3003. if o:IsA("Decal") then
  3004. o:Destroy()
  3005. end
  3006. end
  3007. coroutine.resume(coroutine.create(function()
  3008. v.Material = "Neon"
  3009. v.CanCollide = false
  3010. local bld = Instance.new("ParticleEmitter", v)
  3011. bld.LightEmission = 1
  3012. bld.Texture = "rbxassetid://284205403"
  3013. bld.Color = ColorSequence.new(Color3.new(1, 1, 1))
  3014. bld.Rate = 50
  3015. bld.Lifetime = NumberRange.new(1)
  3016. bld.Size = NumberSequence.new({
  3017. NumberSequenceKeypoint.new(0, 0.75, 0),
  3018. NumberSequenceKeypoint.new(1, 0, 0)
  3019. })
  3020. bld.Transparency = NumberSequence.new({
  3021. NumberSequenceKeypoint.new(0, 0, 0),
  3022. NumberSequenceKeypoint.new(1, 1, 0)
  3023. })
  3024. bld.Speed = NumberRange.new(0, 0)
  3025. bld.VelocitySpread = 50000
  3026. bld.Rotation = NumberRange.new(-500, 500)
  3027. bld.RotSpeed = NumberRange.new(-500, 500)
  3028. local sbs = Instance.new("BodyPosition", v)
  3029. sbs.P = 3000
  3030. sbs.D = 1000
  3031. sbs.maxForce = Vector3.new(50000000000, 50000000000, 50000000000)
  3032. sbs.position = v.Position + Vector3.new(math.random(-5, 5), math.random(-5, 5), math.random(-5, 5))
  3033. v.Color = Color3.new(1, 1, 1)
  3034. coroutine.resume(coroutine.create(function()
  3035. for i = 0, 49 do
  3036. swait(1)
  3037. v.Transparency = v.Transparency + 0.02
  3038. end
  3039. CFuncs.Sound.Create("rbxassetid://1192402877", v, 0.25, 1)
  3040. bld.Speed = NumberRange.new(1, 5)
  3041. bld.Acceleration = vt(0, 10, 0)
  3042. wait(0.5)
  3043. bld.Enabled = false
  3044. wait(3)
  3045. v:Destroy()
  3046. dude:Destroy()
  3047. end))
  3048. end))
  3049. end
  3050. end
  3051. end))
  3052. end)
  3053. ds()
  3054. end
  3055. end
  3056. function FindNearestHead(Position, Distance, SinglePlayer)
  3057. if SinglePlayer then
  3058. return Distance > (SinglePlayer.Torso.CFrame.p - Position).magnitude
  3059. end
  3060. local List = {}
  3061. for i, v in pairs(workspace:GetChildren()) do
  3062. if v:IsA("Model") and v:findFirstChild("Head") and v ~= Character and Distance >= (v.Head.Position - Position).magnitude then
  3063. table.insert(List, v)
  3064. end
  3065. end
  3066. return List
  3067. end
  3068. function FaceMouse()
  3069. Cam = workspace.CurrentCamera
  3070. return {
  3071. CFrame.new(char.Torso.Position, Vector3.new(mouse.Hit.p.x, char.Torso.Position.y, mouse.Hit.p.z)),
  3072. Vector3.new(mouse.Hit.p.x, mouse.Hit.p.y, mouse.Hit.p.z)
  3073. }
  3074. end
  3075. function FaceMouse2()
  3076. Cam = workspace.CurrentCamera
  3077. return {
  3078. CFrame.new(char.Torso.Position, Vector3.new(mouse.Hit.p.x, mouse.Hit.p.y, mouse.Hit.p.z)),
  3079. Vector3.new(mouse.Hit.p.x, mouse.Hit.p.y, mouse.Hit.p.z)
  3080. }
  3081. end
  3082. local ModeOfGlitch = 1
  3083. local storehumanoidWS = 200
  3084. function ExtinctiveHeartbreak()
  3085. local targetted
  3086. if mouse.Target.Parent ~= Character and mouse.Target.Parent.Parent ~= Character and mouse.Target.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
  3087. targetted = mouse.Target.Parent
  3088. end
  3089. if targetted ~= nil then
  3090. attack = true
  3091. CFuncs.Sound.Create("rbxassetid://847061203", root, 2.5, 1)
  3092. for i = 0, 9 do
  3093. 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)
  3094. end
  3095. sphere(3, "Add", root.CFrame, vt(0, 0, 0), 0.25, BrickColor.new("Really black"))
  3096. local originalpos = root.CFrame
  3097. RootPart.CFrame = targetted.Head.CFrame * CFrame.new(0, -2, 2)
  3098. for i = 0, 9 do
  3099. 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)
  3100. end
  3101. hum.WalkSpeed = 200
  3102. targetted.Head.Anchored = true
  3103. sphere(3, "Add", root.CFrame, vt(0, 0, 0), 0.25, BrickColor.new("Really black"))
  3104. for i = 0, 2, 0.1 do
  3105. swait()
  3106. 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)
  3107. 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)
  3108. 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)
  3109. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(20), math.rad(0), math.rad(10)), 0.8)
  3110. 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)
  3111. 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)
  3112. end
  3113. coroutine.resume(coroutine.create(function()
  3114. bld = Instance.new("ParticleEmitter", targetted:WaitForChild("Torso"))
  3115. bld.LightEmission = 0.1
  3116. bld.Texture = "rbxassetid://284205403"
  3117. bld.Color = ColorSequence.new(Color3.new(0.5, 0, 0))
  3118. bld.Rate = 500
  3119. bld.Lifetime = NumberRange.new(1)
  3120. bld.Size = NumberSequence.new({
  3121. NumberSequenceKeypoint.new(0, 2, 0),
  3122. NumberSequenceKeypoint.new(1, 0, 0)
  3123. })
  3124. bld.Acceleration = vt(0, -25, 0)
  3125. bld.Transparency = NumberSequence.new({
  3126. NumberSequenceKeypoint.new(0, 0, 0),
  3127. NumberSequenceKeypoint.new(1, 0, 0)
  3128. })
  3129. bld.Speed = NumberRange.new(10, 50)
  3130. bld.EmissionDirection = "Front"
  3131. bld.VelocitySpread = 25
  3132. bld.Rotation = NumberRange.new(-500, 500)
  3133. bld.RotSpeed = NumberRange.new(-500, 500)
  3134. end))
  3135. coroutine.resume(coroutine.create(function()
  3136. bld = Instance.new("ParticleEmitter", targetted:WaitForChild("UpperTorso"))
  3137. bld.LightEmission = 0.1
  3138. bld.Texture = "rbxassetid://284205403"
  3139. bld.Color = ColorSequence.new(Color3.new(0.5, 0, 0))
  3140. bld.Rate = 500
  3141. bld.Lifetime = NumberRange.new(1)
  3142. bld.Size = NumberSequence.new({
  3143. NumberSequenceKeypoint.new(0, 2, 0),
  3144. NumberSequenceKeypoint.new(1, 0, 0)
  3145. })
  3146. bld.Acceleration = vt(0, -25, 0)
  3147. bld.Transparency = NumberSequence.new({
  3148. NumberSequenceKeypoint.new(0, 0, 0),
  3149. NumberSequenceKeypoint.new(1, 0, 0)
  3150. })
  3151. bld.Speed = NumberRange.new(10, 50)
  3152. bld.EmissionDirection = "Front"
  3153. bld.VelocitySpread = 25
  3154. bld.Rotation = NumberRange.new(-500, 500)
  3155. bld.RotSpeed = NumberRange.new(-500, 500)
  3156. end))
  3157. CameraEnshaking(5, 5)
  3158. game:GetService("Debris"):AddItem(bld, 3)
  3159. dmg(targetted)
  3160. CFuncs.Sound.Create("rbxassetid://429400881", targetted.Head, 1, 1)
  3161. for i = 0, 1, 0.1 do
  3162. swait()
  3163. 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)
  3164. 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)
  3165. 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)
  3166. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(20), math.rad(0), math.rad(80)), 0.8)
  3167. 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)
  3168. 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)
  3169. end
  3170. CFuncs.Sound.Create("rbxassetid://847061203", root, 2.5, 1)
  3171. for i = 0, 9 do
  3172. 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)
  3173. end
  3174. sphere(3, "Add", root.CFrame, vt(0, 0, 0), 0.25, BrickColor.new("Really black"))
  3175. root.CFrame = originalpos
  3176. for i = 0, 9 do
  3177. 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)
  3178. end
  3179. sphere(3, "Add", root.CFrame, vt(0, 0, 0), 0.25, BrickColor.new("Really black"))
  3180. bld.Enabled = false
  3181. attack = false
  3182. hum.WalkSpeed = 200
  3183. end
  3184. end
  3185. function PureBomb()
  3186. attack = true
  3187. local orb = Instance.new("Part", char)
  3188. orb.Anchored = true
  3189. orb.BrickColor = BrickColor.new("Toothpaste")
  3190. orb.CanCollide = false
  3191. orb.FormFactor = 3
  3192. orb.Name = "Ring"
  3193. orb.Material = "Neon"
  3194. orb.Size = Vector3.new(1, 1, 1)
  3195. orb.Transparency = 0
  3196. orb.TopSurface = 0
  3197. orb.BottomSurface = 0
  3198. local orbm = Instance.new("SpecialMesh", orb)
  3199. orbm.MeshType = "Sphere"
  3200. orbm.Name = "SizeMesh"
  3201. orbm.Scale = vt(0, 0, 0)
  3202. local scaled = 0.1
  3203. local posid = 0
  3204. CFuncs.Sound.Create("rbxassetid://136007472", orb, 1, 1)
  3205. for i = 0, 5, 0.1 do
  3206. swait()
  3207. scaled = scaled - 0.001
  3208. posid = posid - scaled
  3209. orb.CFrame = rarm.CFrame * CFrame.new(0, -0.1 + posid / 1.05, 0)
  3210. orbm.Scale = orbm.Scale + vt(scaled, scaled, scaled)
  3211. 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)
  3212. 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)
  3213. 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)
  3214. 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)
  3215. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(0), math.rad(0), math.rad(0)), 0.1)
  3216. RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * angles(math.rad(180), math.rad(20), math.rad(0)), 0.1)
  3217. 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)
  3218. end
  3219. for i = 0, 2, 0.1 do
  3220. swait()
  3221. orb.CFrame = rarm.CFrame * CFrame.new(0, -0.1 + posid / 1.05, 0)
  3222. 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)
  3223. 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)
  3224. 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)
  3225. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(0), math.rad(0), math.rad(20)), 0.4)
  3226. RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * angles(math.rad(220), math.rad(20), math.rad(0)), 0.4)
  3227. 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)
  3228. end
  3229. coroutine.resume(coroutine.create(function()
  3230. orb.Anchored = false
  3231. CFuncs.Sound.Create("rbxassetid://260433768", root, 1.25, 1)
  3232. local a = Instance.new("Part", workspace)
  3233. a.Name = "Direction"
  3234. a.Anchored = true
  3235. a.BrickColor = bc("Bright red")
  3236. a.Material = "Neon"
  3237. a.Transparency = 1
  3238. a.CanCollide = false
  3239. local ray = Ray.new(orb.CFrame.p, (mouse.Hit.p - orb.CFrame.p).unit * 250)
  3240. local ignore = orb
  3241. local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  3242. a.BottomSurface = 10
  3243. a.TopSurface = 10
  3244. local distance = (orb.CFrame.p - position).magnitude
  3245. a.Size = Vector3.new(0.1, 0.1, 0.1)
  3246. a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, 0)
  3247. orb.CFrame = a.CFrame
  3248. a:Destroy()
  3249. local bv = Instance.new("BodyVelocity")
  3250. bv.maxForce = Vector3.new(1000000000, 1000000000, 1000000000)
  3251. bv.velocity = orb.CFrame.lookVector * 250
  3252. bv.Parent = orb
  3253. local hitted = false
  3254. game:GetService("Debris"):AddItem(orb, 15)
  3255. wait()
  3256. local hit = orb.Touched:connect(function(hit)
  3257. if hitted == false then
  3258. hitted = true
  3259. CameraEnshaking(10, 2.5)
  3260. CFuncs.Sound.Create("rbxassetid://151304356", orb, 5, 1)
  3261. MagniDamage(orb, 65, 65, 90, 0, "Normal")
  3262. sphere(1, "Add", orb.CFrame, vt(orbm.Scale.x, orbm.Scale.y, orbm.Scale.z), 1, BrickColor.new("Toothpaste"))
  3263. sphere(2, "Add", orb.CFrame, vt(orbm.Scale.x, orbm.Scale.y, orbm.Scale.z), 2, BrickColor.new("Toothpaste"))
  3264. for i = 0, 9 do
  3265. 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)
  3266. 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)
  3267. end
  3268. orb.Anchored = true
  3269. orb.Transparency = 1
  3270. wait(0.00008)
  3271. orb:Destroy()
  3272. end
  3273. end)
  3274. end))
  3275. for i = 0, 1, 0.1 do
  3276. swait()
  3277. 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)
  3278. 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)
  3279. 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)
  3280. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(20), math.rad(0), math.rad(-50)), 0.4)
  3281. RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * angles(math.rad(60), math.rad(20), math.rad(50)), 0.4)
  3282. 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)
  3283. end
  3284. attack = false
  3285. end
  3286. function ChaosGroundStrike()
  3287. attack = true
  3288. for i = 0, 2, 0.1 do
  3289. swait()
  3290. 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)
  3291. 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)
  3292. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(-20), math.rad(0), math.rad(0)), 0.2)
  3293. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(-20), math.rad(0), math.rad(0)), 0.2)
  3294. RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * angles(math.rad(140), math.rad(0), math.rad(-20)), 0.2)
  3295. LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * angles(math.rad(140), math.rad(0), math.rad(20)), 0.2)
  3296. end
  3297. CFuncs.Sound.Create("rbxassetid://438666141", root, 7.5, 1)
  3298. CFuncs.Sound.Create("rbxassetid://1208650519", root, 7.5, 1)
  3299. CameraEnshaking(4, 12)
  3300. for i, v in pairs(FindNearestHead(Torso.CFrame.p, 52.5)) do
  3301. if v:FindFirstChild("Head") then
  3302. dmg(v)
  3303. end
  3304. end
  3305. sphere(5, "Add", root.CFrame * CFrame.new(0, -2.9, 0), vt(0, 0, 0), 1, BrickColor.random())
  3306. sphere(10, "Add", root.CFrame * CFrame.new(0, -2.9, 0), vt(0, 0, 0), 2, BrickColor.random())
  3307. sphere(1, "Add", root.CFrame * CFrame.new(0, -2.9, 0), vt(100, 0.1, 100), 0.01, BrickColor.random())
  3308. for i = 0, 2, 0.1 do
  3309. swait()
  3310. 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)
  3311. 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)
  3312. 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)
  3313. 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)
  3314. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(10), math.rad(0), math.rad(0)), 0.4)
  3315. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(10), math.rad(0), math.rad(0)), 0.4)
  3316. RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * angles(math.rad(-50), math.rad(0), math.rad(30)), 0.4)
  3317. LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * angles(math.rad(-50), math.rad(0), math.rad(-30)), 0.4)
  3318. end
  3319. attack = false
  3320. end
  3321. function dataDestroyer()
  3322. attack = true
  3323. for i = 0, 2, 0.1 do
  3324. swait()
  3325. 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)
  3326. 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)
  3327. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(-20), math.rad(0), math.rad(0)), 0.2)
  3328. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(-20), math.rad(0), math.rad(0)), 0.2)
  3329. RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * angles(math.rad(140), math.rad(0), math.rad(-20)), 0.2)
  3330. LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * angles(math.rad(140), math.rad(0), math.rad(20)), 0.2)
  3331. end
  3332. CFuncs.Sound.Create("rbxassetid://438666141", root, 7.5, 1)
  3333. CFuncs.Sound.Create("rbxassetid://1208650519", root, 7.5, 1)
  3334. CameraEnshaking(4, 12)
  3335. for i, v in pairs(FindNearestHead(Torso.CFrame.p, 52.5)) do
  3336. if v:FindFirstChild("Head") then
  3337. dmg(v)
  3338. end
  3339. end
  3340. sphere(5, "Add", root.CFrame * CFrame.new(0, -2.9, 0), vt(0, 0, 0), 1, BrickColor.new("Dark green"))
  3341. sphere(10, "Add", root.CFrame * CFrame.new(0, -2.9, 0), vt(0, 0, 0), 2, BrickColor.new("Pastel green"))
  3342. sphere(1, "Add", root.CFrame * CFrame.new(0, -2.9, 0), vt(100, 0.1, 100), 0.01, BrickColor.new("Lime green"))
  3343. for i = 0, 2, 0.1 do
  3344. swait()
  3345. 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.new("Lime green"), 0)
  3346. 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.new("Lime green"), 0)
  3347. 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)
  3348. 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)
  3349. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(10), math.rad(0), math.rad(0)), 0.4)
  3350. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(10), math.rad(0), math.rad(0)), 0.4)
  3351. RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * angles(math.rad(-50), math.rad(0), math.rad(30)), 0.4)
  3352. LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * angles(math.rad(-50), math.rad(0), math.rad(-30)), 0.4)
  3353. end
  3354. attack = false
  3355. end
  3356. function ChaosBegone()
  3357. attack = true
  3358. chatfunc("This World Has Suffered Long enough..", BrickColor.random().Color)
  3359. for i = 0, 10, 0.1 do
  3360. swait()
  3361. 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)
  3362. 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)
  3363. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(-20), math.rad(0), math.rad(0)), 0.2)
  3364. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(-20), math.rad(0), math.rad(0)), 0.2)
  3365. RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * angles(math.rad(140), math.rad(0), math.rad(-20)), 0.2)
  3366. LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * angles(math.rad(140), math.rad(0), math.rad(20)), 0.2)
  3367. end
  3368. chatfunc("DIE!!", BrickColor.random().Color)
  3369. CFuncs.Sound.Create("rbxassetid://438666141", char, 7.5, 1)
  3370. CFuncs.Sound.Create("rbxassetid://1208650519", char, 7.5, 1)
  3371. CameraEnshaking(5, 25)
  3372. for i, v in pairs(FindNearestHead(Torso.CFrame.p, 1234567890)) do
  3373. if v:FindFirstChild("Head") then
  3374. dmg(v)
  3375. end
  3376. end
  3377. sphere(5, "Add", root.CFrame * CFrame.new(0, -2.9, 0), vt(0, 0, 0), 1000, BrickColor.random())
  3378. sphere(10, "Add", root.CFrame * CFrame.new(0, -2.9, 0), vt(0, 0, 0), 2000, BrickColor.random())
  3379. sphere(1, "Add", root.CFrame * CFrame.new(0, -2.9, 0), vt(100000, 0.1, 100000), 0.01, BrickColor.random())
  3380. for i = 0, 3, 0.1 do
  3381. swait()
  3382. 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)
  3383. 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)
  3384. 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)
  3385. 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)
  3386. 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)
  3387. 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)
  3388. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(10), math.rad(0), math.rad(0)), 0.4)
  3389. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(10), math.rad(0), math.rad(0)), 0.4)
  3390. RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * angles(math.rad(-50), math.rad(0), math.rad(30)), 0.4)
  3391. LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * angles(math.rad(-50), math.rad(0), math.rad(-30)), 0.4)
  3392. end
  3393. attack = false
  3394. end
  3395. function deletdata()
  3396. attack = true
  3397. chatfunc("lot of data!", BrickColor.new("Dark green").color)
  3398. for i = 0, 10, 0.1 do
  3399. swait()
  3400. 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)
  3401. 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)
  3402. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(-20), math.rad(0), math.rad(0)), 0.2)
  3403. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(-20), math.rad(0), math.rad(0)), 0.2)
  3404. RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * angles(math.rad(140), math.rad(0), math.rad(-20)), 0.2)
  3405. LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * angles(math.rad(140), math.rad(0), math.rad(20)), 0.2)
  3406. end
  3407. chatfunc("bye bye data", BrickColor.new("Dark green").Color)
  3408. CFuncs.Sound.Create("rbxassetid://438666141", char, 7.5, 1)
  3409. CFuncs.Sound.Create("rbxassetid://1208650519", char, 7.5, 1)
  3410. CameraEnshaking(5, 25)
  3411. for i, v in pairs(FindNearestHead(Torso.CFrame.p, 1234567890)) do
  3412. if v:FindFirstChild("Head") then
  3413. dmg(v)
  3414. end
  3415. end
  3416. sphere(5, "Add", root.CFrame * CFrame.new(0, -2.9, 0), vt(0, 0, 0), 1000, BrickColor.random())
  3417. sphere(10, "Add", root.CFrame * CFrame.new(0, -2.9, 0), vt(0, 0, 0), 2000, Color3.fromRGB(r/ 255,g/ 255,b /255))
  3418. sphere(1, "Add", root.CFrame * CFrame.new(0, -2.9, 0), vt(100000, 0.1, 100000), 0.01, BrickColor.new("Pastel green"))
  3419. for i = 0, 3, 0.1 do
  3420. swait()
  3421. 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, Color3.fromRGB(r/ 255,g/ 255,b /255), 0)
  3422. 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.new("Pastel green"), 0)
  3423. 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, Color3.fromRGB(r/ 255,g/ 255,b /255), 0)
  3424. 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.new("Pastel green"), 0)
  3425. 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)
  3426. 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)
  3427. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(10), math.rad(0), math.rad(0)), 0.4)
  3428. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(10), math.rad(0), math.rad(0)), 0.4)
  3429. RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * angles(math.rad(-50), math.rad(0), math.rad(30)), 0.4)
  3430. LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * angles(math.rad(-50), math.rad(0), math.rad(-30)), 0.4)
  3431. end
  3432. attack = false
  3433. end
  3434. function orb_spawn_norm(positted, timer, color, MagniBoost, min, max, volEx, ShakePower, volSummon)
  3435. local orb = Instance.new("Part", char)
  3436. orb.Anchored = true
  3437. orb.BrickColor = color
  3438. orb.CanCollide = false
  3439. orb.FormFactor = 3
  3440. orb.Name = "Ring"
  3441. orb.Material = "Neon"
  3442. orb.Size = Vector3.new(1, 1, 1)
  3443. orb.Transparency = 0
  3444. orb.TopSurface = 0
  3445. orb.BottomSurface = 0
  3446. local orbm = Instance.new("SpecialMesh", orb)
  3447. orbm.MeshType = "Sphere"
  3448. orb.CFrame = positted
  3449. orbm.Name = "SizeMesh"
  3450. orbm.Scale = vt(1, 1, 1)
  3451. CFuncs.Sound.Create("rbxassetid://183763506", orb, volSummon, 1)
  3452. sphere(2.5, "Add", orb.CFrame, vt(1, 1, 1), 0.05, orb.BrickColor)
  3453. coroutine.resume(coroutine.create(function()
  3454. wait()
  3455. CameraEnshaking(3, ShakePower)
  3456. orb.Transparency = 1
  3457. MagniDamage(orb, 3.5 * MagniBoost, min, max, 0, "Normal")
  3458. sphere(5, "Add", orb.CFrame, vt(1, 1, 1), 0.1 * MagniBoost, orb.BrickColor)
  3459. CFuncs.Sound.Create("rbxassetid://192410089", orb, volEx, 0.7)
  3460. wait()
  3461. orb:Destroy()
  3462. end))
  3463. end
  3464. function orb_spawn(positted, timer)
  3465. local randomcol = math.random(1, 2)
  3466. local orb = Instance.new("Part", char)
  3467. orb.Anchored = true
  3468. if randomcol == 1 then
  3469. orb.BrickColor = BrickColor.new("White")
  3470. elseif randomcol == 2 then
  3471. orb.BrickColor = BrickColor.new("Really black")
  3472. end
  3473. orb.CanCollide = false
  3474. orb.FormFactor = 3
  3475. orb.Name = "Ring"
  3476. orb.Material = "Neon"
  3477. orb.Size = Vector3.new(1, 1, 1)
  3478. orb.Transparency = 0
  3479. orb.TopSurface = 0
  3480. orb.BottomSurface = 0
  3481. local orbm = Instance.new("SpecialMesh", orb)
  3482. orbm.MeshType = "Sphere"
  3483. orb.CFrame = positted
  3484. orbm.Name = "SizeMesh"
  3485. orbm.Scale = vt(1, 1, 1)
  3486. CFuncs.Sound.Create("rbxassetid://183763506", orb, 1.5, 1)
  3487. sphere(2.5, "Add", orb.CFrame, vt(1, 1, 1), 0.025, orb.BrickColor)
  3488. for i = 0, 2 do
  3489. 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)
  3490. end
  3491. coroutine.resume(coroutine.create(function()
  3492. wait(timer)
  3493. CameraEnshaking(3, 2)
  3494. orb.Transparency = 1
  3495. MagniDamage(orb, 17.5, 10, 50, 0, "Normal")
  3496. sphere(5, "Add", orb.CFrame, vt(1, 1, 1), 0.5, orb.BrickColor)
  3497. for i = 0, 4 do
  3498. 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)
  3499. end
  3500. CFuncs.Sound.Create("rbxassetid://192410089", orb, 2, 0.7)
  3501. wait(3)
  3502. orb:Destroy()
  3503. end))
  3504. end
  3505. function scattercorrupt()
  3506. attack = true
  3507. local rot = 0
  3508. local randomrotations = math.random(1, 2)
  3509. local lookv = 2.5
  3510. local power = 5
  3511. sphere(1, "Add", root.CFrame, vt(1, 100000, 1), 0.5, BrickColor.new("Royal purple"))
  3512. sphere(1, "Add", root.CFrame, vt(1, 1, 1), 0.75, BrickColor.new("Royal purple"))
  3513. for i = 0, 9 do
  3514. 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)
  3515. end
  3516. CFuncs.Sound.Create("rbxassetid://180204650", char, 2.5, 0.6)
  3517. CFuncs.Sound.Create("rbxassetid://233856079", char, 1, 0.5)
  3518. CFuncs.Sound.Create("rbxassetid://1208650519", char, 2.5, 1)
  3519. CFuncs.Sound.Create("rbxassetid://239000203", char, 0.5, 0.75)
  3520. CFuncs.Sound.Create("rbxassetid://579687077", char, 0.5, 0.5)
  3521. local hite = Instance.new("Part", char)
  3522. hite.Anchored = true
  3523. hite.CanCollide = false
  3524. hite.FormFactor = 3
  3525. hite.Name = "Ring"
  3526. hite.Material = "Neon"
  3527. hite.Size = Vector3.new(1, 1, 1)
  3528. hite.Transparency = 1
  3529. hite.TopSurface = 0
  3530. hite.BottomSurface = 0
  3531. hite.CFrame = root.CFrame * CFrame.new(0, -2.5, 0)
  3532. local rem = Instance.new("Part", char)
  3533. rem.Anchored = true
  3534. rem.CanCollide = false
  3535. rem.FormFactor = 3
  3536. rem.Name = "Ring"
  3537. rem.Material = "Neon"
  3538. rem.Size = Vector3.new(1, 1, 1)
  3539. rem.Transparency = 1
  3540. rem.TopSurface = 0
  3541. rem.BottomSurface = 0
  3542. rem.CFrame = hite.CFrame
  3543. local rem2 = rem:Clone()
  3544. rem2.Parent = char
  3545. rem2.CFrame = rem.CFrame * CFrame.Angles(0, math.rad(90), 0)
  3546. local rem3 = rem:Clone()
  3547. rem3.Parent = char
  3548. rem3.CFrame = rem.CFrame * CFrame.Angles(0, math.rad(180), 0)
  3549. local rem4 = rem:Clone()
  3550. rem4.Parent = char
  3551. rem4.CFrame = rem.CFrame * CFrame.Angles(0, math.rad(270), 0)
  3552. hite:Destroy()
  3553. coroutine.resume(coroutine.create(function()
  3554. for i = 0, 24 do
  3555. swait(1)
  3556. if randomrotations == 1 then
  3557. rot = rot + 1
  3558. elseif randomrotations == 2 then
  3559. rot = rot - 1
  3560. end
  3561. power = power + 0.5
  3562. lookv = lookv + 7.5
  3563. rem.CFrame = rem.CFrame * CFrame.Angles(0, math.rad(rot), 0)
  3564. rem2.CFrame = rem.CFrame * CFrame.Angles(0, math.rad(90), 0)
  3565. rem3.CFrame = rem.CFrame * CFrame.Angles(0, math.rad(180), 0)
  3566. rem4.CFrame = rem.CFrame * CFrame.Angles(0, math.rad(270), 0)
  3567. orb_spawn_norm(rem.CFrame + rem.CFrame.lookVector * lookv, 3, BrickColor.new("Royal purple"), power, 25, 75, 10, power / 5, 7.5)
  3568. orb_spawn_norm(rem2.CFrame + rem2.CFrame.lookVector * lookv, 3, BrickColor.new("Royal purple"), power, 25, 75, 10, power / 5, 7.5)
  3569. orb_spawn_norm(rem3.CFrame + rem3.CFrame.lookVector * lookv, 3, BrickColor.new("Royal purple"), power, 25, 75, 10, power / 5, 7.5)
  3570. orb_spawn_norm(rem4.CFrame + rem4.CFrame.lookVector * lookv, 3, BrickColor.new("Royal purple"), power, 25, 75, 10, power / 5, 7.5)
  3571. end
  3572. end))
  3573. attack = false
  3574. end
  3575. function deadworld()
  3576. hum.WalkSpeed = 200
  3577. attack = true
  3578. chatfunc("You... you will regret this!",Color3.new(0.5,0,0))
  3579. for i = 0,10,0.1 do
  3580. swait()
  3581. RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(30)),.1)
  3582. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-30)),.1)
  3583. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.05 * math.cos(sine / 28))*angles(math.rad(30),math.rad(0),math.rad(0)),.1)
  3584. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(30),math.rad(0),math.rad(0 - 15 * math.cos(sine / 1))),.1)
  3585. RW.C0=clerp(RW.C0,cf(1.05,0.4 + 0.1 * math.cos(sine / 28),-0.5)*angles(math.rad(140),math.rad(0),math.rad(-50)),.1)
  3586. LW.C0=clerp(LW.C0,cf(-1.05,0.4 + 0.1 * math.cos(sine / 28),-0.5)*angles(math.rad(140),math.rad(0 + 5 * math.cos(sine / 1)),math.rad(50 - 5 * math.cos(sine / 1))),.1)
  3587. end
  3588. coroutine.resume(coroutine.create(function()
  3589. CFuncs["Sound"].Create("rbxassetid://1213175909", char, 1,1)
  3590. sphere(3,"Add",root.CFrame,vt(0,0,0),4,BrickColor.new("White"))
  3591. sphere(6,"Add",root.CFrame,vt(0,0,0),4,BrickColor.new("White"))
  3592. sphere(9,"Add",root.CFrame,vt(0,0,0),4,BrickColor.new("White"))
  3593. coroutine.resume(coroutine.create(function()
  3594. for i = 0, 9 do
  3595. swait(3)
  3596. sphere(1,"Add",root.CFrame*CFrame.new(math.random(-75,75),math.random(-75,75),math.random(-75,75)),vt(0,0,0),2,BrickColor.new("Really red"))
  3597. end
  3598. end))
  3599. CFuncs["Sound"].Create("rbxassetid://579687077", char, 5,1)
  3600. CFuncs["Sound"].Create("rbxassetid://239000203", char, 1,1)
  3601. local blastpitch = 1
  3602. for i = 0,2 do
  3603. wait(1.5)
  3604. sphere(3,"Add",root.CFrame,vt(0,0,0),4,BrickColor.new("White"))
  3605. sphere(6,"Add",root.CFrame,vt(0,0,0),4,BrickColor.new("White"))
  3606. sphere(9,"Add",root.CFrame,vt(0,0,0),4,BrickColor.new("White"))
  3607. coroutine.resume(coroutine.create(function()
  3608. for i = 0, 9 do
  3609. swait(3)
  3610. sphere(1,"Add",root.CFrame*CFrame.new(math.random(-75,75),math.random(-75,75),math.random(-75,75)),vt(0,0,0),2,BrickColor.new("Really red"))
  3611. end
  3612. end))
  3613. blastpitch = blastpitch - 0.15
  3614. CFuncs["Sound"].Create("rbxassetid://579687077", char, 1,blastpitch)
  3615. end
  3616. wait(2)
  3617. for i, v in pairs(FindNearestTorso(Torso.CFrame.p, 250000000)) do
  3618. wait(1)
  3619. game.Players.LocalPlayer.Character.Humanoid.Health = math.huge
  3620. if v:FindFirstChild("Head") then
  3621. dmg(v)
  3622. end
  3623. end
  3624. CFuncs["Sound"].Create("rbxassetid://239000203", char, 2,0.75)
  3625. CFuncs["Sound"].Create("rbxassetid://579687077", char, 2,0.5)
  3626. sphere(1,"Add",root.CFrame,vt(0,0,0),9,BrickColor.new("Crimson"))
  3627. sphere(2,"Add",root.CFrame,vt(0,0,0),9,BrickColor.new("Crimson"))
  3628. sphere(3,"Add",root.CFrame,vt(0,0,0),9,BrickColor.new("Crimson"))
  3629. coroutine.resume(coroutine.create(function()
  3630. for i = 0, 49 do
  3631. swait(3)
  3632. sphere(1,"Add",root.CFrame*CFrame.new(math.random(-175,175),math.random(-175,175),math.random(-175,175)),vt(0,0,0),2,BrickColor.new("Really red"))
  3633. sphere(1,"Add",root.CFrame*CFrame.new(math.random(-375,375),math.random(-375,375),math.random(-375,375)),vt(0,0,0),8,BrickColor.new("Really red"))
  3634. end
  3635. end))
  3636. end))
  3637. attack = false
  3638. hum.WalkSpeed = 200
  3639. end
  3640. function yinyangi()
  3641. attack = true
  3642. for i = 0, 2, 0.1 do
  3643. swait()
  3644. 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)
  3645. 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)
  3646. 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)
  3647. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(-20), math.rad(0), math.rad(0)), 0.2)
  3648. RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(90)), 0.2)
  3649. LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-90)), 0.2)
  3650. end
  3651. local bv = Instance.new("BodyVelocity")
  3652. bv.maxForce = Vector3.new(1000000000, 1000000000, 1000000000)
  3653. bv.velocity = root.CFrame.lookVector * 200
  3654. bv.Parent = root
  3655. for Rotations = 0, 9 do
  3656. for i = 0, 1, 0.5 do
  3657. swait()
  3658. bv.velocity = root.CFrame.lookVector * 200
  3659. 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)
  3660. 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)
  3661. 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)
  3662. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(-20), math.rad(0), math.rad(0)), 0.5)
  3663. RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(90)), 0.5)
  3664. LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-90)), 0.5)
  3665. end
  3666. orb_spawn(rarm.CFrame * CFrame.new(0, -1, 0), 2.5)
  3667. for i = 0, 1, 0.5 do
  3668. swait()
  3669. bv.velocity = root.CFrame.lookVector * 175
  3670. 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)
  3671. 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)
  3672. 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)
  3673. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(-20), math.rad(0), math.rad(0)), 0.5)
  3674. RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(90)), 0.5)
  3675. LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-90)), 0.5)
  3676. end
  3677. orb_spawn(rarm.CFrame * CFrame.new(0, -1, 0), 2.5)
  3678. for i = 0, 1, 0.5 do
  3679. swait()
  3680. bv.velocity = root.CFrame.lookVector * 200
  3681. 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)
  3682. 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)
  3683. 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)
  3684. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(-20), math.rad(0), math.rad(0)), 0.5)
  3685. RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(90)), 0.5)
  3686. LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-90)), 0.5)
  3687. end
  3688. orb_spawn(rarm.CFrame * CFrame.new(0, -1, 0), 2.5)
  3689. for i = 0, 1, 0.5 do
  3690. swait()
  3691. bv.velocity = root.CFrame.lookVector * 200
  3692. 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)
  3693. 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)
  3694. 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)
  3695. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(-20), math.rad(0), math.rad(0)), 0.5)
  3696. RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(90)), 0.5)
  3697. LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-90)), 0.5)
  3698. end
  3699. orb_spawn(rarm.CFrame * CFrame.new(0, -1, 0), 2.5)
  3700. end
  3701. bv:Destroy()
  3702. attack = false
  3703. end
  3704. function Wip()
  3705. attack = true
  3706. local rngb = Instance.new("Part", char)
  3707. rngb.Anchored = true
  3708. rngb.BrickColor = origcolor
  3709. rngb.CanCollide = false
  3710. rngb.FormFactor = 3
  3711. rngb.Name = "Ring"
  3712. rngb.Material = "Neon"
  3713. rngb.Size = Vector3.new(1, 0.05, 1)
  3714. rngb.Transparency = 1
  3715. rngb.TopSurface = 0
  3716. rngb.BottomSurface = 0
  3717. local rngmb = Instance.new("SpecialMesh", rngb)
  3718. rngmb.MeshType = "Brick"
  3719. rngmb.Name = "SizeMesh"
  3720. rngmb.Scale = vt(0, 1, 0)
  3721. local orb = rngb:Clone()
  3722. orb.Parent = char
  3723. orb.Transparency = 0
  3724. orb.BrickColor = BrickColor.new("White")
  3725. orb.Size = vt(1, 1, 1)
  3726. local orbmish = orb.SizeMesh
  3727. orbmish.Scale = vt(0, 0, 0)
  3728. orbmish.MeshType = "Sphere"
  3729. local orbe = rngb:Clone()
  3730. orbe.Parent = char
  3731. orbe.Transparency = 0.5
  3732. orbe.BrickColor = BrickColor.new("New Yeller")
  3733. orbe.Size = vt(1, 1, 1)
  3734. local orbmish2 = orbe.SizeMesh
  3735. orbmish2.Scale = vt(0, 0, 0)
  3736. orbmish2.MeshType = "Sphere"
  3737. orbe.Color = Color3.new(r / 255, g / 255, b / 255)
  3738. rngb:Destroy()
  3739. for i = 0, 5, 0.1 do
  3740. swait()
  3741. if rainbowmode == true then
  3742. orbe.Color = Color3.new(r / 255, g / 255, b / 255)
  3743. end
  3744. orb.CFrame = root.CFrame * CFrame.new(0, 0.5, 0) + root.CFrame.lookVector * 11.5
  3745. orbe.CFrame = root.CFrame * CFrame.new(0, 0.5, 0) + root.CFrame.lookVector * 11.5
  3746. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(90)), 0.3)
  3747. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(0), math.rad(0), math.rad(-90)), 0.3)
  3748. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(90)), 0.3)
  3749. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(10), math.rad(0), math.rad(-20)), 0.3)
  3750. 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)
  3751. 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)
  3752. RootPart.CFrame = FaceMouse()[1]
  3753. end
  3754. orbe.Transparency = 1
  3755. orb.Transparency = 1
  3756. orb.CFrame = root.CFrame * CFrame.new(0, 0.5, 0) + root.CFrame.lookVector * 5
  3757. CFuncs.Sound.Create("rbxassetid://294188875", char, 1, 1)
  3758. local a = Instance.new("Part", Character)
  3759. a.Name = "Direction"
  3760. a.Anchored = true
  3761. a.BrickColor = bc("White")
  3762. a.Material = "Neon"
  3763. a.Transparency = 0
  3764. a.Shape = "Cylinder"
  3765. a.CanCollide = false
  3766. local a2 = Instance.new("Part", Character)
  3767. a2.Name = "Direction"
  3768. a2.Anchored = true
  3769. a2.BrickColor = bc("New Yeller")
  3770. a2.Color = Color3.new(r / 255, g / 255, b / 255)
  3771. a2.Material = "Neon"
  3772. a2.Transparency = 0.5
  3773. a2.Shape = "Cylinder"
  3774. a2.CanCollide = false
  3775. local ba = Instance.new("Part", Character)
  3776. ba.Name = "HitDirect"
  3777. ba.Anchored = true
  3778. ba.BrickColor = bc("White")
  3779. ba.Material = "Neon"
  3780. ba.Transparency = 1
  3781. ba.CanCollide = false
  3782. local ray = Ray.new(orb.CFrame.p, (mouse.Hit.p - orb.CFrame.p).unit * 1000)
  3783. local ignore = Character
  3784. local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  3785. a.BottomSurface = 10
  3786. a.TopSurface = 10
  3787. a2.BottomSurface = 10
  3788. a2.TopSurface = 10
  3789. local distance = (orb.CFrame.p - position).magnitude
  3790. a.Size = Vector3.new(distance, 1, 1)
  3791. a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance / 2)
  3792. a2.Size = Vector3.new(distance, 1, 1)
  3793. a2.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance / 2)
  3794. ba.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance)
  3795. a.CFrame = a.CFrame * CFrame.Angles(0, math.rad(90), 0)
  3796. a2.CFrame = a2.CFrame * CFrame.Angles(0, math.rad(90), 0)
  3797. game:GetService("Debris"):AddItem(a, 20)
  3798. game:GetService("Debris"):AddItem(a2, 20)
  3799. game:GetService("Debris"):AddItem(ba, 20)
  3800. local msh = Instance.new("SpecialMesh", a)
  3801. msh.MeshType = "Cylinder"
  3802. msh.Scale = vt(1, 25, 25)
  3803. local msh2 = Instance.new("SpecialMesh", a2)
  3804. msh2.MeshType = "Cylinder"
  3805. msh2.Scale = vt(1, 30, 30)
  3806. for i = 0, 10, 0.1 do
  3807. swait()
  3808. CameraEnshaking(1, 5)
  3809. a2.Color = Color3.new(r / 255, g / 255, b / 255)
  3810. orb.CFrame = root.CFrame * CFrame.new(0, 0.5, 0) + root.CFrame.lookVector * 4
  3811. orbe.CFrame = root.CFrame * CFrame.new(0, 0.5, 0) + root.CFrame.lookVector * 4
  3812. ray = Ray.new(orb.CFrame.p, (mouse.Hit.p - orb.CFrame.p).unit * 1000)
  3813. hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  3814. distance = (orb.CFrame.p - position).magnitude
  3815. if typrot == 1 then
  3816. rotation = rotation + 2.5
  3817. elseif typrot == 2 then
  3818. rotation = rotation - 2.5
  3819. end
  3820. RootPart.CFrame = FaceMouse()[1]
  3821. a.Size = Vector3.new(distance, 1, 1)
  3822. a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance / 2)
  3823. a2.Size = Vector3.new(distance, 1, 1)
  3824. a2.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance / 2)
  3825. ba.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance)
  3826. a.CFrame = a.CFrame * CFrame.Angles(0, math.rad(90), 0)
  3827. a2.CFrame = a2.CFrame * CFrame.Angles(0, math.rad(90), 0)
  3828. msh.Scale = msh.Scale - vt(0, 0.25, 0.25)
  3829. msh2.Scale = msh2.Scale - vt(0, 0.3, 0.3)
  3830. 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)
  3831. 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)
  3832. MagniDamage(ba, 30, 500, 60000, 0, "Normal")
  3833. end
  3834. a:Destroy()
  3835. a2:Destroy()
  3836. ba:Destroy()
  3837. orb:Destroy()
  3838. orbe:Destroy()
  3839. attack = false
  3840. end
  3841. function UniversalSpark()
  3842. attack = true
  3843. local rngb = Instance.new("Part", char)
  3844. rngb.Anchored = true
  3845. rngb.BrickColor = origcolor
  3846. rngb.CanCollide = false
  3847. rngb.FormFactor = 3
  3848. rngb.Name = "Ring"
  3849. rngb.Material = "Neon"
  3850. rngb.Size = Vector3.new(1, 0.05, 1)
  3851. rngb.Transparency = 1
  3852. rngb.TopSurface = 0
  3853. rngb.BottomSurface = 0
  3854. local rngmb = Instance.new("SpecialMesh", rngb)
  3855. rngmb.MeshType = "Brick"
  3856. rngmb.Name = "SizeMesh"
  3857. rngmb.Scale = vt(0, 1, 0)
  3858. local orb = rngb:Clone()
  3859. orb.Parent = char
  3860. orb.Transparency = 0
  3861. orb.BrickColor = BrickColor.new("White")
  3862. orb.Size = vt(1, 1, 1)
  3863. local orbmish = orb.SizeMesh
  3864. orbmish.Scale = vt(0, 0, 0)
  3865. orbmish.MeshType = "Sphere"
  3866. local orbe = rngb:Clone()
  3867. orbe.Parent = char
  3868. orbe.Transparency = 0.5
  3869. orbe.BrickColor = BrickColor.new("New Yeller")
  3870. orbe.Size = vt(1, 1, 1)
  3871. local orbmish2 = orbe.SizeMesh
  3872. orbmish2.Scale = vt(0, 0, 0)
  3873. orbmish2.MeshType = "Sphere"
  3874. orbe.Color = Color3.new(r / 255, g / 255, b / 255)
  3875. rngb:Destroy()
  3876. for i = 0, 5, 0.1 do
  3877. swait()
  3878. if rainbowmode == true then
  3879. orbe.Color = Color3.new(r / 255, g / 255, b / 255)
  3880. end
  3881. orb.CFrame = root.CFrame * CFrame.new(0, 0.5, 0) + root.CFrame.lookVector * 11.5
  3882. orbe.CFrame = root.CFrame * CFrame.new(0, 0.5, 0) + root.CFrame.lookVector * 11.5
  3883. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(90)), 0.3)
  3884. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(0), math.rad(0), math.rad(-90)), 0.3)
  3885. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(90)), 0.3)
  3886. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(10), math.rad(0), math.rad(-20)), 0.3)
  3887. 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)
  3888. 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)
  3889. RootPart.CFrame = FaceMouse()[1]
  3890. end
  3891. orbe.Transparency = 1
  3892. orb.Transparency = 1
  3893. orb.CFrame = root.CFrame * CFrame.new(0, 0.5, 0) + root.CFrame.lookVector * 5
  3894. CFuncs.Sound.Create("rbxassetid://294188875", char, 1, 1)
  3895. CFuncs.Sound.Create("rbxassetid://741272936", char, 0.75, 1)
  3896. CFuncs.Sound.Create("rbxassetid://1192402877", char, 1, 1)
  3897. CFuncs.Sound.Create("rbxassetid://1208650519", char, 0.75, 1)
  3898. CFuncs.Sound.Create("rbxassetid://164881112", char, 0.75, 1)
  3899. CFuncs.Sound.Create("rbxassetid://429123896", char, 1, 0.85)
  3900. CFuncs.Sound.Create("rbxassetid://164178927", char, 1, 1)
  3901. local xd = Instance.new("Sound", char)
  3902. xd.SoundId = "rbxassetid://445796828"
  3903. xd.Pitch = 0.75
  3904. xd.Looped = true
  3905. xd.Volume = 1.25
  3906. xd:Play()
  3907. local a = Instance.new("Part", Character)
  3908. a.Name = "Direction"
  3909. a.Anchored = true
  3910. a.BrickColor = bc("Alder")
  3911. a.Color = MAINRUINCOLOR.Color
  3912. a.Material = "Neon"
  3913. a.Transparency = 0.5
  3914. a.Shape = "Cylinder"
  3915. a.CanCollide = false
  3916. local a2 = Instance.new("Part", Character)
  3917. a2.Name = "Direction"
  3918. a2.Anchored = true
  3919. a2.BrickColor = bc("New Yeller")
  3920. a2.Color = MAINRUINCOLOR.Color
  3921. a2.Material = "Neon"
  3922. a2.Transparency = 0.5
  3923. a2.Shape = "Cylinder"
  3924. a2.CanCollide = false
  3925. local ba = Instance.new("Part", Character)
  3926. ba.Name = "HitDirect"
  3927. ba.Anchored = true
  3928. ba.BrickColor = bc("Really black")
  3929. ba.Material = "Neon"
  3930. ba.Transparency = 1
  3931. ba.CanCollide = false
  3932. local ray = Ray.new(orb.CFrame.p, (mouse.Hit.p - orb.CFrame.p).unit * 1000)
  3933. local ignore = Character
  3934. local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  3935. a.BottomSurface = 10
  3936. a.TopSurface = 10
  3937. a2.BottomSurface = 10
  3938. a2.TopSurface = 10
  3939. local distance = (orb.CFrame.p - position).magnitude
  3940. a.Size = Vector3.new(distance, 1, 1)
  3941. a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance / 2)
  3942. a2.Size = Vector3.new(distance, 1, 1)
  3943. a2.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance / 2)
  3944. ba.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance)
  3945. a.CFrame = a.CFrame * CFrame.Angles(0, math.rad(90), 0)
  3946. a2.CFrame = a2.CFrame * CFrame.Angles(0, math.rad(90), 0)
  3947. game:GetService("Debris"):AddItem(a, 60)
  3948. game:GetService("Debris"):AddItem(a2, 60)
  3949. game:GetService("Debris"):AddItem(ba, 60)
  3950. local outerscale = 0
  3951. local msh = Instance.new("SpecialMesh", a)
  3952. msh.MeshType = "Cylinder"
  3953. msh.Scale = vt(1, 0, 0)
  3954. local msh2 = Instance.new("SpecialMesh", a2)
  3955. msh2.MeshType = "Cylinder"
  3956. msh2.Scale = vt(1, 0, 0)
  3957. for i = 0, 2, 0.1 do
  3958. swait()
  3959. CameraEnshaking(1, 1)
  3960. msh2.Scale = msh2.Scale + vt(0, outerscale * 20, outerscale * 20)
  3961. msh.Scale = msh.Scale + vt(0, outerscale * 15, outerscale * 15)
  3962. outerscale = outerscale - 0.015
  3963. orb.CFrame = root.CFrame * CFrame.new(0, 0.5, 0) + root.CFrame.lookVector * 4
  3964. orbe.CFrame = root.CFrame * CFrame.new(0, 0.5, 0) + root.CFrame.lookVector * 4
  3965. ray = Ray.new(orb.CFrame.p, (mouse.Hit.p - orb.CFrame.p).unit * 1000)
  3966. hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  3967. distance = (orb.CFrame.p - position).magnitude
  3968. if typrot == 1 then
  3969. rotation = rotation + 2.5
  3970. elseif typrot == 2 then
  3971. rotation = rotation - 2.5
  3972. end
  3973. RootPart.CFrame = FaceMouse()[1]
  3974. a.Size = Vector3.new(distance, 1, 1)
  3975. a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance / 2)
  3976. a2.Size = Vector3.new(distance, 1, 1)
  3977. a2.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance / 2)
  3978. ba.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance)
  3979. a.CFrame = a.CFrame * CFrame.Angles(0, math.rad(90), 0)
  3980. a2.CFrame = a2.CFrame * CFrame.Angles(0, math.rad(90), 0)
  3981. 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)
  3982. 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)
  3983. MagniDamage(ba, 100, 500, 60000, 0, "Normal")
  3984. end
  3985. for z = 0, 2 do
  3986. for i = 0, 4, 0.1 do
  3987. swait()
  3988. CameraEnshaking(1, 1)
  3989. msh2.Scale = msh2.Scale + vt(0, outerscale, outerscale)
  3990. msh.Scale = msh.Scale - vt(0, outerscale, outerscale)
  3991. outerscale = outerscale + 0.015
  3992. orb.CFrame = root.CFrame * CFrame.new(0, 0.5, 0) + root.CFrame.lookVector * 4
  3993. orbe.CFrame = root.CFrame * CFrame.new(0, 0.5, 0) + root.CFrame.lookVector * 4
  3994. ray = Ray.new(orb.CFrame.p, (mouse.Hit.p - orb.CFrame.p).unit * 1000)
  3995. hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  3996. distance = (orb.CFrame.p - position).magnitude
  3997. if typrot == 1 then
  3998. rotation = rotation + 2.5
  3999. elseif typrot == 2 then
  4000. rotation = rotation - 2.5
  4001. end
  4002. RootPart.CFrame = FaceMouse()[1]
  4003. a.Size = Vector3.new(distance, 1, 1)
  4004. a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance / 2)
  4005. a2.Size = Vector3.new(distance, 1, 1)
  4006. a2.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance / 2)
  4007. ba.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance)
  4008. a.CFrame = a.CFrame * CFrame.Angles(0, math.rad(90), 0)
  4009. a2.CFrame = a2.CFrame * CFrame.Angles(0, math.rad(90), 0)
  4010. 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)
  4011. 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)
  4012. MagniDamage(ba, 100, 500, 60000, 0, "Normal")
  4013. end
  4014. for i = 0, 4, 0.1 do
  4015. swait()
  4016. CameraEnshaking(1, 1)
  4017. msh2.Scale = msh2.Scale + vt(0, outerscale, outerscale)
  4018. msh.Scale = msh.Scale - vt(0, outerscale, outerscale)
  4019. outerscale = outerscale - 0.015
  4020. orb.CFrame = root.CFrame * CFrame.new(0, 0.5, 0) + root.CFrame.lookVector * 4
  4021. orbe.CFrame = root.CFrame * CFrame.new(0, 0.5, 0) + root.CFrame.lookVector * 4
  4022. ray = Ray.new(orb.CFrame.p, (mouse.Hit.p - orb.CFrame.p).unit * 1000)
  4023. hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  4024. distance = (orb.CFrame.p - position).magnitude
  4025. if typrot == 1 then
  4026. rotation = rotation + 2.5
  4027. elseif typrot == 2 then
  4028. rotation = rotation - 2.5
  4029. end
  4030. RootPart.CFrame = FaceMouse()[1]
  4031. a.Size = Vector3.new(distance, 1, 1)
  4032. a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance / 2)
  4033. a2.Size = Vector3.new(distance, 1, 1)
  4034. a2.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance / 2)
  4035. ba.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance)
  4036. a.CFrame = a.CFrame * CFrame.Angles(0, math.rad(90), 0)
  4037. a2.CFrame = a2.CFrame * CFrame.Angles(0, math.rad(90), 0)
  4038. 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)
  4039. 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)
  4040. MagniDamage(ba, 100, 500, 60000, 0, "Normal")
  4041. end
  4042. end
  4043. for i = 0, 4, 0.1 do
  4044. swait()
  4045. CameraEnshaking(1, 1)
  4046. msh2.Scale = msh2.Scale + vt(0, outerscale, outerscale)
  4047. msh.Scale = msh.Scale - vt(0, outerscale, outerscale)
  4048. xd.Volume = xd.Volume - 0.025
  4049. a.Transparency = a.Transparency + 0.025
  4050. a2.Transparency = a2.Transparency + 0.025
  4051. outerscale = outerscale - 0.015
  4052. orb.CFrame = root.CFrame * CFrame.new(0, 0.5, 0) + root.CFrame.lookVector * 4
  4053. orbe.CFrame = root.CFrame * CFrame.new(0, 0.5, 0) + root.CFrame.lookVector * 4
  4054. ray = Ray.new(orb.CFrame.p, (mouse.Hit.p - orb.CFrame.p).unit * 1000)
  4055. hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  4056. distance = (orb.CFrame.p - position).magnitude
  4057. if typrot == 1 then
  4058. rotation = rotation + 2.5
  4059. elseif typrot == 2 then
  4060. rotation = rotation - 2.5
  4061. end
  4062. RootPart.CFrame = FaceMouse()[1]
  4063. a.Size = Vector3.new(distance, 1, 1)
  4064. a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance / 2)
  4065. a2.Size = Vector3.new(distance, 1, 1)
  4066. a2.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance / 2)
  4067. ba.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance)
  4068. a.CFrame = a.CFrame * CFrame.Angles(0, math.rad(90), 0)
  4069. a2.CFrame = a2.CFrame * CFrame.Angles(0, math.rad(90), 0)
  4070. 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)
  4071. 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)
  4072. MagniDamage(ba, 100, 500, 60000, 0, "Normal")
  4073. end
  4074. xd:Destroy()
  4075. a:Destroy()
  4076. a2:Destroy()
  4077. ba:Destroy()
  4078. orb:Destroy()
  4079. orbe:Destroy()
  4080. attack = false
  4081. end
  4082. function lovebeam()
  4083. attack = true
  4084. local rngb = Instance.new("Part", char)
  4085. rngb.Anchored = true
  4086. rngb.BrickColor = origcolor
  4087. rngb.CanCollide = false
  4088. rngb.FormFactor = 3
  4089. rngb.Name = "Ring"
  4090. rngb.Material = "Neon"
  4091. rngb.Size = Vector3.new(1, 0.05, 1)
  4092. rngb.Transparency = 1
  4093. rngb.TopSurface = 0
  4094. rngb.BottomSurface = 0
  4095. local rngmb = Instance.new("SpecialMesh", rngb)
  4096. rngmb.MeshType = "Brick"
  4097. rngmb.Name = "SizeMesh"
  4098. rngmb.Scale = vt(0, 1, 0)
  4099. local orb = rngb:Clone()
  4100. orb.Parent = char
  4101. orb.Transparency = 0
  4102. orb.BrickColor = BrickColor.new("Carnation pink")
  4103. orb.Size = vt(1, 1, 1)
  4104. local orbmish = orb.SizeMesh
  4105. orbmish.Scale = vt(0, 0, 0)
  4106. orbmish.MeshType = "Sphere"
  4107. local orbe = rngb:Clone()
  4108. orbe.Parent = char
  4109. orbe.Transparency = 0.5
  4110. orbe.BrickColor = BrickColor.new("Pink")
  4111. orbe.Size = vt(1, 1, 1)
  4112. local orbmish2 = orbe.SizeMesh
  4113. orbmish2.Scale = vt(0, 0, 0)
  4114. orbmish2.MeshType = "Sphere"
  4115. orbe.Color = Color3.new(r / 255, g / 255, b / 255)
  4116. rngb:Destroy()
  4117. for i = 0, 5, 0.1 do
  4118. swait()
  4119. if rainbowmode == true then
  4120. orbe.Color = Color3.new(r / 255, g / 255, b / 255)
  4121. end
  4122. orb.CFrame = root.CFrame * CFrame.new(0, 0.5, 0) + root.CFrame.lookVector * 11.5
  4123. orbe.CFrame = root.CFrame * CFrame.new(0, 0.5, 0) + root.CFrame.lookVector * 11.5
  4124. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(90)), 0.3)
  4125. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(0), math.rad(0), math.rad(-90)), 0.3)
  4126. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(90)), 0.3)
  4127. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(10), math.rad(0), math.rad(-20)), 0.3)
  4128. 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)
  4129. 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)
  4130. RootPart.CFrame = FaceMouse()[1]
  4131. end
  4132. orbe.Transparency = 1
  4133. orb.Transparency = 1
  4134. orb.CFrame = root.CFrame * CFrame.new(0, 0.5, 0) + root.CFrame.lookVector * 5
  4135. CFuncs.Sound.Create("rbxassetid://294188875", char, 1, 1)
  4136. CFuncs.Sound.Create("rbxassetid://741272936", char, 0.75, 1)
  4137. CFuncs.Sound.Create("rbxassetid://1192402877", char, 1, 1)
  4138. CFuncs.Sound.Create("rbxassetid://1208650519", char, 0.75, 1)
  4139. CFuncs.Sound.Create("rbxassetid://164881112", char, 0.75, 1)
  4140. CFuncs.Sound.Create("rbxassetid://429123896", char, 1, 0.85)
  4141. CFuncs.Sound.Create("rbxassetid://164178927", char, 1, 1)
  4142. local xd = Instance.new("Sound", char)
  4143. xd.SoundId = "rbxassetid://445796828"
  4144. xd.Pitch = 0.75
  4145. xd.Looped = true
  4146. xd.Volume = 1.25
  4147. xd:Play()
  4148. local a = Instance.new("Part", Character)
  4149. a.Name = "Direction"
  4150. a.Anchored = true
  4151. a.BrickColor = bc("Alder")
  4152. a.Color = Color3.new(255, 152, 220)
  4153. a.Material = "Neon"
  4154. a.Transparency = 0.5
  4155. a.Shape = "Cylinder"
  4156. a.CanCollide = false
  4157. local a2 = Instance.new("Part", Character)
  4158. a2.Name = "Direction"
  4159. a2.Anchored = true
  4160. a2.BrickColor = BrickColor.new("Pink")
  4161. a2.Color = MAINRUINCOLOR.Color
  4162. a2.Material = "Neon"
  4163. a2.Transparency = 0.5
  4164. a2.Shape = "Cylinder"
  4165. a2.CanCollide = false
  4166. local ba = Instance.new("Part", Character)
  4167. ba.Name = "HitDirect"
  4168. ba.Anchored = true
  4169. ba.BrickColor = BrickColor.new("Hot pink")
  4170. ba.Material = "Neon"
  4171. ba.Transparency = 1
  4172. ba.CanCollide = false
  4173. local ray = Ray.new(orb.CFrame.p, (mouse.Hit.p - orb.CFrame.p).unit * 1000)
  4174. local ignore = Character
  4175. local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  4176. a.BottomSurface = 10
  4177. a.TopSurface = 10
  4178. a2.BottomSurface = 10
  4179. a2.TopSurface = 10
  4180. local distance = (orb.CFrame.p - position).magnitude
  4181. a.Size = Vector3.new(distance, 1, 1)
  4182. a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance / 2)
  4183. a2.Size = Vector3.new(distance, 1, 1)
  4184. a2.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance / 2)
  4185. ba.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance)
  4186. a.CFrame = a.CFrame * CFrame.Angles(0, math.rad(90), 0)
  4187. a2.CFrame = a2.CFrame * CFrame.Angles(0, math.rad(90), 0)
  4188. game:GetService("Debris"):AddItem(a, 60)
  4189. game:GetService("Debris"):AddItem(a2, 60)
  4190. game:GetService("Debris"):AddItem(ba, 60)
  4191. local outerscale = 0
  4192. local msh = Instance.new("SpecialMesh", a)
  4193. msh.MeshType = "Cylinder"
  4194. msh.Scale = vt(1, 0, 0)
  4195. local msh2 = Instance.new("SpecialMesh", a2)
  4196. msh2.MeshType = "Cylinder"
  4197. msh2.Scale = vt(1, 0, 0)
  4198. for i = 0, 2, 0.1 do
  4199. swait()
  4200. CameraEnshaking(1, 1)
  4201. msh2.Scale = msh2.Scale + vt(0, outerscale * 20, outerscale * 20)
  4202. msh.Scale = msh.Scale + vt(0, outerscale * 15, outerscale * 15)
  4203. outerscale = outerscale - 0.015
  4204. orb.CFrame = root.CFrame * CFrame.new(0, 0.5, 0) + root.CFrame.lookVector * 4
  4205. orbe.CFrame = root.CFrame * CFrame.new(0, 0.5, 0) + root.CFrame.lookVector * 4
  4206. ray = Ray.new(orb.CFrame.p, (mouse.Hit.p - orb.CFrame.p).unit * 1000)
  4207. hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  4208. distance = (orb.CFrame.p - position).magnitude
  4209. if typrot == 1 then
  4210. rotation = rotation + 2.5
  4211. elseif typrot == 2 then
  4212. rotation = rotation - 2.5
  4213. end
  4214. RootPart.CFrame = FaceMouse()[1]
  4215. a.Size = Vector3.new(distance, 1, 1)
  4216. a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance / 2)
  4217. a2.Size = Vector3.new(distance, 1, 1)
  4218. a2.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance / 2)
  4219. ba.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance)
  4220. a.CFrame = a.CFrame * CFrame.Angles(0, math.rad(90), 0)
  4221. a2.CFrame = a2.CFrame * CFrame.Angles(0, math.rad(90), 0)
  4222. 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)
  4223. 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)
  4224. MagniDamage(ba, 100, 500, 60000, 0, "Normal")
  4225. end
  4226. for z = 0, 2 do
  4227. for i = 0, 4, 0.1 do
  4228. swait()
  4229. CameraEnshaking(1, 1)
  4230. msh2.Scale = msh2.Scale + vt(0, outerscale, outerscale)
  4231. msh.Scale = msh.Scale - vt(0, outerscale, outerscale)
  4232. outerscale = outerscale + 0.015
  4233. orb.CFrame = root.CFrame * CFrame.new(0, 0.5, 0) + root.CFrame.lookVector * 4
  4234. orbe.CFrame = root.CFrame * CFrame.new(0, 0.5, 0) + root.CFrame.lookVector * 4
  4235. ray = Ray.new(orb.CFrame.p, (mouse.Hit.p - orb.CFrame.p).unit * 1000)
  4236. hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  4237. distance = (orb.CFrame.p - position).magnitude
  4238. if typrot == 1 then
  4239. rotation = rotation + 2.5
  4240. elseif typrot == 2 then
  4241. rotation = rotation - 2.5
  4242. end
  4243. RootPart.CFrame = FaceMouse()[1]
  4244. a.Size = Vector3.new(distance, 1, 1)
  4245. a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance / 2)
  4246. a2.Size = Vector3.new(distance, 1, 1)
  4247. a2.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance / 2)
  4248. ba.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance)
  4249. a.CFrame = a.CFrame * CFrame.Angles(0, math.rad(90), 0)
  4250. a2.CFrame = a2.CFrame * CFrame.Angles(0, math.rad(90), 0)
  4251. 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)
  4252. 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)
  4253. MagniDamage(ba, 100, 500, 60000, 0, "Normal")
  4254. end
  4255. for i = 0, 4, 0.1 do
  4256. swait()
  4257. CameraEnshaking(1, 1)
  4258. msh2.Scale = msh2.Scale + vt(0, outerscale, outerscale)
  4259. msh.Scale = msh.Scale - vt(0, outerscale, outerscale)
  4260. outerscale = outerscale - 0.015
  4261. orb.CFrame = root.CFrame * CFrame.new(0, 0.5, 0) + root.CFrame.lookVector * 4
  4262. orbe.CFrame = root.CFrame * CFrame.new(0, 0.5, 0) + root.CFrame.lookVector * 4
  4263. ray = Ray.new(orb.CFrame.p, (mouse.Hit.p - orb.CFrame.p).unit * 1000)
  4264. hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  4265. distance = (orb.CFrame.p - position).magnitude
  4266. if typrot == 1 then
  4267. rotation = rotation + 2.5
  4268. elseif typrot == 2 then
  4269. rotation = rotation - 2.5
  4270. end
  4271. RootPart.CFrame = FaceMouse()[1]
  4272. a.Size = Vector3.new(distance, 1, 1)
  4273. a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance / 2)
  4274. a2.Size = Vector3.new(distance, 1, 1)
  4275. a2.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance / 2)
  4276. ba.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance)
  4277. a.CFrame = a.CFrame * CFrame.Angles(0, math.rad(90), 0)
  4278. a2.CFrame = a2.CFrame * CFrame.Angles(0, math.rad(90), 0)
  4279. 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)
  4280. 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)
  4281. MagniDamage(ba, 100, 500, 60000, 0, "Normal")
  4282. end
  4283. end
  4284. for i = 0, 4, 0.1 do
  4285. swait()
  4286. CameraEnshaking(1, 1)
  4287. msh2.Scale = msh2.Scale + vt(0, outerscale, outerscale)
  4288. msh.Scale = msh.Scale - vt(0, outerscale, outerscale)
  4289. xd.Volume = xd.Volume - 0.025
  4290. a.Transparency = a.Transparency + 0.025
  4291. a2.Transparency = a2.Transparency + 0.025
  4292. outerscale = outerscale - 0.015
  4293. orb.CFrame = root.CFrame * CFrame.new(0, 0.5, 0) + root.CFrame.lookVector * 4
  4294. orbe.CFrame = root.CFrame * CFrame.new(0, 0.5, 0) + root.CFrame.lookVector * 4
  4295. ray = Ray.new(orb.CFrame.p, (mouse.Hit.p - orb.CFrame.p).unit * 1000)
  4296. hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  4297. distance = (orb.CFrame.p - position).magnitude
  4298. if typrot == 1 then
  4299. rotation = rotation + 2.5
  4300. elseif typrot == 2 then
  4301. rotation = rotation - 2.5
  4302. end
  4303. RootPart.CFrame = FaceMouse()[1]
  4304. a.Size = Vector3.new(distance, 1, 1)
  4305. a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance / 2)
  4306. a2.Size = Vector3.new(distance, 1, 1)
  4307. a2.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance / 2)
  4308. ba.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance)
  4309. a.CFrame = a.CFrame * CFrame.Angles(0, math.rad(90), 0)
  4310. a2.CFrame = a2.CFrame * CFrame.Angles(0, math.rad(90), 0)
  4311. 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)
  4312. 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)
  4313. MagniDamage(ba, 100, 500, 60000, 0, "Normal")
  4314. end
  4315. xd:Destroy()
  4316. a:Destroy()
  4317. a2:Destroy()
  4318. ba:Destroy()
  4319. orb:Destroy()
  4320. orbe:Destroy()
  4321. attack = false
  4322. end
  4323.  
  4324. function resetmode()
  4325. Editer_mode = false
  4326. rainbowmode = false
  4327. chaosmode = false
  4328. RecolorTextAndRename("Sweet Dreams", Color3.new(0, 0, 0), Color3.new(1, 0, 0))
  4329. ModeOfGlitch = 1
  4330. storehumanoidWS = 200
  4331. for i, v in pairs(mw2:GetChildren()) do
  4332. if v:IsA("Part") then
  4333. v.Transparency = 0
  4334. v.BrickColor = BrickColor.new("Really red")
  4335. v.Material = "Neon"
  4336. end
  4337. end
  4338. for i, v in pairs(mw1:GetChildren()) do
  4339. if v:IsA("Part") then
  4340. v.Transparency = 0
  4341. v.BrickColor = BrickColor.new("Really red")
  4342. v.Material = "Neon"
  4343. end
  4344. end
  4345. MAINRUINCOLOR = BrickColor.new("Really red")
  4346. hum.WalkSpeed = 200
  4347. newTheme("rbxassetid://415898123", 0, 1, 10)
  4348. for i, v in pairs(m:GetChildren()) do
  4349. if v:IsA("Part") then
  4350. v.Transparency = 0
  4351. v.BrickColor = BrickColor.new("Really black")
  4352. v.Material = "Glass"
  4353. end
  4354. end
  4355. for i, v in pairs(m2:GetChildren()) do
  4356. if v:IsA("Part") then
  4357. v.Transparency = 0
  4358. v.BrickColor = BrickColor.new("Crimson")
  4359. v.Material = "Granite"
  4360. end
  4361. end
  4362. for i, v in pairs(m3:GetChildren()) do
  4363. if v:IsA("Part") then
  4364. v.Transparency = 0
  4365. v.BrickColor = BrickColor.new("Really red")
  4366. v.Material = "Neon"
  4367. end
  4368. end
  4369. for i, v in pairs(extrawingmod1:GetChildren()) do
  4370. if v:IsA("Part") then
  4371. v.Transparency = 0
  4372. v.BrickColor = BrickColor.new("Really red")
  4373. v.Material = "Neon"
  4374. end
  4375. end
  4376. for i, v in pairs(extrawingmod2:GetChildren()) do
  4377. if v:IsA("Part") then
  4378. v.Transparency = 0
  4379. v.BrickColor = BrickColor.new("Crimson")
  4380. v.Material = "Neon"
  4381. end
  4382. end
  4383. for i, v in pairs(extrawingmod3:GetChildren()) do
  4384. if v:IsA("Part") then
  4385. v.Transparency = 0
  4386. v.BrickColor = BrickColor.new("Really red")
  4387. v.Material = "Neon"
  4388. end
  4389. end
  4390. for i, v in pairs(extrawingmod4:GetChildren()) do
  4391. if v:IsA("Part") then
  4392. v.Transparency = 0
  4393. v.BrickColor = BrickColor.new("Crimson")
  4394. v.Material = "Neon"
  4395. end
  4396. end
  4397. end
  4398. function attackone()
  4399. attack = true
  4400. for i = 0, 1, 0.1 do
  4401. swait()
  4402. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(20), math.rad(0), math.rad(-40)), 0.2)
  4403. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(0), math.rad(0), math.rad(40)), 0.2)
  4404. RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-40)), 0.2)
  4405. LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-40)), 0.2)
  4406. 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)
  4407. 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)
  4408. end
  4409. CFuncs.Sound.Create("rbxassetid://200632136", root, 1, 1.1)
  4410. local hitb = Instance.new("Part", char)
  4411. hitb.Anchored = true
  4412. hitb.CanCollide = false
  4413. hitb.FormFactor = 3
  4414. hitb.Name = "Ring"
  4415. hitb.Material = "Neon"
  4416. hitb.Size = Vector3.new(1, 1, 1)
  4417. hitb.Transparency = 1
  4418. hitb.TopSurface = 0
  4419. hitb.BottomSurface = 0
  4420. hitb.CFrame = root.CFrame + root.CFrame.lookVector * 2
  4421. MagniDamage(hitb, 3, 10, 30, 0, "Normal")
  4422. hitb:Destroy()
  4423. for i = 0, 1, 0.1 do
  4424. swait()
  4425. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(-5), math.rad(0), math.rad(70)), 0.4)
  4426. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(20), math.rad(0), math.rad(-70)), 0.4)
  4427. RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(70)), 0.4)
  4428. LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(40)), 0.4)
  4429. 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)
  4430. 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)
  4431. end
  4432. attack = false
  4433. end
  4434. function attacktwo()
  4435. attack = true
  4436. for i = 0, 1, 0.1 do
  4437. swait()
  4438. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(20), math.rad(0), math.rad(40)), 0.2)
  4439. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(0), math.rad(0), math.rad(-40)), 0.2)
  4440. RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(40)), 0.2)
  4441. LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(40)), 0.2)
  4442. 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)
  4443. 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)
  4444. end
  4445. CFuncs.Sound.Create("rbxassetid://200632136", root, 1, 1)
  4446. local hitb = Instance.new("Part", char)
  4447. hitb.Anchored = true
  4448. hitb.CanCollide = false
  4449. hitb.FormFactor = 3
  4450. hitb.Name = "Ring"
  4451. hitb.Material = "Neon"
  4452. hitb.Size = Vector3.new(1, 1, 1)
  4453. hitb.Transparency = 1
  4454. hitb.TopSurface = 0
  4455. hitb.BottomSurface = 0
  4456. hitb.CFrame = root.CFrame + root.CFrame.lookVector * 2
  4457. MagniDamage(hitb, 3, 10, 30, 0, "Normal")
  4458. hitb:Destroy()
  4459. for i = 0, 1, 0.1 do
  4460. swait()
  4461. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(-5), math.rad(0), math.rad(-70)), 0.4)
  4462. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(20), math.rad(0), math.rad(70)), 0.4)
  4463. RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-40)), 0.4)
  4464. LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-70)), 0.4)
  4465. 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)
  4466. 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)
  4467. end
  4468. attack = false
  4469. end
  4470. function attackthree()
  4471. attack = true
  4472. for i = 0, 1, 0.1 do
  4473. swait()
  4474. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(80)), 0.3)
  4475. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(20), math.rad(0), math.rad(-80)), 0.3)
  4476. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(80)), 0.3)
  4477. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(10), math.rad(0), math.rad(-20)), 0.3)
  4478. 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)
  4479. 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)
  4480. end
  4481. local distlook = 5
  4482. for i = 0, 4 do
  4483. swait(2)
  4484. CameraEnshaking(2, 3)
  4485. local hite = Instance.new("Part", char)
  4486. hite.Anchored = true
  4487. hite.CanCollide = false
  4488. hite.FormFactor = 3
  4489. hite.Name = "Ring"
  4490. hite.Material = "Neon"
  4491. hite.Size = Vector3.new(1, 1, 1)
  4492. hite.Transparency = 1
  4493. hite.TopSurface = 0
  4494. hite.BottomSurface = 0
  4495. hite.CFrame = root.CFrame + root.CFrame.lookVector * distlook
  4496. sphere(3, "Add", hite.CFrame, vt(0, 0, 0), 0.15, MAINRUINCOLOR)
  4497. sphere(6, "Add", hite.CFrame, vt(0, 0, 0), 0.3, MAINRUINCOLOR)
  4498. MagniDamage(hite, 10, 15, 35, 0, "Normal")
  4499. for i = 0, 2 do
  4500. 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)
  4501. 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)
  4502. 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)
  4503. end
  4504. CFuncs.Sound.Create("rbxassetid://183763506", hite, 2.5, 1)
  4505. CFuncs.Sound.Create("rbxassetid://178452221", hite, 0.25, 0.6)
  4506. game:GetService("Debris"):AddItem(hite, 5)
  4507. distlook = distlook + 10
  4508. end
  4509. attack = false
  4510. end
  4511. local attacktype = 1
  4512. mouse.Button1Down:connect(function()
  4513. if attack == false and attacktype == 1 then
  4514. attacktype = 2
  4515. attackone()
  4516. elseif attack == false and attacktype == 2 then
  4517. attacktype = 3
  4518. attacktwo()
  4519. elseif attack == false and attacktype == 3 then
  4520. attacktype = 4
  4521. attackthree()
  4522. elseif attack == false and attacktype == 4 then
  4523. attacktype = 1
  4524. attackthree()
  4525. wait()
  4526. attackthree()
  4527. wait()
  4528. attackthree()
  4529. end
  4530. end)
  4531. clock_mode = false
  4532. wing_clock = false
  4533. mouse.KeyDown:connect(function(k)
  4534. if k == "q" and attack == false and ModeOfGlitch ~= 2 then
  4535. ModeOfGlitch = 2
  4536. storehumanoidWS = 200
  4537. hum.WalkSpeed = 200
  4538. rainbowmode = false
  4539. Editer_mode = false
  4540. chaosmode = false
  4541. RecolorTextAndRename("Purity", Color3.new(1, 1, 1), Color3.new(0, 1, 1))
  4542. newTheme("rbxassetid://1119453744", 20.25, 1, 1)
  4543. MAINRUINCOLOR = BrickColor.new("Toothpaste")
  4544. for i, v in pairs(mw2:GetChildren()) do
  4545. if v:IsA("Part") then
  4546. v.Transparency = 0
  4547. v.BrickColor = MAINRUINCOLOR
  4548. v.Material = "Neon"
  4549. end
  4550. end
  4551. for i, v in pairs(mw1:GetChildren()) do
  4552. if v:IsA("Part") then
  4553. v.Transparency = 0
  4554. v.BrickColor = MAINRUINCOLOR
  4555. v.Material = "Neon"
  4556. end
  4557. end
  4558. for i, v in pairs(m:GetChildren()) do
  4559. if v:IsA("Part") then
  4560. v.Transparency = 0
  4561. v.BrickColor = BrickColor.new("Toothpaste")
  4562. v.Material = "Ice"
  4563. end
  4564. end
  4565. for i, v in pairs(m2:GetChildren()) do
  4566. if v:IsA("Part") then
  4567. v.Transparency = 0
  4568. v.BrickColor = BrickColor.new("Toothpaste")
  4569. v.Material = "Neon"
  4570. end
  4571. end
  4572. for i, v in pairs(m3:GetChildren()) do
  4573. if v:IsA("Part") then
  4574. v.Transparency = 0
  4575. v.BrickColor = BrickColor.new("Toothpaste")
  4576. v.Material = "Neon"
  4577. end
  4578. end
  4579. for i, v in pairs(extrawingmod1:GetChildren()) do
  4580. if v:IsA("Part") then
  4581. v.Transparency = 0
  4582. v.BrickColor = BrickColor.new("Toothpaste")
  4583. v.Material = "Neon"
  4584. end
  4585. end
  4586. for i, v in pairs(extrawingmod2:GetChildren()) do
  4587. if v:IsA("Part") then
  4588. v.Transparency = 0
  4589. v.BrickColor = BrickColor.new("Toothpaste")
  4590. v.Material = "Neon"
  4591. end
  4592. end
  4593. for i, v in pairs(extrawingmod3:GetChildren()) do
  4594. if v:IsA("Part") then
  4595. v.Transparency = 0
  4596. v.BrickColor = BrickColor.new("Toothpaste")
  4597. v.Material = "Neon"
  4598. end
  4599. end
  4600. for i, v in pairs(extrawingmod4:GetChildren()) do
  4601. if v:IsA("Part") then
  4602. v.Transparency = 0
  4603. v.BrickColor = BrickColor.new("Toothpaste")
  4604. v.Material = "Neon"
  4605. end
  4606. end
  4607. elseif k == "q" and attack == false and ModeOfGlitch == 2 then
  4608. resetmode()
  4609. end
  4610. if k == "e" and attack == false and ModeOfGlitch ~= 3 then
  4611. ModeOfGlitch = 3
  4612. storehumanoidWS = 200
  4613. hum.WalkSpeed = 200
  4614. rainbowmode = false
  4615. Editer_mode = false
  4616. chaosmode = false
  4617. RecolorTextAndRename("Corruption", Color3.new(0, 0, 0), Color3.new(0.35, 0, 1))
  4618. newTheme("rbxassetid://1509634377", 58.15, 1,2)
  4619. MAINRUINCOLOR = BrickColor.new("Royal purple")
  4620. for i, v in pairs(mw2:GetChildren()) do
  4621. if v:IsA("Part") then
  4622. v.Transparency = 0
  4623. v.BrickColor = MAINRUINCOLOR
  4624. v.Material = "Neon"
  4625. end
  4626. end
  4627. for i, v in pairs(mw1:GetChildren()) do
  4628. if v:IsA("Part") then
  4629. v.Transparency = 0
  4630. v.BrickColor = MAINRUINCOLOR
  4631. v.Material = "Neon"
  4632. end
  4633. end
  4634. for i, v in pairs(m:GetChildren()) do
  4635. if v:IsA("Part") then
  4636. v.Transparency = 0
  4637. v.BrickColor = BrickColor.new("Black")
  4638. v.Material = "Ice"
  4639. end
  4640. end
  4641. for i, v in pairs(m2:GetChildren()) do
  4642. if v:IsA("Part") then
  4643. v.Transparency = 0
  4644. v.BrickColor = BrickColor.new("Royal purple")
  4645. v.Material = "Glass"
  4646. end
  4647. end
  4648. for i, v in pairs(m3:GetChildren()) do
  4649. if v:IsA("Part") then
  4650. v.Transparency = 0
  4651. v.BrickColor = BrickColor.new("Royal purple")
  4652. v.Material = "Neon"
  4653. end
  4654. end
  4655. for i, v in pairs(extrawingmod1:GetChildren()) do
  4656. if v:IsA("Part") then
  4657. v.Transparency = 0
  4658. v.BrickColor = BrickColor.new("Royal purple")
  4659. v.Material = "Neon"
  4660. end
  4661. end
  4662. for i, v in pairs(extrawingmod2:GetChildren()) do
  4663. if v:IsA("Part") then
  4664. v.Transparency = 0
  4665. v.BrickColor = BrickColor.new("Royal purple")
  4666. v.Material = "Neon"
  4667. end
  4668. end
  4669. for i, v in pairs(extrawingmod3:GetChildren()) do
  4670. if v:IsA("Part") then
  4671. v.Transparency = 0
  4672. v.BrickColor = BrickColor.new("Royal purple")
  4673. v.Material = "Neon"
  4674. end
  4675. end
  4676. for i, v in pairs(extrawingmod4:GetChildren()) do
  4677. if v:IsA("Part") then
  4678. v.Transparency = 0
  4679. v.BrickColor = BrickColor.new("Royal purple")
  4680. v.Material = "Neon"
  4681. end
  4682. end
  4683. elseif k == "e" and attack == false and ModeOfGlitch == 3 then
  4684. resetmode()
  4685. end
  4686. if k == "r" and attack == false and ModeOfGlitch ~= 4 then
  4687. ModeOfGlitch = 4
  4688. storehumanoidWS = 200
  4689. hum.WalkSpeed = 200
  4690. rainbowmode = false
  4691. Editer_mode = false
  4692. chaosmode = true
  4693. RecolorTextAndRename("Hatred", Color3.new(0, 0, 0), BrickColor.random().Color)
  4694. newTheme("rbxassetid://415898123", 0, 1, 10)
  4695. MAINRUINCOLOR = BrickColor.new("Black")
  4696. for i, v in pairs(mw2:GetChildren()) do
  4697. if v:IsA("Part") then
  4698. v.Transparency = 0.75
  4699. v.BrickColor = MAINRUINCOLOR
  4700. v.Material = "Neon"
  4701. end
  4702. end
  4703. for i, v in pairs(mw1:GetChildren()) do
  4704. if v:IsA("Part") then
  4705. v.Transparency = 0.75
  4706. v.BrickColor = BrickColor.random()
  4707. v.Material = "Neon"
  4708. end
  4709. end
  4710. for i, v in pairs(m:GetChildren()) do
  4711. if v:IsA("Part") then
  4712. v.Transparency = 0.75
  4713. v.BrickColor = BrickColor.random()
  4714. v.Material = "Neon"
  4715. end
  4716. end
  4717. for i, v in pairs(m2:GetChildren()) do
  4718. if v:IsA("Part") then
  4719. v.Transparency = 0.75
  4720. v.BrickColor = BrickColor.random()
  4721. v.Material = "Neon"
  4722. end
  4723. end
  4724. for i, v in pairs(m3:GetChildren()) do
  4725. if v:IsA("Part") then
  4726. v.Transparency = 0.75
  4727. v.BrickColor = BrickColor.random()
  4728. v.Material = "Neon"
  4729. end
  4730. end
  4731. for i, v in pairs(extrawingmod1:GetChildren()) do
  4732. if v:IsA("Part") then
  4733. v.Transparency = 0.75
  4734. v.BrickColor = BrickColor.Random()
  4735. v.Material = "Neon"
  4736. end
  4737. end
  4738. for i, v in pairs(extrawingmod2:GetChildren()) do
  4739. if v:IsA("Part") then
  4740. v.Transparency = 0.75
  4741. v.BrickColor = BrickColor.Random()
  4742. v.Material = "Neon"
  4743. end
  4744. end
  4745. for i, v in pairs(extrawingmod3:GetChildren()) do
  4746. if v:IsA("Part") then
  4747. v.Transparency = 0.75
  4748. v.BrickColor = BrickColor.Random()
  4749. v.Material = "Neon"
  4750. end
  4751. end
  4752. for i, v in pairs(extrawingmod4:GetChildren()) do
  4753. if v:IsA("Part") then
  4754. v.Transparency = 0.75
  4755. v.BrickColor = BrickColor.Random()
  4756. v.Material = "Neon"
  4757. end
  4758. end
  4759. elseif k == "r" and attack == false and ModeOfGlitch == 4 then
  4760. resetmode()
  4761. end
  4762. if k == "j" and attack == false and ModeOfGlitch ~= 2547 then
  4763. ModeOfGlitch = 2547
  4764. storehumanoidWS = 200
  4765. hum.WalkSpeed = 200
  4766. rainbowmode = false
  4767. Editer_mode = false
  4768. chaosmode = false
  4769. love_mode = true
  4770. RecolorTextAndRename("Love", Color3.new(255, 152, 220), Color3.new(255,0,191))
  4771. newTheme("rbxassetid://1119453744", 20.25, 1, 1)
  4772. MAINRUINCOLOR = BrickColor.new("Carnation pink")
  4773. for i, v in pairs(mw2:GetChildren()) do
  4774. if v:IsA("Part") then
  4775. v.Transparency = 0.75
  4776. v.BrickColor = BrickColor.new("Hot pink")
  4777. v.Material = "Neon"
  4778. end
  4779. end
  4780. for i, v in pairs(mw1:GetChildren()) do
  4781. if v:IsA("Part") then
  4782. v.Transparency = 0.75
  4783. v.BrickColor = BrickColor.new("Hot pink")
  4784. v.Material = "Neon"
  4785. end
  4786. end
  4787. for i, v in pairs(m:GetChildren()) do
  4788. if v:IsA("Part") then
  4789. v.Transparency = 0.75
  4790. v.BrickColor = BrickColor.new("Pink")
  4791. v.Material = "Neon"
  4792. end
  4793. end
  4794. for i, v in pairs(m2:GetChildren()) do
  4795. if v:IsA("Part") then
  4796. v.Transparency = 0.75
  4797. v.BrickColor = BrickColor.new("Pink")
  4798. v.Material = "Neon"
  4799. end
  4800. end
  4801. for i, v in pairs(m3:GetChildren()) do
  4802. if v:IsA("Part") then
  4803. v.Transparency = 0.75
  4804. v.BrickColor = BrickColor.new("Pink")
  4805. v.Material = "Neon"
  4806. end
  4807. end
  4808. for i, v in pairs(extrawingmod1:GetChildren()) do
  4809. if v:IsA("Part") then
  4810. v.Transparency = 0.75
  4811. v.BrickColor = BrickColor.new("Hot pink")
  4812. v.Material = "Neon"
  4813. end
  4814. end
  4815. for i, v in pairs(extrawingmod2:GetChildren()) do
  4816. if v:IsA("Part") then
  4817. v.Transparency = 0.75
  4818. v.BrickColor = BrickColor.new("Hot pink")
  4819. v.Material = "Neon"
  4820. end
  4821. end
  4822. for i, v in pairs(extrawingmod3:GetChildren()) do
  4823. if v:IsA("Part") then
  4824. v.Transparency = 0.75
  4825. v.BrickColor = BrickColor.new("Hot pink")
  4826. v.Material = "Neon"
  4827. end
  4828. end
  4829. for i, v in pairs(extrawingmod4:GetChildren()) do
  4830. if v:IsA("Part") then
  4831. v.Transparency = 0.75
  4832. v.BrickColor = BrickColor.new("Hot pink")
  4833. v.Material = "Neon"
  4834. end
  4835. end
  4836. elseif k == "j" and attack == false and ModeOfGlitch == 2547 then
  4837. resetmode()
  4838. end
  4839. if k == "t" and attack == false and ModeOfGlitch ~= 5 then
  4840. ModeOfGlitch = 5
  4841. storehumanoidWS = 200
  4842. hum.WalkSpeed = 200
  4843. rainbowmode = false
  4844. Editer_mode = false
  4845. chaosmode = false
  4846. love_mode = false
  4847. RecolorTextAndRename("Soltiude", Color3.new(0, 0, 0), Color3.new(255, 255, 255))
  4848. newTheme("rbxassetid://723652641", 10, 1, 3.2)
  4849. MAINRUINCOLOR = BrickColor.new("Really black")
  4850. for i, v in pairs(mw2:GetChildren()) do
  4851. if v:IsA("Part") then
  4852. v.Transparency = 0
  4853. v.BrickColor = MAINRUINCOLOR
  4854. v.Material = "Neon"
  4855. end
  4856. end
  4857. for i, v in pairs(mw1:GetChildren()) do
  4858. if v:IsA("Part") then
  4859. v.Transparency = 0
  4860. v.BrickColor = MAINRUINCOLOR
  4861. v.Material = "Neon"
  4862. end
  4863. end
  4864. for i, v in pairs(m:GetChildren()) do
  4865. if v:IsA("Part") then
  4866. v.Transparency = 0
  4867. v.BrickColor = BrickColor.new("Really black")
  4868. v.Material = "Ice"
  4869. end
  4870. end
  4871. for i, v in pairs(m2:GetChildren()) do
  4872. if v:IsA("Part") then
  4873. v.Transparency = 0
  4874. v.BrickColor = BrickColor.new("Really black")
  4875. v.Material = "Ice"
  4876. end
  4877. end
  4878. for i, v in pairs(m3:GetChildren()) do
  4879. if v:IsA("Part") then
  4880. v.Transparency = 0
  4881. v.BrickColor = BrickColor.new("Really black")
  4882. v.Material = "Neon"
  4883. end
  4884. end
  4885. for i, v in pairs(extrawingmod1:GetChildren()) do
  4886. if v:IsA("Part") then
  4887. v.Transparency = 0
  4888. v.BrickColor = BrickColor.new("Really black")
  4889. v.Material = "Neon"
  4890. end
  4891. end
  4892. for i, v in pairs(extrawingmod2:GetChildren()) do
  4893. if v:IsA("Part") then
  4894. v.Transparency = 0
  4895. v.BrickColor = BrickColor.new("Really black")
  4896. v.Material = "Neon"
  4897. end
  4898. end
  4899. for i, v in pairs(extrawingmod3:GetChildren()) do
  4900. if v:IsA("Part") then
  4901. v.Transparency = 0
  4902. v.BrickColor = BrickColor.new("Really black")
  4903. v.Material = "Neon"
  4904. end
  4905. end
  4906. for i, v in pairs(extrawingmod4:GetChildren()) do
  4907. if v:IsA("Part") then
  4908. v.Transparency = 0
  4909. v.BrickColor = BrickColor.new("Really black")
  4910. v.Material = "Neon"
  4911. end
  4912. end
  4913. elseif k == "t" and attack == false and ModeOfGlitch == 5 then
  4914. resetmode()
  4915. end
  4916. if k == "y" and attack == false and ModeOfGlitch ~= 6 then
  4917. ModeOfGlitch = 6
  4918. storehumanoidWS = 200
  4919. hum.WalkSpeed = 200
  4920. rainbowmode = false
  4921. chaosmode = false
  4922. Editer_mode = false
  4923. love_mode = false
  4924. RecolorTextAndRename("Equality", Color3.new(0, 0, 0), Color3.new(1, 1, 1))
  4925. newTheme("rbxassetid://519067542", 0, 1, 1)
  4926. MAINRUINCOLOR = BrickColor.new("Really black")
  4927. for i, v in pairs(mw2:GetChildren()) do
  4928. if v:IsA("Part") then
  4929. v.Transparency = 0
  4930. v.BrickColor = BrickColor.new("White")
  4931. v.Material = "Neon"
  4932. end
  4933. end
  4934. for i, v in pairs(mw1:GetChildren()) do
  4935. if v:IsA("Part") then
  4936. v.Transparency = 0
  4937. v.BrickColor = BrickColor.new("Really black")
  4938. v.Material = "Neon"
  4939. end
  4940. end
  4941. for i, v in pairs(m:GetChildren()) do
  4942. if v:IsA("Part") then
  4943. v.Transparency = 0
  4944. v.BrickColor = BrickColor.new("White")
  4945. v.Material = "Ice"
  4946. end
  4947. end
  4948. for i, v in pairs(m2:GetChildren()) do
  4949. if v:IsA("Part") then
  4950. v.Transparency = 0
  4951. v.BrickColor = BrickColor.new("Really black")
  4952. v.Material = "Ice"
  4953. end
  4954. end
  4955. for i, v in pairs(m3:GetChildren()) do
  4956. if v:IsA("Part") then
  4957. v.Transparency = 0
  4958. v.BrickColor = BrickColor.new("White")
  4959. v.Material = "Neon"
  4960. end
  4961. end
  4962. for i, v in pairs(extrawingmod1:GetChildren()) do
  4963. if v:IsA("Part") then
  4964. v.Transparency = 0
  4965. v.BrickColor = BrickColor.new("Really black")
  4966. v.Material = "Neon"
  4967. end
  4968. end
  4969. for i, v in pairs(extrawingmod2:GetChildren()) do
  4970. if v:IsA("Part") then
  4971. v.Transparency = 0
  4972. v.BrickColor = BrickColor.new("White")
  4973. v.Material = "Neon"
  4974. end
  4975. end
  4976. for i, v in pairs(extrawingmod3:GetChildren()) do
  4977. if v:IsA("Part") then
  4978. v.Transparency = 0
  4979. v.BrickColor = BrickColor.new("Really black")
  4980. v.Material = "Neon"
  4981. end
  4982. end
  4983. for i, v in pairs(extrawingmod4:GetChildren()) do
  4984. if v:IsA("Part") then
  4985. v.Transparency = 0
  4986. v.BrickColor = BrickColor.new("White")
  4987. v.Material = "Neon"
  4988. end
  4989. end
  4990. elseif k == "y" and attack == false and ModeOfGlitch == 6 then
  4991. resetmode()
  4992. end
  4993. if k == "g" and attack == false and ModeOfGlitch ~= 18022547 then
  4994. ModeOfGlitch = 18022547
  4995. storehumanoidWS = 200
  4996. hum.WalkSpeed = 200
  4997. Editer_mode = true
  4998. chaosmode = false
  4999. rainbowmode = false
  5000. love_mode = false
  5001. RecolorTextAndRename("Editer", Color3.new(1,1,1), Color3.new(1, 1, 1))
  5002. --newTheme("rbxassetid://152539141", 0, 1, 1)
  5003. MAINRUINCOLOR = BrickColor.new("Pastel green")
  5004. for i, v in pairs(mw2:GetChildren()) do
  5005. if v:IsA("Part") then
  5006. v.Transparency = 0
  5007. v.BrickColor = BrickColor.new("Really blue")
  5008. v.Material = "Neon"
  5009. end
  5010. end
  5011. for i, v in pairs(mw1:GetChildren()) do
  5012. if v:IsA("Part") then
  5013. v.Transparency = 0
  5014. v.BrickColor = BrickColor.new("Really red")
  5015. v.Material = "Neon"
  5016. end
  5017. end
  5018. for i, v in pairs(m:GetChildren()) do
  5019. if v:IsA("Part") then
  5020. v.Transparency = 0
  5021. v.BrickColor = BrickColor.new("Bright green")
  5022. v.Material = "Neon"
  5023. end
  5024. end
  5025. for i, v in pairs(m2:GetChildren()) do
  5026. if v:IsA("Part") then
  5027. v.Transparency = 0
  5028. v.BrickColor = BrickColor.new("Bright green")
  5029. v.Material = "Neon"
  5030. end
  5031. end
  5032. for i, v in pairs(m3:GetChildren()) do
  5033. if v:IsA("Part") then
  5034. v.Transparency = 0
  5035. v.BrickColor = BrickColor.new("Bright green")
  5036. v.Material = "Neon"
  5037. end
  5038. end
  5039. for i, v in pairs(extrawingmod1:GetChildren()) do
  5040. if v:IsA("Part") then
  5041. v.Transparency = 0
  5042. v.BrickColor = BrickColor.new("Really red")
  5043. v.Material = "Neon"
  5044. end
  5045. end
  5046. for i, v in pairs(extrawingmod2:GetChildren()) do
  5047. if v:IsA("Part") then
  5048. v.Transparency = 0
  5049. v.BrickColor = BrickColor.new("Really blue")
  5050. v.Material = "Neon"
  5051. end
  5052. end
  5053. for i, v in pairs(extrawingmod3:GetChildren()) do
  5054. if v:IsA("Part") then
  5055. v.Transparency = 0
  5056. v.BrickColor = BrickColor.new("Really red")
  5057. v.Material = "Neon"
  5058. end
  5059. end
  5060. for i, v in pairs(extrawingmod4:GetChildren()) do
  5061. if v:IsA("Part") then
  5062. v.Transparency = 0
  5063. v.BrickColor = BrickColor.new("Really blue")
  5064. v.Material = "Neon"
  5065. end
  5066. end
  5067. elseif k == "g" and attack == false and ModeOfGlitch == 18022547 then
  5068. resetmode()
  5069. end
  5070. if k == "h" and attack == false and ModeOfGlitch ~= 18 then
  5071. ModeOfGlitch = 18
  5072. storehumanoidWS = 200
  5073. hum.WalkSpeed = 200
  5074. Editer_mode = true
  5075. chaosmode = false
  5076. rainbowmode = false
  5077. love_mode = false
  5078. RecolorTextAndRename("Anoxin", Color3.new(1,1,1), Color3.new(33, 84, 185))
  5079. --newTheme("rbxassetid://152539141", 0, 1, 1)
  5080. MAINRUINCOLOR = BrickColor.new("Deep blue")
  5081. for i, v in pairs(mw2:GetChildren()) do
  5082. if v:IsA("Part") then
  5083. v.Transparency = 0
  5084. v.BrickColor = BrickColor.new("Deep blue")
  5085. v.Material = "Neon"
  5086. end
  5087. end
  5088. for i, v in pairs(mw1:GetChildren()) do
  5089. if v:IsA("Part") then
  5090. v.Transparency = 0
  5091. v.BrickColor = BrickColor.new("Deep blue")
  5092. v.Material = "Neon"
  5093. end
  5094. end
  5095. for i, v in pairs(m:GetChildren()) do
  5096. if v:IsA("Part") then
  5097. v.Transparency = 0
  5098. v.BrickColor = BrickColor.new("Deep blue")
  5099. v.Material = "Neon"
  5100. end
  5101. end
  5102. for i, v in pairs(m2:GetChildren()) do
  5103. if v:IsA("Part") then
  5104. v.Transparency = 0
  5105. v.BrickColor = BrickColor.new("Deep blue")
  5106. v.Material = "Neon"
  5107. end
  5108. end
  5109. for i, v in pairs(m3:GetChildren()) do
  5110. if v:IsA("Part") then
  5111. v.Transparency = 0
  5112. v.BrickColor = BrickColor.new("Deep blue")
  5113. v.Material = "Neon"
  5114. end
  5115. end
  5116. for i, v in pairs(extrawingmod1:GetChildren()) do
  5117. if v:IsA("Part") then
  5118. v.Transparency = 0
  5119. v.BrickColor = BrickColor.new("Deep blue")
  5120. v.Material = "Neon"
  5121. end
  5122. end
  5123. for i, v in pairs(extrawingmod2:GetChildren()) do
  5124. if v:IsA("Part") then
  5125. v.Transparency = 0
  5126. v.BrickColor = BrickColor.new("Deep blue")
  5127. v.Material = "Neon"
  5128. end
  5129. end
  5130. for i, v in pairs(extrawingmod3:GetChildren()) do
  5131. if v:IsA("Part") then
  5132. v.Transparency = 0
  5133. v.BrickColor = BrickColor.new("Deep blue")
  5134. v.Material = "Neon"
  5135. end
  5136. end
  5137. for i, v in pairs(extrawingmod4:GetChildren()) do
  5138. if v:IsA("Part") then
  5139. v.Transparency = 0
  5140. v.BrickColor = BrickColor.new("Deep blue")
  5141. v.Material = "Neon"
  5142. end
  5143. end
  5144. elseif k == "h" and attack == false and ModeOfGlitch == 18 then
  5145. resetmode()
  5146. end
  5147. if k == "u" and attack == false and ModeOfGlitch ~= 6127843 then
  5148. ModeOfGlitch = 6127843
  5149. storehumanoidWS = 200
  5150. hum.WalkSpeed = 200
  5151. rainbowmode = true
  5152. chaosmode = false
  5153. Editer_mode = false
  5154. love_mode = false
  5155. RecolorTextAndRename("StarLight", Color3.new(1, 1, 1), Color3.new(1, 1, 1))
  5156. newTheme("rbxassetid://152539141", 0, 1, 1)
  5157. MAINRUINCOLOR = BrickColor.new("White")
  5158. for i, v in pairs(mw2:GetChildren()) do
  5159. if v:IsA("Part") then
  5160. v.Transparency = 0
  5161. v.BrickColor = MAINRUINCOLOR
  5162. v.Material = "Neon"
  5163. end
  5164. end
  5165. for i, v in pairs(mw1:GetChildren()) do
  5166. if v:IsA("Part") then
  5167. v.Transparency = 0
  5168. v.BrickColor = MAINRUINCOLOR
  5169. v.Material = "Neon"
  5170. end
  5171. end
  5172. for i, v in pairs(m:GetChildren()) do
  5173. if v:IsA("Part") then
  5174. v.Transparency = 0
  5175. v.BrickColor = BrickColor.new("White")
  5176. v.Material = "Neon"
  5177. end
  5178. end
  5179. for i, v in pairs(m2:GetChildren()) do
  5180. if v:IsA("Part") then
  5181. v.Transparency = 0
  5182. v.BrickColor = BrickColor.new("White")
  5183. v.Material = "Neon"
  5184. end
  5185. end
  5186. for i, v in pairs(m3:GetChildren()) do
  5187. if v:IsA("Part") then
  5188. v.Transparency = 0
  5189. v.BrickColor = BrickColor.new("White")
  5190. v.Material = "Neon"
  5191. end
  5192. end
  5193. for i, v in pairs(extrawingmod1:GetChildren()) do
  5194. if v:IsA("Part") then
  5195. v.Transparency = 0
  5196. v.BrickColor = BrickColor.new("White")
  5197. v.Material = "Neon"
  5198. end
  5199. end
  5200. for i, v in pairs(extrawingmod2:GetChildren()) do
  5201. if v:IsA("Part") then
  5202. v.Transparency = 0
  5203. v.BrickColor = BrickColor.new("White")
  5204. v.Material = "Neon"
  5205. end
  5206. end
  5207. for i, v in pairs(extrawingmod4:GetChildren()) do
  5208. if v:IsA("Part") then
  5209. v.Transparency = 0
  5210. v.BrickColor = BrickColor.new("White")
  5211. v.Material = "Neon"
  5212. end
  5213. end
  5214. for i, v in pairs(extrawingmod4:GetChildren()) do
  5215. if v:IsA("Part") then
  5216. v.Transparency = 0
  5217. v.BrickColor = BrickColor.new("White")
  5218. v.Material = "Neon"
  5219. end
  5220. end
  5221. elseif k == "u" and attack == false and ModeOfGlitch == 6127843 then
  5222. resetmode()
  5223. end
  5224. if k == "p" and attack == false and ModeOfGlitch ~= 1000000 then
  5225. ModeOfGlitch = 1000000
  5226. storehumanoidWS = 200
  5227. hum.WalkSpeed = 200
  5228. rainbowmode = false
  5229. chaosmode = false
  5230. Editer_mode = false
  5231. love_mode = false
  5232. RecolorTextAndRename("Antimatter", Color3.new(248, 248, 248), Color3.new(248, 248, 248))
  5233. newTheme("rbxassetid://614032233", 0, 1, 1)
  5234. MAINRUINCOLOR = BrickColor.new("Instiutional white")
  5235. for i, v in pairs(mw2:GetChildren()) do
  5236. if v:IsA("Part") then
  5237. v.Transparency = 0
  5238. v.BrickColor = MAINRUINCOLOR
  5239. v.Material = "Neon"
  5240. end
  5241. end
  5242. for i, v in pairs(mw1:GetChildren()) do
  5243. if v:IsA("Part") then
  5244. v.Transparency = 0
  5245. v.BrickColor = MAINRUINCOLOR
  5246. v.Material = "Neon"
  5247. end
  5248. end
  5249. for i, v in pairs(m:GetChildren()) do
  5250. if v:IsA("Part") then
  5251. v.Transparency = 0
  5252. v.BrickColor = MAINRUINCOLOR
  5253. v.Material = "Neon"
  5254. end
  5255. end
  5256. for i, v in pairs(m2:GetChildren()) do
  5257. if v:IsA("Part") then
  5258. v.Transparency = 0
  5259. v.BrickColor = MAINRUINCOLOR
  5260. v.Material = "Neon"
  5261. end
  5262. end
  5263. for i, v in pairs(m3:GetChildren()) do
  5264. if v:IsA("Part") then
  5265. v.Transparency = 0
  5266. v.BrickColor = MAINRUINCOLOR
  5267. v.Material = "Neon"
  5268. end
  5269. end
  5270. for i, v in pairs(extrawingmod1:GetChildren()) do
  5271. if v:IsA("Part") then
  5272. v.Transparency = 0
  5273. v.BrickColor = MAINRUINCOLOR
  5274. v.Material = "Neon"
  5275. end
  5276. end
  5277. for i, v in pairs(extrawingmod2:GetChildren()) do
  5278. if v:IsA("Part") then
  5279. v.Transparency = 0
  5280. v.BrickColor = MAINRUINCOLOR
  5281. v.Material = "Neon"
  5282. end
  5283. end
  5284. for i, v in pairs(extrawingmod3:GetChildren()) do
  5285. if v:IsA("Part") then
  5286. v.Transparency = 0
  5287. v.BrickColor = MAINRUINCOLOR
  5288. v.Material = "Neon"
  5289. end
  5290. end
  5291. for i, v in pairs(extrawingmod4:GetChildren()) do
  5292. if v:IsA("Part") then
  5293. v.Transparency = 0
  5294. v.BrickColor = MAINRUINCOLOR
  5295. v.Material = "Neon"
  5296. end
  5297. end
  5298. elseif k == "p" and attack == false and ModeOfGlitch == 1000000 then
  5299. resetmode()
  5300. end
  5301. if k == "k" and toggleTag == false then
  5302. toggleTag = true
  5303. text.TextTransparency = 0
  5304. text.TextStrokeTransparency = 0
  5305. elseif k == "k" and toggleTag == true then
  5306. toggleTag = false
  5307. text.TextTransparency = 1
  5308. text.TextStrokeTransparency = 1
  5309. end
  5310. if k == "z" and attack == false and ModeOfGlitch == 1 then
  5311. ExtinctiveHeartbreak()
  5312. elseif k == "l" and attack == false and ModeOfGlitch == 1 then
  5313. deadworld()
  5314. elseif k == "z" and attack == false and ModeOfGlitch == 2 then
  5315. PureBomb()
  5316. elseif k == "z" and attack == false and ModeOfGlitch == 3 then
  5317. scattercorrupt()
  5318. elseif k == "z" and attack == false and ModeOfGlitch == 4 then
  5319. ChaosGroundStrike()
  5320. elseif k == "z" and attack == false and ModeOfGlitch == 5 then
  5321. ExtinctiveHeartbreak()
  5322. elseif k == "z" and attack == false and ModeOfGlitch == 1000000 then
  5323. UniversalSpark()
  5324. elseif k == "l" and attack == false and ModeOfGlitch == 1000000 then
  5325. scattercorrupt()
  5326. wait(1)
  5327. yinyangi()
  5328. elseif k == "l" and attack == false and ModeOfGlitch == 5 then
  5329. scattercorrupt()
  5330. elseif k == "z" and attack == false and ModeOfGlitch == 6 then
  5331. yinyangi()
  5332. elseif k == "z" and attack == false and ModeOfGlitch == 6127843 then
  5333. Wip()
  5334. end
  5335. if k == "l" and attack == false and ModeOfGlitch == 4 then
  5336. ChaosBegone()
  5337. end
  5338. if k == "l" and attack == false and ModeOfGlitch == 18022547 then
  5339. print("this ablity is broke[editer try to fix this]")
  5340. --deletdata()
  5341. elseif k == "z" and attack == false and ModeOfGlitch == 18022547 then
  5342. dataDestroyer()
  5343. end
  5344. if k == "l" and attack == false and ModeOfGlitch == 18 then
  5345. print("Editer not have any idea to make new ablity")
  5346. --deletdata()
  5347. elseif k == "z" and attack == false and ModeOfGlitch == 18022547 then
  5348. dataDestroyer()
  5349. end
  5350. if k == "z" and attack == false and ModeOfGlitch == 2547 then
  5351. lovebeam()
  5352. elseif k == "l" and attack == false and ModeOfGlitch == 2547 then
  5353. print("Editer not have any idea to make new ablity")
  5354. end
  5355. if k == "f" and clock_mode == false then
  5356. Cloak_wing()
  5357. Cloak()
  5358. wing_clock = true
  5359. clock_mode = true
  5360. elseif k == "f" and clock_mode == true then
  5361. UnCloak_wing()
  5362. UnCloak()
  5363. wing_clock = false
  5364. clock_mode = false
  5365. elseif k == "x" and wing_clock == false then
  5366. repeat
  5367. Cloak_wing()
  5368. until wing_clock == false
  5369. wing_clock = true
  5370. elseif k == "x" and wing_clock == true then
  5371. repeat
  5372. UnCloak_wing()
  5373. until wing_clock == true
  5374. wing_clock = false
  5375. end
  5376. end)
  5377. coroutine.resume(coroutine.create(function()
  5378. while true do
  5379. swait(2)
  5380. if rainbowmode == true or ModeOfGlitch == 6 and wing_clock == false and clock_mode == false then
  5381. 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)
  5382. end
  5383. end
  5384. end))
  5385.  
  5386. coroutine.resume(coroutine.create(function()
  5387. while true do
  5388. swait(0.5)
  5389. if ModeOfGlitch == 1000000 and wing_clock == false and clock_mode == false then
  5390. 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)
  5391. end
  5392. end
  5393. end))
  5394.  
  5395. coroutine.resume(coroutine.create(function()
  5396. while true do
  5397. swait(0.5)
  5398. if ModeOfGlitch == 18022547 and wing_clock == false and clock_mode == false then
  5399. 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, BrickColor.new("White"), 0)
  5400. end
  5401. end
  5402. end))
  5403.  
  5404. coroutine.resume(coroutine.create(function()
  5405. while true do
  5406. swait(2)
  5407. if chaosmode == true then
  5408. RecolorTextAndRename("HATRED", Color3.new(0, 0, 0), BrickColor.random().Color)
  5409. end
  5410. if chaosmode == true and wing_clock == false and ModeOfGlitch == 4 then
  5411. RecolorTextAndRename("HATRED", Color3.new(0, 0, 0), BrickColor.random().Color)
  5412. for i, v in pairs(mw1:GetChildren()) do
  5413. if v:IsA("Part") then
  5414. v.Transparency = 0.75
  5415. v.BrickColor = BrickColor.random()
  5416. v.Material = "Neon"
  5417. end
  5418. end
  5419. for i, v in pairs(mw2:GetChildren()) do
  5420. if v:IsA("Part") then
  5421. v.Transparency = 0.75
  5422. v.BrickColor = BrickColor.random()
  5423. v.Material = "Neon"
  5424. end
  5425. end
  5426. for i, v in pairs(m2:GetChildren()) do
  5427. if v:IsA("Part") then
  5428. v.Transparency = 0.75
  5429. v.BrickColor = BrickColor.random()
  5430. v.Material = "Neon"
  5431. end
  5432. end
  5433. for i, v in pairs(m:GetChildren()) do
  5434. if v:IsA("Part") then
  5435. v.Transparency = 0.75
  5436. v.BrickColor = BrickColor.random()
  5437. v.Material = "Neon"
  5438. end
  5439. end
  5440. for i, v in pairs(m3:GetChildren()) do
  5441. if v:IsA("Part") then
  5442. v.Transparency = 0.75
  5443. v.BrickColor = BrickColor.random()
  5444. v.Material = "Neon"
  5445. end
  5446. for i, v in pairs(extrawingmod1:GetChildren()) do
  5447. if v:IsA("Part") then
  5448. v.Transparency = 0.75
  5449. v.BrickColor = BrickColor.random()
  5450. v.Material = "Neon"
  5451. end
  5452. end
  5453. for i, v in pairs(extrawingmod2:GetChildren()) do
  5454. if v:IsA("Part") then
  5455. v.Transparency = 0.75
  5456. v.BrickColor = BrickColor.random()
  5457. v.Material = "Neon"
  5458. end
  5459. end
  5460. for i, v in pairs(extrawingmod3:GetChildren()) do
  5461. if v:IsA("Part") then
  5462. v.Transparency = 0.75
  5463. v.BrickColor = BrickColor.random()
  5464. v.Material = "Neon"
  5465. end
  5466. end
  5467. for i, v in pairs(extrawingmod4:GetChildren()) do
  5468. if v:IsA("Part") then
  5469. v.Transparency = 0.75
  5470. v.BrickColor = BrickColor.random()
  5471. v.Material = "Neon"
  5472. end
  5473. end
  5474. end
  5475. end
  5476. end
  5477. end))
  5478. coroutine.resume(coroutine.create(function()
  5479. while true do
  5480. swait()
  5481. if wing_clock == true then
  5482. for i, v in pairs(mw1:GetChildren()) do
  5483. if v:IsA("Part") then
  5484. v.Transparency = 1
  5485. v.BrickColor = v.BrickColor
  5486. v.Material = "Neon"
  5487. end
  5488. end
  5489. for i, v in pairs(mw2:GetChildren()) do
  5490. if v:IsA("Part") then
  5491. v.Transparency = 1
  5492. v.BrickColor = v.BrickColor
  5493. v.Material = "Neon"
  5494. end
  5495. end
  5496. for i, v in pairs(m2:GetChildren()) do
  5497. if v:IsA("Part") then
  5498. v.Transparency = 1
  5499. v.BrickColor = v.BrickColor
  5500. v.Material = "Neon"
  5501. end
  5502. end
  5503. for i, v in pairs(m:GetChildren()) do
  5504. if v:IsA("Part") then
  5505. v.Transparency = 1
  5506. v.BrickColor = v.BrickColor
  5507. v.Material = "Neon"
  5508. end
  5509. end
  5510. for i, v in pairs(m3:GetChildren()) do
  5511. if v:IsA("Part") then
  5512. v.Transparency = 1
  5513. v.BrickColor = v.BrickColor
  5514. v.Material = "Neon"
  5515. end
  5516. for i, v in pairs(extrawingmod1:GetChildren()) do
  5517. if v:IsA("Part") then
  5518. v.Transparency = 1
  5519. v.BrickColor = v.BrickColor
  5520. v.Material = "Neon"
  5521. end
  5522. end
  5523. for i, v in pairs(extrawingmod2:GetChildren()) do
  5524. if v:IsA("Part") then
  5525. v.Transparency = 1
  5526. v.BrickColor = v.BrickColor
  5527. v.Material = "Neon"
  5528. end
  5529. end
  5530. for i, v in pairs(extrawingmod3:GetChildren()) do
  5531. if v:IsA("Part") then
  5532. v.Transparency = 1
  5533. v.BrickColor = v.BrickColor
  5534. v.Material = "Neon"
  5535. end
  5536. end
  5537. for i, v in pairs(extrawingmod4:GetChildren()) do
  5538. if v:IsA("Part") then
  5539. v.Transparency = 1
  5540. v.BrickColor = v.BrickColor
  5541. v.Material = "Neon"
  5542. end
  5543. end
  5544. end
  5545. end
  5546. end
  5547. end))
  5548.  
  5549. coroutine.resume(coroutine.create(function()
  5550. while true do
  5551. wait()
  5552. if love_mode == true and wing_clock == false then
  5553. for i, v in pairs(mw1:GetChildren()) do
  5554. if v:IsA("Part") then
  5555. v.Transparency = 0.75
  5556. v.BrickColor = v.BrickColor
  5557. v.Material = "Neon"
  5558. end
  5559. end
  5560. for i, v in pairs(mw2:GetChildren()) do
  5561. if v:IsA("Part") then
  5562. v.Transparency = 0.75
  5563. v.BrickColor = v.BrickColor
  5564. v.Material = "Neon"
  5565. end
  5566. end
  5567. for i, v in pairs(m2:GetChildren()) do
  5568. if v:IsA("Part") then
  5569. v.Transparency = 0.75
  5570. v.BrickColor = v.BrickColor
  5571. v.Material = "Neon"
  5572. end
  5573. end
  5574. for i, v in pairs(m:GetChildren()) do
  5575. if v:IsA("Part") then
  5576. v.Transparency = 0.75
  5577. v.BrickColor = v.BrickColor
  5578. v.Material = "Neon"
  5579. end
  5580. end
  5581. for i, v in pairs(m3:GetChildren()) do
  5582. if v:IsA("Part") then
  5583. v.Transparency = 0.75
  5584. v.BrickColor = v.BrickColor
  5585. v.Material = "Neon"
  5586. end
  5587. for i, v in pairs(extrawingmod1:GetChildren()) do
  5588. if v:IsA("Part") then
  5589. v.Transparency = 0.75
  5590. v.BrickColor = v.BrickColor
  5591. v.Material = "Neon"
  5592. end
  5593. end
  5594. for i, v in pairs(extrawingmod2:GetChildren()) do
  5595. if v:IsA("Part") then
  5596. v.Transparency = 0.75
  5597. v.BrickColor = v.BrickColor
  5598. v.Material = "Neon"
  5599. end
  5600. end
  5601. for i, v in pairs(extrawingmod3:GetChildren()) do
  5602. if v:IsA("Part") then
  5603. v.Transparency = 0.75
  5604. v.BrickColor = v.BrickColor
  5605. v.Material = "Neon"
  5606. end
  5607. end
  5608. for i, v in pairs(extrawingmod4:GetChildren()) do
  5609. if v:IsA("Part") then
  5610. v.Transparency = 0.75
  5611. v.BrickColor = v.BrickColor
  5612. v.Material = "Neon"
  5613. end
  5614. end
  5615. end
  5616. end
  5617. end
  5618. end))
  5619.  
  5620. hum.Name = "STARGLITCHER"
  5621.  
  5622. Humanoid.MaxHealth = math.huge
  5623.  
  5624. Humanoid.Health = math.huge
  5625.  
  5626. Instance.new("ForceField", char).Visible = false
  5627. idleanim = 0.4
  5628.  
  5629. ----while true do
  5630. ---- if Editer_mode == true then
  5631. ---- RecolorTextAndRename("Editer", Color3.new(r / 255, g / 255, b / 255), Color3.new(r / 500, g / 500, b / 500))
  5632. ---- end
  5633. ---- if Editer_mode == true and wing_clock == false and clock_mode == false and ModeOfGlitch == 18022547 then
  5634. ---- RecolorTextAndRename("Editer", Color3.new(r / 255, g / 255, b / 255), Color3.new(r / 500, g / 500, b / 500))
  5635. ---- MAINRUINCOLOR = BrickColor.new("White")
  5636. ---- for i, v in pairs(m:GetChildren()) do
  5637. ---- if v:IsA("Part") then
  5638. ---- v.Color = BrickColor.new("Toothpaste")
  5639. ---- end
  5640. ---- end
  5641. ---- for i, v in pairs(m2:GetChildren()) do
  5642. ---- if v:IsA("Part") then
  5643. ---- v.Color = BrickColor.new("Toothpaste")
  5644. ---- end
  5645. ---- end
  5646. ---- for i, v in pairs(m3:GetChildren()) do
  5647. ---- if v:IsA("Part") then
  5648. ---- v.Color = BrickColor.new("Toothpaste")
  5649. ---- end
  5650. ---- end
  5651. ---- for i, v in pairs(mw1:GetChildren()) do
  5652. ---- if v:IsA("Part") then
  5653. ---- v.Color = BrickColor.Random()
  5654. ---- v.Material = "Neon"
  5655. ---- end
  5656. ---- end
  5657. ---- for i, v in pairs(mw2:GetChildren()) do
  5658. ---- if v:IsA("Part") then
  5659. ---- v.Color = Color3.new(r / 255, g / 255, b / 255)
  5660. ---- v.Material = "Neon"
  5661. ---- end
  5662. ---- end
  5663. ---- for i, v in pairs(extrawingmod1:GetChildren()) do
  5664. ---- if v:IsA("Part") then
  5665. ---- v.Transparency = 0
  5666. ---- v.Color = BrickColor.Random()
  5667. ---- v.Material = "Neon"
  5668. ---- end
  5669. ---- end
  5670. ---- for i, v in pairs(extrawingmod2:GetChildren()) do
  5671. ---- if v:IsA("Part") then
  5672. ---- v.Transparency = 0
  5673. ---- v.Color = Color3.new(r / 255, g / 255, b / 255)
  5674. ---- v.Material = "Neon"
  5675. ---- end
  5676. ---- end
  5677. ---- for i, v in pairs(extrawingmod3:GetChildren()) do
  5678. ---- if v:IsA("Part") then
  5679. ---- v.Transparency = 0
  5680. ---- v.BrickColor = BrickColor.Random()
  5681. ---- v.Material = "Neon"
  5682. ---- end
  5683. ---- end
  5684. ---- for i, v in pairs(extrawingmod4:GetChildren()) do
  5685. ---- if v:IsA("Part") then
  5686. ---- v.Transparency = 0
  5687. ---- v.BrickColor = Color3.new(r / 255, g / 255, b / 255)
  5688. ---- v.Material = "Neon"
  5689. ---- end
  5690. ---- end
  5691. ---- end
  5692. ----end
  5693. while true do
  5694. if rainbowmode == true then
  5695. RecolorTextAndRename("StarLight", Color3.new(r / 255, g / 255, b / 255), Color3.new(r / 500, g / 500, b / 500))
  5696. end
  5697. if rainbowmode == true and wing_clock == false and clock_mode == false and ModeOfGlitch == 6127843 then
  5698. RecolorTextAndRename("StarLight", Color3.new(r / 255, g / 255, b / 255), Color3.new(r / 500, g / 500, b / 500))
  5699. MAINRUINCOLOR = BrickColor.new("White")
  5700. for i, v in pairs(m:GetChildren()) do
  5701. if v:IsA("Part") then
  5702. v.Color = Color3.new(r / 255, g / 255, b / 255)
  5703. end
  5704. end
  5705. for i, v in pairs(m2:GetChildren()) do
  5706. if v:IsA("Part") then
  5707. v.Color = Color3.new(r / 255, g / 255, b / 255)
  5708. end
  5709. end
  5710. for i, v in pairs(m3:GetChildren()) do
  5711. if v:IsA("Part") then
  5712. v.Color = Color3.new(r / 255, g / 255, b / 255)
  5713. end
  5714. end
  5715. for i, v in pairs(mw1:GetChildren()) do
  5716. if v:IsA("Part") then
  5717. v.Color = Color3.new(r / 255, g / 255, b / 255)
  5718. v.Material = "Neon"
  5719. end
  5720. end
  5721. for i, v in pairs(mw2:GetChildren()) do
  5722. if v:IsA("Part") then
  5723. v.Color = Color3.new(r / 255, g / 255, b / 255)
  5724. v.Material = "Neon"
  5725. end
  5726. end
  5727. for i, v in pairs(extrawingmod1:GetChildren()) do
  5728. if v:IsA("Part") then
  5729. v.Transparency = 0
  5730. v.Color = Color3.new(r / 255, g / 255, b / 255)
  5731. v.Material = "Neon"
  5732. end
  5733. end
  5734. for i, v in pairs(extrawingmod2:GetChildren()) do
  5735. if v:IsA("Part") then
  5736. v.Transparency = 0
  5737. v.Color = Color3.new(r / 255, g / 255, b / 255)
  5738. v.Material = "Neon"
  5739. end
  5740. end
  5741. for i, v in pairs(extrawingmod3:GetChildren()) do
  5742. if v:IsA("Part") then
  5743. v.Transparency = 0
  5744. v.Color = Color3.new(r / 255, g / 255, b / 255)
  5745. v.Material = "Neon"
  5746. end
  5747. end
  5748. for i, v in pairs(extrawingmod4:GetChildren()) do
  5749. if v:IsA("Part") then
  5750. v.Transparency = 0
  5751. v.Color = Color3.new(r / 255, g / 255, b / 255)
  5752. v.Material = "Neon"
  5753. end
  5754. end
  5755. end
  5756. CameraManager()
  5757. swait()
  5758. lwing1weld.C1 = clerp(lwing1weld.C1, cf(2, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)) * angles(math.rad(2.5 + 5 * math.cos(sine / 32)), math.rad(0), math.rad(6.25 + 5 * math.cos(sine / 32))), 0.3)
  5759. lwing2weld.C1 = clerp(lwing2weld.C1, cf(3, 1, 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 + 3.5 * math.cos(sine / 32))), 0.3)
  5760. lwing3weld.C1 = clerp(lwing3weld.C1, cf(3.5, 2, 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(18.75 + 5 * math.cos(sine / 32))), 0.3)
  5761. lwing4weld.C1 = clerp(lwing4weld.C1, cf(4, 3, 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(25 + 6.25 * math.cos(sine / 32))), 0.3)
  5762. lwing5weld.C1 = clerp(lwing5weld.C1, cf(4.5, 4, 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(31.25 + 7.5 * math.cos(sine / 32))), 0.3)
  5763. lwing6weld.C1 = clerp(lwing6weld.C1, cf(5, 5, 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(37.5 + 8.75 * math.cos(sine / 32))), 0.3)
  5764. --edit left wing here--
  5765. -- lwing7weld.C1 = clerp(lwing7weld.C1, cf(5.5, 6, 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(43.75 + 10 * math.cos(sine / 32))), 0.3)
  5766. -- lwing8weld.C1 = clerp(lwing8weld.C1, cf(6, 7, 0) * angles(math.rad(0), math.rad(0), math.rad(0)) * angles(math.rad(35 + 40 * math.cos(sine / 32)), math.rad(0), math.rad(50 + 11.25 * math.cos(sine / 32))), 0.3)
  5767. -- lwing9weld.C1 = clerp(lwing9weld.C1, cf(6.5, 8, 0) * angles(math.rad(0), math.rad(0), math.rad(0)) * angles(math.rad(40 + 45 * math.cos(sine / 32)), math.rad(0), math.rad(56.25 + 12.5 * math.cos(sine / 32))), 0.3)
  5768. -- lwing10weld.C1 = clerp(lwing10weld.C1, cf(7, 9, 0) * angles(math.rad(0), math.rad(0), math.rad(0)) * angles(math.rad(45 + 50 * math.cos(sine / 32)), math.rad(0), math.rad(37.5 + 13.75 * math.cos(sine / 32))), 0.3)
  5769. --end of edit --
  5770. rwing1weld.C1 = clerp(rwing1weld.C1, cf(-2, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)) * angles(math.rad(2.5 + 5 * math.cos(sine / 32)), math.rad(0), math.rad(-6.25 - 5 * math.cos(sine / 32))), 0.3)
  5771. rwing2weld.C1 = clerp(rwing2weld.C1, cf(-3, 1, 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 - 3.5 * math.cos(sine / 32))), 0.3)
  5772. rwing3weld.C1 = clerp(rwing3weld.C1, cf(-3.5, 2, 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(-18.75 - 5 * math.cos(sine / 32))), 0.3)
  5773. rwing4weld.C1 = clerp(rwing4weld.C1, cf(-4, 3, 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(-25 - 6.25 * math.cos(sine / 32))), 0.3)
  5774. rwing5weld.C1 = clerp(rwing5weld.C1, cf(-4.5, 4, 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(-31.25 - 7.5 * math.cos(sine / 32))), 0.3)
  5775. rwing6weld.C1 = clerp(rwing6weld.C1, cf(-5, 5, 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(-37.5 - 8.75 * math.cos(sine / 32))), 0.3)
  5776. --edit right wing--
  5777. -- rwing7weld.C1 = clerp(rwing7weld.C1, cf(-5.5, -6, 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(-43.75 - 10 * math.cos(sine / 32))), 0.3)
  5778. -- rwing8weld.C1 = clerp(rwing8weld.C1, cf(-6, -7, 0) * angles(math.rad(0), math.rad(0), math.rad(0)) * angles(math.rad(35 + 40 * math.cos(sine / 32)), math.rad(0), math.rad(-50 - 11.25 * math.cos(sine / 32))), 0.3)
  5779. -- rwing9weld.C1 = clerp(rwing9weld.C1, cf(-6.6, -8, 0) * angles(math.rad(0), math.rad(0), math.rad(0)) * angles(math.rad(40 + 45 * math.cos(sine / 32)), math.rad(0), math.rad(-56.25 - 12.5 * math.cos(sine / 32))), 0.3)
  5780. -- rwing10weld.C1 = clerp(rwing10weld.C1, cf(-7, -9, 0) * angles(math.rad(0), math.rad(0), math.rad(0)) * angles(math.rad(45 + 50 * math.cos(sine / 32)), math.rad(0), math.rad(-37.5 - 13.75 * math.cos(sine / 32))), 0.3)
  5781. --end of edit--
  5782. sine = sine + change
  5783. local torvel = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude
  5784. local velderp = RootPart.Velocity.y
  5785. hitfloor, posfloor = rayCast(RootPart.Position, CFrame.new(RootPart.Position, RootPart.Position - Vector3.new(0, 1, 0)).lookVector, 4, Character)
  5786. if equipped == true or equipped == false then
  5787. if attack == false then
  5788. idle = idle + 1
  5789. else
  5790. idle = 0
  5791. end
  5792. if not (idle >= 500) or attack == false then
  5793. end
  5794. if RootPart.Velocity.y > 1 and hitfloor == nil then
  5795. Anim = "Jump"
  5796. if attack == false then
  5797. 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)
  5798. 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)
  5799. 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)
  5800. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(-2.5), math.rad(0), math.rad(0)), 0.1)
  5801. 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)
  5802. 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)
  5803. end
  5804. elseif RootPart.Velocity.y < -1 and hitfloor == nil then
  5805. Anim = "Fall"
  5806. if attack == false then
  5807. 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)
  5808. 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)
  5809. 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)
  5810. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(0), math.rad(0), math.rad(0)), 0.1)
  5811. 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)
  5812. 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)
  5813. end
  5814. elseif torvel < 1 and hitfloor ~= nil then
  5815. Anim = "Idle"
  5816. if attack == false then
  5817. if ModeOfGlitch == 1 then
  5818. 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)
  5819. 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)
  5820. 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)
  5821. 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)
  5822. 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)
  5823. LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * angles(math.rad(160), math.rad(0), math.rad(25)), 0.1)
  5824. elseif ModeOfGlitch == 2 or ModeOfGlitch == 6127843 then
  5825. 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)
  5826. 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)
  5827. 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)
  5828. 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)
  5829. 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)
  5830. 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)
  5831. elseif ModeOfGlitch == 3 then
  5832. 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)
  5833. 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)
  5834. 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)
  5835. 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)
  5836. 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)
  5837. LW.C0 = clerp(LW.C0, cf(-1.5, 0.75, 0) * angles(math.rad(170), math.rad(-20), math.rad(20)), 0.1)
  5838. elseif ModeOfGlitch == 4 then
  5839. 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)
  5840. 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)
  5841. 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)
  5842. 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)
  5843. 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)
  5844. 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)
  5845. elseif ModeOfGlitch == 5 or ModeOfGlitch == 2547 then
  5846. 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)
  5847. 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)
  5848. 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)
  5849. 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)
  5850. 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)
  5851. 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)
  5852. elseif ModeOfGlitch == 6 or ModeOfGlitch == 1000000 or ModeOfGlitch == 18022547 then
  5853. 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)
  5854. 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)
  5855. 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)
  5856. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(15), math.rad(0), math.rad(0)), 0.1)
  5857. 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)
  5858. 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)
  5859. end
  5860. end
  5861. elseif torvel > 2 and torvel < 22 and hitfloor ~= nil then
  5862. Anim = "Walk"
  5863. if attack == false then
  5864. if ModeOfGlitch == 1 then
  5865. 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)
  5866. 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)
  5867. 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)
  5868. 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)
  5869. 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)
  5870. LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * angles(math.rad(160), math.rad(0), math.rad(25)), 0.1)
  5871. elseif ModeOfGlitch == 4 then
  5872. 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)
  5873. 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)
  5874. 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)
  5875. 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)
  5876. 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)
  5877. 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)
  5878. elseif ModeOfGlitch ~= 1 or ModeOfGlitch ~= 4 then
  5879. 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)
  5880. 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)
  5881. 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)
  5882. 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)
  5883. 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)
  5884. 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)
  5885. end
  5886. end
  5887. elseif torvel >= 22 and hitfloor ~= nil then
  5888. Anim = "Run"
  5889. if attack == false then
  5890. if ModeOfGlitch ~= 6 and ModeOfGlitch ~= 1000000 or ModeOfGlitch ~=18022547 or ModeOfGlitch ~=2547 then
  5891. 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)
  5892. 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)
  5893. 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)
  5894. 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)
  5895. 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)
  5896. 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)
  5897. elseif ModeOfGlitch == 6 or ModeOfGlitch == 1000000 or ModeOfGlitch == 18022547 or ModeOfGlitch == 2547 then
  5898. 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)
  5899. 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)
  5900. 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)
  5901. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(-20), math.rad(0), math.rad(0)), 0.2)
  5902. 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)
  5903. 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)
  5904. end
  5905. end
  5906. end
  5907. end
  5908. end
  5909. print("update log")
  5910. print("12 may 2018")
  5911. print("add new mode name lover key j")
  5912. print("close extarwing 3 and 4")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement