coding_giants

l7 MainServer

Apr 17th, 2023
55
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. for i, item in pairs(workspace.Areas:GetDescendants()) do
  2. if item.Name == "Barrier" then
  3. item.Attachment.ProximityPrompt.Triggered:Connect(function(player)
  4. game.ReplicatedStorage.Remotes.Area:FireClient(player, item)
  5. end)
  6. end
  7. end
  8.  
Add Comment
Please, Sign In to add comment