I tried using a normal script instead of a local script but I keep getting errors like "this is not a valid member of model" my code was originally in a localscript but when i move it to a normal script I get the errors. my script is down.
local plr = game.Players.LocalPlayer
local char = plr.Character
local mouse = plr:GetMouse()
local tool = script.Parent
local event = game.ReplicatedStorage:WaitForChild("RemoteEvent")
tool.Activated:Connect(function()
local hit = mouse.Hit
Event:FireServer(Hit)
end)
should I get rid of the local in front of my variables?

2 comments
Please explain more, like what path did you use on the normal script? Your questions might get moderated if you do not provide enough info. Providing a script also helps.
k