Alright so, this script is a local script inside a GUI Button. I need it so this reloads the character then, teleports that person to the same location they were in when they hit the button. I don't know how to get the location of a character. Please answer this, not comment... even if it's just a comment. If the comment helps, i'd like to be able to give you the answer reward instead of leaving the question unanswered.... What this is suppose to do in simplistic form will be below.
--Made By MillerrIAm
--------------------------------
function buttondown(player,person,value)
game.Players[""..person]:LoadCharacter()
wait(1)
game.Players[""..person].Character:MoveTo(game.Players.LocalPlayer.Location)
end
script.Parent.MouseButton1Down:connect(buttondown)
Player Clicks the button, it resets them then teleports them to the spot they were just at when they hit the teleportation button. I get 662 is not a valid member of Players. No idea what i'm doing wrong. Thank you in advance for any help given!
