Cloning a Hat from the ServerStorage into the Character with Filtering Enabled.
When I click the button, the StringValue's value becomes the name of the frame and then through the Filtering Enabled, I'm trying to read the name of the value located in the client and search it in the ServerStorage and cloning it in the character.
This is the output I'm getting: ServerScriptService.Filtering Enabled:26: attempt to index a nil value
Part of the script in the Client
local hat = player.PlayerGui:WaitForChild("ScreenGui"):WaitForChild("Hat")
hat.Value = script.Parent.Parent.Name
game.Workspace.FE.Hat:InvokeServer()
In the Server Script
function FE.Hat.OnServerInvoke(player)
local Hat = player.PlayerGui.ScreenGui.Hat
game.ServerStorage:FindFirstChild(Hat.Value):Clone().Parent = player.Character
end

3 comments
Which line here coresponds to line 26 in your 'Filtering Enabled' script under ServerScriptService?
Line 3 of the Server Script: game.ServerStorage:FindFirstChild(Hat.Value):Clone().Parent = player.Character
It is likely that the returned value from FindFirstChild is nil