Advertisement
ManOhMan

Untitled

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