
3.2k Views
357 Executions
Fe universal okarun
Universal Script 📌
kjteo348410K executions
1 year 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
Idk
local Players = game:GetService("Players")
local player = Players.LocalPlayer
local backpack = player:WaitForChild("Backpack")
local tool = Instance.new("Tool")
tool.Name = "Run tool"
tool.RequiresHandle = false
tool.CanBeDropped = false
local animation = Instance.new("Animation")
animation.AnimationId = "rbxassetid://252557606"
local animTrack
local isRunning = false
local defaultSpeed = 16 -- Default humanoid WalkSpeed
tool.Activated:Connect(function()
local character = player.Character
if not character then return end
local humanoid = character:FindFirstChildOfClass("Humanoid")
if not humanoid then return end
if isRunning then
-- Turn OFF running
if animTrack then
animTrack:Stop()
animTrack = nil
end
humanoid.WalkSpeed = defaultSpeed
isRunning = false
print("Run OFF")
else
-- Turn ON running
animTrack = humanoid:LoadAnimation(animation)
animTrack:Play()
humanoid.WalkSpeed = 40
isRunning = true
print("Run ON")
end
end)
Comments
0Log in to join the conversation. Login
No comments yet. Be the first!







