Universal Script 📌
23.7k Views
491 Executions

The Strongest Hero Universal

Universal Script 📌
thanhtai
thanhtai10K executions
2 years 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

This is based The Strongest Battlegrounds so i put universal script i own that

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

local toolData = {
	{ Name = "Normal Punch",        AnimationId = "rbxassetid://204062532", Speed = 1 },
	{ Name = "Consecutive Punches", AnimationId = "rbxassetid://126753849", Speed = 2.4 },
	{ Name = "Shove",               AnimationId = "rbxassetid://218504594", Speed = 1 },
	{ Name = "Uppercut",            AnimationId = "rbxassetid://184574340", Speed = 1 }
}

local currentTrack = nil
local isPlaying = false

for _, data in pairs(toolData) do
	local tool = Instance.new("Tool")
	tool.Name = data.Name
	tool.RequiresHandle = false
	tool.CanBeDropped = false
	tool.Parent = player.Backpack

	tool.Equipped:Connect(function()
		if isPlaying then return end
		isPlaying = true

		-- ⚡ Super fast unequip
		task.defer(function()
			tool.Parent = player.Backpack
		end)

		-- Stop previous anim
		if currentTrack and currentTrack.IsPlaying then
			currentTrack:Stop()
			currentTrack:Destroy()
		end

		local anim = Instance.new("Animation")
		anim.AnimationId = data.AnimationId
		local track = humanoid:LoadAnimation(anim)
		track.Looped = false


Comments

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

Tags

More universal scripts

See all
Script hub
2.0M
627.3k
Bumped 2 hours ago
Key System
Script hub
202.4k
2.3M
Bumped 4 hours ago
Key System

Script hub

#20 this week

Verified script badgeAirflow HUB

Universal Script 📌
57.4k
270.8k
Bumped 5 hours ago
Key System
Universal Script 📌
2.7k
923
Bumped 7 hours ago
Script hub
2.2M
2.5M
Bumped 9 hours ago
Key System
Universal Script 📌
33.5k
481.4k
Bumped 9 hours ago
Script hub
4.0M
2.7M
Bumped 9 hours ago

Script hub

Hall of Fame #5

KeylessVerified script badge[KEYLESS] Moondiety Script | 30+ supported Games