What is the buildism equivalent of game.Players:getPlayerFromCharacter()
#2
You have to do it the hard way.

[lua]
--SCHTUPH
local character = script.Parent --(or hit.Parent or whatever)
local player = game.Players:getChild(character.Name)
if player then
--MOARE SCHTUPH
end
--EEVIN MOARE SCHTUPH
[/lua]
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 6 Guest(s)