--script.Parent.MouseClick:Connect(function()
--	script.Parent.MaxActivationDistance = 0
--	TweenA:Play()
--	wait(7)
--	TweenB:Play()
--	wait(3)
--	script.Parent.MaxActivationDistance = 20
--end)


function onClick(click)
	if click.TeamColor == BrickColor.new("White")then
			TweenA:Play()
		wait(7)
		TweenB:Play()
	end
end

script.Parent.MouseClick:Connect(onClick)
