#What's the error here

1 messages · Page 1 of 1 (latest)

celest tulip
#

I'm scripting a find the... game and something is wrong here. which is strange because it worked perfectly before

#

This is the error message

valid willow
#

can you print what the value of “plr” is? i’m curious if that’s where the issue is

timid elm
celest tulip
#

it worked before with the same script tho

#

that's the weird thing (studio is broken 🤑 )

#

Ty it worked

valid willow
#

i wanted to check if the plr variable was actually getting the player value

#

the error message was making me think that the player value was nil

celest tulip
#

yeah true that could of been the issue too

#

btw i wasn't trying to be offensive

sly locust
#

because if another part activates the touched it will try to get the player from a part