0% found this document useful (0 votes)
931 views21 pages

Roblox Slap Aura Particle Script

Sla

Uploaded by

togorwq
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
931 views21 pages

Roblox Slap Aura Particle Script

Sla

Uploaded by

togorwq
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd

local player = [Link].

LocalPlayer
local character = [Link] or [Link]:Wait()

-- Locate the right hand part (may vary depending on the rig)
local rightHand = character:FindFirstChild("RightHand") or
character:FindFirstChild("Right Arm") or character:FindFirstChild("RightUpperArm")

if rightHand then
-- Function to create a new ParticleEmitter with specific settings
local function createParticleEmitter(parent)
local particleEmitter = [Link]("ParticleEmitter")
[Link] = [Link]([Link](170, 0, 255)) --
Bright purple
[Link] = [Link](0.6) -- Slightly larger particles
[Link] = "rbxassetid://242968390" -- Optional texture for
particles
[Link] = 75 -- High particle rate for intensity
[Link] = [Link](0.4, 0.8) -- Duration of each
particle
[Link] = [Link](4, 8) -- Faster particles for
dynamic effect
[Link] = 1 -- Make particles glow
[Link] = parent
return particleEmitter
end

-- Function to create a new PointLight with specific settings


local function createPointLight(parent)
local pointLight = [Link]("PointLight")
[Link] = [Link](170, 0, 255) -- Bright purple
[Link] = 12 -- Larger light radius
[Link] = 3 -- Increased intensity
[Link] = parent
return pointLight
end

-- Create multiple ParticleEmitters and PointLights


for i = 1, 3 do
createParticleEmitter(rightHand)
createPointLight(rightHand)
end
else
warn("Right hand part not found.")
end

local ModelDeath = game:GetObjects("rbxassetid://12195574482")[1]


if ModelDeath then
for i,a in pairs([Link]:GetDescendants()) do
if [Link] == "Attachment4" or [Link] == "Flare" or [Link] == "Star3" or
[Link] == "Bits" then
a:Destroy()
end
end
for i,a in pairs([Link]:GetChildren()) do
if [Link] == "Attachment" and
a:FindFirstChildWhichIsA("ParticleEmitter") then
a:Clone().Parent = [Link]
end
end
ModelDeath:Destroy()
end

-- Get the local player and their character


local player = [Link]
local character = [Link] or [Link]:Wait()

-- Function to make the character, including hair and accessories, fully black and
apply a red outline
local function makeCharacterCompletelyBlack()
for _, descendant in pairs(character:GetDescendants()) do
if descendant:IsA("BasePart") or descendant:IsA("MeshPart") then
[Link] = [Link](0, 0, 0) -- Make all body parts black
[Link] = [Link]
elseif descendant:IsA("Accessory") then
if descendant:FindFirstChild("Handle") then
-- Turn the handle of the accessory black
[Link] = [Link](0, 0, 0)
[Link] = [Link]

-- Check for meshes or textures in the accessory's handle


for _, child in pairs([Link]:GetDescendants()) do
if child:IsA("MeshPart") or child:IsA("Part") or
child:IsA("UnionOperation") then
[Link] = [Link](0, 0, 0)
[Link] = [Link]
elseif child:IsA("SpecialMesh") then
[Link] = "" -- Remove texture for a uniform color
end
end
end
elseif descendant:IsA("Decal") or descendant:IsA("Texture") then
descendant:Destroy() -- Remove decals and textures
elseif descendant:IsA("Clothing") or descendant:IsA("ShirtGraphic") then
descendant:Destroy() -- Remove clothing to keep the body fully black
end
end

-- Add a red outline effect to the character


local outlineEffect = [Link]("Highlight")
[Link] = character
[Link] = [Link](1, 0, 0) -- Red outline
[Link] = [Link](0, 0, 0) -- Black fill
[Link] = 1 -- Only show the outline
end

-- Execute the function


makeCharacterCompletelyBlack()

-- Create ScreenGui and "1" button


local screenGui = [Link]("ScreenGui")
[Link] = [Link]:WaitForChild("PlayerGui")
[Link] = false

-- Create the "1" button with black background and white text
local button = [Link]("TextButton")
[Link] = [Link](0, 75, 0, 75)
[Link] = [Link](0.5, -37.5, 0.5, -37.5) -- Center of the screen
[Link] = [Link](0.5, 0.5)
button.BackgroundColor3 = [Link](0, 0, 0) -- Black background
button.TextColor3 = [Link](1, 1, 1) -- White text color
[Link] = "1"
[Link] = [Link]
[Link] = true
[Link] = screenGui

