Hey, Thanks for reading firstly. I was wondering whether there would be a way so that a script when a player has touched a block it makes them buy a developer product (this I can do). Then once they have bought in the robux, instead of going directly to the owner of the game gets stored inside the game so that it can get paid back out. Also is there a way to script it so that a block counts the amount of times it has been touched? Thanks again, Dstructiod
If you are looking for a way on how many times a block been touched here is an example
local AmountTouched = 0 Brick.Touched:connect(function(hit) AmountTouched = AmountTouched + 1 -- add by 1 print(AmountTouched) -- print total amount end)
This was done on IPad sorry for any errors that may occure