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: Animated Texture

Previous Thread :: Next Thread 
supermario324 is not online. supermario324
Joined: 28 Mar 2010
Total Posts: 131
10 Feb 2013 04:03 PM
I want to make my script so once I come into contact with another brick it will make the animated decal
change momentarily to a different image.

picture = script.Parent.Decal

while true do
picture.Texture = "http://www.roblox.com/asset/?id=106314463"
wait(0.25)
picture.Texture = "http://www.roblox.com/asset/?id=106314566"
wait(0.25)

end

I want to change two moving images (Textures) (http://www.roblox.com/asset/?id=106314463 and
http://www.roblox.com/asset/?id=106314566) to one different image. (http://www.roblox.com/asset/?id=106314595)
Report Abuse
solidhead is not online. solidhead
Joined: 19 Feb 2010
Total Posts: 2745
10 Feb 2013 04:08 PM
Triggerd when you come in contact with it? If so, i think you need to have [function onTouch] in the beggining, i hope this helps but it probably wont cause i just started scripting :P
Report Abuse
notsopwnedg is not online. notsopwnedg
Joined: 07 Nov 2010
Total Posts: 4182
10 Feb 2013 04:11 PM
there is not function called "onTouch" unless you make it... you have to use the .Touched event...whatever you call the function is your choice...


part.Touched:connect(bob)

function bob(hit)


end
Report Abuse
solidhead is not online. solidhead
Joined: 19 Feb 2010
Total Posts: 2745
10 Feb 2013 04:13 PM
Thanks for the correction, i need all of them i can get in terms of scripting.
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