Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

I need a help for my script of proximity prompt, anyone help me?

Asked by 2 years ago

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

0
Scripting helpers is not a request site. wwwaylon09 113 — 2y

1 answer

Log in to vote
0
Answered by
pwx 1581 Moderation Voter
2 years ago
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
0
where do i put the script? within the proximity prompt or do I create another within the proximity prompt? gamer12344567890p 0 — 2y
0
You can put it in the Prompt. pwx 1581 — 2y
Ad

Answer this question