![]() ![]() The crash will inevitably happen and only within a minute or so. Sometimes it’ll crash the first time the animation plays, other times it might have to play a couple dozen times to crash. The crash isn’t super consistent between individual crashes. Instead, it plays but randomly crashes Roblox. I expect the animation to play and fire both events once. Here’s a repro save file that contains everything I’ve described here: It may crash instantly the moment the animation is played, or it may take a minute or two, but eventually, this animation will crash the game when played. ![]() Save the file so you don’t have to re-do this and then press F5 or click Play Solo. Local humanoid : Humanoid = Tool.Parent:FindFirstChildOfClass("Humanoid") Local fireAnimation = Instance.new("Animation") local Tool = script:FindFirstAncestorOfClass("Tool") Local fireTrack = humanoid:LoadAnimation(fireAnimation):Play(0)Īlternatively, you could place a LocalScipt in a tool and run the code within the loop in the activate function instead so you can click to crash the game. Local humanoid : Humanoid = script.Parent:WaitForChild("Humanoid") Place the following code in a LocalScript within StarterPlayer.StarterCharacterScripts: local fireAnimation = Instance.new("Animation")įireAnimation.AnimationId = "rbxassetid://10436236672" Here’s some code for playing the animation. Here’s the animation I used if you just want to import it to your own Animation Editor: CRASHING_ANIMATION - Roblox The game will crash after playing it once or a few times. Publish this to Roblox and then play the animation on a character. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |