Run it
Copy the script and paste it into your executor.
Players = :()
RunService = :()
LocalPlayer = Players.LocalPlayer
PlayerGui = LocalPlayer:(, )
NORMAL_TEXTURE =
PRESSED_TEXTURE =
textureCacheScreen = PlayerGui:()
textureCacheScreen textureCacheScreen:()
textureCacheScreen = .()
textureCacheScreen.Name =
cache1 = .()
cache1.Image = NORMAL_TEXTURE
cache1.Size = .(, , , )
cache1.Position = .(, -, , -)
cache1.Parent = textureCacheScreen
cache2 = .()
cache2.Image = PRESSED_TEXTURE
cache2.Size = .(, , , )
cache2.Position = .(, -, , -)
cache2.Parent = textureCacheScreen
textureCacheScreen.Parent = PlayerGui
loopConnection =
inputBeganConn, inputEndedConn
()
loopConnection loopConnection:(); loopConnection =
inputBeganConn inputBeganConn:(); inputBeganConn =
inputEndedConn inputEndedConn:(); inputEndedConn =
()
()
touchGui = PlayerGui:(, )
touchControlFrame = touchGui touchGui:(, )
jumpButton = touchControlFrame touchControlFrame:(, )
jumpButton jumpButton:()
visualOverlay = jumpButton:()
visualOverlay
visualOverlay = .()
visualOverlay.Name =
visualOverlay.Size = .(, , , )
visualOverlay.Position = .(, , , )
visualOverlay.BackgroundTransparency =
visualOverlay.ScaleType = .ScaleType.Stretch
visualOverlay.Image = NORMAL_TEXTURE
visualOverlay.ZIndex = jumpButton.ZIndex +
visualOverlay.Parent = jumpButton
inputBeganConn = jumpButton.InputBegan:((input)
input.UserInputType == .UserInputType.Touch input.UserInputType == .UserInputType.MouseButton1
visualOverlay.Image = PRESSED_TEXTURE
)
inputEndedConn = jumpButton.InputEnded:((input)
input.UserInputType == .UserInputType.Touch input.UserInputType == .UserInputType.MouseButton1
visualOverlay.Image = NORMAL_TEXTURE
)
loopConnection = RunService.Heartbeat:(()
jumpButton jumpButton.Parent visualOverlay
jumpButton.ImageTransparency =
jumpButton.BackgroundTransparency =
uiCorner = jumpButton:()
uiCorner uiCorner:()
()
)
PlayerGui.ChildAdded:((child)
child.Name ==
.()
()
)
()
the old roblox jump button we all missed :P meant for mobile but won't bug on pc