Advertisement
NoHackJustStevePlayz

really big test

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