Predict The Shot Script Keyless – Auto Deflect
Predict the Shot Keyless
Predict The Shot Script Keyless – Auto Deflect
๐Ÿ‘ค alexriderr ๐Ÿ‘ 18 views โค๏ธ 0 likes โฑ Mar 29, 2026
This is an open-source script created by Deflect Hub for the Roblox game *Predict the Shot*, offering three main functions.
โœจ Features
Click deflect Auto deflect Get VIP seat
๐Ÿ“‹ Script Code
-- Script taken from https://xenoscripts.com website --

local CoreGui = game:GetService("CoreGui")
local RunService = game:GetService("RunService")
local UserInputService = game:GetService("UserInputService")
local ReplicatedStorage = game:GetService("ReplicatedStorage")
local LocalPlayer = game:GetService("Players").LocalPlayer

local ScreenGui = Instance.new("ScreenGui")
ScreenGui.Name = "Deflect_Hub"
ScreenGui.Parent = CoreGui
ScreenGui.ResetOnSpawn = false

--// Remote Reference
local DeflectRemote = ReplicatedStorage:WaitForChild("Remotes", 5):WaitForChild("ConfirmPickEvent", 5)

--// Utilities
local function MakeDraggable(frame, dragHandle)
    local dragging, dragInput, dragStart, startPos
    dragHandle = dragHandle or frame
    dragHandle.InputBegan:Connect(function(input)
        if input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.Touch then
            dragging = true
            dragStart = input.Position
            startPos = frame.Position
            input.Changed:Connect(function()
                if input.UserInputState == Enum.UserInputState.End then dragging = false end
            end)
        end
    end)
    frame.InputChanged:Connect(function(input)
        if input.UserInputType == Enum.UserInputType.MouseMovement or input.UserInputType == Enum.UserInputType.Touch then dragInput = input end
    end)
    UserInputService.InputChanged:Connect(function(input)
        if input == dragInput and dragging then
            local delta = input.Position - dragStart
            frame.Position = UDim2.new(startPos.Width.Scale, startPos.Width.Offset + delta.X, startPos.Height.Scale, startPos.Height.Offset + delta.Y)
        end
    end)
end

local function CreateRainbowStroke(parent)
    local stroke = Instance.new("UIStroke")
    stroke.Thickness = 2
    stroke.Parent = parent
    task.spawn(function()
        while stroke.Parent do
            local hue = tick() % 5 / 5
            stroke.Color = Color3.fromHSV(hue, 1, 1)
            task.wait()
        end
    end)
end

--// 1. Movable Logo
local LogoBtn = Instance.new("ImageButton")
LogoBtn.Parent = ScreenGui
LogoBtn.Size = UDim2.new(0, 50, 0, 50)
LogoBtn.Position = UDim2.new(0.1, 0, 0.5, -25)
LogoBtn.BackgroundColor3 = Color3.fromRGB(15, 15, 15)
LogoBtn.Image = "rbxassetid://6331515291"
LogoBtn.BorderSizePixel = 0
Instance.new("UICorner", LogoBtn).CornerRadius = UDim.new(0, 25)
CreateRainbowStroke(LogoBtn)
MakeDraggable(LogoBtn)

--// Main Frame
local MainFrame = Instance.new("Frame")
MainFrame.Parent = ScreenGui
MainFrame.BackgroundColor3 = Color3.fromRGB(15, 15, 15)
MainFrame.Position = UDim2.new(0.5, -90, 0.5, -130)
MainFrame.Size = UDim2.new(0, 180, 0, 260)
MainFrame.Visible = false
Instance.new("UICorner", MainFrame).CornerRadius = UDim.new(0, 10)
CreateRainbowStroke(MainFrame)
MakeDraggable(MainFrame)

LogoBtn.MouseButton1Click:Connect(function()
    MainFrame.Visible = not MainFrame.Visible
end)

local Title = Instance.new("TextLabel", MainFrame)
Title.BackgroundTransparency = 1
Title.Size = UDim2.new(1, 0, 0, 35)
Title.Text = "Deflect_Hub"
Title.TextColor3 = Color3.new(1, 1, 1)
Title.Font = Enum.Font.GothamBold
Title.TextSize = 13

