Posted
Hello everyone, so im trying to make an login for my script that uses the roblox account name to login but i cant get it working as the way i wanted to.
im trying to make it work by adding multiple player names in "local UserNames = { }" instead of repeating "if player.Name == " " then" but it wont work idk why
video exemple : https://youtu.be/cUscEa6k3eE
code im using >
-- Local Functions:
local player = game.Players.LocalPlayer
local UserNames = { PLAYER NAME }
-- Script
local PlayerNameCheck = player.Name
if UserNames[PlayerNameCheck] then
--script code
else
--script code kick player idk
endReplied
this is very bad and can get easily bypassed with 1 line of code
but anyway
-- variables
local player = game.Players.LocalPlayer
local UserNames = {"lolman69", "nonepiclol"}
-- check
if table.find(UserNames, tostring(player.Name)) then
print("lol")
else
print("no")
endCancel
Post
Hello there
#StayHome
Replied
thanks dud, i need it just to share the script with some friends.
Cancel
Post
Added
yea its a really BAD way of creating an login, all it does is loading an simple gui that has fly/hitbox extender and a very simple ESP.
Cancel
Post
Added
i think you can also bypass it by changing names like this
https://youtu.be/2s58HcWUn1o
Cancel
Post
Replied
I wouldnt recomend this, heres a better version tho
local player = game:GetService('Players')LocalPlayer
local UserNames = {"Joe_Mama"}
local PlayerNameCheck = player.Name
if not UserNames[PlayerNameCheck] then
plr:Kick("Nah")
return
end
Cancel
Post
Did I mention I use arch btw?
Users viewing this thread:
( Members: 0, Guests: 1, Total: 1 )
Cancel
Post