this code.
local Players = game:GetService("Players")
local player = Players:FindFirstChild("AlphonsoGames")
if not player then return end
local cooldown = false
local holdCooldown = false
local target = nil
local holding = false
local safetyEnabled = true -- Safety toggle
local screenGui = Instance.new("ScreenGui")
screenGui.ResetOnSpawn = false
screenGui.Parent = player:WaitForChild("PlayerGui")
local symbol = Instance.new("ImageLabel")
symbol.Size = UDim2.new(0, 100, 0, 100)
symbol.Position = UDim2.new(1, -120, 1, -120)
symbol.AnchorPoint = Vector2.new(0, 0)
symbol.Image = "rbxassetid://116957729492323"
symbol.BackgroundTransparency = 1
symbol.Parent = screenGui
local safetyBtn = Instance.new("TextButton")
safetyBtn.Size = UDim2.new(0, 100, 0, 50)
safetyBtn.Position = UDim2.new(1, -120, 1, -60)
safetyBtn.AnchorPoint = Vector2.new(0, 0)
safetyBtn.Text = "Safety: ON"
safetyBtn.TextColor3 = Color3.fromRGB(255, 255, 255)
safetyBtn.BackgroundColor3 = Color3.fromRGB(100, 100, 100)
safetyBtn.Parent = screenGui
spawn(function()
while true do
if not safetyEnabled then
for _, color in ipairs({Color3.fromRGB(255,0,0), Color3.fromRGB(255,255,0)}) do
symbol.ImageColor3 = color
task.wait(0.5)
end
else
symbol.ImageColor3 = Color3.fromRGB(150,150,150)
task.wait(0.5)
end
end
end)
safetyBtn.MouseButton1Click:Connect(function()
safetyEnabled = not safetyEnabled
if safetyEnabled then
safetyBtn.Text = "Safety: ON"
safetyBtn.BackgroundColor3 = Color3.fromRGB(100, 100, 100)
else
safetyBtn.Text = "Safety: OFF"
safetyBtn.BackgroundColor3 = Color3.fromRGB(200, 0, 0)
end
end)
local function clearMark(char)
for _, d in ipairs(char:GetChildren()) do
if d.Name == "MarkBill" or d:IsA("Highlight") or d.Name == "Marked" then
d:Destroy()
end
end
end
local function markTarget(hum)
local char = hum.Parent
if not char then return end
clearMark(char)
local hrp = char:FindFirstChild("HumanoidRootPart")
if not hrp then return end
local tag = Instance.new("BoolValue")
tag.Name = "Marked"
tag.Parent = char
local hl = Instance.new("Highlight")
hl.FillColor = Color3.fromRGB(255,255,0)
hl.FillTransparency = 0.7
hl.OutlineTransparency = 1
hl.Parent = char
local bg = Instance.new("BillboardGui")
bg.Name = "MarkBill"
bg.Adornee = hrp
bg.AlwaysOnTop = true
bg.Size = UDim2.new(5,0,5,0)
bg.Parent = char
local img = Instance.new("ImageLabel")
img.BackgroundTransparency = 1
img.Image = "rbxassetid://103378350796777"
img.Size = UDim2.new(1,0,1,0)
img.Parent = bg
task.spawn(function()
while hum.Parent and tag.Parent do
img.ImageColor3 = Color3.fromRGB(255,255,0)
task.wait(0.5)
img.ImageColor3 = Color3.fromRGB(255,255,255)
task.wait(0.5)
end
end)
end
local function ragdollAndFling(char, humanoid)
local hrp = char:FindFirstChild("HumanoidRootPart")
if not hrp then return end
for _, m in ipairs(char:GetDescendants()) do
if m:IsA("Motor6D") then
local a0 = Instance.new("Attachment", m.Part0)
a0.CFrame = m.C0
local a1 = Instance.new("Attachment", m.Part1)
a1.CFrame = m.C1
local bs = Instance.new("BallSocketConstraint")
bs.Attachment0 = a0
bs.Attachment1 = a1
bs.Parent = m.Part0
m.Enabled = false
end
end
humanoid.PlatformStand = true
hrp:ApplyImpulse(Vector3.new(0,1250,0))
end
local function unmarkAndKill(hum)
local char = hum.Parent
if not char then return end
clearMark(char)
local hrp = char:FindFirstChild("HumanoidRootPart")
if hrp then
local s1 = Instance.new("Sound")
s1.SoundId = "rbxassetid://801142469"
s1.Volume = 1
s1.PlaybackSpeed = 1
s1.MinDistance = 25
s1.MaxDistance = 500
s1.Parent = hrp
local s2 = Instance.new("Sound")
s2.SoundId = "rbxassetid://89930963890779"
s2.Volume = 2.25
s2.PlaybackSpeed = 0.75
s2.MinDistance = 50
s2.MaxDistance = 500
s2.Parent = hrp
s1:Play()
s2:Play()
end
hum:TakeDamage(9999)
hum.Health = 0
hum.MaxHealth = 0
local hrp = char:FindFirstChild("HumanoidRootPart")
if hrp and hum.Parent and hum.Parent:FindFirstChild("HumanoidRootPart") then
local playerHRP = player.Character and player.Character:FindFirstChild("HumanoidRootPart")
if playerHRP then
local direction = (hrp.Position - playerHRP.Position).Unit
hrp:ApplyImpulse(direction * 999 + Vector3.new(0, 250, 0))
end
end
ragdollAndFling(char, hum)
end
local function createTool(c)
local t = Instance.new("Tool")
t.ToolTip = "Saint will Ascend."
t.Name = "Ascend."
t.RequiresHandle = false
t.Parent = player:FindFirstChild("Backpack") or player.Backpack
t.Activated:Connect(function()
if cooldown or holdCooldown or safetyEnabled then return end
holding = true
holdCooldown = true
task.delay(1, function() holdCooldown = false end)
local hrp = c:FindFirstChild("HumanoidRootPart")
if not hrp then return end
local s2hold = Instance.new("Sound")
s2hold.SoundId = "rbxassetid://89930963890779"
s2hold.Volume = 2
s2hold.PlaybackSpeed = 1
s2hold.Parent = hrp
s2hold:Play()
while holding do
if cooldown then break end
local lv = hrp.CFrame.LookVector
local bestScore, nh = -math.huge, nil
for _, o in ipairs(workspace:GetDescendants()) do
if o:IsA("Humanoid") and o.Health > 0 then
local m = o.Parent
if m and m:IsA("Model") and m ~= c then
local oh = m:FindFirstChild("HumanoidRootPart")
if oh then
local dir = oh.Position - hrp.Position
local distance = dir.Magnitude
if distance <= 125 then
local alignment = lv:Dot(dir.Unit)
if alignment > 0.95 then
local score = alignment * 2 - (distance / 125)
if score > bestScore then
bestScore = score
nh = o
end
end
end
end
end
end
end
if nh and nh ~= target then
if target and target.Parent then
clearMark(target.Parent)
end
target = nh
markTarget(nh)
local sw = Instance.new("Sound")
sw.SoundId = "rbxassetid://89930963890779"
sw.Volume = 0.5
sw.PlaybackSpeed = 1.5
sw.Parent = hrp
sw:Play()
local thrp = nh.Parent:FindFirstChild("HumanoidRootPart")
if thrp then
local sw2 = Instance.new("Sound")
sw2.SoundId = "rbxassetid://73531248392900"
sw2.Volume = 0.5
sw2.PlaybackSpeed = 1.5
sw2.Parent = thrp
sw2:Play()
end
end
task.wait(0.05)
end
end)
t.Deactivated:Connect(function()
if holding and target and target.Parent then
task.wait(0.75)
unmarkAndKill(target)
cooldown = true
task.delay(1.25, function() cooldown = false end)
end
holding = false
target = nil
end)
end
local respawnBtn = Instance.new("TextButton")
respawnBtn.Size = UDim2.new(0, 65, 0, 15)
respawnBtn.Position = UDim2.new(1, -75, 1, -160)
respawnBtn.AnchorPoint = Vector2.new(0, 0)
respawnBtn.Text = "Re-add Tool"
respawnBtn.TextColor3 = Color3.fromRGB(255, 255, 255)
respawnBtn.BackgroundColor3 = Color3.fromRGB(50, 150, 50)
respawnBtn.Parent = screenGui
respawnBtn.MouseButton1Click:Connect(function()
if player.Character then
createTool(player.Character)
end
end)
if player.Character then
createTool(player.Character)
end
player.CharacterAdded:Connect(function(c)
createTool(c)
end)
make it that instead of on other players. it's on you instead. but once activated. it will do a sequence. where you're markedfordeath instead of the other players. and then the billboard gui for the markfordeath effect gradually shakes overtime (not the hud one). more agressively and a new sound that loops, gets louder within the span of 5 seconds with 0.725 pitch 9118809363 and then an image flashes onto the player's screen 18689729732 with a loud sound 112583388649186 and then fades away as you get killed. safety is removed. and uses easing. and has no comments. and works like before