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

How do I make it so only Prisoners change into criminals buy touching brick? [closed]

Asked by 5 years ago
Edited by Ziffixture 5 years ago

Here is my script. I am wandering how I could add to it so only prisoners turn into crims. I made it so when a team touches a wall they turn into crims.

--- code at bottom is where when its touched they change team

01local RemoteEvent = game.ReplicatedStorage.ChangeTeam
02local CriminalEvent = game.ReplicatedStorage.Criminals
03local PoliceEvent = game.ReplicatedStorage.Police
04 
05local CrimFrame = game.StarterGui.ScreenGui.CrimsTeam
06 
07local PoliceDevice = game.Teams
08 
09local PoliceTeamTest = game.Teams.Police
10 
11local player = game.Players.LocalPlayer
12 
13local frame = script.Parent:WaitForChild("Frame")
14 
15local player = game.Players.LocalPlayer
View all 45 lines...
0
Please put your code in code blocks Luka_Gaming07 534 — 5y

Closed as Not Constructive by Ziffixture

This question has been closed because it is not constructive to others or the asker. Most commonly, questions that are requests with no attempt from the asker to solve their problem will fall into this category.

Why was this question closed?