Am I using Or wrong? The map values change when a player clicks the GUI, I've tested and looked over the numbers, when it's 4 or 7 it wont turn indivisible. I don't get it...
--This one works:
while wait() do
if workspace.Map.Value ~= 6 then
script.Parent.Visible = true
elseif workspace.Map.Value == 6 then
workspace.Type.Value = 0
script.Parent.Visible = false
end
--And yet this one doesn't work:
while wait() do
if workspace.Map.Value ~= 4 or workspace.Map.Value ~= 7 then--Why doesn't this work?
script.Parent.Visible = true
elseif workspace.Map.Value == 4 or workspace.Map.Value == 7 then
workspace.Type.Value = 0
script.Parent.Visible = false
end
EDIT: Here's a perfect example http://wiki.roblox.com/index.php?title=Or_operator#Or Right below the Or operator it gives this example "if soul == true or food == true or try == true then" So how come this works? But yet I cant do the same with numbers?

2 comments
I don't understand what you are trying to do.
I dont get why lines 13 and 14 dont work when line 3 and 5 work. When I remove the Or, it works fine with 4, but I need 7 there as well.