|
| 11 Dec 2016 06:17 AM |
| Does anyone Know a lock first person and teleport script like in phantom forces you have a 3D Gui at the start and when you click Deploy You are teleported from the spawn box and Teleported Does anyone know this kind of script. |
|
|
| Report Abuse |
|
|
| |
|
swooby
|
  |
| Joined: 30 Dec 2010 |
| Total Posts: 1986 |
|
|
| 12 Dec 2016 11:47 AM |
http://wiki.roblox.com/index.php?title=API:Class/Player/CameraMode
|
|
|
| Report Abuse |
|
|
|
| 12 Dec 2016 11:59 AM |
Unlike Mr. WikiLinker over here. I'm going to give you a quick run down.
Here's what your going to do.
When the player clicks a button (BTN) Teleport the player to (POS) (A Vector3 Value) and put the player into first person
--Inside A LocalScript local BTN = script.Parent local POS = Vector3.new(0,0,0)
BTN.MouseButton1Clicked:connect(function() BTN.Visible = false game.Players.LocalPlayer.Character.Torso.CFrame = CFrame.new(0,0,0) + POS game.Players.LocalPlayer.CameraMode = "LockFirstPerson" end) --Put The LocalScript Into A Button
|
|
|
| Report Abuse |
|
|
|
| 13 Dec 2016 01:37 PM |
THANKS!
You made my day :), By the way I want to teleport Them to a brick Because I'm making a First person shooter, game and I need them to click Deploy And lock First Person And teleport to the Brick.
Thanks! |
|
|
| Report Abuse |
|
|
|
| 13 Dec 2016 01:39 PM |
| By, the way I'm Going to make the Brick invisible |
|
|
| Report Abuse |
|
|
|
| 19 Dec 2016 08:14 AM |
Well that's the great thing about the POS Variable, just change it to POS = Path.To.Part.Position |
|
|
| Report Abuse |
|
|
Rerumu
|
  |
| Joined: 11 Oct 2014 |
| Total Posts: 950 |
|
|
| 19 Dec 2016 08:17 AM |
"Unlike Mr. WikiLinker over here. I'm going to give you a quick run down."
If you give them the fish they aren't learning and will instead come back with more questions, you aren't helping anyone. |
|
|
| Report Abuse |
|
|
|
| 19 Dec 2016 08:18 AM |
| Techincally, I did help him. |
|
|
| Report Abuse |
|
|
Silicti
|
  |
| Joined: 07 Nov 2012 |
| Total Posts: 8242 |
|
|
| 19 Dec 2016 08:24 AM |
Dark, he was talking about an old story.
"Give a man a fish, and he'll come back asking for me. Teach a man how to fish, and he's set for life."
|
|
|
| Report Abuse |
|
|
|
| 19 Dec 2016 08:25 AM |
| Well he did kinda explain the script to him and the steps. |
|
|
| Report Abuse |
|
|
|
| 20 Dec 2016 12:19 PM |
| Thanks, You did Help me so much. |
|
|
| Report Abuse |
|
|