Hey hey! I just need a little bit of help
Just like in Traitor Town Customs, If you try joining the server on a public server. You would be kicked out because you aren’t in your private server.
Replies are appreciated, Cheers!
Hey hey! I just need a little bit of help
Just like in Traitor Town Customs, If you try joining the server on a public server. You would be kicked out because you aren’t in your private server.
Replies are appreciated, Cheers!
This will help:
you just do the check:
game.Players.PlayerAdded:Connect(function(plr)
if game.PrivateServerId ~= "" then
print('Plr in private server')
else
plr:Kick("Not in private server")
end
end)
game:GetService("Players").PlayerAdded:Connect(function(plr)
if game.PrivateServerId ~= "" then
print('Plr in private server')
else
plr:Kick("Not in private server")
end
end)
but it’s still working ¯_(ツ)_/¯
Well yes, it by no means errors ever.
true. Thank you for correction
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.