Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR LUA

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
 
PREVIOUS NEXT
Tagged: #How #working #gun #lua #code
ADD COMMENT
Topic
Name
3+3 =