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: I have a question.

Previous Thread :: Next Thread 
StickMasterNinja2 is not online. StickMasterNinja2
Joined: 18 May 2013
Total Posts: 1170
29 Jan 2015 11:11 AM
Could you make for me a script that if you choose a dialog, you gain a weapon for free work on server? Because mine didn't work.

StickMasterNinja2, F.E.A.R Speciaist.
Report Abuse
Fatalizer is not online. Fatalizer
Joined: 28 Aug 2011
Total Posts: 1520
29 Jan 2015 11:12 AM
Post your script.



〔 :{❖}: I want a girl which name doesn't end with .jpg :{❖}: 〕
Report Abuse
StickMasterNinja2 is not online. StickMasterNinja2
Joined: 18 May 2013
Total Posts: 1170
29 Jan 2015 11:13 AM
dialog = script.Parent
local dialog = script.Parent
dialog.DialogChoiceSelected:connect(function(player, choice)
if choice == dialog.ChoiceA then
game.ReplicatedStorage.BronzeSword:Clone().Parent = player.Backpack
print("Sword")
elseif choice == dialog.ChoiceB then
game.ReplicatedStorage.CommonCrossbow:Clone().Parent = player.Backpack
print("Crossbow")
end
end)

StickMasterNinja2, F.E.A.R Specialist.
Report Abuse
Fatalizer is not online. Fatalizer
Joined: 28 Aug 2011
Total Posts: 1520
29 Jan 2015 11:14 AM
Local or Server Script?



〔 :{❖}: I want a girl which name doesn't end with .jpg :{❖}: 〕
Report Abuse
StickMasterNinja2 is not online. StickMasterNinja2
Joined: 18 May 2013
Total Posts: 1170
29 Jan 2015 11:15 AM
Local, you are asking a lot, man!

StickMasterNinja2, F.E.A.R Specialist.
Report Abuse
Fatalizer is not online. Fatalizer
Joined: 28 Aug 2011
Total Posts: 1520
29 Jan 2015 11:16 AM
Make it a normal (server) script.

And I'm asking a lot? Lold
You're the one asking for help, not me.

#getsome



〔 :{❖}: I want a girl which name doesn't end with .jpg :{❖}: 〕
Report Abuse
StickMasterNinja2 is not online. StickMasterNinja2
Joined: 18 May 2013
Total Posts: 1170
29 Jan 2015 11:18 AM
Okay.

StickMasterNinja2, F.E.A.R Specialist.
Report Abuse
Fatalizer is not online. Fatalizer
Joined: 28 Aug 2011
Total Posts: 1520
29 Jan 2015 11:19 AM
Okay.



〔 :{❖}: I want a girl which name doesn't end with .jpg :{❖}: 〕
Report Abuse
StickMasterNinja2 is not online. StickMasterNinja2
Joined: 18 May 2013
Total Posts: 1170
29 Jan 2015 11:21 AM
Thanks, there is more:

dialog = script.Parent
function Choose(player, choice)

local S = dialog.DialogChoice.DialogChoice.DialogChoice.ChoiceU.ChoiceA
local CB = dialog.DialogChoice.DialogChoice.DialogChoice.ChoiceU.ChoiceB

if choice == S then
game.ReplicatedStorage.DarkBlade:Clone().Parent = player.Backpack
elseif choice == CB then
game.ReplicatedStorage.Mark0:Clone().Parent = player.Backpack
end
end

dialog.DialogChoiceSelected:connect(Choose)

function get_player()
for _, player in ipairs(game.Players:GetPlayers()) do
if player:IsDescendantOf(player.Character) then
return player
end
end
end

dialog.DialogChoiceSelected:connect(function(player, choice)

local player = get_player()
if not player then return end

local allow = (
player:IsInGroup(72321)
)
if allow then
Choose(player, choice)
else
dialog.DialogChoice.DialogChoice.DialogChoice.ChoiceU.ChoiceA.ResponseDialog = "You forgot to join the group."
dialog.DialogChoice.DialogChoice.DialogChoice.ChoiceU.ChoiceB.ResponseDialog = "You forgot to join the group."
end
end)

StickMasterNinja2, F.E.A.R Specialist.
Report Abuse
Fatalizer is not online. Fatalizer
Joined: 28 Aug 2011
Total Posts: 1520
29 Jan 2015 11:22 AM
"You ask a lot, man!"



〔 :{❖}: I want a girl which name doesn't end with .jpg :{❖}: 〕
Report Abuse
StickMasterNinja2 is not online. StickMasterNinja2
Joined: 18 May 2013
Total Posts: 1170
29 Jan 2015 11:25 AM
I am just making the script that wins a weapon only if the player is in group.

StickMasterNinja2, F.E.A.R Specialist.
Report Abuse
Rellica is not online. Rellica
Joined: 11 May 2013
Total Posts: 955
29 Jan 2015 11:38 AM
Why not use: wiki.roblox.com

That should answer any questions you have.
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