I need help

[Void] Brick Updates
Joined 28/02/2021
Posts 293
09:57 AM 07/05/2022
how do u script when u equip on the item u tap the screen and u get 1+ score?


[RWB] MixaMega
Joined 23/12/2019
Posts 240
06:05 AM 09/05/2022
let tool = New Tool(“click”)
tool.model = 30

player.on("initialSpawn", () => {
player.equipTool(tool)
})
})
tool.on("activated", (player) => {
player.setScore(player.score + 1)
})


[RWB] MixaMega
Joined 23/12/2019
Posts 240
06:07 AM 09/05/2022
no wait, don’t use that it wouldnt work

let tool = New Tool(“click”)
tool.model = 30

Game.on("playerJoin", (player) => {
player.on("initialSpawn", () => {
player.equipTool(tool)
})
})
tool.on("activated", (player) => {
player.setScore(player.score + 1)
})

1