--// Buttons Helper
local function StyleBtn(text, pos, color)
    local btn = Instance.new("TextButton", MainFrame)
    btn.Text = text
    btn.Size = UDim2.new(0.9, 0, 0, 35)
    btn.Position = pos
    btn.BackgroundColor3 = color or Color3.fromRGB(30, 30, 30)
    btn.TextColor3 = Color3.new(1, 1, 1)
    btn.Font = Enum.Font.GothamBold
    btn.TextSize = 10
    Instance.new("UICorner", btn).CornerRadius = UDim.new(0, 8)
    return btn
end

--// Features Logic
local autoDeflect = false

local OneClickBtn = StyleBtn("ฤŸลธโ€บยกรฏยธย 1-CLICK DEFLECT", UDim2.new(0.05, 0, 0.18, 0))
local AutoDeflectBtn = StyleBtn("ฤŸลธยคโ€“ AUTO DEFLECT: OFF", UDim2.new(0.05, 0, 0.36, 0))
local VIPBtn = StyleBtn("ฤŸลธโ€™ยบ GET VIP SEAT", UDim2.new(0.05, 0, 0.54, 0))
local DestroyBtn = StyleBtn("DESTROY UI", UDim2.new(0.05, 0, 0.8, 0), Color3.fromRGB(150, 0, 0))

-- 1. Deflect (1 Click Mode)
OneClickBtn.MouseButton1Click:Connect(function()
    if DeflectRemote then
        DeflectRemote:FireServer("Deflect")
    end
end)

-- 2. Deflect (Auto Mode Loop)
AutoDeflectBtn.MouseButton1Click:Connect(function()
    autoDeflect = not autoDeflect
    AutoDeflectBtn.Text = autoDeflect and "ฤŸลธยคโ€“ AUTO DEFLECT: ON" or "ฤŸลธยคโ€“ AUTO DEFLECT: OFF"
    AutoDeflectBtn.BackgroundColor3 = autoDeflect and Color3.fromRGB(0, 150, 0) or Color3.fromRGB(30, 30, 30)
    
    if autoDeflect then
        task.spawn(function()
            while autoDeflect do
                if DeflectRemote then
                    DeflectRemote:FireServer("Deflect")
                end
                task.wait(0.01) -- Fast loop for deflecting
            end
        end)
    end
end)

-- 3. Get VIP Seat (Teleport)
VIPBtn.MouseButton1Click:Connect(function()
    local char = LocalPlayer.Character
    local hrp = char and char:FindFirstChild("HumanoidRootPart")
    if hrp then
        hrp.CFrame = CFrame.new(51.0, 3.0, 69.0)
    end
end)

-- 4. Destroy
DestroyBtn.MouseButton1Click:Connect(function()
    autoDeflect = false
    ScreenGui:Destroy()
end)
๐ŸŽฎ Similar Scripts
๐Ÿ’ฌ Comments (0)
Login to post a comment
No comments yet. Be the first!
Script Info
Game Predict the Shot
TypeKeyless
Authoralexriderr
Views18
Likes0
PublishedMar 29, 2026
๐ŸŽฎ Play Game on Roblox
๐Ÿ• Recent Scripts
SZA Script Keyless – Auto Shoot
SZA Script Keyless – Auto Shoot
Survive Zombie Arena โ€ข ๐Ÿ‘ 2
Keyless
The SCP Elevator Script | Regen Coil, Fast Coil
The SCP Elevator Script | Regen Coil, Fast Coil
The SCP Elevator โ€ข ๐Ÿ‘ 3
Keyless
Cat Piece Script by Kaito Hub | Weapons and Combat Features
Cat Piece Script by Kaito Hub | Weapons and Combat Features
Cat Piece โ€ข ๐Ÿ‘ 14
Keyless
Forest Grind inf wood and money
Forest Grind inf wood and money
Forest Grind โ€ข ๐Ÿ‘ 11
Keyless
Valnce Hub Blade Ball Script
Valnce Hub Blade Ball Script
Blade Ball โ€ข ๐Ÿ‘ 10
Keyless