I don't know how to put the proximity prompt to open for just one team, can someone send the script?? I've been looking for this script for a long time and I can't find it, i need so much for my game
COMMUNITY QUESTION
I need a help for my script of proximity prompt, anyone help me?
1 answer
local Prompt = script.Parent
local Teams = game:GetService('Teams')
Prompt.Triggered:Connect(function(Player)
if Player.Team == Teams['team_name_here'] then
-- do stuff
end -- team check
end) -- triggered
2 comments
0
where do i put the script? within the proximity prompt or do I create another within the proximity prompt?
0
You can put it in the Prompt.
This discussion is preserved as it was. New answers, comments, and votes are closed.

1 comment
Scripting helpers is not a request site.