#HELP URGENT

48 messages · Page 1 of 1 (latest)

charred sundial
#

game:GetService("RunService").RenderStepped:Connect(function()
if not UserInputService.TouchEnabled and UserInputService.KeyboardEnabled then
MainUI.Parent.Parent.Enabled = true
else
MainUI.Parent.Parent.Enabled = false
end
end)

why does this not always work? im trying to hide the gui on mobile but it doesnt work most of the time

thick aurora
#

It’s not as if a player magically switches from mobile to pc

spiral gazelle
#

it's that easy, don't overthink it

#

:)

proud hinge
#

controler and pc crying

thick aurora
proud hinge
#

yep

tawny wharfBOT
#

studio** You are now Level 3! **studio

thick aurora
#

1 listener is better than checking it every render frame

proud hinge
#
game:GetService("UserInputService").InputBeggan:Connect(function()
  if UserInputService.TouchEnabled then
   MainUI.Parent.Parent.Enabled = false
  end
end)
spiral gazelle
proud hinge
#

ok

#

imagine

#

i have steer wheel (or controler)

#

and i need to use keyboard

spiral gazelle
spiral gazelle
spiral gazelle
#

the same function

#

everytime

#

an input is fired

proud hinge
#

grab your controler

#

and go play drive world

spiral gazelle
#

I don't have one

proud hinge
#

then you understand

proud hinge
spiral gazelle
#

I also don't have a phone

#

only a computer

#

not a laptop btw, I dislike them a lot

grim ingot
#

im a laptop user

spiral gazelle
#

I hate

#

laptop users

grim ingot
#

oh i see
i hate smokers but i indeed love my dad lmao

spiral gazelle
#

yeah

#

I hate em too

#

but not my dad

#

🔥🔥🔥

grim ingot
#

my dad used to stop randomly and then smoke two packs in one day 😭

spiral gazelle
#

it smells so horrible