Howdy!
I want to play an animation while a balloon is equipped. I don’t want the animation to play on the ground when the balloon is equipped but when they are in the air.
I’ve tried changing the Roblox default jump animation but came across a problem.
The problem was that the jump’s animation Id was called !ID! and I couldn’t call that in the script. The !ID! would be underlined red because there is an exclamation mark and I don’t quite know how to come around that.
local tool = script.Parent
tool.Equipped:Connect(function()
game.Players.LocalPlayer.Character.Animate.jump.!ID!.AnimationId = "rbxassetid//8876152240"
end)
tool.Unequipped:Connect(function()
game.Players.LocalPlayer.Character.Animate.jump.!ID!.AnimationId = "http://www.roblox.com/asset/?id=782847020" --default id
end)
I’ve tried looking around Devforum but couldn’t quite find a solution that fitted my scenario.
Here is a visual from Natural disasters as to what I want to achieve.
Thanks!