|
| 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
|
  |
| 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 |
|
|
|
| 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
|
  |
| 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 |
|
|
|
| 29 Jan 2015 11:15 AM |
Local, you are asking a lot, man!
StickMasterNinja2, F.E.A.R Specialist. |
|
|
| Report Abuse |
|
|
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 |
|
|
|
| 29 Jan 2015 11:18 AM |
Okay.
StickMasterNinja2, F.E.A.R Specialist. |
|
|
| Report Abuse |
|
|
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 |
|
|
|
| 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
|
  |
| 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 |
|
|
|
| 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
|
  |
| 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 |
|
|