ADVERTISEMENTREMOVE ADS
BetterRefresh Inf Yeild plugin
54,652 views
Universal script•
1 year ago

Script Preview
Description
Yeah i got bored and made this so it just reset and tp back to old pos
Features:
- Better Refresh No Cap
ADVERTISEMENTREMOVE ADS
44 Lines • 1.43 KiB
Verified
local Plugin = {
["PluginName"] = "betterrefresh",
["PluginDescription"] = "Plugin Made by 3itx",
["Commands"] = {
["betterrefresh"] = {
["ListName"] = "betterrefresh / br / r",
["Description"] = "Made by 3itx",
["Aliases"] = {"betterrefresh", "br", "r"},
["Function"] = function(args, speaker)
local Players = game:GetService("Players")
-- Variable to store the respawn position
local respawnPosition
-- Function to teleport the player back to the saved position
local function teleportToRespawnPosition()
local player = Players.LocalPlayer
if respawnPosition then
player.Character:WaitForChild("HumanoidRootPart").CFrame = respawnPosition end
end
Players.LocalPlayer.CharacterAdded:Connect(function(character)
-- Save the respawn position when the character is added
if respawnPosition then
teleportToRespawnPosition() end
end)
Players.LocalPlayer.CharacterRemoving:Connect(function(character)
-- Save the respawn position when the character is removed (before respawning)
if character and character:FindFirstChild("HumanoidRootPart") then
respawnPosition = character:WaitForChild("HumanoidRootPart").CFrame
end
end)
local humanoid = Players.LocalPlayer.Character:FindFirstChildOfClass("Humanoid")
if humanoid then
humanoid.Health = 0
end
end
}
}
}
return Plugin
ADVERTISEMENTREMOVE ADS
ADVERTISEMENTREMOVE ADS







Comments
how tf did you misspell yield 😭
@HannaeAltae stfu >:(
@3itx :( y u so mean
@HannaeAltae blud u bullying me :(
@3itx nuh uh