My RemoteEvent is not firing from inside my tool and I can’t seem to figure out why.
LocalScript inside tool: (yes, the for loop outputs the file hierarchy correctly as well)
local Tool = script.Parent
local Players = game:GetService("Players")
local player = Players.LocalPlayer
local ReplicatedStorage = game:GetService("ReplicatedStorage")
Tool.Activated:Connect(function()
print("Working")
--[[for _, item in pairs(ReplicatedStorage.Remote:GetChildren()) do
if item.Name == "Attack" then
print(item)
else
print("Nope")
end
end]]
ReplicatedStorage.Remote.Attack:FireServer()
print("Sent")
end)