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: Help with zombie cframe

Previous Thread :: Next Thread 
HILLBILLYY is not online. HILLBILLYY
Joined: 08 May 2010
Total Posts: 764
14 Sep 2013 08:39 PM
zombie=game.Lighting.Zombie------------lighting zombie
count=game.Workspace.ZombieCount
model=game.Workspace.Zombies
spawns=game.Workspace.ZombieSpawns:GetChildren()
i=1,#spawns
function zombiespawn()
if count.Value<30 then
g=zombie:clone()
g.Parent=model
g.CFrame.new=spawns[i].CFrame
count=count+1
end
end
zombiespawn();
game.Workspace.ZombieCount.Changed:connect(zombiespawn)

anyone know how to fix the g.CFrame.new line of this script ?
Report Abuse
Bebee2 is not online. Bebee2
Joined: 17 May 2009
Total Posts: 3985
14 Sep 2013 08:41 PM
model:MoveTo(Vector3.new(spawns[i].CFrame.p))
Report Abuse
Bebee2 is not online. Bebee2
Joined: 17 May 2009
Total Posts: 3985
14 Sep 2013 08:42 PM
Change it to g.
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