|
| 06 Feb 2016 10:38 AM |
how do i do this?
function join(player) wait(--[[Amount of time for players character to be ready in the workspace--]])
print("CharacterLoaded")
end game:GetService("Players").PlayerAdded:connect(join)
|
|
|
| Report Abuse |
|
|
Csharp0
|
  |
| Joined: 05 Mar 2015 |
| Total Posts: 261 |
|
|
| 06 Feb 2016 10:42 AM |
game.Players.PlayerAdded:connect(function(player) player.CharacterAdded:connect(function(character) -- Do stuff with character end) end)
~Time to commit seppuku. |
|
|
| Report Abuse |
|
|
|
| 06 Feb 2016 10:43 AM |
or
function join(player) local char=player.Character or player.CharacterAdded:wait() end |
|
|
| Report Abuse |
|
|
|
| 06 Feb 2016 10:47 AM |
but then after ^ this guys variable put if plyer ~= nil then --put what u need into here end |
|
|
| Report Abuse |
|
|
| |
|