#how to make a tool that gives player old animations
1 messages · Page 1 of 1 (latest)
if you play an animation via the AnimationController it automaticly syncs it with the server
the script i found seems to just work off of default Animate altogether (its also called Animate itself)
idk if it uses animationcontroller
and what exactly cant you do right now?
tried making a tool that clones this Animate script from replicatedstorage into startercharacterscripts and upon use of the tool it just gives broken animations (none at all to be specific)
** You are now Level 2! **
what i cant do right now is get the animations to actually work lol
the animations work by themselves if already placed in startercharacterscripts but thats not what i want i want them to be triggered only by a tool
Wel this is how you do it:
Tool Enables -> overwrite the standard animations
Tool Disables -> sets the standard animations back
thats exactly what i tried doing :I
tried twice, one time, on use of the tool it literally did nothing
second time, the tool gave broken animations instead of the ones from the script
do you have a script you can show me
of the tool? sure
local ReplicatedStorage = game:GetService("ReplicatedStorage")
local AnimateScript = ReplicatedStorage:WaitForChild("Animate")
local function applyOldAnimations(character)
local oldAnimate = character:FindFirstChild("Animate")
if oldAnimate then
oldAnimate:Destroy()
end
local newAnimate = AnimateScript:Clone()
newAnimate.Parent = character
end
Tool.Equipped:Connect(function()
local player = game.Players:GetPlayerFromCharacter(Tool.Parent)
if not player then return end
local character = player.Character
if not character then return end
applyOldAnimations(character)
end)
what is in the new Animate script
took it from the toolbox unchanged
gtg for now
@chilly totem im back, any updates?