1

# How to know if character respawns in a Local Script?

How? I tried searching online but they do it in a Server Script not in a Local Script. CharacterAdded doesn't work in local scripts so how?

0
um maybe do it in a serverscript xd TwoTramp 17 — 4mo
0
Cant becuz i will blur the screen of that player only RazorXX2 12 — 4mo

0
local Players = game:GetService("Players")

local Player = Players.LocalPlayer

local Character = Player.Character or Player.CharacterAdded:wait()

0
Edited 4 months ago

Use this

local Players = game:GetService("Players")

-- Code when character is added
end

end



edit

local Players = game:GetService("Players")

-- Code when character is adeed
end

local function onCharacterRemoving(character)
-- Code when character is removing
end