Run it
Copy the script and paste it into your executor.
local Players = game:GetService("Players")
local player = Players.LocalPlayer
while true do
local character = player.Character or player.CharacterAdded:Wait()
local rootPart = character:WaitForChild("HumanoidRootPart")
local active = true
local characterRemovingConn = player.CharacterRemoving:Connect(function()
active = false
characterRemovingConn:Disconnect()
end)
while active do
for _, instance in ipairs(workspace:GetDescendants()) do
if instance:IsA("ProximityPrompt") then
local prompt = instance
local targetPart = prompt.Parent
targetPart targetPart:() rootPart rootPart.Parent
distance = (targetPart.Position - rootPart.Position).Magnitude
distance <= prompt.MaxActivationDistance
prompt:()
.(prompt.HoldDuration)
prompt:()
.()
You're able to fire nearby prompt.

Universal