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 » Game Design
Home Search
 

Shrinking Platform Help

Previous Thread :: Next Thread 
Jolly3DSlover is not online. Jolly3DSlover
Joined: 10 Mar 2012
Total Posts: 5984
02 Jan 2015 01:37 PM
I'm trying to make a platform that shrinks when you touch it, but when I touch it, it keeps changing the Y axis my 6.5. Here is the script:

local debounce = true

script.Parent.Touched:connect(function()
if debounce then
debounce = false
for i = 6, 0, -0.1 do
script.Parent.Size = Vector3.new(i, 1, i)
wait(0.05)
end
script.Parent.Transparency = 1
wait(5)
script.Parent.Transparency = 0
script.Parent.Size = Vector3.new(6, 1, 6)
debounce = true
end
end)
Report Abuse
Jolly3DSlover is not online. Jolly3DSlover
Joined: 10 Mar 2012
Total Posts: 5984
02 Jan 2015 01:49 PM
b1
Report Abuse
warspyking is not online. warspyking
Joined: 15 Nov 2011
Total Posts: 13947
02 Jan 2015 01:56 PM
Reposition it every time you resize it.
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Game Design
   
 
   
  • 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