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: Help

Previous Thread :: Next Thread 
MightyEagleFan223 is not online. MightyEagleFan223
Joined: 24 Dec 2013
Total Posts: 813
23 Sep 2017 03:26 PM
It says that LocalPlayer is a nil value:

g############################################### local le########### Instance.new("Model", plr)
le################ ("#################ocal Points = In###########################e############ Points.Name = ("Rank")
ga############################################### ("Guest")

if game.Players.LocalPlayer.Name == ("##################hen
ga############################################### ("Eagle")
end
if game.Players.LocalPlayer.Name == ("#####################hen
ga############################################### ("Mighty Eagle")

end
if game.Players.LocalPlayer.Name == ("#################hen
ga############################################### ("In-Group")

end
if game.Players.LocalPlayer.Name == ("############hen
ga############################################### ("In-Group")

end
if game.Players.LocalPlayer.Name == ("##############hen
ga############################################### ("In-Group")

end
if game.Players.LocalPlayer.Name == ("#############hen
############################################### = ("In-Group")


####

if game.Players.LocalPlayer.Name == ############ then
############################################### = ("In-Group")

####
end)
Report Abuse
runaredie is not online. runaredie
Joined: 13 Aug 2015
Total Posts: 30
23 Sep 2017 03:32 PM
It all hashtag
Report Abuse
Lua_Basics is not online. Lua_Basics
Joined: 04 Jun 2012
Total Posts: 9977
23 Sep 2017 04:32 PM
Server scripts can't use local player.
Report Abuse
Codythescriptmaster is not online. Codythescriptmaster
Joined: 08 May 2012
Total Posts: 189
23 Sep 2017 05:16 PM
You are using the wrong version of lua, roblox doesnt use Lua 5.#

Image how hard scripting would be if roblox filtered scripts? random thought

LocalPlayer can only be used in the clients. LocalPlayer is "What player is this script running on?" On the server, it's nil because your not on a player, you are on a server

Are you sure you don't want to use API:Class/Player/GetRoleInGroup
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