0

# probleme with my frame not changing color if i got the badge needed?

Edited 8 days ago

Please provide more explanation in your question. If you explain exactly what you are trying to accomplish, it will be much easier to answer your question correctly.

As said in the question,I’m trying to change de color of a frame if a badge is found here is my script

local Badgeservice = game:GetService("BadgeService")
local player = game.Players.LocalPlayer
local userid = player.UserId

script.Parent.BackgroundColor3 = Color3.fromRGB(0, 255, 0)
end


0
Is the script a LocalScript? Jac_00b 157 — 8d
0
Nope guardian_stone 12 — 8d
0
thats your issue, LocalPlayer doesnt work in server scripts allybally12345 40 — 8d
0
THANK BRO ITS FIXED! guardian_stone 12 — 8d