Minute, Seconds And Milliseconds are values which are passed through a tostring function
Server Script
game.ReplicatedStorage.Remotes.Finish.OnServerEvent:Connect(function(Plr, Minutes, Seconds, Miliseconds)
print("Finish")
local MessageData1 = {
["content"] = tostring(client.DisplayName).."Has finished With a Time Of "..Minutes..":"..Seconds.."."..Miliseconds
}
end)
If you’re passing in plr, your server-side script is taking in the “plr” variable that your client provided as “Minutes”. This seems to be the source of the error.
If your confused why this doesn’t work, it’s because the first parameter becomes the player alr seems good but the second parameter in the onserever even also turns player thats why it says that error
print(tostring(minutes)) -- itll print the player
put this in the on server event and itll print player