Universal Script ๐Ÿ“Œ
214 Views
11 Executions

Controller pro Nullvector

Universal Script ๐Ÿ“Œ
Nullvector
NullvectorFirst script
9 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
aabysstiigeerq9 months ago

w

1