of     1   

robloxboy54
#103031914Thursday, June 27, 2013 3:41 PM GMT

c=game.Workspace.trov:clone() c.Parent=game.StarterPack Why isn't it showing up?
robloxboy54
#103032165Thursday, June 27, 2013 3:44 PM GMT

Hello? BUMP*
rosenburger
#103032379Thursday, June 27, 2013 3:46 PM GMT

Place your tool in lighting then use this script and make your tool named "trov" I guess. game.Players.PlayerAdded:connect(function(plr) plr.CharacterAdded:wait() if plr.Character then game.Lighting.trov:clone().Parent = plr.Backpack end end) ʟᴇʟᴇʟᴇʟ (ง'̀ ͜ʖ'́ง)
rosenburger
#103032452Thursday, June 27, 2013 3:46 PM GMT

What I just scripted is exactly what would happen when you just put the tool in starterpack and not even use any scripts. ʟᴇʟᴇʟᴇʟ (ง'̀ ͜ʖ'́ง)
IAmReallyAwesome
#103032570Thursday, June 27, 2013 3:47 PM GMT

When you reset, does it show up? Just putting it into the game.StarterPack will make it available to all characters when they respawn. If you want to give it to only one player, you need to put it into the Player's backpack. This can be done easily by using a touch function. script.Parent.Touched:connect(function(hit) t = game.Workspace.trov:clone() t.Parent = game.Players:GetPlayerFromCharacter(hit.Parent).Backpack end) I believe that would work.
IAmReallyAwesome
#103033036Thursday, June 27, 2013 3:52 PM GMT

Actually it would be: script.Parent.Touched:connect(function(hit) t = game.Workspace.trov:clone() --(I'd recommend putting trov into Lighting instead) local player = game.Players:GetPlayerFromCharacter(hit.Parent) if not Player then return end t.Parent = player.Backpack end)
rosenburger
#103033589Thursday, June 27, 2013 3:57 PM GMT

t = game.Workspace.trov:clone() t.Parent = game.Players:GetPlayerFromCharacter(hit.Parent).Backpack That can be shortened since it won't be needed access later on, I'm assuming. workspace.trov:clone().Parent = blaghblahblah ʟᴇʟᴇʟᴇʟ (ง'̀ ͜ʖ'́ง)
IAmReallyAwesome
#103037002Thursday, June 27, 2013 4:30 PM GMT

Acutally, it is needed to check that a character is touching, and not something else (such as a hat or a tool). In fact, the script should really be: script.Parent.Touched:connect(function(hit) local player = game.Players:GetPlayerFromCharacter(hit.Parent) if not Player then return end t = game.Workspace.trov:clone() --(I'd recommend putting trov into Lighting instead)t.Parent = player.Backpack end) If a tool or hat touches the part, this way the script won't glitch out.
IAmReallyAwesome
#103037132Thursday, June 27, 2013 4:31 PM GMT

Gah, a line ran together XD script.Parent.Touched:connect(function(hit) local player = game.Players:GetPlayerFromCharacter(hit.Parent) if not Player then return end t = game.Workspace.trov:clone() --(I'd recommend putting trov into Lighting instead) t.Parent = player.Backpack end)
TheWebsiteEngineer
#103037784Thursday, June 27, 2013 4:37 PM GMT

c = game.Lighting.trov:clone().Parent = game.Players.LocalPlayer.StarterGear --you may have to change StarterGear to Backpack --By IceyWind
TheWebsiteEngineer
#103037865Thursday, June 27, 2013 4:38 PM GMT

Guys, he wants the players to SPAWN with the weapons/tools, not touch a brick to get them. ~IceyWind

    of     1