How to make a working gun in lua code code example
Example 1: How to make a working gun in lua code
local gun = game.ReplicatedStorage.gun
local firerate = 1
local damage = 10
local bullet = game.ReplicatedStorage.Bullet
local speed = 200
if LeftButton1Click then
bullet.Velocity = speed
Example 2: How to make a working gun in lua code
local zombie = game.replicatedStorage.Zombie
zombie:(clone)
zombie
end