Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local Rayfield = loadstring(game:HttpGet('https://sirius.menu/rayfield'))()
- local Window = Rayfield:CreateWindow({
- Name = "fun game",
- LoadingTitle = "fun game",
- LoadingSubtitle = "by Vah",
- ConfigurationSaving = {
- Enabled = true,
- FolderName = nil, -- Create a custom folder for your hub/game
- FileName = "wwwwwwwwwwwwwwwwwwwwwwwwwwwW"
- },
- Discord = {
- Enabled = false,
- 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",
- 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")
- }
- })
- local MainTab = Window:CreateTab("Main", nil) -- Title, Image
- local Section = MainTab:CreateSection("Test")
- local Button = MainTab:CreateButton({
- Name = "AutoBoostGen",
- Callback = function()
- while wait() do
- game:GetService("ReplicatedStorage"):WaitForChild("Events"):WaitForChild("GenerateFaster"):FireServer()
- end
- end,
- })
- local Button = MainTab:CreateButton({
- Name = "AutoCollectGems",
- Callback = function()
- while wait() do
- local args = {
- [1] = 1,
- [2] = false
- }
- game:GetService("ReplicatedStorage"):WaitForChild("Events"):WaitForChild("CollectGem"):FireServer(unpack(args))
- end
- end,
- })
- local Button = MainTab:CreateButton({
- Name = "AutoUpgGen1",
- Callback = function()
- while wait() do
- local args = {
- [1] = 1,
- [2] = 1,
- [3] = false
- }
- game:GetService("ReplicatedStorage"):WaitForChild("Events"):WaitForChild("UpgradeMachine"):FireServer(unpack(args))
- end
- end,
- })
- local Button = MainTab:CreateButton({
- Name = "AutoUpgGen2",
- Callback = function()
- while wait() do
- local args = {
- [1] = 2,
- [2] = 1,
- [3] = false
- }
- game:GetService("ReplicatedStorage"):WaitForChild("Events"):WaitForChild("UpgradeMachine"):FireServer(unpack(args))
- end
- end,
- })
- local Button = MainTab:CreateButton({
- Name = "AutoUpgGen3",
- Callback = function()
- while wait() do
- local args = {
- [1] = 3,
- [2] = 1,
- [3] = false
- }
- game:GetService("ReplicatedStorage"):WaitForChild("Events"):WaitForChild("UpgradeMachine"):FireServer(unpack(args))
- end
- end,
- })
- local Button = MainTab:CreateButton({
- Name = "AutoUpgradeWalls",
- Callback = function()
- while wait() do
- local args = {
- [1] = 1,
- [2] = false
- }
- game:GetService("ReplicatedStorage"):WaitForChild("Events"):WaitForChild("FactoryUpgrade"):FireServer(unpack(args))
- end
- end,
- })
- local Button = MainTab:CreateButton({
- Name = "AutoBuyLength",
- Callback = function()
- while wait() do
- local args = {
- [1] = 2,
- [2] = false
- }
- game:GetService("ReplicatedStorage"):WaitForChild("Events"):WaitForChild("FactoryUpgrade"):FireServer(unpack(args))
- end
- end,
- })
- local Button = MainTab:CreateButton({
- Name = "AutoBuySurface (Gems)",
- Callback = function()
- while wait() do
- local args = {
- [1] = 3,
- [2] = false
- }
- game:GetService("ReplicatedStorage"):WaitForChild("Events"):WaitForChild("FactoryUpgrade"):FireServer(unpack(args))
- end
- end,
- })
- local Button = MainTab:CreateButton({
- Name = "AutoBuyFloors (expensive)",
- Callback = function()
- while wait() do
- local args = {
- [1] = 4,
- [2] = false
- }
- game:GetService("ReplicatedStorage"):WaitForChild("Events"):WaitForChild("FactoryUpgrade"):FireServer(unpack(args))
- end
- end,
- })
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement