Categories > Coding > Lua >

Running script upon rejoin

Posts: 5

Threads: 4

Joined: Mar, 2025

Reputation: 0

Posted

In my script i have a rejoin button and id want it to automatically just reload the script unpon rejoin instead of having to re run the script manually and not in autoexec,

 

would anyone have a code example?

using 

queue_on_teleport()
but when i want to runa s cript it gets stuck and dosent do it
  • 0

Posts: 605

Threads: 52

Joined: Oct, 2022

Reputation: 37

Replied

I saw infinite yield managed to do it successfully. But anyways, queue_on_teleport is one way to do it. The simple and the best way for sure.

Comments

wrdyz 0 Reputation

Commented

i did get the idea from it but didnt do it the same way but yeah def works

  • 0

  • 0

Languages - C++, C#,Javascript, HTML, CSS, Lua ,Xaml, Python

https://plutora.xyz/discord

Users viewing this thread:

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