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: Part gets bigger and bigger?

Previous Thread :: Next Thread 
sal212 is not online. sal212
Joined: 11 Apr 2010
Total Posts: 2929
13 Oct 2015 04:23 PM
How would you make a part (Its a sphere) get bigger over time? I tried this but didnt work.

s = script.Parent
wait(2)
for I = 1,27 do
wait()
s.Size = s.Size + Vector3.new(0,0,0,10)
wait(.5)
end

Any help?
Report Abuse
sal212 is not online. sal212
Joined: 11 Apr 2010
Total Posts: 2929
13 Oct 2015 04:36 PM
b
Report Abuse
darkstriken is not online. darkstriken
Joined: 23 Oct 2010
Total Posts: 376
13 Oct 2015 04:40 PM
local times = 100
local increment = Vector3.new(0.25,0.25,0.25)
local time = 1
local part = workspace.Part

for i = 1,increment do
part.Size = part.Size + increment
wait(time)
end
Report Abuse
darkstriken is not online. darkstriken
Joined: 23 Oct 2010
Total Posts: 376
13 Oct 2015 04:41 PM
oops

local times = 100
local increment = Vector3.new(0.25,0.25,0.25)
local time = 1
local part = workspace.Part

for i = 1,times do
part.Size = part.Size + increment
wait(time)
end
Report Abuse
sal212 is not online. sal212
Joined: 11 Apr 2010
Total Posts: 2929
13 Oct 2015 04:43 PM
Didnt work.
Report Abuse
darkstriken is not online. darkstriken
Joined: 23 Oct 2010
Total Posts: 376
13 Oct 2015 04:43 PM
another fix..

local times = 100
local increment = Vector3.new(0.25, 0.25, 0.25)
local time = 1
local part = workspace.Part

part.FormFactor = Enum.FormFactor.Custom

for i = 1, times do
part.Size = part.Size + increment
wait(time)
end
Report Abuse
sal212 is not online. sal212
Joined: 11 Apr 2010
Total Posts: 2929
13 Oct 2015 04:45 PM
Still not changing.
Report Abuse
darkstriken is not online. darkstriken
Joined: 23 Oct 2010
Total Posts: 376
13 Oct 2015 04:48 PM
edit the part variable To point to the part.....
Report Abuse
sal212 is not online. sal212
Joined: 11 Apr 2010
Total Posts: 2929
13 Oct 2015 04:48 PM
I did, I changed it to script.Parent
The script is inside the part.
Report Abuse
darkstriken is not online. darkstriken
Joined: 23 Oct 2010
Total Posts: 376
13 Oct 2015 04:50 PM
error?
Report Abuse
sal212 is not online. sal212
Joined: 11 Apr 2010
Total Posts: 2929
13 Oct 2015 04:51 PM
None.
Report Abuse
darkstriken is not online. darkstriken
Joined: 23 Oct 2010
Total Posts: 376
13 Oct 2015 04:52 PM
is it enabled?is it a server script? what happens?
Report Abuse
sal212 is not online. sal212
Joined: 11 Apr 2010
Total Posts: 2929
13 Oct 2015 04:54 PM
Is what enabled?
Yes, its a normal script.
Nothing is happening, its staying the same.
Report Abuse
darkstriken is not online. darkstriken
Joined: 23 Oct 2010
Total Posts: 376
13 Oct 2015 04:54 PM
is the script enabled?
Report Abuse
sal212 is not online. sal212
Joined: 11 Apr 2010
Total Posts: 2929
13 Oct 2015 04:55 PM
Yes.
Report Abuse
darkstriken is not online. darkstriken
Joined: 23 Oct 2010
Total Posts: 376
13 Oct 2015 04:56 PM
hmm.. have any ideas whats causing this?
Report Abuse
sal212 is not online. sal212
Joined: 11 Apr 2010
Total Posts: 2929
13 Oct 2015 04:56 PM
No idea.
Report Abuse
darkstriken is not online. darkstriken
Joined: 23 Oct 2010
Total Posts: 376
13 Oct 2015 04:57 PM
sorry, im clueless then
Report Abuse
electricpretzel0 is not online. electricpretzel0
Joined: 30 Sep 2008
Total Posts: 1278
13 Oct 2015 04:59 PM
This Sir,

s = script.Parent
wait(2)
for i = 1,27 do
wait()
s.Size = Vector3.new(s.Size.X+1,s.Size.Y+1,s.Size.Z+1)
wait(.5)
end

If you want the sphere to stretch in non symmetrical ways, then you need to make script.Parent a 'Block' not a 'Ball', then insert a special mesh that is a sphere type.
Report Abuse
robotmega is not online. robotmega
Joined: 16 May 2009
Total Posts: 14084
13 Oct 2015 04:59 PM
s = script.Parent
s.FormFactor = "Custom"
wait(2)
for I = 1,27 do
wait()
s.Size = s.Size + Vector3.new(10,10,10)
wait(.5)
end
Report Abuse
sal212 is not online. sal212
Joined: 11 Apr 2010
Total Posts: 2929
13 Oct 2015 05:02 PM
Both of your's work. Thank you.
Report Abuse
darkstriken is not online. darkstriken
Joined: 23 Oct 2010
Total Posts: 376
13 Oct 2015 05:04 PM
strange, mine should work
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