generic image
Processing...
  • Games
  • Catalog
  • Develop
  • Robux
  • Search in Players
  • Search in Games
  • Search in Catalog
  • Search in Groups
  • Search in Library
  • Log In
  • Sign Up
  • Games
  • Catalog
  • Develop
  • Robux
   
ROBLOX Forum » Game Creation and Development » Scripters
Home Search
 

Re: Teleport and onclicked lock first person! scipt (Help)

Previous Thread :: Next Thread 
xxawesomegamerproxx is not online. xxawesomegamerproxx
Joined: 28 Mar 2016
Total Posts: 23
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
xxawesomegamerproxx is not online. xxawesomegamerproxx
Joined: 28 Mar 2016
Total Posts: 23
12 Dec 2016 10:48 AM
Any Comments?
Report Abuse
swooby is not online. 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
darkjediwarriorX is online. darkjediwarriorX
Joined: 26 Aug 2015
Total Posts: 879
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
xxawesomegamerproxx is not online. xxawesomegamerproxx
Joined: 28 Mar 2016
Total Posts: 23
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
xxawesomegamerproxx is not online. xxawesomegamerproxx
Joined: 28 Mar 2016
Total Posts: 23
13 Dec 2016 01:39 PM
By, the way I'm Going to make the Brick invisible
Report Abuse
darkjediwarriorX is online. darkjediwarriorX
Joined: 26 Aug 2015
Total Posts: 879
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 is not online. 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
darkjediwarriorX is online. darkjediwarriorX
Joined: 26 Aug 2015
Total Posts: 879
19 Dec 2016 08:18 AM
Techincally, I did help him.
Report Abuse
Silicti is not online. 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
demonshadow553 is not online. demonshadow553
Joined: 06 Sep 2013
Total Posts: 2626
19 Dec 2016 08:25 AM
Well he did kinda explain the script to him and the steps.
Report Abuse
xxawesomegamerproxx is not online. xxawesomegamerproxx
Joined: 28 Mar 2016
Total Posts: 23
20 Dec 2016 12:19 PM
Thanks, You did Help me so much.
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripters
   
 
   
  • About Us
  • Jobs
  • Blog
  • Parents
  • Help
  • Terms
  • Privacy

©2017 Roblox Corporation. Roblox, the Roblox logo, Robux, Bloxy, and Powering Imagination are among our registered and unregistered trademarks in the U.S. and other countries.



Progress
Starting Roblox...
Connecting to Players...
R R

Roblox is now loading. Get ready to play!

R R

You're moments away from getting into the game!

Click here for help

Check Remember my choice and click Launch Application in the dialog box above to join games faster in the future!

Gameplay sponsored by:
Loading 0% - Starting game...
Get more with Builders Club! Join Builders Club
Choose Your Avatar
I have an account
generic image