local g_replicatedstorage = game:GetService("ReplicatedStorage")
local g_keybinds = require(g_replicatedstorage.rs_Main.m_Modules.mod_keybinds)
local g_plr = game:GetService("Players").LocalPlayer
local UserInputService = game:GetService("UserInputService")
local sc_keybind = script.Parent.Keybind
local function SendKeybindToServer()
end
sc_keybind.Changed:Connect(function()
sc_keybind.Text = sc_keybind.Text:sub(1, 1)
end)
local function Keybind(input)
if input.UserInputType == Enum.KeyCode[sc_keybind.Text] then
SendKeybindToServer()
end
end
UserInputService:Connect(Keybind)
script.Parent.Activated:Connect(SendKeybindToServer)
Om dit project op uw website in te sluiten, kopieer de volgende code en plak deze in de HTML van uw website: