Can someobe help me fix this script?

m = Instance.new("Message",workspace)
	m.Text = ""..string.upper(player.Name).." thank you for testing my new model."
	wait(3)
	m:Remove()
	elseif Off then
		for _,v in pairs(Environment:GetChildren()) do
			if v:IsA("BasePart") then
			Select(v,"White")
			wait()
			v:Remove()
			end
		end
	wait(0.1)
	Environment:Remove()
	end
end

If you can I'll be very greatful!

1 comment

0

You haven't posted the entire script; can you please include the beginning so that there aren't syntax errors and we get a better idea of what you're doing?