Universal Script 📌
2.1k Views
99 Executions

OiHub v3

Universal Script 📌
crazyx0910
crazyx0910First script
1 year ago
Get an executor
Please login to perform these actions:

Does it work?

No reports yet

No reports yet. Tried it? Be the first to say.

Also noticed:

Description

Script para todos os jogos

Updates

  1. Script edited: Update script

  2. Script edited: Update script

View Raw
-- 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

0
Log in to join the conversation. Login
No comments yet. Be the first!

More universal scripts

See all
Script hub
33.1k
298.1k
Bumped 1 hour ago
Script hub
23.6k
5.2k
Bumped 1 hour ago
Key System
Paid
High Quality Offering
Universal Script 📌
194
556
Bumped 2 hours ago
Universal Script 📌
1.6k
30.3k
Bumped 2 hours ago
Script hub
4.1M
558.5k
Bumped 2 hours ago
Key System

Script hub

Hall of Fame #3

Verified script badgeOverflow 35 Supported Games

Script hub
5.5k
28.9k
Bumped 3 hours ago
Key System
Script hub
14.0k
28.5k
Bumped 4 hours ago