Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

need help with purchasing brick using in-game money script?

hii

i need help with scripting like when i click a brick, it'll be gone because i purchased it. i mean i need a script for purchasing a brick with in-game money. not GUI please. like in Robloxian city, in super-market u click an item and it reduces your money but u got the item already in your back pack and u can use it like if its a drink, u can drink it and then it'd disappear then if u need another drink to fill up your hunger, you gotta buy another one

thank uuu

and yeah, i need help for my store to work :/ i cant click them :c it's like they're just a display...

i only have the regenerate code for a brick

please if you know a link of what im looking for, like from wiki roblox, please tell me

3 comments

0

Can you post your current code

0

local wait_ = 1 --mins --this no need editing local cc = 0 function IsOk() if tick() - cc > wait_*60 then cc = tick() return true end return false end

0

Can you put this i na code block inside the ~ but not on the same line as the ~

1 answer

local wait_ = 1 --mins

--this no need editing

local cc = 0

function IsOk()
if tick() - cc > wait_*60 then
cc = tick()
return true
end
return false
end

This discussion is preserved as it was. New answers, comments, and votes are closed.