I don't know if I am connecting it to the Server to client, but this isn't working.
Its a localscript located in StarterPack : (everything runs fine until the :PlayerAdded event)
game.Workspace.FE_Mainbase.Whitelist:FireServer()
print"test"
wht = require(434549150)
game.Players.PlayerAdded:connect(function()
if wht then else wht = require(434549150) end
for l = 1, wht.Players do
if wht.Players == player.Name then
print "yes"
end
end
end)

7 comments
"player" line 8 needs to be defined. Also, PlayerAdded does NOT work in a local script, only server scripts. For player use; game.Players.LocalPlayer
Plus, the require(number) does NOT work on client either, the module will need to be parented under the localscript.
Also recommended to view this wiki. http://wiki.roblox.com/index.php?title=RemoteFunction_and_RemoteEvent_Tutorial
I forgot to mention that I did define player on player 8 just did't posted it. I put it into a local script and I am getting FireServer can only be called from client
Why the fricking hell are you doing a player added event in a local script ...................
because you can?
You shouldn't.