function GetSpecificPlane()
for _,v in pairs (workspace:GetChildren()) do
if v:IsA("Model") then
if v.Name == "PlaneTest" then
if v.OwnedBy.Value == player.Name then
print("Confirmed ownership, user in charge is "..player.Name.."!")
else
print("It appears we have a major bug captain. ABORTTT!!!")
end
end
end
end
end
function CFRAME()
GetSpecificPlane()
--How would I get 'v' from this function over to this one?
end
So here is my code. I am using the function GetSpecificPlane() to find a plane marked as the users plane. All that is fine. What I'm curious about is if there is any way I could add some sort of argument which can hold v in the GetSpecificPlane() function and use it in the CFRAME() function.
