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
 

Re: House Furnishing Script

Previous Thread :: Next Thread 
minecraftjien is not online. minecraftjien
Joined: 06 Jan 2013
Total Posts: 22
13 Aug 2016 06:20 AM
I need ideas of how i can make a script that gives the ability to place models on the player's house. I need this so i can implement the feature so players can place furniture they buy in their home. Just like on "work at a pizza place" or "The Plaza".
Can someone kindly post a script, or maybe tell me what I should use to do this?
Report Abuse
JoshRBX is not online. JoshRBX
Joined: 19 May 2012
Total Posts: 8778
13 Aug 2016 06:31 AM
You could keep the available items in the ServerStorage.

For example:

money = 500
item1Cost = 499
ItemName = item1

function buyItem1Clicked()
if item1Cost =< money then
A = game.ServerStorage[itemName]:Clone()
A.Parent = game.Workspace
money = money - item1Cost
print(itemName.." successfully purchased. Player now has "..money.."$ remaining.")
end
end

script.Parent.MouseButton1Click:connect(buyItem1Clicked)
Report Abuse
minecraftjien is not online. minecraftjien
Joined: 06 Jan 2013
Total Posts: 22
13 Aug 2016 07:10 AM
I already have the buying script done. What i need is a script that places the furniture that the player buys. And the furniture would be placed wherever the player wants to, in his house. Thanks in advance.
Report Abuse
minecraftjien is not online. minecraftjien
Joined: 06 Jan 2013
Total Posts: 22
14 Aug 2016 12:00 AM
can someone reply?!?!!
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