Include a standalone, bare-bones rbxl file with only the code you want reviewed.
- Code Review is for reviewing specific parts of your code, and not your whole game.
- Code Review is intended for improving already-working code. If you need help debugging your code, please use Scripting Support.
Provide an overview of:
- What does the code do and what are you not satisfied with?
- What potential improvements have you considered?
- How (specifically) do you want to improve the code?
-- This is an example Lua code block
Cannon.CanCollide = false
local Weld = Instance.new("Weld")
Weld.Parent = Cannon
Weld.Part0 = RightHand
Weld.Part1 = Cannon
Cannon.CFrame = CFrame.lookAt(Cannon.Position,Vector3.new(0,5,0 ))
I want to Make it look at the mouse position in the 2nd argument but dont know how