Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local ItemObjective = game.ReplicatedStorage:WaitForChild("ItemsObjective")
- ItemObjective:GetPropertyChangedSignal("Value"):Connect(function()
- if ItemObjective.Value == "None" then
- script.Parent.ItemsFrame.Visible = false
- else
- script.Parent.ItemsFrame.Visible = true
- end
- script.Parent.ItemsFrame.ItemObjective.Text = ItemObjective.Value
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement