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
 

NPC Shop (Pt.2)

Previous Thread :: Next Thread 
saka34 is not online. saka34
Joined: 11 Oct 2010
Total Posts: 369
27 Jul 2015 06:22 PM
I have a NPC that I'm working on. It was going along just fine and then I started tinkering around and now I can't get it to work!! It was supposed to give you a gun if you clicked one option, make you part a team if you did another option, and give you a cigar if you clicked the third option. Scripting help?
Report Abuse
GeoVolcano is not online. GeoVolcano
Joined: 05 Jul 2012
Total Posts: 1433
27 Jul 2015 06:24 PM
Take away the cigar.

Learn to script.

Don't use free models.

Don't mess with things you don't understand.

We can't help you unless you provide some code.

We won't help you because of the above reasons.
Report Abuse
saka34 is not online. saka34
Joined: 11 Oct 2010
Total Posts: 369
27 Jul 2015 06:33 PM
I know how to script. I just need help fixing my script. Notice the words (Pt.2). And also, I'm not even USING free models. Do research before you post so you don't look like a complete IDIOT.
Report Abuse
DevCreationWorld is not online. DevCreationWorld
Joined: 19 Jun 2015
Total Posts: 128
27 Jul 2015 06:49 PM
If ROBLOX dosen't allow alcohol, do they allow a cigar? I don't think so. You should remove it.
Report Abuse
saka34 is not online. saka34
Joined: 11 Oct 2010
Total Posts: 369
27 Jul 2015 07:01 PM
What do you mean??
Report Abuse
Drakonking10 is not online. Drakonking10
Joined: 01 Jul 2010
Total Posts: 216
27 Jul 2015 07:06 PM
Why are you being rude? We don't have to help you. However, with the information you gave, GeoVolcano was right. Just look at the first thing he said, I completely agree. Why do you have those in your game? I don't believe those are allowed on Roblox.
Report Abuse
saka34 is not online. saka34
Joined: 11 Oct 2010
Total Posts: 369
28 Jul 2015 08:33 AM
Firstly, he offended me deeply. And secondly, do you know where I can find the rules that say no alcohol. I'd like to read this over myself. Because I have played several games (and I do have in my game) alcohol and other things that may seem offensive. If you can please direct me to the rules then I will promptly remove the items.
Report Abuse
TheBenSquare is not online. TheBenSquare
Joined: 13 Dec 2009
Total Posts: 13604
28 Jul 2015 08:37 AM
https://en.help.roblox.com/hc/en-us/articles/203313410-ROBLOX-Rules-of-Conduct

Adult Content Section
Bullet #2
Report Abuse
saka34 is not online. saka34
Joined: 11 Oct 2010
Total Posts: 369
28 Jul 2015 08:40 AM
Ok, I read it and I will delete the references but... "Calling out others for bad behavior of any kind is not permitted on the forums " so... but I apologize anyways. So sorry.
Report Abuse
saka34 is not online. saka34
Joined: 11 Oct 2010
Total Posts: 369
28 Jul 2015 08:44 AM
local dialog = script.Parent
dialog.DialogChoiceSelected:connect(function(player, choice)
-- Check the player has a stats object
local stats = player:FindFirstChild('leaderstats')
if not stats then return end

-- And that the stats object contains a gold member
local money = stats:FindFirstChild('Money')
if not money then return end

if choice == script.Parent.DialogChoice.Xxxx then
if money.Value >= 20 then -- 20 is the amount of gold you need to purchase this weapon
game.ReplicatedStorage.Xxxx:Clone().Parent = player.Backpack
money.Value = money.Value - 20 -- subtract the amount of gold you need to purchase

elseif choice == dialog.DialogChoice.Wine then
if money.Value >= 30 then
game.ReplicatedStorage.Wine:Clone().Parent = player.Backpack
money.Value = money.Value - 30
end
elseif choice == dialog.DialogChoice.Bloxiade then
if money.Value >= 10 then
game.ReplicatedStorage.Bloxiade:Clone().Parent = player.Backpack
money.Value = money.Value - 10
end
end
end)


I found this at this link (http://wiki.roblox.com/index.php?title=Dialog_Shop_Tutorial). However, I can't seem to get this to work. Help, please.

That was one of my old posts but I still haven't received an answer. Does anybody know how to fix this code?
Report Abuse
saka34 is not online. saka34
Joined: 11 Oct 2010
Total Posts: 369
28 Jul 2015 10:40 AM
Does anyone know the script to make someone part of a team?
Report Abuse
saka34 is not online. saka34
Joined: 11 Oct 2010
Total Posts: 369
28 Jul 2015 03:05 PM
OR something similar?
Report Abuse
DeathsLASTwords is not online. DeathsLASTwords
Joined: 28 Jan 2012
Total Posts: 2701
28 Jul 2015 03:10 PM
Why would we help someone who is rude to everyone to TRIES to give you some useful information?

Do us a favor, and never post here again.


Print("Helping beginners, one post at a time!")
Report Abuse
saka34 is not online. saka34
Joined: 11 Oct 2010
Total Posts: 369
30 Jul 2015 07:45 AM
I have not been rude. I only got a little upset at the second post. You guys have been treating me poorly and so that's the same attitude I gave you.
Report Abuse
DeathsLASTwords is not online. DeathsLASTwords
Joined: 28 Jan 2012
Total Posts: 2701
30 Jul 2015 08:27 AM
We treated you fine. You didnt provide ANY code, youre literally just ASKING for us to make code for you, which we wont usually do without pay. Seriously, I dont want to argue, theres no point, your gonna sass me anyways on the next post.
Report Abuse
Barbariancreep is not online. Barbariancreep
Joined: 23 Nov 2012
Total Posts: 1096
30 Jul 2015 09:33 AM
Roblox is undergoing issues, if you have an error saying:

"This function is not yet available!"

Then you will have to wait until they fix that
Report Abuse
IoIiderp is not online. IoIiderp
Joined: 05 Feb 2012
Total Posts: 8613
30 Jul 2015 10:39 AM
Cigars are not allowed
Report Abuse
saka34 is not online. saka34
Joined: 11 Oct 2010
Total Posts: 369
31 Jul 2015 07:17 AM
I didn't provide any code?!! I did!! Just look up three posts from your original post.
Report Abuse
saka34 is not online. saka34
Joined: 11 Oct 2010
Total Posts: 369
31 Jul 2015 07:18 AM
Please just stop. Don't make false arguments against me.
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