Advertisement
Sungmingamerpro13

ItemsFoundScript(LocalScript)

Oct 6th, 2022 (edited)
171
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.35 KB | None | 0 0
  1. local ItemObjective = game.ReplicatedStorage:WaitForChild("ItemsObjective")
  2.  
  3. ItemObjective:GetPropertyChangedSignal("Value"):Connect(function()
  4. if ItemObjective.Value == "None" then
  5. script.Parent.ItemsFrame.Visible = false
  6. else
  7. script.Parent.ItemsFrame.Visible = true
  8. end
  9. script.Parent.ItemsFrame.ItemObjective.Text = ItemObjective.Value
  10. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement