#Plane Script

27 messages · Page 1 of 1 (latest)

south solstice
#

i believe their humanoid has a property called movedirection that goes up whenever the player has any movement input, you could check for the x value, less than -600 when theyre moving left, and greater than 600 when theyre moving right

#

you could try to incoorperate that

tough phoenix
#

and how would I remove the touch turning from just mobile players

south solstice
#

wdym?

#

if (game:GetService("UserInputService").TouchEnabled == true) and (game:GetService("UserInputService").MouseEnabled == false) then 
    UI.Visible = true 
else 
    UI.Visible = false
end``` this?
tough phoenix
#

Like here

#

See how it turns the plane when I touch the GUI how do I stop it from doing so

#

@south solstice Okay I'll explain easier

elder waveBOT
#

studio** You are now Level 1! **studio

tough phoenix
#

I want to make it so the plane will turn following the mobile joystick

tough phoenix
#

But I want to know how to stop the plane from turning when you touch the screen

#

I don't really know what I am doing to be honest

#

I'm not a programmer

#

If you see here, its only following where I am touching the screen and not the actual joystick

#

Where its only following the joystick and not where I am touching the screen

south solstice
#

you could always just disable their joystick while theyre on the plane and replace it with your own gui to detect it better

tough phoenix
#

idk i dont really want to do that

#

All i want to do is allow for the plane to be controlled via the mobile players joystick

#

and also to disable it from turning on screen touch

#

Because right now they tap there screen left to go left and right to go right etc

tough phoenix
#

How do I do that

#

Here, can I just send you the RBXM and can you take a look for me