Anyone know how I would do this? This is my script so far:
local Players = game:GetService("Players")
local Prefix = ":"
local GroupId = Int
Players.PlayerAdded:Connect(function(Player)
if Player:GetRankInGroup(GroupId) >= Int then
Player.Chatted:Connect(function(msg)
if msg:Sub(1,11) == Prefix.."AddPoints " then
local Target = Players:FindFirstChild(msg:Sub(12))
end
end)
end
end)

11 comments
Thx! I am going to learn from this script
No problem. I hope you can do something great, good luck!
but one question, I know that it can get the player but what if I wanted to do :AddPoints [Plr] and then the number
Do you want to do [number], [plr]?
better question, do you have leaderstats? And if so, what are they?
It is just Player.leaderstats.Points.Value
I'm nto sure how to do that. I've heard about string.split but have not learned how to use it. I'm so sorry if I couldn't fully answer your question.
it's good i fixed it now :)
alr good day
not relevant but i recognize you from void script builder
me or microsoft?