im developing for a new army group, and the owner asked me to give a pistol to a rank and ofc, all ranks above.
no idea how i can fix this
code:
game.Players.PlayerAdded:Connect(function(plr)
plr.CharacterAdded:Connect(function(char)
if plr:IsInGroup(7417509) then
if plr:GetRankInGroup(7417509) == 15 or plr:GetRankInGroup(7417509) => 15 then
end
end
end)
end)
if plr:GetRankInGroup(7417509) == 15 or plr:GetRankInGroup(7417509) => 15 then
“=>” isn’t a valid comparison operator in Lua; the correct one is “>=”.
By the way, the “>=” operator will return true if the two values are either equal or the first value is higher than the second, so you can omit the first comparison in that line.