Gubby Script not FE
Key RequiredUniversal

Gubby Script not FE

Universal Scriptakramfrlmaoakramfrlmao 7.7K views 57 executesUpdated Jun 6, 2025
5.0/ 5(2 votes)
20100% Positive
Lua Script•161 lines (4401 chars)
local Players = game:GetService("Players")
local PhysicsService = game:GetService("PhysicsService")
local localPlayer = Players.LocalPlayer
local userId = 5194045751 -- New user's UserId

-- Create Gubby bot
local function createGubbyBot()
	local bot = Players:CreateHumanoidModelFromUserId(userId)
	bot.Name = "Gubby"
	bot.Parent = workspace

	local humanoid = bot:WaitForChild("Humanoid")
	local hrp = bot:WaitForChild("HumanoidRootPart")
	humanoid.DisplayName = " "
	humanoid.WalkSpeed = 14

	local soundIds = {
		"rbxassetid://6715870978",
		"rbxassetid://9118862378"
	}

	task.spawn(function()
		while true do
			task.wait(math.random(1, 10))
			local s = Instance.new("Sound", bot)
			s.SoundId = soundIds[math.random(1, #soundIds)]
			s.PlaybackSpeed = ({0.7, 1, 1.5})[math.random(1, 3)]
			s.Volume = 1
			s:Play()
			s.Ended:Connect(function() s:Destroy() end)
		end
	end)

	task.spawn(function()
		while true do
			task.wait(math.random(1, 4))
			humanoid.Jump = true
		end
	end)

	return bot, hrp, humanoid
end

-- Gubby instance
local bot, hrp, humanoid = createGubbyBot()

local followPlayer = true
local randomWalk = false

-- Movement logic
task.spawn(function()
	while true do
		local char = localPlayer.Character or localPlayer.CharacterAdded:Wait()
		local root = char:FindFirstChild("HumanoidRootPart")
		if root and hrp then
			if not char:FindFirstChild("Humanoid") or char:FindFirstChild("Humanoid").Health <= 0 then
				repeat task.wait() until char:FindFirstChild("Humanoid") and char.Humanoid.Health > 0
			end
			local dist = (hrp.Position - root.Position).Magnitude
			if dist > 100 then
				bot:SetPrimaryPartCFrame(root.CFrame * CFrame.new(2, 0, 2))
			elseif followPlayer then
				humanoid:MoveTo(root.Position)
			elseif randomWalk then
				local randomPos = Vector3.new(
					math.random(-50, 50),
					hrp.Position.Y,
					math.random(-50, 50)
				)
				humanoid:MoveTo(randomPos)
				task.wait(5)
			end
		end
		task.wait(0.5)
	end
end)

-- GUI
local gui = Instance.new("ScreenGui", game:GetService("CoreGui"))
gui.Name = "GubbyGui"

local uicorner = function(parent)
	local c = Instance.new("UICorner")
	c.CornerRadius = UDim.new(0, 12)
	c.Parent = parent
end

local stroke = function(parent)
	local s = Instance.new("UIStroke")
	s.Thickness = 2
	s.Color = Color3.fromRGB(0, 255, 255)
	s.Parent = parent
end

local frame = Instance.new("Frame", gui)
frame.Size = UDim2.new(0, 220, 0, 140)
frame.Position = UDim2.new(0.5, -110, 0.8, -80)
frame.BackgroundColor3 = Color3.fromRGB(20, 20, 20)
frame.Active = true
frame.Draggable = true
uicorner(frame)
stroke(frame)

local title = Instance.new("TextLabel", frame)
title.Size = UDim2.new(1, 0, 0, 30)
title.Position = UDim2.new(0, 0, 0, 0)
title.BackgroundTransparency = 1
title.Text = "Gubby Controls"
title.Font = Enum.Font.GothamBold
title.TextSize = 20
title.TextColor3 = Color3.fromRGB(255, 255, 255)

local followButton = Instance.new("TextButton", frame)
followButton.Size = UDim2.new(0.9, 0, 0, 40)
followButton.Position = UDim2.new(0.05, 0, 0, 40)
followButton.Text = "Let Gubby Walk Around :)"
followButton.BackgroundColor3 = Color3.fromRGB(30, 30, 30)
followButton.TextColor3 = Color3.fromRGB(255, 255, 255)
followButton.Font = Enum.Font.GothamBold
followButton.TextSize = 16
uicorner(followButton)
stroke(followButton)

followButton.MouseButton1Click:Connect(function()
	if followPlayer then
		followPlayer = false
		randomWalk = true
		followButton.Text = "Let Gubby Follow You :)"
	else
		followPlayer = true
		randomWalk = false
		followButton.Text = "Let Gubby Walk Around :)"
	end
end)

local tpButton = Instance.new("TextButton", frame)
tpButton.Size = UDim2.new(0.9, 0, 0, 40)
tpButton.Position = UDim2.new(0.05, 0, 0, 90)
tpButton.Text = "Teleport Gubby"
tpButton.BackgroundColor3 = Color3.fromRGB(30, 30, 30)
tpButton.TextColor3 = Color3.fromRGB(255, 255, 255)
tpButton.Font = Enum.Font.GothamBold
tpButton.TextSize = 16
uicorner(tpButton)
stroke(tpButton)

tpButton.MouseButton1Click:Connect(function()
	local char = localPlayer.Character
	local root = char and char:FindFirstChild("HumanoidRootPart")
	if root and hrp then
		bot:SetPrimaryPartCFrame(root.CFrame * CFrame.new(2, 0, 2))
	end
end)

-- Notification
game:GetService("StarterGui"):SetCore("SendNotification", {
	Title = "Made By Becker, Edited by akram
	Text = "Gubby is here! Enjoy!",
	Icon = "rbxassetid://6715870978",
	Duration = 5
})

Features & Information

You can make the gubby follow you or wander and you can teleport it to you and if not gubby change ID and gubby works in most games :D

Community Comments (7)

akramfrlmaoakramfrlmaoJun 6, 2025

if there is any problems say it in comments

Not_SafeNot_SafeJun 6, 2025

W AI Script

ma7dofma7dofJun 6, 2025

This is why roblox exploiting exists. Solely FOR THIS

akramfrlmaoakramfrlmaoJun 7, 2025

yall are so funny omg

Dummy_thenocDummy_thenocJun 12, 2025

This is why i use exploits

KireilkKireilkJun 23, 2025

Wheres the loadstring tho?

hehe1_23hehe1_23Jul 26, 2025

Uh loadstring where is it?

More Scripts for Universal Scripts