local Rayfield = loadstring(game:HttpGet('https://sirius.menu/rayfield'))() local Window = Rayfield:CreateWindow({ Name = "Pet Simulator Script", LoadingTitle = "XodasHub", LoadingSubtitle = "by Xodas", ConfigurationSaving = { Enabled = false, FolderName = nil, -- Create a custom folder for your hub/game FileName = "XodasFreehub" }, Discord = { Enabled = True, Invite = "XodasHub", -- 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 = True, -- Set this to true to use our key system KeySettings = { Title = "Pet Simulator 99 Key", Subtitle = "Link in Discord = https://discord.gg/YbUTg6Xe", Note = "Discord Server = https://discord.gg/YbUTg6Xe", FileName = "Linkvertise Key", -- It is recommended to use something unique as other scripts using Rayfield may overwrite your key file SaveKey = false, -- The user's key will be saved, but if you change the key, they will be unable to use your script GrabKeyFromSite = true, -- If this is true, set Key below to the RAW site you would like Rayfield to get the key from Key = {"https://pastebin.com/raw/KwKkyV49"} -- 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("Home", nil) -- Title, Image local MainSection = MainTab:CreateSection("Main") Rayfield:Notify({ Title = "Script Executed", Content = "Enjoy", Duration = 5.1, Image = nil, Actions = { -- Notification Buttons Ignore = { Name = "Hide", Callback = function() print("The user tapped Okay!") end }, }, }) local Button = MainTab:CreateButton({ Name = "Dupe All Pets -May not Work-", Callback = function() -- The function that takes place when the button is pressed end, }) local Slider = MainTab:CreateSlider({ Name = "Dupe max 10 times", Range = {0, 10}, Increment = 1, Suffix = "Dupe", CurrentValue = 1, Flag = "Slider1", -- 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 slider changes -- The variable (Value) is a number which correlates to the value the slider is currently at end, local Button = MainTab:CreateButton({ Name = "Auto Get every pet In game", Callback = function() -- The function that takes place when the button is pressed end, }) local Button = MainTab:CreateButton({ Name = "Spawn Every titanic", Callback = function() -- The function that takes place when the button is pressed end, }) local Button = MainTab:CreateButton({ Name = "Dupe Gems", Callback = function() -- The function that takes place when the button is pressed end, })