-- Load animation
local animationId = "rbxassetid://16102413143"
local animation = [Link]("Animation")
[Link] = animationId
local character = [Link] or
[Link]:Wait()
local humanoid = character:WaitForChild("Humanoid")
local animationTrack = humanoid:LoadAnimation(animation)

-- Slap Aura Variables and Setup


local Players = game:GetService("Players")
local ReplicatedStorage = game:GetService("ReplicatedStorage")
local RunService = game:GetService("RunService")
local player = [Link]
local slapDistance = 30
local slapCooldown = 0.585
local lastSlapTime = 0
local slapEnabled = false -- Start with slap aura disabled
local selectedRemote = "PlagueHit" -- Use PlagueHit remote

-- Function to slap closest player


local function slapClosestPlayer()
if not slapEnabled then return end

local closestPlayer = nil


local closestDistance = slapDistance

if [Link] and [Link]:FindFirstChild("HumanoidRootPart")


then
local playerPosition = [Link]

for _, otherPlayer in pairs(Players:GetPlayers()) do


if otherPlayer ~= player and [Link] and
[Link]:FindFirstChild("HumanoidRootPart") then
local otherPlayerPosition =
[Link]
local distance = (playerPosition - otherPlayerPosition).Magnitude

if distance <= closestDistance then


closestDistance = distance
closestPlayer = otherPlayer
end
end
end

if closestPlayer and tick() - lastSlapTime >= slapCooldown then


lastSlapTime = tick()
if [Link] and
[Link]:FindFirstChild("Head") then
local head = [Link]
local args = {head}
local remote = ReplicatedStorage:FindFirstChild(selectedRemote)
if remote then
remote:FireServer(unpack(args))
else
warn("Remote not found:", selectedRemote)
end
end
end
end
end

-- Function to handle button click


local function onButtonClick()
-- Execute the remote 3 times
local args = { [1] = "ScytheWeapon" }
for i = 1, 3 do
game:GetService("ReplicatedStorage").Scythe:FireServer(unpack(args))
end

-- Play the animation


animationTrack:Play()

-- Enable slap aura for 0.4 seconds


slapEnabled = true
[Link](0.4, function()
slapEnabled = false -- Disable slap aura after 0.4 seconds
end)
end

-- Connect button click to the function


button.MouseButton1Click:Connect(onButtonClick)

-- Continuously check for closest player if slap aura is enabled


[Link]:Connect(function()
if slapEnabled then
slapClosestPlayer()
end
end)

local screenGui = [Link]("ScreenGui")


[Link] = [Link]:WaitForChild("PlayerGui")
[Link] = false

local button = [Link]("TextButton")


[Link] = [Link](0, 50, 0, 50)
[Link] = [Link](0.7, -37.5, 0.6, -37.5)
[Link] = [Link](0.5, 0.5)
button.BackgroundColor3 = [Link](0, 0, 0)
button.TextColor3 = [Link](1, 1, 1)
[Link] = "2"
[Link] = [Link]
[Link] = true
[Link] = screenGui

local animationId = "rbxassetid://16102535685"


local animation = [Link]("Animation")
[Link] = animationId
local character = [Link] or
[Link]:Wait()
local humanoid = character:WaitForChild("Humanoid")
local animationTrack = humanoid:LoadAnimation(animation)

local Players = game:GetService("Players")


local ReplicatedStorage = game:GetService("ReplicatedStorage")
local RunService = game:GetService("RunService")
local player = [Link]
local slapDistance = 30
local slapCooldown = 0.585
local lastSlapTime = 0
local slapEnabled = false
local selectedRemote = "PlagueHit"

local function slapClosestPlayer()


if not slapEnabled then return end

local closestPlayer = nil


local closestDistance = slapDistance

if [Link] and [Link]:FindFirstChild("HumanoidRootPart")


then
local playerPosition = [Link]

for _, otherPlayer in pairs(Players:GetPlayers()) do


if otherPlayer ~= player and [Link] and
[Link]:FindFirstChild("HumanoidRootPart") then
local otherPlayerPosition =
[Link]
local distance = (playerPosition - otherPlayerPosition).Magnitude

if distance <= closestDistance then


closestDistance = distance
closestPlayer = otherPlayer
end
end
end

if closestPlayer and tick() - lastSlapTime >= slapCooldown then


