Play
Shop
Clans
Users
Forum
Membership
Login
Register
Forum
Scripting
How to script death run game?
How to script death run game?
Kuomintang
Joined 16/04/2019
Posts 2
09:07 AM 02/05/2019
Hi this is my first time scripting and theres no tutorial videos i need help with script thank you!
[BC]
10allday
Joined 25/08/2018
Posts 482
12:50 PM 02/05/2019
Wait till new client to know scripting.
[TylFT]
Tylorfoot
Joined 03/06/2017
Posts 6,581
01:59 PM 02/05/2019
any bricks named TOUCH (with capital letters) will kill the player.
s = define("onPlayerTouch")
s.script = '
var brick,client;
brick = arg[0];
client = arg[1];
if(brick.Name == "TOUCH") {
playerKill(client);
}
';
1