FireServer is not a valid member of script

oh yeah. thanks! I was waiting for a something that didn’t exist…
last thing probably lol

local RemoteFunction = game.ReplicatedStorage.RemoteFunction

does this look wrong? cause i’m getting error

RemoteFunction is not a valid member of ReplicatedStorage
I tried changing it RepStorage.RemoteEvent and still nothing, is it firing to early and I should wait for it to appear

Use :WaitForChild("RemoteFunction")

2 Likes

so after messing around with it it works, inputs the string value into the player but only once, and its not the pet that’s selected, its a random one.

its having to do with

petVal.Name = pet.Name
		petVal.Parent = player.PetInventory