This is in a local script and the thing that is weird is that.. This script is working my a friends game but not mine, everything is exactly the same!
local Player = game.Players.LocalPlayer
local Mouse = Player:GetMouse()
local Cow = game.Workspace.Cow
Mouse.Button1Down:connect (function()
if Mouse.Target.Name == 'Cow' then
for i,v in pairs(Cow:GetChildren()) do
if v:FindFirstChild('Fire') then
v:FindFirstChild('Fire'):remove()
end
end
end
end)
