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
|
  |
| Joined: 06 Aug 2011 |
| Total Posts: 12 |
|
| |
|
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
|
  |
| Joined: 06 Aug 2011 |
| Total Posts: 12 |
|
| |
|
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
|
  |
| 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
|
  |
| 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
|
  |
| Joined: 06 Aug 2011 |
| Total Posts: 12 |
|
| |
|
giantjdd
|
  |
| Joined: 06 Aug 2011 |
| Total Posts: 12 |
|
| |
|