I tried to make it FE like normally but it just didn't work maybe I made a stupid mistake? my original version is here:
local ContextActionService = game:GetService("ContextActionService") local player = game.Players.LocalPlayer local mouse = player:GetMouse() local debounce = false local function pressedXHandler() if debounce then return end debounce = true local hitCharacter = mouse.Target.Parent local hitHumanoid = hitCharacter:FindFirstChildWhichIsA("Humanoid") if hitHumanoid then hitHumanoid:TakeDamage(25) hitCharacter.Humanoid.Sit = true local Push = Instance.new("BodyVelocity", hitCharacter.Torso) Push.Velocity = hitCharacter.Torso.CFrame.lookVector * -63 Push.MaxForce = Vector3.new(math.huge, math.huge, math.huge) local Distance = Instance.new("BodyPosition", hitCharacter.Torso) Distance.MaxForce = Vector3.new(0, 0, 2) Distance.Position = Vector3.new(0, hitCharacter.CFrame.p.Y + 15, 0) Push:Destroy() Distance:Destroy() wait(5) hitCharacter.Humanoid.Sit = false end wait(20) debounce = false end ContextActionService:BindAction("nameOfAction", pressedXHandler, false, Enum.KeyCode.X)