if f1==1 then f1=0 local C=script.b:Clone()C.Parent=script.Parent.PS.bu C.Position=UDim2.new(0,po1.X+8,0,po1.Y+6)C.BackgroundColor3=p1.BackgroundColor3 C.inf.Value=Vector3.new(1,y1)end if z1==0 and s1==0 then po1=po1+Vector3.new(x1,y1)/3 end po1=po1.X<0 and Vector3.new(0,po1.Y)or po1 po1=po1.X>26 and Vector3.new(26,po1.Y)or po1 po1=po1.Y<0 and Vector3.new(po1.X,0)or po1 po1=po1.Y>25 and Vector3.new(po1.X,25)or po1 p1.Position=UDim2.new(0,po1.X,0,po1.Y)local C,e="\098"if s1==1 then C="\107"e="\107"print("\065\065\065")elseif z1==1 then C="\098\050"e=y1==0 and"\115\049"or y1==1 and"\115\051"or"\115\050"elseif math.abs(x1)+math.abs(y1)>0 then C="\098"e=math.sin(tick()*8)>0 and"\108\049"or"\108\050"else C="\098"e="\108\050"end for s,B in pairs(p1:GetChildren())do if B.Name==C or B.Name==e then B.Visible=true else B.Visible=false end end
-----------------------
if f1 == 1 then
	f1 = 0
	local b = script.b:Clone()
	b.Parent = script.Parent.PS.bu
	b.Position = UDim2.new(0, po1.X + 8, 0, po1.Y + 6)
	b.BackgroundColor3 = p1.BackgroundColor3
	b.inf.Value = Vector3.new(1, y1)
end
if z1 == 0 and s1 == 0 then
	po1 = po1 + Vector3.new(x1, y1) / 3
end
po1 = po1.X < 0 and Vector3.new(0, po1.Y) or po1
po1 = po1.X > 26 and Vector3.new(26, po1.Y) or po1
po1 = po1.Y < 0 and Vector3.new(po1.X, 0) or po1
po1 = po1.Y > 25 and Vector3.new(po1.X, 25) or po1
p1.Position = UDim2.new(0, po1.X, 0, po1.Y)
local fr1, fr2 = "b"
if s1 == 1 then
	fr1 = "k"
	fr2 = "k"
	print("AAA")
elseif z1 == 1 then
	fr1 = "b2"
	fr2 = y1 == 0 and "s1" or y1 == 1 and "s3" or "s2"
elseif math.abs(x1) + math.abs(y1) > 0 then
	fr1 = "b"
	fr2 = math.sin(tick() * 8) > 0 and "l1" or "l2"
else
	fr1 = "b"
	fr2 = "l2"
end
for _, v in pairs(p1:GetChildren()) do
	if v.Name == fr1 or v.Name == fr2 then
		v.Visible = true
	else
		v.Visible = false
	end
end
