Advertisement
Guest User

The 1000000 glass bridge script

a guest
Jan 6th, 2025
668
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.94 KB | None | 0 0
  1. if game.PlaceId == 87854376962069 then
  2.  
  3. local Rayfield = loadstring(game:HttpGet('https://sirius.menu/rayfield'))()
  4.  
  5. local Window = Rayfield:CreateWindow({
  6. Name = "⚡ Elionis Hub | The $1,000,000 Glass Bridge",
  7. Icon = 0, -- Icon in Topbar. Can use Lucide Icons (string) or Roblox Image (number). 0 to use no icon (default).
  8. LoadingTitle = "Rayfield Interface Suite",
  9. LoadingSubtitle = "by Sirius",
  10. Theme = "Default", -- Check https://docs.sirius.menu/rayfield/configuration/themes
  11.  
  12. DisableRayfieldPrompts = false,
  13. DisableBuildWarnings = false, -- Prevents Rayfield from warning when the script has a version mismatch with the interface
  14.  
  15. ConfigurationSaving = {
  16. Enabled = false,
  17. FolderName = nil, -- Create a custom folder for your hub/game
  18. FileName = "Big Hub"
  19. },
  20.  
  21. Discord = {
  22. Enabled = false, -- Prompt the user to join your Discord server if their executor supports it
  23. Invite = "noinvitelink", -- The Discord invite code, do not include discord.gg/. E.g. discord.gg/ ABCD would be ABCD
  24. RememberJoins = true -- Set this to false to make them join the discord every time they load it up
  25. },
  26.  
  27. KeySystem = false, -- Set this to true to use our key system
  28. KeySettings = {
  29. Title = "Untitled",
  30. Subtitle = "Key System",
  31. Note = "No method of obtaining the key is provided", -- Use this to tell the user how to get a key
  32. FileName = "Key", -- It is recommended to use something unique as other scripts using Rayfield may overwrite your key file
  33. SaveKey = true, -- The user's key will be saved, but if you change the key, they will be unable to use your script
  34. GrabKeyFromSite = false, -- If this is true, set Key below to the RAW site you would like Rayfield to get the key from
  35. Key = {"Hello"} -- List of keys that will be accepted by the system, can be RAW file links (pastebin, github etc) or simple strings ("hello","key22")
  36. }
  37. })
  38.  
  39. -- Variables
  40. _G.autoMoney = true
  41. _G.glasses = true
  42.  
  43. -- Functions
  44. function autoMoney()
  45. while _G.autoMoney == true do
  46. -- game:GetService("ReplicatedStorage").Loader_Trophy:FireServer()
  47. game:GetService("ReplicatedStorage").GiveClaimMoney:FireServer()
  48. -- game:GetService("ReplicatedStorage").PlayFinalMusic_2:FireServer()
  49. -- game:GetService("ReplicatedStorage").Teams_Remotes.ChangeTeam:FireServer()
  50. wait(0.00001)
  51. end
  52. end
  53.  
  54. function changeColors()
  55. while _G.glasses == true do
  56. local glassesFolder = game.Workspace:FindFirstChild("Glasses")
  57.  
  58. if glassesFolder then
  59. local correctFolder = glassesFolder:FindFirstChild("Correct")
  60. local wrongFolder = glassesFolder:FindFirstChild("Wrong")
  61.  
  62. -- Change the BrickColor of parts in the Correct folder to green
  63. if correctFolder then
  64. for _, part in pairs(correctFolder:GetChildren()) do
  65. if part:IsA("BasePart") then -- Check if the object is a part
  66. part.BrickColor = BrickColor.new("Bright green") -- Set to bright green
  67. end
  68. end
  69. end
  70.  
  71. -- Change the BrickColor of parts in the Wrong folder to red
  72. if wrongFolder then
  73. for _, part in pairs(wrongFolder:GetChildren()) do
  74. if part:IsA("BasePart") then -- Check if the object is a part
  75. part.BrickColor = BrickColor.new("Bright red") -- Set to bright red
  76. end
  77. end
  78. end
  79. else
  80. print("Glasses folder not found in Workspace.")
  81. end
  82. wait(1)
  83. end
  84. end
  85.  
  86.  
  87.  
  88. local AutoTab = Window:CreateTab("AutoMoney", 4483362458) -- Title, Image
  89.  
  90. local Toggle = AutoTab:CreateToggle({
  91. Name = "Money Farm",
  92. CurrentValue = false,
  93. Flag = "Toggle1", -- A flag is the identifier for the configuration file, make sure every element has a different flag if you're using configuration saving to ensure no overlaps
  94. Callback = function(Value)
  95. -- The function that takes place when the toggle is pressed
  96. -- The variable (Value) is a boolean on whether the toggle is true or false
  97. _G.autoMoney = Value
  98. autoMoney()
  99. end,
  100. })
  101.  
  102. local Button = AutoTab:CreateButton({
  103. Name = "Show Path",
  104. Callback = function()
  105. _G.glasses = true
  106. changeColors()
  107. -- The function that takes place when the button is pressed
  108. end,
  109. })
  110. end
  111.  
  112.  
  113. Rayfield:LoadConfiguration()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement