Advertisement
Fullgamer309

sss

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