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 » Scripting Helpers
Home Search
 

Re: Game Load script needs fixing

Previous Thread :: Next Thread 
ownage8941 is not online. ownage8941
Joined: 29 Dec 2010
Total Posts: 735
28 Aug 2011 12:12 PM
game.Players.NewPlayer:connect(function(p)
p.CharacterAdded:connect(function()
local h = instance.New("Hint" , game.Workspace)
h.text = "Welcome to Ultimate Sword Fighting"
wait(3)
h.Text = "The game will start in 5"
wait(1)
h.Text = "The game will start in 4"
wait(1)
h.Text = "The game will start in 3"
wait(1)
h.Text = "The game will start in 2"
wait(1)
h.Text = "The game will start in 1"
wait(1)
h:Remove
p.Character.Torso.CFrame.new = (-10.5, 45.4, 13)
end)
end)
Report Abuse
GalaxyWarriors is not online. GalaxyWarriors
Joined: 27 Aug 2011
Total Posts: 36
28 Aug 2011 12:29 PM
game.Players.NewPlayer:connect(function(p)


NewPlayer is not an event. It's "PlayerAdded":

game.Players.PlayerAdded:connect(function(p)
Report Abuse
flappydavid is not online. flappydavid
Joined: 03 May 2009
Total Posts: 5893
28 Aug 2011 12:39 PM
ownage, you double posting noob...
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripting Helpers
   
 
   
  • 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