The problem that I face is when the remote event is fired, it checks for what type of sign the player is holding. However, when it can’t find that specific sign, it just throws an error instead of moving onto the next statement. Code:
game.ReplicatedStorage.ChangeSignText.OnServerEvent:Connect(function(player, text)
if player.Character.Sign then
player.Character.Sign.Handle.Sign.SurfaceGui.TextLabel.Text = text
end
if player.Character.GoldSign then
player.Character.GoldSign.Handle.Sign.SurfaceGui.TextLabel.Text = text
end
end)
All help appreciated! <3.