Title says it all, idk what to put here xd
:Wait() yields until an event happens, so if you did something like
local character = player.Character or player.CharacterAdded:Wait()
It would set the character variable as the character of the player, or wait until the player's character finishes loading, then it would set the variable.
As for :Disconnect(), it disconnects a function you set to run when an event fires, ex.
local part = Instance.new('Part') local function onPartTouched(hit) -- script end local connection = part.Touched:Connect(onPartTouched) connection:Disconnect()