if f2==1 then f2=0 local v=script.b:Clone()v.Parent=script.Parent.PS.bu v.Position=UDim2.new(0,po2.X,0,po2.Y+6)v.BackgroundColor3=p2.BackgroundColor3 v.inf.Value=Vector3.new(-1,y2)end if z2==0 and s2==0 then po2=po2+Vector3.new(x2,y2)/3 end po2=po2.X<44 and Vector3.new(44,po2.Y)or po2 po2=po2.X>68 and Vector3.new(68,po2.Y)or po2 po2=po2.Y<0 and Vector3.new(po2.X,0)or po2 po2=po2.Y>25 and Vector3.new(po2.X,25)or po2 p2.Position=UDim2.new(0,po2.X,0,po2.Y)local v,R="\098"if s2==1 then v="\107"R="\107"elseif z2==1 then v="\098\050"R=y2==0 and"\115\049"or y2==1 and"\115\051"or"\115\050"elseif math.abs(x2)+math.abs(y2)>0 then v="\098"R=math.sin(tick()*8)>0 and"\108\049"or"\108\050"else v="\098"R="\108\050"end for E,e in pairs(p2:GetChildren())do if e.Name==v or e.Name==R then e.Visible=true else e.Visible=false end end
-----------------------
if f2 == 1 then
	f2 = 0
	local b = script.b:Clone()
	b.Parent = script.Parent.PS.bu
	b.Position = UDim2.new(0, po2.X, 0, po2.Y + 6)
	b.BackgroundColor3 = p2.BackgroundColor3
	b.inf.Value = Vector3.new(-1, y2)
end
if z2 == 0 and s2 == 0 then
	po2 = po2 + Vector3.new(x2, y2) / 3
end
po2 = po2.X < 44 and Vector3.new(44, po2.Y) or po2
po2 = po2.X > 68 and Vector3.new(68, po2.Y) or po2
po2 = po2.Y < 0 and Vector3.new(po2.X, 0) or po2
po2 = po2.Y > 25 and Vector3.new(po2.X, 25) or po2
p2.Position = UDim2.new(0, po2.X, 0, po2.Y)
local fr1, fr2 = "b"
if s2 == 1 then
	fr1 = "k"
	fr2 = "k"
elseif z2 == 1 then
	fr1 = "b2"
	fr2 = y2 == 0 and "s1" or y2 == 1 and "s3" or "s2"
elseif math.abs(x2) + math.abs(y2) > 0 then
	fr1 = "b"
	fr2 = math.sin(tick() * 8) > 0 and "l1" or "l2"
else
	fr1 = "b"
	fr2 = "l2"
end
for _, v in pairs(p2:GetChildren()) do
	if v.Name == fr1 or v.Name == fr2 then
		v.Visible = true
	else
		v.Visible = false
	end
end
