I have a test character with a Humanoid in it and a script that sets its Died connection and then later sets its Health to 0. It works as I would expect it to when I Play it from the website (https://www.roblox.com/games/510932128/Humanoid-Died-Test) but not locally in Studio, no matter whether I Play, Run, or Start a client-server test.
This is the script -
error(“Happy days!! Or are they?” )
local testConnection = script.Parent.Humanoid.Died:connect( funkyfunky )
if testConnection.Connected then
error(“testConnection NOT connected”)
script.Parent.Humanoid.Health = -100
I would expect this script to error out with the message “Happy days!! Or are they?” and it does when I Play it from the website, but not from Studio.
I started noticing this bug just yesterday (4/6/2017), but that doesn’t necessarily mean anything - it was only then that I started working with the Died signal.
For me, it’s 100% reproducible.