local qws = false
local mouse = game.Players.LocalPlayer:GetMouse()
script.Parent.Activated:Connect(function()
while qws == false do
local i = Instance.new("Part")
i.Material = Enum.Material.Granite
i.Parent = workspace
i.Size = Vector3.new(1.38, 0.59, 0.4)
i.Position = script.Parent.Handle.Position
local s = Instance.new("BodyVelocity",i)
s.MaxForce = Vector3.new(math.huge,math.huge,math.huge)
s.Velocity = mouse.Hit.LookVector *200
wait()
end
end)
script.Parent.Deactivated:Connect(function()
--mouse.Button1Up:Connect(function()
qws = false
end)
COMMUNITY QUESTION
i am trying to make a gun aouto fire but it wont stop how do i fix?
0 answers
No public answers were preserved for this question.
This discussion is preserved as it was. New answers, comments, and votes are closed.
