Advertisement
ScriptsQP

Sirius

Jun 6th, 2024
2,554
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 185.96 KB | None | 0 0
  1. --[[
  2.  
  3. Sirius
  4.  
  5. © 2024 Sirius
  6. All Rights Reserved.
  7.  
  8. --]]
  9.  
  10.  
  11. --[[
  12.  
  13. Sirius Pre-Hyperion Todo List
  14.  
  15. High Priority
  16. - Invisible, Godmode
  17. - All Scripts buttons and Universal scripts
  18. - Chat Spam Detection
  19. - Custom Script Prompts
  20. - Player Kill, Spectate and ESP via Playerlist
  21. - http.request support for Sirius Intelligent HTTP Interception
  22. - Performance Improvements to Roblox itself
  23.  
  24. Moderate Priority
  25. - Spectate Animation, like GTA serverhop, tween to high in the sky, then tween to other player's head
  26. - Chat Spy Tracking: Follows who they're whispering to based on original message
  27. - Starlight
  28. - Chatlogs
  29. - GTA Serverhop
  30. - Anti-Spam (chat) formula, based on text length, caps, emojis etc.
  31. - Reduce any form of detection of Sirius
  32. - Automated lowering of graphics on lower FPS, ensure no false positives
  33.  
  34. Potential Future Setting Options
  35. - Block entire domain or just the specific page in the Sirius Intelligent Flow Interception. Do this on case by case, e.g blocked = {"link.com", true} - true being whether its the domain or not
  36. - Serverhop type (default/gta)
  37. - Hook Specific Functions to reduce the need for external scripts
  38.  
  39. --]]
  40.  
  41. -- Ensure the game is loaded
  42. if not game:IsLoaded() then
  43. game.Loaded:Wait()
  44. end
  45.  
  46. -- Check License Tier
  47. local Pro = true -- We're open sourced now!
  48.  
  49. -- Create Variables for Roblox Services
  50. local coreGui = game:GetService("CoreGui")
  51. local httpService = game:GetService("HttpService")
  52. local lighting = game:GetService("Lighting")
  53. local players = game:GetService("Players")
  54. local replicatedStorage = game:GetService("ReplicatedStorage")
  55. local runService = game:GetService("RunService")
  56. local guiService = game:GetService("GuiService")
  57. local statsService = game:GetService("Stats")
  58. local starterGui = game:GetService("StarterGui")
  59. local teleportService = game:GetService("TeleportService")
  60. local tweenService = game:GetService("TweenService")
  61. local userInputService = game:GetService('UserInputService')
  62. local gameSettings = UserSettings():GetService("UserGameSettings")
  63.  
  64. -- Variables
  65. local camera = workspace.CurrentCamera
  66. local getMessage = replicatedStorage:WaitForChild("DefaultChatSystemChatEvents", 1) and replicatedStorage.DefaultChatSystemChatEvents:WaitForChild("OnMessageDoneFiltering", 1)
  67. local localPlayer = players.LocalPlayer
  68. local notifications = {}
  69. local friendsCooldown = 0
  70. local mouse = localPlayer:GetMouse()
  71. local promptedDisconnected = false
  72. local smartBarOpen = false
  73. local debounce = false
  74. local searchingForPlayer = false
  75. local musicQueue = {}
  76. local currentAudio
  77. local lowerName = localPlayer.Name:lower()
  78. local lowerDisplayName = localPlayer.DisplayName:lower()
  79. local placeId = game.PlaceId
  80. local jobId = game.JobId
  81. local checkingForKey = false
  82. local originalTextValues = {}
  83. local creatorId = game.CreatorId
  84. local noclipDefaults = {}
  85. local movers = {}
  86. local creatorType = game.CreatorType
  87. local espContainer = Instance.new("Folder", gethui and gethui() or coreGui)
  88. local oldVolume = gameSettings.MasterVolume
  89.  
  90. -- Configurable Core Values
  91. local siriusValues = {
  92. siriusVersion = "1.24",
  93. siriusName = "Sirius",
  94. releaseType = "Stable",
  95. siriusFolder = "Sirius",
  96. settingsFile = "settings.srs",
  97. interfaceAsset = 14183548964,
  98. cdn = "https://cdn.sirius.menu/SIRIUS-SCRIPT-CORE-ASSETS/",
  99. icons = "https://cdn.sirius.menu/SIRIUS-SCRIPT-CORE-ASSETS/Icons/",
  100. enableExperienceSync = false, -- Games are no longer available due to a lack of whitelisting, they may be made open source at a later date, however they are patched as of now and are useless to the end user. Turning this on may introduce "fake functionality".
  101. games = {
  102. BreakingPoint = {
  103. name = "Breaking Point",
  104. description = "Players are seated around a table. Their only goal? To be the last one standing. Execute this script to gain an unfair advantage.",
  105. id = 648362523,
  106. enabled = true,
  107. raw = "BreakingPoint",
  108. minimumTier = "Free",
  109. },
  110. MurderMystery2 = {
  111. name = "Murder Mystery 2",
  112. description = "A murder has occured, will you be the one to find the murderer, or kill your next victim? Execute this script to gain an unfair advantage.",
  113. id = 142823291,
  114. enabled = true,
  115. raw = "MurderMystery2",
  116. minimumTier = "Free",
  117. },
  118. TowerOfHell = {
  119. name = "Tower Of Hell",
  120. description = "A difficult popular parkouring game, with random levels and modifiers. Execute this script to gain an unfair advantage.",
  121. id = 1962086868,
  122. enabled = true,
  123. raw = "TowerOfHell",
  124. minimumTier = "Free",
  125. },
  126. Strucid = {
  127. name = "Strucid",
  128. description = "Fight friends and enemies in Strucid with building mechanics! Execute this script to gain an unfair advantage.",
  129. id = 2377868063,
  130. enabled = true,
  131. raw = "Strucid",
  132. minimumTier = "Free",
  133. },
  134. PhantomForces = {
  135. name = "Phantom Forces",
  136. description = "One of the most popular FPS shooters from the team at StyLiS Studios. Execute this script to gain an unfair advantage.",
  137. id = 292439477,
  138. enabled = true,
  139. raw = "PhantomForces",
  140. minimumTier = "Pro",
  141. },
  142. },
  143. rawTree = "https://raw.githubusercontent.com/SiriusSoftwareLtd/Sirius/Sirius/games/",
  144. neonModule = "https://raw.githubusercontent.com/shlexware/Sirius/request/library/neon.lua",
  145. senseRaw = "https://raw.githubusercontent.com/shlexware/Sirius/request/library/sense/source.lua",
  146. executors = {"synapse x", "script-ware", "krnl", "scriptware", "comet", "valyse", "fluxus", "electron", "hydrogen"},
  147. disconnectTypes = { {"ban", {"ban", "perm"}}, {"network", {"internet connection", "network"}} },
  148. nameGeneration = {
  149. adjectives = {"Cool", "Awesome", "Epic", "Ninja", "Super", "Mystic", "Swift", "Golden", "Diamond", "Silver", "Mint", "Roblox", "Amazing"},
  150. nouns = {"Player", "Gamer", "Master", "Legend", "Hero", "Ninja", "Wizard", "Champion", "Warrior", "Sorcerer"}
  151. },
  152. administratorRoles = {"mod","admin","staff","dev","founder","owner","supervis","manager","management","executive","president","chairman","chairwoman","chairperson","director"},
  153. transparencyProperties = {
  154. UIStroke = {'Transparency'},
  155. Frame = {'BackgroundTransparency'},
  156. TextButton = {'BackgroundTransparency', 'TextTransparency'},
  157. TextLabel = {'BackgroundTransparency', 'TextTransparency'},
  158. TextBox = {'BackgroundTransparency', 'TextTransparency'},
  159. ImageLabel = {'BackgroundTransparency', 'ImageTransparency'},
  160. ImageButton = {'BackgroundTransparency', 'ImageTransparency'},
  161. ScrollingFrame = {'BackgroundTransparency', 'ScrollBarImageTransparency'}
  162. },
  163. buttonPositions = {Character = UDim2.new(0.5, -155, 1, -29), Scripts = UDim2.new(0.5, -122, 1, -29), Playerlist = UDim2.new(0.5, -68, 1, -29)},
  164. chatSpy = {
  165. enabled = true,
  166. visual = {
  167. Color = Color3.fromRGB(26, 148, 255),
  168. Font = Enum.Font.SourceSansBold,
  169. TextSize = 18
  170. },
  171. },
  172. pingProfile = {
  173. recentPings = {},
  174. adaptiveBaselinePings = {},
  175. pingNotificationCooldown = 0,
  176. maxSamples = 12, -- max num of recent pings stored
  177. spikeThreshold = 1.75, -- high Ping in comparison to average ping (e.g 100 avg would be high at 150)
  178. adaptiveBaselineSamples = 30, -- how many samples Sirius takes before deciding on a fixed high ping value
  179. adaptiveHighPingThreshold = 120 -- default value
  180. },
  181. frameProfile = {
  182. frameNotificationCooldown = 0,
  183. fpsQueueSize = 10,
  184. lowFPSThreshold = 20, -- what's low fps!??!?!
  185. totalFPS = 0,
  186. fpsQueue = {},
  187. },
  188. actions = {
  189. {
  190. name = "Noclip",
  191. images = {14385986465, 9134787693},
  192. color = Color3.fromRGB(0, 170, 127),
  193. enabled = false,
  194. rotateWhileEnabled = false,
  195. callback = function() end,
  196. },
  197. {
  198. name = "Flight",
  199. images = {9134755504, 14385992605},
  200. color = Color3.fromRGB(170, 37, 46),
  201. enabled = false,
  202. rotateWhileEnabled = false,
  203. callback = function(value)
  204. local character = localPlayer.Character
  205. local humanoid = character and character:FindFirstChildOfClass("Humanoid")
  206. if humanoid then
  207. humanoid.PlatformStand = value
  208. end
  209. end,
  210. },
  211. {
  212. name = "Refresh",
  213. images = {9134761478, 9134761478},
  214. color = Color3.fromRGB(61, 179, 98),
  215. enabled = false,
  216. rotateWhileEnabled = true,
  217. disableAfter = 3,
  218. callback = function()
  219. task.spawn(function()
  220. local character = localPlayer.Character
  221. if character then
  222. local cframe = character:GetPivot()
  223. local humanoid = character:FindFirstChildOfClass("Humanoid")
  224. if humanoid then
  225. humanoid:ChangeState(Enum.HumanoidStateType.Dead)
  226. end
  227. character = localPlayer.CharacterAdded:Wait()
  228. task.defer(character.PivotTo, character, cframe)
  229. end
  230. end)
  231. end,
  232. },
  233. {
  234. name = "Respawn",
  235. images = {9134762943, 9134762943},
  236. color = Color3.fromRGB(49, 88, 193),
  237. enabled = false,
  238. rotateWhileEnabled = true,
  239. disableAfter = 2,
  240. callback = function()
  241. local character = localPlayer.Character
  242. local humanoid = character and character:FindFirstChildOfClass("Humanoid")
  243. if humanoid then
  244. humanoid:ChangeState(Enum.HumanoidStateType.Dead)
  245. end
  246. end,
  247. },
  248. {
  249. name = "Invulnerability",
  250. images = {9134765994, 14386216487},
  251. color = Color3.fromRGB(193, 46, 90),
  252. enabled = false,
  253. rotateWhileEnabled = false,
  254. callback = function() end,
  255. },
  256. {
  257. name = "Fling",
  258. images = {9134785384, 14386226155},
  259. color = Color3.fromRGB(184, 85, 61),
  260. enabled = false,
  261. rotateWhileEnabled = true,
  262. callback = function(value)
  263. local character = localPlayer.Character
  264. local primaryPart = character and character.PrimaryPart
  265. if primaryPart then
  266. for _, part in ipairs(character:GetDescendants()) do
  267. if part:IsA("BasePart") then
  268. part.Massless = value
  269. part.CustomPhysicalProperties = PhysicalProperties.new(value and math.huge or 0.7, 0.3, 0.5)
  270. end
  271. end
  272.  
  273. primaryPart.Anchored = true
  274. primaryPart.AssemblyLinearVelocity = Vector3.zero
  275. primaryPart.AssemblyAngularVelocity = Vector3.zero
  276.  
  277. movers[3].Parent = value and primaryPart or nil
  278.  
  279. task.delay(0.5, function() primaryPart.Anchored = false end)
  280. end
  281. end,
  282. },
  283. {
  284. name = "Extrasensory Perception",
  285. images = {9134780101, 14386232387},
  286. color = Color3.fromRGB(214, 182, 19),
  287. enabled = false,
  288. rotateWhileEnabled = false,
  289. callback = function(value)
  290. for _, highlight in ipairs(espContainer:GetChildren()) do
  291. highlight.Enabled = value
  292. end
  293. end,
  294. },
  295. {
  296. name = "Night and Day",
  297. images = {9134778004, 10137794784},
  298. color = Color3.fromRGB(102, 75, 190),
  299. enabled = false,
  300. rotateWhileEnabled = false,
  301. callback = function(value)
  302. tweenService:Create(lighting, TweenInfo.new(0.5), { ClockTime = value and 12 or 24 }):Play()
  303. end,
  304. },
  305. {
  306. name = "Global Audio",
  307. images = {9134774810, 14386246782},
  308. color = Color3.fromRGB(202, 103, 58),
  309. enabled = false,
  310. rotateWhileEnabled = false,
  311. callback = function(value)
  312. if value then
  313. oldVolume = gameSettings.MasterVolume
  314. gameSettings.MasterVolume = 0
  315. else
  316. gameSettings.MasterVolume = oldVolume
  317. end
  318. end,
  319. },
  320. {
  321. name = "Visibility",
  322. images = {14386256326, 9134770786},
  323. color = Color3.fromRGB(62, 94, 170),
  324. enabled = false,
  325. rotateWhileEnabled = false,
  326. callback = function() end,
  327. },
  328. },
  329. sliders = {
  330. {
  331. name = "player speed",
  332. color = Color3.fromRGB(44, 153, 93),
  333. values = {0, 300},
  334. default = 16,
  335. value = 16,
  336. active = false,
  337. callback = function(value)
  338. local character = localPlayer.Character
  339. local humanoid = character and character:FindFirstChildOfClass("Humanoid")
  340. if character then
  341. humanoid.WalkSpeed = value
  342. end
  343. end,
  344. },
  345. {
  346. name = "jump power",
  347. color = Color3.fromRGB(59, 126, 184),
  348. values = {0, 350},
  349. default = 50,
  350. value = 16,
  351. active = false,
  352. callback = function(value)
  353. local character = localPlayer.Character
  354. local humanoid = character and character:FindFirstChildOfClass("Humanoid")
  355. if character then
  356. if humanoid.UseJumpPower then
  357. humanoid.JumpPower = value
  358. else
  359. humanoid.JumpHeight = value
  360. end
  361. end
  362. end,
  363. },
  364. {
  365. name = "flight speed",
  366. color = Color3.fromRGB(177, 45, 45),
  367. values = {1, 25},
  368. default = 3,
  369. value = 3,
  370. active = false,
  371. callback = function(value) end,
  372. },
  373. {
  374. name = "field of view",
  375. color = Color3.fromRGB(198, 178, 75),
  376. values = {45, 120},
  377. default = 70,
  378. value = 16,
  379. active = false,
  380. callback = function(value)
  381. tweenService:Create(camera, TweenInfo.new(0.6, Enum.EasingStyle.Exponential), { FieldOfView = value }):Play()
  382. end,
  383. },
  384. }
  385. }
  386.  
  387. local siriusSettings = {
  388. {
  389. name = 'General',
  390. description = 'The general settings for Sirius, from simple to unique features.',
  391. color = Color3.new(0.117647, 0.490196, 0.72549),
  392. minimumLicense = 'Free',
  393. categorySettings = {
  394. {
  395. name = 'Anonymous Client',
  396. description = 'Randomise your username in real-time in any CoreGui parented interface, including Sirius. You will still appear as your actual name to others in-game. This setting can be performance intensive.',
  397. settingType = 'Boolean',
  398. current = false,
  399.  
  400. id = 'anonmode'
  401. },
  402. {
  403. name = 'Chat Spy',
  404. description = 'This will only work on the legacy Roblox chat system. Sirius will display whispers usually hidden from you in the chat box.',
  405. settingType = 'Boolean',
  406. current = true,
  407.  
  408. id = 'chatspy'
  409. },
  410. {
  411. name = 'Hide Toggle Button',
  412. description = 'This will remove the option to open the smartBar with the toggle button.',
  413. settingType = 'Boolean',
  414. current = false,
  415.  
  416. id = 'hidetoggle'
  417. },
  418. {
  419. name = 'Now Playing Notifications',
  420. description = 'When active, Sirius will notify you when the next song in your Music queue plays.',
  421. settingType = 'Boolean',
  422. current = true,
  423.  
  424. id = 'nowplaying'
  425. },
  426. {
  427. name = 'Friend Notifications',
  428. settingType = 'Boolean',
  429. current = true,
  430.  
  431. id = 'friendnotifs'
  432. },
  433. {
  434. name = 'Load Hidden',
  435. settingType = 'Boolean',
  436. current = false,
  437.  
  438. id = 'loadhidden'
  439. },
  440. {
  441. name = 'Startup Sound Effect',
  442. settingType = 'Boolean',
  443. current = true,
  444.  
  445. id = 'startupsound'
  446. },
  447. {
  448. name = 'Anti Idle',
  449. description = 'Remove all callbacks and events linked to the LocalPlayer Idled state. This may prompt detection from Adonis or similar anti-cheats.',
  450. settingType = 'Boolean',
  451. current = true,
  452.  
  453. id = 'antiidle'
  454. },
  455. {
  456. name = 'Client-Based Anti Kick',
  457. description = 'Cancel any kick request involving you sent by the client. This may prompt detection from Adonis or similar anti-cheats. You will need to rejoin and re-run Sirius to toggle.',
  458. settingType = 'Boolean',
  459. current = false,
  460.  
  461. id = 'antikick'
  462. },
  463. {
  464. name = 'Muffle audio while unfocused',
  465. settingType = 'Boolean',
  466. current = true,
  467.  
  468. id = 'muffleunfocused'
  469. },
  470. }
  471. },
  472. {
  473. name = 'Keybinds',
  474. description = 'Assign keybinds to actions or change keybinds such as the one to open/close Sirius.',
  475. color = Color3.new(0.0941176, 0.686275, 0.509804),
  476. minimumLicense = 'Free',
  477. categorySettings = {
  478. {
  479. name = 'Toggle smartBar',
  480. settingType = 'Key',
  481. current = "K",
  482. id = 'smartbar'
  483. },
  484. {
  485. name = 'Open ScriptSearch',
  486. settingType = 'Key',
  487. current = "T",
  488. id = 'scriptsearch'
  489. },
  490. {
  491. name = 'NoClip',
  492. settingType = 'Key',
  493. current = nil,
  494. id = 'noclip',
  495. callback = function()
  496. local noclip = siriusValues.actions[1]
  497. noclip.enabled = not noclip.enabled
  498. noclip.callback(noclip.enabled)
  499. end
  500. },
  501. {
  502. name = 'Flight',
  503. settingType = 'Key',
  504. current = nil,
  505. id = 'flight',
  506. callback = function()
  507. local flight = siriusValues.actions[2]
  508. flight.enabled = not flight.enabled
  509. flight.callback(flight.enabled)
  510. end
  511. },
  512. {
  513. name = 'Refresh',
  514. settingType = 'Key',
  515. current = nil,
  516. id = 'refresh',
  517. callback = function()
  518. local refresh = siriusValues.actions[3]
  519. if not refresh.enabled then
  520. refresh.enabled = true
  521. refresh.callback()
  522. end
  523. end
  524. },
  525. {
  526. name = 'Respawn',
  527. settingType = 'Key',
  528. current = nil,
  529. id = 'respawn',
  530. callback = function()
  531. local respawn = siriusValues.actions[4]
  532. if not respawn.enabled then
  533. respawn.enabled = true
  534. respawn.callback()
  535. end
  536. end
  537. },
  538. {
  539. name = 'Invulnerability',
  540. settingType = 'Key',
  541. current = nil,
  542. id = 'invulnerability',
  543. callback = function()
  544. local invulnerability = siriusValues.actions[5]
  545. invulnerability.enabled = not invulnerability.enabled
  546. invulnerability.callback(invulnerability.enabled)
  547. end
  548. },
  549. {
  550. name = 'Fling',
  551. settingType = 'Key',
  552. current = nil,
  553. id = 'fling',
  554. callback = function()
  555. local fling = siriusValues.actions[6]
  556. fling.enabled = not fling.enabled
  557. fling.callback(fling.enabled)
  558. end
  559. },
  560. {
  561. name = 'ESP',
  562. settingType = 'Key',
  563. current = nil,
  564. id = 'esp',
  565. callback = function()
  566. local esp = siriusValues.actions[7]
  567. esp.enabled = not esp.enabled
  568. esp.callback(esp.enabled)
  569. end
  570. },
  571. {
  572. name = 'Night and Day',
  573. settingType = 'Key',
  574. current = nil,
  575. id = 'nightandday',
  576. callback = function()
  577. local nightandday = siriusValues.actions[8]
  578. nightandday.enabled = not nightandday.enabled
  579. nightandday.callback(nightandday.enabled)
  580. end
  581. },
  582. {
  583. name = 'Global Audio',
  584. settingType = 'Key',
  585. current = nil,
  586. id = 'globalaudio',
  587. callback = function()
  588. local globalaudio = siriusValues.actions[9]
  589. globalaudio.enabled = not globalaudio.enabled
  590. globalaudio.callback(globalaudio.enabled)
  591. end
  592. },
  593. {
  594. name = 'Visibility',
  595. settingType = 'Key',
  596. current = nil,
  597. id = 'visibility',
  598. callback = function()
  599. local visibility = siriusValues.actions[10]
  600. visibility.enabled = not visibility.enabled
  601. visibility.callback(visibility.enabled)
  602. end
  603. },
  604. }
  605. },
  606. {
  607. name = 'Performance',
  608. description = 'Tweak and test your performance settings for Roblox in Sirius.',
  609. color = Color3.new(1, 0.376471, 0.168627),
  610. minimumLicense = 'Free',
  611. categorySettings = {
  612. {
  613. name = 'Artificial FPS Limit',
  614. description = 'Sirius will automatically set your FPS to this number when you are tabbed-in to Roblox.',
  615. settingType = 'Number',
  616. values = {20, 5000},
  617. current = 240,
  618.  
  619. id = 'fpscap'
  620. },
  621. {
  622. name = 'Limit FPS while unfocused',
  623. description = 'Sirius will automatically set your FPS to 60 when you tab-out or unfocus from Roblox.',
  624. settingType = 'Boolean', -- number for the cap below!! with min and max val
  625. current = true,
  626.  
  627. id = 'fpsunfocused'
  628. },
  629. {
  630. name = 'Adaptive Latency Warning',
  631. description = 'Sirius will check your average latency in the background and notify you if your current latency significantly goes above your average latency.',
  632. settingType = 'Boolean',
  633. current = true,
  634.  
  635. id = 'latencynotif'
  636. },
  637. {
  638. name = 'Adaptive Performance Warning',
  639. description = 'Sirius will check your average FPS in the background and notify you if your current FPS goes below a specific number.',
  640. settingType = 'Boolean',
  641. current = true,
  642.  
  643. id = 'fpsnotif'
  644. },
  645. }
  646. },
  647. {
  648. name = 'Detections',
  649. description = 'Sirius detects and prevents anything malicious or possibly harmful to your wellbeing.',
  650. color = Color3.new(0.705882, 0, 0),
  651. minimumLicense = 'Free',
  652. categorySettings = {
  653. {
  654. name = 'Spatial Shield',
  655. description = 'Suppress loud sounds played from any audio source in-game, in real-time with Spatial Shield.',
  656. settingType = 'Boolean',
  657. minimumLicense = 'Pro',
  658. current = true,
  659.  
  660. id = 'spatialshield'
  661. },
  662. {
  663. name = 'Spatial Shield Threshold',
  664. description = 'How loud a sound needs to be to be suppressed.',
  665. settingType = 'Number',
  666. minimumLicense = 'Pro',
  667. values = {100, 1000},
  668. current = 300,
  669.  
  670. id = 'spatialshieldthreshold'
  671. },
  672. {
  673. name = 'Moderator Detection',
  674. description = 'Be notified whenever Sirius detects a player joins your session that could be a game moderator.',
  675. settingType = 'Boolean',
  676. minimumLicense = 'Pro',
  677. current = true,
  678.  
  679. id = 'moddetection'
  680. },
  681. {
  682. name = 'Intelligent HTTP Interception',
  683. description = 'Block external HTTP/HTTPS requests from being sent/recieved and ask you before allowing it to run.',
  684. settingType = 'Boolean',
  685. minimumLicense = 'Essential',
  686. current = true,
  687.  
  688. id = 'intflowintercept'
  689. },
  690. {
  691. name = 'Intelligent Clipboard Interception',
  692. description = 'Block your clipboard from being set and ask you before allowing it to set your clipboard.',
  693. settingType = 'Boolean',
  694. minimumLicense = 'Essential',
  695. current = true,
  696.  
  697. id = 'intflowinterceptclip'
  698. },
  699. },
  700. },
  701. {
  702. name = 'Logging',
  703. description = 'Send logs to your specified webhook URL of things like player joins and leaves and messages.',
  704. color = Color3.new(0.905882, 0.780392, 0.0666667),
  705. minimumLicense = 'Free',
  706. categorySettings = {
  707. {
  708. name = 'Log Messages',
  709. description = 'Log messages sent by any player to your webhook.',
  710. settingType = 'Boolean',
  711. current = false,
  712.  
  713. id = 'logmsg'
  714. },
  715. {
  716. name = 'Message Webhook URL',
  717. description = 'Discord Webhook URL',
  718. settingType = 'Input',
  719. current = 'No Webhook',
  720.  
  721. id = 'logmsgurl'
  722. },
  723. {
  724. name = 'Log PlayerAdded and PlayerRemoving',
  725. description = 'Log whenever any player leaves or joins your session.',
  726. settingType = 'Boolean',
  727. current = false,
  728.  
  729. id = 'logplrjoinleave'
  730. },
  731. {
  732. name = 'Player Added and Removing Webhook URL',
  733. description = 'Discord Webhook URL',
  734. settingType = 'Input',
  735. current = 'No Webhook',
  736.  
  737. id = 'logplrjoinleaveurl'
  738. },
  739. }
  740. },
  741. }
  742.  
  743. -- Generate random username
  744. local randomAdjective = siriusValues.nameGeneration.adjectives[math.random(1, #siriusValues.nameGeneration.adjectives)]
  745. local randomNoun = siriusValues.nameGeneration.nouns[math.random(1, #siriusValues.nameGeneration.nouns)]
  746. local randomNumber = math.random(100, 3999) -- You can customize the range
  747. local randomUsername = randomAdjective .. randomNoun .. randomNumber
  748.  
  749. -- Initialise Sirius Client Interface
  750. local guiParent = gethui and gethui() or coreGui
  751. local sirius = guiParent:FindFirstChild("Sirius")
  752. if sirius then
  753. sirius:Destroy()
  754. end
  755.  
  756. local UI = game:GetObjects('rbxassetid://'..siriusValues.interfaceAsset)[1]
  757. UI.Name = siriusValues.siriusName
  758. UI.Parent = guiParent
  759. UI.Enabled = false
  760.  
  761. -- Create Variables for Interface Elements
  762. local characterPanel = UI.Character
  763. local customScriptPrompt = UI.CustomScriptPrompt
  764. local securityPrompt = UI.SecurityPrompt
  765. local disconnectedPrompt = UI.Disconnected
  766. local gameDetectionPrompt = UI.GameDetection
  767. local homeContainer = UI.Home
  768. local moderatorDetectionPrompt = UI.ModeratorDetectionPrompt
  769. local musicPanel = UI.Music
  770. local notificationContainer = UI.Notifications
  771. local playerlistPanel = UI.Playerlist
  772. local scriptSearch = UI.ScriptSearch
  773. local scriptsPanel = UI.Scripts
  774. local settingsPanel = UI.Settings
  775. local smartBar = UI.SmartBar
  776. local toggle = UI.Toggle
  777. local starlight = UI.Starlight
  778. local toastsContainer = UI.Toasts
  779.  
  780. -- Interface Caching
  781. if not getgenv().cachedInGameUI then getgenv().cachedInGameUI = {} end
  782. if not getgenv().cachedCoreUI then getgenv().cachedCoreUI = {} end
  783.  
  784. -- Malicious Behavior Prevention
  785. local indexSetClipboard = "setclipboard"
  786. local originalSetClipboard = getgenv()[indexSetClipboard]
  787.  
  788. local index = http_request and "http_request" or "request"
  789. local originalRequest = getgenv()[index]
  790.  
  791. -- put this into siriusValues, like the fps and ping shit
  792. local suppressedSounds = {}
  793. local soundSuppressionNotificationCooldown = 0
  794. local soundInstances = {}
  795. local cachedIds = {}
  796. local cachedText = {}
  797.  
  798. if not getMessage then siriusValues.chatSpy.enabled = false end
  799.  
  800. -- Call External Modules
  801.  
  802. -- httpRequest
  803. local httpRequest = originalRequest
  804.  
  805. -- Neon Module
  806. local neonModule = (function() -- Open sourced neon module
  807. local module = {}
  808. do
  809. local function IsNotNaN(x)
  810. return x == x
  811. end
  812. local continued = IsNotNaN(camera:ScreenPointToRay(0,0).Origin.x)
  813. while not continued do
  814. runService.RenderStepped:wait()
  815. continued = IsNotNaN(camera:ScreenPointToRay(0,0).Origin.x)
  816. end
  817. end
  818.  
  819. local RootParent = camera
  820. local root
  821. local binds = {}
  822.  
  823. local function getRoot()
  824. if root then
  825. return root
  826. else
  827. root = Instance.new('Folder', RootParent)
  828. root.Name = 'neon'
  829. return root
  830. end
  831. end
  832.  
  833. local function destroyRoot()
  834. if root then
  835. root:Destroy()
  836. root = nil
  837. end
  838. end
  839.  
  840. local GenUid; do
  841. local id = 0
  842. function GenUid()
  843. id = id + 1
  844. return 'neon::'..tostring(id)
  845. end
  846. end
  847.  
  848. local DrawQuad; do
  849. local acos, max, pi, sqrt = math.acos, math.max, math.pi, math.sqrt
  850. local sz = 0.2
  851.  
  852. local function DrawTriangle(v1, v2, v3, p0, p1)
  853. local s1 = (v1 - v2).magnitude
  854. local s2 = (v2 - v3).magnitude
  855. local s3 = (v3 - v1).magnitude
  856. local smax = max(s1, s2, s3)
  857. local A, B, C
  858. if s1 == smax then
  859. A, B, C = v1, v2, v3
  860. elseif s2 == smax then
  861. A, B, C = v2, v3, v1
  862. elseif s3 == smax then
  863. A, B, C = v3, v1, v2
  864. end
  865.  
  866. local para = ( (B-A).x*(C-A).x + (B-A).y*(C-A).y + (B-A).z*(C-A).z ) / (A-B).magnitude
  867. local perp = sqrt((C-A).magnitude^2 - para*para)
  868. local dif_para = (A - B).magnitude - para
  869.  
  870. local st = CFrame.new(B, A)
  871. local za = CFrame.Angles(pi/2,0,0)
  872.  
  873. local cf0 = st
  874.  
  875. local Top_Look = (cf0 * za).lookVector
  876. local Mid_Point = A + CFrame.new(A, B).LookVector * para
  877. local Needed_Look = CFrame.new(Mid_Point, C).LookVector
  878. local dot = Top_Look.x*Needed_Look.x + Top_Look.y*Needed_Look.y + Top_Look.z*Needed_Look.z
  879.  
  880. local ac = CFrame.Angles(0, 0, acos(dot))
  881.  
  882. cf0 = cf0 * ac
  883. if ((cf0 * za).lookVector - Needed_Look).magnitude > 0.01 then
  884. cf0 = cf0 * CFrame.Angles(0, 0, -2*acos(dot))
  885. end
  886. cf0 = cf0 * CFrame.new(0, perp/2, -(dif_para + para/2))
  887.  
  888. local cf1 = st * ac * CFrame.Angles(0, pi, 0)
  889. if ((cf1 * za).lookVector - Needed_Look).magnitude > 0.01 then
  890. cf1 = cf1 * CFrame.Angles(0, 0, 2*acos(dot))
  891. end
  892. cf1 = cf1 * CFrame.new(0, perp/2, dif_para/2)
  893.  
  894. if not p0 then
  895. p0 = Instance.new('Part')
  896. p0.FormFactor = 'Custom'
  897. p0.TopSurface = 0
  898. p0.BottomSurface = 0
  899. p0.Anchored = true
  900. p0.CanCollide = false
  901. p0.Material = 'Glass'
  902. p0.Size = Vector3.new(sz, sz, sz)
  903. local mesh = Instance.new('SpecialMesh', p0)
  904. mesh.MeshType = 2
  905. mesh.Name = 'WedgeMesh'
  906. end
  907. p0.WedgeMesh.Scale = Vector3.new(0, perp/sz, para/sz)
  908. p0.CFrame = cf0
  909.  
  910. if not p1 then
  911. p1 = p0:clone()
  912. end
  913. p1.WedgeMesh.Scale = Vector3.new(0, perp/sz, dif_para/sz)
  914. p1.CFrame = cf1
  915.  
  916. return p0, p1
  917. end
  918.  
  919. function DrawQuad(v1, v2, v3, v4, parts)
  920. parts[1], parts[2] = DrawTriangle(v1, v2, v3, parts[1], parts[2])
  921. parts[3], parts[4] = DrawTriangle(v3, v2, v4, parts[3], parts[4])
  922. end
  923. end
  924.  
  925. function module:BindFrame(frame, properties)
  926. if binds[frame] then
  927. return binds[frame].parts
  928. end
  929.  
  930. local uid = GenUid()
  931. local parts = {}
  932. local f = Instance.new('Folder', getRoot())
  933. f.Name = frame.Name
  934.  
  935. local parents = {}
  936. do
  937. local function add(child)
  938. if child:IsA'GuiObject' then
  939. parents[#parents + 1] = child
  940. add(child.Parent)
  941. end
  942. end
  943. add(frame)
  944. end
  945.  
  946. local function UpdateOrientation(fetchProps)
  947. local zIndex = 1 - 0.05*frame.ZIndex
  948. local tl, br = frame.AbsolutePosition, frame.AbsolutePosition + frame.AbsoluteSize
  949. local tr, bl = Vector2.new(br.x, tl.y), Vector2.new(tl.x, br.y)
  950. do
  951. local rot = 0
  952. for _, v in ipairs(parents) do
  953. rot = rot + v.Rotation
  954. end
  955. if rot ~= 0 and rot%180 ~= 0 then
  956. local mid = tl:lerp(br, 0.5)
  957. local s, c = math.sin(math.rad(rot)), math.cos(math.rad(rot))
  958. local vec = tl
  959. tl = Vector2.new(c*(tl.x - mid.x) - s*(tl.y - mid.y), s*(tl.x - mid.x) + c*(tl.y - mid.y)) + mid
  960. tr = Vector2.new(c*(tr.x - mid.x) - s*(tr.y - mid.y), s*(tr.x - mid.x) + c*(tr.y - mid.y)) + mid
  961. bl = Vector2.new(c*(bl.x - mid.x) - s*(bl.y - mid.y), s*(bl.x - mid.x) + c*(bl.y - mid.y)) + mid
  962. br = Vector2.new(c*(br.x - mid.x) - s*(br.y - mid.y), s*(br.x - mid.x) + c*(br.y - mid.y)) + mid
  963. end
  964. end
  965. DrawQuad(
  966. camera:ScreenPointToRay(tl.x, tl.y, zIndex).Origin,
  967. camera:ScreenPointToRay(tr.x, tr.y, zIndex).Origin,
  968. camera:ScreenPointToRay(bl.x, bl.y, zIndex).Origin,
  969. camera:ScreenPointToRay(br.x, br.y, zIndex).Origin,
  970. parts
  971. )
  972. if fetchProps then
  973. for _, pt in pairs(parts) do
  974. pt.Parent = f
  975. end
  976. for propName, propValue in pairs(properties) do
  977. for _, pt in pairs(parts) do
  978. pt[propName] = propValue
  979. end
  980. end
  981. end
  982. end
  983.  
  984. UpdateOrientation(true)
  985. runService:BindToRenderStep(uid, 2000, UpdateOrientation)
  986.  
  987. binds[frame] = {
  988. uid = uid,
  989. parts = parts
  990. }
  991. return binds[frame].parts
  992. end
  993.  
  994. function module:Modify(frame, properties)
  995. local parts = module:GetBoundParts(frame)
  996. if parts then
  997. for propName, propValue in pairs(properties) do
  998. for _, pt in pairs(parts) do
  999. pt[propName] = propValue
  1000. end
  1001. end
  1002. end
  1003. end
  1004.  
  1005. function module:UnbindFrame(frame)
  1006. if RootParent == nil then return end
  1007. local cb = binds[frame]
  1008. if cb then
  1009. runService:UnbindFromRenderStep(cb.uid)
  1010. for _, v in pairs(cb.parts) do
  1011. v:Destroy()
  1012. end
  1013. binds[frame] = nil
  1014. end
  1015. if getRoot():FindFirstChild(frame.Name) then
  1016. getRoot()[frame.Name]:Destroy()
  1017. end
  1018. end
  1019.  
  1020. function module:HasBinding(frame)
  1021. return binds[frame] ~= nil
  1022. end
  1023.  
  1024. function module:GetBoundParts(frame)
  1025. return binds[frame] and binds[frame].parts
  1026. end
  1027.  
  1028.  
  1029. return module
  1030.  
  1031. end)()
  1032.  
  1033. -- Sirius Functions
  1034. local function checkSirius() return UI.Parent end
  1035. local function getPing() return math.clamp(statsService.Network.ServerStatsItem["Data Ping"]:GetValue(), 10, 700) end
  1036. local function checkFolder() if isfolder then if not isfolder(siriusValues.siriusFolder) then makefolder(siriusValues.siriusFolder) end if not isfolder(siriusValues.siriusFolder.."/Music") then makefolder(siriusValues.siriusFolder.."/Music") writefile(siriusValues.siriusFolder.."/Music/readme.txt", "Hey there! Place your MP3 or other audio files in this folder, and have the ability to play them through the Sirius Music UI!") end if not isfolder(siriusValues.siriusFolder.."/Assets/Icons") then makefolder(siriusValues.siriusFolder.."/Assets/Icons") end if not isfolder(siriusValues.siriusFolder.."/Assets") then makefolder(siriusValues.siriusFolder.."/Assets") end end end
  1037. local function isPanel(name) return not table.find({"Home", "Music", "Settings"}, name) end
  1038.  
  1039. local function fetchFromCDN(path, write, savePath)
  1040. checkFolder()
  1041.  
  1042. local file = game:HttpGet(siriusValues.cdn..path) or nil
  1043. if not file then return end
  1044. if not write then return file end
  1045.  
  1046.  
  1047. writefile(siriusValues.siriusFolder.."/"..savePath, file)
  1048.  
  1049. return
  1050. end
  1051.  
  1052. local function fetchIcon(iconName)
  1053. checkFolder()
  1054.  
  1055. local pathCDN = siriusValues.icons..iconName..".png"
  1056. local path = siriusValues.siriusFolder.."/Assets/"..iconName..".png"
  1057.  
  1058. if not isfile(path) then
  1059. local file = game:HttpGet(pathCDN)
  1060. if not file then return end
  1061.  
  1062. writefile(path, file)
  1063. end
  1064.  
  1065. local imageToReturn = getcustomasset(path)
  1066.  
  1067. return imageToReturn
  1068. end
  1069.  
  1070. local function storeOriginalText(element)
  1071. originalTextValues[element] = element.Text
  1072. end
  1073.  
  1074. local function undoAnonymousChanges()
  1075. for element, originalText in pairs(originalTextValues) do
  1076. element.Text = originalText
  1077. end
  1078. end
  1079.  
  1080. local function createEsp(player)
  1081. if player == localPlayer or not checkSirius() then
  1082. return
  1083. end
  1084.  
  1085. local highlight = Instance.new("Highlight")
  1086. highlight.FillTransparency = 1
  1087. highlight.OutlineTransparency = 0
  1088. highlight.OutlineColor = Color3.new(1,1,1)
  1089. highlight.Adornee = player.Character
  1090. highlight.Name = player.Name
  1091. highlight.Enabled = siriusValues.actions[7].enabled
  1092. highlight.Parent = espContainer
  1093.  
  1094. player.CharacterAdded:Connect(function(character)
  1095. if not checkSirius() then return end
  1096. task.wait()
  1097. highlight.Adornee = character
  1098. end)
  1099. end
  1100.  
  1101. local function makeDraggable(object)
  1102. local dragging = false
  1103. local relative = nil
  1104.  
  1105. local offset = Vector2.zero
  1106. local screenGui = object:FindFirstAncestorWhichIsA("ScreenGui")
  1107. if screenGui and screenGui.IgnoreGuiInset then
  1108. offset += guiService:GetGuiInset()
  1109. end
  1110.  
  1111. object.InputBegan:Connect(function(input, processed)
  1112. if processed then return end
  1113.  
  1114. local inputType = input.UserInputType.Name
  1115. if inputType == "MouseButton1" or inputType == "Touch" then
  1116. relative = object.AbsolutePosition + object.AbsoluteSize * object.AnchorPoint - userInputService:GetMouseLocation()
  1117. dragging = true
  1118. end
  1119. end)
  1120.  
  1121. local inputEnded = userInputService.InputEnded:Connect(function(input)
  1122. if not dragging then return end
  1123.  
  1124. local inputType = input.UserInputType.Name
  1125. if inputType == "MouseButton1" or inputType == "Touch" then
  1126. dragging = false
  1127. end
  1128. end)
  1129.  
  1130. local renderStepped = runService.RenderStepped:Connect(function()
  1131. if dragging then
  1132. local position = userInputService:GetMouseLocation() + relative + offset
  1133. object.Position = UDim2.fromOffset(position.X, position.Y)
  1134. end
  1135. end)
  1136.  
  1137. object.Destroying:Connect(function()
  1138. inputEnded:Disconnect()
  1139. renderStepped:Disconnect()
  1140. end)
  1141. end
  1142.  
  1143. local function checkAction(target)
  1144. local toReturn = {}
  1145.  
  1146. for _, action in ipairs(siriusValues.actions) do
  1147. if action.name == target then
  1148. toReturn.action = action
  1149. break
  1150. end
  1151. end
  1152.  
  1153. for _, action in ipairs(characterPanel.Interactions.Grid:GetChildren()) do
  1154. if action.name == target then
  1155. toReturn.object = action
  1156. break
  1157. end
  1158. end
  1159.  
  1160. return toReturn
  1161. end
  1162.  
  1163. local function checkSetting(settingTarget, categoryTarget)
  1164. for _, category in ipairs(siriusSettings) do
  1165. if categoryTarget then
  1166. if category.name == categoryTarget then
  1167. for _, setting in ipairs(category.categorySettings) do
  1168. if setting.name == settingTarget then
  1169. return setting
  1170. end
  1171. end
  1172. end
  1173. return
  1174. else
  1175. for _, setting in ipairs(category.categorySettings) do
  1176. if setting.name == settingTarget then
  1177. return setting
  1178. end
  1179. end
  1180. end
  1181. end
  1182. end
  1183.  
  1184. local function wipeTransparency(ins, target, checkSelf, tween, duration)
  1185. local transparencyProperties = siriusValues.transparencyProperties
  1186.  
  1187. local function applyTransparency(obj)
  1188. local properties = transparencyProperties[obj.className]
  1189.  
  1190. if properties then
  1191. local tweenProperties = {}
  1192.  
  1193. for _, property in ipairs(properties) do
  1194. tweenProperties[property] = target
  1195. end
  1196.  
  1197. for property, transparency in pairs(tweenProperties) do
  1198. if tween then
  1199. tweenService:Create(obj, TweenInfo.new(duration, Enum.EasingStyle.Quint, Enum.EasingDirection.Out), {[property] = transparency}):Play()
  1200. else
  1201. obj[property] = transparency
  1202. end
  1203.  
  1204. end
  1205. end
  1206. end
  1207.  
  1208. if checkSelf then
  1209. applyTransparency(ins)
  1210. end
  1211.  
  1212. for _, descendant in ipairs(ins:getDescendants()) do
  1213. applyTransparency(descendant)
  1214. end
  1215. end
  1216.  
  1217. local function blurSignature(value)
  1218. if not value then
  1219. if lighting:FindFirstChild("SiriusBlur") then
  1220. lighting:FindFirstChild("SiriusBlur"):Destroy()
  1221. end
  1222. else
  1223. if not lighting:FindFirstChild("SiriusBlur") then
  1224. local blurLight = Instance.new("DepthOfFieldEffect", lighting)
  1225. blurLight.Name = "SiriusBlur"
  1226. blurLight.Enabled = true
  1227. blurLight.FarIntensity = 0
  1228. blurLight.FocusDistance = 51.6
  1229. blurLight.InFocusRadius = 50
  1230. blurLight.NearIntensity = 0.8
  1231. end
  1232. end
  1233. end
  1234.  
  1235. local function figureNotifications()
  1236. if checkSirius() then
  1237. local notificationsSize = 0
  1238.  
  1239. if #notifications > 0 then
  1240. blurSignature(true)
  1241. else
  1242. blurSignature(false)
  1243. end
  1244.  
  1245. for i = #notifications, 0, -1 do
  1246. local notification = notifications[i]
  1247. if notification then
  1248. if notificationsSize == 0 then
  1249. notificationsSize = notification.Size.Y.Offset + 2
  1250. else
  1251. notificationsSize += notification.Size.Y.Offset + 5
  1252. end
  1253. local desiredPosition = UDim2.new(0.5, 0, 0, notificationsSize)
  1254. if notification.Position ~= desiredPosition then
  1255. notification:TweenPosition(desiredPosition, "Out", "Quint", 0.8, true)
  1256. end
  1257. end
  1258. end
  1259. end
  1260. end
  1261.  
  1262. local contentProvider = game:GetService("ContentProvider")
  1263.  
  1264. local function queueNotification(Title, Description, Image)
  1265. task.spawn(function()
  1266. if checkSirius() then
  1267. local newNotification = notificationContainer.Template:Clone()
  1268. newNotification.Parent = notificationContainer
  1269. newNotification.Name = Title or "Unknown Title"
  1270. newNotification.Visible = true
  1271.  
  1272. newNotification.Title.Text = Title or "Unknown Title"
  1273. newNotification.Description.Text = Description or "Unknown Description"
  1274. newNotification.Time.Text = "now"
  1275.  
  1276. -- Prepare for animation
  1277. newNotification.AnchorPoint = Vector2.new(0.5, 1)
  1278. newNotification.Position = UDim2.new(0.5, 0, -1, 0)
  1279. newNotification.Size = UDim2.new(0, 320, 0, 500)
  1280. newNotification.Description.Size = UDim2.new(0, 241, 0, 400)
  1281. wipeTransparency(newNotification, 1, true)
  1282.  
  1283. newNotification.Description.Size = UDim2.new(0, 241, 0, newNotification.Description.TextBounds.Y)
  1284. newNotification.Size = UDim2.new(0, 100, 0, newNotification.Description.TextBounds.Y + 50)
  1285.  
  1286. table.insert(notifications, newNotification)
  1287. figureNotifications()
  1288.  
  1289. local notificationSound = Instance.new("Sound")
  1290. notificationSound.Parent = UI
  1291. notificationSound.SoundId = "rbxassetid://255881176"
  1292. notificationSound.Name = "notificationSound"
  1293. notificationSound.Volume = 0.65
  1294. notificationSound.PlayOnRemove = true
  1295. notificationSound:Destroy()
  1296.  
  1297.  
  1298. if not tonumber(Image) then
  1299. newNotification.Icon.Image = fetchIcon(Image)
  1300. else
  1301. newNotification.Icon.Image = 'rbxassetid://'..Image or 0
  1302. end
  1303.  
  1304. newNotification:TweenPosition(UDim2.new(0.5, 0, 0, newNotification.Size.Y.Offset + 2), "Out", "Quint", 0.9, true)
  1305. task.wait(0.1)
  1306. tweenService:Create(newNotification, TweenInfo.new(0.8, Enum.EasingStyle.Exponential), {Size = UDim2.new(0, 320, 0, newNotification.Description.TextBounds.Y + 50)}):Play()
  1307. task.wait(0.05)
  1308. tweenService:Create(newNotification, TweenInfo.new(0.8, Enum.EasingStyle.Exponential), {BackgroundTransparency = 0.35}):Play()
  1309. tweenService:Create(newNotification.UIStroke, TweenInfo.new(0.6, Enum.EasingStyle.Exponential), {Transparency = 0.7}):Play()
  1310. task.wait(0.05)
  1311. tweenService:Create(newNotification.Icon, TweenInfo.new(0.5, Enum.EasingStyle.Exponential), {ImageTransparency = 0}):Play()
  1312. task.wait(0.04)
  1313. tweenService:Create(newNotification.Title, TweenInfo.new(0.5, Enum.EasingStyle.Exponential), {TextTransparency = 0}):Play()
  1314. task.wait(0.04)
  1315. tweenService:Create(newNotification.Description, TweenInfo.new(0.5, Enum.EasingStyle.Exponential), {TextTransparency = 0.15}):Play()
  1316. tweenService:Create(newNotification.Time, TweenInfo.new(0.5, Enum.EasingStyle.Exponential), {TextTransparency = 0.5}):Play()
  1317.  
  1318. neonModule:BindFrame(newNotification.BlurModule, {
  1319. Transparency = 0.98,
  1320. BrickColor = BrickColor.new("Institutional white")
  1321. })
  1322.  
  1323. newNotification.Interact.MouseButton1Click:Connect(function()
  1324. local foundNotification = table.find(notifications, newNotification)
  1325. if foundNotification then table.remove(notifications, foundNotification) end
  1326.  
  1327. tweenService:Create(newNotification, TweenInfo.new(0.35, Enum.EasingStyle.Quint, Enum.EasingDirection.In), {Position = UDim2.new(1.5, 0, 0, newNotification.Position.Y.Offset)}):Play()
  1328.  
  1329. task.wait(0.4)
  1330. newNotification:Destroy()
  1331. figureNotifications()
  1332. return
  1333. end)
  1334.  
  1335. local waitTime = (#newNotification.Description.Text*0.1)+2
  1336. if waitTime <= 1 then waitTime = 2.5 elseif waitTime > 10 then waitTime = 10 end
  1337.  
  1338. task.wait(waitTime)
  1339.  
  1340. local foundNotification = table.find(notifications, newNotification)
  1341. if foundNotification then table.remove(notifications, foundNotification) end
  1342.  
  1343. tweenService:Create(newNotification, TweenInfo.new(0.8, Enum.EasingStyle.Quint, Enum.EasingDirection.In), {Position = UDim2.new(1.5, 0, 0, newNotification.Position.Y.Offset)}):Play()
  1344.  
  1345. task.wait(1.2)
  1346. neonModule:UnbindFrame(newNotification.BlurModule)
  1347. newNotification:Destroy()
  1348. figureNotifications()
  1349. end
  1350. end)
  1351. end
  1352.  
  1353. local function checkLastVersion()
  1354. checkFolder()
  1355.  
  1356. local lastVersion = isfile and isfile(siriusValues.siriusFolder.."/".."version.srs") and readfile(siriusValues.siriusFolder.."/".."version.srs") or nil
  1357.  
  1358. if lastVersion then
  1359. if lastVersion ~= siriusValues.siriusVersion then queueNotification("Sirius has been updated", "Sirius has been updated to version "..siriusValues.siriusVersion..", check our Discord for all new features and changes.", 4400701828) end
  1360. end
  1361.  
  1362. if writefile then writefile(siriusValues.siriusFolder.."/".."version.srs", siriusValues.siriusVersion) end
  1363. end
  1364.  
  1365. local function removeReverbs(timing)
  1366. timing = timing or 0.65
  1367.  
  1368. for index, sound in next, soundInstances do
  1369. if sound:FindFirstChild("SiriusAudioProfile") then
  1370. local reverb = sound:FindFirstChild("SiriusAudioProfile")
  1371. tweenService:Create(reverb, TweenInfo.new(timing, Enum.EasingStyle.Exponential), {HighGain = 0}):Play()
  1372. tweenService:Create(reverb, TweenInfo.new(timing, Enum.EasingStyle.Exponential), {LowGain = 0}):Play()
  1373. tweenService:Create(reverb, TweenInfo.new(timing, Enum.EasingStyle.Exponential), {MidGain = 0}):Play()
  1374.  
  1375. task.delay(timing + 0.03, reverb.Destroy, reverb)
  1376. end
  1377. end
  1378. end
  1379.  
  1380. local function playNext()
  1381. if #musicQueue == 0 then currentAudio.Playing = false currentAudio.SoundId = "" musicPanel.Playing.Text = "Not Playing" return end
  1382.  
  1383. if not currentAudio then
  1384. local newAudio = Instance.new("Sound")
  1385. newAudio.Parent = UI
  1386. newAudio.Name = "Audio"
  1387. currentAudio = newAudio
  1388. end
  1389.  
  1390. musicPanel.Menu.TogglePlaying.ImageRectOffset = currentAudio.Playing and Vector2.new(804, 124) or Vector2.new(764, 244)
  1391. local asset = getcustomasset(siriusValues.siriusFolder.."/Music/"..musicQueue[1].sound)
  1392.  
  1393. if checkSetting("Now Playing Notifications").current then queueNotification("Now Playing", musicQueue[1].sound, 4400695581) end
  1394.  
  1395. if musicPanel.Queue.List:FindFirstChild(tostring(musicQueue[1].instanceName)) then
  1396. musicPanel.Queue.List:FindFirstChild(tostring(musicQueue[1].instanceName)):Destroy()
  1397. end
  1398.  
  1399. currentAudio.SoundId = asset
  1400. musicPanel.Playing.Text = musicQueue[1].sound
  1401. currentAudio:Play()
  1402. musicPanel.Menu.TogglePlaying.ImageRectOffset = currentAudio.Playing and Vector2.new(804, 124) or Vector2.new(764, 244)
  1403. currentAudio.Ended:Wait()
  1404.  
  1405. table.remove(musicQueue, 1)
  1406.  
  1407. playNext()
  1408. end
  1409.  
  1410. local function addToQueue(file)
  1411. if not getcustomasset then return end
  1412. checkFolder()
  1413. if not isfile(siriusValues.siriusFolder.."/Music/"..file) then queueNotification("Unable to locate file", "Please ensure that your audio file is in the Sirius/Music folder and that you are including the file extension (e.g mp3 or ogg).", 4370341699) return end
  1414. musicPanel.AddBox.Input.Text = ""
  1415.  
  1416. local newAudio = musicPanel.Queue.List.Template:Clone()
  1417. newAudio.Parent = musicPanel.Queue.List
  1418. newAudio.Size = UDim2.new(0, 254, 0, 40)
  1419. newAudio.Close.ImageTransparency = 1
  1420. newAudio.Name = file
  1421. if string.len(newAudio.FileName.Text) > 26 then
  1422. newAudio.FileName.Text = string.sub(tostring(file), 1,24)..".."
  1423. else
  1424. newAudio.FileName.Text = file
  1425. end
  1426. newAudio.Visible = true
  1427. newAudio.Duration.Text = ""
  1428.  
  1429. table.insert(musicQueue, {sound = file, instanceName = newAudio.Name})
  1430.  
  1431. local getLength = Instance.new("Sound", workspace)
  1432. getLength.SoundId = getcustomasset(siriusValues.siriusFolder.."/Music/"..file)
  1433. getLength.Volume = 0
  1434. getLength:Play()
  1435. task.wait(0.05)
  1436. newAudio.Duration.Text = tostring(math.round(getLength.TimeLength)).."s"
  1437. getLength:Stop()
  1438. getLength:Destroy()
  1439.  
  1440. newAudio.MouseEnter:Connect(function()
  1441. tweenService:Create(newAudio, TweenInfo.new(0.45, Enum.EasingStyle.Exponential), {BackgroundColor3 = Color3.fromRGB(100, 100, 100)}):Play()
  1442. tweenService:Create(newAudio.Close, TweenInfo.new(0.45, Enum.EasingStyle.Exponential), {ImageTransparency = 0}):Play()
  1443. tweenService:Create(newAudio.Duration, TweenInfo.new(0.45, Enum.EasingStyle.Exponential), {TextTransparency = 1}):Play()
  1444. end)
  1445.  
  1446. newAudio.MouseLeave:Connect(function()
  1447. tweenService:Create(newAudio.Close, TweenInfo.new(0.45, Enum.EasingStyle.Exponential), {ImageTransparency = 1}):Play()
  1448. tweenService:Create(newAudio, TweenInfo.new(0.45, Enum.EasingStyle.Exponential), {BackgroundColor3 = Color3.fromRGB(0, 0, 0)}):Play()
  1449. tweenService:Create(newAudio.Duration, TweenInfo.new(0.45, Enum.EasingStyle.Exponential), {TextTransparency = 0.7}):Play()
  1450. end)
  1451.  
  1452. newAudio.Close.MouseButton1Click:Connect(function()
  1453. if not string.find(currentAudio.Name, file) then
  1454. for i,v in pairs(musicQueue) do
  1455. for _,b in pairs(v) do
  1456. if b == newAudio.Name then
  1457. newAudio:Destroy()
  1458. table.remove(musicQueue, i)
  1459. end
  1460. end
  1461. end
  1462. else
  1463. for i,v in pairs(musicQueue) do
  1464. for _,b in pairs(v) do
  1465. if b == newAudio.Name then
  1466. newAudio:Destroy()
  1467. table.remove(musicQueue, i)
  1468. playNext()
  1469. end
  1470. end
  1471. end
  1472. end
  1473. end)
  1474.  
  1475. if #musicQueue == 1 then
  1476. playNext()
  1477. end
  1478. end
  1479.  
  1480. local function openMusic()
  1481. debounce = true
  1482. musicPanel.Visible = true
  1483. musicPanel.Queue.List.Template.Visible = false
  1484.  
  1485. debounce = false
  1486. end
  1487.  
  1488. local function closeMusic()
  1489. debounce = true
  1490. musicPanel.Visible = false
  1491.  
  1492. debounce = false
  1493. end
  1494.  
  1495. local function createReverb(timing)
  1496. for index, sound in next, soundInstances do
  1497. if not sound:FindFirstChild("SiriusAudioProfile") then
  1498. local reverb = Instance.new("EqualizerSoundEffect")
  1499.  
  1500. reverb.Name = "SiriusAudioProfile"
  1501. reverb.Parent = sound
  1502.  
  1503. reverb.Enabled = false
  1504.  
  1505. reverb.HighGain = 0
  1506. reverb.LowGain = 0
  1507. reverb.MidGain = 0
  1508. reverb.Enabled = true
  1509.  
  1510. if timing then
  1511. tweenService:Create(reverb, TweenInfo.new(timing, Enum.EasingStyle.Exponential), {HighGain = -20}):Play()
  1512. tweenService:Create(reverb, TweenInfo.new(timing, Enum.EasingStyle.Exponential), {LowGain = 5}):Play()
  1513. tweenService:Create(reverb, TweenInfo.new(timing, Enum.EasingStyle.Exponential), {MidGain = -20}):Play()
  1514. end
  1515. end
  1516. end
  1517. end
  1518.  
  1519. local function runScript(raw)
  1520. loadstring(game:HttpGet(raw))()
  1521. end
  1522.  
  1523. local function syncExperienceInformation()
  1524. siriusValues.currentCreator = creatorId
  1525.  
  1526. if creatorType == Enum.CreatorType.Group then
  1527. siriusValues.currentGroup = creatorId
  1528. siriusValues.currentCreator = "group"
  1529. end
  1530.  
  1531. for _, gameFound in pairs(siriusValues.games) do
  1532. if gameFound.id == placeId and gameFound.enabled then
  1533.  
  1534. local minimumTier = gameFound.minimumTier
  1535.  
  1536. if minimumTier == "Essential" then
  1537. if not (Essential or Pro) then
  1538. return
  1539. end
  1540. elseif minimumTier == "Pro" then
  1541. if not Pro then
  1542. return
  1543. end
  1544. end
  1545.  
  1546. local rawFile = siriusValues.rawTree..gameFound.raw
  1547. siriusValues.currentGame = gameFound
  1548.  
  1549. gameDetectionPrompt.ScriptTitle.Text = gameFound.name
  1550. gameDetectionPrompt.Layer.ScriptSubtitle.Text = gameFound.description
  1551. gameDetectionPrompt.Thumbnail.Image = "https://assetgame.roblox.com/Game/Tools/ThumbnailAsset.ashx?aid="..tostring(placeId).."&fmt=png&wd=420&ht=420"
  1552.  
  1553. gameDetectionPrompt.Size = UDim2.new(0, 550, 0, 0)
  1554. gameDetectionPrompt.Position = UDim2.new(0.5, 0, 0, 120)
  1555. gameDetectionPrompt.UICorner.CornerRadius = UDim.new(0, 9)
  1556. gameDetectionPrompt.Thumbnail.UICorner.CornerRadius = UDim.new(0, 9)
  1557. gameDetectionPrompt.ScriptTitle.Position = UDim2.new(0, 30, 0.5, 0)
  1558. gameDetectionPrompt.Layer.Visible = false
  1559. gameDetectionPrompt.Warning.Visible = false
  1560.  
  1561. wipeTransparency(gameDetectionPrompt, 1, true)
  1562.  
  1563. gameDetectionPrompt.Visible = true
  1564.  
  1565. tweenService:Create(gameDetectionPrompt, TweenInfo.new(0.5, Enum.EasingStyle.Quint), {BackgroundTransparency = 0}):Play()
  1566. tweenService:Create(gameDetectionPrompt.Thumbnail, TweenInfo.new(0.5, Enum.EasingStyle.Quint), {ImageTransparency = 0.4}):Play()
  1567. tweenService:Create(gameDetectionPrompt.ScriptTitle, TweenInfo.new(0.6, Enum.EasingStyle.Quint), {TextTransparency = 0}):Play()
  1568.  
  1569. tweenService:Create(gameDetectionPrompt, TweenInfo.new(0.7, Enum.EasingStyle.Quint), {Size = UDim2.new(0, 587, 0, 44)}):Play()
  1570. tweenService:Create(gameDetectionPrompt, TweenInfo.new(1, Enum.EasingStyle.Exponential), {Position = UDim2.new(0.5, 0, 0, 150)}):Play()
  1571.  
  1572. task.wait(1)
  1573.  
  1574. wipeTransparency(gameDetectionPrompt.Layer, 1, true)
  1575.  
  1576. gameDetectionPrompt.Layer.Visible = true
  1577.  
  1578. tweenService:Create(gameDetectionPrompt, TweenInfo.new(0.7, Enum.EasingStyle.Quint), {Size = UDim2.new(0, 473, 0, 154)}):Play()
  1579. tweenService:Create(gameDetectionPrompt.ScriptTitle, TweenInfo.new(1, Enum.EasingStyle.Exponential), {Position = UDim2.new(0, 23, 0.352, 0)}):Play()
  1580. tweenService:Create(gameDetectionPrompt, TweenInfo.new(1, Enum.EasingStyle.Exponential), {Position = UDim2.new(0.5, 0, 0, 200)}):Play()
  1581. tweenService:Create(gameDetectionPrompt.UICorner, TweenInfo.new(1, Enum.EasingStyle.Exponential), {CornerRadius = UDim.new(0, 13)}):Play()
  1582. tweenService:Create(gameDetectionPrompt.Thumbnail.UICorner, TweenInfo.new(1, Enum.EasingStyle.Exponential), {CornerRadius = UDim.new(0, 13)}):Play()
  1583. tweenService:Create(gameDetectionPrompt.Thumbnail, TweenInfo.new(1, Enum.EasingStyle.Exponential), {ImageTransparency = 0.5}):Play()
  1584.  
  1585. task.wait(0.3)
  1586. tweenService:Create(gameDetectionPrompt.Layer.ScriptSubtitle, TweenInfo.new(0.6, Enum.EasingStyle.Quint), {TextTransparency = 0.3}):Play()
  1587. tweenService:Create(gameDetectionPrompt.Layer.Run, TweenInfo.new(0.6, Enum.EasingStyle.Quint), {TextTransparency = 0}):Play()
  1588. tweenService:Create(gameDetectionPrompt.Layer.Run.UIStroke, TweenInfo.new(0.6, Enum.EasingStyle.Quint), {Transparency = 0.85}):Play()
  1589. tweenService:Create(gameDetectionPrompt.Layer.Run, TweenInfo.new(0.6, Enum.EasingStyle.Quint), {BackgroundTransparency = 0.6}):Play()
  1590.  
  1591. task.wait(0.2)
  1592.  
  1593. tweenService:Create(gameDetectionPrompt.Layer.Close, TweenInfo.new(0.7, Enum.EasingStyle.Exponential), {ImageTransparency = 0.6}):Play()
  1594.  
  1595. task.wait(0.3)
  1596.  
  1597. local function closeGameDetection()
  1598. tweenService:Create(gameDetectionPrompt.Layer.ScriptSubtitle, TweenInfo.new(0.3, Enum.EasingStyle.Quint), {TextTransparency = 1}):Play()
  1599. tweenService:Create(gameDetectionPrompt.Layer.Run, TweenInfo.new(0.3, Enum.EasingStyle.Quint), {TextTransparency = 1}):Play()
  1600. tweenService:Create(gameDetectionPrompt.Layer.Run, TweenInfo.new(0.3, Enum.EasingStyle.Quint), {BackgroundTransparency = 1}):Play()
  1601. tweenService:Create(gameDetectionPrompt.Layer.Close, TweenInfo.new(0.3, Enum.EasingStyle.Exponential), {ImageTransparency = 1}):Play()
  1602. tweenService:Create(gameDetectionPrompt.Thumbnail, TweenInfo.new(0.3, Enum.EasingStyle.Quint), {ImageTransparency = 1}):Play()
  1603. tweenService:Create(gameDetectionPrompt.ScriptTitle, TweenInfo.new(0.3, Enum.EasingStyle.Quint), {TextTransparency = 1}):Play()
  1604. tweenService:Create(gameDetectionPrompt.Layer.Run.UIStroke, TweenInfo.new(0.3, Enum.EasingStyle.Quint), {Transparency = 1}):Play()
  1605. task.wait(0.05)
  1606. tweenService:Create(gameDetectionPrompt, TweenInfo.new(0.4, Enum.EasingStyle.Quint), {Size = UDim2.new(0, 400, 0, 0)}):Play()
  1607. tweenService:Create(gameDetectionPrompt.UICorner, TweenInfo.new(0.2, Enum.EasingStyle.Exponential), {CornerRadius = UDim.new(0, 5)}):Play()
  1608. tweenService:Create(gameDetectionPrompt.Thumbnail.UICorner, TweenInfo.new(0.2, Enum.EasingStyle.Exponential), {CornerRadius = UDim.new(0, 5)}):Play()
  1609. task.wait(0.41)
  1610. gameDetectionPrompt.Visible = false
  1611. end
  1612.  
  1613. gameDetectionPrompt.Layer.Run.MouseButton1Click:Connect(function()
  1614. closeGameDetection()
  1615. queueNotification("Running "..gameFound.name, "Now running Sirius' "..gameFound.name.." script, this may take a moment.", 4400701828)
  1616. runScript(rawFile)
  1617.  
  1618. end)
  1619.  
  1620. gameDetectionPrompt.Layer.Close.MouseButton1Click:Connect(function()
  1621. closeGameDetection()
  1622. end)
  1623.  
  1624. break
  1625. end
  1626. end
  1627. end
  1628.  
  1629. local function updateSliderPadding()
  1630. for _, v in pairs(siriusValues.sliders) do
  1631. v.padding = {
  1632. v.object.Interact.AbsolutePosition.X,
  1633. v.object.Interact.AbsolutePosition.X + v.object.Interact.AbsoluteSize.X
  1634. }
  1635. end
  1636. end
  1637.  
  1638. local function updateSlider(data, setValue, forceValue)
  1639. local inverse_interpolation
  1640.  
  1641. if setValue then
  1642. setValue = math.clamp(setValue, data.values[1], data.values[2])
  1643. inverse_interpolation = (setValue - data.values[1]) / (data.values[2] - data.values[1])
  1644. local posX = data.padding[1] + (data.padding[2] - data.padding[1]) * inverse_interpolation
  1645. else
  1646. local posX = math.clamp(mouse.X, data.padding[1], data.padding[2])
  1647. inverse_interpolation = (posX - data.padding[1]) / (data.padding[2] - data.padding[1])
  1648. end
  1649.  
  1650. tweenService:Create(data.object.Progress, TweenInfo.new(.5, Enum.EasingStyle.Quint), {Size = UDim2.new(inverse_interpolation, 0, 1, 0)}):Play()
  1651.  
  1652. local value = math.floor(data.values[1] + (data.values[2] - data.values[1]) * inverse_interpolation + .5)
  1653. data.object.Information.Text = value.." "..data.name
  1654. data.value = value
  1655.  
  1656. if data.callback and not setValue or forceValue then
  1657. data.callback(value)
  1658. end
  1659. end
  1660.  
  1661. local function resetSliders()
  1662. for _, v in pairs(siriusValues.sliders) do
  1663. updateSlider(v, v.default, true)
  1664. end
  1665. end
  1666.  
  1667. local function sortActions()
  1668. characterPanel.Interactions.Grid.Template.Visible = false
  1669. characterPanel.Interactions.Sliders.Template.Visible = false
  1670.  
  1671. for _, action in ipairs(siriusValues.actions) do
  1672. local newAction = characterPanel.Interactions.Grid.Template:Clone()
  1673. newAction.Name = action.name
  1674. newAction.Parent = characterPanel.Interactions.Grid
  1675. newAction.BackgroundColor3 = action.color
  1676. newAction.UIStroke.Color = action.color
  1677. newAction.Icon.Image = "rbxassetid://"..action.images[2]
  1678. newAction.Visible = true
  1679.  
  1680. newAction.BackgroundTransparency = 0.8
  1681. newAction.Transparency = 0.7
  1682.  
  1683.  
  1684. newAction.MouseEnter:Connect(function()
  1685. characterPanel.Interactions.ActionsTitle.Text = string.upper(action.name)
  1686. if action.enabled or debounce then return end
  1687. tweenService:Create(newAction, TweenInfo.new(0.6, Enum.EasingStyle.Quint), {BackgroundTransparency = 0.4}):Play()
  1688. tweenService:Create(newAction.UIStroke, TweenInfo.new(0.8, Enum.EasingStyle.Quint), {Transparency = 0.6}):Play()
  1689. end)
  1690.  
  1691. newAction.MouseLeave:Connect(function()
  1692. if action.enabled or debounce then return end
  1693. tweenService:Create(newAction, TweenInfo.new(0.4, Enum.EasingStyle.Exponential), {BackgroundTransparency = 0.55}):Play()
  1694. tweenService:Create(newAction.UIStroke, TweenInfo.new(0.4, Enum.EasingStyle.Exponential), {Transparency = 0.4}):Play()
  1695. end)
  1696.  
  1697. characterPanel.Interactions.Grid.MouseLeave:Connect(function()
  1698. characterPanel.Interactions.ActionsTitle.Text = "PLAYER ACTIONS"
  1699. end)
  1700.  
  1701. newAction.Interact.MouseButton1Click:Connect(function()
  1702. local success, response = pcall(function()
  1703. action.enabled = not action.enabled
  1704. action.callback(action.enabled)
  1705.  
  1706. if action.enabled then
  1707. newAction.Icon.Image = "rbxassetid://"..action.images[1]
  1708. tweenService:Create(newAction, TweenInfo.new(0.6, Enum.EasingStyle.Quint), {BackgroundTransparency = 0.1}):Play()
  1709. tweenService:Create(newAction.UIStroke, TweenInfo.new(0.6, Enum.EasingStyle.Quint), {Transparency = 1}):Play()
  1710. tweenService:Create(newAction.Icon, TweenInfo.new(0.45, Enum.EasingStyle.Quint), {ImageTransparency = 0.1}):Play()
  1711.  
  1712. if action.disableAfter then
  1713. task.delay(action.disableAfter, function()
  1714. action.enabled = false
  1715. newAction.Icon.Image = "rbxassetid://"..action.images[2]
  1716. tweenService:Create(newAction, TweenInfo.new(0.4, Enum.EasingStyle.Exponential), {BackgroundTransparency = 0.55}):Play()
  1717. tweenService:Create(newAction.UIStroke, TweenInfo.new(0.4, Enum.EasingStyle.Exponential), {Transparency = 0.4}):Play()
  1718. tweenService:Create(newAction.Icon, TweenInfo.new(0.25, Enum.EasingStyle.Quint), {ImageTransparency = 0.5}):Play()
  1719. end)
  1720. end
  1721.  
  1722. if action.rotateWhileEnabled then
  1723. repeat
  1724. newAction.Icon.Rotation = 0
  1725. tweenService:Create(newAction.Icon, TweenInfo.new(0.75, Enum.EasingStyle.Quint), {Rotation = 360}):Play()
  1726. task.wait(1)
  1727. until not action.enabled
  1728. newAction.Icon.Rotation = 0
  1729. end
  1730. else
  1731. newAction.Icon.Image = "rbxassetid://"..action.images[2]
  1732. tweenService:Create(newAction, TweenInfo.new(0.4, Enum.EasingStyle.Exponential), {BackgroundTransparency = 0.55}):Play()
  1733. tweenService:Create(newAction.UIStroke, TweenInfo.new(0.4, Enum.EasingStyle.Exponential), {Transparency = 0.4}):Play()
  1734. tweenService:Create(newAction.Icon, TweenInfo.new(0.25, Enum.EasingStyle.Quint), {ImageTransparency = 0.5}):Play()
  1735. end
  1736. end)
  1737.  
  1738. if not success then
  1739. queueNotification("Action Error", "This action ('"..(action.name).."') had an error while running, please report this to the Sirius team at sirius.menu/discord", 4370336704)
  1740. action.enabled = false
  1741. newAction.Icon.Image = "rbxassetid://"..action.images[2]
  1742. tweenService:Create(newAction, TweenInfo.new(0.4, Enum.EasingStyle.Exponential), {BackgroundTransparency = 0.55}):Play()
  1743. tweenService:Create(newAction.UIStroke, TweenInfo.new(0.4, Enum.EasingStyle.Exponential), {Transparency = 0.4}):Play()
  1744. tweenService:Create(newAction.Icon, TweenInfo.new(0.25, Enum.EasingStyle.Quint), {ImageTransparency = 0.5}):Play()
  1745. end
  1746. end)
  1747. end
  1748.  
  1749. if localPlayer.Character then
  1750. if not localPlayer.Character:FindFirstChildOfClass('Humanoid').UseJumpPower then
  1751. siriusValues.sliders[2].name = "jump height"
  1752. siriusValues.sliders[2].default = 7.2
  1753. siriusValues.sliders[2].values = {0, 120}
  1754. end
  1755. end
  1756.  
  1757.  
  1758. for _, slider in ipairs(siriusValues.sliders) do
  1759. local newSlider = characterPanel.Interactions.Sliders.Template:Clone()
  1760. newSlider.Name = slider.name.." Slider"
  1761. newSlider.Parent = characterPanel.Interactions.Sliders
  1762. newSlider.BackgroundColor3 = slider.color
  1763. newSlider.Progress.BackgroundColor3 = slider.color
  1764. newSlider.UIStroke.Color = slider.color
  1765. newSlider.Information.Text = slider.name
  1766. newSlider.Visible = true
  1767.  
  1768. slider.object = newSlider
  1769.  
  1770. slider.padding = {
  1771. newSlider.Interact.AbsolutePosition.X,
  1772. newSlider.Interact.AbsolutePosition.X + newSlider.Interact.AbsoluteSize.X
  1773. }
  1774.  
  1775. newSlider.MouseEnter:Connect(function()
  1776. if debounce or slider.active then return end
  1777. tweenService:Create(newSlider, TweenInfo.new(0.4, Enum.EasingStyle.Exponential), {BackgroundTransparency = 0.85}):Play()
  1778. tweenService:Create(newSlider.UIStroke, TweenInfo.new(0.4, Enum.EasingStyle.Exponential), {Transparency = 0.6}):Play()
  1779. tweenService:Create(newSlider.Information, TweenInfo.new(0.4, Enum.EasingStyle.Exponential), {TextTransparency = 0.2}):Play()
  1780. end)
  1781.  
  1782. newSlider.MouseLeave:Connect(function()
  1783. if debounce or slider.active then return end
  1784. tweenService:Create(newSlider, TweenInfo.new(0.4, Enum.EasingStyle.Exponential), {BackgroundTransparency = 0.8}):Play()
  1785. tweenService:Create(newSlider.UIStroke, TweenInfo.new(0.4, Enum.EasingStyle.Exponential), {Transparency = 0.5}):Play()
  1786. tweenService:Create(newSlider.Information, TweenInfo.new(0.4, Enum.EasingStyle.Exponential), {TextTransparency = 0.3}):Play()
  1787. end)
  1788.  
  1789. newSlider.Interact.MouseButton1Down:Connect(function()
  1790. if debounce or not checkSirius() then return end
  1791.  
  1792. slider.active = true
  1793. updateSlider(slider)
  1794.  
  1795. tweenService:Create(slider.object, TweenInfo.new(0.4, Enum.EasingStyle.Exponential), {BackgroundTransparency = 0.9}):Play()
  1796. tweenService:Create(slider.object.UIStroke, TweenInfo.new(0.4, Enum.EasingStyle.Exponential), {Transparency = 1}):Play()
  1797. tweenService:Create(slider.object.Information, TweenInfo.new(0.4, Enum.EasingStyle.Exponential), {TextTransparency = 0.05}):Play()
  1798. end)
  1799.  
  1800. updateSlider(slider, slider.default)
  1801. end
  1802. end
  1803.  
  1804. local function getAdaptiveHighPingThreshold()
  1805. local adaptiveBaselinePings = siriusValues.pingProfile.adaptiveBaselinePings
  1806.  
  1807. if #adaptiveBaselinePings == 0 then
  1808. return siriusValues.pingProfile.adaptiveHighPingThreshold
  1809. end
  1810.  
  1811. table.sort(adaptiveBaselinePings)
  1812. local median
  1813. if #adaptiveBaselinePings % 2 == 0 then
  1814. median = (adaptiveBaselinePings[#adaptiveBaselinePings/2] + adaptiveBaselinePings[#adaptiveBaselinePings/2 + 1]) / 2
  1815. else
  1816. median = adaptiveBaselinePings[math.ceil(#adaptiveBaselinePings/2)]
  1817. end
  1818.  
  1819. return median * siriusValues.pingProfile.spikeThreshold
  1820. end
  1821.  
  1822. local function checkHighPing()
  1823. local recentPings = siriusValues.pingProfile.recentPings
  1824. local adaptiveBaselinePings = siriusValues.pingProfile.adaptiveBaselinePings
  1825.  
  1826. local currentPing = getPing()
  1827. table.insert(recentPings, currentPing)
  1828.  
  1829. if #recentPings > siriusValues.pingProfile.maxSamples then
  1830. table.remove(recentPings, 1)
  1831. end
  1832.  
  1833. if #adaptiveBaselinePings < siriusValues.pingProfile.adaptiveBaselineSamples then
  1834. if currentPing >= 350 then currentPing = 300 end
  1835.  
  1836. table.insert(adaptiveBaselinePings, currentPing)
  1837.  
  1838. return false
  1839. end
  1840.  
  1841. local averagePing = 0
  1842. for _, ping in ipairs(recentPings) do
  1843. averagePing = averagePing + ping
  1844. end
  1845. averagePing = averagePing / #recentPings
  1846.  
  1847. if averagePing > getAdaptiveHighPingThreshold() then
  1848. return true
  1849. end
  1850.  
  1851. return false
  1852. end
  1853.  
  1854. local function checkTools()
  1855. task.wait(0.03)
  1856. if localPlayer.Backpack and localPlayer.Character then
  1857. if localPlayer.Backpack:FindFirstChildOfClass('Tool') or localPlayer.Character:FindFirstChildOfClass('Tool') then
  1858. return true
  1859. end
  1860. else
  1861. return false
  1862. end
  1863. end
  1864.  
  1865. local function closePanel(panelName, openingOther)
  1866. debounce = true
  1867.  
  1868. local button = smartBar.Buttons:FindFirstChild(panelName)
  1869. local panel = UI:FindFirstChild(panelName)
  1870.  
  1871. if not isPanel(panelName) then return end
  1872. if not (panel and button) then return end
  1873.  
  1874. local panelSize = UDim2.new(0, 581, 0, 246)
  1875.  
  1876. if not openingOther then
  1877. if panel.Name == "Character" then -- Character Panel Animation
  1878.  
  1879. tweenService:Create(characterPanel.Interactions.PropertiesTitle, TweenInfo.new(0.8, Enum.EasingStyle.Quint), {TextTransparency = 1}):Play()
  1880.  
  1881. for _, slider in ipairs(characterPanel.Interactions.Sliders:GetChildren()) do
  1882. if slider.ClassName == "Frame" then
  1883. tweenService:Create(slider, TweenInfo.new(0.15, Enum.EasingStyle.Quint), {BackgroundTransparency = 1}):Play()
  1884. tweenService:Create(slider.Progress, TweenInfo.new(0.15, Enum.EasingStyle.Quint), {BackgroundTransparency = 1}):Play()
  1885. tweenService:Create(slider.UIStroke, TweenInfo.new(0.15, Enum.EasingStyle.Quint), {Transparency = 1}):Play()
  1886. tweenService:Create(slider.Shadow, TweenInfo.new(0.15, Enum.EasingStyle.Quint), {ImageTransparency = 1}):Play()
  1887. tweenService:Create(slider.Information, TweenInfo.new(0.15, Enum.EasingStyle.Quint), {TextTransparency = 1}):Play() -- tween the text after
  1888. end
  1889. end
  1890.  
  1891. tweenService:Create(characterPanel.Interactions.Reset, TweenInfo.new(0.25, Enum.EasingStyle.Quint), {ImageTransparency = 1}):Play()
  1892. tweenService:Create(characterPanel.Interactions.ActionsTitle, TweenInfo.new(0.25, Enum.EasingStyle.Quint), {TextTransparency = 1}):Play()
  1893.  
  1894. for _, gridButton in ipairs(characterPanel.Interactions.Grid:GetChildren()) do
  1895. if gridButton.ClassName == "Frame" then
  1896. tweenService:Create(gridButton, TweenInfo.new(0.21, Enum.EasingStyle.Exponential), {BackgroundTransparency = 1}):Play()
  1897. tweenService:Create(gridButton.UIStroke, TweenInfo.new(0.1, Enum.EasingStyle.Exponential), {Transparency = 1}):Play()
  1898. tweenService:Create(gridButton.Icon, TweenInfo.new(0.15, Enum.EasingStyle.Quint), {ImageTransparency = 1}):Play()
  1899. tweenService:Create(gridButton.Shadow, TweenInfo.new(0.15, Enum.EasingStyle.Quint), {ImageTransparency = 1}):Play()
  1900. end
  1901. end
  1902.  
  1903. tweenService:Create(characterPanel.Interactions.Serverhop, TweenInfo.new(.15,Enum.EasingStyle.Quint), {BackgroundTransparency = 1}):Play()
  1904. tweenService:Create(characterPanel.Interactions.Serverhop.Title, TweenInfo.new(.15,Enum.EasingStyle.Quint), {TextTransparency = 1}):Play()
  1905. tweenService:Create(characterPanel.Interactions.Serverhop.UIStroke, TweenInfo.new(.15,Enum.EasingStyle.Quint), {Transparency = 1}):Play()
  1906.  
  1907. tweenService:Create(characterPanel.Interactions.Rejoin, TweenInfo.new(.15,Enum.EasingStyle.Quint), {BackgroundTransparency = 1}):Play()
  1908. tweenService:Create(characterPanel.Interactions.Rejoin.Title, TweenInfo.new(.15,Enum.EasingStyle.Quint), {TextTransparency = 1}):Play()
  1909. tweenService:Create(characterPanel.Interactions.Rejoin.UIStroke, TweenInfo.new(.15,Enum.EasingStyle.Quint), {Transparency = 1}):Play()
  1910.  
  1911. elseif panel.Name == "Scripts" then -- Scripts Panel Animation
  1912.  
  1913. for _, scriptButton in ipairs(scriptsPanel.Interactions.Selection:GetChildren()) do
  1914. if scriptButton.ClassName == "Frame" then
  1915. tweenService:Create(scriptButton, TweenInfo.new(0.15, Enum.EasingStyle.Quint), {BackgroundTransparency = 1}):Play()
  1916. if scriptButton:FindFirstChild('Icon') then tweenService:Create(scriptButton.Icon, TweenInfo.new(0.15, Enum.EasingStyle.Quint), {ImageTransparency = 1}):Play() end
  1917. tweenService:Create(scriptButton.Title, TweenInfo.new(0.15, Enum.EasingStyle.Quint), {TextTransparency = 1}):Play()
  1918. if scriptButton:FindFirstChild('Subtitle') then tweenService:Create(scriptButton.Subtitle, TweenInfo.new(0.15, Enum.EasingStyle.Quint), {TextTransparency = 1}):Play() end
  1919. tweenService:Create(scriptButton.UIStroke, TweenInfo.new(0.15, Enum.EasingStyle.Quint), {Transparency = 1}):Play()
  1920. end
  1921. end
  1922.  
  1923. elseif panel.Name == "Playerlist" then -- Playerlist Panel Animation
  1924.  
  1925. for _, playerIns in ipairs(playerlistPanel.Interactions.List:GetDescendants()) do
  1926. if playerIns.ClassName == "Frame" then
  1927. tweenService:Create(playerIns, TweenInfo.new(0.15, Enum.EasingStyle.Quint), {BackgroundTransparency = 1}):Play()
  1928. elseif playerIns.ClassName == "TextLabel" or playerIns.ClassName == "TextButton" then
  1929. if playerIns.Name == "DisplayName" then
  1930. tweenService:Create(playerIns, TweenInfo.new(0.15, Enum.EasingStyle.Quint), {TextTransparency = 1}):Play()
  1931. else
  1932. tweenService:Create(playerIns, TweenInfo.new(0.15, Enum.EasingStyle.Quint), {TextTransparency = 1}):Play()
  1933. end
  1934. elseif playerIns.ClassName == "ImageLabel" or playerIns.ClassName == "ImageButton" then
  1935. tweenService:Create(playerIns, TweenInfo.new(0.15, Enum.EasingStyle.Quint), {ImageTransparency = 1}):Play()
  1936. if playerIns.Name == "Avatar" then tweenService:Create(playerIns, TweenInfo.new(0.15, Enum.EasingStyle.Quint), {BackgroundTransparency = 1}):Play() end
  1937. elseif playerIns.ClassName == "UIStroke" then
  1938. tweenService:Create(playerIns, TweenInfo.new(0.15, Enum.EasingStyle.Quint), {Transparency = 1}):Play()
  1939. end
  1940. end
  1941.  
  1942. tweenService:Create(playerlistPanel.Interactions.SearchFrame, TweenInfo.new(0.15, Enum.EasingStyle.Quint), {BackgroundTransparency = 1}):Play()
  1943. tweenService:Create(playerlistPanel.Interactions.SearchFrame.Icon, TweenInfo.new(0.15, Enum.EasingStyle.Quint), {ImageTransparency = 1}):Play()
  1944. tweenService:Create(playerlistPanel.Interactions.SearchFrame.SearchBox, TweenInfo.new(0.15, Enum.EasingStyle.Quint), {TextTransparency = 1}):Play()
  1945. tweenService:Create(playerlistPanel.Interactions.SearchFrame.UIStroke, TweenInfo.new(0.15, Enum.EasingStyle.Quint), {Transparency = 1}):Play()
  1946. tweenService:Create(playerlistPanel.Interactions.List, TweenInfo.new(0.2, Enum.EasingStyle.Quint), {ScrollBarImageTransparency = 1}):Play()
  1947.  
  1948. end
  1949.  
  1950. tweenService:Create(panel.Icon, TweenInfo.new(0.2, Enum.EasingStyle.Quint), {ImageTransparency = 1}):Play()
  1951. tweenService:Create(panel.Title, TweenInfo.new(0.2, Enum.EasingStyle.Quint), {TextTransparency = 1}):Play()
  1952. tweenService:Create(panel.UIStroke, TweenInfo.new(0.2, Enum.EasingStyle.Quint), {Transparency = 1}):Play()
  1953. tweenService:Create(panel.Shadow, TweenInfo.new(0.2, Enum.EasingStyle.Quint), {ImageTransparency = 1}):Play()
  1954. task.wait(0.03)
  1955.  
  1956. tweenService:Create(panel, TweenInfo.new(0.75, Enum.EasingStyle.Exponential, Enum.EasingDirection.InOut), {BackgroundTransparency = 1}):Play()
  1957. tweenService:Create(panel, TweenInfo.new(1.1, Enum.EasingStyle.Exponential, Enum.EasingDirection.Out), {Size = button.Size}):Play()
  1958. tweenService:Create(panel, TweenInfo.new(0.65, Enum.EasingStyle.Quint, Enum.EasingDirection.InOut), {Position = siriusValues.buttonPositions[panelName]}):Play()
  1959. tweenService:Create(toggle, TweenInfo.new(0.6, Enum.EasingStyle.Quint, Enum.EasingDirection.InOut), {Position = UDim2.new(0.5, 0, 1, -85)}):Play()
  1960. end
  1961.  
  1962. -- Animate interactive elements
  1963. if openingOther then
  1964. tweenService:Create(panel, TweenInfo.new(0.45, Enum.EasingStyle.Quint), {Position = UDim2.new(0.5, 350, 1, -90)}):Play()
  1965. wipeTransparency(panel, 1, true, true, 0.3)
  1966. end
  1967.  
  1968. task.wait(0.5)
  1969. panel.Size = panelSize
  1970. panel.Visible = false
  1971.  
  1972. debounce = false
  1973. end
  1974.  
  1975. local function openPanel(panelName)
  1976. if debounce then return end
  1977. debounce = true
  1978.  
  1979. local button = smartBar.Buttons:FindFirstChild(panelName)
  1980. local panel = UI:FindFirstChild(panelName)
  1981.  
  1982. if not isPanel(panelName) then return end
  1983. if not (panel and button) then return end
  1984.  
  1985. for _, otherPanel in ipairs(UI:GetChildren()) do
  1986. if smartBar.Buttons:FindFirstChild(otherPanel.Name) then
  1987. if isPanel(otherPanel.Name) and otherPanel.Visible then
  1988. task.spawn(closePanel, otherPanel.Name, true)
  1989. task.wait()
  1990. end
  1991. end
  1992. end
  1993.  
  1994. local panelSize = UDim2.new(0, 581, 0, 246)
  1995.  
  1996. panel.Size = button.Size
  1997. panel.Position = siriusValues.buttonPositions[panelName]
  1998.  
  1999. wipeTransparency(panel, 1, true)
  2000.  
  2001. panel.Visible = true
  2002.  
  2003. tweenService:Create(toggle, TweenInfo.new(0.65, Enum.EasingStyle.Quint), {Position = UDim2.new(0.5, 0, 1, -(panelSize.Y.Offset + 95))}):Play()
  2004.  
  2005. tweenService:Create(panel, TweenInfo.new(0.1, Enum.EasingStyle.Quint), {BackgroundTransparency = 0}):Play()
  2006. tweenService:Create(panel, TweenInfo.new(0.8, Enum.EasingStyle.Exponential), {Size = panelSize}):Play()
  2007. tweenService:Create(panel, TweenInfo.new(0.5, Enum.EasingStyle.Quint), {Position = UDim2.new(0.5, 0, 1, -90)}):Play()
  2008. task.wait(0.1)
  2009. tweenService:Create(panel.Shadow, TweenInfo.new(0.45, Enum.EasingStyle.Quint), {ImageTransparency = 0.7}):Play()
  2010. tweenService:Create(panel.Icon, TweenInfo.new(0.45, Enum.EasingStyle.Quint), {ImageTransparency = 0}):Play()
  2011. task.wait(0.05)
  2012. tweenService:Create(panel.Title, TweenInfo.new(0.45, Enum.EasingStyle.Quint), {TextTransparency = 0}):Play()
  2013. tweenService:Create(panel.UIStroke, TweenInfo.new(0.45, Enum.EasingStyle.Quint), {Transparency = 0.95}):Play()
  2014. task.wait(0.05)
  2015.  
  2016. -- Animate interactive elements
  2017. if panel.Name == "Character" then -- Character Panel Animation
  2018.  
  2019. tweenService:Create(characterPanel.Interactions.PropertiesTitle, TweenInfo.new(0.8, Enum.EasingStyle.Quint), {TextTransparency = 0.65}):Play()
  2020.  
  2021. local sliderInfo = {}
  2022. for _, slider in ipairs(characterPanel.Interactions.Sliders:GetChildren()) do
  2023. if slider.ClassName == "Frame" then
  2024. table.insert(sliderInfo, {slider.Name, slider.Progress.Size, slider.Information.Text})
  2025. slider.Progress.Size = UDim2.new(0, 0, 1, 0)
  2026. slider.Progress.BackgroundTransparency = 0
  2027.  
  2028. tweenService:Create(slider, TweenInfo.new(0.8, Enum.EasingStyle.Quint), {BackgroundTransparency = 0.8}):Play()
  2029. tweenService:Create(slider.UIStroke, TweenInfo.new(0.8, Enum.EasingStyle.Quint), {Transparency = 0.5}):Play()
  2030. tweenService:Create(slider.Shadow, TweenInfo.new(0.8, Enum.EasingStyle.Quint), {ImageTransparency = 0.6}):Play()
  2031. tweenService:Create(slider.Information, TweenInfo.new(0.8, Enum.EasingStyle.Quint), {TextTransparency = 0.3}):Play()
  2032. end
  2033. end
  2034.  
  2035. for _, sliderV in pairs(sliderInfo) do
  2036. if characterPanel.Interactions.Sliders:FindFirstChild(sliderV[1]) then
  2037. local slider = characterPanel.Interactions.Sliders:FindFirstChild(sliderV[1])
  2038. local tweenValue = Instance.new("IntValue", UI)
  2039. local tweenTo
  2040. local name
  2041.  
  2042. for _, sliderFound in ipairs(siriusValues.sliders) do
  2043. if sliderFound.name.." Slider" == slider.Name then
  2044. tweenTo = sliderFound.value
  2045. name = sliderFound.name
  2046. break
  2047. end
  2048. end
  2049.  
  2050. tweenService:Create(slider.Progress, TweenInfo.new(0.8, Enum.EasingStyle.Quint), {Size = sliderV[2]}):Play()
  2051.  
  2052. local function animateNumber(n)
  2053. tweenService:Create(tweenValue, TweenInfo.new(0.35, Enum.EasingStyle.Exponential), {Value = n}):Play()
  2054. task.delay(0.4, tweenValue.Destroy, tweenValue)
  2055. end
  2056.  
  2057. tweenValue:GetPropertyChangedSignal("Value"):Connect(function()
  2058. slider.Information.Text = tostring(tweenValue.Value).." "..name
  2059. end)
  2060.  
  2061. animateNumber(tweenTo)
  2062. end
  2063. end
  2064.  
  2065. tweenService:Create(characterPanel.Interactions.Reset, TweenInfo.new(0.8, Enum.EasingStyle.Quint), {ImageTransparency = 0.7}):Play()
  2066. tweenService:Create(characterPanel.Interactions.ActionsTitle, TweenInfo.new(0.8, Enum.EasingStyle.Quint), {TextTransparency = 0.65}):Play()
  2067.  
  2068. for _, gridButton in ipairs(characterPanel.Interactions.Grid:GetChildren()) do
  2069. if gridButton.ClassName == "Frame" then
  2070. for _, action in ipairs(siriusValues.actions) do
  2071. if action.name == gridButton.Name then
  2072. if action.enabled then
  2073. tweenService:Create(gridButton, TweenInfo.new(0.6, Enum.EasingStyle.Quint), {BackgroundTransparency = 0.1}):Play()
  2074. tweenService:Create(gridButton.UIStroke, TweenInfo.new(0.6, Enum.EasingStyle.Quint), {Transparency = 1}):Play()
  2075. tweenService:Create(gridButton.Icon, TweenInfo.new(0.45, Enum.EasingStyle.Quint), {ImageTransparency = 0.1}):Play()
  2076. else
  2077. tweenService:Create(gridButton, TweenInfo.new(0.4, Enum.EasingStyle.Exponential), {BackgroundTransparency = 0.55}):Play()
  2078. tweenService:Create(gridButton.UIStroke, TweenInfo.new(0.4, Enum.EasingStyle.Exponential), {Transparency = 0.4}):Play()
  2079. tweenService:Create(gridButton.Icon, TweenInfo.new(0.25, Enum.EasingStyle.Quint), {ImageTransparency = 0.5}):Play()
  2080. end
  2081. break
  2082. end
  2083. end
  2084.  
  2085. tweenService:Create(gridButton.Shadow, TweenInfo.new(0.6, Enum.EasingStyle.Quint), {ImageTransparency = 0.6}):Play()
  2086. end
  2087. end
  2088.  
  2089. tweenService:Create(characterPanel.Interactions.Serverhop, TweenInfo.new(.5,Enum.EasingStyle.Quint), {BackgroundTransparency = 0}):Play()
  2090. tweenService:Create(characterPanel.Interactions.Serverhop.Title, TweenInfo.new(.5,Enum.EasingStyle.Quint), {TextTransparency = 0.5}):Play()
  2091. tweenService:Create(characterPanel.Interactions.Serverhop.UIStroke, TweenInfo.new(.5,Enum.EasingStyle.Quint), {Transparency = 0}):Play()
  2092.  
  2093. tweenService:Create(characterPanel.Interactions.Rejoin, TweenInfo.new(.5,Enum.EasingStyle.Quint), {BackgroundTransparency = 0}):Play()
  2094. tweenService:Create(characterPanel.Interactions.Rejoin.Title, TweenInfo.new(.5,Enum.EasingStyle.Quint), {TextTransparency = 0.5}):Play()
  2095. tweenService:Create(characterPanel.Interactions.Rejoin.UIStroke, TweenInfo.new(.5,Enum.EasingStyle.Quint), {Transparency = 0}):Play()
  2096.  
  2097. elseif panel.Name == "Scripts" then -- Scripts Panel Animation
  2098.  
  2099. for _, scriptButton in ipairs(scriptsPanel.Interactions.Selection:GetChildren()) do
  2100. if scriptButton.ClassName == "Frame" then
  2101. tweenService:Create(scriptButton, TweenInfo.new(0.45, Enum.EasingStyle.Quint), {BackgroundTransparency = 0}):Play()
  2102. if scriptButton:FindFirstChild('Icon') then tweenService:Create(scriptButton.Icon, TweenInfo.new(0.45, Enum.EasingStyle.Quint), {ImageTransparency = 0}):Play() end
  2103. tweenService:Create(scriptButton.Title, TweenInfo.new(0.45, Enum.EasingStyle.Quint), {TextTransparency = 0}):Play()
  2104. if scriptButton:FindFirstChild('Subtitle') then tweenService:Create(scriptButton.Subtitle, TweenInfo.new(0.45, Enum.EasingStyle.Quint), {TextTransparency = 0.3}):Play() end
  2105. tweenService:Create(scriptButton.UIStroke, TweenInfo.new(0.45, Enum.EasingStyle.Quint), {Transparency = 0.2}):Play()
  2106. end
  2107. end
  2108.  
  2109. elseif panel.Name == "Playerlist" then -- Playerlist Panel Animation
  2110.  
  2111. for _, playerIns in ipairs(playerlistPanel.Interactions.List:GetDescendants()) do
  2112. if playerIns.Name ~= "Interact" and playerIns.Name ~= "Role" then
  2113. if playerIns.ClassName == "Frame" then
  2114. tweenService:Create(playerIns, TweenInfo.new(0.45, Enum.EasingStyle.Quint), {BackgroundTransparency = 0}):Play()
  2115. elseif playerIns.ClassName == "TextLabel" or playerIns.ClassName == "TextButton" then
  2116. tweenService:Create(playerIns, TweenInfo.new(0.45, Enum.EasingStyle.Quint), {TextTransparency = 0}):Play()
  2117. elseif playerIns.ClassName == "ImageLabel" or playerIns.ClassName == "ImageButton" then
  2118. tweenService:Create(playerIns, TweenInfo.new(0.45, Enum.EasingStyle.Quint), {ImageTransparency = 0}):Play()
  2119. if playerIns.Name == "Avatar" then tweenService:Create(playerIns, TweenInfo.new(0.45, Enum.EasingStyle.Quint), {BackgroundTransparency = 0}):Play() end
  2120. elseif playerIns.ClassName == "UIStroke" then
  2121. tweenService:Create(playerIns, TweenInfo.new(0.45, Enum.EasingStyle.Quint), {Transparency = 0}):Play()
  2122. end
  2123. end
  2124. end
  2125.  
  2126. tweenService:Create(playerlistPanel.Interactions.SearchFrame, TweenInfo.new(0.45, Enum.EasingStyle.Quint), {BackgroundTransparency = 0}):Play()
  2127. tweenService:Create(playerlistPanel.Interactions.SearchFrame.Icon, TweenInfo.new(0.45, Enum.EasingStyle.Quint), {ImageTransparency = 0}):Play()
  2128. task.wait(0.01)
  2129. tweenService:Create(playerlistPanel.Interactions.SearchFrame.SearchBox, TweenInfo.new(0.45, Enum.EasingStyle.Quint), {TextTransparency = 0}):Play()
  2130. tweenService:Create(playerlistPanel.Interactions.SearchFrame.UIStroke, TweenInfo.new(0.45, Enum.EasingStyle.Quint), {Transparency = 0.2}):Play()
  2131. task.wait(0.05)
  2132. tweenService:Create(playerlistPanel.Interactions.List, TweenInfo.new(0.35, Enum.EasingStyle.Quint), {ScrollBarImageTransparency = 0.7}):Play()
  2133.  
  2134. end
  2135.  
  2136. task.wait(0.45)
  2137. debounce = false
  2138. end
  2139.  
  2140. local function rejoin()
  2141. queueNotification("Rejoining Session", "We're queueing a rejoin to this session, give us a moment.", 4400696294)
  2142.  
  2143. if #players:GetPlayers() <= 1 then
  2144. task.wait()
  2145. teleportService:Teleport(placeId, localPlayer)
  2146. else
  2147. teleportService:TeleportToPlaceInstance(placeId, jobId, localPlayer)
  2148. end
  2149. end
  2150.  
  2151. local function serverhop()
  2152. local highestPlayers = 0
  2153. local servers = {}
  2154.  
  2155. for _, v in ipairs(httpService:JSONDecode(game:HttpGetAsync("https://games.roblox.com/v1/games/" .. placeId .. "/servers/Public?sortOrder=Asc&limit=100")).data) do
  2156. if type(v) == "table" and v.maxPlayers > v.playing and v.id ~= jobId then
  2157. if v.playing > highestPlayers then
  2158. highestPlayers = v.playing
  2159. servers[1] = v.id
  2160. end
  2161. end
  2162. end
  2163.  
  2164. if #servers > 0 then
  2165. queueNotification("Teleporting", "We're now moving you to the new session, this may take a few seconds.", 4335479121)
  2166. task.wait(0.3)
  2167. teleportService:TeleportToPlaceInstance(placeId, servers[1])
  2168. else
  2169. return queueNotification("No Servers Found", "We couldn't find another server, this may be the only server.", 4370317928)
  2170. end
  2171.  
  2172. end
  2173.  
  2174. local function ensureFrameProperties()
  2175. UI.Enabled = true
  2176. characterPanel.Visible = false
  2177. customScriptPrompt.Visible = false
  2178. disconnectedPrompt.Visible = false
  2179. playerlistPanel.Interactions.List.Template.Visible = false
  2180. gameDetectionPrompt.Visible = false
  2181. homeContainer.Visible = false
  2182. moderatorDetectionPrompt.Visible = false
  2183. musicPanel.Visible = false
  2184. notificationContainer.Visible = true
  2185. playerlistPanel.Visible = false
  2186. scriptSearch.Visible = false
  2187. scriptsPanel.Visible = false
  2188. settingsPanel.Visible = false
  2189. smartBar.Visible = false
  2190. musicPanel.Playing.Text = "Not Playing"
  2191. if not getcustomasset then smartBar.Buttons.Music.Visible = false end
  2192. toastsContainer.Visible = true
  2193. makeDraggable(settingsPanel)
  2194. makeDraggable(musicPanel)
  2195. end
  2196.  
  2197. local function checkFriends()
  2198. if friendsCooldown == 0 then
  2199.  
  2200. friendsCooldown = 25
  2201.  
  2202. local playersFriends = {}
  2203. local success, page = pcall(players.GetFriendsAsync, players, localPlayer.UserId)
  2204.  
  2205. if success then
  2206. repeat
  2207. local info = page:GetCurrentPage()
  2208. for i, friendInfo in pairs(info) do
  2209. table.insert(playersFriends, friendInfo)
  2210. end
  2211. if not page.IsFinished then
  2212. page:AdvanceToNextPageAsync()
  2213. end
  2214. until page.IsFinished
  2215. end
  2216.  
  2217. local friendsInTotal = 0
  2218. local onlineFriends = 0
  2219. local friendsInGame = 0
  2220.  
  2221. for i,v in pairs(playersFriends) do
  2222. friendsInTotal = friendsInTotal + 1
  2223.  
  2224. if v.IsOnline then
  2225. onlineFriends = onlineFriends + 1
  2226. end
  2227.  
  2228. if players:FindFirstChild(v.Username) then
  2229. friendsInGame = friendsInGame + 1
  2230. end
  2231. end
  2232.  
  2233. if not checkSirius() then return end
  2234.  
  2235. homeContainer.Interactions.Friends.All.Value.Text = tostring(friendsInTotal).." friends"
  2236. homeContainer.Interactions.Friends.Offline.Value.Text = tostring(friendsInTotal - onlineFriends).." friends"
  2237. homeContainer.Interactions.Friends.Online.Value.Text = tostring(onlineFriends).." friends"
  2238. homeContainer.Interactions.Friends.InGame.Value.Text = tostring(friendsInGame).." friends"
  2239.  
  2240. else
  2241. friendsCooldown -= 1
  2242. end
  2243. end
  2244.  
  2245. function promptModerator(player, role)
  2246. local serversAvailable = false
  2247. local promptClosed = false
  2248.  
  2249. if moderatorDetectionPrompt.Visible then return end
  2250.  
  2251. moderatorDetectionPrompt.Size = UDim2.new(0, 283, 0, 175)
  2252. moderatorDetectionPrompt.UIGradient.Offset = Vector2.new(0, 1)
  2253. wipeTransparency(moderatorDetectionPrompt, 1, true)
  2254.  
  2255. moderatorDetectionPrompt.DisplayName.Text = player.DisplayName
  2256. moderatorDetectionPrompt.Rank.Text = role
  2257. moderatorDetectionPrompt.Avatar.Image = "https://www.roblox.com/headshot-thumbnail/image?userId="..player.UserId.."&width=420&height=420&format=png"
  2258.  
  2259. moderatorDetectionPrompt.Visible = true
  2260.  
  2261. for _, v in ipairs(game:GetService("HttpService"):JSONDecode(game:HttpGetAsync("https://games.roblox.com/v1/games/" .. game.PlaceId .. "/servers/Public?sortOrder=Asc&limit=100")).data) do
  2262. if type(v) == "table" and v.maxPlayers > v.playing and v.id ~= game.JobId then
  2263. serversAvailable = true
  2264. end
  2265. end
  2266.  
  2267. if not serversAvailable then
  2268. moderatorDetectionPrompt.Serverhop.Visible = false
  2269. else
  2270. moderatorDetectionPrompt.ServersAvailableFade.Visible = true
  2271. end
  2272.  
  2273. tweenService:Create(moderatorDetectionPrompt, TweenInfo.new(0.5, Enum.EasingStyle.Quint), {BackgroundTransparency = 0}):Play()
  2274. tweenService:Create(moderatorDetectionPrompt, TweenInfo.new(0.8, Enum.EasingStyle.Quint), {Size = UDim2.new(0, 300, 0, 186)}):Play()
  2275. tweenService:Create(moderatorDetectionPrompt.UIGradient, TweenInfo.new(0.8, Enum.EasingStyle.Quint), {Offset = Vector2.new(0, 0.65)}):Play()
  2276. tweenService:Create(moderatorDetectionPrompt.Title, TweenInfo.new(0.5, Enum.EasingStyle.Quint), {TextTransparency = 0}):Play()
  2277. tweenService:Create(moderatorDetectionPrompt.Subtitle, TweenInfo.new(0.5, Enum.EasingStyle.Quint), {TextTransparency = 0}):Play()
  2278. tweenService:Create(moderatorDetectionPrompt.Avatar, TweenInfo.new(0.5, Enum.EasingStyle.Quint), {BackgroundTransparency = 0.7}):Play()
  2279. tweenService:Create(moderatorDetectionPrompt.Avatar, TweenInfo.new(0.5, Enum.EasingStyle.Quint), {ImageTransparency = 0}):Play()
  2280. tweenService:Create(moderatorDetectionPrompt.DisplayName, TweenInfo.new(0.5, Enum.EasingStyle.Quint), {TextTransparency = 0}):Play()
  2281. tweenService:Create(moderatorDetectionPrompt.Rank, TweenInfo.new(0.5, Enum.EasingStyle.Quint), {TextTransparency = 0}):Play()
  2282. tweenService:Create(moderatorDetectionPrompt.Serverhop, TweenInfo.new(0.5, Enum.EasingStyle.Quint), {BackgroundTransparency = 0.7}):Play()
  2283. tweenService:Create(moderatorDetectionPrompt.Leave, TweenInfo.new(0.5, Enum.EasingStyle.Quint), {BackgroundTransparency = 0.7}):Play()
  2284. task.wait(0.2)
  2285. tweenService:Create(moderatorDetectionPrompt.Serverhop, TweenInfo.new(0.5, Enum.EasingStyle.Quint), {TextTransparency = 0}):Play()
  2286. tweenService:Create(moderatorDetectionPrompt.Leave, TweenInfo.new(0.5, Enum.EasingStyle.Quint), {TextTransparency = 0}):Play()
  2287. task.wait(0.3)
  2288. tweenService:Create(moderatorDetectionPrompt.Close, TweenInfo.new(0.5, Enum.EasingStyle.Quint), {ImageTransparency = 0.6}):Play()
  2289.  
  2290. local function closeModPrompt()
  2291. tweenService:Create(moderatorDetectionPrompt, TweenInfo.new(0.5, Enum.EasingStyle.Quint), {BackgroundTransparency = 1}):Play()
  2292. tweenService:Create(moderatorDetectionPrompt, TweenInfo.new(0.5, Enum.EasingStyle.Quint), {Size = UDim2.new(0, 283, 0, 175)}):Play()
  2293. tweenService:Create(moderatorDetectionPrompt.UIGradient, TweenInfo.new(0.5, Enum.EasingStyle.Quint), {Offset = Vector2.new(0, 1)}):Play()
  2294. tweenService:Create(moderatorDetectionPrompt.Title, TweenInfo.new(0.5, Enum.EasingStyle.Quint), {TextTransparency = 1}):Play()
  2295. tweenService:Create(moderatorDetectionPrompt.Subtitle, TweenInfo.new(0.5, Enum.EasingStyle.Quint), {TextTransparency = 1}):Play()
  2296. tweenService:Create(moderatorDetectionPrompt.Avatar, TweenInfo.new(0.5, Enum.EasingStyle.Quint), {BackgroundTransparency = 1}):Play()
  2297. tweenService:Create(moderatorDetectionPrompt.Avatar, TweenInfo.new(0.5, Enum.EasingStyle.Quint), {ImageTransparency = 1}):Play()
  2298. tweenService:Create(moderatorDetectionPrompt.DisplayName, TweenInfo.new(0.5, Enum.EasingStyle.Quint), {TextTransparency = 1}):Play()
  2299. tweenService:Create(moderatorDetectionPrompt.Rank, TweenInfo.new(0.5, Enum.EasingStyle.Quint), {TextTransparency = 1}):Play()
  2300. tweenService:Create(moderatorDetectionPrompt.Serverhop, TweenInfo.new(0.5, Enum.EasingStyle.Quint), {BackgroundTransparency = 1}):Play()
  2301. tweenService:Create(moderatorDetectionPrompt.Leave, TweenInfo.new(0.5, Enum.EasingStyle.Quint), {BackgroundTransparency = 1}):Play()
  2302. tweenService:Create(moderatorDetectionPrompt.Serverhop, TweenInfo.new(0.5, Enum.EasingStyle.Quint), {TextTransparency = 1}):Play()
  2303. tweenService:Create(moderatorDetectionPrompt.Leave, TweenInfo.new(0.5, Enum.EasingStyle.Quint), {TextTransparency = 1}):Play()
  2304. tweenService:Create(moderatorDetectionPrompt.Close, TweenInfo.new(0.5, Enum.EasingStyle.Quint), {ImageTransparency = 1}):Play()
  2305. task.wait(0.5)
  2306. moderatorDetectionPrompt.Visible = false
  2307. end
  2308.  
  2309. moderatorDetectionPrompt.Leave.MouseButton1Click:Connect(function()
  2310. closeModPrompt()
  2311. game:Shutdown()
  2312. end)
  2313.  
  2314. moderatorDetectionPrompt.Serverhop.MouseEnter:Connect(function()
  2315. tweenService:Create(moderatorDetectionPrompt.ServersAvailableFade, TweenInfo.new(0.5, Enum.EasingStyle.Quint), {TextTransparency = 0.5}):Play()
  2316. end)
  2317.  
  2318. moderatorDetectionPrompt.Serverhop.MouseLeave:Connect(function()
  2319. tweenService:Create(moderatorDetectionPrompt.ServersAvailableFade, TweenInfo.new(0.5, Enum.EasingStyle.Quint), {TextTransparency = 1}):Play()
  2320. end)
  2321.  
  2322. moderatorDetectionPrompt.Serverhop.MouseButton1Click:Connect(function()
  2323. if promptClosed then return end
  2324. serverhop()
  2325. closeModPrompt()
  2326. end)
  2327.  
  2328. moderatorDetectionPrompt.Close.MouseButton1Click:Connect(function()
  2329. closeModPrompt()
  2330. promptClosed = true
  2331. end)
  2332. end
  2333.  
  2334. local function UpdateHome()
  2335. if not checkSirius() then return end
  2336.  
  2337. local function format(Int)
  2338. return string.format("%02i", Int)
  2339. end
  2340.  
  2341. local function convertToHMS(Seconds)
  2342. local Minutes = (Seconds - Seconds%60)/60
  2343. Seconds = Seconds - Minutes*60
  2344. local Hours = (Minutes - Minutes%60)/60
  2345. Minutes = Minutes - Hours*60
  2346. return format(Hours)..":"..format(Minutes)..":"..format(Seconds)
  2347. end
  2348.  
  2349. -- Home Title
  2350. homeContainer.Title.Text = "Welcome home, "..localPlayer.DisplayName
  2351.  
  2352. -- Players
  2353. homeContainer.Interactions.Server.Players.Value.Text = #players:GetPlayers().." playing"
  2354. homeContainer.Interactions.Server.MaxPlayers.Value.Text = players.MaxPlayers.." players can join this server"
  2355.  
  2356. -- Ping
  2357. homeContainer.Interactions.Server.Latency.Value.Text = math.floor(getPing()).."ms"
  2358.  
  2359. -- Time
  2360. homeContainer.Interactions.Server.Time.Value.Text = convertToHMS(time())
  2361.  
  2362. -- Region
  2363. homeContainer.Interactions.Server.Region.Value.Text = "Unable to retrieve region"
  2364.  
  2365. -- Player Information
  2366. homeContainer.Interactions.User.Avatar.Image = "https://www.roblox.com/headshot-thumbnail/image?userId="..localPlayer.UserId.."&width=420&height=420&format=png"
  2367. homeContainer.Interactions.User.Title.Text = localPlayer.DisplayName
  2368. homeContainer.Interactions.User.Subtitle.Text = localPlayer.Name
  2369.  
  2370. -- Update Executor
  2371. homeContainer.Interactions.Client.Title.Text = identifyexecutor()
  2372. if not table.find(siriusValues.executors, string.lower(identifyexecutor())) then
  2373. homeContainer.Interactions.Client.Subtitle.Text = "This executor is not verified as supported."
  2374. end
  2375.  
  2376. -- Update Friends Statuses
  2377. checkFriends()
  2378. end
  2379.  
  2380. local function openHome()
  2381. if debounce then return end
  2382. debounce = true
  2383. homeContainer.Visible = true
  2384.  
  2385. local homeBlur = Instance.new("BlurEffect", lighting)
  2386. homeBlur.Size = 0
  2387. homeBlur.Name = "HomeBlur"
  2388.  
  2389. homeContainer.BackgroundTransparency = 1
  2390. homeContainer.Title.TextTransparency = 1
  2391. homeContainer.Subtitle.TextTransparency = 1
  2392.  
  2393. for _, homeItem in ipairs(homeContainer.Interactions:GetChildren()) do
  2394.  
  2395. wipeTransparency(homeItem, 1, true)
  2396.  
  2397. homeItem.Position = UDim2.new(0, homeItem.Position.X.Offset - 20, 0, homeItem.Position.Y.Offset - 20)
  2398. homeItem.Size = UDim2.new(0, homeItem.Size.X.Offset + 30, 0, homeItem.Size.Y.Offset + 20)
  2399.  
  2400. if homeItem.UIGradient.Offset.Y > 0 then
  2401. homeItem.UIGradient.Offset = Vector2.new(0, homeItem.UIGradient.Offset.Y + 3)
  2402. homeItem.UIStroke.UIGradient.Offset = Vector2.new(0, homeItem.UIStroke.UIGradient.Offset.Y + 3)
  2403. else
  2404. homeItem.UIGradient.Offset = Vector2.new(0, homeItem.UIGradient.Offset.Y - 3)
  2405. homeItem.UIStroke.UIGradient.Offset = Vector2.new(0, homeItem.UIStroke.UIGradient.Offset.Y - 3)
  2406. end
  2407. end
  2408.  
  2409. tweenService:Create(homeContainer, TweenInfo.new(0.3, Enum.EasingStyle.Quint), {BackgroundTransparency = 0.9}):Play()
  2410. tweenService:Create(homeBlur, TweenInfo.new(0.3, Enum.EasingStyle.Quint), {Size = 5}):Play()
  2411.  
  2412. tweenService:Create(camera, TweenInfo.new(0.3, Enum.EasingStyle.Quint), {FieldOfView = camera.FieldOfView + 5}):Play()
  2413.  
  2414. task.wait(0.25)
  2415.  
  2416. for _, inGameUI in ipairs(localPlayer:FindFirstChildWhichIsA("PlayerGui"):GetChildren()) do
  2417. if inGameUI:IsA("ScreenGui") then
  2418. if inGameUI.Enabled then
  2419. if not table.find(getgenv().cachedInGameUI, inGameUI.Name) then
  2420. table.insert(getgenv().cachedInGameUI, #getgenv().cachedInGameUI+1, inGameUI.Name)
  2421. end
  2422.  
  2423. inGameUI.Enabled = false
  2424. end
  2425. end
  2426. end
  2427.  
  2428. table.clear(getgenv().cachedCoreUI)
  2429.  
  2430. for _, coreUI in pairs({"PlayerList", "Chat", "EmotesMenu", "Health", "Backpack"}) do
  2431. if game:GetService("StarterGui"):GetCoreGuiEnabled(coreUI) then
  2432. table.insert(getgenv().cachedCoreUI, #getgenv().cachedCoreUI+1, coreUI)
  2433. end
  2434. end
  2435.  
  2436. for _, coreUI in pairs(getgenv().cachedCoreUI) do
  2437. game:GetService("StarterGui"):SetCoreGuiEnabled(coreUI, false)
  2438. end
  2439.  
  2440. createReverb(0.8)
  2441.  
  2442. tweenService:Create(camera, TweenInfo.new(0.8, Enum.EasingStyle.Quint), {FieldOfView = camera.FieldOfView - 40}):Play()
  2443.  
  2444. tweenService:Create(homeContainer, TweenInfo.new(0.8, Enum.EasingStyle.Quint), {BackgroundTransparency = 0.7}):Play()
  2445. tweenService:Create(homeContainer.Title, TweenInfo.new(0.8, Enum.EasingStyle.Quint), {TextTransparency = 0}):Play()
  2446. tweenService:Create(homeContainer.Subtitle, TweenInfo.new(0.8, Enum.EasingStyle.Quint), {TextTransparency = 0.4}):Play()
  2447. tweenService:Create(homeBlur, TweenInfo.new(0.8, Enum.EasingStyle.Quint), {Size = 20}):Play()
  2448.  
  2449. for _, homeItem in ipairs(homeContainer.Interactions:GetChildren()) do
  2450. for _, otherHomeItem in ipairs(homeItem:GetDescendants()) do
  2451. if otherHomeItem.ClassName == "Frame" then
  2452. tweenService:Create(otherHomeItem, TweenInfo.new(0.5, Enum.EasingStyle.Quint), {BackgroundTransparency = 0.7}):Play()
  2453. elseif otherHomeItem.ClassName == "TextLabel" then
  2454. if otherHomeItem.Name == "Title" then
  2455. tweenService:Create(otherHomeItem, TweenInfo.new(0.5, Enum.EasingStyle.Quint), {TextTransparency = 0}):Play()
  2456. else
  2457. tweenService:Create(otherHomeItem, TweenInfo.new(0.5, Enum.EasingStyle.Quint), {TextTransparency = 0.3}):Play()
  2458. end
  2459. elseif otherHomeItem.ClassName == "ImageLabel" then
  2460. tweenService:Create(otherHomeItem, TweenInfo.new(0.5, Enum.EasingStyle.Quint), {BackgroundTransparency = 0.8}):Play()
  2461. tweenService:Create(otherHomeItem, TweenInfo.new(0.5, Enum.EasingStyle.Quint), {ImageTransparency = 0}):Play()
  2462. end
  2463. end
  2464.  
  2465. tweenService:Create(homeItem, TweenInfo.new(0.5, Enum.EasingStyle.Quint), {BackgroundTransparency = 0}):Play()
  2466. tweenService:Create(homeItem.UIStroke, TweenInfo.new(0.5, Enum.EasingStyle.Quint), {Transparency = 0}):Play()
  2467. tweenService:Create(homeItem, TweenInfo.new(0.5, Enum.EasingStyle.Back), {Position = UDim2.new(0, homeItem.Position.X.Offset + 20, 0, homeItem.Position.Y.Offset + 20)}):Play()
  2468. tweenService:Create(homeItem, TweenInfo.new(0.5, Enum.EasingStyle.Back), {Size = UDim2.new(0, homeItem.Size.X.Offset - 30, 0, homeItem.Size.Y.Offset - 20)}):Play()
  2469.  
  2470. task.delay(0.03, function()
  2471. if homeItem.UIGradient.Offset.Y > 0 then
  2472. tweenService:Create(homeItem.UIGradient, TweenInfo.new(1, Enum.EasingStyle.Exponential), {Offset = Vector2.new(0, homeItem.UIGradient.Offset.Y - 3)}):Play()
  2473. tweenService:Create(homeItem.UIStroke.UIGradient, TweenInfo.new(0.5, Enum.EasingStyle.Exponential), {Offset = Vector2.new(0, homeItem.UIStroke.UIGradient.Offset.Y - 3)}):Play()
  2474. else
  2475. tweenService:Create(homeItem.UIGradient, TweenInfo.new(1, Enum.EasingStyle.Exponential), {Offset = Vector2.new(0, homeItem.UIGradient.Offset.Y + 3)}):Play()
  2476. tweenService:Create(homeItem.UIStroke.UIGradient, TweenInfo.new(0.5, Enum.EasingStyle.Exponential), {Offset = Vector2.new(0, homeItem.UIStroke.UIGradient.Offset.Y + 3)}):Play()
  2477. end
  2478. end)
  2479.  
  2480. task.wait(0.02)
  2481. end
  2482.  
  2483. task.wait(0.85)
  2484.  
  2485. debounce = false
  2486. end
  2487.  
  2488. local function closeHome()
  2489. if debounce then return end
  2490. debounce = true
  2491.  
  2492. tweenService:Create(camera, TweenInfo.new(0.6, Enum.EasingStyle.Quint), {FieldOfView = camera.FieldOfView + 35}):Play()
  2493.  
  2494. for _, obj in ipairs(lighting:GetChildren()) do
  2495. if obj.Name == "HomeBlur" then
  2496. tweenService:Create(obj, TweenInfo.new(0.6, Enum.EasingStyle.Quint), {Size = 0}):Play()
  2497. task.delay(0.6, obj.Destroy, obj)
  2498. end
  2499. end
  2500.  
  2501. tweenService:Create(homeContainer, TweenInfo.new(0.8, Enum.EasingStyle.Quint), {BackgroundTransparency = 1}):Play()
  2502. tweenService:Create(homeContainer.Title, TweenInfo.new(0.8, Enum.EasingStyle.Quint), {TextTransparency = 1}):Play()
  2503. tweenService:Create(homeContainer.Subtitle, TweenInfo.new(0.8, Enum.EasingStyle.Quint), {TextTransparency = 1}):Play()
  2504.  
  2505. for _, homeItem in ipairs(homeContainer.Interactions:GetChildren()) do
  2506. for _, otherHomeItem in ipairs(homeItem:GetDescendants()) do
  2507. if otherHomeItem.ClassName == "Frame" then
  2508. tweenService:Create(otherHomeItem, TweenInfo.new(0.5, Enum.EasingStyle.Quint), {BackgroundTransparency = 1}):Play()
  2509. elseif otherHomeItem.ClassName == "TextLabel" then
  2510. if otherHomeItem.Name == "Title" then
  2511. tweenService:Create(otherHomeItem, TweenInfo.new(0.5, Enum.EasingStyle.Quint), {TextTransparency = 1}):Play()
  2512. else
  2513. tweenService:Create(otherHomeItem, TweenInfo.new(0.5, Enum.EasingStyle.Quint), {TextTransparency = 1}):Play()
  2514. end
  2515. elseif otherHomeItem.ClassName == "ImageLabel" then
  2516. tweenService:Create(otherHomeItem, TweenInfo.new(0.5, Enum.EasingStyle.Quint), {BackgroundTransparency = 1}):Play()
  2517. tweenService:Create(otherHomeItem, TweenInfo.new(0.5, Enum.EasingStyle.Quint), {ImageTransparency = 1}):Play()
  2518. end
  2519. end
  2520. tweenService:Create(homeItem, TweenInfo.new(0.5, Enum.EasingStyle.Quint), {BackgroundTransparency = 1}):Play()
  2521. tweenService:Create(homeItem.UIStroke, TweenInfo.new(0.5, Enum.EasingStyle.Quint), {Transparency = 1}):Play()
  2522. end
  2523.  
  2524. task.wait(0.2)
  2525.  
  2526. for _, cachedInGameUIObject in pairs(getgenv().cachedInGameUI) do
  2527. for _, currentPlayerUI in ipairs(localPlayer:FindFirstChildWhichIsA("PlayerGui"):GetChildren()) do
  2528. if table.find(getgenv().cachedInGameUI, currentPlayerUI.Name) then
  2529. currentPlayerUI.Enabled = true
  2530. end
  2531. end
  2532. end
  2533.  
  2534. for _, coreUI in pairs(getgenv().cachedCoreUI) do
  2535. game:GetService("StarterGui"):SetCoreGuiEnabled(coreUI, true)
  2536. end
  2537.  
  2538. removeReverbs(0.5)
  2539.  
  2540. task.wait(0.52)
  2541.  
  2542. homeContainer.Visible = false
  2543. debounce = false
  2544. end
  2545.  
  2546.  
  2547. local function openScriptSearch()
  2548. debounce = true
  2549.  
  2550. scriptSearch.Size = UDim2.new(0, 480, 0, 23)
  2551. scriptSearch.Position = UDim2.new(0.5, 0, 0.5, 0)
  2552. scriptSearch.SearchBox.Position = UDim2.new(0.509, 0, 0.5, 0)
  2553. scriptSearch.Icon.Position = UDim2.new(0.04, 0, 0.5, 0)
  2554. scriptSearch.SearchBox.Text = ""
  2555. scriptSearch.UIGradient.Offset = Vector2.new(0, 2)
  2556. scriptSearch.SearchBox.PlaceholderText = "Search ScriptBlox.com"
  2557. scriptSearch.List.Template.Visible = false
  2558. scriptSearch.List.Visible = false
  2559. scriptSearch.Visible = true
  2560.  
  2561. wipeTransparency(scriptSearch, 1, true)
  2562.  
  2563. tweenService:Create(scriptSearch, TweenInfo.new(.5,Enum.EasingStyle.Quint), {BackgroundTransparency = 0}):Play()
  2564. tweenService:Create(scriptSearch, TweenInfo.new(.5,Enum.EasingStyle.Quint), {Size = UDim2.new(0, 580, 0, 43)}):Play()
  2565. tweenService:Create(scriptSearch.Shadow, TweenInfo.new(.5,Enum.EasingStyle.Quint), {ImageTransparency = 0.85}):Play()
  2566. task.wait(0.03)
  2567. tweenService:Create(scriptSearch.Icon, TweenInfo.new(.5,Enum.EasingStyle.Quint), {ImageTransparency = 0}):Play()
  2568. task.wait(0.02)
  2569. tweenService:Create(scriptSearch.SearchBox, TweenInfo.new(.5,Enum.EasingStyle.Quint), {TextTransparency = 0}):Play()
  2570.  
  2571.  
  2572. task.wait(0.3)
  2573. scriptSearch.SearchBox:CaptureFocus()
  2574. task.wait(0.2)
  2575. debounce = false
  2576. end
  2577.  
  2578. local function closeScriptSearch()
  2579. debounce = true
  2580.  
  2581. wipeTransparency(scriptSearch, 1, false)
  2582.  
  2583. task.wait(0.1)
  2584.  
  2585. scriptSearch.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
  2586. scriptSearch.UIGradient.Enabled = false
  2587. tweenService:Create(scriptSearch, TweenInfo.new(0.4, Enum.EasingStyle.Quint), {Size = UDim2.new(0, 520, 0, 0)}):Play()
  2588. scriptSearch.SearchBox:ReleaseFocus()
  2589.  
  2590. task.wait(0.5)
  2591.  
  2592. for _, createdScript in ipairs(scriptSearch.List:GetChildren()) do
  2593. if createdScript.Name ~= "Placeholder" and createdScript.Name ~= "Template" and createdScript.ClassName == "Frame" then
  2594. createdScript:Destroy()
  2595. end
  2596. end
  2597.  
  2598. task.wait(0.1)
  2599. scriptSearch.BackgroundColor3 = Color3.fromRGB(255 ,255, 255)
  2600. scriptSearch.Visible = false
  2601. scriptSearch.UIGradient.Enabled = true
  2602. debounce = false
  2603. end
  2604.  
  2605. local function createScript(result)
  2606. local newScript = UI.ScriptSearch.List.Template:Clone()
  2607. newScript.Name = result.title
  2608. newScript.Parent = UI.ScriptSearch.List
  2609. newScript.Visible = true
  2610.  
  2611. for _, tag in ipairs(newScript.Tags:GetChildren()) do
  2612. if tag.ClassName == "Frame" then
  2613. tag.Shadow.ImageTransparency = 1
  2614. tag.BackgroundTransparency = 1
  2615. tag.Title.TextTransparency = 1
  2616. end
  2617. end
  2618.  
  2619. task.spawn(function()
  2620. local response
  2621.  
  2622. local success, ErrorStatement = pcall(function()
  2623. local responseRequest = httpRequest({
  2624. Url = "https://www.scriptblox.com/api/script/"..result['slug'],
  2625. Method = "GET"
  2626. })
  2627.  
  2628. response = httpService:JSONDecode(responseRequest.Body)
  2629. end)
  2630.  
  2631. newScript.ScriptDescription.Text = response.script.features
  2632.  
  2633. local likes = response.script.likeCount
  2634. local dislikes = response.script.dislikeCount
  2635.  
  2636. if likes ~= dislikes then
  2637. newScript.Tags.Review.Title.Text = (likes > dislikes) and "Positive Reviews" or "Negative Reviews"
  2638. newScript.Tags.Review.BackgroundColor3 = (likes > dislikes) and Color3.fromRGB(0, 139, 102) or Color3.fromRGB(180, 0, 0)
  2639. newScript.Tags.Review.Size = (likes > dislikes) and UDim2.new(0, 145, 1, 0) or UDim2.new(0, 150, 1, 0)
  2640. elseif likes > 0 then
  2641. newScript.Tags.Review.Title.Text = "Mixed Reviews"
  2642. newScript.Tags.Review.BackgroundColor3 = Color3.fromRGB(198, 132, 0)
  2643. newScript.Tags.Review.Size = UDim2.new(0, 130, 1, 0)
  2644. else
  2645. newScript.Tags.Review.Visible = false
  2646. end
  2647.  
  2648. newScript.ScriptAuthor.Text = "uploaded by "..response.script.owner.username
  2649. newScript.Tags.Verified.Visible = response.script.owner.verified or false
  2650.  
  2651. tweenService:Create(newScript, TweenInfo.new(.5, Enum.EasingStyle.Quint), {BackgroundTransparency = 0.8}):Play()
  2652. tweenService:Create(newScript.ScriptName, TweenInfo.new(.5, Enum.EasingStyle.Quint), {TextTransparency = 0}):Play()
  2653. tweenService:Create(newScript.Execute, TweenInfo.new(.5, Enum.EasingStyle.Quint), {BackgroundTransparency = 0.8}):Play()
  2654. tweenService:Create(newScript.Execute, TweenInfo.new(.5, Enum.EasingStyle.Quint), {TextTransparency = 0}):Play()
  2655.  
  2656. newScript.Tags.Visible = true
  2657.  
  2658. tweenService:Create(newScript.ScriptDescription, TweenInfo.new(.5,Enum.EasingStyle.Quint), {TextTransparency = 0.3}):Play()
  2659. tweenService:Create(newScript.ScriptAuthor, TweenInfo.new(.5, Enum.EasingStyle.Quint), {TextTransparency = 0.7}):Play()
  2660.  
  2661. for _, tag in ipairs(newScript.Tags:GetChildren()) do
  2662. if tag.ClassName == "Frame" then
  2663. tweenService:Create(tag.Shadow, TweenInfo.new(.5, Enum.EasingStyle.Quint), {ImageTransparency = 0.7}):Play()
  2664. tweenService:Create(tag, TweenInfo.new(.5, Enum.EasingStyle.Quint), {BackgroundTransparency = 0}):Play()
  2665. tweenService:Create(tag.Title, TweenInfo.new(.5, Enum.EasingStyle.Quint), {TextTransparency = 0}):Play()
  2666. end
  2667. end
  2668. end)
  2669.  
  2670. wipeTransparency(newScript, 1, true)
  2671.  
  2672. newScript.ScriptName.Text = result.title
  2673.  
  2674.  
  2675. newScript.Tags.Visible = false
  2676. newScript.Tags.Patched.Visible = result.isPatched or false
  2677.  
  2678. newScript.Execute.MouseButton1Click:Connect(function()
  2679. queueNotification("ScriptSearch", "Running "..result.title.. " via ScriptSearch" , 4384403532)
  2680. closeScriptSearch()
  2681. loadstring(result.script)()
  2682. end)
  2683. end
  2684.  
  2685. local function extractDomain(link)
  2686. local domainToReturn = link:match("([%w-_]+%.[%w-_%.]+)")
  2687. return domainToReturn
  2688. end
  2689.  
  2690. local function securityDetection(title, content, link, gradient, actions)
  2691. if not checkSirius() then return end
  2692.  
  2693. local domain = extractDomain(link) or link
  2694. checkFolder()
  2695. local currentAllowlist = isfile and isfile(siriusValues.siriusFolder.."/".."allowedLinks.srs") and readfile(siriusValues.siriusFolder.."/".."allowedLinks.srs") or nil
  2696. if currentAllowlist then currentAllowlist = httpService:JSONDecode(currentAllowlist) if table.find(currentAllowlist, domain) then return true end end
  2697.  
  2698. local newSecurityPrompt = securityPrompt:Clone()
  2699.  
  2700. newSecurityPrompt.Parent = UI
  2701. newSecurityPrompt.Name = link
  2702.  
  2703. wipeTransparency(newSecurityPrompt, 1, true)
  2704. newSecurityPrompt.Size = UDim2.new(0, 478, 0, 150)
  2705.  
  2706. newSecurityPrompt.Title.Text = title
  2707. newSecurityPrompt.Subtitle.Text = content
  2708. newSecurityPrompt.FoundLink.Text = domain
  2709.  
  2710. newSecurityPrompt.Visible = true
  2711. newSecurityPrompt.UIGradient.Color = gradient
  2712.  
  2713. newSecurityPrompt.Buttons.Template.Visible = false
  2714.  
  2715. local function closeSecurityPrompt()
  2716. tweenService:Create(newSecurityPrompt, TweenInfo.new(0.52, Enum.EasingStyle.Quint), {Size = UDim2.new(0, 500, 0, 165)}):Play()
  2717. tweenService:Create(newSecurityPrompt, TweenInfo.new(0.5, Enum.EasingStyle.Quint), {BackgroundTransparency = 1}):Play()
  2718. tweenService:Create(newSecurityPrompt.Title, TweenInfo.new(0.5, Enum.EasingStyle.Quint), {TextTransparency = 1}):Play()
  2719. tweenService:Create(newSecurityPrompt.Subtitle, TweenInfo.new(0.5, Enum.EasingStyle.Quint), {TextTransparency = 1}):Play()
  2720. tweenService:Create(newSecurityPrompt.FoundLink, TweenInfo.new(0.5, Enum.EasingStyle.Quint), {TextTransparency = 1}):Play()
  2721.  
  2722.  
  2723. for _, button in ipairs(newSecurityPrompt.Buttons:GetChildren()) do
  2724. if button.Name ~= "Template" and button.ClassName == "TextButton" then
  2725. tweenService:Create(button, TweenInfo.new(0.3, Enum.EasingStyle.Quint), {BackgroundTransparency = 1}):Play()
  2726. tweenService:Create(button, TweenInfo.new(0.3, Enum.EasingStyle.Quint), {TextTransparency = 1}):Play()
  2727. end
  2728. end
  2729. task.wait(0.55)
  2730. newSecurityPrompt:Destroy()
  2731. end
  2732.  
  2733. local decision
  2734.  
  2735. for _, action in ipairs(actions) do
  2736. local newAction = newSecurityPrompt.Buttons.Template:Clone()
  2737. newAction.Name = action[1]
  2738. newAction.Text = action[1]
  2739. newAction.Parent = newSecurityPrompt.Buttons
  2740. newAction.Visible = true
  2741. newAction.Size = UDim2.new(0, newAction.TextBounds.X + 50, 0, 36) -- textbounds
  2742.  
  2743. newAction.MouseButton1Click:Connect(function()
  2744. if action[2] then
  2745. if action[3] then
  2746. checkFolder()
  2747. if currentAllowlist then
  2748. table.insert(currentAllowlist, domain)
  2749. writefile(siriusValues.siriusFolder.."/".."allowedLinks.srs", httpService:JSONEncode(currentAllowlist))
  2750. else
  2751. writefile(siriusValues.siriusFolder.."/".."allowedLinks.srs", httpService:JSONEncode({domain}))
  2752. end
  2753. end
  2754. decision = true
  2755. else
  2756. decision = false
  2757. end
  2758.  
  2759. closeSecurityPrompt()
  2760. end)
  2761. end
  2762.  
  2763. tweenService:Create(newSecurityPrompt, TweenInfo.new(0.4, Enum.EasingStyle.Quint), {Size = UDim2.new(0, 576, 0, 181)}):Play()
  2764. tweenService:Create(newSecurityPrompt, TweenInfo.new(0.5, Enum.EasingStyle.Quint), {BackgroundTransparency = 0}):Play()
  2765. tweenService:Create(newSecurityPrompt.Title, TweenInfo.new(0.5, Enum.EasingStyle.Quint), {TextTransparency = 0}):Play()
  2766. tweenService:Create(newSecurityPrompt.Subtitle, TweenInfo.new(0.5, Enum.EasingStyle.Quint), {TextTransparency = 0.3}):Play()
  2767. task.wait(0.03)
  2768. tweenService:Create(newSecurityPrompt.FoundLink, TweenInfo.new(0.5, Enum.EasingStyle.Quint), {TextTransparency = 0.2}):Play()
  2769.  
  2770. task.wait(0.1)
  2771.  
  2772. for _, button in ipairs(newSecurityPrompt.Buttons:GetChildren()) do
  2773. if button.Name ~= "Template" and button.ClassName == "TextButton" then
  2774. tweenService:Create(button, TweenInfo.new(0.5, Enum.EasingStyle.Quint), {BackgroundTransparency = 0.7}):Play()
  2775. tweenService:Create(button, TweenInfo.new(0.5, Enum.EasingStyle.Quint), {TextTransparency = 0.05}):Play()
  2776. task.wait(0.1)
  2777. end
  2778. end
  2779.  
  2780. newSecurityPrompt.FoundLink.MouseEnter:Connect(function()
  2781. newSecurityPrompt.FoundLink.Text = link
  2782. tweenService:Create(newSecurityPrompt.FoundLink, TweenInfo.new(0.5, Enum.EasingStyle.Quint), {TextTransparency = 0.4}):Play()
  2783. end)
  2784.  
  2785. newSecurityPrompt.FoundLink.MouseLeave:Connect(function()
  2786. newSecurityPrompt.FoundLink.Text = domain
  2787. tweenService:Create(newSecurityPrompt.FoundLink, TweenInfo.new(0.5, Enum.EasingStyle.Quint), {TextTransparency = 0.2}):Play()
  2788. end)
  2789.  
  2790. repeat task.wait() until decision
  2791. return decision
  2792. end
  2793.  
  2794. if Essential or Pro then
  2795. getgenv()[index] = function(data)
  2796. if checkSirius() and checkSetting("Intelligent HTTP Interception").current then
  2797. local title = "Do you trust this source?"
  2798. local content = "Sirius has prevented data from being sent off-client, would you like to allow data to be sent or retrieved from this source?"
  2799. local url = data.Url or "Unknown Link"
  2800. local gradient = ColorSequence.new({ColorSequenceKeypoint.new(0, Color3.new(0, 0, 0)),ColorSequenceKeypoint.new(1, Color3.new(0.764706, 0.305882, 0.0941176))})
  2801. local actions = {{"Always Allow", true, true}, {"Allow just this once", true}, {"Don't Allow", false}}
  2802.  
  2803. if url == "http://127.0.0.1:6463/rpc?v=1" then
  2804. local bodyDecoded = httpService:JSONDecode(data.Body)
  2805.  
  2806. if bodyDecoded.cmd == "INVITE_BROWSER" then
  2807. title = "Would you like to join this Discord server?"
  2808. content = "Sirius has prevented your Discord client from automatically joining this Discord server, would you like to continue and join, or block it?"
  2809. url = bodyDecoded.args and "discord.gg/"..bodyDecoded.args.code or "Unknown Invite"
  2810. gradient = ColorSequence.new({ColorSequenceKeypoint.new(0, Color3.new(0, 0, 0)),ColorSequenceKeypoint.new(1, Color3.new(0.345098, 0.396078, 0.94902))})
  2811. actions = {{"Allow", true}, {"Don't Allow", false}}
  2812. end
  2813. end
  2814.  
  2815. local answer = securityDetection(title, content, url, gradient, actions)
  2816.  
  2817.  
  2818. if answer then
  2819. return originalRequest(data)
  2820. else
  2821. return
  2822. end
  2823. else
  2824. return originalRequest(data)
  2825. end
  2826. end
  2827.  
  2828. getgenv()[indexSetClipboard] = function(data)
  2829. if checkSirius() and checkSetting("Intelligent Clipboard Interception").current then
  2830. local title = "Would you like to copy this to your clipboard?"
  2831. local content = "Sirius has prevented a script from setting the below text to your clipboard, would you like to allow this, or prevent it from copying?"
  2832. local url = data or "Unknown Clipboard"
  2833. local gradient = ColorSequence.new({ColorSequenceKeypoint.new(0, Color3.new(0, 0, 0)),ColorSequenceKeypoint.new(1, Color3.new(0.776471, 0.611765, 0.529412))})
  2834. local actions = {{"Allow", true}, {"Don't Allow", false}}
  2835.  
  2836. local answer = securityDetection(title, content, url, gradient, actions)
  2837.  
  2838. if answer then
  2839. return originalSetClipboard(data)
  2840. else
  2841. return
  2842. end
  2843. else
  2844. return originalSetClipboard(data)
  2845. end
  2846. end
  2847. end
  2848.  
  2849.  
  2850. local function searchScriptBlox(query)
  2851. local response
  2852.  
  2853. local success, ErrorStatement = pcall(function()
  2854. local responseRequest = httpRequest({
  2855. Url = "https://scriptblox.com/api/script/search?q="..httpService:UrlEncode(query).."&mode=free&max=20&page=1",
  2856. Method = "GET"
  2857. })
  2858.  
  2859. response = httpService:JSONDecode(responseRequest.Body)
  2860. end)
  2861.  
  2862. if not success then
  2863. queueNotification("ScriptSearch", "ScriptSearch backend encountered an error, try again later", 4384402990)
  2864. closeScriptSearch()
  2865. return
  2866. end
  2867.  
  2868. tweenService:Create(scriptSearch.NoScriptsTitle, TweenInfo.new(.5,Enum.EasingStyle.Quint), {TextTransparency = 1}):Play()
  2869. tweenService:Create(scriptSearch.NoScriptsDesc, TweenInfo.new(.5,Enum.EasingStyle.Quint), {TextTransparency = 1}):Play()
  2870.  
  2871. for _, createdScript in ipairs(scriptSearch.List:GetChildren()) do
  2872. if createdScript.Name ~= "Placeholder" and createdScript.Name ~= "Template" and createdScript.ClassName == "Frame" then
  2873. wipeTransparency(createdScript, 1, true)
  2874. end
  2875. end
  2876.  
  2877. scriptSearch.List.Visible = true
  2878. task.wait(0.5)
  2879.  
  2880. scriptSearch.List.CanvasPosition = Vector2.new(0,0)
  2881.  
  2882. for _, createdScript in ipairs(scriptSearch.List:GetChildren()) do
  2883. if createdScript.Name ~= "Placeholder" and createdScript.Name ~= "Template" and createdScript.ClassName == "Frame" then
  2884. createdScript:Destroy()
  2885. end
  2886. end
  2887.  
  2888. tweenService:Create(scriptSearch, TweenInfo.new(.5,Enum.EasingStyle.Quint), {Size = UDim2.new(0, 580, 0, 529)}):Play()
  2889. tweenService:Create(scriptSearch.Icon, TweenInfo.new(.5,Enum.EasingStyle.Quint), {Position = UDim2.new(0.054, 0, 0.056, 0)}):Play()
  2890. tweenService:Create(scriptSearch.SearchBox, TweenInfo.new(.5,Enum.EasingStyle.Quint), {Position = UDim2.new(0.523, 0, 0.056, 0)}):Play()
  2891. tweenService:Create(scriptSearch.UIGradient, TweenInfo.new(.5,Enum.EasingStyle.Quint), {Offset = Vector2.new(0, 0.6)}):Play()
  2892.  
  2893. if response then
  2894. local scriptCreated = false
  2895. for _, scriptResult in pairs(response.result.scripts) do
  2896. local success, response = pcall(function()
  2897. createScript(scriptResult)
  2898. end)
  2899.  
  2900. scriptCreated = true
  2901. end
  2902.  
  2903. if not scriptCreated then
  2904. task.wait(0.2)
  2905. tweenService:Create(scriptSearch.NoScriptsTitle, TweenInfo.new(.5,Enum.EasingStyle.Quint), {TextTransparency = 0}):Play()
  2906. task.wait(0.1)
  2907. tweenService:Create(scriptSearch.NoScriptsDesc, TweenInfo.new(.5,Enum.EasingStyle.Quint), {TextTransparency = 0}):Play()
  2908. else
  2909. tweenService:Create(scriptSearch.List, TweenInfo.new(.3,Enum.EasingStyle.Quint), {ScrollBarImageTransparency = 0}):Play()
  2910. end
  2911. else
  2912. queueNotification("ScriptSearch", "ScriptSearch backend encountered an error, try again later", 4384402990)
  2913. closeScriptSearch()
  2914. return
  2915. end
  2916. end
  2917.  
  2918. local function openSmartBar()
  2919. smartBarOpen = true
  2920.  
  2921. coreGui.RobloxGui.Backpack.Position = UDim2.new(0,0,0,0)
  2922.  
  2923. -- Set Values for frame properties
  2924. smartBar.BackgroundTransparency = 1
  2925. smartBar.Time.TextTransparency = 1
  2926. smartBar.UIStroke.Transparency = 1
  2927. smartBar.Shadow.ImageTransparency = 1
  2928. smartBar.Visible = true
  2929. smartBar.Position = UDim2.new(0.5, 0, 1.05, 0)
  2930. smartBar.Size = UDim2.new(0, 531, 0, 64)
  2931. toggle.Rotation = 180
  2932. toggle.Visible = not checkSetting("Hide Toggle Button").current
  2933.  
  2934. if checkTools() then
  2935. toggle.Position = UDim2.new(0.5,0,1,-68)
  2936. else
  2937. toggle.Position = UDim2.new(0.5, 0, 1, -5)
  2938. end
  2939.  
  2940. for _, button in ipairs(smartBar.Buttons:GetChildren()) do
  2941. button.UIGradient.Rotation = -120
  2942. button.UIStroke.UIGradient.Rotation = -120
  2943. button.Size = UDim2.new(0,30,0,30)
  2944. button.Position = UDim2.new(button.Position.X.Scale, 0, 1.3, 0)
  2945. button.BackgroundTransparency = 1
  2946. button.UIStroke.Transparency = 1
  2947. button.Icon.ImageTransparency = 1
  2948. end
  2949.  
  2950. tweenService:Create(coreGui.RobloxGui.Backpack, TweenInfo.new(0.6, Enum.EasingStyle.Quint), {Position = UDim2.new(-0.325,0,0,0)}):Play()
  2951.  
  2952. tweenService:Create(toggle, TweenInfo.new(0.82, Enum.EasingStyle.Quint), {Rotation = 0}):Play()
  2953. tweenService:Create(smartBar, TweenInfo.new(0.7, Enum.EasingStyle.Quint), {Position = UDim2.new(0.5, 0, 1, -12)}):Play()
  2954. tweenService:Create(toastsContainer, TweenInfo.new(0.5, Enum.EasingStyle.Quint), {Position = UDim2.new(0.5, 0, 1, -110)}):Play()
  2955. tweenService:Create(toggle, TweenInfo.new(0.7, Enum.EasingStyle.Quint), {Position = UDim2.new(0.5, 0, 1, -85)}):Play()
  2956. tweenService:Create(smartBar, TweenInfo.new(0.6, Enum.EasingStyle.Quint), {Size = UDim2.new(0,581,0,70)}):Play()
  2957. tweenService:Create(smartBar, TweenInfo.new(0.8, Enum.EasingStyle.Quint), {BackgroundTransparency = 0}):Play()
  2958. tweenService:Create(smartBar.Shadow, TweenInfo.new(0.8, Enum.EasingStyle.Quint), {ImageTransparency = 0.7}):Play()
  2959. tweenService:Create(smartBar.Time, TweenInfo.new(0.8, Enum.EasingStyle.Quint), {TextTransparency = 0}):Play()
  2960. tweenService:Create(smartBar.UIStroke, TweenInfo.new(0.8, Enum.EasingStyle.Quint), {Transparency = 0.95}):Play()
  2961. tweenService:Create(toggle, TweenInfo.new(0.3, Enum.EasingStyle.Quint), {ImageTransparency = 0}):Play()
  2962.  
  2963. for _, button in ipairs(smartBar.Buttons:GetChildren()) do
  2964. tweenService:Create(button.UIStroke, TweenInfo.new(0.8, Enum.EasingStyle.Quint), {Transparency = 0}):Play()
  2965. tweenService:Create(button, TweenInfo.new(0.8, Enum.EasingStyle.Quint), {Size = UDim2.new(0, 36, 0, 36)}):Play()
  2966. tweenService:Create(button.UIGradient, TweenInfo.new(1, Enum.EasingStyle.Quint), {Rotation = 50}):Play()
  2967. tweenService:Create(button.UIStroke.UIGradient, TweenInfo.new(1, Enum.EasingStyle.Quint), {Rotation = 50}):Play()
  2968. tweenService:Create(button, TweenInfo.new(0.8, Enum.EasingStyle.Exponential), {Position = UDim2.new(button.Position.X.Scale, 0, 0.5, 0)}):Play()
  2969. tweenService:Create(button, TweenInfo.new(0.8, Enum.EasingStyle.Quint), {BackgroundTransparency = 0}):Play()
  2970. tweenService:Create(button.Icon, TweenInfo.new(0.8, Enum.EasingStyle.Quint), {ImageTransparency = 0}):Play()
  2971. task.wait(0.03)
  2972. end
  2973. end
  2974.  
  2975. local function closeSmartBar()
  2976. smartBarOpen = false
  2977.  
  2978. for _, otherPanel in ipairs(UI:GetChildren()) do
  2979. if smartBar.Buttons:FindFirstChild(otherPanel.Name) then
  2980. if isPanel(otherPanel.Name) and otherPanel.Visible then
  2981. task.spawn(closePanel, otherPanel.Name, true)
  2982. task.wait()
  2983. end
  2984. end
  2985. end
  2986.  
  2987. tweenService:Create(smartBar.Time, TweenInfo.new(0.4, Enum.EasingStyle.Quint), {TextTransparency = 1}):Play()
  2988. for _, Button in ipairs(smartBar.Buttons:GetChildren()) do
  2989. tweenService:Create(Button.UIStroke, TweenInfo.new(0.3, Enum.EasingStyle.Quint), {Transparency = 1}):Play()
  2990. tweenService:Create(Button, TweenInfo.new(0.3, Enum.EasingStyle.Quint), {Size = UDim2.new(0, 30, 0, 30)}):Play()
  2991. tweenService:Create(Button, TweenInfo.new(0.3, Enum.EasingStyle.Quint), {BackgroundTransparency = 1}):Play()
  2992. tweenService:Create(Button.Icon, TweenInfo.new(0.3, Enum.EasingStyle.Quint), {ImageTransparency = 1}):Play()
  2993. end
  2994.  
  2995. tweenService:Create(coreGui.RobloxGui.Backpack, TweenInfo.new(0.6, Enum.EasingStyle.Quint), {Position = UDim2.new(0, 0, 0, 0)}):Play()
  2996.  
  2997. tweenService:Create(smartBar, TweenInfo.new(0.3, Enum.EasingStyle.Quint, Enum.EasingDirection.InOut), {BackgroundTransparency = 1}):Play()
  2998. tweenService:Create(smartBar.UIStroke, TweenInfo.new(0.3, Enum.EasingStyle.Quint), {Transparency = 1}):Play()
  2999. tweenService:Create(smartBar.Shadow, TweenInfo.new(0.3, Enum.EasingStyle.Quint), {ImageTransparency = 1}):Play()
  3000. tweenService:Create(smartBar, TweenInfo.new(0.5, Enum.EasingStyle.Back), {Size = UDim2.new(0,531,0,64)}):Play()
  3001. tweenService:Create(smartBar, TweenInfo.new(0.5, Enum.EasingStyle.Quint, Enum.EasingDirection.InOut), {Position = UDim2.new(0.5, 0,1, 73)}):Play()
  3002.  
  3003. -- If tools, move the toggle
  3004. if checkTools() then
  3005. tweenService:Create(toggle, TweenInfo.new(0.5, Enum.EasingStyle.Quint, Enum.EasingDirection.InOut), {Position = UDim2.new(0.5,0,1,-68)}):Play()
  3006. tweenService:Create(toastsContainer, TweenInfo.new(0.5, Enum.EasingStyle.Quint, Enum.EasingDirection.InOut), {Position = UDim2.new(0.5, 0, 1, -90)}):Play()
  3007. tweenService:Create(toggle, TweenInfo.new(0.5, Enum.EasingStyle.Quint), {Rotation = 180}):Play()
  3008. else
  3009. tweenService:Create(toastsContainer, TweenInfo.new(0.5, Enum.EasingStyle.Quint, Enum.EasingDirection.InOut), {Position = UDim2.new(0.5, 0, 1, -28)}):Play()
  3010. tweenService:Create(toggle, TweenInfo.new(0.45, Enum.EasingStyle.Quint, Enum.EasingDirection.InOut), {Position = UDim2.new(0.5, 0, 1, -5)}):Play()
  3011. tweenService:Create(toggle, TweenInfo.new(0.7, Enum.EasingStyle.Quint), {Rotation = 180}):Play()
  3012. end
  3013. end
  3014.  
  3015. local function windowFocusChanged(value)
  3016. if checkSirius() then
  3017. if value then -- Window Focused
  3018. setfpscap(tonumber(checkSetting("Artificial FPS Limit").current))
  3019. removeReverbs(0.5)
  3020. else -- Window unfocused
  3021. if checkSetting("Muffle audio while unfocused").current then createReverb(0.7) end
  3022. if checkSetting("Limit FPS while unfocused").current then setfpscap(60) end
  3023. end
  3024. end
  3025. end
  3026.  
  3027. local function onChatted(player, message)
  3028. local enabled = checkSetting("Chat Spy").current and siriusValues.chatSpy.enabled
  3029. local chatSpyVisuals = siriusValues.chatSpy.visual
  3030.  
  3031. if not message or not checkSirius() then return end
  3032.  
  3033. if enabled and player ~= localPlayer then
  3034. local message2 = message:gsub("[\n\r]",''):gsub("\t",' '):gsub("[ ]+",' ')
  3035. local hidden = true
  3036.  
  3037. local get = getMessage.OnClientEvent:Connect(function(packet, channel)
  3038. if packet.SpeakerUserId == player.UserId and packet.Message == message2:sub(#message2-#packet.Message+1) and (channel=="All" or (channel=="Team" and players[packet.FromSpeaker].Team == localPlayer.Team)) then
  3039. hidden = false
  3040. end
  3041. end)
  3042.  
  3043. task.wait(1)
  3044.  
  3045. get:Disconnect()
  3046.  
  3047. if hidden and enabled then
  3048. chatSpyVisuals.Text = "Sirius Spy - [".. player.Name .."]: "..message2
  3049. starterGui:SetCore("ChatMakeSystemMessage", chatSpyVisuals)
  3050. end
  3051. end
  3052.  
  3053. if checkSetting("Log Messages").current then
  3054. local logData = {
  3055. ["content"] = message,
  3056. ["avatar_url"] = "https://www.roblox.com/headshot-thumbnail/image?userId="..player.UserId.."&width=420&height=420&format=png",
  3057. ["username"] = player.DisplayName,
  3058. ["allowed_mentions"] = {parse = {}}
  3059. }
  3060.  
  3061. logData = httpService:JSONEncode(logData)
  3062.  
  3063. pcall(function()
  3064. local req = originalRequest({
  3065. Url = checkSetting("Message Webhook URL").current,
  3066. Method = 'POST',
  3067. Headers = {
  3068. ['Content-Type'] = 'application/json',
  3069. },
  3070. Body = logData
  3071. })
  3072. end)
  3073. end
  3074. end
  3075.  
  3076. local function sortPlayers()
  3077. local newTable = playerlistPanel.Interactions.List:GetChildren()
  3078.  
  3079. for index, player in ipairs(newTable) do
  3080. if player.ClassName ~= "Frame" or player.Name == "Placeholder" then
  3081. table.remove(newTable, index)
  3082. end
  3083. end
  3084.  
  3085. table.sort(newTable, function(playerA, playerB)
  3086. return playerA.Name < playerB.Name
  3087. end)
  3088.  
  3089. for index, frame in ipairs(newTable) do
  3090. if frame.ClassName == "Frame" then
  3091. if frame.Name ~= "Placeholder" then
  3092. frame.LayoutOrder = index
  3093. end
  3094. end
  3095. end
  3096. end
  3097.  
  3098. local function kill(player)
  3099. -- kill
  3100. end
  3101.  
  3102. local function teleportTo(player)
  3103. if players:FindFirstChild(player.Name) then
  3104. queueNotification("Teleportation", "Teleporting to "..player.DisplayName..".")
  3105.  
  3106. local target = workspace:FindFirstChild(player.Name).HumanoidRootPart
  3107. localPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(target.Position.X, target.Position.Y, target.Position.Z)
  3108. else
  3109. queueNotification("Teleportation Error", player.DisplayName.." has left this server.")
  3110. end
  3111. end
  3112.  
  3113. local function createPlayer(player)
  3114. if not checkSirius() then return end
  3115.  
  3116. if playerlistPanel.Interactions.List:FindFirstChild(player.DisplayName) then return end
  3117.  
  3118. local newPlayer = playerlistPanel.Interactions.List.Template:Clone()
  3119. newPlayer.Name = player.DisplayName
  3120. newPlayer.Parent = playerlistPanel.Interactions.List
  3121. newPlayer.Visible = not searchingForPlayer
  3122.  
  3123. newPlayer.NoActions.Visible = false
  3124. newPlayer.PlayerInteractions.Visible = false
  3125. newPlayer.Role.Visible = false
  3126.  
  3127. newPlayer.Size = UDim2.new(0, 539, 0, 45)
  3128. newPlayer.DisplayName.Position = UDim2.new(0, 53, 0.5, 0)
  3129. newPlayer.DisplayName.Size = UDim2.new(0, 224, 0, 16)
  3130. newPlayer.Avatar.Size = UDim2.new(0, 30, 0, 30)
  3131.  
  3132. sortPlayers()
  3133.  
  3134. newPlayer.DisplayName.TextTransparency = 0
  3135. newPlayer.DisplayName.TextScaled = true
  3136. newPlayer.DisplayName.FontFace.Weight = Enum.FontWeight.Medium
  3137. newPlayer.DisplayName.Text = player.DisplayName
  3138. newPlayer.Avatar.Image = "https://www.roblox.com/headshot-thumbnail/image?userId="..player.UserId.."&width=420&height=420&format=png"
  3139.  
  3140. if creatorType == Enum.CreatorType.Group then
  3141. task.spawn(function()
  3142. local role = player:GetRoleInGroup(creatorId)
  3143. if role == "Guest" then
  3144. newPlayer.Role.Text = "Group Rank: None"
  3145. else
  3146. newPlayer.Role.Text = "Group Rank: "..role
  3147. end
  3148.  
  3149. newPlayer.Role.Visible = true
  3150. newPlayer.Role.TextTransparency = 1
  3151. end)
  3152. end
  3153.  
  3154. local function openInteractions()
  3155. if newPlayer.PlayerInteractions.Visible then return end
  3156.  
  3157. newPlayer.PlayerInteractions.BackgroundTransparency = 1
  3158. for _, interaction in ipairs(newPlayer.PlayerInteractions:GetChildren()) do
  3159. if interaction.ClassName == "Frame" and interaction.Name ~= "Placeholder" then
  3160. interaction.BackgroundTransparency = 1
  3161. interaction.Shadow.ImageTransparency = 1
  3162. interaction.Icon.ImageTransparency = 1
  3163. interaction.UIStroke.Transparency = 1
  3164. end
  3165. end
  3166.  
  3167. newPlayer.PlayerInteractions.Visible = true
  3168.  
  3169. for _, interaction in ipairs(newPlayer.PlayerInteractions:GetChildren()) do
  3170. if interaction.ClassName == "Frame" and interaction.Name ~= "Placeholder" then
  3171. tweenService:Create(interaction.UIStroke, TweenInfo.new(0.5, Enum.EasingStyle.Quint), {Transparency = 0}):Play()
  3172. tweenService:Create(interaction.Icon, TweenInfo.new(0.5, Enum.EasingStyle.Quint), {ImageTransparency = 0}):Play()
  3173. tweenService:Create(interaction.Shadow, TweenInfo.new(0.5, Enum.EasingStyle.Quint), {ImageTransparency = 0.7}):Play()
  3174. tweenService:Create(interaction, TweenInfo.new(0.5, Enum.EasingStyle.Quint), {BackgroundTransparency = 0}):Play()
  3175. end
  3176. end
  3177. end
  3178.  
  3179. local function closeInteractions()
  3180. if not newPlayer.PlayerInteractions.Visible then return end
  3181. for _, interaction in ipairs(newPlayer.PlayerInteractions:GetChildren()) do
  3182. if interaction.ClassName == "Frame" and interaction.Name ~= "Placeholder" then
  3183. tweenService:Create(interaction.UIStroke, TweenInfo.new(0.3, Enum.EasingStyle.Quint), {Transparency = 1}):Play()
  3184. tweenService:Create(interaction.Icon, TweenInfo.new(0.3, Enum.EasingStyle.Quint), {ImageTransparency = 1}):Play()
  3185. tweenService:Create(interaction.Shadow, TweenInfo.new(0.3, Enum.EasingStyle.Quint), {ImageTransparency = 1}):Play()
  3186. tweenService:Create(interaction, TweenInfo.new(0.3, Enum.EasingStyle.Quint), {BackgroundTransparency = 1}):Play()
  3187. end
  3188. end
  3189. task.wait(0.35)
  3190. newPlayer.PlayerInteractions.Visible = false
  3191. end
  3192.  
  3193. newPlayer.MouseEnter:Connect(function()
  3194. if debounce or not playerlistPanel.Visible then return end
  3195. tweenService:Create(newPlayer.UIStroke, TweenInfo.new(0.5, Enum.EasingStyle.Quint), {Transparency = 1}):Play()
  3196. tweenService:Create(newPlayer.DisplayName, TweenInfo.new(0.5, Enum.EasingStyle.Quint), {TextTransparency = 0.3}):Play()
  3197. end)
  3198.  
  3199. newPlayer.MouseLeave:Connect(function()
  3200. if debounce or not playerlistPanel.Visible then return end
  3201. task.spawn(closeInteractions)
  3202. tweenService:Create(newPlayer.DisplayName, TweenInfo.new(0.5, Enum.EasingStyle.Quint), {Position = UDim2.new(0, 53, 0.5, 0)}):Play()
  3203. tweenService:Create(newPlayer, TweenInfo.new(0.5, Enum.EasingStyle.Quint), {Size = UDim2.new(0, 539, 0, 45)}):Play()
  3204. tweenService:Create(newPlayer.Avatar, TweenInfo.new(0.5, Enum.EasingStyle.Quint), {Size = UDim2.new(0, 30, 0, 30)}):Play()
  3205. tweenService:Create(newPlayer.UIStroke, TweenInfo.new(0.5, Enum.EasingStyle.Quint), {Transparency = 0}):Play()
  3206. tweenService:Create(newPlayer.DisplayName, TweenInfo.new(0.5, Enum.EasingStyle.Quint), {TextTransparency = 0}):Play()
  3207. tweenService:Create(newPlayer.Role, TweenInfo.new(0.5, Enum.EasingStyle.Quint), {TextTransparency = 1}):Play()
  3208. end)
  3209.  
  3210. newPlayer.Interact.MouseButton1Click:Connect(function()
  3211. if debounce or not playerlistPanel.Visible then return end
  3212. if creatorType == Enum.CreatorType.Group then
  3213. tweenService:Create(newPlayer.DisplayName, TweenInfo.new(0.5, Enum.EasingStyle.Quint), {Position = UDim2.new(0, 73, 0.39, 0)}):Play()
  3214. tweenService:Create(newPlayer.Role, TweenInfo.new(0.5, Enum.EasingStyle.Quint), {TextTransparency = 0.3}):Play()
  3215. else
  3216. tweenService:Create(newPlayer.DisplayName, TweenInfo.new(0.5, Enum.EasingStyle.Quint), {Position = UDim2.new(0, 73, 0.5, 0)}):Play()
  3217. end
  3218.  
  3219. if player ~= localPlayer then openInteractions() end
  3220.  
  3221. tweenService:Create(newPlayer, TweenInfo.new(0.5, Enum.EasingStyle.Quint), {Size = UDim2.new(0, 539, 0, 75)}):Play()
  3222.  
  3223. tweenService:Create(newPlayer.DisplayName, TweenInfo.new(0.5, Enum.EasingStyle.Quint), {TextTransparency = 0}):Play()
  3224. tweenService:Create(newPlayer.Avatar, TweenInfo.new(0.5, Enum.EasingStyle.Quint), {Size = UDim2.new(0, 50, 0, 50)}):Play()
  3225. tweenService:Create(newPlayer.UIStroke, TweenInfo.new(0.5, Enum.EasingStyle.Quint), {Transparency = 0}):Play()
  3226. end)
  3227.  
  3228. newPlayer.PlayerInteractions.Kill.Interact.MouseButton1Click:Connect(function()
  3229. queueNotification("Simulation Notification","Simulating Kill Notification for "..player.DisplayName..".")
  3230. tweenService:Create(newPlayer.PlayerInteractions.Kill, TweenInfo.new(0.4, Enum.EasingStyle.Quint), {BackgroundColor3 = Color3.fromRGB(0, 124, 89)}):Play()
  3231. tweenService:Create(newPlayer.PlayerInteractions.Kill.Icon, TweenInfo.new(0.4, Enum.EasingStyle.Quint), {ImageColor3 = Color3.fromRGB(220, 220, 220)}):Play()
  3232. tweenService:Create(newPlayer.PlayerInteractions.Kill.UIStroke, TweenInfo.new(0.4, Enum.EasingStyle.Quint), {Color = Color3.fromRGB(0, 134, 96)}):Play()
  3233. kill(player)
  3234. task.wait(1)
  3235. tweenService:Create(newPlayer.PlayerInteractions.Kill, TweenInfo.new(0.4, Enum.EasingStyle.Quint), {BackgroundColor3 = Color3.fromRGB(50, 50, 50)}):Play()
  3236. tweenService:Create(newPlayer.PlayerInteractions.Kill.Icon, TweenInfo.new(0.4, Enum.EasingStyle.Quint), {ImageColor3 = Color3.fromRGB(100, 100, 100)}):Play()
  3237. tweenService:Create(newPlayer.PlayerInteractions.Kill.UIStroke, TweenInfo.new(0.4, Enum.EasingStyle.Quint), {Color = Color3.fromRGB(60, 60, 60)}):Play()
  3238. end)
  3239.  
  3240. newPlayer.PlayerInteractions.Teleport.Interact.MouseButton1Click:Connect(function()
  3241. tweenService:Create(newPlayer.PlayerInteractions.Teleport, TweenInfo.new(0.4, Enum.EasingStyle.Quint), {BackgroundColor3 = Color3.fromRGB(0, 152, 111)}):Play()
  3242. tweenService:Create(newPlayer.PlayerInteractions.Teleport.Icon, TweenInfo.new(0.4, Enum.EasingStyle.Quint), {ImageColor3 = Color3.fromRGB(220, 220, 220)}):Play()
  3243. tweenService:Create(newPlayer.PlayerInteractions.Teleport.UIStroke, TweenInfo.new(0.4, Enum.EasingStyle.Quint), {Color = Color3.fromRGB(0, 152, 111)}):Play()
  3244. teleportTo(player)
  3245. task.wait(0.5)
  3246. tweenService:Create(newPlayer.PlayerInteractions.Teleport, TweenInfo.new(0.4, Enum.EasingStyle.Quint), {BackgroundColor3 = Color3.fromRGB(50, 50, 50)}):Play()
  3247. tweenService:Create(newPlayer.PlayerInteractions.Teleport.Icon, TweenInfo.new(0.4, Enum.EasingStyle.Quint), {ImageColor3 = Color3.fromRGB(100, 100, 100)}):Play()
  3248. tweenService:Create(newPlayer.PlayerInteractions.Teleport.UIStroke, TweenInfo.new(0.4, Enum.EasingStyle.Quint), {Color = Color3.fromRGB(60, 60, 60)}):Play()
  3249. end)
  3250.  
  3251. newPlayer.PlayerInteractions.Spectate.Interact.MouseButton1Click:Connect(function()
  3252. queueNotification("Simulation Notification","Simulating Spectate Notification for "..player.DisplayName..".")
  3253. -- Spectate
  3254. end)
  3255.  
  3256. newPlayer.PlayerInteractions.Locate.Interact.MouseButton1Click:Connect(function()
  3257. queueNotification("Simulation Notification","Simulating Locate ESP Notification for "..player.DisplayName..".")
  3258. -- ESP for that user only
  3259. end)
  3260. end
  3261.  
  3262. local function removePlayer(player)
  3263. if not checkSirius() then return end
  3264.  
  3265. if playerlistPanel.Interactions.List:FindFirstChild(player.Name) then
  3266. playerlistPanel.Interactions.List:FindFirstChild(player.Name):Destroy()
  3267. end
  3268. end
  3269.  
  3270. local function openSettings()
  3271. debounce = true
  3272.  
  3273. settingsPanel.BackgroundTransparency = 1
  3274. settingsPanel.Title.TextTransparency = 1
  3275. settingsPanel.Subtitle.TextTransparency = 1
  3276. settingsPanel.Back.ImageTransparency = 1
  3277. settingsPanel.Shadow.ImageTransparency = 1
  3278.  
  3279. wipeTransparency(settingsPanel.SettingTypes, 1, true)
  3280.  
  3281. settingsPanel.Visible = true
  3282. settingsPanel.UIGradient.Enabled = true
  3283. settingsPanel.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  3284. settingsPanel.UIGradient.Color = ColorSequence.new({ColorSequenceKeypoint.new(0, Color3.new(0.0470588, 0.0470588, 0.0470588)),ColorSequenceKeypoint.new(1, Color3.new(0.0470588, 0.0470588, 0.0470588))})
  3285. settingsPanel.UIGradient.Offset = Vector2.new(0, 1.7)
  3286. settingsPanel.SettingTypes.Visible = true
  3287. settingsPanel.SettingLists.Visible = false
  3288. settingsPanel.Size = UDim2.new(0, 550, 0, 340)
  3289. settingsPanel.Title.Position = UDim2.new(0.045, 0, 0.057, 0)
  3290.  
  3291. settingsPanel.Title.Text = "Settings"
  3292. settingsPanel.Subtitle.Text = "Adjust your preferences, set new keybinds, test out new features and more."
  3293.  
  3294. tweenService:Create(settingsPanel, TweenInfo.new(0.5, Enum.EasingStyle.Quint), {Size = UDim2.new(0, 613, 0, 384)}):Play()
  3295. tweenService:Create(settingsPanel, TweenInfo.new(0.5, Enum.EasingStyle.Quint), {BackgroundTransparency = 0}):Play()
  3296. tweenService:Create(settingsPanel.Shadow, TweenInfo.new(0.5, Enum.EasingStyle.Quint), {ImageTransparency = 0.7}):Play()
  3297. tweenService:Create(settingsPanel.Title, TweenInfo.new(0.5, Enum.EasingStyle.Quint), {TextTransparency = 0}):Play()
  3298. tweenService:Create(settingsPanel.Subtitle, TweenInfo.new(0.5, Enum.EasingStyle.Quint), {TextTransparency = 0}):Play()
  3299.  
  3300. task.wait(0.1)
  3301.  
  3302. for _, settingType in ipairs(settingsPanel.SettingTypes:GetChildren()) do
  3303. if settingType.ClassName == "Frame" then
  3304. local gradientRotation = math.random(78, 95)
  3305.  
  3306. tweenService:Create(settingType.UIGradient, TweenInfo.new(0.5, Enum.EasingStyle.Quint), {Rotation = gradientRotation}):Play()
  3307. tweenService:Create(settingType.Shadow.UIGradient, TweenInfo.new(0.5, Enum.EasingStyle.Quint), {Rotation = gradientRotation}):Play()
  3308. tweenService:Create(settingType.UIStroke.UIGradient, TweenInfo.new(0.5, Enum.EasingStyle.Quint), {Rotation = gradientRotation}):Play()
  3309. tweenService:Create(settingType, TweenInfo.new(0.5, Enum.EasingStyle.Quint), {BackgroundTransparency = 0}):Play()
  3310. tweenService:Create(settingType.Shadow, TweenInfo.new(0.5, Enum.EasingStyle.Quint), {ImageTransparency = 0.7}):Play()
  3311. tweenService:Create(settingType.UIStroke, TweenInfo.new(0.5, Enum.EasingStyle.Quint), {Transparency = 0}):Play()
  3312. tweenService:Create(settingType.Title, TweenInfo.new(0.5, Enum.EasingStyle.Quint), {TextTransparency = 0.2}):Play()
  3313.  
  3314. task.wait(0.02)
  3315. end
  3316. end
  3317.  
  3318. for _, settingList in ipairs(settingsPanel.SettingLists:GetChildren()) do
  3319. if settingList.ClassName == "ScrollingFrame" then
  3320. for _, setting in ipairs(settingList:GetChildren()) do
  3321. if setting.ClassName == "Frame" then
  3322. setting.Visible = true
  3323. end
  3324. end
  3325. end
  3326. end
  3327.  
  3328. debounce = false
  3329. end
  3330.  
  3331. local function closeSettings()
  3332. debounce = true
  3333.  
  3334. for _, settingType in ipairs(settingsPanel.SettingTypes:GetChildren()) do
  3335. if settingType.ClassName == "Frame" then
  3336. tweenService:Create(settingType, TweenInfo.new(0.1, Enum.EasingStyle.Quint), {BackgroundTransparency = 1}):Play()
  3337. tweenService:Create(settingType.Shadow, TweenInfo.new(0.05, Enum.EasingStyle.Quint), {ImageTransparency = 1}):Play()
  3338. tweenService:Create(settingType.UIStroke, TweenInfo.new(0.05, Enum.EasingStyle.Quint), {Transparency = 1}):Play()
  3339. tweenService:Create(settingType.Title, TweenInfo.new(0.05, Enum.EasingStyle.Quint), {TextTransparency = 1}):Play()
  3340. end
  3341. end
  3342.  
  3343. tweenService:Create(settingsPanel.Shadow, TweenInfo.new(0.1, Enum.EasingStyle.Quint), {ImageTransparency = 1}):Play()
  3344. tweenService:Create(settingsPanel.Back, TweenInfo.new(0.1, Enum.EasingStyle.Quint), {ImageTransparency = 1}):Play()
  3345. tweenService:Create(settingsPanel.Title, TweenInfo.new(0.1, Enum.EasingStyle.Quint), {TextTransparency = 1}):Play()
  3346. tweenService:Create(settingsPanel.Subtitle, TweenInfo.new(0.1, Enum.EasingStyle.Quint), {TextTransparency = 1}):Play()
  3347.  
  3348. for _, settingList in ipairs(settingsPanel.SettingLists:GetChildren()) do
  3349. if settingList.ClassName == "ScrollingFrame" then
  3350. for _, setting in ipairs(settingList:GetChildren()) do
  3351. if setting.ClassName == "Frame" then
  3352. setting.Visible = false
  3353. end
  3354. end
  3355. end
  3356. end
  3357.  
  3358. tweenService:Create(settingsPanel, TweenInfo.new(0.4, Enum.EasingStyle.Quint), {Size = UDim2.new(0, 520, 0, 0)}):Play()
  3359. tweenService:Create(settingsPanel, TweenInfo.new(0.55, Enum.EasingStyle.Quint), {BackgroundTransparency = 1}):Play()
  3360.  
  3361. task.wait(0.55)
  3362.  
  3363. settingsPanel.Visible = false
  3364. debounce = false
  3365. end
  3366.  
  3367. local function saveSettings()
  3368. checkFolder()
  3369.  
  3370. if isfile and isfile(siriusValues.siriusFolder.."/"..siriusValues.settingsFile) then
  3371. writefile(siriusValues.siriusFolder.."/"..siriusValues.settingsFile, httpService:JSONEncode(siriusSettings))
  3372. end
  3373. end
  3374.  
  3375. local function assembleSettings()
  3376. if isfile and isfile(siriusValues.siriusFolder.."/"..siriusValues.settingsFile) then
  3377. local currentSettings
  3378.  
  3379. local success, response = pcall(function()
  3380. currentSettings = httpService:JSONDecode(readfile(siriusValues.siriusFolder.."/"..siriusValues.settingsFile))
  3381. end)
  3382.  
  3383. if success then
  3384. for _, liveCategory in ipairs(siriusSettings) do
  3385. for _, liveSetting in ipairs(liveCategory.categorySettings) do
  3386. for _, category in ipairs(currentSettings) do
  3387. for _, setting in ipairs(category.categorySettings) do
  3388. if liveSetting.id == setting.id then
  3389. liveSetting.current = setting.current
  3390. end
  3391. end
  3392. end
  3393. end
  3394. end
  3395.  
  3396. writefile(siriusValues.siriusFolder.."/"..siriusValues.settingsFile, httpService:JSONEncode(siriusSettings)) -- Update file with any new settings added
  3397. end
  3398. else
  3399. if writefile then
  3400. checkFolder()
  3401. if not isfile(siriusValues.siriusFolder.."/"..siriusValues.settingsFile) then
  3402. writefile(siriusValues.siriusFolder.."/"..siriusValues.settingsFile, httpService:JSONEncode(siriusSettings))
  3403. end
  3404. end
  3405. end
  3406.  
  3407. for _, category in siriusSettings do
  3408. local newCategory = settingsPanel.SettingTypes.Template:Clone()
  3409. newCategory.Name = category.name
  3410. newCategory.Title.Text = string.upper(category.name)
  3411. newCategory.Parent = settingsPanel.SettingTypes
  3412. newCategory.UIGradient.Color = ColorSequence.new({ColorSequenceKeypoint.new(0, Color3.new(0.0392157, 0.0392157, 0.0392157)),ColorSequenceKeypoint.new(1, category.color)})
  3413.  
  3414. newCategory.Visible = true
  3415.  
  3416. local hue, sat, val = Color3.toHSV(category.color)
  3417.  
  3418. hue = math.clamp(hue + 0.01, 0, 1) sat = math.clamp(sat + 0.1, 0, 1) val = math.clamp(val + 0.2, 0, 1)
  3419.  
  3420. local newColor = Color3.fromHSV(hue, sat, val)
  3421. newCategory.UIStroke.UIGradient.Color = ColorSequence.new({ColorSequenceKeypoint.new(0, Color3.new(0.117647, 0.117647, 0.117647)),ColorSequenceKeypoint.new(1, newColor)})
  3422. newCategory.Shadow.UIGradient.Color = ColorSequence.new({ColorSequenceKeypoint.new(0, Color3.new(0.117647, 0.117647, 0.117647)),ColorSequenceKeypoint.new(1, newColor)})
  3423.  
  3424. local newList = settingsPanel.SettingLists.Template:Clone()
  3425. newList.Name = category.name
  3426. newList.Parent = settingsPanel.SettingLists
  3427.  
  3428. newList.Visible = true
  3429.  
  3430. for _, obj in ipairs(newList:GetChildren()) do if obj.Name ~= "Placeholder" and obj.Name ~= "UIListLayout" then obj:Destroy() end end
  3431.  
  3432. settingsPanel.Back.MouseButton1Click:Connect(function()
  3433. tweenService:Create(settingsPanel.Back, TweenInfo.new(0.5, Enum.EasingStyle.Quint), {ImageTransparency = 1}):Play()
  3434. tweenService:Create(settingsPanel.Back, TweenInfo.new(0.5, Enum.EasingStyle.Quint), {Position = UDim2.new(0.002, 0, 0.052, 0)}):Play()
  3435. tweenService:Create(settingsPanel.Title, TweenInfo.new(0.5, Enum.EasingStyle.Quint), {Position = UDim2.new(0.045, 0, 0.057, 0)}):Play()
  3436. tweenService:Create(settingsPanel.UIGradient, TweenInfo.new(1, Enum.EasingStyle.Exponential), {Offset = Vector2.new(0, 1.3)}):Play()
  3437. settingsPanel.Title.Text = "Settings"
  3438. settingsPanel.Subtitle.Text = "Adjust your preferences, set new keybinds, test out new features and more"
  3439. settingsPanel.SettingTypes.Visible = true
  3440. settingsPanel.SettingLists.Visible = false
  3441. end)
  3442.  
  3443. newCategory.Interact.MouseButton1Click:Connect(function()
  3444. if settingsPanel.SettingLists:FindFirstChild(category.name) then
  3445. settingsPanel.UIGradient.Color = ColorSequence.new({ColorSequenceKeypoint.new(0, Color3.new(0.0470588, 0.0470588, 0.0470588)),ColorSequenceKeypoint.new(1, category.color)})
  3446. settingsPanel.SettingTypes.Visible = false
  3447. settingsPanel.SettingLists.Visible = true
  3448. settingsPanel.SettingLists.UIPageLayout:JumpTo(settingsPanel.SettingLists[category.name])
  3449. settingsPanel.Subtitle.Text = category.description
  3450. settingsPanel.Back.Visible = true
  3451. settingsPanel.Title.Text = category.name
  3452.  
  3453. local gradientRotation = math.random(78, 95)
  3454. settingsPanel.UIGradient.Rotation = gradientRotation
  3455. tweenService:Create(settingsPanel.UIGradient, TweenInfo.new(0.5, Enum.EasingStyle.Exponential), {Offset = Vector2.new(0, 0.65)}):Play()
  3456. tweenService:Create(settingsPanel.Back, TweenInfo.new(0.5, Enum.EasingStyle.Quint), {ImageTransparency = 0}):Play()
  3457. tweenService:Create(settingsPanel.Back, TweenInfo.new(0.5, Enum.EasingStyle.Quint), {Position = UDim2.new(0.041, 0, 0.052, 0)}):Play()
  3458. tweenService:Create(settingsPanel.Title, TweenInfo.new(0.5, Enum.EasingStyle.Quint), {Position = UDim2.new(0.091, 0, 0.057, 0)}):Play()
  3459. else
  3460. -- error
  3461. closeSettings()
  3462. end
  3463. end)
  3464.  
  3465. newCategory.MouseEnter:Connect(function()
  3466. tweenService:Create(newCategory.Title, TweenInfo.new(0.5, Enum.EasingStyle.Quint), {TextTransparency = 0}):Play()
  3467. tweenService:Create(newCategory.UIGradient, TweenInfo.new(0.7, Enum.EasingStyle.Quint), {Offset = Vector2.new(0, 0.4)}):Play()
  3468. tweenService:Create(newCategory.UIStroke.UIGradient, TweenInfo.new(0.7, Enum.EasingStyle.Quint), {Offset = Vector2.new(0, 0.2)}):Play()
  3469. tweenService:Create(newCategory.Shadow.UIGradient, TweenInfo.new(0.7, Enum.EasingStyle.Quint), {Offset = Vector2.new(0, 0.2)}):Play()
  3470. end)
  3471.  
  3472. newCategory.MouseLeave:Connect(function()
  3473. tweenService:Create(newCategory.Title, TweenInfo.new(0.5, Enum.EasingStyle.Quint), {TextTransparency = 0.2}):Play()
  3474. tweenService:Create(newCategory.UIGradient, TweenInfo.new(0.7, Enum.EasingStyle.Quint), {Offset = Vector2.new(0, 0.65)}):Play()
  3475. tweenService:Create(newCategory.UIStroke.UIGradient, TweenInfo.new(0.7, Enum.EasingStyle.Quint), {Offset = Vector2.new(0, 0.4)}):Play()
  3476. tweenService:Create(newCategory.Shadow.UIGradient, TweenInfo.new(0.7, Enum.EasingStyle.Quint), {Offset = Vector2.new(0, 0.4)}):Play()
  3477. end)
  3478.  
  3479. for _, setting in ipairs(category.categorySettings) do
  3480. if not setting.hidden then
  3481. local settingType = setting.settingType
  3482. local minimumLicense = setting.minimumLicense
  3483. local object = nil
  3484.  
  3485. if settingType == "Boolean" then
  3486. local newSwitch = settingsPanel.SettingLists.Template.SwitchTemplate:Clone()
  3487. object = newSwitch
  3488. newSwitch.Name = setting.name
  3489. newSwitch.Parent = newList
  3490. newSwitch.Visible = true
  3491. newSwitch.Title.Text = setting.name
  3492.  
  3493. if setting.current == true then
  3494. newSwitch.Switch.Indicator.Position = UDim2.new(1, -20, 0.5, 0)
  3495. newSwitch.Switch.Indicator.UIStroke.Color = Color3.fromRGB(220, 220, 220)
  3496. newSwitch.Switch.Indicator.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  3497. newSwitch.Switch.Indicator.BackgroundTransparency = 0.6
  3498. end
  3499.  
  3500.  
  3501. if minimumLicense then
  3502. if (minimumLicense == "Pro" and not Pro) or (minimumLicense == "Essential" and not (Pro or Essential)) then
  3503. newSwitch.Switch.Indicator.Position = UDim2.new(1, -40, 0.5, 0)
  3504. newSwitch.Switch.Indicator.UIStroke.Color = Color3.fromRGB(255, 255, 255)
  3505. newSwitch.Switch.Indicator.BackgroundColor3 = Color3.fromRGB(235, 235, 235)
  3506. newSwitch.Switch.Indicator.BackgroundTransparency = 0.75
  3507. end
  3508. end
  3509.  
  3510. newSwitch.Interact.MouseButton1Click:Connect(function()
  3511. if minimumLicense then
  3512. if (minimumLicense == "Pro" and not Pro) or (minimumLicense == "Essential" and not (Pro or Essential)) then
  3513. queueNotification("This feature is locked", "You must be "..minimumLicense.." or higher to use "..setting.name..". \n\nUpgrade at https://sirius.menu.", 4483345875)
  3514. return
  3515. end
  3516. end
  3517.  
  3518. setting.current = not setting.current
  3519. saveSettings()
  3520. if setting.current == true then
  3521. tweenService:Create(newSwitch.Switch.Indicator, TweenInfo.new(0.5, Enum.EasingStyle.Quart, Enum.EasingDirection.Out), {Position = UDim2.new(1, -20, 0.5, 0)}):Play()
  3522. tweenService:Create(newSwitch.Switch.Indicator, TweenInfo.new(0.4, Enum.EasingStyle.Quart, Enum.EasingDirection.Out), {Size = UDim2.new(0,12,0,12)}):Play()
  3523. tweenService:Create(newSwitch.Switch.Indicator.UIStroke, TweenInfo.new(0.55, Enum.EasingStyle.Quint, Enum.EasingDirection.Out), {Color = Color3.fromRGB(200, 200, 200)}):Play()
  3524. tweenService:Create(newSwitch.Switch.Indicator, TweenInfo.new(0.8, Enum.EasingStyle.Quint, Enum.EasingDirection.Out), {BackgroundColor3 = Color3.fromRGB(255, 255, 255)}):Play()
  3525. tweenService:Create(newSwitch.Switch.Indicator.UIStroke, TweenInfo.new(0.55, Enum.EasingStyle.Quint, Enum.EasingDirection.Out), {Transparency = 0.5}):Play()
  3526. tweenService:Create(newSwitch.Switch.Indicator, TweenInfo.new(0.55, Enum.EasingStyle.Quint, Enum.EasingDirection.Out), {BackgroundTransparency = 0.6}):Play()
  3527. task.wait(0.05)
  3528. tweenService:Create(newSwitch.Switch.Indicator, TweenInfo.new(0.45, Enum.EasingStyle.Quart, Enum.EasingDirection.Out), {Size = UDim2.new(0,17,0,17)}):Play()
  3529. else
  3530. tweenService:Create(newSwitch.Switch.Indicator, TweenInfo.new(0.45, Enum.EasingStyle.Quart, Enum.EasingDirection.Out), {Position = UDim2.new(1, -40, 0.5, 0)}):Play()
  3531. tweenService:Create(newSwitch.Switch.Indicator, TweenInfo.new(0.4, Enum.EasingStyle.Quart, Enum.EasingDirection.Out), {Size = UDim2.new(0,12,0,12)}):Play()
  3532. tweenService:Create(newSwitch.Switch.Indicator.UIStroke, TweenInfo.new(0.55, Enum.EasingStyle.Quint, Enum.EasingDirection.Out), {Color = Color3.fromRGB(255, 255, 255)}):Play()
  3533. tweenService:Create(newSwitch.Switch.Indicator.UIStroke, TweenInfo.new(0.55, Enum.EasingStyle.Quint, Enum.EasingDirection.Out), {Transparency = 0.7}):Play()
  3534. tweenService:Create(newSwitch.Switch.Indicator, TweenInfo.new(0.8, Enum.EasingStyle.Quint, Enum.EasingDirection.Out), {BackgroundColor3 = Color3.fromRGB(235, 235, 235)}):Play()
  3535. tweenService:Create(newSwitch.Switch.Indicator, TweenInfo.new(0.55, Enum.EasingStyle.Quint, Enum.EasingDirection.Out), {BackgroundTransparency = 0.75}):Play()
  3536. task.wait(0.05)
  3537. tweenService:Create(newSwitch.Switch.Indicator, TweenInfo.new(0.4, Enum.EasingStyle.Quart, Enum.EasingDirection.Out), {Size = UDim2.new(0,17,0,17)}):Play()
  3538. end
  3539. end)
  3540.  
  3541. elseif settingType == "Input" then
  3542. local newInput = settingsPanel.SettingLists.Template.InputTemplate:Clone()
  3543. object = newInput
  3544.  
  3545. newInput.Name = setting.name
  3546. newInput.InputFrame.InputBox.Text = setting.current
  3547. newInput.InputFrame.InputBox.PlaceholderText = setting.placeholder or "input"
  3548. newInput.Parent = newList
  3549.  
  3550. if string.len(setting.current) > 19 then
  3551. newInput.InputFrame.InputBox.Text = string.sub(tostring(setting.current), 1,17)..".."
  3552. else
  3553. newInput.InputFrame.InputBox.Text = setting.current
  3554. end
  3555.  
  3556. newInput.Visible = true
  3557. newInput.Title.Text = setting.name
  3558. newInput.InputFrame.InputBox.TextWrapped = false
  3559. newInput.InputFrame.Size = UDim2.new(0, newInput.InputFrame.InputBox.TextBounds.X + 24, 0, 30)
  3560.  
  3561. newInput.InputFrame.InputBox.FocusLost:Connect(function()
  3562. if minimumLicense then
  3563. if (minimumLicense == "Pro" and not Pro) or (minimumLicense == "Essential" and not (Pro or Essential)) then
  3564. queueNotification("This feature is locked", "You must be "..minimumLicense.." or higher to use "..setting.name..". \n\nUpgrade at https://sirius.menu.", 4483345875)
  3565. newInput.InputFrame.InputBox.Text = setting.current
  3566. return
  3567. end
  3568. end
  3569.  
  3570. if newInput.InputFrame.InputBox.Text ~= nil or "" then
  3571. setting.current = newInput.InputFrame.InputBox.Text
  3572. saveSettings()
  3573. end
  3574. if string.len(setting.current) > 24 then
  3575. newInput.InputFrame.InputBox.Text = string.sub(tostring(setting.current), 1,22)..".."
  3576. else
  3577. newInput.InputFrame.InputBox.Text = setting.current
  3578. end
  3579. end)
  3580.  
  3581. newInput.InputFrame.InputBox:GetPropertyChangedSignal("Text"):Connect(function()
  3582. tweenService:Create(newInput.InputFrame, TweenInfo.new(0.5, Enum.EasingStyle.Quint, Enum.EasingDirection.Out), {Size = UDim2.new(0, newInput.InputFrame.InputBox.TextBounds.X + 24, 0, 30)}):Play()
  3583. end)
  3584.  
  3585. elseif settingType == "Number" then
  3586. local newInput = settingsPanel.SettingLists.Template.InputTemplate:Clone()
  3587. object = newInput
  3588.  
  3589. newInput.Name = setting.name
  3590. newInput.InputFrame.InputBox.Text = tostring(setting.current)
  3591. newInput.InputFrame.InputBox.PlaceholderText = setting.placeholder or "number"
  3592. newInput.Parent = newList
  3593.  
  3594. if string.len(setting.current) > 19 then
  3595. newInput.InputFrame.InputBox.Text = string.sub(tostring(setting.current), 1,17)..".."
  3596. else
  3597. newInput.InputFrame.InputBox.Text = setting.current
  3598. end
  3599.  
  3600. newInput.Visible = true
  3601. newInput.Title.Text = setting.name
  3602. newInput.InputFrame.InputBox.TextWrapped = false
  3603. newInput.InputFrame.Size = UDim2.new(0, newInput.InputFrame.InputBox.TextBounds.X + 24, 0, 30)
  3604.  
  3605. newInput.InputFrame.InputBox.FocusLost:Connect(function()
  3606.  
  3607. if minimumLicense then
  3608. if (minimumLicense == "Pro" and not Pro) or (minimumLicense == "Essential" and not (Pro or Essential)) then
  3609. queueNotification("This feature is locked", "You must be "..minimumLicense.." or higher to use "..setting.name..". \n\nUpgrade at https://sirius.menu.", 4483345875)
  3610. newInput.InputFrame.InputBox.Text = setting.current
  3611. return
  3612. end
  3613. end
  3614.  
  3615. local inputValue = tonumber(newInput.InputFrame.InputBox.Text)
  3616.  
  3617. if inputValue then
  3618. if setting.values then
  3619. local minValue = setting.values[1]
  3620. local maxValue = setting.values[2]
  3621.  
  3622. if inputValue < minValue then
  3623. setting.current = minValue
  3624. elseif inputValue > maxValue then
  3625. setting.current = maxValue
  3626. else
  3627. setting.current = inputValue
  3628. end
  3629.  
  3630. saveSettings()
  3631. else
  3632. setting.current = inputValue
  3633. saveSettings()
  3634. end
  3635. else
  3636. newInput.InputFrame.InputBox.Text = tostring(setting.current)
  3637. end
  3638.  
  3639. if string.len(setting.current) > 24 then
  3640. newInput.InputFrame.InputBox.Text = string.sub(tostring(setting.current), 1,22)..".."
  3641. else
  3642. newInput.InputFrame.InputBox.Text = tostring(setting.current)
  3643. end
  3644. end)
  3645.  
  3646. newInput.InputFrame.InputBox:GetPropertyChangedSignal("Text"):Connect(function()
  3647. tweenService:Create(newInput.InputFrame, TweenInfo.new(0.5, Enum.EasingStyle.Quint, Enum.EasingDirection.Out), {Size = UDim2.new(0, newInput.InputFrame.InputBox.TextBounds.X + 24, 0, 30)}):Play()
  3648. end)
  3649.  
  3650. elseif settingType == "Key" then
  3651. local newKeybind = settingsPanel.SettingLists.Template.InputTemplate:Clone()
  3652. object = newKeybind
  3653. newKeybind.Name = setting.name
  3654. newKeybind.InputFrame.InputBox.PlaceholderText = setting.placeholder or "listening.."
  3655. newKeybind.InputFrame.InputBox.Text = setting.current or "No Keybind"
  3656. newKeybind.Parent = newList
  3657.  
  3658. newKeybind.Visible = true
  3659. newKeybind.Title.Text = setting.name
  3660. newKeybind.InputFrame.InputBox.TextWrapped = false
  3661. newKeybind.InputFrame.Size = UDim2.new(0, newKeybind.InputFrame.InputBox.TextBounds.X + 24, 0, 30)
  3662.  
  3663. newKeybind.InputFrame.InputBox.FocusLost:Connect(function()
  3664. checkingForKey = false
  3665.  
  3666. if minimumLicense then
  3667. if (minimumLicense == "Pro" and not Pro) or (minimumLicense == "Essential" and not (Pro or Essential)) then
  3668. queueNotification("This feature is locked", "You must be "..minimumLicense.." or higher to use "..setting.name..". \n\nUpgrade at https://sirius.menu.", 4483345875)
  3669. newKeybind.InputFrame.InputBox.Text = setting.current
  3670. return
  3671. end
  3672. end
  3673.  
  3674. if newKeybind.InputFrame.InputBox.Text == nil or newKeybind.InputFrame.InputBox.Text == "" then
  3675. newKeybind.InputFrame.InputBox.Text = "No Keybind"
  3676. setting.current = nil
  3677. newKeybind.InputFrame.InputBox:ReleaseFocus()
  3678. saveSettings()
  3679. end
  3680. end)
  3681.  
  3682. newKeybind.InputFrame.InputBox.Focused:Connect(function()
  3683. checkingForKey = {data = setting, object = newKeybind}
  3684. newKeybind.InputFrame.InputBox.Text = ""
  3685. end)
  3686.  
  3687. newKeybind.InputFrame.InputBox:GetPropertyChangedSignal("Text"):Connect(function()
  3688. tweenService:Create(newKeybind.InputFrame, TweenInfo.new(0.5, Enum.EasingStyle.Quint, Enum.EasingDirection.Out), {Size = UDim2.new(0, newKeybind.InputFrame.InputBox.TextBounds.X + 24, 0, 30)}):Play()
  3689. end)
  3690.  
  3691. end
  3692.  
  3693. if object then
  3694. if setting.description then
  3695. object.Description.Visible = true
  3696. object.Description.TextWrapped = true
  3697. object.Description.Size = UDim2.new(0, 333, 5, 0)
  3698. object.Description.Size = UDim2.new(0, 333, 0, 999)
  3699. object.Description.Text = setting.description
  3700. object.Description.Size = UDim2.new(0, 333, 0, object.Description.TextBounds.Y + 10)
  3701. object.Size = UDim2.new(0, 558, 0, object.Description.TextBounds.Y + 44)
  3702. end
  3703.  
  3704. if minimumLicense then
  3705. object.LicenseDisplay.Visible = true
  3706. object.Title.Position = UDim2.new(0, 18, 0, 26)
  3707. object.Description.Position = UDim2.new(0, 18, 0, 43)
  3708. object.Size = UDim2.new(0, 558, 0, object.Size.Y.Offset + 13)
  3709. object.LicenseDisplay.Text = string.upper(minimumLicense).." FEATURE"
  3710. end
  3711.  
  3712. local objectTouching
  3713. object.MouseEnter:Connect(function()
  3714. objectTouching = true
  3715. tweenService:Create(object.UIStroke, TweenInfo.new(0.35, Enum.EasingStyle.Quint, Enum.EasingDirection.Out), {Transparency = 0.45}):Play()
  3716. tweenService:Create(object, TweenInfo.new(0.35, Enum.EasingStyle.Quint, Enum.EasingDirection.Out), {BackgroundTransparency = 0.83}):Play()
  3717. end)
  3718.  
  3719. object.MouseLeave:Connect(function()
  3720. objectTouching = false
  3721. tweenService:Create(object.UIStroke, TweenInfo.new(0.25, Enum.EasingStyle.Quint, Enum.EasingDirection.Out), {Transparency = 0.6}):Play()
  3722. tweenService:Create(object, TweenInfo.new(0.25, Enum.EasingStyle.Quint, Enum.EasingDirection.Out), {BackgroundTransparency = 0.9}):Play()
  3723. end)
  3724.  
  3725. if object:FindFirstChild('Interact') then
  3726. object.Interact.MouseButton1Click:Connect(function()
  3727. tweenService:Create(object.UIStroke, TweenInfo.new(0.25, Enum.EasingStyle.Quint, Enum.EasingDirection.Out), {Transparency = 1}):Play()
  3728. tweenService:Create(object, TweenInfo.new(0.25, Enum.EasingStyle.Quint, Enum.EasingDirection.Out), {BackgroundTransparency = 0.8}):Play()
  3729. task.wait(0.1)
  3730. if objectTouching then
  3731. tweenService:Create(object.UIStroke, TweenInfo.new(0.25, Enum.EasingStyle.Quint, Enum.EasingDirection.Out), {Transparency = 0.45}):Play()
  3732. tweenService:Create(object, TweenInfo.new(0.25, Enum.EasingStyle.Quint, Enum.EasingDirection.Out), {BackgroundTransparency = 0.83}):Play()
  3733. else
  3734. tweenService:Create(object.UIStroke, TweenInfo.new(0.25, Enum.EasingStyle.Quint, Enum.EasingDirection.Out), {Transparency = 0.6}):Play()
  3735. tweenService:Create(object, TweenInfo.new(0.25, Enum.EasingStyle.Quint, Enum.EasingDirection.Out), {BackgroundTransparency = 0.9}):Play()
  3736. end
  3737. end)
  3738. end
  3739. end
  3740. end
  3741. end
  3742. end
  3743. end
  3744.  
  3745. local function initialiseAntiKick()
  3746. if checkSetting("Client-Based Anti Kick").current then
  3747. if hookmetamethod then
  3748. local originalIndex
  3749. local originalNamecall
  3750.  
  3751. originalIndex = hookmetamethod(game, "__index", function(self, method)
  3752. if self == localPlayer and method:lower() == "kick" and checkSetting("Client-Based Anti Kick").current and checkSirius() then
  3753. queueNotification("Kick Prevented", "Sirius has prevented you from being kicked by the client.", 4400699701)
  3754. return error("Expected ':' not '.' calling member function Kick", 2)
  3755. end
  3756. return originalIndex(self, method)
  3757. end)
  3758.  
  3759. originalNamecall = hookmetamethod(game, "__namecall", function(self, ...)
  3760. if self == localPlayer and getnamecallmethod():lower() == "kick" and checkSetting("Client-Based Anti Kick").current and checkSirius() then
  3761. queueNotification("Kick Prevented", "Sirius has prevented you from being kicked by the client.", 4400699701)
  3762. return
  3763. end
  3764. return originalNamecall(self, ...)
  3765. end)
  3766. end
  3767. end
  3768. end
  3769.  
  3770. local function start()
  3771. if siriusValues.releaseType == "Experimental" then -- Make this more secure.
  3772. if not Pro then localPlayer:Kick("This is an experimental release, you must be Pro to run this. \n\nUpgrade at https://sirius.menu/") return end
  3773. end
  3774. windowFocusChanged(true)
  3775.  
  3776. UI.Enabled = true
  3777.  
  3778. assembleSettings()
  3779. ensureFrameProperties()
  3780. sortActions()
  3781. initialiseAntiKick()
  3782. checkLastVersion()
  3783.  
  3784. smartBar.Time.Text = os.date("%H")..":"..os.date("%M")
  3785.  
  3786. toggle.Visible = not checkSetting("Hide Toggle Button").current
  3787.  
  3788. if not checkSetting("Load Hidden").current then
  3789. if checkSetting("Startup Sound Effect").current then
  3790. local startupPath = siriusValues.siriusFolder.."/Assets/startup.wav"
  3791. local startupAsset
  3792.  
  3793. if isfile(startupPath) then
  3794. startupAsset = getcustomasset(startupPath) or nil
  3795. else
  3796. startupAsset = fetchFromCDN("startup.wav", true, "Assets/startup.wav")
  3797. startupAsset = isfile(startupPath) and getcustomasset(startupPath) or nil
  3798. end
  3799.  
  3800. if not startupAsset then return end
  3801.  
  3802. local startupSound = Instance.new("Sound")
  3803. startupSound.Parent = UI
  3804. startupSound.SoundId = startupAsset
  3805. startupSound.Name = "startupSound"
  3806. startupSound.Volume = 0.85
  3807. startupSound.PlayOnRemove = true
  3808. startupSound:Destroy()
  3809. end
  3810.  
  3811. openSmartBar()
  3812. else
  3813. closeSmartBar()
  3814. end
  3815.  
  3816. if script_key and not Essential and not Pro then
  3817. queueNotification("License Error", "We've detected a key being placed above Sirius loadstring, however your key seems to be invalid. Make a support request at sirius.menu/discord to get this solved within minutes.", "document-minus")
  3818. end
  3819.  
  3820. if siriusValues.enableExperienceSync then
  3821. task.spawn(syncExperienceInformation)
  3822. end
  3823. end
  3824.  
  3825. -- Sirius Events
  3826.  
  3827. start()
  3828.  
  3829. toggle.MouseButton1Click:Connect(function()
  3830. if smartBarOpen then
  3831. closeSmartBar()
  3832. else
  3833. openSmartBar()
  3834. end
  3835. end)
  3836.  
  3837. characterPanel.Interactions.Reset.MouseButton1Click:Connect(function()
  3838. resetSliders()
  3839.  
  3840. characterPanel.Interactions.Reset.Rotation = 360
  3841. queueNotification("Slider Values Reset","Successfully reset all character panel sliders", 4400696294)
  3842. tweenService:Create(characterPanel.Interactions.Reset, TweenInfo.new(.5,Enum.EasingStyle.Back), {Rotation = 0}):Play()
  3843. end)
  3844.  
  3845. characterPanel.Interactions.Reset.MouseEnter:Connect(function() if debounce then return end tweenService:Create(characterPanel.Interactions.Reset, TweenInfo.new(.5,Enum.EasingStyle.Quint), {ImageTransparency = 0}):Play() end)
  3846. characterPanel.Interactions.Reset.MouseLeave:Connect(function() if debounce then return end tweenService:Create(characterPanel.Interactions.Reset, TweenInfo.new(.5,Enum.EasingStyle.Quint), {ImageTransparency = 0.7}):Play() end)
  3847.  
  3848. local playerSearch = playerlistPanel.Interactions.SearchFrame.SearchBox -- move this up to Variables once finished
  3849.  
  3850. playerSearch:GetPropertyChangedSignal("Text"):Connect(function()
  3851. local query = string.lower(playerSearch.Text)
  3852.  
  3853. for _, player in ipairs(playerlistPanel.Interactions.List:GetChildren()) do
  3854. if player.ClassName == "Frame" and player.Name ~= "Placeholder" and player.Name ~= "Template" then
  3855. if string.find(player.Name, playerSearch.Text) then
  3856. player.Visible = true
  3857. else
  3858. player.Visible = false
  3859. end
  3860. end
  3861. end
  3862.  
  3863. if #playerSearch.Text == 0 then
  3864. searchingForPlayer = false
  3865. for _, player in ipairs(playerlistPanel.Interactions.List:GetChildren()) do
  3866. if player.ClassName == "Frame" and player.Name ~= "Placeholder" and player.Name ~= "Template" then
  3867. player.Visible = true
  3868. end
  3869. end
  3870. else
  3871. searchingForPlayer = true
  3872. end
  3873. end)
  3874.  
  3875. characterPanel.Interactions.Serverhop.MouseEnter:Connect(function()
  3876. if debounce then return end
  3877. tweenService:Create(characterPanel.Interactions.Serverhop, TweenInfo.new(.5,Enum.EasingStyle.Quint), {BackgroundTransparency = 0.5}):Play()
  3878. tweenService:Create(characterPanel.Interactions.Serverhop.Title, TweenInfo.new(.5,Enum.EasingStyle.Quint), {TextTransparency = 0.1}):Play()
  3879. tweenService:Create(characterPanel.Interactions.Serverhop.UIStroke, TweenInfo.new(.5,Enum.EasingStyle.Quint), {Transparency = 1}):Play()
  3880. end)
  3881.  
  3882. characterPanel.Interactions.Serverhop.MouseLeave:Connect(function()
  3883. if debounce then return end
  3884. tweenService:Create(characterPanel.Interactions.Serverhop, TweenInfo.new(.5,Enum.EasingStyle.Quint), {BackgroundTransparency = 0}):Play()
  3885. tweenService:Create(characterPanel.Interactions.Serverhop.Title, TweenInfo.new(.5,Enum.EasingStyle.Quint), {TextTransparency = 0.5}):Play()
  3886. tweenService:Create(characterPanel.Interactions.Serverhop.UIStroke, TweenInfo.new(.5,Enum.EasingStyle.Quint), {Transparency = 0}):Play()
  3887. end)
  3888.  
  3889. characterPanel.Interactions.Rejoin.MouseEnter:Connect(function()
  3890. if debounce then return end
  3891. tweenService:Create(characterPanel.Interactions.Rejoin, TweenInfo.new(.5,Enum.EasingStyle.Quint), {BackgroundTransparency = 0.5}):Play()
  3892. tweenService:Create(characterPanel.Interactions.Rejoin.Title, TweenInfo.new(.5,Enum.EasingStyle.Quint), {TextTransparency = 0.1}):Play()
  3893. tweenService:Create(characterPanel.Interactions.Rejoin.UIStroke, TweenInfo.new(.5,Enum.EasingStyle.Quint), {Transparency = 1}):Play()
  3894. end)
  3895.  
  3896. characterPanel.Interactions.Rejoin.MouseLeave:Connect(function()
  3897. if debounce then return end
  3898. tweenService:Create(characterPanel.Interactions.Rejoin, TweenInfo.new(.5,Enum.EasingStyle.Quint), {BackgroundTransparency = 0}):Play()
  3899. tweenService:Create(characterPanel.Interactions.Rejoin.Title, TweenInfo.new(.5,Enum.EasingStyle.Quint), {TextTransparency = 0.5}):Play()
  3900. tweenService:Create(characterPanel.Interactions.Rejoin.UIStroke, TweenInfo.new(.5,Enum.EasingStyle.Quint), {Transparency = 0}):Play()
  3901. end)
  3902.  
  3903. musicPanel.Close.MouseButton1Click:Connect(function()
  3904. if musicPanel.Visible and not debounce then
  3905. closeMusic()
  3906. end
  3907. end)
  3908.  
  3909. musicPanel.Add.Interact.MouseButton1Click:Connect(function()
  3910. musicPanel.AddBox.Input:ReleaseFocus()
  3911. addToQueue(musicPanel.AddBox.Input.Text)
  3912. end)
  3913.  
  3914. musicPanel.Menu.TogglePlaying.MouseButton1Click:Connect(function()
  3915. if currentAudio then
  3916. currentAudio.Playing = not currentAudio.Playing
  3917. musicPanel.Menu.TogglePlaying.ImageRectOffset = currentAudio.Playing and Vector2.new(804, 124) or Vector2.new(764, 244)
  3918. end
  3919. end)
  3920.  
  3921. musicPanel.Menu.Next.MouseButton1Click:Connect(function()
  3922. if currentAudio then
  3923. if #musicQueue == 0 then currentAudio.Playing = false currentAudio.SoundId = "" return end
  3924.  
  3925. if musicPanel.Queue.List:FindFirstChild(tostring(musicQueue[1].instanceName)) then
  3926. musicPanel.Queue.List:FindFirstChild(tostring(musicQueue[1].instanceName)):Destroy()
  3927. end
  3928.  
  3929. musicPanel.Menu.TogglePlaying.ImageRectOffset = currentAudio.Playing and Vector2.new(804, 124) or Vector2.new(764, 244)
  3930.  
  3931. table.remove(musicQueue, 1)
  3932.  
  3933. playNext()
  3934. end
  3935. end)
  3936.  
  3937. characterPanel.Interactions.Rejoin.Interact.MouseButton1Click:Connect(rejoin)
  3938. characterPanel.Interactions.Serverhop.Interact.MouseButton1Click:Connect(serverhop)
  3939.  
  3940. homeContainer.Interactions.Server.JobId.Interact.MouseButton1Click:Connect(function()
  3941. if setclipboard then
  3942. originalSetClipboard([[
  3943. -- This script will teleport you to ' ]]..game:GetService("MarketplaceService"):GetProductInfo(placeId).Name..[['
  3944. -- If it doesn't work after a few seconds, try going into the same game, and then run the script to join ]]..localPlayer.DisplayName.. [['s specific server
  3945.  
  3946. game:GetService("TeleportService"):TeleportToPlaceInstance(']]..placeId..[[', ']]..jobId..[[')]]
  3947. )
  3948. queueNotification("Copied Join Script","Successfully set clipboard to join script, players can use this script to join your specific server.", 4335479121)
  3949. else
  3950. queueNotification("Unable to copy join script","Missing setclipboard() function, can't set data to your clipboard.", 4335479658)
  3951. end
  3952. end)
  3953.  
  3954. homeContainer.Interactions.Discord.Interact.MouseButton1Click:Connect(function()
  3955. if setclipboard then
  3956. originalSetClipboard("https://sirius.menu/discord")
  3957. queueNotification("Discord Invite Copied", "We've set your clipboard to the Sirius discord invite.", 4335479121)
  3958. else
  3959. queueNotification("Unable to copy Discord invite", "Missing setclipboard() function, can't set data to your clipboard.", 4335479658)
  3960. end
  3961. end)
  3962.  
  3963. for _, button in ipairs(scriptsPanel.Interactions.Selection:GetChildren()) do
  3964. local origsize = button.Size
  3965.  
  3966. button.MouseEnter:Connect(function()
  3967. if not debounce then
  3968. tweenService:Create(button, TweenInfo.new(.5,Enum.EasingStyle.Quint), {BackgroundTransparency = 0}):Play()
  3969. tweenService:Create(button, TweenInfo.new(.5,Enum.EasingStyle.Quint), {Size = UDim2.new(0, button.Size.X.Offset - 5, 0, button.Size.Y.Offset - 3)}):Play()
  3970. tweenService:Create(button.UIStroke, TweenInfo.new(.5,Enum.EasingStyle.Quint), {Transparency = 1}):Play()
  3971. tweenService:Create(button.Title, TweenInfo.new(.5,Enum.EasingStyle.Quint), {TextTransparency = 0.1}):Play()
  3972. end
  3973. end)
  3974.  
  3975. button.MouseLeave:Connect(function()
  3976. if not debounce then
  3977. tweenService:Create(button, TweenInfo.new(.5,Enum.EasingStyle.Quint), {BackgroundTransparency = 0}):Play()
  3978. tweenService:Create(button, TweenInfo.new(.5,Enum.EasingStyle.Quint), {Size = origsize}):Play()
  3979. tweenService:Create(button.UIStroke, TweenInfo.new(.5,Enum.EasingStyle.Quint), {Transparency = 0}):Play()
  3980. tweenService:Create(button.Title, TweenInfo.new(.5,Enum.EasingStyle.Quint), {TextTransparency = 0}):Play()
  3981. end
  3982. end)
  3983.  
  3984. button.Interact.MouseButton1Click:Connect(function()
  3985. tweenService:Create(button, TweenInfo.new(.4,Enum.EasingStyle.Quint), {Size = UDim2.new(0, origsize.X.Offset - 9, 0, origsize.Y.Offset - 6)}):Play()
  3986. task.wait(0.1)
  3987. tweenService:Create(button, TweenInfo.new(.25,Enum.EasingStyle.Quint), {Size = origsize}):Play()
  3988.  
  3989. if button.Name == "Library" then
  3990. if not scriptSearch.Visible and not debounce then openScriptSearch() end
  3991. end
  3992. -- run action
  3993. end)
  3994. end
  3995.  
  3996. smartBar.Buttons.Music.Interact.MouseButton1Click:Connect(function()
  3997. if debounce then return end
  3998. if musicPanel.Visible then closeMusic() else openMusic() end
  3999. end)
  4000.  
  4001. smartBar.Buttons.Home.Interact.MouseButton1Click:Connect(function()
  4002. if debounce then return end
  4003. if homeContainer.Visible then closeHome() else openHome() end
  4004. end)
  4005.  
  4006. smartBar.Buttons.Settings.Interact.MouseButton1Click:Connect(function()
  4007. if debounce then return end
  4008. if settingsPanel.Visible then closeSettings() else openSettings() end
  4009. end)
  4010.  
  4011. for _, button in ipairs(smartBar.Buttons:GetChildren()) do
  4012. if UI:FindFirstChild(button.Name) and button:FindFirstChild("Interact") then
  4013. button.Interact.MouseButton1Click:Connect(function()
  4014. if isPanel(button.Name) then
  4015. if not debounce and UI:FindFirstChild(button.Name).Visible then
  4016. task.spawn(closePanel, button.Name)
  4017. else
  4018. task.spawn(openPanel, button.Name)
  4019. end
  4020. end
  4021.  
  4022. tweenService:Create(button, TweenInfo.new(0.2, Enum.EasingStyle.Quint), {Size = UDim2.new(0,28,0,28)}):Play()
  4023. tweenService:Create(button, TweenInfo.new(0.2, Enum.EasingStyle.Quint), {BackgroundTransparency = 0.6}):Play()
  4024. tweenService:Create(button.Icon, TweenInfo.new(0.2, Enum.EasingStyle.Quint), {ImageTransparency = 0.6}):Play()
  4025. task.wait(0.15)
  4026. tweenService:Create(button, TweenInfo.new(0.25, Enum.EasingStyle.Quint), {Size = UDim2.new(0,36,0,36)}):Play()
  4027. tweenService:Create(button, TweenInfo.new(0.25, Enum.EasingStyle.Quint), {BackgroundTransparency = 0}):Play()
  4028. tweenService:Create(button.Icon, TweenInfo.new(0.25, Enum.EasingStyle.Quint), {ImageTransparency = 0.02}):Play()
  4029. end)
  4030.  
  4031. button.MouseEnter:Connect(function()
  4032. tweenService:Create(button.UIGradient, TweenInfo.new(1.4, Enum.EasingStyle.Quint), {Rotation = 360}):Play()
  4033. tweenService:Create(button.UIStroke.UIGradient, TweenInfo.new(1.4, Enum.EasingStyle.Quint), {Rotation = 360}):Play()
  4034. tweenService:Create(button.UIStroke, TweenInfo.new(0.8, Enum.EasingStyle.Quint), {Transparency = 1}):Play()
  4035. tweenService:Create(button.Icon, TweenInfo.new(0.2, Enum.EasingStyle.Quint), {ImageTransparency = 0}):Play()
  4036. tweenService:Create(button.UIGradient, TweenInfo.new(0.7, Enum.EasingStyle.Quint), {Offset = Vector2.new(0,-0.5)}):Play()
  4037. end)
  4038.  
  4039. button.MouseLeave:Connect(function()
  4040. tweenService:Create(button.UIStroke.UIGradient, TweenInfo.new(0.6, Enum.EasingStyle.Quint), {Rotation = 50}):Play()
  4041. tweenService:Create(button.UIGradient, TweenInfo.new(0.9, Enum.EasingStyle.Quint), {Rotation = 50}):Play()
  4042. tweenService:Create(button.UIStroke, TweenInfo.new(0.6, Enum.EasingStyle.Quint), {Transparency = 0}):Play()
  4043. tweenService:Create(button.Icon, TweenInfo.new(0.2, Enum.EasingStyle.Quint), {ImageTransparency = 0.05}):Play()
  4044. tweenService:Create(button.UIGradient, TweenInfo.new(0.7, Enum.EasingStyle.Quint), {Offset = Vector2.new(0,0)}):Play()
  4045. end)
  4046. end
  4047. end
  4048.  
  4049. userInputService.InputBegan:Connect(function(input, processed)
  4050. if not checkSirius() then return end
  4051.  
  4052. if checkingForKey then
  4053. if input.KeyCode ~= Enum.KeyCode.Unknown then
  4054. local splitMessage = string.split(tostring(input.KeyCode), ".")
  4055. local newKeyNoEnum = splitMessage[3]
  4056. checkingForKey.object.InputFrame.InputBox.Text = tostring(newKeyNoEnum)
  4057. checkingForKey.data.current = tostring(newKeyNoEnum)
  4058. checkingForKey.object.InputFrame.InputBox:ReleaseFocus()
  4059. saveSettings()
  4060. end
  4061.  
  4062. return
  4063. end
  4064.  
  4065. for _, category in ipairs(siriusSettings) do
  4066. for _, setting in ipairs(category.categorySettings) do
  4067. if setting.settingType == "Key" then
  4068. if setting.current ~= nil and setting.current ~= "" then
  4069. if input.KeyCode == Enum.KeyCode[setting.current] and not processed then
  4070. if setting.callback then
  4071. task.spawn(setting.callback)
  4072.  
  4073. local action = checkAction(setting.name) or nil
  4074. if action then
  4075. local object = action.object
  4076. action = action.action
  4077.  
  4078. if action.enabled then
  4079. object.Icon.Image = "rbxassetid://"..action.images[1]
  4080. tweenService:Create(object, TweenInfo.new(0.6, Enum.EasingStyle.Quint), {BackgroundTransparency = 0.1}):Play()
  4081. tweenService:Create(object.UIStroke, TweenInfo.new(0.6, Enum.EasingStyle.Quint), {Transparency = 1}):Play()
  4082. tweenService:Create(object.Icon, TweenInfo.new(0.45, Enum.EasingStyle.Quint), {ImageTransparency = 0.1}):Play()
  4083.  
  4084. if action.disableAfter then
  4085. task.delay(action.disableAfter, function()
  4086. action.enabled = false
  4087. object.Icon.Image = "rbxassetid://"..action.images[2]
  4088. tweenService:Create(object, TweenInfo.new(0.4, Enum.EasingStyle.Exponential), {BackgroundTransparency = 0.55}):Play()
  4089. tweenService:Create(object.UIStroke, TweenInfo.new(0.4, Enum.EasingStyle.Exponential), {Transparency = 0.4}):Play()
  4090. tweenService:Create(object.Icon, TweenInfo.new(0.25, Enum.EasingStyle.Quint), {ImageTransparency = 0.5}):Play()
  4091. end)
  4092. end
  4093.  
  4094. if action.rotateWhileEnabled then
  4095. repeat
  4096. object.Icon.Rotation = 0
  4097. tweenService:Create(object.Icon, TweenInfo.new(0.75, Enum.EasingStyle.Quint), {Rotation = 360}):Play()
  4098. task.wait(1)
  4099. until not action.enabled
  4100. object.Icon.Rotation = 0
  4101. end
  4102. else
  4103. object.Icon.Image = "rbxassetid://"..action.images[2]
  4104. tweenService:Create(object, TweenInfo.new(0.4, Enum.EasingStyle.Exponential), {BackgroundTransparency = 0.55}):Play()
  4105. tweenService:Create(object.UIStroke, TweenInfo.new(0.4, Enum.EasingStyle.Exponential), {Transparency = 0.4}):Play()
  4106. tweenService:Create(object.Icon, TweenInfo.new(0.25, Enum.EasingStyle.Quint), {ImageTransparency = 0.5}):Play()
  4107. end
  4108. end
  4109. end
  4110. end
  4111. end
  4112. end
  4113. end
  4114. end
  4115.  
  4116. if input.KeyCode == Enum.KeyCode[checkSetting("Open ScriptSearch").current] and not processed and not debounce then
  4117. if scriptSearch.Visible then
  4118. closeScriptSearch()
  4119. else
  4120. openScriptSearch()
  4121. end
  4122. end
  4123.  
  4124. if input.KeyCode == Enum.KeyCode[checkSetting("Toggle smartBar").current] and not processed and not debounce then
  4125. if smartBarOpen then
  4126. closeSmartBar()
  4127. else
  4128. openSmartBar()
  4129. end
  4130. end
  4131. end)
  4132.  
  4133. userInputService.InputEnded:Connect(function(input, processed)
  4134. if not checkSirius() then return end
  4135.  
  4136. if input.UserInputType == Enum.UserInputType.MouseButton1 then
  4137. for _, slider in pairs(siriusValues.sliders) do
  4138. slider.active = false
  4139.  
  4140. if characterPanel.Visible and not debounce and slider.object and checkSirius() then
  4141. tweenService:Create(slider.object, TweenInfo.new(0.4, Enum.EasingStyle.Exponential), {BackgroundTransparency = 0.8}):Play()
  4142. tweenService:Create(slider.object.UIStroke, TweenInfo.new(0.4, Enum.EasingStyle.Exponential), {Transparency = 0.5}):Play()
  4143. tweenService:Create(slider.object.Information, TweenInfo.new(0.4, Enum.EasingStyle.Exponential), {TextTransparency = 0.3}):Play()
  4144. end
  4145. end
  4146. end
  4147. end)
  4148.  
  4149. camera:GetPropertyChangedSignal('ViewportSize'):Connect(function()
  4150. task.wait(.5)
  4151. updateSliderPadding()
  4152. end)
  4153.  
  4154. scriptSearch.SearchBox:GetPropertyChangedSignal("Text"):Connect(function()
  4155. if #scriptSearch.SearchBox.Text > 0 then
  4156. tweenService:Create(scriptSearch.Icon, TweenInfo.new(.5,Enum.EasingStyle.Quint), {ImageColor3 = Color3.fromRGB(255, 255, 255)}):Play()
  4157. tweenService:Create(scriptSearch.SearchBox, TweenInfo.new(.5,Enum.EasingStyle.Quint), {TextColor3 = Color3.fromRGB(255, 255, 255)}):Play()
  4158. else
  4159. tweenService:Create(scriptSearch.Icon, TweenInfo.new(.5,Enum.EasingStyle.Quint), {ImageColor3 = Color3.fromRGB(150, 150, 150)}):Play()
  4160. tweenService:Create(scriptSearch.SearchBox, TweenInfo.new(.5,Enum.EasingStyle.Quint), {TextColor3 = Color3.fromRGB(150, 150, 150)}):Play()
  4161. end
  4162. end)
  4163.  
  4164. scriptSearch.SearchBox.FocusLost:Connect(function(enterPressed)
  4165. tweenService:Create(scriptSearch.Icon, TweenInfo.new(.5,Enum.EasingStyle.Quint), {ImageColor3 = Color3.fromRGB(150, 150, 150)}):Play()
  4166. tweenService:Create(scriptSearch.SearchBox, TweenInfo.new(.5,Enum.EasingStyle.Quint), {TextColor3 = Color3.fromRGB(150, 150, 150)}):Play()
  4167.  
  4168. if #scriptSearch.SearchBox.Text > 0 then
  4169. if enterPressed then
  4170. local success, response = pcall(function()
  4171. searchScriptBlox(scriptSearch.SearchBox.Text)
  4172. end)
  4173. end
  4174. else
  4175. closeScriptSearch()
  4176. end
  4177. end)
  4178.  
  4179. scriptSearch.SearchBox.Focused:Connect(function()
  4180. if #scriptSearch.SearchBox.Text > 0 then
  4181. tweenService:Create(scriptSearch.Icon, TweenInfo.new(.5,Enum.EasingStyle.Quint), {ImageColor3 = Color3.fromRGB(255, 255, 255)}):Play()
  4182. tweenService:Create(scriptSearch.SearchBox, TweenInfo.new(.5,Enum.EasingStyle.Quint), {TextColor3 = Color3.fromRGB(255, 255, 255)}):Play()
  4183. end
  4184. end)
  4185.  
  4186. mouse.Move:Connect(function()
  4187. for _, slider in pairs(siriusValues.sliders) do
  4188. if slider.active then
  4189. updateSlider(slider)
  4190. end
  4191. end
  4192. end)
  4193.  
  4194. userInputService.WindowFocusReleased:Connect(function() windowFocusChanged(false) end)
  4195. userInputService.WindowFocused:Connect(function() windowFocusChanged(true) end)
  4196.  
  4197. for index, player in ipairs(players:GetPlayers()) do
  4198. createPlayer(player)
  4199. createEsp(player)
  4200. player.Chatted:Connect(function(message) onChatted(player, message) end)
  4201. end
  4202.  
  4203. players.PlayerAdded:Connect(function(player)
  4204. if not checkSirius() then return end
  4205.  
  4206. createPlayer(player)
  4207. createEsp(player)
  4208.  
  4209. player.Chatted:Connect(function(message) onChatted(player, message) end)
  4210.  
  4211. if checkSetting("Log PlayerAdded and PlayerRemoving").current then
  4212. local logData = {
  4213. ["content"] = player.DisplayName.." (@"..player.Name..") left the server.",
  4214. ["avatar_url"] = "https://www.roblox.com/headshot-thumbnail/image?userId="..player.UserId.."&width=420&height=420&format=png",
  4215. ["username"] = player.DisplayName,
  4216. ["allowed_mentions"] = {parse = {}}
  4217. }
  4218.  
  4219. logData = httpService:JSONEncode(logData)
  4220.  
  4221. pcall(function()
  4222. local req = originalRequest({
  4223. Url = checkSetting("Player Added and Removing Webhook URL").current,
  4224. Method = 'POST',
  4225. Headers = {
  4226. ['Content-Type'] = 'application/json',
  4227. },
  4228. Body = logData
  4229. })
  4230. end)
  4231.  
  4232. end
  4233.  
  4234. if checkSetting("Moderator Detection").current and Pro then
  4235. local roleFound = player:GetRoleInGroup(creatorId)
  4236.  
  4237. if siriusValues.currentCreator == "group" then
  4238. for _, role in pairs(siriusValues.administratorRoles) do
  4239. if string.find(string.lower(roleFound), role) then
  4240. promptModerator(player, roleFound)
  4241. queueNotification("Administrator Joined", siriusValues.currentGroup .." "..roleFound.." ".. player.DisplayName .." has joined your session", 3944670656) -- change to group name
  4242. end
  4243. end
  4244. end
  4245. end
  4246.  
  4247. if checkSetting("Friend Notifications").current then
  4248. if localPlayer:IsFriendsWith(player.UserId) then
  4249. queueNotification("Friend Joined", "Your friend "..player.DisplayName.." has joined your server.", 4370335364)
  4250. end
  4251. end
  4252. end)
  4253.  
  4254. players.PlayerRemoving:Connect(function(player)
  4255. if checkSetting("Log PlayerAdded and PlayerRemoving").current then
  4256. local logData = {
  4257. ["content"] = player.DisplayName.." (@"..player.Name..") joined the server.",
  4258. ["avatar_url"] = "https://www.roblox.com/headshot-thumbnail/image?userId="..player.UserId.."&width=420&height=420&format=png",
  4259. ["username"] = player.DisplayName,
  4260. ["allowed_mentions"] = {parse = {}}
  4261. }
  4262.  
  4263. logData = httpService:JSONEncode(logData)
  4264.  
  4265. pcall(function()
  4266. local req = originalRequest({
  4267. Url = checkSetting("Player Added and Removing Webhook URL").current,
  4268. Method = 'POST',
  4269. Headers = {
  4270. ['Content-Type'] = 'application/json',
  4271. },
  4272. Body = logData
  4273. })
  4274. end)
  4275. end
  4276.  
  4277. removePlayer(player)
  4278.  
  4279. local highlight = espContainer:FindFirstChild(player.Name)
  4280. if highlight then
  4281. highlight:Destroy()
  4282. end
  4283. end)
  4284.  
  4285. runService.RenderStepped:Connect(function(frame)
  4286. if not checkSirius() then return end
  4287. local fps = math.round(1/frame)
  4288.  
  4289. table.insert(siriusValues.frameProfile.fpsQueue, fps)
  4290. siriusValues.frameProfile.totalFPS += fps
  4291.  
  4292. if #siriusValues.frameProfile.fpsQueue > siriusValues.frameProfile.fpsQueueSize then
  4293. siriusValues.frameProfile.totalFPS -= siriusValues.frameProfile.fpsQueue[1]
  4294. table.remove(siriusValues.frameProfile.fpsQueue, 1)
  4295. end
  4296. end)
  4297.  
  4298. runService.Stepped:Connect(function()
  4299. if not checkSirius() then return end
  4300.  
  4301. local character = localPlayer.Character
  4302. if character then
  4303. -- No Clip
  4304. local noclipEnabled = siriusValues.actions[1].enabled
  4305. local flingEnabled = siriusValues.actions[6].enabled
  4306.  
  4307. for _, part in ipairs(character:GetDescendants()) do
  4308. if part:IsA("BasePart") then
  4309. if noclipDefaults[part] == nil then
  4310. task.wait()
  4311. noclipDefaults[part] = part.CanCollide
  4312. else
  4313. if noclipEnabled or flingEnabled then
  4314. part.CanCollide = false
  4315. else
  4316. part.CanCollide = noclipDefaults[part]
  4317. end
  4318. end
  4319. end
  4320. end
  4321. end
  4322. end)
  4323.  
  4324. runService.Heartbeat:Connect(function()
  4325. if not checkSirius() then return end
  4326.  
  4327. local character = localPlayer.Character
  4328. local primaryPart = character and character.PrimaryPart
  4329. if primaryPart then
  4330. local bodyVelocity, bodyGyro = unpack(movers)
  4331. if not bodyVelocity then
  4332. bodyVelocity = Instance.new("BodyVelocity")
  4333. bodyVelocity.MaxForce = Vector3.one * 9e9
  4334.  
  4335. bodyGyro = Instance.new("BodyGyro")
  4336. bodyGyro.MaxTorque = Vector3.one * 9e9
  4337. bodyGyro.P = 9e4
  4338.  
  4339. local bodyAngularVelocity = Instance.new("BodyAngularVelocity")
  4340. bodyAngularVelocity.AngularVelocity = Vector3.yAxis * 9e9
  4341. bodyAngularVelocity.MaxTorque = Vector3.yAxis * 9e9
  4342. bodyAngularVelocity.P = 9e9
  4343.  
  4344. movers = { bodyVelocity, bodyGyro, bodyAngularVelocity }
  4345. end
  4346.  
  4347. -- Fly
  4348. if siriusValues.actions[2].enabled then
  4349. local camCFrame = camera.CFrame
  4350. local velocity = Vector3.zero
  4351. local rotation = camCFrame.Rotation
  4352.  
  4353. if userInputService:IsKeyDown(Enum.KeyCode.W) then
  4354. velocity += camCFrame.LookVector
  4355. rotation *= CFrame.Angles(math.rad(-40), 0, 0)
  4356. end
  4357. if userInputService:IsKeyDown(Enum.KeyCode.S) then
  4358. velocity -= camCFrame.LookVector
  4359. rotation *= CFrame.Angles(math.rad(40), 0, 0)
  4360. end
  4361. if userInputService:IsKeyDown(Enum.KeyCode.D) then
  4362. velocity += camCFrame.RightVector
  4363. rotation *= CFrame.Angles(0, 0, math.rad(-40))
  4364. end
  4365. if userInputService:IsKeyDown(Enum.KeyCode.A) then
  4366. velocity -= camCFrame.RightVector
  4367. rotation *= CFrame.Angles(0, 0, math.rad(40))
  4368. end
  4369. if userInputService:IsKeyDown(Enum.KeyCode.Space) then
  4370. velocity += Vector3.yAxis
  4371. end
  4372. if userInputService:IsKeyDown(Enum.KeyCode.LeftShift) then
  4373. velocity -= Vector3.yAxis
  4374. end
  4375.  
  4376. local tweenInfo = TweenInfo.new(0.5)
  4377. tweenService:Create(bodyVelocity, tweenInfo, { Velocity = velocity * siriusValues.sliders[3].value * 45 }):Play()
  4378. bodyVelocity.Parent = primaryPart
  4379.  
  4380. if not siriusValues.actions[6].enabled then
  4381. tweenService:Create(bodyGyro, tweenInfo, { CFrame = rotation }):Play()
  4382. bodyGyro.Parent = primaryPart
  4383. end
  4384. else
  4385. bodyVelocity.Parent = nil
  4386. bodyGyro.Parent = nil
  4387. end
  4388. end
  4389. end)
  4390.  
  4391. runService.Heartbeat:Connect(function(frame)
  4392. if not checkSirius() then return end
  4393. if Pro then
  4394. if checkSetting("Spatial Shield").current and tonumber(checkSetting("Spatial Shield Threshold").current) then
  4395. for index, sound in next, soundInstances do
  4396. if not sound then
  4397. table.remove(soundInstances, index)
  4398. elseif gameSettings.MasterVolume * sound.PlaybackLoudness * sound.Volume >= tonumber(checkSetting("Spatial Shield Threshold").current) then
  4399. if sound.Volume > 0.55 then
  4400. suppressedSounds[sound.SoundId] = "S"
  4401. sound.Volume = 0.5
  4402. elseif sound.Volume > 0.2 and sound.Volume < 0.55 then
  4403. suppressedSounds[sound.SoundId] = "S2"
  4404. sound.Volume = 0.1
  4405. elseif sound.Volume < 0.2 then
  4406. suppressedSounds[sound.SoundId] = "Mute"
  4407. sound.Volume = 0
  4408. end
  4409. if soundSuppressionNotificationCooldown == 0 then
  4410. queueNotification("Spatial Shield","A high-volume audio is being played ("..sound.Name..") and it has been suppressed.", 4483362458)
  4411. soundSuppressionNotificationCooldown = 15
  4412. end
  4413. table.remove(soundInstances, index)
  4414. end
  4415. end
  4416. end
  4417. end
  4418.  
  4419. if checkSetting("Anonymous Client").current then
  4420. for _, text in ipairs(cachedText) do
  4421. local lowerText = string.lower(text.Text)
  4422. if string.find(lowerText, lowerName, 1, true) or string.find(lowerText, lowerDisplayName, 1, true) then
  4423.  
  4424. storeOriginalText(text)
  4425.  
  4426. local newText = string.gsub(string.gsub(lowerText, lowerName, randomUsername), lowerDisplayName, randomUsername)
  4427. text.Text = string.gsub(newText, "^%l", string.upper)
  4428. end
  4429. end
  4430. else
  4431. undoAnonymousChanges()
  4432. end
  4433. end)
  4434.  
  4435. for _, instance in next, game:GetDescendants() do
  4436. if instance:IsA("Sound") then
  4437. if suppressedSounds[instance.SoundId] then
  4438. if suppressedSounds[instance.SoundId] == "S" then
  4439. instance.Volume = 0.5
  4440. elseif suppressedSounds[instance.SoundId] == "S2" then
  4441. instance.Volume = 0.1
  4442. else
  4443. instance.Volume = 0
  4444. end
  4445. else
  4446. if not table.find(cachedIds, instance.SoundId) then
  4447. table.insert(soundInstances, instance)
  4448. table.insert(cachedIds, instance.SoundId)
  4449. end
  4450. end
  4451. elseif instance:IsA("TextLabel") or instance:IsA("TextButton") then
  4452. if not table.find(cachedText, instance) then
  4453. table.insert(cachedText, instance)
  4454. end
  4455. end
  4456. end
  4457.  
  4458. game.DescendantAdded:Connect(function(instance)
  4459. if checkSirius() then
  4460. if instance:IsA("Sound") then
  4461. if suppressedSounds[instance.SoundId] then
  4462. if suppressedSounds[instance.SoundId] == "S" then
  4463. instance.Volume = 0.5
  4464. elseif suppressedSounds[instance.SoundId] == "S2" then
  4465. instance.Volume = 0.1
  4466. else
  4467. instance.Volume = 0
  4468. end
  4469. else
  4470. if not table.find(cachedIds, instance.SoundId) then
  4471. table.insert(soundInstances, instance)
  4472. table.insert(cachedIds, instance.SoundId)
  4473. end
  4474. end
  4475. elseif instance:IsA("TextLabel") or instance:IsA("TextButton") then
  4476. if not table.find(cachedText, instance) then
  4477. table.insert(cachedText, instance)
  4478. end
  4479. end
  4480. end
  4481. end)
  4482.  
  4483.  
  4484. while task.wait(1) do
  4485. if not checkSirius() then
  4486. if espContainer then espContainer:Destroy() end
  4487. undoAnonymousChanges()
  4488. break
  4489. end
  4490.  
  4491. smartBar.Time.Text = os.date("%H")..":"..os.date("%M")
  4492. task.spawn(UpdateHome)
  4493.  
  4494. for _, connection in getconnections(localPlayer.Idled) do
  4495. if not checkSetting("Anti Idle").current then connection:Enable() else connection:Disable() end
  4496. end
  4497.  
  4498. toggle.Visible = not checkSetting("Hide Toggle Button").current
  4499.  
  4500. -- Disconnected Check
  4501. local disconnectedRobloxUI = coreGui.RobloxPromptGui.promptOverlay:FindFirstChild("ErrorPrompt")
  4502.  
  4503. if disconnectedRobloxUI and not promptedDisconnected then
  4504. local reasonPrompt = disconnectedRobloxUI.MessageArea.ErrorFrame.ErrorMessage.Text
  4505.  
  4506. promptedDisconnected = true
  4507. disconnectedPrompt.Parent = coreGui.RobloxPromptGui
  4508.  
  4509. local disconnectType
  4510. local foundString
  4511.  
  4512. for _, preDisconnectType in ipairs(siriusValues.disconnectTypes) do
  4513. for _, typeString in pairs(preDisconnectType[2]) do
  4514. if string.find(reasonPrompt, typeString) then
  4515. disconnectType = preDisconnectType[1]
  4516. foundString = true
  4517. break
  4518. end
  4519. end
  4520. end
  4521.  
  4522. if not foundString then disconnectType = "kick" end
  4523.  
  4524. wipeTransparency(disconnectedPrompt, 1, true)
  4525. disconnectedPrompt.Visible = true
  4526.  
  4527. if disconnectType == "ban" then
  4528. disconnectedPrompt.Content.Text = "You've been banned, would you like to leave this server?"
  4529. disconnectedPrompt.Action.Text = "Leave"
  4530. disconnectedPrompt.Action.Size = UDim2.new(0, 77, 0, 36) -- use textbounds
  4531.  
  4532. disconnectedPrompt.UIGradient.Color = ColorSequence.new({
  4533. ColorSequenceKeypoint.new(0, Color3.new(0,0,0)),
  4534. ColorSequenceKeypoint.new(1, Color3.new(0.819608, 0.164706, 0.164706))
  4535. })
  4536. elseif disconnectType == "kick" then
  4537. disconnectedPrompt.Content.Text = "You've been kicked, would you like to serverhop?"
  4538. disconnectedPrompt.Action.Text = "Serverhop"
  4539. disconnectedPrompt.Action.Size = UDim2.new(0, 114, 0, 36)
  4540.  
  4541. disconnectedPrompt.UIGradient.Color = ColorSequence.new({
  4542. ColorSequenceKeypoint.new(0, Color3.new(0,0,0)),
  4543. ColorSequenceKeypoint.new(1, Color3.new(0.0862745, 0.596078, 0.835294))
  4544. })
  4545. elseif disconnectType == "network" then
  4546. disconnectedPrompt.Content.Text = "You've lost connection, would you like to rejoin?"
  4547. disconnectedPrompt.Action.Text = "Rejoin"
  4548. disconnectedPrompt.Action.Size = UDim2.new(0, 82, 0, 36)
  4549.  
  4550. disconnectedPrompt.UIGradient.Color = ColorSequence.new({
  4551. ColorSequenceKeypoint.new(0, Color3.new(0,0,0)),
  4552. ColorSequenceKeypoint.new(1, Color3.new(0.862745, 0.501961, 0.0862745))
  4553. })
  4554. end
  4555.  
  4556. tweenService:Create(disconnectedPrompt, TweenInfo.new(.5,Enum.EasingStyle.Quint), {BackgroundTransparency = 0}):Play()
  4557. tweenService:Create(disconnectedPrompt.Title, TweenInfo.new(.5,Enum.EasingStyle.Quint), {TextTransparency = 0}):Play()
  4558. tweenService:Create(disconnectedPrompt.Content, TweenInfo.new(.5,Enum.EasingStyle.Quint), {TextTransparency = 0.3}):Play()
  4559. tweenService:Create(disconnectedPrompt.Action, TweenInfo.new(.5,Enum.EasingStyle.Quint), {BackgroundTransparency = 0.7}):Play()
  4560. tweenService:Create(disconnectedPrompt.Action, TweenInfo.new(.5,Enum.EasingStyle.Quint), {TextTransparency = 0}):Play()
  4561.  
  4562. disconnectedPrompt.Action.MouseButton1Click:Connect(function()
  4563. if disconnectType == "ban" then
  4564. game:Shutdown() -- leave
  4565. elseif disconnectType == "kick" then
  4566. serverhop()
  4567. elseif disconnectType == "network" then
  4568. rejoin()
  4569. end
  4570. end)
  4571. end
  4572.  
  4573. if Pro then
  4574. -- all Pro checks here!
  4575.  
  4576. -- Two-Way Adaptive Latency Checks
  4577. if checkHighPing() then
  4578. if siriusValues.pingProfile.pingNotificationCooldown <= 0 then
  4579. if checkSetting("Adaptive Latency Warning").current then
  4580. queueNotification("High Latency Warning","We've noticed your latency has reached a higher value than usual, you may find that you are lagging or your actions are delayed in-game. Consider checking for any background downloads on your machine.", 4370305588)
  4581. siriusValues.pingProfile.pingNotificationCooldown = 120
  4582. end
  4583. end
  4584. end
  4585.  
  4586. if siriusValues.pingProfile.pingNotificationCooldown > 0 then
  4587. siriusValues.pingProfile.pingNotificationCooldown -= 1
  4588. end
  4589.  
  4590. -- Adaptive frame time checks
  4591. if siriusValues.frameProfile.frameNotificationCooldown <= 0 then
  4592. if #siriusValues.frameProfile.fpsQueue > 0 then
  4593. local avgFPS = siriusValues.frameProfile.totalFPS / #siriusValues.frameProfile.fpsQueue
  4594.  
  4595. if avgFPS < siriusValues.frameProfile.lowFPSThreshold then
  4596. if checkSetting("Adaptive Performance Warning").current then
  4597. queueNotification("Degraded Performance","We've noticed your client's frames per second have decreased. Consider checking for any background tasks or programs on your machine.", 4384400106)
  4598. siriusValues.frameProfile.frameNotificationCooldown = 120
  4599. end
  4600. end
  4601. end
  4602. end
  4603.  
  4604. if siriusValues.frameProfile.frameNotificationCooldown > 0 then
  4605. siriusValues.frameProfile.frameNotificationCooldown -= 1
  4606. end
  4607. end
  4608. end
  4609.  
  4610. loadstring(game:HttpGet("https://raw.githubusercontent.com/k0nkx/Aura-x-skid-ez-remake-by-k0nkx/main/Sigma"))()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement