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 » Scripting Helpers
Home Search
 

Re: Is there a script that..

Previous Thread :: Next Thread 
Guineapiggles is not online. Guineapiggles
Joined: 30 Sep 2012
Total Posts: 5646
26 Jan 2014 07:26 PM
Something to do with dialogs.
When you say Hi can I have a Time Gear? (One of the Dialog choices)
How can you make the dialog kill the person when they say that?

Sorry I can't explain properly.
Report Abuse
Delones is not online. Delones
Joined: 19 Jul 2010
Total Posts: 1703
26 Jan 2014 08:00 PM
function clicked(player, dialogChoice)
print(player)
print(dialogChoice)
if dialogChoice.Name == "Kill" then
script.Parent.DialogChoice.Kill.ResponseDialog = "Kill/"..player.Name..""
game.Workspace:FindFirstChild(player.Name).Humanoid.Health = 0
else
print(dialogChoice)
end
end


script.Parent.DialogChoiceSelected:connect(clicked)
Report Abuse
Guineapiggles is not online. Guineapiggles
Joined: 30 Sep 2012
Total Posts: 5646
26 Jan 2014 08:02 PM
Does it work when you click a specific dialogue?
Report Abuse
Delones is not online. Delones
Joined: 19 Jul 2010
Total Posts: 1703
26 Jan 2014 08:07 PM
Yes, it depends on what the name is in the script.
Report Abuse
Guineapiggles is not online. Guineapiggles
Joined: 30 Sep 2012
Total Posts: 5646
26 Jan 2014 08:46 PM
Where do I place it?
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripting Helpers
   
 
   
  • 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