Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- for i, item in pairs(workspace.Areas:GetDescendants()) do
- if item.Name == "Barrier" then
- item.Attachment.ProximityPrompt.Triggered:Connect(function(player)
- game.ReplicatedStorage.Remotes.Area:FireClient(player, item)
- end)
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement