
642 Views
394 Executions
universal dash made by chatgpt
Universal Script 📌
somerandomguy_12348First script
11 months ago
Please login to perform these actions:Does it work?
No reports yetNo reports yet. Tried it? Be the first to say.
Also noticed:
Description
creates a button that makes you dash forward (it can clip through walls)
local player = game.Players.LocalPlayer
local char = player.Character or player.CharacterAdded:Wait()
local humanoid = char:WaitForChild("Humanoid")
local hrp = char:WaitForChild("HumanoidRootPart")
local DASH_DISTANCE = 10
local DASH_TIME = 0.15 -- smooth dash duration
local COOLDOWN = 1
local DASH_ANIMATION_ID = "rbxassetid://18153798204" -- change if you want
local canDash = true
-- GUI
local gui = Instance.new("ScreenGui")
gui.ResetOnSpawn = false
gui.Parent = player:WaitForChild("PlayerGui")
local button = Instance.new("TextButton")
button.Size = UDim2.new(0, 150, 0, 45)
button.Position = UDim2.new(0.5, -75, 0.8, 0)
button.BackgroundColor3 = Color3.fromRGB(40, 40, 40)
button.TextColor3 = Color3.new(1, 1, 1)
button.TextScaled = true
button.Text = "Dash"
button.Parent = gui
-- load dash animation
local dashAnim = Instance.new("Animation")
dashAnim.AnimationId = DASH_ANIMATION_ID
local dashTrack = humanoid:LoadAnimation(dashAnim)
-- Smooth dash function
local function dash()
if not canDash then return end
canDash = false
-- play animation
if dashTrack then
dashTrack:Play()
Comments
0Log in to join the conversation. Login
No comments yet. Be the first!







