Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

Mobile GUI Jump button won't change its Y?

Asked by 4 years ago

I was trying to move the Mobile control GUI. The move GUI works well. But the Jump won't just move to different Y side. X works completely fine, but the Y stays in top or 1. Is there something wrong with it?

local plr = game.Players.LocalPlayer
local touchgui = plr.PlayerGui:WaitForChild("TouchGui")
local movegui = touchgui.TouchControlFrame.DynamicThumbstickFrame
local jumpgui = touchgui.TouchControlFrame.JumpButton

movegui.Position = UDim2.new(0, .8)
jumpgui.Position = UDim2.new(.8, 0)

Answer this question