Not really sure why this is happening. any fixes?
Local Script
local Item = game.ReplicatedStorage.Placeables.landmine
local mouse = game.Players.LocalPlayer:GetMouse()
local player = game.Players.LocalPlayer
script.Parent.Equipped:Connect(function()
local Place = Item:Clone()
Place.Parent = workspace
local main = Place.Main
mouse.Move:Connect(function()
main:PivotTo(CFrame.new(mouse.Hit.p))
end)
script.Parent.Unequipped:Connect(function()
Place:Destroy()
end)
script.Parent.Activated:Connect(function()
script.Parent.Place:FireServer(Item, mouse.Hit.p)
Place:Destroy()
script.Parent:Destroy()
end)
end)