lastSlapTime = tick()
if [Link] and
[Link]:FindFirstChild("Head") then
local head = [Link]
local args = {head}
local remote = ReplicatedStorage:FindFirstChild(selectedRemote)
if remote then
remote:FireServer(unpack(args))
else
warn("Remote not found:", selectedRemote)
end
end
end
end
end

local function onButtonClick()


animationTrack:Play()

local args = { [1] = "ScytheWeapon" }


for i = 1, 5 do
game:GetService("ReplicatedStorage").Scythe:FireServer(unpack(args))
end

[Link](0.2)
local humanoidRootPart = character:FindFirstChild("HumanoidRootPart")
if humanoidRootPart then
[Link] = [Link] * [Link](0, 0, -20)
end

[Link](0.2)
slapEnabled = true
[Link](0.3, function()
slapEnabled = false
end)
end

button.MouseButton1Click:Connect(onButtonClick)

[Link]:Connect(function()
if slapEnabled then
slapClosestPlayer()
end
end)

local screenGui = [Link]("ScreenGui")


[Link] = [Link]:WaitForChild("PlayerGui")
[Link] = false

local button = [Link]("TextButton")


[Link] = [Link](0, 50, 0, 50)
[Link] = [Link](0.6, -75, 0.5, -28)
[Link] = [Link](0.5, 0.5)
button.BackgroundColor3 = [Link](0, 0, 0)
[Link] = "3"
button.TextColor3 = [Link](1, 1, 1)
[Link] = [Link]
[Link] = 24
[Link] = screenGui

local player = [Link]


local character = [Link] or [Link]:Wait()
local humanoid = character:WaitForChild("Humanoid")

local animation = [Link]("Animation")


[Link] = "rbxassetid://16144846625"
local animationTrack = humanoid:LoadAnimation(animation)

button.MouseButton1Click:Connect(function()
animationTrack:Play()
[Link](0.2)

local args = {
[1] = "Bomb"
}
game:GetService("ReplicatedStorage").RetroAbility:FireServer(unpack(args))

local hrp = character:FindFirstChild("HumanoidRootPart")


if hrp then
[Link] = [Link] + [Link] * 30
end
end)

local screenGui = [Link]("ScreenGui")


[Link] = [Link]:WaitForChild("PlayerGui")
[Link] = false

local button = [Link]("TextButton")


[Link] = [Link](0, 150, 0, 50)
[Link] = [Link](0.9, -75, 0.5, 25)
[Link] = [Link](0.5, 0.5)
button.BackgroundColor3 = [Link](0, 0, 0)
[Link] = "4"
button.TextColor3 = [Link](1, 1, 1)
[Link] = [Link]
[Link] = 24
[Link] = screenGui

local player = [Link]


local character = [Link] or [Link]:Wait()
local humanoid = character:WaitForChild("Humanoid")

button.MouseButton1Click:Connect(function()
[Link] = 130
humanoid:ChangeState([Link])

wait(0.3)

local args = {
[1] = "fullcharged"
}
game:GetService("ReplicatedStorage").slapstick:FireServer(unpack(args))
end)

local screenGui = [Link]("ScreenGui")


[Link] = [Link]:WaitForChild("PlayerGui")
[Link] = false

local button = [Link]("TextButton")


[Link] = [Link](0, 150, 0, 50)
[Link] = [Link](0.5, -75, 0.5, 0)
[Link] = [Link](0.5, 0.5)
button.BackgroundColor3 = [Link](0, 0, 0)
[Link] = "5"
button.TextColor3 = [Link](1, 1, 1)
[Link] = [Link]
[Link] = 24
[Link] = screenGui

local player = [Link]


local character = [Link] or [Link]:Wait()
local humanoid = character:WaitForChild("Humanoid")

local animation = [Link]("Animation")


[Link] = "rbxassetid://16144830595"
local animationTrack = humanoid:LoadAnimation(animation)

button.MouseButton1Click:Connect(function()
animationTrack:Play()
local args = {
[1] = "Bomb"
}
game:GetService("ReplicatedStorage").RetroAbility:FireServer(unpack(args))

local flash = [Link]("Frame")


[Link] = [Link](1, 0, 1, 0)
[Link] = [Link](0, 0, 0, 0)
flash.BackgroundColor3 = [Link](1, 1, 1)
[Link] = 10
[Link] = screenGui

[Link] = 0
game:GetService("TweenService"):Create(flash, [Link](1),
{BackgroundTransparency = 1}):Play()

wait(1)
flash:Destroy()
end)

