Thanks for looking at my question. I'll dive into it.
What I Want To Happen
When a Player clicks a Text Button, I want them to leave the game. I have the code that I think will work, but probably not.
local Button = script.Parent.Quit
local HasPressed = false
function HasPressedQuit()
if HasPressed == false then
game.Players.LocalPlayer.Parent = nil
end
I Probably Know What Your Thinking...
This is wrong to the max, but if you guys could give me a link or something, that'll be great! Thanks!
GreekGodOfMLG

1 comment
You can't close out of their client, so kicking them is really the only option and then they still have to close out of roblox by themselves