local player = game.Players.
LocalPlayer
local playerGui = player.PlayerGui
local hotbar = playerGui:FindFirstChild("Hotbar")
local backpack = hotbar:FindFirstChild("Backpack")
local hotbarFrame = backpack:FindFirstChild("Hotbar")
local baseButton = hotbarFrame:FindFirstChild("1").Base
local ToolName = baseButton.ToolName
ToolName.Text = "Move 1"
local player = game.Players.LocalPlayer
local playerGui = player.PlayerGui
local hotbar = playerGui:FindFirstChild("Hotbar")
local backpack = hotbar:FindFirstChild("Backpack")
local hotbarFrame = backpack:FindFirstChild("Hotbar")
local baseButton = hotbarFrame:FindFirstChild("2").Base
local ToolName = baseButton.ToolName
ToolName.Text = "Move 2"
local player = game.Players.LocalPlayer
local playerGui = player.PlayerGui
local hotbar = playerGui:FindFirstChild("Hotbar")
local backpack = hotbar:FindFirstChild("Backpack")
local hotbarFrame = backpack:FindFirstChild("Hotbar")
local baseButton = hotbarFrame:FindFirstChild("3").Base
local ToolName = baseButton.ToolName
ToolName.Text = "Move 3"
local player = game.Players.LocalPlayer
local playerGui = player.PlayerGui
local hotbar = playerGui:FindFirstChild("Hotbar")
local backpack = hotbar:FindFirstChild("Backpack")
local hotbarFrame = backpack:FindFirstChild("Hotbar")
local baseButton = hotbarFrame:FindFirstChild("4").Base
local ToolName = baseButton.ToolName
ToolName.Text = "Move 4"
local Players = game:GetService("Players")
local player = Players.LocalPlayer
local playerGui = player:WaitForChild("PlayerGui")
-- Ult here
local function findGuiAndSetText()
local screenGui = playerGui:FindFirstChild("ScreenGui")
if screenGui then
local magicHealthFrame = screenGui:FindFirstChild("MagicHealth")
if magicHealthFrame then
local textLabel = magicHealthFrame:FindFirstChild("TextLabel")
if textLabel then
textLabel.Text = "ULT name"
end
end
end
end
playerGui.DescendantAdded:Connect(findGuiAndSetText)
findGuiAndSetText()
-- Move 1 here
local animationId = 10468665991
local player = game.Players.LocalPlayer
local character = player.Character or player.CharacterAdded:Wait()
local humanoid = character:WaitForChild("Humanoid")
local function onAnimationPlayed(animationTrack)
if animationTrack.Animation.AnimationId == "rbxassetid://" .. animationId then
local p = game.Players.LocalPlayer
local Humanoid = p.Character:WaitForChild("Humanoid")
for _, animTrack in pairs(Humanoid:GetPlayingAnimationTracks()) do
animTrack:Stop()
end
local AnimAnim = Instance.new("Animation")
AnimAnim.AnimationId = "rbxassetid://Animation id here"
local Anim = Humanoid:LoadAnimation(AnimAnim)
local startTime = 0
Anim:Play(0)
Anim:AdjustSpeed(0)
Anim.TimePosition = startTime
Anim:AdjustSpeed(1)
end
end
-- Move 2 here
humanoid.AnimationPlayed:Connect(onAnimationPlayed)
local animationId = 10466974800
local player = game.Players.LocalPlayer
local character = player.Character or player.CharacterAdded:Wait()
local humanoid = character:WaitForChild("Humanoid")
local function onAnimationPlayed(animationTrack)
if animationTrack.Animation.AnimationId == "rbxassetid://" .. animationId then
local p = game.Players.LocalPlayer
local Humanoid = p.Character:WaitForChild("Humanoid")
for _, animTrack in pairs(Humanoid:GetPlayingAnimationTracks()) do
animTrack:Stop()
end
local AnimAnim = Instance.new("Animation")
AnimAnim.AnimationId = "rbxassetid://Animation id here"
local Anim = Humanoid:LoadAnimation(AnimAnim)
local startTime = 0
Anim:Play()
Anim:AdjustSpeed(0)
Anim.TimePosition = startTime
Anim:AdjustSpeed(1)
end
end
-- Move 3 here
humanoid.AnimationPlayed:Connect(onAnimationPlayed)
local animationId = 10471336737
local player = game.Players.LocalPlayer
local character = player.Character or player.CharacterAdded:Wait()
local humanoid = character:WaitForChild("Humanoid")
local function onAnimationPlayed(animationTrack)
if animationTrack.Animation.AnimationId == "rbxassetid://" .. animationId then
local p = game.Players.LocalPlayer
local Humanoid = p.Character:WaitForChild("Humanoid")
for _, animTrack in pairs(Humanoid:GetPlayingAnimationTracks()) do
animTrack:Stop()
end
local AnimAnim = Instance.new("Animation")
AnimAnim.AnimationId = "rbxassetid://Animation id here"
local Anim = Humanoid:LoadAnimation(AnimAnim)
local startTime = 0
Anim:Play()
Anim:AdjustSpeed(0)
Anim.TimePosition = startTime
Anim:AdjustSpeed(1)
delay(1.8, function()
Anim:Stop()
end)
end
end
-- (dont change this its not working and do not remove)
humanoid.AnimationPlayed:Connect(onAnimationPlayed)
local animationId = 12510170988
local player = game.Players.LocalPlayer
local character = player.Character or player.CharacterAdded:Wait()
local humanoid = character:WaitForChild("Humanoid")
local function onAnimationPlayed(animationTrack)
if animationTrack.Animation.AnimationId == "rbxassetid://" .. animationId then
local p = game.Players.LocalPlayer
local Humanoid = p.Character:WaitForChild("Humanoid")
for _, animTrack in pairs(Humanoid:GetPlayingAnimationTracks()) do
animTrack:Stop()
end
local AnimAnim = Instance.new("Animation")
AnimAnim.AnimationId = "rbxassetid://Animation id here"
local Anim = Humanoid:LoadAnimation(AnimAnim)
local startTime = 0
Anim:Play()
Anim:AdjustSpeed(0)
Anim.TimePosition = startTime
Anim:AdjustSpeed(1)
end
end
-- Move 4 (change this one)
humanoid.AnimationPlayed:Connect(onAnimationPlayed)
local animationId = 12510170988
local player = game.Players.LocalPlayer
local character = player.Character or player.CharacterAdded:Wait()
local humanoid = character:WaitForChild("Humanoid")
local function onAnimationPlayed(animationTrack)
if animationTrack.Animation.AnimationId == "rbxassetid://" .. animationId then
local p = game.Players.LocalPlayer
local Humanoid = p.Character:WaitForChild("Humanoid")
for _, animTrack in pairs(Humanoid:GetPlayingAnimationTracks()) do
animTrack:Stop()
end
local AnimAnim = Instance.new("Animation")
AnimAnim.AnimationId = "rbxassetid://Animation id here"
local Anim = Humanoid:LoadAnimation(AnimAnim)
local startTime = 0
Anim:Play()
Anim:AdjustSpeed(0)
Anim.TimePosition = startTime
Anim:AdjustSpeed(1)
end
end
-- Ult bar color
game.Players.LocalPlayer.PlayerGui.ScreenGui.MagicHealth.Health.Bar.Bar.ImageColor3
= Color3.fromRGB(255, 0, 0) -- red