-
-
Notifications
You must be signed in to change notification settings - Fork 17
Expand file tree
/
Copy pathsource.lua
More file actions
5410 lines (4645 loc) · 207 KB
/
Copy pathsource.lua
File metadata and controls
5410 lines (4645 loc) · 207 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
--[[
Sirius
© 2026 Corridon Capital.
All Rights Reserved.
--]]
--[[
Sirius Pre-Hyperion Todo List
High Priority
- Invisible, Godmode
- All Scripts buttons and Universal scripts
- Chat Spam Detection
- Custom Script Prompts
- Player Kill, Spectate and ESP via Playerlist
- http.request support for Sirius Intelligent HTTP Interception
- Performance Improvements to Roblox itself
Moderate Priority
- Spectate Animation, like GTA serverhop, tween to high in the sky, then tween to other player's head
- Chat Spy Tracking: Follows who they're whispering to based on original message
- Starlight
- Chatlogs
- GTA Serverhop
- Anti-Spam (chat) formula, based on text length, caps, emojis etc.
- Reduce any form of detection of Sirius
- Automated lowering of graphics on lower FPS, ensure no false positives
Potential Future Setting Options
- 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
- Serverhop type (default/gta)
- Hook Specific Functions to reduce the need for external scripts
--]]
-- Ensure the game is loaded.
--
-- game.Loaded fires exactly once, so waiting on it after it has already fired blocks
-- forever. IsLoaded() guards that, but the two disagree on auto-execute: the signal has
-- gone while IsLoaded() still reads false, and Sirius stops here with no error, nothing on
-- screen and no way for the user to tell it ever ran. Polling the flag instead cannot miss
-- an edge, and the deadline means a client that never reports loaded costs a few seconds
-- rather than the whole launch.
if not game:IsLoaded() then
local deadline = os.clock() + 10
while not game:IsLoaded() and os.clock() < deadline do
task.wait()
end
end
-- Check License Tier
local Pro = true -- We're open sourced now!
-- Executor Feature Detection
-- Optional globals vary wildly between executors, so every one is resolved through a
-- typeof() check up front. Anything missing stays nil and every call site guards on it,
-- which stops a single absent function from aborting startup for the whole script.
local function optional(value)
return typeof(value) == "function" and value or nil
end
local setFpsCap = optional(setfpscap)
local getExecutorName = optional(identifyexecutor)
local getCustomAsset = optional(getcustomasset)
local getConnectionsFor = optional(getconnections)
local hookMetamethod = optional(hookmetamethod)
local getHiddenUI = optional(gethui)
local cloneRef = optional(cloneref)
local getEnv = optional(getgenv)
-- The executor's shared environment. Falls back to _G so the caches and re-run sentinels
-- still have somewhere to live on executors that don't expose getgenv.
local env = getEnv and getEnv() or _G
-- Prefer the executor's own service clones where available; a cloneref'd handle isn't
-- reachable from the game's own scripts, which is what the "reduce detection" TODO wants.
local function getService(name)
local service = game:GetService(name)
return cloneRef and cloneRef(service) or service
end
-- Create Variables for Roblox Services
local coreGui = getService("CoreGui")
local httpService = getService("HttpService")
local lighting = getService("Lighting")
local players = getService("Players")
local replicatedStorage = getService("ReplicatedStorage")
local runService = getService("RunService")
local guiService = getService("GuiService")
local statsService = getService("Stats")
local starterGui = getService("StarterGui")
local teleportService = getService("TeleportService")
local tweenService = getService("TweenService")
local userInputService = getService("UserInputService")
local textChatService = getService("TextChatService")
local marketplaceService = getService("MarketplaceService")
local gameSettings = UserSettings():GetService("UserGameSettings")
local useStudio = runService:IsStudio()
-- Loads and executes a function hosted on a remote URL, cancelling the request if the URL
-- takes too long to respond. Ported from Rayfield so a slow CDN can't stall startup.
local function loadWithTimeout(url, timeout)
assert(type(url) == "string", "Expected string, got " .. type(url))
timeout = timeout or 5
local requestCompleted = false
local success, result = false, nil
local requestThread = task.spawn(function()
local fetchSuccess, fetchResult = pcall(game.HttpGet, game, url)
-- A "successful" request can still come back empty
if not fetchSuccess or #fetchResult == 0 then
if fetchSuccess and #fetchResult == 0 then
fetchResult = "Empty response"
end
success, result = false, fetchResult
requestCompleted = true
return
end
local execSuccess, execResult = pcall(function()
return loadstring(fetchResult)()
end)
success, result = execSuccess, execResult
requestCompleted = true
end)
local timeoutThread = task.delay(timeout, function()
if not requestCompleted then
warn("Sirius | Request for " .. url .. " timed out after " .. tostring(timeout) .. " seconds")
task.cancel(requestThread)
result = "Request timed out"
requestCompleted = true
end
end)
while not requestCompleted do
task.wait()
end
if coroutine.status(timeoutThread) ~= "dead" then
task.cancel(timeoutThread)
end
if not success then
warn("Sirius | Failed to process " .. tostring(url) .. ": " .. tostring(result))
return nil
end
return result
end
-- Every connection Sirius opens is registered here so teardown can close all of them at once.
local connections = {}
local function track(connection)
table.insert(connections, connection)
return connection
end
-- Case-insensitive literal replace. string.gsub treats its needle as a Lua pattern, so names
-- containing -, ., ( or % broke or errored; this walks plain-text matches instead.
local function replacePlain(haystack, needleLower, replacement)
if needleLower == "" then
return haystack
end
local lowered = string.lower(haystack)
local out, cursor = {}, 1
while true do
local startIndex, endIndex = string.find(lowered, needleLower, cursor, true)
if not startIndex then
break
end
table.insert(out, string.sub(haystack, cursor, startIndex - 1))
table.insert(out, replacement)
cursor = endIndex + 1
end
if cursor == 1 then
return haystack
end
table.insert(out, string.sub(haystack, cursor))
return table.concat(out)
end
-- Shortens a value for display only. The stored value is never overwritten with the result.
local function truncateForDisplay(value, limit)
local text = tostring(value)
limit = limit or 24
if #text <= limit then
return text
end
return string.sub(text, 1, limit - 2) .. ".."
end
-- Variables
local camera = workspace.CurrentCamera
local getMessage = replicatedStorage:WaitForChild("DefaultChatSystemChatEvents", 1) and replicatedStorage.DefaultChatSystemChatEvents:WaitForChild("OnMessageDoneFiltering", 1)
-- Roblox retired the legacy chat system; anything built on DefaultChatSystemChatEvents only
-- works in experiences still opted into it. Checked once here rather than at each call site.
local legacyChatActive = getMessage ~= nil and textChatService.ChatVersion == Enum.ChatVersion.LegacyChatService
local localPlayer = players.LocalPlayer
local notifications = {}
local friendsCooldown = 0
local promptedDisconnected = false
local smartBarOpen = false
local debounce = false
local searchingForPlayer = false
local musicQueue = {}
local playGeneration = 0 -- bumped to invalidate parked Ended:Wait coroutines in playNext
local currentAudio
local lowerName = localPlayer.Name:lower()
local lowerDisplayName = localPlayer.DisplayName:lower()
local placeId = game.PlaceId
local jobId = game.JobId
local checkingForKey
local originalTextValues = {}
local creatorId = game.CreatorId
local noclipDefaults = {}
local movers = {}
local creatorType = game.CreatorType
local espContainer = Instance.new("Folder", getHiddenUI and getHiddenUI() or coreGui)
espContainer.Name = "SiriusESP"
local locatedPlayers = {} -- per-player ESP toggles, independent from the global ESP action
local espConnections = {} -- [player] = RBXScriptConnection for CharacterAdded
local descendantAddedConn -- top-level DescendantAdded; tracked so we can disconnect on teardown
local oldVolume = gameSettings.MasterVolume
local baseFieldOfView = camera.FieldOfView -- captured once; Home restores to this rather than doing relative maths
local homeFieldOfView -- the FOV in effect when Home was last opened
local placeName -- resolved once at startup so the JobId copy button never yields on click
-- Configurable Core Values
local siriusValues = {
siriusVersion = "1.28",
siriusName = "Sirius",
releaseType = "Stable",
siriusFolder = "Sirius",
settingsFile = "settings.srs",
interfaceAsset = 14183548964,
cdn = "https://cdn.sirius.menu/SIRIUS-SCRIPT-CORE-ASSETS/",
icons = "https://cdn.sirius.menu/SIRIUS-SCRIPT-CORE-ASSETS/Icons/",
-- The per-experience game scripts, the neon module and the sense ESP library were all
-- removed: their URLs pointed at a branch that no longer exists and at the retired
-- shlexware org, so every fetch 404'd. Experience Sync went with them.
executors = {
"synapse x",
"script-ware",
"krnl",
"scriptware",
"comet",
"valyse",
"fluxus",
"electron",
"hydrogen",
"wave",
"solara",
"xeno",
"swift",
"delta",
"codex",
"arceus x",
"trigon",
"vegax",
"cryptic",
},
disconnectTypes = { { "ban", { "ban", "perm" } }, { "network", { "internet connection", "network" } } },
nameGeneration = {
adjectives = { "Cool", "Awesome", "Epic", "Ninja", "Super", "Mystic", "Swift", "Golden", "Diamond", "Silver", "Mint", "Roblox", "Amazing" },
nouns = { "Player", "Gamer", "Master", "Legend", "Hero", "Ninja", "Wizard", "Champion", "Warrior", "Sorcerer" },
},
administratorRoles = { "mod", "admin", "staff", "dev", "founder", "owner", "supervis", "manager", "management", "executive", "president", "chairman", "chairwoman", "chairperson", "director" },
transparencyProperties = {
UIStroke = { "Transparency" },
Frame = { "BackgroundTransparency" },
TextButton = { "BackgroundTransparency", "TextTransparency" },
TextLabel = { "BackgroundTransparency", "TextTransparency" },
TextBox = { "BackgroundTransparency", "TextTransparency" },
ImageLabel = { "BackgroundTransparency", "ImageTransparency" },
ImageButton = { "BackgroundTransparency", "ImageTransparency" },
ScrollingFrame = { "BackgroundTransparency", "ScrollBarImageTransparency" },
},
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) },
chatSpy = {
enabled = true,
visual = {
Color = Color3.fromRGB(26, 148, 255),
Font = Enum.Font.SourceSansBold,
TextSize = 18,
},
},
pingProfile = {
recentPings = {},
adaptiveBaselinePings = {},
pingNotificationCooldown = 0,
maxSamples = 12, -- max num of recent pings stored
spikeThreshold = 1.75, -- high Ping in comparison to average ping (e.g 100 avg would be high at 150)
adaptiveBaselineSamples = 30, -- how many samples Sirius takes before deciding on a fixed high ping value
adaptiveHighPingThreshold = 120, -- default value
},
frameProfile = {
frameNotificationCooldown = 0,
fpsQueueSize = 10,
lowFPSThreshold = 20, -- what's low fps!??!?!
totalFPS = 0,
fpsQueue = {},
},
actions = {
{
name = "Noclip",
images = { 14385986465, 9134787693 },
color = Color3.fromRGB(0, 170, 127),
enabled = false,
rotateWhileEnabled = false,
callback = function() end,
},
{
name = "Flight",
images = { 9134755504, 14385992605 },
color = Color3.fromRGB(170, 37, 46),
enabled = false,
rotateWhileEnabled = false,
callback = function(value)
local character = localPlayer.Character
local humanoid = character and character:FindFirstChildOfClass("Humanoid")
if humanoid then
humanoid.PlatformStand = value
end
end,
},
{
name = "Refresh",
images = { 9134761478, 9134761478 },
color = Color3.fromRGB(61, 179, 98),
enabled = false,
rotateWhileEnabled = true,
disableAfter = 3,
callback = function()
task.spawn(function()
local character = localPlayer.Character
if character then
local cframe = character:GetPivot()
local humanoid = character:FindFirstChildOfClass("Humanoid")
if humanoid then
humanoid:ChangeState(Enum.HumanoidStateType.Dead)
end
character = localPlayer.CharacterAdded:Wait()
task.defer(character.PivotTo, character, cframe)
end
end)
end,
},
{
name = "Respawn",
images = { 9134762943, 9134762943 },
color = Color3.fromRGB(49, 88, 193),
enabled = false,
rotateWhileEnabled = true,
disableAfter = 2,
callback = function()
local character = localPlayer.Character
local humanoid = character and character:FindFirstChildOfClass("Humanoid")
if humanoid then
humanoid:ChangeState(Enum.HumanoidStateType.Dead)
end
end,
},
{
name = "Invulnerability",
images = { 9134765994, 14386216487 },
color = Color3.fromRGB(193, 46, 90),
enabled = false,
rotateWhileEnabled = false,
callback = function() end,
},
{
name = "Fling",
images = { 9134785384, 14386226155 },
color = Color3.fromRGB(184, 85, 61),
enabled = false,
rotateWhileEnabled = true,
callback = function(value)
local character = localPlayer.Character
local primaryPart = character and character.PrimaryPart
if primaryPart then
for _, part in ipairs(character:GetDescendants()) do
if part:IsA("BasePart") then
part.Massless = value
part.CustomPhysicalProperties = PhysicalProperties.new(value and math.huge or 0.7, 0.3, 0.5)
end
end
primaryPart.Anchored = true
primaryPart.AssemblyLinearVelocity = Vector3.zero
primaryPart.AssemblyAngularVelocity = Vector3.zero
if movers[3] then
movers[3].Parent = value and primaryPart or nil
end
task.delay(0.5, function()
primaryPart.Anchored = false
end)
end
end,
},
{
name = "Extrasensory Perception",
images = { 9134780101, 14386232387 },
color = Color3.fromRGB(214, 182, 19),
enabled = false,
rotateWhileEnabled = false,
callback = function(value)
for _, highlight in ipairs(espContainer:GetChildren()) do
highlight.Enabled = value or locatedPlayers[highlight.Name] == true
end
end,
},
{
name = "Night and Day",
images = { 9134778004, 10137794784 },
color = Color3.fromRGB(102, 75, 190),
enabled = false,
rotateWhileEnabled = false,
callback = function(value)
tweenService:Create(lighting, TweenInfo.new(0.5), { ClockTime = value and 12 or 24 }):Play()
end,
},
{
name = "Global Audio",
images = { 9134774810, 14386246782 },
color = Color3.fromRGB(202, 103, 58),
enabled = false,
rotateWhileEnabled = false,
callback = function(value)
if value then
oldVolume = gameSettings.MasterVolume
gameSettings.MasterVolume = 0
else
gameSettings.MasterVolume = oldVolume
end
end,
},
{
name = "Visibility",
images = { 14386256326, 9134770786 },
color = Color3.fromRGB(62, 94, 170),
enabled = false,
rotateWhileEnabled = false,
callback = function() end,
},
},
sliders = {
{
name = "player speed",
color = Color3.fromRGB(44, 153, 93),
values = { 0, 300 },
default = 16,
value = 16,
active = false,
callback = function(value)
local character = localPlayer.Character
local humanoid = character and character:FindFirstChildOfClass("Humanoid")
if humanoid then -- was `if character`, which let a Humanoid-less character through
humanoid.WalkSpeed = value
end
end,
},
{
name = "jump power",
color = Color3.fromRGB(59, 126, 184),
values = { 0, 350 },
default = 50,
value = 16,
active = false,
callback = function(value)
local character = localPlayer.Character
local humanoid = character and character:FindFirstChildOfClass("Humanoid")
if humanoid then -- was `if character`, which let a Humanoid-less character through
if humanoid.UseJumpPower then
humanoid.JumpPower = value
else
humanoid.JumpHeight = value
end
end
end,
},
{
name = "flight speed",
color = Color3.fromRGB(177, 45, 45),
values = { 1, 25 },
default = 3,
value = 3,
active = false,
callback = function() end, -- read directly by the Heartbeat flight loop
},
{
name = "field of view",
color = Color3.fromRGB(198, 178, 75),
values = { 45, 120 },
default = 70,
value = 16,
active = false,
callback = function(value)
tweenService:Create(camera, TweenInfo.new(0.6, Enum.EasingStyle.Exponential), { FieldOfView = value }):Play()
end,
},
},
}
local siriusSettings = {
{
name = "General",
description = "The general settings for Sirius, from simple to unique features.",
color = Color3.new(0.117647, 0.490196, 0.72549),
minimumLicense = "Free",
categorySettings = {
{
name = "Anonymous Client",
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.",
settingType = "Boolean",
current = false,
id = "anonmode",
},
{
name = "Chat Spy",
description = "Display whispers usually hidden from you in the chat box. This requires the legacy Roblox chat system; experiences on TextChatService route whispers through channels the client never receives, so Sirius will tell you when it is unavailable rather than silently doing nothing.",
settingType = "Boolean",
current = true,
id = "chatspy",
},
{
name = "Hide Toggle Button",
description = "This will remove the option to open the smartBar with the toggle button.",
settingType = "Boolean",
current = false,
id = "hidetoggle",
},
{
name = "Now Playing Notifications",
description = "When active, Sirius will notify you when the next song in your Music queue plays.",
settingType = "Boolean",
current = true,
id = "nowplaying",
},
{
name = "Friend Notifications",
settingType = "Boolean",
current = true,
id = "friendnotifs",
},
{
name = "Load Hidden",
settingType = "Boolean",
current = false,
id = "loadhidden",
},
{
name = "Startup Sound Effect",
settingType = "Boolean",
current = true,
id = "startupsound",
},
{
name = "Anti Idle",
description = "Remove all callbacks and events linked to the LocalPlayer Idled state. This may prompt detection from Adonis or similar anti-cheats.",
settingType = "Boolean",
current = true,
id = "antiidle",
},
{
name = "Client-Based Anti Kick",
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.",
settingType = "Boolean",
current = false,
id = "antikick",
},
{
name = "Muffle audio while unfocused",
settingType = "Boolean",
current = true,
id = "muffleunfocused",
},
},
},
{
name = "Keybinds",
description = "Assign keybinds to actions or change keybinds such as the one to open/close Sirius.",
color = Color3.new(0.0941176, 0.686275, 0.509804),
minimumLicense = "Free",
categorySettings = {
{
name = "Toggle smartBar",
settingType = "Key",
current = "K",
id = "smartbar",
},
{
name = "Open ScriptSearch",
settingType = "Key",
current = "T",
id = "scriptsearch",
},
{
name = "NoClip",
settingType = "Key",
current = nil,
id = "noclip",
actionIndex = 1,
callback = function()
local noclip = siriusValues.actions[1]
noclip.enabled = not noclip.enabled
noclip.callback(noclip.enabled)
end,
},
{
name = "Flight",
settingType = "Key",
current = nil,
id = "flight",
actionIndex = 2,
callback = function()
local flight = siriusValues.actions[2]
flight.enabled = not flight.enabled
flight.callback(flight.enabled)
end,
},
{
name = "Refresh",
settingType = "Key",
current = nil,
id = "refresh",
actionIndex = 3,
callback = function()
local refresh = siriusValues.actions[3]
if not refresh.enabled then
refresh.enabled = true
refresh.callback()
end
end,
},
{
name = "Respawn",
settingType = "Key",
current = nil,
id = "respawn",
actionIndex = 4,
callback = function()
local respawn = siriusValues.actions[4]
if not respawn.enabled then
respawn.enabled = true
respawn.callback()
end
end,
},
{
name = "Invulnerability",
settingType = "Key",
current = nil,
id = "invulnerability",
actionIndex = 5,
callback = function()
local invulnerability = siriusValues.actions[5]
invulnerability.enabled = not invulnerability.enabled
invulnerability.callback(invulnerability.enabled)
end,
},
{
name = "Fling",
settingType = "Key",
current = nil,
id = "fling",
actionIndex = 6,
callback = function()
local fling = siriusValues.actions[6]
fling.enabled = not fling.enabled
fling.callback(fling.enabled)
end,
},
{
name = "ESP",
settingType = "Key",
current = nil,
id = "esp",
actionIndex = 7,
callback = function()
local esp = siriusValues.actions[7]
esp.enabled = not esp.enabled
esp.callback(esp.enabled)
end,
},
{
name = "Night and Day",
settingType = "Key",
current = nil,
id = "nightandday",
actionIndex = 8,
callback = function()
local nightandday = siriusValues.actions[8]
nightandday.enabled = not nightandday.enabled
nightandday.callback(nightandday.enabled)
end,
},
{
name = "Global Audio",
settingType = "Key",
current = nil,
id = "globalaudio",
actionIndex = 9,
callback = function()
local globalaudio = siriusValues.actions[9]
globalaudio.enabled = not globalaudio.enabled
globalaudio.callback(globalaudio.enabled)
end,
},
{
name = "Visibility",
settingType = "Key",
current = nil,
id = "visibility",
actionIndex = 10,
callback = function()
local visibility = siriusValues.actions[10]
visibility.enabled = not visibility.enabled
visibility.callback(visibility.enabled)
end,
},
},
},
{
name = "Performance",
description = "Tweak and test your performance settings for Roblox in Sirius.",
color = Color3.new(1, 0.376471, 0.168627),
minimumLicense = "Free",
categorySettings = {
{
name = "Artificial FPS Limit",
description = "Sirius will automatically set your FPS to this number when you are tabbed-in to Roblox.",
settingType = "Number",
values = { 20, 5000 },
current = 240,
id = "fpscap",
},
{
name = "Limit FPS while unfocused",
description = "Sirius will automatically set your FPS to 60 when you tab-out or unfocus from Roblox.",
settingType = "Boolean", -- number for the cap below!! with min and max val
current = true,
id = "fpsunfocused",
},
{
name = "Adaptive Latency Warning",
description = "Sirius will check your average latency in the background and notify you if your current latency significantly goes above your average latency.",
settingType = "Boolean",
current = true,
id = "latencynotif",
},
{
name = "Adaptive Performance Warning",
description = "Sirius will check your average FPS in the background and notify you if your current FPS goes below a specific number.",
settingType = "Boolean",
current = true,
id = "fpsnotif",
},
},
},
{
name = "Detections",
description = "Sirius detects and prevents anything malicious or possibly harmful to your wellbeing.",
color = Color3.new(0.705882, 0, 0),
minimumLicense = "Free",
categorySettings = {
{
name = "Spatial Shield",
description = "Suppress loud sounds played from any audio source in-game, in real-time with Spatial Shield.",
settingType = "Boolean",
minimumLicense = "Pro",
current = true,
id = "spatialshield",
},
{
name = "Spatial Shield Threshold",
description = "How loud a sound needs to be to be suppressed.",
settingType = "Number",
minimumLicense = "Pro",
values = { 100, 1000 },
current = 300,
id = "spatialshieldthreshold",
},
{
name = "Moderator Detection",
description = "Be notified whenever Sirius detects a player joins your session that could be a game moderator.",
settingType = "Boolean",
minimumLicense = "Pro",
current = true,
id = "moddetection",
},
{
name = "Intelligent HTTP Interception",
description = "Block external HTTP/HTTPS requests from being sent/recieved and ask you before allowing it to run.",
settingType = "Boolean",
minimumLicense = "Essential",
current = true,
id = "intflowintercept",
},
{
name = "Intelligent Clipboard Interception",
description = "Block your clipboard from being set and ask you before allowing it to set your clipboard.",
settingType = "Boolean",
minimumLicense = "Essential",
current = true,
id = "intflowinterceptclip",
},
},
},
{
name = "Logging",
description = "Send logs to your specified webhook URL of things like player joins and leaves and messages.",
color = Color3.new(0.905882, 0.780392, 0.0666667),
minimumLicense = "Free",
categorySettings = {
{
name = "Log Messages",
description = "Log messages sent by any player to your webhook.",
settingType = "Boolean",
current = false,
id = "logmsg",
},
{
name = "Message Webhook URL",
description = "Discord Webhook URL",
settingType = "Input",
current = "No Webhook",
id = "logmsgurl",
},
{
name = "Log PlayerAdded and PlayerRemoving",
description = "Log whenever any player leaves or joins your session.",
settingType = "Boolean",
current = false,
id = "logplrjoinleave",
},
{
name = "Player Added and Removing Webhook URL",
description = "Discord Webhook URL",
settingType = "Input",
current = "No Webhook",
id = "logplrjoinleaveurl",
},
},
},
}
-- Generate random username
local randomAdjective = siriusValues.nameGeneration.adjectives[math.random(1, #siriusValues.nameGeneration.adjectives)]
local randomNoun = siriusValues.nameGeneration.nouns[math.random(1, #siriusValues.nameGeneration.nouns)]
local randomNumber = math.random(100, 3999) -- You can customize the range
local randomUsername = randomAdjective .. randomNoun .. randomNumber
-- Initialise Sirius Client Interface
local guiParent = getHiddenUI and getHiddenUI() or (useStudio and localPlayer:WaitForChild("PlayerGui")) or coreGui
local sirius = guiParent:FindFirstChild("Sirius")
if sirius then
sirius:Destroy()
end
-- In Studio there's no GetObjects, so the interface is expected to sit next to this script.
local function loadInterface()
if useStudio then
local container = script.Parent
return container and container:FindFirstChild(siriusValues.siriusName)
end
-- Indexing [1] directly threw its own error when the fetch came back empty, which
-- then read as "GetObjects is broken" rather than "the asset didn't arrive".
local objects = game:GetObjects("rbxassetid://" .. siriusValues.interfaceAsset)
return objects and objects[1]
end
-- GetObjects has two distinct failure modes and they used to share one silent exit: it can
-- throw, or it can succeed and hand back an empty table because the asset did not come down
-- for this client. The second is transient and worth retrying; neither is worth ending the
-- script over without telling anyone.
local uiResult, uiError
for attempt = 1, 3 do
local success, result = pcall(loadInterface)
if success and result then
uiResult = result
break
end
uiError = success and "the interface asset returned nothing" or tostring(result)
if attempt < 3 then
task.wait(attempt)
end
end
-- The old message named only the pcall's error value, so the empty-asset case printed
-- "nil" and said nothing about what had gone wrong. Both causes are spelled out now, and
-- the line says Sirius is stopping -- the previous wording read as a warning about a
-- missing extra rather than the end of the launch.
if not uiResult then
warn("Sirius | Couldn't load the interface asset after 3 attempts (" .. tostring(uiError) .. "). Sirius has not started.")
return
end
local UI = uiResult
UI.Name = siriusValues.siriusName
UI.Parent = guiParent
UI.Enabled = false
-- Create Variables for Interface Elements
local characterPanel = UI.Character
local customScriptPrompt = UI.CustomScriptPrompt
local securityPrompt = UI.SecurityPrompt
local disconnectedPrompt = UI.Disconnected
local gameDetectionPrompt = UI.GameDetection
local homeContainer = UI.Home
local moderatorDetectionPrompt = UI.ModeratorDetectionPrompt
local musicPanel = UI.Music
local notificationContainer = UI.Notifications
local playerlistPanel = UI.Playerlist
local scriptSearch = UI.ScriptSearch
local scriptsPanel = UI.Scripts
local settingsPanel = UI.Settings
local smartBar = UI.SmartBar
local toggle = UI.Toggle
local toastsContainer = UI.Toasts
-- Interface Caching
-- Reset per run: carrying a previous session's list over means closing Home re-enables
-- interfaces the current experience never had open.
env.cachedInGameUI = {}
env.cachedCoreUI = {}
-- Malicious Behavior Prevention
--
-- Both interception hooks replace a global, so a second execution would otherwise wrap
-- Sirius' own wrapper and show one prompt per run. The pristine functions are stashed under
-- a sentinel on first run and re-read on every run after that, so re-executing is idempotent.
local indexSetClipboard = "setclipboard"
-- Widened to match Rayfield: several executors only expose their request function under a
-- namespace, and the old two-entry check left originalRequest nil on those.
local index = (http_request and "http_request") or "request"
local rawRequest = env.request or env.http_request or (env.http and env.http.request) or (env.syn and env.syn.request) or (env.fluxus and env.fluxus.request)
if env.siriusOriginals == nil then
env.siriusOriginals = {
request = rawRequest,
setclipboard = env[indexSetClipboard],
}
end
local originalRequest = env.siriusOriginals.request
local originalSetClipboard = env.siriusOriginals.setclipboard
-- put this into siriusValues, like the fps and ping shit
local suppressedSounds = {}
local soundSuppressionNotificationCooldown = 0
local soundInstances = {}
local trackedSounds = {} -- [Sound] = true, replaces the linear table.find scan
local trackedText = {} -- [TextLabel|TextButton] = true
local cachedIds = {}
local cachedText = {}
if not legacyChatActive then
siriusValues.chatSpy.enabled = false
end
-- Call External Modules
-- httpRequest