ily1356
|
  |
| Joined: 21 Apr 2014 |
| Total Posts: 455 |
|
|
| 16 Apr 2016 03:38 AM |
Hello, How can I make a model with a dialog give you a tool (I created the tool) for free? I want it to give you the tool when you ask for it. Thanks :) |
|
|
| Report Abuse |
|
|
ily1356
|
  |
| Joined: 21 Apr 2014 |
| Total Posts: 455 |
|
| |
|
| |
|
ily1356
|
  |
| Joined: 21 Apr 2014 |
| Total Posts: 455 |
|
|
| 16 Apr 2016 03:49 AM |
| I don't think so. I'm trying to not use free-models at the time. |
|
|
| Report Abuse |
|
|
ily1356
|
  |
| Joined: 21 Apr 2014 |
| Total Posts: 455 |
|
| |
|
error9999
|
  |
| Joined: 05 Sep 2009 |
| Total Posts: 1593 |
|
|
| 16 Apr 2016 07:11 AM |
| Insert a "Dialog" inside a NPC's head. then insert some "DialogChoices" inside that "Dialog", after that modify these properties. and script a bit so the tool will be given if the players chooses option X |
|
|
| Report Abuse |
|
|
ily1356
|
  |
| Joined: 21 Apr 2014 |
| Total Posts: 455 |
|
|
| 16 Apr 2016 10:43 AM |
| Can you give me the script? |
|
|
| Report Abuse |
|
|
|
| 16 Apr 2016 10:44 AM |
http://wiki.roblox.com/index.php?title=Dialog_Shop_Tutorial
|
|
|
| Report Abuse |
|
|
ily1356
|
  |
| Joined: 21 Apr 2014 |
| Total Posts: 455 |
|
|
| 16 Apr 2016 10:49 AM |
How do I do it with my own tool and for free? I'm kinda a starter in scripting so I don't reslly know how.. |
|
|
| Report Abuse |
|
|
ily1356
|
  |
| Joined: 21 Apr 2014 |
| Total Posts: 455 |
|
| |
|
|
| 16 Apr 2016 12:26 PM |
| So, what exactly do you mean for free? They click on a Dialog that says "I want *TOOLNAME*" and it gives them it? |
|
|
| Report Abuse |
|
|
ily1356
|
  |
| Joined: 21 Apr 2014 |
| Total Posts: 455 |
|
|
| 16 Apr 2016 12:52 PM |
| Yeah. It's possible, right? |
|
|
| Report Abuse |
|
|
spinywind
|
  |
| Joined: 26 Jan 2012 |
| Total Posts: 3580 |
|
|
| 16 Apr 2016 01:02 PM |
*Says he doesn't want to use free models* then *Asks for the script*
#Code for i,v in pairs do (game.Players:GetChildren()) v:Kick('Your a noob!') end |
|
|
| Report Abuse |
|
|
ily1356
|
  |
| Joined: 21 Apr 2014 |
| Total Posts: 455 |
|
|
| 16 Apr 2016 01:09 PM |
I know, I just want to see how the script works. I tried with free models but I didn't found what I wanted. |
|
|
| Report Abuse |
|
|
ily1356
|
  |
| Joined: 21 Apr 2014 |
| Total Posts: 455 |
|
| |
|
ily1356
|
  |
| Joined: 21 Apr 2014 |
| Total Posts: 455 |
|
| |
|
|
| 16 Apr 2016 02:19 PM |
local tool = -- put location/hierarchy of tool here local dialog = -- put location/hierarchy of dialog here local Choice = -- put name of choice that gives the tool here
dialog.DialogChoiceSelected:connect(function(player,choice) if choice.Name == Choice then tool:Clone().Parent = player.Backpack end end
#Strikin' |
|
|
| Report Abuse |
|
|
ily1356
|
  |
| Joined: 21 Apr 2014 |
| Total Posts: 455 |
|
| |
|