
Key Required
Auto hole in one
Lua Script•44 lines (1987 chars)
-- // Credit : DownInDaNang
local ReplicatedStorage = game:GetService("ReplicatedStorage")
local LocalPlayer = game:GetService("Players").LocalPlayer
local GetCupLocation = ReplicatedStorage:WaitForChild("Functions"):WaitForChild("GetCupLocationFunction")
local TargetCupPos: Vector3? = nil
local function UpdateHoleLocation(): ()
local CurrentHole: number = LocalPlayer:WaitForChild("leaderstats"):WaitForChild("Hole").Value
local HoleString: string = string.format("%03d", CurrentHole)
local CourseModel: any = workspace:FindFirstChild("9HoleCourse")
local CupPos: any, CupData: any = GetCupLocation:InvokeServer(HoleString, CourseModel and CourseModel.Name or nil)
if typeof(CupPos) == "Vector3" then
TargetCupPos = CupPos
end
end
LocalPlayer:WaitForChild("leaderstats"):WaitForChild("Hole").Changed:Connect(UpdateHoleLocation)
task.spawn(UpdateHoleLocation)
local OldNewIndex: any
OldNewIndex = hookmetamethod(game, "__newindex", function(Self: any, Index: string, Value: any): any
if not checkcaller() and (Index == "AssemblyLinearVelocity" or Index == "Velocity") and Self:IsA("BasePart") and Self.Name:find("Ball") then
if TargetCupPos then
local DeltaPos: Vector3 = (TargetCupPos - Self.Position)
local HorizontalDist: number = Vector3.new(DeltaPos.X, 0, DeltaPos.Z).Magnitude
if HorizontalDist > 0.5 then
local TimeToTarget: number = math.clamp(HorizontalDist / 30, 0.4, 1.2)
local Gravity: number = 35.037 -- grav
local AimVelocity: Vector3 = Vector3.new(
DeltaPos.X / TimeToTarget,
(DeltaPos.Y + 0.5 * Gravity * TimeToTarget^2) / TimeToTarget,
DeltaPos.Z / TimeToTarget
)
return OldNewIndex(Self, Index, AimVelocity)
end
end
end
return OldNewIndex(Self, Index, Value)
end)Features & Information
Script is not mine btw.
Credit : DownInDaNang
Auto makes ball go to hole

doesnt work
why post scripts that don't even know work, tard.
@connorsvault Xeno user spotted
nope i use pot*ium, your scripts just suck *
Also who reposts other peoples scripts, learn how to code skid
@connorsvault I made my own off of this one if you want it
@mislojr2005 send please
@mislojr2005 can you please send me it
mislojr2005 send please
send me too please @mislojr2005
send
mislojr2005 Please send it or post
send me too please @mislojr2005
gng it doesnt even workk stfu I've tried it in Xeno Solara Krnl, and Delta.