generic image
Processing...
  • Games
  • Catalog
  • Develop
  • Robux
  • Search in Players
  • Search in Games
  • Search in Catalog
  • Search in Groups
  • Search in Library
  • Log In
  • Sign Up
  • Games
  • Catalog
  • Develop
  • Robux
   
ROBLOX Forum » Game Creation and Development » Scripters
Home Search
 

HELP

Previous Thread :: Next Thread 
cooldrewbie is not online. cooldrewbie
Joined: 26 Jun 2010
Total Posts: 2498
10 Jan 2015 11:43 AM
How do make it where once you buy something from the shop you keep it forever.
Report Abuse
ohno1112 is not online. ohno1112
Joined: 23 Mar 2013
Total Posts: 833
10 Jan 2015 11:44 AM
you script.
Report Abuse
Fakecake777 is not online. Fakecake777
Joined: 19 Nov 2012
Total Posts: 441
10 Jan 2015 11:45 AM
Search for DataStores on the wiki.
Report Abuse
cooldrewbie is not online. cooldrewbie
Joined: 26 Jun 2010
Total Posts: 2498
10 Jan 2015 11:53 AM
ok....
Report Abuse
cooldrewbie is not online. cooldrewbie
Joined: 26 Jun 2010
Total Posts: 2498
10 Jan 2015 12:04 PM
this is what I have




local wm = Instance.new("Model")
wm.Name = "Weaps"

function give(weap, player)

for _, w in ipairs(player.Weaps:GetChildren()) do
if w.Name == weap.Name then return end
end

for _, w in ipairs(game.StarterPack:GetChildren()) do
if w.Name == weap.Name then return end
end

weap:clone().Parent = player.Weaps
end

game.Players.ChildAdded:connect(function(p)
wm:clone().Parent = p
wait()
p.Character.ChildAdded:connect(function(wep)
if wep.className == "Tool" then
give(wep, p)
end
end)
p.Changed:connect(function(pr)
if pr == "Character" then
for _, w in ipairs(p.Weaps:GetChildren()) do
w:clone().Parent = p.Backpack
end
p.Character.ChildAdded:connect(function(wep)
if wep.className == "Tool" then
give(wep, p)
end
end)
end
end)
p.Backpack.ChildAdded:connect(function(h)
if h.className == "HopperBin" then
give(h, p)
end
end)
end)
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripters
   
 
   
  • About Us
  • Jobs
  • Blog
  • Parents
  • Help
  • Terms
  • Privacy

©2017 Roblox Corporation. Roblox, the Roblox logo, Robux, Bloxy, and Powering Imagination are among our registered and unregistered trademarks in the U.S. and other countries.



Progress
Starting Roblox...
Connecting to Players...
R R

Roblox is now loading. Get ready to play!

R R

You're moments away from getting into the game!

Click here for help

Check Remember my choice and click Launch Application in the dialog box above to join games faster in the future!

Gameplay sponsored by:
Loading 0% - Starting game...
Get more with Builders Club! Join Builders Club
Choose Your Avatar
I have an account
generic image