Scripting Help, It gives me a error when I fireclient a value

Screenshot 2023-09-03 134406

So, The cmd bar says Unable to cast value to object.
So how would I fix it?

When you use FireClient(), you must first define which client you are firing to. In your script you are trying to fire your intermission time to the player object “intermissionTime”, which obviously doesn’t exist. So just define the player object first and then define the intermissiontTime

Remote:FireClient(playerObject,intermissionTime)

(If you want to fire it to all clients, you can also use this code:)

Remote:FireAllClients(intermissionTime)

bruhhh why does roblox have to have stupid functions

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.