#Someone help me please
56 messages · Page 1 of 1 (latest)
@still barn Could u help me with this
Ima dm u the full code
nvm I cant
ServerScriptService.PlayerData:71: attempt to index nil with 'UserId' - Server - PlayerData:71
just send the full code here
71
it doesnt save when I leave the roblox game in studio and join back
or does it only work on roblxo
yeah you have to pass in player to the save function or just define the player in the script
is the script a local script or normal script
are you using players.playeremoving to detect when a player leaves
and also using game.Close
yea
this is my output
are you passing in player to the save function
are you loading the data when the player joins
for _, player in ipairs(Players:GetPlayers()) do
coroutine.wrap(setupPlayerData)(player)
This
right
?
Players.PlayerAdded:Connect(setupPlayerData)
question
does it need to be a local script
or script
no
becasue
it has to be a script
Alr
This is the turtorial Im using https://www.youtube.com/watch?v=nB3TMi8nZ3A&list=PLl1Tso3TyF54o7mNabsfH5fEtdfQ8qbgT
In this Roblox Scripting Tutorial, we continue creating our Roblox Simulator! Today we go over saving Player Data using Data Stores from the Roblox API!
Subscribe for more Roblox Scripting Tutorials!
Join my Patreon to support me and gain access to the Scripts in this video! https://www.patreon.com/MonzterDEV
Download the Scripts from this v...
change these lines to mine
wait can u send me the full script because my lines might be different due to spacing
here?
yeah change those value lines
no problem
I've been trying to fix it for like 1:30 hours
also please do not ping me