Help! i don't know if i did anything wrong and if you help i would be appreciated and i can learn from it :)
Yes = "Supreme Being"
function search(obj)v.Name="Fireball"then
if plr.TeamColor ~= game.Teams[Yes].TeamColor then
end
else
v:Destroy()
end
end
end
search(game.StarterPack)
Actually as I saw your script I will give you a working one. Insert this one in ServerScriptStorage.
Team = "Supreme Being" function Find() for _,p in pairs (game.Players:GetChildren()) do if p.Team.Name == Team then else if p.Backpack:FindFirstChild("Fireball") then p.Backpack.Fireball:Destroy() end if p.StarterGear:FindFirstChild("Fireball") then p.StarterGear.Fireball:Destroy() end end end Find()
Hope it helped!