game:GetService("RunService").PreSimulation:Connect(function() if game:GetService("Players").LocalPlayer.Character and game:GetService("Players").LocalPlayer.Character:FindFirstChild("HumanoidRootPart") then local RaycastParameters = RaycastParams.new() RaycastParameters.FilterType = Enum.RaycastFilterType.Blacklist RaycastParameters.IgnoreWater = true RaycastParameters.FilterDescendantsInstances = { game:GetService("Players").LocalPlayer.Character } local RaycastResult = workspace:Raycast( game:GetService("Players").LocalPlayer.Character.HumanoidRootPart.Position, Vector3.new(0,5,0), RaycastParameters ) if RaycastResult then if not _G.LastFPress or tick() - _G.LastFPress > 0.02 then _G.LastFPress = tick() keypress(0x46) keyrelease(0x46) end end end end)