I am running a command to test the animations in a module, I have to press ctrl+R to reload the module when making changes, however I keep accidentally pressing it in the command bar instead and this is instantly crashing studio.
the command itself isn’t anything crazy
local SkillTreeFunctions = require(workspace.SkillTreeFunctions)
local Icon1 = workspace.BasicNode
local Icon2 = workspace.Start
local Icon3 = workspace.Buzzsaw
local sine = 0
for i = 1,1600 do
local dt = task.wait()
sine += dt*60
local s = sine+Icon1.Position.Magnitude
SkillTreeFunctions.IconAnimations.BasicNode(Icon1,sine,dt)
local s = sine+Icon2.Position.Magnitude
SkillTreeFunctions.IconAnimations.Start(Icon2,sine,dt)
local s = sine+Icon3.Position.Magnitude
SkillTreeFunctions.IconAnimations.Buzzsaw(Icon3,sine,dt)
end
Beta Features:
Live Animation Creator
MaterialVarient Alpha Mode
Scene Analysis
Solid Modeling On Meshes
Upgraded UIGradients
Video Uploads
Expected behavior
This of course should not crash studio, it could maybe reload any module required by the command but really I just want it to stop crashing ![]()