Hi, I have a bindable event that fires whenever a player has killed someone with a knife, this script works as its should but I am having some problems with firing the bindable event.
Also, basically this bindable event is just transferring two players names from one script to another.
--Knife script
kill = hit.Parent.Humanoid.Died:connect(function()
print("Player has died")
game:GetService("ServerStorage").KilledPlr:Fire(script.Parent.Parent.Parent.Name,hit.Parent.Name)
wait(2)
kill:disconnect()
end)
And yes, it prints "Player has died" but it does not fire the bindable event.
Here is the other server script recieving the bindable event.
local bindable = game:GetService("ServerStorage").KilledPlr
bindable.Event:Connect(function(plrname,plrkilled)
print("Event fired")
game:GetService("ServerStorage").DiedScreen.Main.KilledBy.Text = "You have been killed by "..plrname.."!"
game:GetService("ServerStorage").DiedScreen:Clone().Parent = game:GetService("Players")[plrkilled].PlayerGui
wait(3)
game:GetService("Players")[plrkilled].PlayerGui.DiedScreen:Destroy()
end)
Basically the "Event" function doesnt run. This is really frustrating and I hope someone can help.
Additional info: Bindable event is stored in serverstorage.
Thanks!

6 comments
at least say what type of scripts they are
They are both server scripts, bindable events only use server scripts. Think before you comment bro.
Bindable events also work on the client. I personally use them and they function perfectly on the client.
bindable events are for server to server and client to client communication @iladoga
Did you make sure that both scripts are enabled?
Use a remoteevent instead.