generic image
Processing...
  • Games
  • Catalog
  • Develop
  • Robux
  • Search in Players
  • Search in Games
  • Search in Catalog
  • Search in Groups
  • Search in Library
  • Log In
  • Sign Up
  • Games
  • Catalog
  • Develop
  • Robux
   
ROBLOX Forum » Game Creation and Development » Scripters
Home Search
 

Re: Rank Player Script ! I need help to add this..

Previous Thread :: Next Thread 
Simply_Official is not online. Simply_Official
Joined: 24 Jun 2016
Total Posts: 1581
27 May 2017 09:14 AM
I have a rank player script,

and I want to add

if Player.Name = "Simply_Official" then
TextLabel.TextColor3 = (255, 0, 0)
end

or something like this ( I want to color my name in red )

for this

local rs = game:GetService("ReplicatedStorage")
local remotefolder = rs:WaitForChild("RankFolder")
local remote = remotefolder:WaitForChild("RankPlayerOnRespawn")

remote.OnServerEvent:connect(function(Player)
if not Player then
print("an error occured fetching the player")
end
local pRank = Player:GetRoleInGroup(2602114)
wait(1)
local ui = script.Rank:Clone()
ui.Parent = Player.Character
ui.Adornee = Player.Character.Head

while not Player.Character.Humanoid do wait() end
Player.Character.Humanoid.DisplayDistanceType = Enum.HumanoidDisplayDistanceType.None
local frame = ui.Frame
local name = frame.Name1
local role = frame.TextLabel

name.Text = Player.Name
role.Text = pRank
end)
Report Abuse
Simply_Official is not online. Simply_Official
Joined: 24 Jun 2016
Total Posts: 1581
27 May 2017 09:17 AM
Someone please help me !
Report Abuse
chexyalani is online. chexyalani
Joined: 26 Mar 2017
Total Posts: 694
27 May 2017 09:21 AM
local c3=Color3.new

if player.Name==game.Players:GetNameFromUserIdAsync(game.CreatorId) then
TextLabel.TextColor3=c3(255/255,0/255,0/255)
end
Report Abuse
Simply_Official is not online. Simply_Official
Joined: 24 Jun 2016
Total Posts: 1581
27 May 2017 09:32 AM
I made this but I got an error..
im not sure where to place the script that you gave me
theres also a frame for the textlabel if this is important ..



local rs = game:GetService("ReplicatedStorage")
local remotefolder = rs:WaitForChild("RankFolder")
local remote = remotefolder:WaitForChild("RankPlayerOnRespawn")

remote.OnServerEvent:connect(function(Player)
if not Player then
print("an error occured fetching the player")
end
local pRank = Player:GetRoleInGroup(2602114)
wait(1)
local ui = script.Rank:Clone()
ui.Parent = Player.Character
ui.Adornee = Player.Character.Head

while not Player.Character.Humanoid do wait() end
Player.Character.Humanoid.DisplayDistanceType = Enum.HumanoidDisplayDistanceType.None
local frame = ui.Frame
local name = frame.Name1
local role = frame.TextLabel

local c3=Color3.new

if Player.Name==game.Players:GetNameFromUserIdAsync(game.CreatorId) then
frame.TextLabel.TextColor3=c3(255/255,0/255,0/255)
end

name.Text = Player.Name
role.Text = pRank
end)
Report Abuse
Simply_Official is not online. Simply_Official
Joined: 24 Jun 2016
Total Posts: 1581
27 May 2017 09:40 AM
Bump ..
Report Abuse
Simply_Official is not online. Simply_Official
Joined: 24 Jun 2016
Total Posts: 1581
27 May 2017 09:44 AM
Bump !!! Someone please help me !
I know I'm that stupid as I don't know how to change the color for a player but I really need someone to help me with this !
Report Abuse
Simply_Official is not online. Simply_Official
Joined: 24 Jun 2016
Total Posts: 1581
27 May 2017 09:47 AM
Bump !!!
Report Abuse
Simply_Official is not online. Simply_Official
Joined: 24 Jun 2016
Total Posts: 1581
27 May 2017 09:50 AM
:(
Report Abuse
Simply_Official is not online. Simply_Official
Joined: 24 Jun 2016
Total Posts: 1581
27 May 2017 09:51 AM
Bump !!!!
Report Abuse
Simply_Official is not online. Simply_Official
Joined: 24 Jun 2016
Total Posts: 1581
27 May 2017 09:59 AM
Bump
Report Abuse
Simply_Official is not online. Simply_Official
Joined: 24 Jun 2016
Total Posts: 1581
27 May 2017 10:12 AM
Bump!
Report Abuse
Simply_Official is not online. Simply_Official
Joined: 24 Jun 2016
Total Posts: 1581
27 May 2017 10:57 AM
Bbump
Report Abuse
MaxOutGaming is not online. MaxOutGaming
Joined: 28 Nov 2015
Total Posts: 424
27 May 2017 11:59 AM
what's the error?


Report Abuse
Simply_Official is not online. Simply_Official
Joined: 24 Jun 2016
Total Posts: 1581
27 May 2017 12:34 PM
After I did what the other guy said, the script didn't color my name and instead of rank and name tag is showed unknown name and unknown rank
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripters
   
 
   
  • About Us
  • Jobs
  • Blog
  • Parents
  • Help
  • Terms
  • Privacy

©2017 Roblox Corporation. Roblox, the Roblox logo, Robux, Bloxy, and Powering Imagination are among our registered and unregistered trademarks in the U.S. and other countries.



Progress
Starting Roblox...
Connecting to Players...
R R

Roblox is now loading. Get ready to play!

R R

You're moments away from getting into the game!

Click here for help

Check Remember my choice and click Launch Application in the dialog box above to join games faster in the future!

Gameplay sponsored by:
Loading 0% - Starting game...
Get more with Builders Club! Join Builders Club
Choose Your Avatar
I have an account
generic image