local player = [Link]


local character = [Link] or [Link]:Wait()
local humanoid = character:WaitForChild("Humanoid")

-- Create ScreenGui
local screenGui = [Link]("ScreenGui")
[Link] = player:WaitForChild("PlayerGui")

-- Create button
local button = [Link]("TextButton")
[Link] = [Link](0, 100, 0, 50)
[Link] = [Link](0.5, -50, 0.5, -25)
button.BackgroundColor3 = [Link](0, 0, 0) -- Black background
button.TextColor3 = [Link](1, 1, 1) -- White text color
[Link] = "6"
[Link] = [Link]
[Link] = true
[Link] = screenGui

-- Animation setup
local animation = [Link]("Animation")
[Link] = "rbxassetid://15437009238"
local animationTrack = humanoid:LoadAnimation(animation)

-- Slap aura variables


local Players = game:GetService("Players")
local ReplicatedStorage = game:GetService("ReplicatedStorage")
local slapDistance = 15
local slapCooldown = 0.585
local lastSlapTime = 0
local slapEnabled = false
local teleportEnabled = false
local selectedRemote = "PlagueHit"

-- Function to slap closest player


local function slapClosestPlayer()
if not slapEnabled then return end
local closestPlayer = nil
local closestDistance = slapDistance

if character and character:FindFirstChild("HumanoidRootPart") then


local playerPosition = [Link]

for _, otherPlayer in pairs(Players:GetPlayers()) do


if otherPlayer ~= player and [Link] and
[Link]:FindFirstChild("HumanoidRootPart") then
local otherPlayerPosition =
[Link]
local distance = (playerPosition - otherPlayerPosition).Magnitude

if distance <= closestDistance then


closestDistance = distance
closestPlayer = otherPlayer
end
end
end

if closestPlayer and tick() - lastSlapTime >= slapCooldown then


lastSlapTime = tick()
if [Link] and
[Link]:FindFirstChild("Head") then
local head = [Link]
local args = {head}
local remote = ReplicatedStorage:FindFirstChild(selectedRemote)
if remote then
remote:FireServer(unpack(args))
else
warn("Remote not found:", selectedRemote)
end
end
end
end
end

-- Function to teleport to the nearest player within 15 studs


local function teleportToNearestPlayer()
if not teleportEnabled then return end

local closestPlayer = nil


local closestDistance = slapDistance

if character and character:FindFirstChild("HumanoidRootPart") then


local playerPosition = [Link]

for _, otherPlayer in pairs(Players:GetPlayers()) do


if otherPlayer ~= player and [Link] and
[Link]:FindFirstChild("HumanoidRootPart") then
local otherPlayerPosition =
[Link]
local distance = (playerPosition - otherPlayerPosition).Magnitude

if distance <= closestDistance then


closestDistance = distance
closestPlayer = otherPlayer
end
end
end

if closestPlayer and [Link] and


[Link]:FindFirstChild("HumanoidRootPart") then
[Link] =
[Link]
end
end
end

-- Remote spam function


local function spamRemote()
local args = {
[1] = "fullcharged"
}
[Link]:FireServer(unpack(args))
end

-- Button click functionality


button.MouseButton1Click:Connect(function()
-- Start animation
[Link] = true
animationTrack:Play()

-- Set walk speed


[Link] = 70

-- Enable slap aura and teleport


slapEnabled = true
teleportEnabled = true

-- Start spamming remote, slap aura, and teleport


local remoteSpam = true
local slapCheck =
game:GetService("RunService").RenderStepped:Connect(slapClosestPlayer)
local teleportLoop = [Link](function()
while teleportEnabled do
teleportToNearestPlayer()
[Link](0.1) -- Adjust teleport interval as needed
end
end)
local spamLoop = [Link](function()
while remoteSpam do
spamRemote()
[Link](0.1) -- Adjust remote interval as needed
end
end)

-- Stop everything after 7 seconds


[Link](7, function()
animationTrack:Stop()
[Link] = 16 -- Reset walk speed to default
slapEnabled = false
teleportEnabled = false
remoteSpam = false
slapCheck:Disconnect()
end)
end)
local player = [Link]
local character = [Link] or [Link]:Wait()

-- Locate the right hand part (may vary depending on the rig)
local rightHand = character:FindFirstChild("RightHand") or
character:FindFirstChild("Right Arm") or character:FindFirstChild("RightUpperArm")

