#Players don't get coins after joining
1 messages · Page 1 of 1 (latest)
Do you see the leaderstats? I dont suggest you parenting it inside the brackets
Also it only gives if its the player first time joining
it should but it doesn't
use p calls please 🙏
i am using pcall tho
impressive typing while being blind
i didnt see the s,e thats prolly why
noopboy63
i dont need you need the
if else statement
just make the value 150
oh wait
nvm
fuck
🙏
** You are now Level 7! **
oh
so this means
this might be the problem
either you did smth wrong in the pcall or your coin value was set before
so it doesnt change
yeah
T_T
but e is actully the value
km assuming that you placed it in server script service
and not placed it somewhere else
dawg
im pretty sure
i did place it there
you just put line 14 after line 7
@novel nest i think you like tested when it only saved it and didnt give 150 so it is finding your data and putting it
has your old data
idk how you reset that tho
so just change the datastore
i remove myself but it's still giving me the same error
what error
oh i used removeAsync
mb
it's showing success is true beacuse of it
works?
did you already
but the success value is still true
did you change the lines
what lines
man i don't know what am doing wrong by now
Send full script
** You are now Level 12! **
bro that was the full script
Send what you have in the full script
Cus you already have a data??
Like I said it only gives 150 if its the player first time joining the experience
i removed data
yeah but i the data so i and changed the name of it multiple times
also v is nil
instead of "if s then"
try
if s and data then
Coins.Value = v
else
Coins.Value = 150
end
if u read chat he alr mentioned he changes the datastore
where did the data come from?
i even put just bunch of random letter to make sure i haven't use the name before
i fixed the bug
i just check if v is not nil
i am not hunger
v in your case
Since I usually use data
if s and v ~= nil then
yeah i did that a minute ago and it worked