I'm trying to make something in which if one thing is another thing, some thing happens. However, if it's something else, something else happens. EX: A player named Bob takes 15 damage and a player named Bobbo takes 30 damage. This is my script so far.
p = game.Players.LocalPlayer
c = p.Character
b = {"Wood half", "Dirt", "Grass", "Leaves"}
for i, v in pairs(b) do
if v.Name == b then
--???
end
end
I need to be able to pick something out of "b" and make sure it's on of the listed values in b.
