Dec1pher
|
  |
| Joined: 16 May 2015 |
| Total Posts: 35 |
|
|
| 18 May 2015 01:22 PM |
I want to make a house that's purchasable but I am completely clueless on how to. I was wonder if someone was available to possibly help me do this with a popup prompt to ask if they want to buy the house. |
|
|
| Report Abuse |
|
|
|
| 18 May 2015 01:23 PM |
Learn from here: http://www.roblox.com/Forum/ShowPost.aspx?PostID=162392490
Enjoying your stay at the Scripters Forum? Join this! http://www.roblox.com/My/Groups.aspx?gid=2582784
|
|
|
| Report Abuse |
|
|
|
| 18 May 2015 01:23 PM |
| Do you want the player to touch a part, and the GUI appear, or is it a GUI that, if pressed, pops up to ask? |
|
|
| Report Abuse |
|
|
Dec1pher
|
  |
| Joined: 16 May 2015 |
| Total Posts: 35 |
|
|
| 18 May 2015 01:27 PM |
I just need it to pop up asking if they want to buy the house. And with a yes or no. If yes, removes the required curreny, if no, closes the GUI. If player doesn't have enough, send a message.
But I am completely clueless on how to even make the whole house purchasable. |
|
|
| Report Abuse |
|
|
Dec1pher
|
  |
| Joined: 16 May 2015 |
| Total Posts: 35 |
|
|
| 18 May 2015 01:31 PM |
| Also, how do I make the leaderboard currency save for players? So when they join back it's the same? |
|
|
| Report Abuse |
|
|
vacha
|
  |
| Joined: 06 Jan 2011 |
| Total Posts: 1993 |
|
|
| 18 May 2015 01:33 PM |
@OP did you even read the first response?
while true do the do |
|
|
| Report Abuse |
|
|
Dec1pher
|
  |
| Joined: 16 May 2015 |
| Total Posts: 35 |
|
|
| 18 May 2015 01:41 PM |
Yes but I find learning from other people is easier. The tutorials to me teach you nothing but silliness. They teach you simple stuff like a message popping up.
It never teaches you what you really want to do. |
|
|
| Report Abuse |
|
|
9draco
|
  |
| Joined: 13 Nov 2010 |
| Total Posts: 5841 |
|
|
| 18 May 2015 01:42 PM |
| They give you the pieces, you put the pieces and complete the puzzle. :O |
|
|
| Report Abuse |
|
|
Dec1pher
|
  |
| Joined: 16 May 2015 |
| Total Posts: 35 |
|
|
| 18 May 2015 01:45 PM |
Idk, it just doesn't seem right to me. I've always tried reading tutorials, even for days but none help me. I just gain knowledge from other people. |
|
|
| Report Abuse |
|
|
9draco
|
  |
| Joined: 13 Nov 2010 |
| Total Posts: 5841 |
|
|
| 18 May 2015 01:46 PM |
| Look at "Peasfactory's" videos, I learned scripting from watching it. And Yes, they are helpful. |
|
|
| Report Abuse |
|
|
Dec1pher
|
  |
| Joined: 16 May 2015 |
| Total Posts: 35 |
|
|
| 18 May 2015 01:48 PM |
I will do that for sure. But in the mean time, do you think you can help me out? |
|
|
| Report Abuse |
|
|
9draco
|
  |
| Joined: 13 Nov 2010 |
| Total Posts: 5841 |
|
|
| 18 May 2015 01:48 PM |
| "Do you want the player to touch a part, and the GUI appear, or is it a GUI that, if pressed, pops up to ask?" [2] |
|
|
| Report Abuse |
|
|
Dec1pher
|
  |
| Joined: 16 May 2015 |
| Total Posts: 35 |
|
|
| 18 May 2015 01:50 PM |
I just need it to pop up asking if they want to buy the house. And with a yes or no. If yes, removes the required curreny, if no, closes the GUI. If player doesn't have enough, send a message.
But I am completely clueless on how to even make the whole house purchasable. |
|
|
| Report Abuse |
|
|
instawin
|
  |
| Joined: 04 Jun 2013 |
| Total Posts: 8777 |
|
|
| 18 May 2015 01:50 PM |
GUIs are quite advanced for a beginner. i would at least consider learning the basics of scripting, this guide will help you quite a bit: http://www.roblox.com/Forum/ShowPost.aspx?PostID=162392490
however, you can jump straight into guis with this guide (not recommended if you are a beginner):
http://wiki.roblox.com/index.php?title=Beginner%27s_GUI_Tutorial |
|
|
| Report Abuse |
|
|
instawin
|
  |
| Joined: 04 Jun 2013 |
| Total Posts: 8777 |
|
|
| 18 May 2015 01:53 PM |
and also this is what i would do to make a "purchasable" house:
put a string value inside of the house model
if for example, the player tries to touch the door to the house, and they don't own it, prompt a GUI to their screen.
if they say yes, deduct the currency from their leaderstats, and then close the GUI and then put their name inside of the string value, and only let the owner enter the house
if they say no, just simply close the GUI |
|
|
| Report Abuse |
|
|
Dec1pher
|
  |
| Joined: 16 May 2015 |
| Total Posts: 35 |
|
|
| 18 May 2015 01:53 PM |
Again I do not want to learn from tutorials. I want to learn from others if possible by just simply telling me straight out how to do it. Therefore, for next time I'll know. |
|
|
| Report Abuse |
|
|
instawin
|
  |
| Joined: 04 Jun 2013 |
| Total Posts: 8777 |
|
|
| 18 May 2015 01:55 PM |
"Again I do not want to learn from tutorials."
well, just saying, no one here is going to flat out make the script for you
we will debug it though/fix errors
and we can give advice on how to do what you want, and point you in the right direction |
|
|
| Report Abuse |
|
|
|
| 18 May 2015 01:56 PM |
Things in life don't just get handed to you, they'll come in brick-by-brick, and it's up to you to put it together. And that's why a tutorial is for.
Enjoying your stay at the Scripters Forum? Join this! http://www.roblox.com/My/Groups.aspx?gid=2582784 |
|
|
| Report Abuse |
|
|
vacha
|
  |
| Joined: 06 Jan 2011 |
| Total Posts: 1993 |
|
|
| 18 May 2015 02:12 PM |
wow! powerhotmail is on fire today "they'll come in brick-by-brick"
while true do the do |
|
|
| Report Abuse |
|
|
|
| 18 May 2015 02:15 PM |
^ e.e
Enjoying your stay at the Scripters Forum? Join this! http://www.roblox.com/My/Groups.aspx?gid=2582784
|
|
|
| Report Abuse |
|
|
SeanyBiy
|
  |
| Joined: 18 Jun 2010 |
| Total Posts: 9407 |
|
|
| 18 May 2015 02:53 PM |
| this sounds fun ima script this |
|
|
| Report Abuse |
|
|
|
| 18 May 2015 03:23 PM |
Lol, idea thief much?
Enjoying your stay at the Scripters Forum? Join this! http://www.roblox.com/My/Groups.aspx?gid=2582784 |
|
|
| Report Abuse |
|
|
SeanyBiy
|
  |
| Joined: 18 Jun 2010 |
| Total Posts: 9407 |
|
|
| 18 May 2015 04:54 PM |
| Just finished a GUI tutorial series yesterday and I'm making an RPG with my friend which we already planned to implement something like this :P, all in good practice hehe ;) |
|
|
| Report Abuse |
|
|