-
What do you want to achieve? So I want to make it so that players in a specific team get special perks. (If I am in the runner team I get more speed)
-
What is the issue? the code I made doesn’t work and I do not know why
-
What solutions have you tried so far? I have made this so far
local Player = game:GetService(“Players”).LocalPlayer
local Team = game:GetService(“Teams”)
While true do — continuously checks to see the team
if Player.Team == (“Runner”) then
– My code
end
end
I am pretty new to Lua and I couldn’t find the answer I was looking for in other posts. I am sorry if there is an obvious solution to this.