#lil problem saving clicks on a game

87 messages · Page 1 of 1 (latest)

wild briar
#

next time send the script

#

not screenshot of it

whole aurora
#

how to send it ?

wild briar
#

note

#

pad

#

file

whole aurora
#

oh ok excuse me

#

so uk what's the problem ?

wild briar
#

sorry but I dont look at screenshots

whole aurora
#

oh ok

#

wait

wild briar
#

only the script itself since I need put in my visual studio

whole aurora
#

I send

#

wait

#

better like that

#

I guess

wild briar
#

mhmm

#

u sure it doesnt work?

whole aurora
#

yep

#

I leave

#

with 1000

#

I join

#

with 0

wild briar
#

in studio?

#

this is wrong tho

#

it should be

#
game:BindToClose(function()
    for _, Player in pairs(game.Players:GetPlayers()) do
        local playerUserId = "player_".. Player.UserId
        local clicksValue = Player.leaderstats.Clicks.Value
        local sucess, errormessage = pcall(function()
            clicksDataStore:SetAsync(playerUserId, clicksValue)
        end)
    end
end)

#

BindToClose doesnt have a player parameter

whole aurora
#

oh ok

sudden geyserBOT
#

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

whole aurora
#

ill try

#

tyyyyyyyyyyy

wild briar
#

if it still doesnt work

#

just try to test in game

#

not in studio

#

like publish it

whole aurora
#

I already try in game

#

I never try in studio

#

Still don't work and it's published

#

@wild briar u exploded ?

wild briar
#

yes sadly

whole aurora
#

oh

wild briar
#

I will be unalive until tomrrow

whole aurora
#

oh ok

#

well good night

edgy oak
#

Check settings

whole aurora
#

oh

edgy oak
#

Security

whole aurora
#

a wild pokemon has appeared

edgy oak
#

and enable everything

whole aurora
#

ok

edgy oak
#

then try

whole aurora
#

which settings

edgy oak
#

and send pic

whole aurora
#

where

#

where security

edgy oak
whole aurora
#

now I try ?

edgy oak
#

are they all turned to true?

whole aurora
#

that workkkkkkkkkkkkk

#

ty random guy

edgy oak
whole aurora
#

And im soo bad

#

im reallllllyyyyyyyyyyyyy new

#

to developement

edgy oak
sudden geyserBOT
#

studio** You are now Level 4! **studio

whole aurora
#

like 1/2hr ago I began

edgy oak
#

It says access to data stores

#

u need it on

#

remember

whole aurora
#

ok

#

tyyyyyyyyyyy

edgy oak
edgy oak
sudden geyserBOT
#

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

edgy oak
#

lol

whole aurora
#

well ty

wild briar
#

I fix code not studio helper

edgy oak
wild briar
#

I expected him to do that since he started making the script....

edgy oak
#

And I dont even know how to do datastore 🤦‍♂️