Tables are pretty complicated. I have no scripts for tables yet so this is the script that displays the items you got, works fine but how do i then make it add that to a table
This is just the display how can i make it do the stuff though.
--hatch
game.ReplicatedStorage.HatchEgg.OnClientEvent:Connect(function(pet)
local player = game.Players.LocalPlayer
player.PlayerGui.PetsUI.TextLabel.Text = pet.Name .." Hatched!"
player.PlayerGui.PetsUI.TextLabel.Visible = true
wait (3.5)
player.PlayerGui.PetsUI.TextLabel.Visible = false
end)
