-----------------------

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