|
| 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
|
  |
| 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 |
|
|
| |
|
|
| 29 Oct 2016 10:11 PM |
It says there is a unexpected symbol near .
flings egg at |
|
|
| Report Abuse |
|
|
| |
|
|
| 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 |
|
|
|
| 30 Oct 2016 01:04 PM |
| Oh, I am bad at scripting. |
|
|
| Report Abuse |
|
|