Ok, let me assist you with that!
all right thx for helping me
Make a separate Station, open a GUI on Touched of the Station. Then on the GUI, list all of the pets and let the User select the pets they want to strengthen, then, get a
local Percent = math.random(1,5)
Pet.Strength.Value = Percent
So, yes, this is an example. It may not work with your game, if you want a script that does, please go to #collaboration:recruitment to find someone to assist you with that! Hope I helped!
I mean hire a developer to Make a script that is compatible with your game.
I don’t really have the Robux to hire a dev, so I will need to figure it out my self but thx for your help
Well, try to do this
When the player earns the Cash, send the Remote Event with the value from a Number Value so, you can adjust it!
I mean I dont have a pet hatching system right now wich means the pet dosent follow you and also I dont have an inventory to equip the pets
So I was trying to get some help in the devforum because there is almost no tutorials about this topic.
Ok i think i can help! So first thing we want to do is make a folder for the pets you can get.
Next thing you want to do is make a folder for the decals. This is purely for looks but it will help!
Now you want to make a gui and name it like i did
What you want to do now is put the pets you have made inside of the folder. This will be my pet
Now what you want to do is put the pet in your folder.
Now what you want to do is make a string value with the same name as the pet.
Now upload your image and copy the url
Then set the string value to the image url like so.
Ok now we need to make sure the client cant rig what pet they are going to get so we are going to make a remote event!
Now you want to insert a script into serverscriptservice called PetServer
Now we will script the serverside of the pets.
local ReplicatedStorage = game:GetService(“ReplicatedStorage”)
local PetClient = ReplicatedStorage:WaitForChild(“PetClient”)
local Items = {“EpicPet”, “EpicPet2”}
PetClient.OnServerEvent:Connect(function(Player)
local PetRandom = math.random(1, #Items)
for i, v in pairs(Items) do
if i == PetRandom then
PetClient:FireClient(Player, v, game.ServerStorage.Decals:FindFirstChild(v).Value)
end
end
end)
Now just make a local script inside of the gui.
Now here is the code for the gui:
local ReplicatedStorage = game:GetService(“ReplicatedStorage”)
local PetClient = ReplicatedStorage:WaitForChild(“PetClient”)
PetClient:FireServer()
PetClient.OnClientEvent:Connect(function(PetName, DecalId)
script.Parent.ImageLabel.Image = DecalId
end)
script.Parent.ClaimButton.MouseButton1Click:Connect(function()
script.Parent.Parent.Enabled = false
end)
if you are having trouble i made an open source for you to toy around with: Untitled Game - Roblox
for future refrence however dont ask for entire scripts to be made.
dont worry I know how hard it is to make a system like this, you arleady gived me a really good head start thanks for spending time to help me
could you mark me as the solution lol
I will once I get trough the tutorial you gave me
makes sense30 chars ughhhhhhhhh
I might make an open source version of mine when its done i will send you a link! It has boosts faster hatch gamepass and much more!
alr, thx dude (30 Charssss)
And i’m also working on triple hatch.
cant wait to see that
Hi From 2 years later. lol
I neded help for animating egg hatch so wanted to check yours to understand how it works but welp :
YEAH I just revived a dead post sorry… well if you know how to make one you can check my post I appeciate every help