How do I add a pet system to my Roblox game without coding?
Updated · by the Superbullet team
You can add a working pet system without writing code by installing a ready-made one and changing its settings: the pets, eggs, prices and odds. With SuperbulletAI you ask for it in plain English and it installs a tested pet system from its marketplace into your Roblox Studio project, then changes it the same way ("add a Legendary dragon at 1%"). Whatever route you take, test saving and check the hatching happens on the server before you publish.
Written by the SuperbulletAI team. We cover the other routes too, and when they fit better.
What a pet system needs
Before you pick a route, know what "a pet system" means, so you can tell if a kit is complete:
| Part | What it does | Where it must run |
|---|---|---|
| Eggs and hatching | Spend coins, roll a random pet by its odds | Server. If the roll is on the client, exploiters pick their pets. |
| Inventory | The list of pets a player owns | Server, saved to a DataStore |
| Equip and follow | Pets float behind the player | Server says what's equipped; clients draw the movement so it looks smooth |
| Boosts | Equipped pets multiply coins or power | Server |
| UI | Inventory, hatch animation, equip buttons | Client |
| Saving | Pets are still there after you rejoin | Server, with safe DataStore code |
A kit that is missing saving, or that rolls pets on the client, isn't finished, however nice it looks.
Three ways to do it without coding
| Route | Cost | Good for | Watch out for |
|---|---|---|---|
| SuperbulletAI (install from its marketplace, or describe one) | Free plan (1M tokens/month, 150K/day); Pro $20/month | A full pet system you can then change by asking | Needs the desktop app connected to Studio |
| A ready-made kit (Toolbox, or paid kits from creator sites) | Free to a few dollars | One fixed pet system, set up through config files | Free Toolbox models can hide backdoors; changing behavior means editing code |
| Roblox Assistant (built into Studio) | Free | Small pieces: one script, one part at a time | You join the pieces yourself, and a pet system has many |
Route 1: SuperbulletAI
SuperbulletAI is a desktop app for Windows and Mac. It connects to Roblox Studio with a plugin and Rojo, reads your project, and writes systems, UI and scripts from what you type.
- Download the app and follow the install guide. In Studio, publish your place and turn on Game Settings → Security → Enable Studio Access to API Services, so saving works while you test.
- In the app's chat, type: "Install a pet system from the marketplace with eggs, hatching, equipping and saving."
- It searches its marketplace, shows you the matching systems, and installs the one you pick, along with any systems it depends on. If the pets come with animations or sounds, it uploads them to your Roblox account.
- Press Play in Studio and hatch an egg.
- Change it by asking, for example:
- "Add a Galaxy Egg that costs 5,000 coins with these pets: Star Cat 60%, Comet Dog 30%, Nebula Dragon 10%."
- "Let players equip 4 pets at once instead of 3."
- "Each equipped pet gives +25% coins."
- "Put my pet models from ReplicatedStorage.MyPets into the system."
The pet system on our demo page shows what installs: 50+ pets with rarities, a spin (gacha) hatch, buying pets, and pets that follow you.
You don't write code, but you should still read what changed. The app shows its edits before you accept them, and you own everything it makes.
Route 2: a ready-made kit
- Find a kit with eggs, inventory, equip, follow and saving. Read its reviews and its setup notes.
- Insert it into Studio (drag the
.rbxmfile in, or insert it from the Toolbox) and move its folders where the setup notes say: usuallyServerScriptService,ReplicatedStorageandStarterGui. - Put your pet models in the kit's pets folder, then set each pet's name, rarity and boost in its config.
- Set each egg's price, pets and odds in the egg config.
- Turn on Enable Studio Access to API Services, press Play and run the checklist below.
Kits are fine when you want exactly what the kit does. The trouble starts when you want something it doesn't do, like trading or a pet index: then you edit its code, or ask an AI to.
Before you publish: the checklist
Run this on any pet system, whoever made it.
- Hatch, leave, rejoin. Your pets and coins must still be there. Do it twice.
- Hatch with too little money. Nothing should happen.
- Look for where the roll happens. Open the hatch script. The random pick must be in a server
Script, not aLocalScript. - Search for backdoors. Press Ctrl+Shift+F in Studio and search for
require(,getfenv,loadstringandsetfenv. Arequirewith a long number loads code from someone else's model, and that code can change at any time. Delete anything you can't explain. - Show the odds if eggs cost Robux. Roblox's rules require games with paid random items to show players the odds before they buy.
What "server-side" hatching looks like
You don't need to write this, but it helps to recognise it when you open a kit's scripts. This is the core of a safe hatch: the client only says which egg, and the server checks the price, takes the coins and rolls the pet.
-- Script in ServerScriptService. A RemoteFunction named "Hatch" is in ReplicatedStorage.
local ReplicatedStorage = game:GetService("ReplicatedStorage")
local hatchRemote = ReplicatedStorage:WaitForChild("Hatch")
local EGGS = {
BasicEgg = {
price = 100,
pets = {
{ name = "Dog", weight = 60 },
{ name = "Cat", weight = 30 },
{ name = "Dragon", weight = 10 },
},
},
}
local rng = Random.new()
local function rollPet(egg)
local total = 0
for _, entry in egg.pets do
total += entry.weight
end
local roll = rng:NextNumber(0, total)
for _, entry in egg.pets do
roll -= entry.weight
if roll <= 0 then
return entry.name
end
end
return egg.pets[#egg.pets].name
end
hatchRemote.OnServerInvoke = function(player, eggName)
if typeof(eggName) ~= "string" then
return nil
end
local egg = EGGS[eggName]
if not egg then
return nil -- not a real egg
end
local leaderstats = player:FindFirstChild("leaderstats")
local coins = leaderstats and leaderstats:FindFirstChild("Coins")
if not coins or coins.Value < egg.price then
return nil -- can't afford it
end
coins.Value -= egg.price
local petName = rollPet(egg)
-- add petName to this player's inventory here, and save it with the rest of their data
return petName
end
Weights don't have to add up to 100. A pet with weight 10 out of a total of 100 has a 10% chance. A full system also checks the player is standing near the egg, and limits how often they can hatch.
