Hello,
I’ve discovered a bug. So, I’ve made a jointed tool (uses BodyAttach & Motor6D, not Handle), and currently it is the only one that has animations using curve-animations.
Every time I equip the tool, it would either close my Roblox App, or kick me with the error code 277 (lost connection). However, there are some odds:
- It does not happen in Studio simulation, but it does in real-time game.
- There is a VERY small chance it won’t happen, but that can happen again when re-equipping.
Here’s the tool.Equipped
thread in a LocalScript:
tool.Equipped:Connect(function(mouse)
grip = Instance.new("Motor6D")
grip.Name = "ToolGrip"
grip.Parent = char["Right Arm"]
grip.Part0 = char["Right Arm"]
grip.Part1 = tool.BodyAttach
RStorage.WeaponRemotes.GripWeld:FireServer(tool, grip, true, "Right Arm", tool.BodyAttach)
isEquipped = true
canShoot = true
local animator:Animator = char.Humanoid:FindFirstChild("Animator")
IDLE = animator:LoadAnimation(script.Idle) --<<-- HIGHLIGHT
IDLE:Play()
speedOri = char.Humanoid.WalkSpeed
char.Humanoid.WalkSpeed = speedOri - 0.5
char.Humanoid.AutoRotate = false
MOUSE_ = mouse
MOUSE_.TargetFilter = workspace.MouseIgnore
MOUSE_.Icon = "rbxasset://textures/GunCursor.png"
ammoGui = script.AmmoGui:Clone()
ammoGui.Parent = game.Players.LocalPlayer.PlayerGui
end)
This bug started happening about 4 days ago, and I am sure there was an app update. I have tried searching forum topics with the same issue, but found none. My guess is, this has something to do with curve-animations? Or maybe the script itself?? This has to be fixed.
Thank you for reading