if rightHand then
-- Function to create a new ParticleEmitter with specific settings
local function createParticleEmitter(parent)
local particleEmitter = [Link]("ParticleEmitter")
[Link] = [Link]([Link](170, 0, 255)) --
Bright purple
[Link] = [Link](0.6) -- Slightly larger particles
[Link] = "rbxassetid://242968390" -- Optional texture for
particles
[Link] = 75 -- High particle rate for intensity
[Link] = [Link](0.4, 0.8) -- Duration of each
particle
[Link] = [Link](4, 8) -- Faster particles for
dynamic effect
[Link] = 1 -- Make particles glow
[Link] = parent
return particleEmitter
end

-- Function to create a new PointLight with specific settings


local function createPointLight(parent)
local pointLight = [Link]("PointLight")
[Link] = [Link](170, 0, 255) -- Bright purple
[Link] = 12 -- Larger light radius
[Link] = 3 -- Increased intensity
[Link] = parent
return pointLight
end

-- Create multiple ParticleEmitters and PointLights


for i = 1, 3 do
createParticleEmitter(rightHand)
createPointLight(rightHand)
end
else
warn("Right hand part not found.")
end

local ModelDeath = game:GetObjects("rbxassetid://12195574482")[1]


if ModelDeath then
for i,a in pairs([Link]:GetDescendants()) do
if [Link] == "Attachment4" or [Link] == "Flare" or [Link] == "Star3" or
[Link] == "Bits" then
a:Destroy()
end
end
for i,a in pairs([Link]:GetChildren()) do
if [Link] == "Attachment" and
a:FindFirstChildWhichIsA("ParticleEmitter") then
a:Clone().Parent = [Link]
end
end
ModelDeath:Destroy()
end

-- Get the local player and their character


local player = [Link]
local character = [Link] or [Link]:Wait()

-- Function to make the character, including hair and accessories, fully black and
apply a red outline
local function makeCharacterCompletelyBlack()
for _, descendant in pairs(character:GetDescendants()) do
if descendant:IsA("BasePart") or descendant:IsA("MeshPart") then
[Link] = [Link](0, 0, 0) -- Make all body parts black
[Link] = [Link]
elseif descendant:IsA("Accessory") then
if descendant:FindFirstChild("Handle") then
-- Turn the handle of the accessory black
[Link] = [Link](0, 0, 0)
[Link] = [Link]

-- Check for meshes or textures in the accessory's handle


for _, child in pairs([Link]:GetDescendants()) do
if child:IsA("MeshPart") or child:IsA("Part") or
child:IsA("UnionOperation") then
[Link] = [Link](0, 0, 0)
[Link] = [Link]
elseif child:IsA("SpecialMesh") then
[Link] = "" -- Remove texture for a uniform color
end
end
end
elseif descendant:IsA("Decal") or descendant:IsA("Texture") then
descendant:Destroy() -- Remove decals and textures
elseif descendant:IsA("Clothing") or descendant:IsA("ShirtGraphic") then
descendant:Destroy() -- Remove clothing to keep the body fully black
end
end

-- Add a red outline effect to the character


local outlineEffect = [Link]("Highlight")
[Link] = character
[Link] = [Link](1, 0, 0) -- Red outline
[Link] = [Link](0, 0, 0) -- Black fill
[Link] = 1 -- Only show the outline
end

-- Execute the function


makeCharacterCompletelyBlack()

-- Create ScreenGui and "1" button


local screenGui = [Link]("ScreenGui")
[Link] = [Link]:WaitForChild("PlayerGui")
[Link] = false

-- Create the "1" button with black background and white text
local button = [Link]("TextButton")
[Link] = [Link](0, 75, 0, 75)
[Link] = [Link](0.6, -37.5, 0.5, -37.5) -- Center of the screen
[Link] = [Link](0.5, 0.5)
button.BackgroundColor3 = [Link](0, 0, 0) -- Black background
button.TextColor3 = [Link](1, 1, 1) -- White text color
[Link] = "1"
[Link] = [Link]
[Link] = true
[Link] = screenGui

-- Load animation
local animationId = "rbxassetid://16102413143"
local animation = [Link]("Animation")
[Link] = animationId
local character = [Link] or
[Link]:Wait()
local humanoid = character:WaitForChild("Humanoid")
local animationTrack = humanoid:LoadAnimation(animation)

-- Slap Aura Variables and Setup


