So I printed out the contents of everything with GetFriendsOnline()

local Friends = game.Players.LocalPlayer:GetFriendsOnline()

for i,v in pairs(Friends) do
	for k,v in pairs(v) do
    print(tostring(k)..": "..tostring(v))
	end
end

So far what it does is just print everything.

What would I do to convert the information into values on the workspace(like StringValue/ObjectValue).

I can convert strings - but I want to convert all the information based on what it currently is.

for i,v in pairs(v) do 
wait()
Plane = Instance.new("StringValue")
Plane.Parent = game.Workspace.Strings
Plane.Value = v
end

So pretty much - copy all the information onto strings/numbervalues/bool values onto the workspace.

2 comments

0

You don't want to do that.

0

It is a lot of information being copied over, but I want to try that.