Universal Script 📌
2.8k Views
35.2k Executions

old roblox jump button texture

10K executions
Universal Script 📌
MOCCOHAC
MOCCOHAC1M views
4 months ago
Get an executor
Please login to perform these actions:

Does it work?

No reports yet

No reports yet. Tried it? Be the first to say.

Also noticed:

Description

the old roblox jump button we all missed :P meant for mobile but won't bug on pc

View Raw
-- old jump button texture
local Players = game:GetService("Players")
local RunService = game:GetService("RunService")

local LocalPlayer = Players.LocalPlayer
local PlayerGui = LocalPlayer:WaitForChild("PlayerGui", 5)

-- Custom asset IDs via rbxthumb
local NORMAL_TEXTURE = "rbxthumb://type=Asset&id=128594480893243&w=420&h=420"
local PRESSED_TEXTURE = "rbxthumb://type=Asset&id=93465617564980&w=420&h=420"

-- Hardware GPU cache to keep textures instantly ready
local textureCacheScreen = PlayerGui:FindFirstChild("JumpTextureCache")
if textureCacheScreen then textureCacheScreen:Destroy() end

textureCacheScreen = Instance.new("ScreenGui")
textureCacheScreen.Name = "JumpTextureCache"

local cache1 = Instance.new("ImageLabel")
cache1.Image = NORMAL_TEXTURE
cache1.Size = UDim2.new(0, 1, 0, 1)
cache1.Position = UDim2.new(0, -10, 0, -10)
cache1.Parent = textureCacheScreen

local cache2 = Instance.new("ImageLabel")
cache2.Image = PRESSED_TEXTURE
cache2.Size = UDim2.new(0, 1, 0, 1)
cache2.Position = UDim2.new(0, -10, 0, -10)
cache2.Parent = textureCacheScreen

textureCacheScreen.Parent = PlayerGui

local loopConnection = nil
local inputBeganConn, inputEndedConn

local function cleanupConnections()
	if loopConnection then loopConnection:Disconnect(); loopConnection = nil end
	if inputBeganConn then inputBeganConn:Disconnect(); inputBeganConn = nil end
	if inputEndedConn then inputEndedConn:Disconnect(); inputEndedConn = nil end
end


Comments

1
Log in to join the conversation. Login
Roguee's profile picture
Roguee4 months ago

oh wow

1

Tags

More universal scripts

See all
Universal Script 📌
8
0
Approved 5 minutes ago
Script hub
2.8M
661.5k
Bumped 1 hour ago
Key System

Script hub

#4 today

Verified script badgeFlow Hub | 35 Games | Updated

Universal Script 📌
87
13
Approved 3 hours ago
Universal Script 📌
4.1k
185.8k
Bumped 10 hours ago
Script hub
899
59
11 hours ago