Categories > Coding > Lua >

How to make Teleport script help :)

Posts: 7

Threads: 4

Joined: Dec, 2020

Reputation: 0

Posted

How to make Teleport script help :D

I need a script teleport to parts, example: https://imgur.com/a/PqjoiHF

  • 0

davidTube

not inactive

noticed

Posts: 1849

Threads: 88

Joined: Dec, 2018

Reputation: 56

Replied

why is this in suggestions

  • 0

Posts: 57

Threads: 14

Joined: Jan, 2018

Reputation: 0

Replied

first of all, the screenshots of the parts dont help and if they all have the same name, i'm pretty sure its not possible.
you can tp to all of them tho.
second, you need to know where the parts are *like in a folder in workspace or something*
lets assume the folder the parts are in is in workspace and not in another folder.
i personally would do it something like this:

for i,v in pairs(workspace.Snowflakes:GetChildren()) do -- off course this script wont work because the snowflakes folder probably isnt a direct child of workspace
  game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = v.CFrame --judging from the parts they have a cframe
end


this is just an example script, you can add me on discord if you need any more help.
my discord is die#9009

  • 0

I use synapse sometimes
Languages i have experience with: c#, lua, javascript.

Posts: 226

Threads: 45

Joined: Mar, 2020

Reputation: -16

Replied

i dont understand what you fully mean , just get the cframe of that part and put it in this script

game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = () 

put the cframe number in the ()

  • 0

Exploit i have : Synapse X , Sir hurt . 

Hubs i use , Dark hub , Alpha X 

Guis I made : Tower of hell > https://pastebin.com/5gV0H08w

Users viewing this thread:

( Members: 0, Guests: 1, Total: 1 )