|
| 23 Oct 2014 08:52 AM |
In my game I want to add a script to allow players to fly by pressing a button. (Example,"F".) However fortunately (unfortunately) for me I know NOTHING about scripting. 2014, and I still know not one thing about scripting. Is there any good scripts, or even a good tutorial (for total noobs like me) on scripting something to do that? Because of ROBLOX updates, no fly givers work, and neither does Kohl's admin's fly work. Flying is an easy way to get around, and I'd like to have that bonus on my game. (Maybe even improve my scripting skills.)
So--again, any good flying scripts I can get from the Develop page, or will I have to make my own?
(If I do have to make my own, how/what's a good [UP-TO-DATE] tutorial?) |
|
|
| Report Abuse |
|
|
|
| 23 Oct 2014 09:38 AM |
Do crazy stuff with BodyForces I assume.
game.Players.LocalPlayer:GetMouse().KeyDown:connect(function(key) if key == "F" then --Body Force Things end end) |
|
|
| Report Abuse |
|
|
|
| 23 Oct 2014 11:24 AM |
| Or C-framing? Wait no thats how I make teleport lol. |
|
|
| Report Abuse |
|
|
anaIyze
|
  |
| Joined: 29 May 2014 |
| Total Posts: 2048 |
|
|
| 23 Oct 2014 12:40 PM |
| use BodyVelocity and magnitude |
|
|
| Report Abuse |
|
|
robocu3
|
  |
| Joined: 13 Mar 2009 |
| Total Posts: 6485 |
|
|
| 23 Oct 2014 01:24 PM |
You should elaborate on flying. You could just make it to where when you hold w on a character, a body position continuously moves forward, you could use CFrame or a physics instance to change the player's orientation. A lot of ways to do this. :P -=Robo=- |
|
|
| Report Abuse |
|
|
|
| 23 Oct 2014 01:30 PM |
| Perhaps to narrow it down, something similar to Bumbaclyde's, "Anime Roleplay (Original) [Old map is back!]" flying system? |
|
|
| Report Abuse |
|
|
| |
|