#fly key
1 messages · Page 1 of 1 (latest)
This is a bad way to format a help post.
Please include what you need help with.
On player join, check if the player that joined is local.
And for the Room key purchased, you only need 1 event receiver for this, then convert the key to a string and use a string execute switch. The inputs on the switch should be the exact name of the key.
how do i check if the player that joined is local?
If Player is Local chip.
Yes.
what now?
Do what I said for Room Key purchased
what chip do i need for this?
I said.
For Room key purchased, you only need 1 event receiver for this, then convert the key to a string and use a string execute switch. The inputs on the switch should be the exact name of the key.
yes but which string chip is needed?
Yes, configure it to add string inputs. They should be the EXACT name any key you want an execute for.
That below one is just an input you've already made
You can change their names after you create them
You just need to input the ones you need executes for
The chip sees if the input string matches any of those names, if so it executes out its port.
Again, convert the room key on the event receiver to a string and connect that to the Execution String Switch's input string.
what do you mean by convery the room key to a string?
Use a To String chip.
Yes
and from there what do i do?
Should be good now
like this?
Wire the execution from the Room Key Purchased to the Execution String Switch
Also you can wire the Room Key on the Room Key Purchased to the Player Owns Room key's Room Key input instead of using the extra Room Key chip.
Yup
so it knows which room key was bought?
Yes, because you convert it to a string, and then check if it matches anything in the String Execution Switch.
alright
so if i put any key in here, itll check for that specific key out of the execute?
If you input its name yes.
alright, i appreciate it, thanks