Basically, I want my gun to shoot, but it refuses to! There are no errors too.
01 | local Humanoid = game.Players.LocalPlayer.Character:WaitForChild( "Humanoid" ) |
02 | local Tool = script.Parent |
03 | local Animation = nil |
04 | local SettingsFolder = Tool.Settings |
05 | local MagSize = SettingsFolder.MagSize |
06 | local MagsLeft = SettingsFolder.MagsLeft |
07 | local CurrentBullets = SettingsFolder.CurrentBullets |
08 | local Damage = SettingsFolder.Damage |
09 | local MouseDown = false |
10 | local IsReloading = false |
11 | local IsEquipped = false |
12 | local CanShoot = true |
13 | local Mouse = game.Players.LocalPlayer:GetMouse() |
14 |
15 | Tool.Equipped:Connect( function () |
game.Players.LocalPlayer.Character:WaitForChild("Humano
Second line,maybe you didnt write "Humanoid" well