Advertisement
NoHackJustStevePlayz

StAr GlItChEr

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