So I have a remote event that gets fired from the server once my character gets added, sending that character as a parameter. However, once it reaches the client, the character is nil.
local PLAYERS = game:GetService("Players") local CHAR_ADDED = game.ReplicatedStorage.CharAdded PLAYERS.PlayerAdded:Connect(function(player) player.CharacterAdded:connect(function(character) print(player, character) CHAR_ADDED:FireAllClients(player, character) end) end)
local CHAR_ADDED = game.ReplicatedStorage.CharAdded CHAR_ADDED.OnClientEvent:Connect(function(player, character) print(player, character) end)
Here’s the output:
character added issue.rbxl (29.2 KB)
Any idea how to fix this?