Universal Script πŸ“Œ
732 Views
1.9k Executions

loop reset

Universal Script πŸ“Œ
gamzercat
gamzercatFirst script
3 months ago
Get an executor
Please login to perform these actions:

Does it work?

No reports yet

No reports yet. Tried it? Be the first to say.

Also noticed:

Description

auto reset loop ur welcome

View Raw
local player = game.Players.LocalPlayer
local UserInputService = game:GetService("UserInputService")

local running = false
local savedPosition = UDim2.new(0.5, -110, 0.5, -65)

local function resetPlr()
	if player.Character then
		player.Character:BreakJoints()
	end
end

local function createGUI()
	local oldGui = player.PlayerGui:FindFirstChild("ResetLoopGUI")

	-- Save the old GUI position before deleting it
	if oldGui then
		local oldFrame = oldGui:FindFirstChild("Frame")
		if oldFrame then
			savedPosition = oldFrame.Position
		end
		oldGui:Destroy()
	end

	local screenGui = Instance.new("ScreenGui")
	screenGui.Name = "ResetLoopGUI"
	screenGui.ResetOnSpawn = false
	screenGui.Parent = player:WaitForChild("PlayerGui")

	local frame = Instance.new("Frame")
	frame.Name = "Frame"
	frame.Size = UDim2.new(0, 220, 0, 130)
	frame.Position = savedPosition
	frame.BackgroundColor3 = Color3.fromRGB(40, 40, 40)
	frame.Active = true
	frame.Parent = screenGui

	Instance.new("UICorner", frame)

	local startButton = Instance.new("TextButton")


Comments

1
Log in to join the conversation. Login
gamzercat's profile picture
gamzercatUploader1 month ago

if u use this script like it or comment smt lmk

1

More universal scripts

See all
Universal Script πŸ“Œ
8.4k
32.8k
Bumped 1 minute ago
Key System
Universal Script πŸ“Œ
1.1k
2.7k
Bumped 17 minutes ago
Universal Script πŸ“Œ
1.3k
5.9k
Bumped 19 minutes ago
Script hub
22.0k
4.3k
Bumped 1 hour ago
Key System
Paid
High QualityΒ Offering
Universal Script πŸ“Œ
1.0k
2.2k
Bumped 2 hours ago
Universal Script πŸ“Œ
1.6k
5.9k
Bumped 2 hours ago
Script hub
164.7k
564.9k
Bumped 5 hours ago
Key System

Script hub

Hall of Fame #6

Verified script badgeAcro Hub OP SCRIPT

Script hub
3.0k
3.8k
Bumped 6 hours ago