LocalScript not firing event

What I want to achieve is that the wings appear after death, The problem is that when you die the event does not work
In the output appears to be no errors

Well my script what it does is look for a folder in the workspce with the player’s name and inside the player’s name another string where the value is the wings

The LocalScript is located in StarterCharacterScripts


local Humanoid = script.Parent:WaitForChild("Humanoid")
local player = game.Players.LocalPlayer.Name

local RPS = game:GetService("ReplicatedStorage")
local EventsWings = RPS.EventsWings

--Wings Events
local WingsChocolate = game.ReplicatedStorage.EventsWings:FindFirstChild("WingsChocolate")
local WingaPink = game.ReplicatedStorage.EventsWings:FindFirstChild("WingsPink")

	local NamePlr = game.Workspace.WingsSettings:FindFirstChild(player)
	if NamePlr.WingsValue.Value == "ChocolateWings" then
	elseif NamePlr.WingasValue.Value == "WingasPink" then
1 Like

What happens on the server script that listens for this event? Does the event get passed?

What happends on the ServerScript is that it makes the wings and put it into the player i tested to fire the event on a gui and it seems to work but this local script doesnt fire the event. :frowning:

I think you’re doing FireServer too fast before the player is respawned

1 Like

So now i have no errors and the fire event is with a delay but still doesnt work

1 Like