Universal Script 📌
1.0k Views
334 Executions

Legends Air Dive Button

Universal Script 📌
theobscured102
theobscured102Published 10
7 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

UPDATE: Script is open source. This is my air dive button. What it does is when you click it, it flings you downwards, mimicking diving into the air. This is inspired from Flood Escape 2's air dive feature when you jump and click the "Slide" button mid air, it makes you air dive. Yeah.

Updates

  1. Script edited: Update script

  2. Script edited: Update script

  3. Script edited: Update script

View Raw
local Players = game:GetService("Players")
local GuiService = game:GetService("GuiService")
local StarterGui = game:GetService("StarterGui")
local player = Players.LocalPlayer
local playerGui = player:WaitForChild("PlayerGui")

pcall(function()
	StarterGui:SetCore("SendNotification", {
		Title = "Air Dive Button Script";
		Text = "Made by Legend. Have fun.";
		Duration = 6;
		Button1 = "Ok";
	})
end)

local function getJumpButton()
	local touchGui = playerGui:WaitForChild("TouchGui", 10)
	if not touchGui then return nil end
	local touchControlFrame = touchGui:WaitForChild("TouchControlFrame", 10)
	if not touchControlFrame then return nil end
	local jumpButton = touchControlFrame:FindFirstChild("JumpButton")
	return jumpButton
end

local jumpButton = getJumpButton()
if not jumpButton then
	warn("Jump button not found!")
	return
end

local diveButton = jumpButton:Clone()
diveButton.Name = "DiveButton"
diveButton.Parent = jumpButton.Parent
diveButton.Rotation = 180
diveButton.Position = UDim2.new(
	jumpButton.Position.X.Scale, jumpButton.Position.X.Offset,
	jumpButton.Position.Y.Scale, jumpButton.Position.Y.Offset - jumpButton.Size.Y.Offset - 10
)

local function isInAir()


Comments

2
Log in to join the conversation. Login
reyesprincegiro's profile picture
reyesprincegiro5 months ago

can u give me the deobfuscated script cause the script doesn't even work

1
theobscured102's profile picture
theobscured102Uploader5 months ago

@reyesprincegiro alr ima make this script open source...

1

More universal scripts

See all
Universal Script 📌
6.1k
54.4k
Bumped 1 hour ago
Universal Script 📌
2.4k
2.1k
Bumped 2 hours ago
Key System
Script hub
14.4k
75.0k
Bumped 5 hours ago
Universal Script 📌
91
97
Approved 6 hours ago
Key System
Universal Script 📌
93
120
Approved 6 hours ago