Advertisement
kostik228

fe star

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