Lewati ke konten
BerfungsiGeneral

R15->R6 using new UGC anim packs

FLFluffyBlox685 tayanganUniversal24 Jul 2026
Bagikan
R15->R6 using new UGC anim packs

Kode Script

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)

Deskripsi

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

Komentar (0)

Masuk untuk ikut berdiskusi

  • Jadilah yang pertama berkomentar.

Pertanyaan yang sering diajukan

Bagaimana cara menggunakan script R15->R6 using new UGC anim packs?
Salin kode script di atas, masuk ke Universal di Roblox, lalu tempel dan jalankan kodenya di executor kamu. Fiturnya langsung aktif begitu script berjalan.
Apakah R15->R6 using new UGC anim packs masih berfungsi?
Ya — R15->R6 using new UGC anim packs saat ini ditandai berfungsi (terakhir diperbarui 18 Sep 2026). Jika rusak setelah update Roblox, cek kembali untuk versi terbaru.
Executor mana yang kompatibel dengan R15->R6 using new UGC anim packs?
Script ini bekerja dengan sebagian besar executor Roblox populer. Lihat halaman executor kami untuk menemukan executor gratis atau berbayar yang tepercaya untuk perangkat Anda.