Alright so ive tried :
--[Functions]-- function RodClick() script.Parent.Parent.GripUp.X = CFrame.new(0,1,1.5) wait(1) script.Parent.Parent.GripUp.X = CFrame.new(0,1,0) end --[ script.Parent.MouseButton1Down:connect(Button1Down+RodClick)
I simply want to,Once the Left mouse button is clicked,I want it to run the RodClick() Function,Anybody help?
You only need to put the name of the function in the parentheses.
-- Functions function RodClick() script.Parent.Parent.GripUp.X = CFrame.new(0,1,1.5) wait(1) script.Parent.Parent.GripUp.X = CFrame.new(0,1,0) end script.Parent.MouseButton1Down:connect(RodClick) -- Button1Down isn't needed here.