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: Dialogue Badge awarder

Previous Thread :: Next Thread 
drc3 is not online. drc3
Joined: 14 Aug 2009
Total Posts: 1284
19 Jun 2017 03:13 PM
For some reason this script no longer works with Filtering Enabled. Does anyone know why that is?

function check(Player, Choice)
if Choice.Name == "Badge" then
game:GetService("BadgeService"):AwardBadge(Player.userId, script.Parent.BadgeID.Value)
end
end

script.Parent.DialogChoiceSelected:connect(check)
Report Abuse
drc3 is not online. drc3
Joined: 14 Aug 2009
Total Posts: 1284
19 Jun 2017 03:22 PM
There is no error so I am not sure.
Report Abuse
Flubberlutsch is not online. Flubberlutsch
Joined: 27 Sep 2016
Total Posts: 188
19 Jun 2017 03:26 PM
Are you using a localscript?
Report Abuse
InfectCode is not online. InfectCode
Joined: 08 Dec 2013
Total Posts: 690
19 Jun 2017 03:29 PM
You need to use a script, not a local script.


Report Abuse
InfectCode is not online. InfectCode
Joined: 08 Dec 2013
Total Posts: 690
19 Jun 2017 03:29 PM
And if it's still not working, try debugging it.


Report Abuse
drc3 is not online. drc3
Joined: 14 Aug 2009
Total Posts: 1284
19 Jun 2017 03:37 PM
I am using a normal script in a dialogue option. Sorry, I should have said that before. It has something to do with the script not awarding the badge, but I don't know why it won't.
Report Abuse
Flubberlutsch is not online. Flubberlutsch
Joined: 27 Sep 2016
Total Posts: 188
19 Jun 2017 03:39 PM
Make sure your dialog choice is spelt Uppercase, "Badge" and make sure the script is not disabled lol
Report Abuse
drc3 is not online. drc3
Joined: 14 Aug 2009
Total Posts: 1284
19 Jun 2017 03:42 PM
It isn't disabled and it is named "Badge"
Report Abuse
drc3 is not online. drc3
Joined: 14 Aug 2009
Total Posts: 1284
20 Jun 2017 02:23 PM
?
Report Abuse
drc3 is not online. drc3
Joined: 14 Aug 2009
Total Posts: 1284
28 Jun 2017 09:29 PM
Anyone?
Report Abuse
drc3 is not online. drc3
Joined: 14 Aug 2009
Total Posts: 1284
17 Jul 2017 07:02 PM
Do I need to define Player or something?
Report Abuse
drc3 is not online. drc3
Joined: 14 Aug 2009
Total Posts: 1284
18 Jul 2017 03:26 AM
Guys?
Report Abuse
Camper0008 is not online. Camper0008
Joined: 07 Apr 2013
Total Posts: 2504
18 Jul 2017 05:09 AM
Isnt it .UserId not userId
Report Abuse
iiTechModz is not online. iiTechModz
Joined: 13 May 2015
Total Posts: 80
18 Jul 2017 06:06 AM
I'm new to FE,

But don't you need a local script in playergui or starterplayer, anything local
normal script in the dialog and a remote event, then you should make it so when the correct dialog choice is chosen, fire that remote event and in the localscript you wait till the event is fired and then you award the badge.
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