Universal Script 📌
362 Views
7 Executions

trexinator dualspeed

Universal Script 📌
rolledrick581
rolledrick581Published 10
1 year 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

dualspeed while blocking

View Raw
local Players = game:GetService("Players")
local player = Players.LocalPlayer
local character = player.Character or player.CharacterAdded:Wait()
local humanoid = character:WaitForChild("Humanoid")

local animationId = "rbxassetid://101466921207364"

local defaultSpeed = humanoid.WalkSpeed
local boostedSpeed = defaultSpeed * 2

local animator = humanoid:FindFirstChildOfClass("Animator") or humanoid:WaitForChild("Animator")

animator.AnimationPlayed:Connect(function(track)
    if track.Animation.AnimationId == animationId then
        humanoid.WalkSpeed = boostedSpeed
        track.Stopped:Connect(function()
            humanoid.WalkSpeed = defaultSpeed
        end)
    end
end)

player.CharacterAdded:Connect(function(char)
    character = char
    humanoid = character:WaitForChild("Humanoid")
    humanoid.WalkSpeed = defaultSpeed
end)


Comments

0
Log in to join the conversation. Login
No comments yet. Be the first!

More universal scripts

See all
Script hub
164.5k
562.3k
Bumped 2 hours ago
Key System

Script hub

Hall of Fame #6

Verified script badgeAcro Hub OP SCRIPT

Script hub
3.0k
3.8k
Bumped 3 hours ago
Script hub
247
1.2k
13 hours ago
Key System

Script hub

#9 today

Verified script badgeBlendHub | Easy + Quick

Universal Script 📌
138
79
Approved 5 hours ago
Script hub
147
884
Approved 6 hours ago
Script hub
76
193
Approved 6 hours ago
Universal Script 📌
99
235
Approved 6 hours ago