Hi, so I have a normal script inside of an NPC/rig and I want that script to fire a remote event So that my quest GUIs value on the screen will change to 1 and I really need help with this.When ever I try and fire a remote event it says that I need a player function when I have the function connected to the player funtion.Yet any other script works like if I want to print Hi.
Normal script:
local Humanoid = script.Parent.Humanoid
local event = game.ReplicatedStorage:WaitForChild("Human1")
Humanoid.Died:Connect(function(player)
event:FireClient(player)
end)
Human one is The name for my remote event

2 comments
Is the script inside a player or an NPC?
It is inside of the NPC