Categories > Exploiting > Roblox >

How do I loop this script

CJ99

CJ$

Posts: 187

Threads: 48

Joined: Sep, 2021

Reputation: -6

Posted

I want to loop this script so it can execute over and over again infinetly, but i dont know literally anything about lua.

 

local Char = game.Players.LocalPlayer.Character

Char.Head.Mesh.Parent = game.CoreGui
Char.Head:ClearAllChildren()
game.CoreGui.Mesh.Parent = Char.Head
Char.Head.Parent = game.Lighting
game.Lighting.Head.Parent = Char

For those wondering what this is, It removes the nametag above ur head so admins can't see it. However, When I respawn It comes back and admin's see it. That's why I made this thread.

  • 0

https://gyazo.com/9e36f19dea3a77fbcdc641f0276c4cd8

 

"I'll have two number 9s, a number 9 large, a number 6 with extra dip, a number 7, two number 45s, one with cheese, and a large soda."

Posts: 82

Threads: 11

Joined: Nov, 2018

Reputation: 8

Replied

Included some comments incase you wanted to learn sum.

Here you go:

-- LocalPlayer is used multiple times
local LP = game.Players.LocalPlayer
local character = LP.Character

-- A simple loop (as the one ThatPhoenix used)
-- But this time with a timeout cause else it would execute like
-- a thousand times a second (output = crash)
while wait() do
    if character == nil then
        -- this will reset the character variable
        -- in case the player reloads their character or gets killed
        character = LP.Character or
            LP.CharacterAdded:Wait() -- in-case the character is not ready yet, have the script wait for it.
    end

    --#original
    character.Head.Mesh.Parent = game.CoreGui
    character.Head:ClearAllChildren()
    game.CoreGui.Mesh.Parent = character.Head
    character.Head.Parent = game.Lighting
    game.Lighting.Head.Parent = character
    --#original
end
  • 0

GitHub: https://github.com/sound-infinity

Discord: SoundInfinity#2135

hookfunction

fake wumat

vip

Posts: 119

Threads: 15

Joined: Aug, 2021

Reputation: 18

Replied

if admins see it it means its server sided, u can only remove them on the client

  • 0

                                                                        https://cdn.discordapp.com/attachments/909012795851407390/927492917394821140/siggy.png

CJ99

CJ$

Posts: 187

Threads: 48

Joined: Sep, 2021

Reputation: -6

Replied

@69790its FE ur name actually gets removed op script

  • 0

Added

@36999Thanks :)

  • 0

https://gyazo.com/9e36f19dea3a77fbcdc641f0276c4cd8

 

"I'll have two number 9s, a number 9 large, a number 6 with extra dip, a number 7, two number 45s, one with cheese, and a large soda."

RiceUsesArchBtw

rice cracker

vip

Posts: 331

Threads: 17

Joined: Aug, 2021

Reputation: 37

Replied

@70352no it wont.

  • 0

https://cdn.discordapp.com/attachments/1023423265160560745/1132948683747500092/Frame_12x.png

hookfunction

fake wumat

vip

Posts: 119

Threads: 15

Joined: Aug, 2021

Reputation: 18

Replied

@CJ99 no it doesnt, this script removes it only on the client

  • 0

                                                                        https://cdn.discordapp.com/attachments/909012795851407390/927492917394821140/siggy.png

CJ99

CJ$

Posts: 187

Threads: 48

Joined: Sep, 2021

Reputation: -6

Replied

@hookfunction@69813My g, You can literally go test it in-game.

  • 0

https://gyazo.com/9e36f19dea3a77fbcdc641f0276c4cd8

 

"I'll have two number 9s, a number 9 large, a number 6 with extra dip, a number 7, two number 45s, one with cheese, and a large soda."

hookfunction

fake wumat

vip

Posts: 119

Threads: 15

Joined: Aug, 2021

Reputation: 18

Replied

@CJ99 if u remove something from a character in a exploit it only shows it for you :skull:

  • 0

                                                                        https://cdn.discordapp.com/attachments/909012795851407390/927492917394821140/siggy.png

CJ99

CJ$

Posts: 187

Threads: 48

Joined: Sep, 2021

Reputation: -6

Replied

@69813Can you literally go check it in-game and ask any person who has a decent amount of braincells if he can see your username

  • 0

https://gyazo.com/9e36f19dea3a77fbcdc641f0276c4cd8

 

"I'll have two number 9s, a number 9 large, a number 6 with extra dip, a number 7, two number 45s, one with cheese, and a large soda."

Posts: 56

Threads: 15

Joined: Sep, 2021

Reputation: -10

Replied

while true do
wait (.0)
local Char = game.Players.LocalPlayer.Character Char.Head.Mesh.Parent = game.CoreGui Char.Head:ClearAllChildren() game.CoreGui.Mesh.Parent = Char.Head Char.Head.Parent = game.Lighting game.Lighting.Head.Parent = Char

 

  • 0

Users viewing this thread:

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