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 scripts only working for me

Previous Thread :: Next Thread 
giantjdd is online. giantjdd
Joined: 06 Aug 2011
Total Posts: 12
09 Nov 2017 06:08 PM
I have a teleport gui using these : startergui-> screengui-> textbutton->localscripts
they are both local scripts and they are in seperate scripts
they work fine for me in and out of studio on phone and on pc, but not for my friends

function Click()
script.Parent.Parent.Parent.Parent.Character.Torso.CFrame = CFrame.new(workspace.obbyteleport.Position)
end

script.Parent.MouseButton1Down:connect(Click)

function TouchTap()
script.Parent.Parent.Parent.Parent.Character.Torso.CFrame = CFrame.new(workspace.obbyteleport.Position)
end

script.Parent.MouseButton1Down:connect(TouchTap)


The other is on bricks for an obby to teleport you back to the start
they are in a regular script, separate in each block
yet again only works for me


function onTouched(part)
local h = part.Parent:findFirstChild("Torso")
if (h ~=nil) then
h.CFrame = CFrame.new(workspace.obbyteleport.Position) --input CFrame here

end
end

script.Parent.Touched:connect(onTouched)
Report Abuse
giantjdd is online. giantjdd
Joined: 06 Aug 2011
Total Posts: 12
09 Nov 2017 07:22 PM
Bump
Report Abuse
Quaration is not online. Quaration
Joined: 06 Oct 2017
Total Posts: 91
09 Nov 2017 07:25 PM
I don't like the idea of me helping you with an obby but at least you're scripting it.
Is FE on?


ummmmmm
Report Abuse
giantjdd is online. giantjdd
Joined: 06 Aug 2011
Total Posts: 12
09 Nov 2017 07:29 PM
Yes
Report Abuse
Quaration is not online. Quaration
Joined: 06 Oct 2017
Total Posts: 91
09 Nov 2017 07:31 PM
What do you mean by "only works for me" do you mean that only if you activate it that it works or that only on your client you see the teleport.
Also give me some context of what you are trying to do.


ummmmmm
Report Abuse
giantjdd is online. giantjdd
Joined: 06 Aug 2011
Total Posts: 12
09 Nov 2017 07:33 PM
When i say it only works for me i mean that when i play it off of studio with my friends
the gui or the teleport blocks in the obby do not teleport then, they do nothing to them, but it teleports me.
Report Abuse
giantjdd is online. giantjdd
Joined: 06 Aug 2011
Total Posts: 12
09 Nov 2017 07:34 PM
And i am making a obby to the side of my tycoon, i have a gui button that teleports you to it and the "lava" blocks teleport you back to the start.
Report Abuse
giantjdd is online. giantjdd
Joined: 06 Aug 2011
Total Posts: 12
09 Nov 2017 07:55 PM
bump
Report Abuse
giantjdd is online. giantjdd
Joined: 06 Aug 2011
Total Posts: 12
10 Nov 2017 04:38 PM
Bump
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