Script hub
4.4k Views
529 Executions

OBJ ANIM CONTROLLER

Script hub
zyablicevalexei
zyablicevalexei10K executions
4 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

you can control objects and make them like a player moving

Supported games 1

Build A Boat For Treasure

All scripts

YOU CAN CONTROL NOT ANCHORED OBJ

Works in: Build A Boat For Treasure

View Raw
-- Full Physical Motion Mirroring (9 Limbs: Knees & Elbows Included) ---

local Players = game:GetService("Players")
local RunService = game:GetService("RunService")
local CoreGui = game:GetService("CoreGui")

local LocalPlayer = Players.LocalPlayer
local Mouse = LocalPlayer:GetMouse()
local Character = LocalPlayer.Character or LocalPlayer.CharacterAdded:Wait()

-- Таблица для хранения привязанных объектов (добавлено 4 новых сустава)
local AttachedObjects = {
    Torso         = {Part = nil, R15 = "UpperTorso",    R6 = "Torso"},
    -- Верхние части рук (Плечи)
    LeftArm       = {Part = nil, R15 = "LeftUpperArm",  R6 = "Left Arm"},
    RightArm      = {Part = nil, R15 = "RightUpperArm", R6 = "Right Arm"},
    -- Нижние части рук (Предплечья / Локти)
    LeftLowerArm  = {Part = nil, R15 = "LeftLowerArm",   R6 = "Left Arm"},
    RightLowerArm = {Part = nil, R15 = "RightLowerArm",  R6 = "Right Arm"},
    -- Верхние части ног (Бёдра)
    LeftLeg       = {Part = nil, R15 = "LeftUpperLeg",  R6 = "Left Leg"},
    RightLeg      = {Part = nil, R15 = "RightUpperLeg", R6 = "Right Leg"},
    -- Нижние части ног (Голени / Колени)
    LeftLowerLeg  = {Part = nil, R15 = "LeftLowerLeg",   R6 = "Left Leg"},
    RightLowerLeg = {Part = nil, R15 = "RightLowerLeg",  R6 = "Right Leg"}
}

-- Ссылка на GUI для обновления текста статуса
local StatusLabels = {}

-- Функция поиска правильной кости персонажа в зависимости от R15 / R6
local function GetCharacterLimb(limbData)
    if Character:FindFirstChild("Humanoid") and Character.Humanoid.RigType == Enum.HumanoidRigType.R6 then
        return Character:FindFirstChild(limbData.R6)
    else
        return Character:FindFirstChild(limbData.R15)
    end
end

--- ========================================== ---


Comments

4
Log in to join the conversation. Login
toastifatality59's profile picture
toastifatality591 week ago

peakest script on build a boat THANK YOU for making it open source

1
AkaD4ha's profile picture
AkaD4ha1 month ago

is this visual or its ss cuz too good

1
toastifatality59's profile picture
toastifatality591 week ago

@AkaD4ha not visual and its open source i love it so much i made a giant mech that can dance on it own with its own pathfinding through editing the script such peak

1
AkaD4ha's profile picture
AkaD4ha1 month ago

W script

1

Tags

Other Scripts

Universal Script 📌
24
0
Approved 14 minutes ago
Backdoored map
19
1
Approved 16 minutes ago
🎃 The Forge [Guilds]
19
0
Approved 20 minutes ago
Key System
Universal Script 📌
30
7
Approved 36 minutes ago
[Malcriada] The Block
13
0
Approved 38 minutes ago