Advertisement
rcubed1003

star glitcher fe + gun

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