Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

I'm making a script where you get a pet it goes into your inventory. how to fix?

Asked by 3 years ago
Edited 3 years ago

but it says this in orange text

Infinite yield possible on 'Players.08hulksmash.PlayerGui:WaitForChild("Pets")'

and this in blue

Script 'Players.08hulksmash.PlayerGui.PetRevealScript', Line 7

and also when you click the glass on the egg it gives an animation. since I have put this script in it hasn't worked.

help please

1 answer

Log in to vote
0
Answered by 3 years ago

You did not provide us with your probably free modeled script.

Why don't you look into specific errors?

Infinite yield possible on an instance means that it could not find anything, meaning there is nothing named "Pets" inside of your Player Gui.

"and also when you click the glass on the egg it gives an animation. since I have put this script in it hasn't worked." Means nothing to us because we have no idea what your model looks like / any of the code.

Instead of free modeling stuff, try to learn exactly what's going on so you can work to improve it.

Ad

Answer this question