#Help with Player scripts

10 messages · Page 1 of 1 (latest)

scarlet flicker
#

Hello, I need help with a script, I'm trying to make the player when it triggers a Proximity Prompt and the player has a specific item something happens, otherwise and he doesn't have the item something else happens, can someone help me with that?

jade veldt
#

make a prompt.Triggered function, scan the player's backpack and scan the player's model (if item is either equipped or not equipped) and run code if it finds it

jade veldt
#

thing's you'll need:
Prompt.Triggered function (with player parameter)
for i,v in pairs loop, that'll go through a player's backpack and model

#

or instead of for i,v

#

you can do FindFirstChild in both backpack and model

scarlet flicker
#

I will test

mint abyss
#

No one ever heard of him since then

scarlet flicker
scarlet flicker
#

I managed to solve my problem, thanks to those who helped me