Hello,
I suppose my question is a bit self-explanatory. Not sure why I get this error, nor what is wrong with my script. Help is appreciated!
local repStorage = game:GetService("ReplicatedStorage") local plankRemote = repStorage:WaitForChild("plankRemote") local planksTrigger = game.Workspace.FallingPlanks.PlankTrigger planksTrigger.Touched:Connect(function(hit) local player = hit.Parent:FindFirstChild("Humanoid") if player then print("touched") plankRemote:FireClient(game.Player:GetPlayerFromCharacter(player)) end end)