|
| 05 Sep 2015 07:06 AM |
I've had a concept of a roblox place I'd enjoy making, however I've came across this hard thing I can't put my brain around. How would I be able to detect another player with a higher score after touching a block?
I'm sorry if I'm not wording this correctly but here's the thing I want it to do:
1. Player with 1 point steps on block. 2. If another player has more points who is also stepping on that block 3. Kill the player with less points.
However I can't put my head around detecting this other player with more points. Any advice? |
|
|
| Report Abuse |
|
|
|
| 05 Sep 2015 07:30 AM |
more detail less writing
I was gonna make a dubstep joke but I guess ill just drop it. |
|
|
| Report Abuse |
|
|
|
| 05 Sep 2015 07:42 AM |
I think I gave enough detail for you guys to understand the problem I have.
I can't figure out how to detect a player when you step on a part.
That's all I need to figure out. |
|
|
| Report Abuse |
|
|
|
| 05 Sep 2015 08:29 AM |
Touched and TouchEnded events.
I was gonna make a dubstep joke but I guess ill just drop it. |
|
|
| Report Abuse |
|
|
|
| 05 Sep 2015 08:38 AM |
| Obviously keep track of the score of the highest player that has touched it so far and compare it to everyone that touches it. |
|
|
| Report Abuse |
|
|
|
| 05 Sep 2015 08:44 AM |
| Ah, completely forgot about those, I havent used Lua in ages. thanks. |
|
|
| Report Abuse |
|
|