콘텐츠로 건너뛰기
작동 중General

R15->R6 using new UGC anim packs

FLFluffyBlox685 조회수Universal2026년 7월 24일
공유
R15->R6 using new UGC anim packs

스크립트 코드

Lua
local Players = game:GetService("Players")
local player = Players.LocalPlayer

local ANIMATIONS = {
	idle1 = "rbxassetid://85735421117197",
	idle2 = "rbxassetid://136463789054516",

	walk = "rbxassetid://140409718187215",
	run = "rbxassetid://118375157537412",
	jump = "rbxassetid://132381016103721",
	fall = "rbxassetid://77496925287217",
	climb = "rbxassetid://86318575131600",

	swim = "rbxassetid://95599821412670",
	swimidle = "rbxassetid://132170981486619",
}

local function setWeight(anim, weight)
	local weightValue = anim:FindFirstChild("Weight")
	if not weightValue then
		weightValue = Instance.new("NumberValue")
		weightValue.Name = "Weight"
		weightValue.Parent = anim
	end

	weightValue.Value = weight
end

local function applyAnimations(character)
	local animate = character:WaitForChild("Animate", 10)
	if not animate then
		warn("Animate script not found.")
		return
	end

	-- IDLE
	local idleFolder = animate:FindFirstChild("idle")
	if idleFolder then
		local idleAnimations = {}

		for _, child in ipairs(idleFolder:GetChildren()) do
			if child:IsA("Animation") then
				table.insert(idleAnimations, child)
			end
		end

		if idleAnimations[1] then
			idleAnimations[1].AnimationId = ANIMATIONS.idle1
			setWeight(idleAnimations[1], 7) -- primary idle
		end

		if idleAnimations[2] then
			idleAnimations[2].AnimationId = ANIMATIONS.idle2
			setWeight(idleAnimations[2], 3) -- occasional idle
		end
	end

	-- WALK
	if animate:FindFirstChild("walk") and animate.walk:FindFirstChild("WalkAnim") then
		animate.walk.WalkAnim.AnimationId = ANIMATIONS.walk
	end

	-- RUN
	if animate:FindFirstChild("run") and animate.run:FindFirstChild("RunAnim") then
		animate.run.RunAnim.AnimationId = ANIMATIONS.run
	end

	-- JUMP
	if animate:FindFirstChild("jump") and animate.jump:FindFirstChild("JumpAnim") then
		animate.jump.JumpAnim.AnimationId = ANIMATIONS.jump
	end

	-- FALL
	if animate:FindFirstChild("fall") and animate.fall:FindFirstChild("FallAnim") then
		animate.fall.FallAnim.AnimationId = ANIMATIONS.fall
	end

	-- CLIMB
	if animate:FindFirstChild("climb") and animate.climb:FindFirstChild("ClimbAnim") then
		animate.climb.ClimbAnim.AnimationId = ANIMATIONS.climb
	end

	-- SWIM MOVING
	if animate:FindFirstChild("swim") and animate.swim:FindFirstChild("Swim") then
		animate.swim.Swim.AnimationId = ANIMATIONS.swim
	end

	-- SWIM IDLE
	if animate:FindFirstChild("swimidle") and animate.swimidle:FindFirstChild("SwimIdle") then
		animate.swimidle.SwimIdle.AnimationId = ANIMATIONS.swimidle
	end

	print("Animations applied.")
end

local function onCharacter(character)
	task.wait(1)
	applyAnimations(character)
end

if player.Character then
	onCharacter(player.Character)
end

player.CharacterAdded:Connect(onCharacter)

설명

can also do /e dance & 1,2 and 3

댓글 (0)

대화에 참여하려면 로그인하세요

  • 첫 댓글을 작성하세요.

자주 묻는 질문

R15->R6 using new UGC anim packs 스크립트는 어떻게 사용하나요?
위의 스크립트 코드를 복사하고 Roblox에서 Universal에 접속한 뒤, 익스큐터에 붙여넣고 실행하세요. 스크립트가 실행되면 기능이 바로 활성화됩니다.
R15->R6 using new UGC anim packs은(는) 아직 작동하나요?
네 — R15->R6 using new UGC anim packs은(는) 현재 작동 중으로 표시되어 있습니다(마지막 업데이트: 2026년 9월 18일). Roblox 업데이트 후 작동하지 않으면 새 버전을 기다려 주세요.
R15->R6 using new UGC anim packs에 호환되는 엑시큐터는?
이 스크립트는 대부분의 인기 Roblox 엑시큐터에서 작동합니다. 기기에 맞는 신뢰할 수 있는 무료 또는 유료 엑시큐터를 찾으려면 엑시큐터 페이지를 확인하세요.