local Players = game:GetService("Players")
local ReplicatedStorage = game:GetService("ReplicatedStorage")
local RunService = game:GetService("RunService")
local player = [Link]
local slapDistance = 30
local slapCooldown = 0.585
local lastSlapTime = 0
local slapEnabled = false -- Start with slap aura disabled
local selectedRemote = "PlagueHit" -- Use PlagueHit remote

-- Function to slap closest player


local function slapClosestPlayer()
if not slapEnabled then return end

local closestPlayer = nil


local closestDistance = slapDistance

if [Link] and [Link]:FindFirstChild("HumanoidRootPart")


then
local playerPosition = [Link]

for _, otherPlayer in pairs(Players:GetPlayers()) do


if otherPlayer ~= player and [Link] and
[Link]:FindFirstChild("HumanoidRootPart") then
local otherPlayerPosition =
[Link]
local distance = (playerPosition - otherPlayerPosition).Magnitude

if distance <= closestDistance then


closestDistance = distance
closestPlayer = otherPlayer
end
end
end

if closestPlayer and tick() - lastSlapTime >= slapCooldown then


lastSlapTime = tick()
if [Link] and
[Link]:FindFirstChild("Head") then
local head = [Link]
local args = {head}
local remote = ReplicatedStorage:FindFirstChild(selectedRemote)
if remote then
remote:FireServer(unpack(args))
else
warn("Remote not found:", selectedRemote)
end
end
end
end
end

-- Function to handle button click


local function onButtonClick()
-- Execute the remote 3 times
local args = { [1] = "ScytheWeapon" }
for i = 1, 3 do
game:GetService("ReplicatedStorage").Scythe:FireServer(unpack(args))
end

-- Play the animation


animationTrack:Play()

-- Enable slap aura for 0.4 seconds


slapEnabled = true
[Link](0.4, function()
slapEnabled = false -- Disable slap aura after 0.4 seconds
end)
end

-- Connect button click to the function


button.MouseButton1Click:Connect(onButtonClick)

-- Continuously check for closest player if slap aura is enabled


[Link]:Connect(function()
if slapEnabled then
slapClosestPlayer()
end
end)

local screenGui = [Link]("ScreenGui")


[Link] = [Link]:WaitForChild("PlayerGui")
[Link] = false

local button = [Link]("TextButton")


[Link] = [Link](0, 75, 0, 75)
[Link] = [Link](0.5, -37.5, 0.6, -37.5)
[Link] = [Link](0.5, 0.5)
button.BackgroundColor3 = [Link](0, 0, 0)
button.TextColor3 = [Link](1, 1, 1)
[Link] = "2"
[Link] = [Link]
[Link] = true
[Link] = screenGui

local animationId = "rbxassetid://16102535685"


local animation = [Link]("Animation")
[Link] = animationId
local character = [Link] or
[Link]:Wait()
local humanoid = character:WaitForChild("Humanoid")
local animationTrack = humanoid:LoadAnimation(animation)

local Players = game:GetService("Players")


local ReplicatedStorage = game:GetService("ReplicatedStorage")
local RunService = game:GetService("RunService")
local player = [Link]
local slapDistance = 30
local slapCooldown = 0.585
local lastSlapTime = 0
local slapEnabled = false
local selectedRemote = "PlagueHit"

local function slapClosestPlayer()


if not slapEnabled then return end

local closestPlayer = nil


local closestDistance = slapDistance

if [Link] and [Link]:FindFirstChild("HumanoidRootPart")


then
local playerPosition = [Link]

for _, otherPlayer in pairs(Players:GetPlayers()) do


if otherPlayer ~= player and [Link] and
[Link]:FindFirstChild("HumanoidRootPart") then
local otherPlayerPosition =
[Link]
local distance = (playerPosition - otherPlayerPosition).Magnitude

if distance <= closestDistance then


closestDistance = distance
closestPlayer = otherPlayer
end
end
end

if closestPlayer and tick() - lastSlapTime >= slapCooldown then


lastSlapTime = tick()
if [Link] and
[Link]:FindFirstChild("Head") then
local head = [Link]
local args = {head}
local remote = ReplicatedStorage:FindFirstChild(selectedRemote)
if remote then
remote:FireServer(unpack(args))
else
warn("Remote not found:", selectedRemote)
end
end
end
end
end

local function onButtonClick()


animationTrack:Play()

local args = { [1] = "ScytheWeapon" }


