Attempt to concatenate nil with string

I want to make a kick message using the Kicked Player’s Displayname + " was kicked for " + Reason + " by " Admin Displayname.
When doing so however, it wouldn’t work, and the error was attempt to concatenate nil with string. Code Below

Script
-- Mod Tools

remote.modkick.OnServerEvent:Connect(function(player, plrtokick, reason)

	if player.UserId == 90500678 then
		local plr = game.Players:FindFirstChild(plrtokick)
		plr:Kick(reason)
		local msg = plrtokick.DisplayName.." was kicked for "..reason.." by "..player.DisplayName
		remote.kickmessage:FireAllClients(msg)
		plr.Character.ban:Play()
		wait(0.6)
		plr.Character.Laugh:Play()
	else
		player.Character.nopenopenope:Play()
	end

end)

The exact error details are ServerScriptService.RemoteHandles:299: attempt to concatenate nil with string - Server - RemoteHandles:299.
Line 299: local msg = plrtokick.DisplayName.." was kicked for "..reason.." by "..player.DisplayName

Any idea on how to fix this?

Mind showing the client side? So we can see maybe the fireserver has incorrect amount of parameters.

kick.Kick.MouseButton1Click:Connect(function()

		local plrtokick = kick.Playername.ContentText
		local reason = kick.Reason.ContentText

		game.ReplicatedStorage.RemoteEvent.modkick:FireServer(plrtokick, reason)

	end)

This doesn’t seem to be the issue though, because it kicks the player just fine with reason and all.

When you define plrtokick, it looks like you already get their playername (not sure because Im not sure what kick.Playername.ContextText is referring to)

Try to do

local msg = plrtokick.." was kicked for "..reason.." by "..player.DisplayName

Course it would be something that silly. Thanks!