:FireClient() does not work?

I am trying to create a script that gives the player a certain amount of WalkSpeed depending on an IntValue when the character respawns. This feature works, but when I try and use a RemoteEvent to send it back to the LocalScript to update the player’s gui it stops working. No errors appear in the output.

game.Players.PlayerAdded:Connect(function(plr)
	plr.CharacterAdded:Connect(function(character)		
		if plr:FindFirstChild("Values") then
			local hum = character:FindFirstChild("Humanoid")
			hum.WalkSpeed = plr.Values.WalkSpeed.Value
			rs:WaitForChild("UpdateGui"):FireClient(plr)
		end
	end)
end)```

Did you try making a seperate variable for your RemoteEvent

Add a print statement in the local script to see if it gets it, show us the local script aswell

You’re going to need to share the script that handles the gui if the issue lies there.