of     1   

swimmaster07
#183010237Friday, February 05, 2016 12:17 AM GMT

So right here I have this bullet script. What I want to happen is that when i shoot, the bullet, in this case the part named ball, I want the bullet to weld onto the handle. How would I do this? local player = game.Players.LocalPlayer local mouse = player:GetMouse() local tool = script.Parent local Handle = tool:WaitForChild("Handle") local sound = tool.Sound local debounce = false tool.Activated:connect(function() if debounce == false then debounce = true local ball = Instance.new("Part", Handle) ball.Anchored = true game.Debris:AddItem(ball, 2) ball.Shape = "Cylinder" ball.FormFactor = "Custom" ball.Size = Vector3.new(0.2, .2, .2) ball.BrickColor = BrickColor.new("Lily white") ball.CanCollide = false ball.CFrame = Handle.CFrame ball.CFrame = CFrame.new(ball.Position, mouse.hit.p) wait(1) debounce = false end end)
swimmaster07
#183013120Friday, February 05, 2016 1:05 AM GMT

b

    of     1