#Player die optimisation

1 messages · Page 1 of 1 (latest)

blazing aspen
#

Rn I have this in startercharacterscripts

local chr = script.Parent
local plr = game.Players:GetPlayerFromCharacter(chr)
local Hum = chr:WaitForChild("Humanoid")

local Lobby = game.Teams.Lobby

Hum.Died:Connect(function()
    plr.Team = Lobby
end)```
But I want to know if it would be more optimised if I put it in 1 script in ServerScriptService and how to do it rather then having 1 script for every player
dense laurel
#

where roblox game

#

it was due yesterday

#

allocate your time better? salute

lament canyon