Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if game.PlaceId == 87854376962069 then
- local Rayfield = loadstring(game:HttpGet('https://sirius.menu/rayfield'))()
- local Window = Rayfield:CreateWindow({
- Name = "⚡ Elionis Hub | The $1,000,000 Glass Bridge",
- Icon = 0, -- Icon in Topbar. Can use Lucide Icons (string) or Roblox Image (number). 0 to use no icon (default).
- LoadingTitle = "Rayfield Interface Suite",
- LoadingSubtitle = "by Sirius",
- Theme = "Default", -- Check https://docs.sirius.menu/rayfield/configuration/themes
- DisableRayfieldPrompts = false,
- DisableBuildWarnings = false, -- Prevents Rayfield from warning when the script has a version mismatch with the interface
- ConfigurationSaving = {
- Enabled = false,
- FolderName = nil, -- Create a custom folder for your hub/game
- FileName = "Big Hub"
- },
- Discord = {
- Enabled = false, -- Prompt the user to join your Discord server if their executor supports it
- Invite = "noinvitelink", -- The Discord invite code, do not include discord.gg/. E.g. discord.gg/ ABCD would be ABCD
- RememberJoins = true -- Set this to false to make them join the discord every time they load it up
- },
- KeySystem = false, -- Set this to true to use our key system
- KeySettings = {
- Title = "Untitled",
- Subtitle = "Key System",
- Note = "No method of obtaining the key is provided", -- Use this to tell the user how to get a key
- FileName = "Key", -- It is recommended to use something unique as other scripts using Rayfield may overwrite your key file
- SaveKey = true, -- The user's key will be saved, but if you change the key, they will be unable to use your script
- GrabKeyFromSite = false, -- If this is true, set Key below to the RAW site you would like Rayfield to get the key from
- 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")
- }
- })
- -- Variables
- _G.autoMoney = true
- _G.glasses = true
- -- Functions
- function autoMoney()
- while _G.autoMoney == true do
- -- game:GetService("ReplicatedStorage").Loader_Trophy:FireServer()
- game:GetService("ReplicatedStorage").GiveClaimMoney:FireServer()
- -- game:GetService("ReplicatedStorage").PlayFinalMusic_2:FireServer()
- -- game:GetService("ReplicatedStorage").Teams_Remotes.ChangeTeam:FireServer()
- wait(0.00001)
- end
- end
- function changeColors()
- while _G.glasses == true do
- local glassesFolder = game.Workspace:FindFirstChild("Glasses")
- if glassesFolder then
- local correctFolder = glassesFolder:FindFirstChild("Correct")
- local wrongFolder = glassesFolder:FindFirstChild("Wrong")
- -- Change the BrickColor of parts in the Correct folder to green
- if correctFolder then
- for _, part in pairs(correctFolder:GetChildren()) do
- if part:IsA("BasePart") then -- Check if the object is a part
- part.BrickColor = BrickColor.new("Bright green") -- Set to bright green
- end
- end
- end
- -- Change the BrickColor of parts in the Wrong folder to red
- if wrongFolder then
- for _, part in pairs(wrongFolder:GetChildren()) do
- if part:IsA("BasePart") then -- Check if the object is a part
- part.BrickColor = BrickColor.new("Bright red") -- Set to bright red
- end
- end
- end
- else
- print("Glasses folder not found in Workspace.")
- end
- wait(1)
- end
- end
- local AutoTab = Window:CreateTab("AutoMoney", 4483362458) -- Title, Image
- local Toggle = AutoTab:CreateToggle({
- Name = "Money Farm",
- CurrentValue = false,
- 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
- Callback = function(Value)
- -- The function that takes place when the toggle is pressed
- -- The variable (Value) is a boolean on whether the toggle is true or false
- _G.autoMoney = Value
- autoMoney()
- end,
- })
- local Button = AutoTab:CreateButton({
- Name = "Show Path",
- Callback = function()
- _G.glasses = true
- changeColors()
- -- The function that takes place when the button is pressed
- end,
- })
- end
- Rayfield:LoadConfiguration()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement