Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

I dont know what to do here! childern is not vaild memeber of players?


for i,v in paris(game.Players:Getchildern())do local args = { [1] = V.Character.Head.Position, }

game:GetService("ReplicatedStorage").RS.Remotes.Magic.EndCharge:FireServer(unpack(args)) end

childern is not vaild memeber of players

2 answers

I'm not sure what you are doing with the children of the Players but you could use statements at the start of the script like..... (For a server script)

Player = game.Players:GetChildren

1 comment

0

remember its GetChildren()

  1. You misspelt 'pairs'
  2. The function is called ':GetChildren()'.
  3. There should not be a capital v in V.Character

This discussion is preserved as it was. New answers, comments, and votes are closed.