Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

Event c1 doesn't connect once my character dies, what might be the problem?

Asked by 9 years ago
01function fStateIdle()
02    if lhumanoid then
03        if lhumanoid:GetState() == Enum.HumanoidStateType.Freefall then
04            info.state = "Falling"
05        elseif info.state == "Fighting" or (info.state == "Dead" and lhumanoid.Health > 0) then
06            info.state = "Walking"
07            if shiftDown then
08                setSprint(true)
09            end
10        else
11            info.state = "Walking"
12        end
13        setAnimation(0.25*((swordData.aMultiplier+swordData.aMultiplier)/2),info.fState,swordData.moveSet.idle)
14        local c1
15        c1 = mouseEvent.Changed:connect(function()
View all 29 lines...
0
"disconnect() Can not be used anymore; prints an error message. Use RBXScriptConnection:disconnect() instead. Obsolete" Taken from wiki. http://wiki.roblox.com/index.php?title=RBXScriptSignal&redirect=no#Methods TheHospitalDev 1134 — 9y
0
Basically, "disconnect()" doesn't work TheHospitalDev 1134 — 9y

Answer this question