hi i made this script, it's inside a textbox from a screengui :
local i = script.Parent
local map = game.Workspace.Map1.sa
function onButtonClicked()
local plr = game.Players.LocalPlayer
plr.Position = map.Position
end
i.MouseButton1Down:connect(onButtonClicked)
idk is wrong with it :/ Please help, any help at all will be greatly appreciated

1 comment
cheers