Advertisement
kostik228

fe star

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