#the script is my current script (solved)

1 messages · Page 1 of 1 (latest)

ionic hazel
#

i need help making a money system, i found a forum online but the code that helped the person doesn't work on me. tbh it was from 3 years ago so that might be why but i want it to when you hold the proximty prompt for 3 secs the number on the leader board goes up (i already got the prompt working)

winged coral
ionic hazel
winged coral
eternal sun
#

change the prompts hold duration for 3 seconds

#

in properties

ionic hazel
#

oh sry i know that i need help with stm else

eternal sun
#

then what else is the problem

ionic hazel
#

im sorry im new to lua so i dont know it yet

eternal sun
#

whats the "number"?

#

is it the money value?

ionic hazel
toxic bearBOT
#

studio** You are now Level 1! **studio

ionic hazel
#

sorry i should of said that

distant maple
#

Would love to have y’all for my small project

#

@ionic hazel good luck brudda

eternal sun
#

so what are you trying to even do

ionic hazel
#

on*

eternal sun
#

so if its at 2 it goes up by one?

#

or does it double

ionic hazel
#

goes up bye one

eternal sun
#

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)```
ionic hazel
#

script

eternal sun
#

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