Universal Script 📌
218 Views
14 Executions

Controller pro Nullvector

Universal Script 📌
Nullvector
NullvectorFirst script
10 months 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

None

View Raw
--// Custom Animation Controller Pro (Som de Caminhada + Som de Dormir)
local Players = game:GetService("Players")
local RunService = game:GetService("RunService")
local UserInputService = game:GetService("UserInputService")
local TweenService = game:GetService("TweenService")

local player = Players.LocalPlayer
local lastActivity = tick()
local isAfk = false
local canDash = true
local isDashing = false

--// IDs DE ANIMAÇÃO E SOM
local ANIMS_DATA = {
    Idle = "rbxassetid://72134715166180",    
    Walk = "rbxassetid://114722309053999",   
    AfkLoop = "rbxassetid://105410450070122", 
    Dash = "rbxassetid://522635514",         
}

local SOUND_DORMIR = "rbxassetid://114376757380093" -- Menu Theme
local SOUND_WALK   = "rbxassetid://596046130"       -- Flying Sound FX
local SOUND_NORMAL = "rbxassetid://1836935697"      -- Test Facility

local humanoid, animator, rootPart
local tracks = {}
local sfxDormir, sfxWalk, sfxNormal

--// SETUP DE PERSONAGEM E SONS
local function setupCharacter(char)
    humanoid = char:WaitForChild("Humanoid")
    animator = humanoid:WaitForChild("Animator")
    rootPart = char:WaitForChild("HumanoidRootPart")

    -- Criar os objetos de som
    local function createSound(id, name, looped)
        local s = Instance.new("Sound", rootPart)
        s.Name = name
        s.SoundId = id
        s.Looped = looped


Comments

1
Log in to join the conversation. Login
aabysstiigeerq's profile picture
aabysstiigeerq10 months ago

w

1

More universal scripts

See all
Script hub
33.1k
298.2k
Bumped 2 hours ago
Script hub
23.6k
5.2k
Bumped 2 hours ago
Key System
Paid
High Quality Offering
Universal Script 📌
213
596
Bumped 2 hours ago
Universal Script 📌
1.6k
30.3k
Bumped 2 hours ago
Script hub
4.1M
558.8k
Bumped 3 hours ago
Key System

Script hub

Hall of Fame #3

Verified script badgeOverflow 35 Supported Games

Script hub
5.5k
29.1k
Bumped 3 hours ago
Key System
Script hub
14.0k
28.6k
Bumped 5 hours ago