#the script is my current script (solved)
1 messages · Page 1 of 1 (latest)
There should be a setting inside of the proximity prompt to make it hold for 3 seconds
ik that sry i thouht i said that
What do you heed help with again
once i hold the proximty promt for secs the number on the leader board bye 1
oh sry i know that i need help with stm else
then what else is the problem
im sorry im new to lua so i dont know it yet
yes
** You are now Level 1! **
sorry i should of said that
so what are you trying to even do
make it to when i hold the proximty promet the number on the leader board goes up bye one so if its at one it goes to 2 and so one
on*
goes up bye one
well
thats the entire system
local Prompt=script.Parent
Prompt.HoldDuration=3--how much seconds you want to do or change in properties
Prompt.Triggered:Connect(function(player)
local Money=player.leaderstats.Money
Money.Value+=1
end)```
i put this in the scipt of the promt right?
script
you can put it anywhere serversided but you have to change the Prompt variable to what the prompt is under
just put it under the prompt
ok got it tysm!