Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local spincow = piece "farm_cow02"
- local ramcow = piece "farm_cow01"
- local bales = piece "farm_bales01"
- function script.Create()
- Spring.Echo ("farm here")
- Spin (spincow, y_axis, math.rad (-40))
- Spin (bales, y_axis, math.rad (-40))
- StartThread (ramHay)
- end
- function ramHay ()
- while (true) do
- Move (ramcow, z_axis, 80, 40)
- WaitForMove (ramcow, z_axis)
- Explode (bales, SFX.FALL)
- Sleep (2000)
- Move (ramcow, z_axis, 00, 40)
- WaitForMove (ramcow, z_axis)
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement