I'll include some of the needed code.

The main script:

local Sub = game.Players:FindFirstChild(string.sub(msg, 6))
				local Banner = plr.Name
				if Sub then
					local Subject = Sub.Name
					game.Players:FindFirstChild(Banner).PlayerGui.BanGui.Connector:FireClient(Subject)

And the local script:

script.Parent.Connector.OnClientEvent:connect(function(Subject)
	--local Sub = Subject.Name
	script.Parent.Output.Output.Text = Subject
	script.Parent.Output:TweenPosition(UDim2.new(0, 0, 0, 0), "Out", "Quad", 0.5)
	
end)

If I try to get the name after the event, it returns the value nil And if I try to fire the name, it just is unable to cast value to object.

The errors: 19:23:16.067 - Unable to cast value to Object 19:23:16.068 - Stack Begin 19:23:16.068 - Script 'ServerScriptService.Ban.Main', Line 17 19:23:16.069 - Stack End

or

19:27:34.054 - Players.Netflixy.PlayerGui.BanGui.Local:4: attempt to index local 'Subject' (a nil value) 19:27:34.055 - Stack Begin 19:27:34.055 - Script 'Players.Netflixy.PlayerGui.BanGui.Local', Line 4 19:27:34.056 - Stack End

If there's anything else you need, just ask. Thanks in advance.