Skip to content

Instantly share code, notes, and snippets.

View ImXirvin's full-sized avatar
🥚
why read documentation when you can debug

Xirvin ImXirvin

🥚
why read documentation when you can debug
View GitHub Profile
@ImXirvin
ImXirvin / checker.lua
Created December 28, 2022 10:56
CFX Standalone Version Checker
CreateThread(function()
--version check with github latest version
PerformHttpRequest(
"https://raw.githubusercontent.com/[User]/[Repo]/main/fxmanifest.lua",
function(err, text, headers)
if err ~= 200 then
return
end
local version = GetResourceMetadata(GetCurrentResourceName(), "version")
local latestVersion = string.match(text, '%sversion \"(.-)\"')
@ImXirvin
ImXirvin / MovemenController.lua
Created May 15, 2024 00:41
Movement Controller for Roblox
local RunService = game:GetService("RunService")
local ContextActionService = game:GetService("ContextActionService")
local ReplicatedStorage = game:GetService("ReplicatedStorage")
local Controllers = ReplicatedStorage:WaitForChild("Controllers")
local HUDController = require(Controllers.Character.HUDController)
-- Constants
local HEAD_HORIZONTAL_FACTOR = 1
local HEAD_VERTICAL_FACTOR = 0.6
local BODY_HORIZONTAL_FACTOR = 0.5