SHOW:
|
|
- or go back to the newest paste.
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 |