Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

For some reason this script is not working although there are no errors in any logs? [closed]

Asked by 8 years ago

I checked for errors and I can't find any. Here is the script.

001script.Parent.Dialog.DialogChoiceSelected:connect(function(player,choice)
002    print(choice.Name)
003    print(player.Name)
004    if choice.Name == "Shack" then
005    local HomeStats = player.HomeStats
006    local PlotN = player.HomeStats.PlotN   
007 
008    if PlotN.Value == 0 then
009    print(HomeStats.PlotN.Value)
010        choice.ResponseDialog = "You must claim a plot before you can load your home"
011        player.PlayerGui.NotifGui.FrameB.Notification.Text = "You must claim a plot before you can load your home"
012        wait(5)
013        player.PlayerGui.NotifGui.FrameB.Notification.Text = ""
014        choice.ResponseDialog = "Home Loaded."
015    else
View all 226 lines...

Closed as Non-Descriptive by Link150 and M39a9am3R

This question has been closed because its title or content does not adequately describe the problem you are trying to solve.
Please ensure that your question pertains to your actual problem, rather than your attempted solution. That is, you were trying to solve problem X, and you thought solution Y would work, but instead of asking about X when you ran into trouble, you asked about Y.

Why was this question closed?