local Players = game:GetService("Players")
local RunService = game:GetService("RunService")
local LocalPlayer = Players.LocalPlayer
local function isGrabbed(player)
local character = player.Character
return character and character:FindFirstChild("HumanoidRootPart")
and character:FindFirstChild("Humanoid")
and character:FindFirstChild("Head")
and character:FindFirstChild("GRABBING_CONSTRAINT")
end
local function getNil(name, class)
for _, v in pairs(getnilinstances()) do
if v.ClassName == class and v.Name == name then
return v
end
end
end
RunService.RenderStepped:Connect(function()
local args = {
[1] = "Stomp",
[2] = {
["Ignored"] = {
[1] = workspace.Ignored
}
},
[3] = getNil("Stomp", "AnimationTrack"),
[4] = LocalPlayer.Character:WaitForChild("BodyEffects")
}
game:GetService("ReplicatedStorage").MainEvent:FireServer(unpack(args))
end)
task.spawn(function()
while task.wait(1) do
for _, player in pairs(Players:GetPlayers()) do
if player.Character and player ~= LocalPlayer then
local bodyEffects = player.Character:FindFirstChild("BodyEffects")
if bodyEffects and bodyEffects:FindFirstChild("K.O") and bodyEffects["K.O"].Value == true and not isGrabbed(player) then
local lastPos = LocalPlayer.Character.HumanoidRootPart.Position
LocalPlayer.Character:MoveTo(player.Character.UpperTorso.Position)
task.wait(1)
LocalPlayer.Character:MoveTo(lastPos)
end
end
end
end
end)
To embed this project on your website, copy the following code and paste it into your website's HTML: