foundair= (v3:FindFirstAncestor("212th Attack Battalion"))
print (foundair) 
if foundair~="212th Attack Battalion" then
	Allowed=true 
	else 
		Allowed=false 
	if Allowed then 
		spawn1=game.Workspace.AirborneSpawn
		print(spawn1)
		else 
			spawn1=game.Workspace.FriendSpawn
			print(spawn1)
		end
end 

2 comments

0

This is only part of the code, but this is where I believe it goes wrong. Is there anyone that can help?

0

Where is line 317? Also, why would Allowed be true when you just set it to false? Also, please indent correctly.