Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- a, b = os.pullEvent("player")
- #a = "player", b = "zekesonxx" (me)
- if b == "Shivy011" or "namehere" then
- code()
- end
- #The if statement is saying:
- if b == "Shivy011"
- #Which equals false, because Me != You
- #The statement is then saying:
- if "namehere"
- #"namehere" is not "nil", nil, 0, or false so it returns true.
- #Instead, do:
- if b == "Shivy011" OR b == "namehere" then
Add Comment
Please, Sign In to add comment