Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
1

My Keycode Bind code dosen't work? I got this answered before but it dosen't work! [closed]

Asked by 6 years ago
local assetID, MaxDistance, debounce = 02236125916, 25, false

function onKeyPress(inputObject, gameProcessedEvent) 
    if inputObject.Keycode == Enum.KeyCode.R and debounce == false then 
        debounce = true
        game:GetService("InsertService"):LoadAsset(02236125916).Parent = game.Workspace.Model
        while true do
            wait()
            if game:GetService("UserInputService").InputEnded then
                game.Workspace["BB GUI"].BillboardGUI.Enabled = false
                wait(1)
                break
            end
        end
    end
    debounce = false
end

game:GetService("UserInputService").InputBegan:connect(onKeyPress)

Also I asked this before and I got this "fixed" by someone.. ya it didn't work. Looking for someone to help me, thanks

Closed as Non-Descriptive by User#19524

This question has been closed because its title or content does not adequately describe the problem you are trying to solve.
Please ensure that your question pertains to your actual problem, rather than your attempted solution. That is, you were trying to solve problem X, and you thought solution Y would work, but instead of asking about X when you ran into trouble, you asked about Y.

Why was this question closed?