Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
✓ ANSWER ACCEPTED

Hi so i have a problem with my Sword Battle game DataStore. Anyone can help me?

local playerData = Instance.new("Folder") playerData.Name = player.Name player.Parent = game.ServerStorage.PlayerData

Error is: Parent of Player can not be changed

Pls help without it i can't continue my game :(

1 answer

✓ Accepted answer

Set playerData.Parent instead of player.Parent to game.ServerStorage.PlayerData

2 comments

0

When i did it i got bigger error with SchedulerHostConfig and my roblox world don't even loading

0

I had break but when i back i readed your message again and i saw that i didn't understand that bc i didn't read that correctly and i changed game.serverstorage.playerdata to playerdata.parent now it's working! TYYY!

This discussion is preserved as it was. New answers, comments, and votes are closed.