Does anyone here know how to make a gun with a model? I just cant seem to get it working!
Does anyone here know how to make a gun? Note that I am not using a tool and that it is a model that is welded to the players hand.
If you do know the please do tell me.
Thanks.
:D
Btw here's what I've done so far with my script
01 | local Player = game.Players.LocalPlayer |
02 | local Chara = Player.Character |
03 | local Mouse = Player:GetMouse() |
04 | local Reloading = false |
05 | local FireEvent = script.Parent.FireEvent |
08 | if Reloading = = true then |
14 | local Ammo = script.Parent.Ammo |
15 | local MaxAmmo = script.Parent.MaxAmmo |
16 | local Sound = script.Parent.Handle 1. Reload |
17 | if Ammo.Value < MaxAmmo.Value then |
22 | Ammo.Value = MaxAmmo.Value |
31 | local Ammo = script.Parent.Ammo |
32 | local MaxAmmo = script.Parent.MaxAmmo |
33 | if Ammo.Value = = 0 then |
37 | FireEvent:FireServer(Aim) |
40 | local Sound = script.Parent.Handle 1. Fire |
44 | Mouse.KeyDown:connect( function (Key) |
50 | Mouse.Button 1 Down:connect( function (mou) |