#How do I make it so if you click it kills on gui

5 messages · Page 1 of 1 (latest)

tribal spoke
#

I want to make it so if certain users click it it wont kill them but if other people do it kills them

So, here is how i explain it.

  1. BaconBoy32 (who I dont want to click the gui button) clicks it, it kills his character and respawns him.
  2. Jackthehack478 (who I do want to click the gui button) clicks it, he doesn't get killed and it spawns the car they were trying to spawn.

(This is like scripting and gui)

(I posted this in studio help and I don't know how to script so I clicked a random tag. sorry if the tag is wrong)

rotund bobcatBOT
#

studio** You are now Level 1! **studio

wispy hamlet
#

Check for the players name

#

When the button is clicked

sweet aurora
#
  1. Have a table of players that can kill

  2. When a player presses the button, fire a remote event

  3. Check if player is in table, if they are, kill the target player