the local script
local Player = game.Players.LocalPlayer
local mouse = Player:GetMouse()
local T = script.Parent
local handle = T:WaitForChild('Handle')
local debounce = false
local RemoteEvent = script.Parent.RemoteEvent
T.Activated:Connect(function()
local H = T.Parent:FindFirstChildWhichIsA("Humanoid")
if H and debounce ~= false then
debounce = true
local position = mouse.Hit.Position
T.RemoteEvent:FireServer(position)
wait(2)
debounce = false
end
end)
idk whats wrong so please help.
