local Player = game.Players.LocalPlayer
local char = Player.Character or Player.CharacterAdded:wait()
repeat wait() until char:FindFirstChild("Humanoid")
local human = char.Humanoid
local remoteEvent = game.ReplicatedStorage:WaitForChild("TakeDown")
human.Died:Connect(function()
remoteEvent:FireServer(Player)
end)
Oh, that’s the issue then. You are using a BindableEvent.
Bindable events don’t replicate the server and client. They are used to provide communication between the scripts which are the same kind.
Replace it with a RemoteEvent and include what I said before.
local Player = game.Players.LocalPlayer
local char = Player.Character or Player.CharacterAdded:Wait()
repeat wait() until char:FindFirstChild("Humanoid")
local human = char.Humanoid
local remoteEvent = game.ReplicatedStorage:WaitForChild("TakeDown")
human.Died:Connect(function()
remoteEvent:FireServer()
end)
Ah, also you forgot to capitalize the first letter of the wait function.