for i = 1, 5 do
game:GetService("ReplicatedStorage").Scythe:FireServer(unpack(args))
end

[Link](0.2)
local humanoidRootPart = character:FindFirstChild("HumanoidRootPart")
if humanoidRootPart then
[Link] = [Link] * [Link](0, 0, -20)
end

[Link](0.2)
slapEnabled = true
[Link](0.3, function()
slapEnabled = false
end)
end

button.MouseButton1Click:Connect(onButtonClick)

[Link]:Connect(function()
if slapEnabled then
slapClosestPlayer()
end
end)

local screenGui = [Link]("ScreenGui")


[Link] = [Link]:WaitForChild("PlayerGui")
[Link] = false

local button = [Link]("TextButton")


[Link] = [Link](0, 50, 0, 50)
[Link] = [Link](0.6, -75, 0.5, -28)
[Link] = [Link](0.5, 0.5)
button.BackgroundColor3 = [Link](0, 0, 0)
[Link] = "3"
button.TextColor3 = [Link](1, 1, 1)
[Link] = [Link]
[Link] = 24
[Link] = screenGui

local player = [Link]


local character = [Link] or [Link]:Wait()
local humanoid = character:WaitForChild("Humanoid")

local animation = [Link]("Animation")


[Link] = "rbxassetid://16144846625"
local animationTrack = humanoid:LoadAnimation(animation)

button.MouseButton1Click:Connect(function()
animationTrack:Play()
[Link](0.2)

local args = {
[1] = "Bomb"
}
game:GetService("ReplicatedStorage").RetroAbility:FireServer(unpack(args))

local hrp = character:FindFirstChild("HumanoidRootPart")


if hrp then
[Link] = [Link] + [Link] * 30
end
end)

local screenGui = [Link]("ScreenGui")


[Link] = [Link]:WaitForChild("PlayerGui")
[Link] = false

local button = [Link]("TextButton")


[Link] = [Link](0, 150, 0, 50)
[Link] = [Link](0.2, -75, 0.5, 25)
[Link] = [Link](0.5, 0.5)
button.BackgroundColor3 = [Link](0, 0, 0)
[Link] = "4"
button.TextColor3 = [Link](1, 1, 1)
[Link] = [Link]
[Link] = 24
[Link] = screenGui

local player = [Link]


local character = [Link] or [Link]:Wait()
local humanoid = character:WaitForChild("Humanoid")

button.MouseButton1Click:Connect(function()
[Link] = 130
humanoid:ChangeState([Link])

wait(0.3)

local args = {
[1] = "fullcharged"
}
game:GetService("ReplicatedStorage").slapstick:FireServer(unpack(args))
end)

local screenGui = [Link]("ScreenGui")


[Link] = [Link]:WaitForChild("PlayerGui")
[Link] = false

local button = [Link]("TextButton")


[Link] = [Link](0, 150, 0, 50)
[Link] = [Link](0.5, -75, 0.5, 0)
[Link] = [Link](0.5, 0.5)
button.BackgroundColor3 = [Link](0, 0, 0)
[Link] = "5"
button.TextColor3 = [Link](1, 1, 1)
[Link] = [Link]
[Link] = 24
[Link] = screenGui

local player = [Link]


local character = [Link] or [Link]:Wait()
local humanoid = character:WaitForChild("Humanoid")

local animation = [Link]("Animation")


[Link] = "rbxassetid://16144830595"
local animationTrack = humanoid:LoadAnimation(animation)

button.MouseButton1Click:Connect(function()
animationTrack:Play()
local args = {
[1] = "Bomb"
}
game:GetService("ReplicatedStorage").RetroAbility:FireServer(unpack(args))

local flash = [Link]("Frame")


[Link] = [Link](1, 0, 1, 0)
[Link] = [Link](0, 0, 0, 0)
flash.BackgroundColor3 = [Link](1, 1, 1)
[Link] = 10
[Link] = screenGui

[Link] = 0
game:GetService("TweenService"):Create(flash, [Link](1),
{BackgroundTransparency = 1}):Play()

wait(1)
flash:Destroy()
end)

local player = [Link]


local character = [Link] or [Link]:Wait()
local humanoid = character:WaitForChild("Humanoid")

--Create ScreenGui
local screenGui = [Link]("ScreenGui")
[Link] = player:WaitForChild("PlayerGui")

