Skill Based Boss Fights
Key RequiredUniversal

Skill Based Boss Fights

Universal ScriptT4444T4444 5.3K views 458 executesUpdated Jul 3, 2025
1.3/ 5(4 votes)
1325% Positive
Lua Script•128 lines (3695 chars)
-- Get services
local Players = game:GetService("Players")
local ReplicatedStorage = game:GetService("ReplicatedStorage")
local Player = Players.LocalPlayer

-- Remote reference
local DamageRemote = ReplicatedStorage:WaitForChild("Remotes"):WaitForChild("Damage")

-- Create GUI
local screenGui = Instance.new("ScreenGui")
screenGui.Name = "DamageGui"
screenGui.ResetOnSpawn = false  -- WON'T disappear on death
screenGui.Parent = Player:WaitForChild("PlayerGui")

local frame = Instance.new("Frame")
frame.Size = UDim2.new(0, 300, 0, 250)
frame.Position = UDim2.new(0.5, -150, 0.5, -125)
frame.BackgroundColor3 = Color3.fromRGB(30, 30, 30)
frame.BorderSizePixel = 0
frame.Parent = screenGui

-- Make frame draggable
frame.Active = true
frame.Draggable = true

-- Title label
local titleLabel = Instance.new("TextLabel")
titleLabel.Text = "Electron Central"
titleLabel.Size = UDim2.new(1, 0, 0, 40)
titleLabel.Position = UDim2.new(0, 0, 0, 0)
titleLabel.BackgroundColor3 = Color3.fromRGB(45, 45, 45)
titleLabel.TextColor3 = Color3.fromRGB(255, 255, 255)
titleLabel.Font = Enum.Font.SourceSansBold
titleLabel.TextSize = 22
titleLabel.Parent = frame

-- Input for class
local classBox = Instance.new("TextBox")
classBox.PlaceholderText = "Enter Class (e.g., Vortex)"
classBox.Size = UDim2.new(1, -20, 0, 35)
classBox.Position = UDim2.new(0, 10, 0, 50)
classBox.BackgroundColor3 = Color3.fromRGB(40, 40, 40)
classBox.TextColor3 = Color3.fromRGB(255, 255, 255)
classBox.TextSize = 18
classBox.ClearTextOnFocus = false
classBox.Parent = frame

-- Input for boss name
local bossBox = Instance.new("TextBox")
bossBox.PlaceholderText = "Enter Boss Name (e.g., Percolalpha)"
bossBox.Size = UDim2.new(1, -20, 0, 35)
bossBox.Position = UDim2.new(0, 10, 0, 95)
bossBox.BackgroundColor3 = Color3.fromRGB(40, 40, 40)
bossBox.TextColor3 = Color3.fromRGB(255, 255, 255)
bossBox.TextSize = 18
bossBox.ClearTextOnFocus = false
bossBox.Parent = frame

-- Start button
local startButton = Instance.new("TextButton")
startButton.Text = "Start"
startButton.Size = UDim2.new(1, -20, 0, 35)
startButton.Position = UDim2.new(0, 10, 0, 140)
startButton.BackgroundColor3 = Color3.fromRGB(60, 180, 75)
startButton.TextColor3 = Color3.fromRGB(255, 255, 255)
startButton.TextSize = 18
startButton.Parent = frame

-- Stop button
local stopButton = Instance.new("TextButton")
stopButton.Text = "Stop"
stopButton.Size = UDim2.new(1, -20, 0, 35)
stopButton.Position = UDim2.new(0, 10, 0, 185)
stopButton.BackgroundColor3 = Color3.fromRGB(220, 50, 50)
stopButton.TextColor3 = Color3.fromRGB(255, 255, 255)
stopButton.TextSize = 18
stopButton.Parent = frame

-- Control variable
local running = false

-- Start button logic
startButton.MouseButton1Click:Connect(function()
	if running then return end
	running = true

	local className = classBox.Text
	local bossName = bossBox.Text

	if className == "" or bossName == "" then
		warn("Please enter both class and boss names.")
		running = false
		return
	end

	-- Get boss from workspace and damage
	local boss
	local humanoid
	local success, err = pcall(function()
		boss = workspace:WaitForChild("Characters"):WaitForChild("Enemies"):WaitForChild(bossName, 5)
		humanoid = boss:WaitForChild("Humanoid", 5)
	end)

	if not success or not boss or not humanoid then
		warn("Could not find boss or humanoid: " .. (err or "unknown error"))
		running = false
		return
	end

	local args = {
		humanoid,
		className,
		{}
	}

	-- Damage loop
	task.spawn(function()
		while running and humanoid and humanoid.Health > 0 do
			DamageRemote:FireServer(unpack(args))
			task.wait(0.01)
		end
	end)
end)

-- Stop button logic
stopButton.MouseButton1Click:Connect(function()
	running = false
end)

Features & Information

Just updated it, it supports mobile and PC everything should be self explanatory.

Community Comments (13)

BANGscriptsBANGscriptsJul 3, 2025

AI slop

zxcvzxcvJul 3, 2025

@BANGscripts your entire scripts are obfuscated with WeAreDevs, and entire thing are AI.

T4444T4444Jul 3, 2025

@BANGscripts gang it's better then wtv the * u be making, I actually put in time 2 think about what remotes to use.

BANGscriptsBANGscriptsJul 3, 2025

@zxcv @T4444 Calling my scripts AI while defending stolen code is wild enough, but going through and disliking all my work out of spite? That’s just straight up petty. If your code was actually good, you wouldn’t need to defend stolen AI or m*-dislike mine. Keep proving my point ig.

zxcvzxcvJul 3, 2025

@BANGscripts your statement does seems like an AI either.🥀

T4444T4444Jul 4, 2025

I edited the script but uhhh I forgot 2 release update because it has more functions now and has auto detect cl*, and boss. It also auto dodges attacks and clicks for you and detects if a boss has its counter on. @BANGscripts , how is my code stolen I literally made this using the games functions

jeroconfirmedjeroconfirmedJul 4, 2025(edited)

@T4444 why the script is't working? I already put a cl* and the boss correctly, help please

T4444T4444Jul 4, 2025

@jeroconfirmed you have 2 manually click it I didn't release version 2 but I'll do it today

raymondgolpeo2raymondgolpeo2Jul 5, 2025

Where is auto dodge

raymondgolpeo2raymondgolpeo2Jul 5, 2025(edited)

Where is auto dodge pls I need cuz I keep dying to every boss I had to *yze their ability and dodge it

T4444T4444Jul 9, 2025

auto dodge will not be possible because I can't find the function of their attacks

idetectchatgpt101idetectchatgpt101Jul 25, 2025

@T4444 script doesnt work

GameVortexHubGameVortexHubNov 25, 2025

How do you use this

More Scripts for Universal Scripts