
2.1k Views
99 Executions
OiHub v3
Universal Script 📌
crazyx0910First script
1 year ago
Please login to perform these actions:Does it work?
No reports yetNo reports yet. Tried it? Be the first to say.
Also noticed:
Description
Script para todos os jogos
Updates
Script edited: Update script
Script edited: Update script
-- Key: "Link in discord" ; GetKey => copia DiscordLink
-- =========================
-- CONFIG
-- =========================
local KEY = "OiHub_Key10"
local DiscordLink = "https://discord.gg/EYSvDJGc"
-- =========================
-- SERVICES & REFS
-- =========================
local Players = game:GetService("Players")
local RunService = game:GetService("RunService")
local UserInputService = game:GetService("UserInputService")
local StarterGui = game:GetService("StarterGui")
local Workspace = game:GetService("Workspace")
local player = Players.LocalPlayer
local playerGui = player:WaitForChild("PlayerGui")
-- character refs (updated on respawn)
local character = player.Character or player.CharacterAdded:Wait()
local humanoid = character:FindFirstChildOfClass("Humanoid")
local hrp = character:FindFirstChild("HumanoidRootPart")
local function refreshCharacter()
character = player.Character
if character then
humanoid = character:FindFirstChildOfClass("Humanoid") or character:WaitForChild("Humanoid",10)
hrp = character:FindFirstChild("HumanoidRootPart") or character:WaitForChild("HumanoidRootPart",10)
else
humanoid, hrp = nil, nil
end
end
refreshCharacter()
player.CharacterAdded:Connect(function()
refreshCharacter()
end)
-- =========================
Comments
0Log in to join the conversation. Login
No comments yet. Be the first!







