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

Data persistance won't work?

Asked by 8 years ago
function pleft(pl)
    pl:WaitForDataReady()
    pl:SaveString("Key", script.Parent.Parent.Key.Text)
end

function padded(pa)
    pa:WaitForDataReady()
    script.Parent.Text = pa:LoadString("Key")
end

script.Parent.MouseButton1Click:connect(pleft)
game.Players.PlayerAdded:connect(padded)

Well. First time was persistance so.. No output as far as I know. Also it is pleft because it was player removing. But changed it to mousebutton click. Thanks

0
0
Why is PlayerAdded and MouseButton1Click in the same script? I am pretty sure DP can only be run from the server Kurieita 125 — 8y

Answer this question