Universal Script ๐Ÿ“Œ
3.5k Views
543 Executions

ProximityPrompt and ClickDetector Firer

Universal Script ๐Ÿ“Œ
POOIPOOP
POOIPOOPPublished 10
2 years ago
Get an executor
Please login to perform these actions:

Does it work?

No reports yet

No reports yet. Tried it? Be the first to say.

Also noticed:

Description

gui that shows the nearest prox prompts or cd near you and you can fire it (buttons: use/ method/ loop) idk if this works

View Raw
--[[
	WARNING: Heads up! This script has not been verified by ScriptBlox. Use at your own risk!
]]
-- Services
local Players          = game:GetService("Players")
local RunService       = game:GetService("RunService")
local UserInputService = game:GetService("UserInputService")

-- Player & Character
local LocalPlayer = Players.LocalPlayer
local character   = LocalPlayer.Character or LocalPlayer.CharacterAdded:Wait()

-- R15/R6 fallback for HumanoidRootPart
local function resolveHRP(char)
    return char:FindFirstChild("HumanoidRootPart")
        or char:FindFirstChild("UpperTorso")
        or char:FindFirstChild("Torso")
end

local hrp = resolveHRP(character)

-- Configuration (editable via GUI)
local SCAN_RADIUS    = 15
local PROX_RADIUS    = 15
local INSTANT_METHOD = false
local AUTO_FIRE      = false
local TOGGLE_KEY     = Enum.KeyCode.RightControl

-- Helper: find world position of any interactable
local function getInteractablePosition(obj)
    if obj:IsA("BasePart") then
        return obj.Position
    end
    local part = obj:FindFirstAncestorWhichIsA("BasePart")
    if part then
        return part.Position
    end
    local mdl = obj:FindFirstAncestorWhichIsA("Model")
    if mdl then
        if mdl.PrimaryPart then


Comments

2
Log in to join the conversation. Login
POOIPOOP's profile picture
POOIPOOPUploader2 years ago

... i want your script to be used by everyone

1
tweety's profile picture
tweety2 years ago

yo bro can you add fire nearest click detector script is so good

1

More universal scripts

See all
Script hub
202.3k
2.3M
Bumped 16 minutes ago
Key System

Script hub

#20 this week

Verified script badgeAirflow HUB

Universal Script ๐Ÿ“Œ
57.4k
270.0k
Bumped 2 hours ago
Key System
Script hub
2.2M
2.5M
Bumped 6 hours ago
Key System
Script hub
4.0M
2.7M
Bumped 6 hours ago

Script hub

Hall of Fame #5

KeylessVerified script badge[KEYLESS] Moondiety Script | 30+ supported Games

Script hub
576
2.6k
Bumped 7 hours ago