Closed vurtss closed 11 months ago
starting from line 204 replace the rest of the code with:
else if prompt.Parent == nil then PickUpUI.Visible = false elseif prompt.Parent.Parent:FindFirstChild("PickupHighlight") then prompt.Parent.Parent.PickupHighlight.Enabled = false PickUpUI.Visible = false end end end)
Don't rely on this solution too much it is just a quick fix, I don't know if there is any possible issues with it
When you pick up a gun the prompt is stuck on your screen till you hover over another dropped gun.
19:13:19.803 Players.USERNAME.PlayerScripts.SPH_Player.ProximityPrompt:204: attempt to index nil with 'Parent' - Client - ProximityPrompt:204 19:13:19.803 Stack Begin - Studio 19:13:19.803 Script 'Players.USERNAME.PlayerScripts.SPH_Player.ProximityPrompt', Line 204 - Studio - ProximityPrompt:204 19:13:19.803 Stack End - Studio