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: Tool falls off when I click.

Previous Thread :: Next Thread 
Raidorz is not online. Raidorz
Joined: 28 Apr 2011
Total Posts: 5221
08 Nov 2014 07:21 AM
My easy script:

x = script.Parent.Handle

function onActivated()
x.Shape = "Ball"
x.Size = Vector3.new(2,2,1)
x.Transparency = 0.5
x.BrickColor = BrickColor.new("Medium blue")
end

script.Parent.Activated:connect(onActivated)


When I click it falls off, what to do?
Report Abuse
TheTroller4ever is not online. TheTroller4ever
Joined: 15 Apr 2013
Total Posts: 95
08 Nov 2014 07:25 AM
Search for welding scripts in free models, I really don't feel like explaining
Report Abuse
Raidorz is not online. Raidorz
Joined: 28 Apr 2011
Total Posts: 5221
08 Nov 2014 07:28 AM
Nvm, I fixed it.

Now it keeps on growing when I click. How to fix that.
Report Abuse
Raidorz is not online. Raidorz
Joined: 28 Apr 2011
Total Posts: 5221
08 Nov 2014 07:31 AM
Oh incase you are confused.

x = script.Parent.Handle
y = x.Mesh

x.Shape = "Ball"
x.Size = Vector3.new(2,2,1)
x.Transparency = 0.5
x.BrickColor = BrickColor.new("Medium blue")

y.Offset = Vector3.new(0,0,0)
y.Scale = Vector3.new(0,0,0)

function onActivated()

for fist = 1,10 do
x.Transparency = 0.5
y.Scale = y.Scale +Vector3.new(0.1,0.1,0.1)
wait()
end
wait(4)
for fist = 1,10 do
y.Scale = y.Scale -Vector3.new(0.1,0.1,0.1)
x.Transparency = 1
end
wait(5)

end

script.Parent.Activated:connect(onActivated)


It keeps on growing when I click, how to fix that.
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