Universal Script 📌
63 Views
4 Executions

FE R15 to R6 animations

Universal Script 📌
dnezero
dnezero10 followers
4 days ago · Updated

Reviewed by QueueSpeedDemonPaid revieweron How review works

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

This script makes your rig look like R6, it doesn't actually change your rig to R6, but it changes its animations to R6, making it look like the actual R6 rig. R6, R15 TO R6, RIG 6, RIG 15, R15, RIG CHANGER

View Raw
-- hello from dnezero :3

local plr = game:GetService("Players").LocalPlayer

function RunCustomAnimation(Char)
	if Char:WaitForChild("Humanoid").RigType == Enum.HumanoidRigType.R6 then
		return
	end
	
	if Char:WaitForChild("Animate") ~= nil then
		Char.Animate.Disabled = true
	end

	for i,v in next, Char.Humanoid:GetPlayingAnimationTracks() do
		v:Stop()
	end

	--fake script
	local script = Char.Animate

	local Character = Char
	local Humanoid = Character:WaitForChild("Humanoid")
	local pose = "Standing"

	local UserGameSettings = UserSettings():GetService("UserGameSettings")

	local userNoUpdateOnLoopSuccess, userNoUpdateOnLoopValue = pcall(function() return UserSettings():IsUserFeatureEnabled("UserNoUpdateOnLoop") end)
	local userNoUpdateOnLoop = userNoUpdateOnLoopSuccess and userNoUpdateOnLoopValue

	local AnimationSpeedDampeningObject = script:FindFirstChild("ScaleDampeningPercent")
	local HumanoidHipHeight = 2

	local humanoidSpeed = 0 -- speed most recently sent to us from onRunning()
	local cachedRunningSpeed = 0 -- The most recent speed used to compute blends.  Tiny variations from cachedRunningSpeed will not cause animation updates.
	local cachedLocalDirection = {x=0.0, y=0.0} -- unit 2D object space direction of motion
	local smallButNotZero = 0.0001 -- We want weights to be small but not so small the animation stops
	local runBlendtime = 0.2
	local lastLookVector = Vector3.new(0.0, 0.0, 0.0) -- used to track whether rootPart orientation is changing.
	local lastBlendTime = 0 -- The last time we blended velocities
	local WALK_SPEED = 6.4


Comments

0
Log in to join the conversation. Login
No comments yet. Be the first!

Tags

More universal scripts

See all
Script hub
7
0
Approved 3 minutes ago
Key System

Script hub

Void Hub

Universal Script 📌
24
4
Approved 33 minutes ago
Universal Script 📌
3.3k
1.8k
Bumped 1 hour ago
Universal Script 📌
67
14
Approved 2 hours ago