![]() Local reloading = false - Variable to check if we are currently reloading Local sound = tool:WaitForChild( “Gunfire”) Local mouse = player:GetMouse() - Getting the mouse Local player = game:GetService( “Players”).LocalPlayer - Getting the player Local tool = script.Parent - Getting the tool Local Script, which goes inside the tool If game.Workspace:FindFirstChild( “Torso”) then - R6 If game.Workspace:FindFirstChild( “LowerTorso”) then - R15 Local reloadAnim = :LoadAnimation(animation) :Connect( function(player,animation)įor i,v in pairs(game.Workspace:GetChildren()) do ![]() Local newAnim = :LoadAnimation(animation) Local humanoid = part.Parent:FindFirstChild( “Humanoid”) ReplicatedStorage.Headshot:FireClient(player) :Connect( function(player,tool,position,part) Local replicatedStorage = game:GetService( “ReplicatedStorage”) Local serverStorage = game:GetService( “ServerStorage”)
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |