2/11/2024 0 Comments Gun script robloxLocal Players = game:GetService("Players") Local ReplicatedStorage = game:GetService("ReplicatedStorage") Local ContextActionService = game:GetService("ContextActionService") I learnt all of these from the tutorial made by Roblox on the developer hub website.ĬLIENT local UserInputService = game:GetService("UserInputService") The way on how I did this is by doing checks on the server side including the player’s laser gun’s bullet count, reload state and accuracy. The only challenging part is my take on making it more secure so that it is harder for exploiters to take advantage and mess up the settings of the laser gun. This laser gun has a starting bullet of 5 bullets, each shot delay is 1 second, and you must reload by pressing “R” on your keyboard. These last few days I’ve spent a good amount of work and time to make this laser gun tool. I just got back into Roblox programming after a long hiatus.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |