so i have this script that makes the hacker automatically get banned when they reached the finish line in less than 30 secs but the player is only banned from the server that he is in how can i make it globally
local TimeRecord = game.ReplicatedStorage.TimeRecord
script.Parent.Touched:Connect(function(part)
if part.Parent:FindFirstChild("Humanoid") then
local totalTimeValue = (TimeRecord.Minutes.Value * 60) + TimeRecord.Seconds.Value
local player = game.Players:GetPlayerFromCharacter(part.Parent)
if totalTimeValue < 30 and player.activatable.Value == true then
player.activatable.Value = false
local Ban = Instance.new("IntValue")
Ban.Name = player.Name
Ban.Value = player.UserId
Ban.Parent = game.ReplicatedStorage.BannedList
player:Kick("lol Hacker")
end
if player.activatable.Value == true and totalTimeValue > 30 then
player.activatable.Value = false
game.ReplicatedStorage.Finsihed:FireAllClients(player)
player.leaderstats.Wins.Value = player.leaderstats.Wins.Value + 1
player.stats.currentXP.Value += 25 * player.xpMultiplier.Value
player.Money.Cash.Value = player.Money.Cash.Value + 25 * player.Multiplier.Value
game.ReplicatedStorage.CoinIndicator.Sixth:FireClient(player)
if player.PlayerStats.BestTime.Value == 0 or player.PlayerStats.BestTime.Value > totalTimeValue then
player.PlayerStats.BestTime.Value = totalTimeValue
end
end
end
end)