#Leaderboards

35 messages · Page 1 of 1 (latest)

spice kindle
#

replace 5th line with this local clicksval = plr.leaderstats[clicks] clicksval.Value += 1

glad stream
#

nah is not that

#

that is a local called Clicks

#

u r creating two clicks tho

onyx locust
#

^^

#
    local leaderstats = player and player:FindFirstChild("leaderstats")
    local clicksval = leaderstats and leaderstats:FindFirstChild("Clicks")

clicksval.Value += addValue```

shoulding adding look like that
#

or i am wrong

glad stream
#

clicksval.Value

onyx locust
#

right

proven thistleBOT
#

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

onyx locust
#

add all instead of plr.leaderstats[clicks[.Value += addValue

#

and change player to plr cuz u call it plr

#

now try

#

are you sure the remoteevent gets recived?

#

print something

#

yes

#

print ofc after the event

#

nothing prints when u click?

#

put the print 2 lines higher

#

show me how are you fire'ing the remoteevent

glad stream
#

send the localscript of the button

onyx locust
#

^^

#

id say he has 2 seperate remoteevents

#

actually nvm!

#

i love the part

#

where u fire the remoteevent

#

game.ReplicatedStorage.Remoteevent:FireServer()

#

i probably made 10 mistakes

#

but try!!

glad stream
#

thats what its happening, u r adding on a localscript

onyx locust
#

delete local clicks and clicks.value

#

and add the command i gave anywhere just before end

proven thistleBOT
#

studio** You are now Level 2! **studio

onyx locust
#

np