Features:
- Aimbot
- Hitbox Expander
When you have a ball, just press x and it will automatically shoot at the nearest pin.
Script:
local plr = game.Players.LocalPlayerlocal uis = game:GetService("UserInputService")local remote = game:GetService("ReplicatedStorage").ServerRemotefunction getPinPos()for i,v in pairs(workspace.FunctionalAssets.BowlingLanes:GetDescendants()) doif v:IsA("StringValue") and v.Value == plr.Name thenreturn v.Parent.PinPositions.Pin1.Positionelselocal dist, pos = 9e9for i,v in pairs(workspace.FunctionalAssets.BowlingLanes:GetDescendants()) doif v.Name ~= "PinController" and string.find(v.Name:lower(), "pin") and v:IsA("BasePart") thenprint(v.Name)local mag = (plr.Character.Head.Position - v.Position).Magnitudeif dist > mag thendist = magpos = v.Positionendendendreturn posendendendfunction throwBall()if plr.Character:FindFirstChild("BowlingBallPractise") thenlocal ball = plr.Character:FindFirstChild("BowlingBallPractise")local pos = getPinPos()if pos and ball thenlocal arguments = {[1] = "ThrowBall",[2] = {["Velocity"] = 150,["MouseData"] = {["Position"] = pos}}}ball.HitBox.CanCollide = falseball.HitBox.Size = Vector3.new(10, 10, 10)remote:InvokeServer(unpack(arguments))endelseif plr.Character:FindFirstChild("BowlingBall") thenlocal ball = plr.Character:FindFirstChild("BowlingBall")local pos = getPinPos()if pos and ball thenlocal arguments = {[1] = "ThrowBall",[2] = {["Velocity"] = 150,["MouseData"] = {["Position"] = pos}}}ball.HitBox.CanCollide = falseball.HitBox.Size = Vector3.new(6, 6, 6)remote:InvokeServer(unpack(arguments))endendendfunction keyPress(key, gpe)if not gpe and key.KeyCode == Enum.KeyCode.X thenthrowBall()endenduis.InputBegan:Connect(keyPress)
Post a Comment (0)