im basically making gae bolg (a spear weapon that u throw) from fate and i have a little problem the spear goes to the direction of the mouse but idrk how to make it properly aimable
heres the video (medal clip)
https://medal.tv/games/roblox-studio/clips/AicE2aNe26JmO/d1337ohMSeCh?invite=cr-MSxGb24sNjU0MzQwMDEs
heres the part of the script where i have the aiming system basically
GEvent.OnServerEvent:Connect(function(Player,mouseaim)
local Character = Player.Character
local Humanoid = Character.Humanoid
local Root = Character.HumanoidRootPart
local GaeBolgThrown = game.ReplicatedStorage.Objects.GaeBolgThrown:Clone()
GaeBolgThrown.CFrame = Tool.Handle.CFrame * CFrame.new(0,0,0)
GaeBolgThrown.Orientation = GaeBolgThrown.Orientation + Vector3.new(0,0,0)
GaeBolgThrown.Parent = workspace
local RootPos, MousePos = Root.Position, mouseaim
Root.CFrame = CFrame.new(RootPos, Vector3.new(MousePos.X, RootPos.Y, MousePos.Z))
local BV2 = Instance.new("BodyVelocity",GaeBolgThrown)
BV2.MaxForce = Vector3.new(math.huge,math.huge,math.huge)
BV2.Velocity = CFrame.new(Character.HumanoidRootPart.Position,mouseaim).LookVector*400
end)
