[https://gyazo.com/c207b5db9ccde45bf2f29cbbf335f4ef] --Picture of Console error Does anyone know the reason why char isn't being indexed correctly? Game is FilteringEnabled, but it didn't work when it wasn't either.
local Tool = script.Parent
local play = game.Players.LocalPlayer
local mouse = play:GetMouse()
local char = play.Character
local hum = char.Humanoid
local en = true
Tool.Activated:connect(function()
if not en then return end
en = false
Tool.RemoteEvent:FireServer(mouse.Hit)
wait(2)
en = true
end)

1 comment
Thank you so much, I also found out that putting everything as local when the Parent was already local messed things up.