Universal Script 📌
4.8k Views
4.3k Executions

Dash

Universal Script 📌
Educationalist
Educationalist10K executions
11 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
walidsido288 months ago

W

1

Tags

More universal scripts

See all
Universal Script 📌
1.8k
6.6k
Bumped 12 minutes ago
Script hub
23.3k
4.9k
Bumped 2 hours ago
Key System
Paid
High Quality Offering
Script hub
4.1M
544.7k
Bumped 2 hours ago
Key System

Script hub

Hall of Fame #3

Verified script badgeOverflow #1 *OP*

Universal Script 📌
13.9k
55.1k
Bumped 6 hours ago
High Quality Offering
Script hub
2.9M
974.1k
Bumped 7 hours ago
Key System
Universal Script 📌
9.2k
210.0k
Bumped 7 hours ago
Script hub
86.7k
363.1k
Bumped 7 hours ago
Key System
Universal Script 📌
9.0k
146.8k
Bumped 7 hours ago
High Quality Offering