Universal Script 📌
3.8k Views
3.5k Executions

Dash

Universal Script 📌
Educationalist
Educationalist10K executions
10 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 Dash script is a script that allows the player to dash forward allowing for more mobility educational purposes

View Raw
local Players = game:GetService("Players")
local UserInputService = game:GetService("UserInputService")
local TweenService = game:GetService("TweenService")
local Debris = game:GetService("Debris")

local player = Players.LocalPlayer
local playerGui = player:WaitForChild("PlayerGui")

-- Variables
local humanoid, rootPart
local lastDashTime = 0
local connections = {}
local cooldownTime = 4
local isOnCooldown = false

-- Create ScreenGui
local screenGui = Instance.new("ScreenGui")
screenGui.Name = "DashGui"
screenGui.ResetOnSpawn = false
screenGui.Parent = playerGui

-- Create the Dash button (higher position)
local dashButton = Instance.new("TextButton")
dashButton.Name = "DashButton"
dashButton.Size = UDim2.new(0, 100, 0, 50)
dashButton.Position = UDim2.new(1, -110, 1, -240)  -- Higher above the Jump button
dashButton.BackgroundColor3 = Color3.fromRGB(0, 170, 255)
dashButton.TextColor3 = Color3.fromRGB(255, 255, 255)
dashButton.Text = "Dash"
dashButton.Font = Enum.Font.GothamBold
dashButton.TextSize = 24
dashButton.BorderSizePixel = 2
dashButton.BorderColor3 = Color3.fromRGB(0, 0, 0)
dashButton.BackgroundTransparency = 0.3
dashButton.Parent = screenGui

-- Update button appearance during cooldown
local function updateButton(cooldownLeft)
    if cooldownLeft > 0 then
        dashButton.Text = string.format("Dash (%.1fs)", cooldownLeft)


Comments

1
Log in to join the conversation. Login
walidsido28's profile picture
walidsido287 months ago

W

1

Tags

More universal scripts

See all
Script hub
3.2M
753.1k
Bumped 2 hours ago
Key System

Script hub

Hall of Fame #8

Verified script badgeFlow Hub | 50 Games | Updated

Universal Script 📌
398
1.1k
Bumped 4 hours ago
Key System
Universal Script 📌
7.1k
141.6k
Bumped 5 hours ago
Script hub
45.7k
114.4k
Bumped 6 hours ago
Key System
Script hub
3.5M
448.8k
Bumped 7 hours ago
Key System

Script hub

Hall of Fame #4

Verified script badgeOverflow #1 *OP*

Universal Script 📌
14.8k
71.8k
Bumped 8 hours ago