local Remote = Instance.new("RemoteEvent", game.ReplicatedStorage)
Remote.Name = "SystemChat"
local part = game.Workspace["Island(Blue)"].Winpad
local config = {
Color = Color3.fromRGB(0, 13, 255),
Font = Enum.Font.Arial,
FontSize = Enum.FontSize.Size18
}
part.Touched:Connect(function(hit)
local player = game.Players:GetPlayerFromCharacter(hit.Parent)
local returnedtime = game.ReplicatedStorage.ReturnTimerValue:InvokeClient(player)
local message = "[Server]: "..player.Name.." has beaten Blue in " .. returnedtime .. "!"
Remote:FireAllClients(message, config)
end)
how do i fix this