I’m trying to achieve an accurate projectile that shoot’s toward your mouse. There’s no problem with the script but it doesn’t work how I want it to.
My Game:
External MediaMore Or Less Of What I’m Going For:
External MediaI’ve tried many things but I seems I can’t get it right!
Script:
--// My Projectile Script
--// The othervalue variable is apart of an event, and othervalue stands for the player's mouse.
local Nail = game.ReplicatedStorage.Effects.TuskNail:Clone()
Nail.Parent = workspace
Nail:SetNetworkOwner(nil) --// Set The Network Owner To The Server.
Nail.CFrame = plr.Character.HumanoidRootPart.CFrame
local BV = Instance.new("BodyVelocity")
BV.Parent = Nail
BV.P = 100000000
BV.MaxForce = Vector3.new(1,1,1) * 10000000
BV.Velocity = (OtherValue).LookVector * 150
game.Debris:AddItem(Nail,2)
If anyone could help that would be great.