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 script broken.

Previous Thread :: Next Thread 
Krammy is not online. Krammy
Joined: 29 Jun 2008
Total Posts: 3599
07 Apr 2010 11:12 AM
Its ment to create a new base in the sky and teleport everyone onto it. The base slowly shrinks every second and eventually dissapear.



Shrink = Instance.new("Part")
Shrink.Parent = game.Workspace
Shrink.Size = Vector3.new(100, 0.4, 100)
Shrink.formFactor = "Plate"
Shrink.Position = Vector3.new(0, 239, 0)
Shrink.Anchored = true
Shrink.BrickColor = BrickColor.new("Camo")
Shrink.Transparency = 0.5
Shrink.Reflectance = 0.2
p = game.Players:children()
for i = 1, #p do
p[i].Character.Torso.CFrame == CFrame.new(0, 243, 0)
end
while true do
wait(1)
Shrink.Size = Shrink.Size + Vector3.new(-1, 0, -1)
if Shrink.Size = Vector3.new(1, 0.4, 1) then
Shrink:Remove()
end
end



It doesn't do anything.
Report Abuse
harutsedo is not online. harutsedo
Joined: 11 Oct 2009
Total Posts: 5150
07 Apr 2010 11:16 AM
Shrink = Instance.new("Part")
Shrink.Parent = game.Workspace
Shrink.Size = Vector3.new(100, 0.4, 100)
Shrink.formFactor = "Plate"
Shrink.Position = Vector3.new(0, 239, 0)
Shrink.Anchored = true
Shrink.BrickColor = BrickColor.new("Camo")
Shrink.Transparency = 0.5
Shrink.Reflectance = 0.2
p = game.Players:children()
for i = 1, #p do
p[i].Character.Torso.CFrame = CFrame.new(0, 243, 0)
end
while true do
wait(1)
Shrink.Size = Shrink.Size + Vector3.new(-1, 0, -1)
if Shrink.Size == Vector3.new(1, 0.4, 1) then
Shrink:Remove()
end
end
Report Abuse
Krammy is not online. Krammy
Joined: 29 Jun 2008
Total Posts: 3599
07 Apr 2010 11:19 AM
Thanks.
Report Abuse
Krammy is not online. Krammy
Joined: 29 Jun 2008
Total Posts: 3599
07 Apr 2010 11:28 AM
Wait, the base just slips over the players. Whats happening?
Report Abuse
harutsedo is not online. harutsedo
Joined: 11 Oct 2009
Total Posts: 5150
07 Apr 2010 11:31 AM
I know, I can't figure out why.
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