so i made a script that works perfectly fine, up until the point that it is supposed to call the mouse to position the effects.
Dupe.CFrame = CFrame.new(Dupe.Position, Vector3.new(mouse.Hit.p.x,mouse.Hit.p.y,mouse.Hit.p.z)) local ray = Ray.new(Dupe.CFrame.p, (mouse.Hit.p - Dupe.CFrame.p).unit * 300) local part, position = workspace:FindPartOnRay(ray, player.Character, false, true)
Normally that works for me just fine, but it doesnt now.
Am i doing it wrong or is it just because its filtering enabled.
Just so you know, the way it gets the mouse is this:
Local Script
local plrmouse = player:GetMouse() game.ReplicatedStorage.Test:FireServer(plrmouse)
Server Script
game.ReplicatedStorage.Test.OnServerEvent:Connect(function(player, plrmouse)