Server Script:
function thisFunction(Player,Part)
if Player and Part then
return "Player "..Player.Name.." made "..Part.Name
end
end
game.ReplicatedStorage.RemoteFunction.OnServerInvoke = thisfunction
Local Script:
local Event = game.ReplicatedStorage.RemoteFunction
local Plr = game.Players.LocalPlayer
game.Workspace.ChildAdded:Connect(function(child)
if child:IsA("BasePart") and child.Name == "Add" then
local InvokeThing = Event:InvokeServer(child.Name)
print(InvokeThing)
end
console: prints nil

