"FireWall is not a valid member of RemoteEvent"

Hello, I’m following another script tutorial but the script won’t work and the output said the following. I don’t know how to fix it so please help,

local RepStore = game:GetService(“ReplicatedStorage”)
local DeleteLarry = RepStore:WaitForChild(“DeleteLarry”)
local UIS = game:GetService(“UserInputService”)
local Larry = game.Workspace.Larry

UIS.InputBegan:Connect(function(input)
if input.KeyCode == Enum.KeyCode.P then
print(“P Key Pressed”)
DeleteLarry:FireWall(Larry)
end
end)

DeleteLarry is a remote event right? If so, do you mean ‘Event:FireServer’?

Yes it’s an event and after changing it to FireServer it works!! But what’s the difference between FireWall and FireServer?

i dont think firewall is a thing for events

2 Likes

FireWall is not a function for remotes, call FireServer instead.

1 Like