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 3 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 3 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 — 3y
Ad
Log in to vote
0
Answered by 3 years ago
Edited 3 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