-- Create button
local button = [Link]("TextButton")
[Link] = [Link](0, 100, 0, 50)
[Link] = [Link](0.4, -50, 0.5, -25)
button.BackgroundColor3 = [Link](0, 0, 0) -- Black background
button.TextColor3 = [Link](1, 1, 1) -- White text color
[Link] = "6"
[Link] = [Link]
[Link] = true
[Link] = screenGui

-- Animation setup
local animation = [Link]("Animation")
[Link] = "rbxassetid://15437009238"
local animationTrack = humanoid:LoadAnimation(animation)

-- Slap aura variables


local Players = game:GetService("Players")
local ReplicatedStorage = game:GetService("ReplicatedStorage")
local slapDistance = 15
local slapCooldown = 0.585
local lastSlapTime = 0
local slapEnabled = false
local teleportEnabled = false
local selectedRemote = "PlagueHit"

-- Function to slap closest player


local function slapClosestPlayer()
if not slapEnabled then return end

local closestPlayer = nil


local closestDistance = slapDistance

if character and character:FindFirstChild("HumanoidRootPart") then


local playerPosition = [Link]

for _, otherPlayer in pairs(Players:GetPlayers()) do


if otherPlayer ~= player and [Link] and
[Link]:FindFirstChild("HumanoidRootPart") then
local otherPlayerPosition =
[Link]
local distance = (playerPosition - otherPlayerPosition).Magnitude

if distance <= closestDistance then


closestDistance = distance
closestPlayer = otherPlayer
end
end
end

if closestPlayer and tick() - lastSlapTime >= slapCooldown then


lastSlapTime = tick()
if [Link] and
[Link]:FindFirstChild("Head") then
local head = [Link]
local args = {head}
local remote = ReplicatedStorage:FindFirstChild(selectedRemote)
if remote then
remote:FireServer(unpack(args))
else
warn("Remote not found:", selectedRemote)
end
end
end
end
end

-- Function to teleport to the nearest player within 15 studs


local function teleportToNearestPlayer()
if not teleportEnabled then return end

local closestPlayer = nil


local closestDistance = slapDistance

if character and character:FindFirstChild("HumanoidRootPart") then


local playerPosition = [Link]

for _, otherPlayer in pairs(Players:GetPlayers()) do


if otherPlayer ~= player and [Link] and
[Link]:FindFirstChild("HumanoidRootPart") then
local otherPlayerPosition =
[Link]
local distance = (playerPosition - otherPlayerPosition).Magnitude

if distance <= closestDistance then


closestDistance = distance
closestPlayer = otherPlayer
end
end
end
if closestPlayer and [Link] and
[Link]:FindFirstChild("HumanoidRootPart") then
[Link] =
[Link]
end
end
end

-- Remote spam function


local function spamRemote()
local args = {
[1] = "fullcharged"
}
[Link]:FireServer(unpack(args))
end

-- Button click functionality


button.MouseButton1Click:Connect(function()
-- Start animation
[Link] = true
animationTrack:Play()

-- Set walk speed


[Link] = 70

-- Enable slap aura and teleport


slapEnabled = true
teleportEnabled = true

-- Start spamming remote, slap aura, and teleport


local remoteSpam = true
local slapCheck =
game:GetService("RunService").RenderStepped:Connect(slapClosestPlayer)
local teleportLoop = [Link](function()
while teleportEnabled do
teleportToNearestPlayer()
[Link](0.1) -- Adjust teleport interval as needed
end
end)
local spamLoop = [Link](function()
while remoteSpam do
spamRemote()
[Link](0.1) -- Adjust remote interval as needed
end
end)

-- Stop everything after 7 seconds


[Link](7, function()
animationTrack:Stop()
[Link] = 16 -- Reset walk speed to default
slapEnabled = false
teleportEnabled = false
remoteSpam = false
slapCheck:Disconnect()
end)
end)

local player = [Link]


local screenGui = [Link]("ScreenGui")
[Link] = player:WaitForChild("PlayerGui")

local button = [Link]("TextButton")


[Link] = [Link](0, 125, 0, 40)
[Link] = [Link](1, -160, 0, 10)
[Link] = [Link](1, 0)
button.BackgroundColor3 = [Link](255, 255, 255)
button.TextColor3 = [Link](0, 0, 0)
[Link] = "GOD MODE"
[Link] = [Link]
[Link] = true
[Link] = screenGui

button.MouseButton1Click:Connect(function()
if [Link] and [Link]:FindFirstChild("HumanoidRootPart")
then
[Link] = [Link](-5, -5, 15)
end
end)

You might also like