of     1   

Rostrum
#140976059Sunday, July 20, 2014 8:01 PM GMT

I know almost nothing about scripting and I need help equipping tools without a Backpack. I disabled the Backpack CoreGUI so you can't see it, therefore not letting tools put into StarterPack show up. And that's what I want. The only problem is, I need a weapon ALREADY EQUIPPED every time you spawn. Like, in-hand and ready to shoot. If that's not even possible, (I honestly don't know), is there a way to equip a weapon on the press of a button? (e.g. pressing Q equips it) If you can even perform either of these, where would you put the weapon? You can't put it in StarterPack, so... Would you put it in Lighting or something? I need help.
Rostrum
#140976280Sunday, July 20, 2014 8:03 PM GMT

I should probably mention this too: Once the weapon is equipped, (whether on spawn or press of a button) it doesn't show up on the bottom of the screen. It doesn't have a ToolTip or a name that's visible. The only way you're able to recognize if the gun is in-hand is when you see it show up on the right side of your screen. Also, the game is in First Person Lock. I'm sure that doesn't really effect anything but I'm going to throw it out there anyway.
[rfa#hidefromsearch]
#140976574Sunday, July 20, 2014 8:06 PM GMT

[rfa#hidefromsearch]
computerchris
#140976643Sunday, July 20, 2014 8:07 PM GMT

Ok, going to assume you are wanting to have weapon equipped on spawn? Tools have a property of Equipped.. :D Not sure if it can be accessed through a script, but it's "Tool.Equipped" So, the base of your script would be local tool = game.Lighting.Tool game.Players.PlayerAdded:connect(function(newPlayer) newPlayer.CharacterAdded:connect(function(char) --Connect when player respawns. tool2 = tool:Clone() tool2.Parent = newPlayer:FindFirstChild("Backpack") tool2.Equipped = true end) end) Not sure if this would work, but that's approximately how it should look.
[rfa#hidefromsearch]
#140976738Sunday, July 20, 2014 8:08 PM GMT

[rfa#hidefromsearch]
computerchris
#140976801Sunday, July 20, 2014 8:09 PM GMT

Phyclops: That wouldn't work because you are making the parent of the weapon as the character... Not in the players backpack.. When the player doesn't have anything in the backpack it cannot be equipped... The only way to not have a backpack visible is through disabling the coregui, afaik you can't delete the backpack itself.
computerchris
#140976855Sunday, July 20, 2014 8:10 PM GMT

Granted I'm also not familiar with using tools. ;) So if I'm wrong, disreguard everything i have said.
[rfa#hidefromsearch]
#140976944Sunday, July 20, 2014 8:11 PM GMT

[rfa#hidefromsearch]
Rostrum
#140977120Sunday, July 20, 2014 8:13 PM GMT

@Phyclops But the gun has multiple scripts in multiple categories Do I put all of them there? If so, how would it even seperate them? I'm a confused person and I honestly feel kind of stupid right now. get the shotgun, i'll handle this
computerchris
#140977137Sunday, July 20, 2014 8:13 PM GMT

Like i said, not familiar and taking a guess.. :D I know very basics of scripting, and can make almost anything happen.
Rostrum
#140977591Sunday, July 20, 2014 8:18 PM GMT

Theres tons of scripts in the gun: Local_M16 WeldScript RecoilCount BrickCleanup BrickCleanup2 + You get the point. Which one do I put inside that script? get the shotgun, i'll handle this
Rostrum
#140978116Sunday, July 20, 2014 8:25 PM GMT

^^ get the shotgun, i'll handle this
[rfa#hidefromsearch]
#140978445Sunday, July 20, 2014 8:29 PM GMT

[rfa#hidefromsearch]
Rostrum
#141000970Monday, July 21, 2014 12:26 AM GMT

oh... get the shotgun, i'll handle this
sincostanpitheta
#141001100Monday, July 21, 2014 12:28 AM GMT

Easy, use the starter pack folder for all tools! no backpack needed.
SenseiWarrior
#141001321Monday, July 21, 2014 12:30 AM GMT

humanoid:EquipTool(tool)
sincostanpitheta
#141001366Monday, July 21, 2014 12:31 AM GMT

It's so easy t equip weapons without a backpack!
Rostrum
#141049412Monday, July 21, 2014 12:18 PM GMT

So, I put that script and the name of the gun where it needed to go in the script in ServerScriptService Now, where do I put the M16 tool? I tried in SeverScriptService and it didn't work. I tried in Workspace and it didn't work And in Starterpack and it didn't work Where do I put the M16? get the shotgun, i'll handle this

    of     1