I am trying to make this game where you get to throw erasers at people, and you have to hit the space bar or some key. The thing is I don't know a script that lets you throw objects. Please show me a script on this.
--This is not a request site--
But....
player = script.Parent.Parent mouse = player:GetMouse() mouse.KeyDown:connect(function(k) if k == "q" then v = Instance.new("Part", game.Workspace) v.Position = player.Character["Left Arm"].Position --Rest of code here I WILL NOT give full code but this will insert a brick when "q" is pressed end end)
You will have to put in localscript in starterpack for this to work