Guest User

Group Prompt System

a guest
Nov 7th, 2026
17
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.41 KB | None | 0 0
  1. local GROUP_ID = 615100528
  2. local GroupService = game:GetService("GroupService")
  3.  
  4. local prompt = workspace:WaitForChild("GroupPart"):WaitForChild("ProximityPrompt") -- change path if needed
  5.  
  6. prompt.Triggered:Connect(function(player)
  7. if player ~= game.Players.LocalPlayer then return end
  8.  
  9. local success, result = pcall(function()
  10. return GroupService:PromptJoinAsync(GROUP_ID)
  11. end)
  12. end)
  13.  
Advertisement
Add Comment
Please, Sign In to add comment