add fireproximityprompt and touchinterest functions
Key RequiredUniversal

add fireproximityprompt and touchinterest functions

Universal Scriptasyran310810asyran310810 5.1K views 79 executesUpdated Jan 28, 2025
Unrated
00
Lua Script•30 lines (845 chars)
local function fireproximityprompt(Obj, Amount, Skip)
    if Obj.ClassName == "ProximityPrompt" then 
        Amount = Amount or 1
        local PromptTime = Obj.HoldDuration
        if Skip then 
            Obj.HoldDuration = 0
        end
        for i = 1, Amount do 
            Obj:InputHoldBegin()
            if not Skip then 
                wait(Obj.HoldDuration)
            end
            Obj:InputHoldEnd()
        end
        Obj.HoldDuration = PromptTime
    else 
        error("userdata<ProximityPrompt> expected")
    end
end

local function firetouchinterest(totouch, whattotouchwith,nilvalue)
    pcall(function()
        local clone = totouch:Clone()
        local orgpos = totouch.CFrame
        totouch.CFrame = whattotouchwith.CFrame
        wait(0.5)
        totouch.CFrame = orgpos
        clone:Destroy()
    end)
end

Features & Information

adds the fireproximityprompt() and firetouchinterest() function (firetouchinterest doesnt need a 3rd value and its solara supported) make sure to put on the top of your scripts
#more unc#touchinterest#fire#proximity prompt

Community Comments (2)

WesdWesdJan 28, 2025(edited)

thoes who actually know how to code

anonymous09711eanonymous09711eFeb 6, 2025(edited)

ffr

More Scripts for Universal Scripts