So im makeing a Save Bricks Script, and I have the Save Button down, but I need help on the load button...
When a player saves, a Value is created inside there game.Players called Save
Inside Save there are multiple Values Called Part In part, theres a Value called pos and in pos there are 3 values called X , Y, and Z.
There are other things inside part, like the rotation and size but thats not important right now...
Link to the game im working on: http://www.roblox.com/games/272707007/Infinity
local Gui = script.Parent
local Player = Gui.Parent.Parent.Parent
local Char = Player.Character
local save = Player:FindFirstChild("Save")
local part = save:FindFirstChild("Part")
function onClicked()
if save ~= nil then
while true do
if part ~= nil then
local loadpart = Instance.new("Part",game.Workspace)
loadpart.Anchored = true
loadpart.CFrame = CFrame.new(Vector3.new(part.pos.X,part.pos.Y,part.pos.Z))
end
end
end
Gui.MouseButton1Click:connect(onClicked)
Thank you for reading!

2 comments
Don't re-post your question. Seriously.
is there a rule that says I cant?