madiik
|
  |
| Joined: 10 Feb 2009 |
| Total Posts: 625 |
|
|
| 25 Dec 2012 07:22 AM |
Okay, I've made a bat, But I wan't it to be swinged by CFrame, I didn't find an good Animation.
What should I do? I don't know how to CFrame parts when they're unanchored.
I think it should start something like this.
function equip()
--CFrames, CFrames, blahblabhblablahblaaa. --I don't understand CFraming
end
equip()
function onClick()
--CFraming again. --How can I create an Charge thing? ball = Instance.new ("BodyThrust") FindFirstChild ("Ball") --Blablablablabla, Actually I don't know how to do it, too. How can I make a ball when hit to the Bat to FLY AWAY? end
script.Parent.MouseButton1Down:connect(onClick)
|
|
|
| Report Abuse |
|
|
|
| 25 Dec 2012 07:23 AM |
game.Workspace.Ball.CFrame = CFrame.new(x,y,z) Also to make the ball fly add some body velocity or something, and do some math or raycasting to find where the ball is heading.
For hippies: http://www.roblox.com/Peace-Shirt-TRANSPARENT-item?id=99429853 |
|
|
| Report Abuse |
|
|
madiik
|
  |
| Joined: 10 Feb 2009 |
| Total Posts: 625 |
|
|
| 25 Dec 2012 07:26 AM |
| Yeah, But how can I make a meter bar When it's the strongest and when it's the weakest? |
|
|
| Report Abuse |
|
|
|
| 25 Dec 2012 01:03 PM |
GUI.
For hippies: http://www.roblox.com/Peace-Shirt-TRANSPARENT-item?id=99429853 |
|
|
| Report Abuse |
|
|
drahsid5
|
  |
| Joined: 13 May 2011 |
| Total Posts: 3937 |
|
|
| 25 Dec 2012 01:06 PM |
| Well, making somthing move with cframe is laggy. I'd make a custom animation. |
|
|
| Report Abuse |
|
|
madiik
|
  |
| Joined: 10 Feb 2009 |
| Total Posts: 625 |
|
|
| 26 Dec 2012 04:07 AM |
| How can I make an custom animation? Because I don't know anything about that, |
|
|
| Report Abuse |
|
|
|
| 27 Dec 2012 11:26 AM |
I don't think you can... Only ROBLOX can.
For hippies: http://www.roblox.com/Peace-Shirt-TRANSPARENT-item?id=99429853 |
|
|
| Report Abuse |
|
|
doneyes
|
  |
| Joined: 21 Mar 2008 |
| Total Posts: 3466 |
|
|
| 27 Dec 2012 11:27 AM |
| Dude stop advertising your stuff. |
|
|
| Report Abuse |
|
|
|
| 27 Dec 2012 07:23 PM |
Dude it's called a sig. (moron)
For hippies: http://www.roblox.com/Peace-Shirt-TRANSPARENT-item?id=99429853 |
|
|
| Report Abuse |
|
|