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: animation brick

Previous Thread :: Next Thread 
xxdestroyerkidxx is online. xxdestroyerkidxx
Joined: 14 Jan 2012
Total Posts: 1658
29 Oct 2016 09:49 PM
I am looking to make a block that when you touch it plays a animation on your character. Please help.


flings egg at
Report Abuse
cc567 is not online. cc567
Joined: 15 Nov 2008
Total Posts: 74
29 Oct 2016 09:56 PM

local animation = Put animation here.
local animTrack = Humanoid:LoadAnimation(animation)

function onTouched(hit).
animTrack:Play

end

script.Parent.Touched:connect(onTouched)
Report Abuse
xxdestroyerkidxx is online. xxdestroyerkidxx
Joined: 14 Jan 2012
Total Posts: 1658
29 Oct 2016 09:58 PM
thanks!


flings egg at
Report Abuse
xxdestroyerkidxx is online. xxdestroyerkidxx
Joined: 14 Jan 2012
Total Posts: 1658
29 Oct 2016 10:11 PM
It says there is a unexpected symbol near .


flings egg at
Report Abuse
xxdestroyerkidxx is online. xxdestroyerkidxx
Joined: 14 Jan 2012
Total Posts: 1658
30 Oct 2016 01:00 PM
bump
Report Abuse
brinkokevin is not online. brinkokevin
Joined: 25 Jul 2012
Total Posts: 1673
30 Oct 2016 01:02 PM
It's not full script you will have to modify it a bit to make it work


Report Abuse
xxdestroyerkidxx is online. xxdestroyerkidxx
Joined: 14 Jan 2012
Total Posts: 1658
30 Oct 2016 01:04 PM
Oh, I am bad at scripting.
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