i get that error message: CFrame is not a vaild member of Folder


for _,v in pairs(game.Workspace.CurrentMap.Game.CoinLocations:CFrame()) do

v = game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame+
Vector3.new (math.random(0,0),0,math.random(0,0))

end

7 comments

0

is CoinLocations a folder?

0

What is this code even supposed to mean? It doesn't seem to accomplish anything...

0

@is CoinLocations a folder? yes

0

@BlueTaslem if u know about lua then u know what it does.

1
  1. CFrame is not a function, unless you defined a function w/ the name. 2. You set v, the current iterated object, to a client..? Unless if this is a localscript, it wont work, and "v" returns the current iteration; why set it to the client? 3. You set up "math.random"s, but you didn't give them values? What's the purpose of using them?
1

Also, why did you insult him? W/ how your code is set up, it's near impossible to figure out what it's supposed to do, and what you're trying to accomplish w/ it.

0

This has to be a troll lol makes no sense