while true do
local p = game.Players.LocalPlayer
wait(10)
if game:GetService("BadgeService"):UserHasBadge(p.userId,427092796) then
script.Parent.Image = "http://www.roblox.com/asset/?id=427083674"
print("Badge")
else
script.Parent.Image = "rbxassetid://427084069"
print("No Badge")
end
end
This script wont do anything. No error, no printing... nothing
Help please?

2 comments
Is the script local or a regular one?
Regular