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!

1 comment
o Thanks for trying, but this did't work... also the :FindFirstChild was going to work. I was planing on Removing the value once the script was done with it... Also i apologize on being slopy and not being specific enough, but I tried to be as specific as possible... Im Self taught so I dont know everything and thats one of the reasons im slopy... Thank you for taking your time and helping me!