Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

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

Asked by 4 years ago

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

Log in to vote
0
Answered by 4 years ago

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
0
remember its GetChildren() raid6n 2196 — 4y
Ad
Log in to vote
0
Answered by 4 years ago
Edited 4 years ago
  1. You misspelt 'pairs'
  2. The function is called ':GetChildren()'.
  3. There should not be a capital v in V.Character

Answer this question