Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

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

Asked by 1 year ago
Edited 1 year ago

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

Log in to vote
0
Answered by 1 year ago

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

0
When i did it i got bigger error with SchedulerHostConfig and my roblox world don't even loading stolatwdupecida 2 — 1y
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! stolatwdupecida 2 — 1y
Ad

Answer this question