When ever I do this:

script.Parent.Humanoid.Health = 1 print("health =",script.Parent.Humanoid.Health) wait(1) if script.Parent.Humanoid.Health == 1 then local random = math.random(1,5) local FirstFeather = game.Players.SuperMonkeyRules.PlayerGui.KeyDownGui.Inventory.SpecialItems.Pigeon.FirstFeather if random == 5 then FirstFeather.Image = 'https://www.roblox.com/library/2956275295/TestFeather' end end

This is the error it gives me: 11:57:20.956 - KeyDownGui is not a valid member of PlayerGui

11:57:20.958 - Stack Begin

11:57:20.958 - Script 'Workspace.Jerry.GivingScript', Line 10

11:57:20.959 - Stack End

Please help.

3 comments

0

Is this script local?

0

No

0

THe script is in the workspace