
Keyless

-- @build-failed
-- kill all
local runservice = game:GetService("RunService")
local replicatedstorage = game:GetService("ReplicatedStorage")
local players = game:GetService("Players")
local localplayer = players.LocalPlayer
local HitRemoteEvent = replicatedstorage:WaitForChild("ShopAssetsFolder"):WaitForChild("AssetRemotes"):WaitForChild("BatonRemotes"):WaitForChild("HitRemote")
runservice.Heartbeat:Connect(function()
for _, player in players:GetPlayers() do
if not player then continue end
if player == localplayer then continue end
local character = player.Character
if not character then continue end
local hrp = character:FindFirstChild("HumanoidRootPart")
if not hrp then continue end
local args = {
"BasicBaton",
hrp.CFrame,
{
BlockDamage = 15,
HasIdleVFX = false,
Damage = 1000,
SwingSound = "rbxassetid://9113305619",
DefaultDamage = 10,
Force = 25,
ImpactSound = {
"rbxassetid://6931263860"
},
AnimationName = "WeaponAnimation",
PassiveAbility = false,
TargetSound = {
"rbxassetid://9117969717"
},
Name = "BasicBaton",
PassiveChance = 5,
SpecialBuildup = 12,
LoopSound = false
},
character,
false,
false,
false
}
HitRemoteEvent:FireServer(unpack(args))
end
end)No comments yet for this script.