ADVERTISEMENTREMOVE ADS
Roblox egor script
47,637 views
Universal script•
2 months ago

Script Preview
ADVERTISEMENTREMOVE ADS
195 Lines • 6.86 KiB
loadstring([[
local Players = game:GetService("Players")
local RunService = game:GetService("RunService")
local UserInputService = game:GetService("UserInputService")
local TweenService = game:GetService("TweenService")
local p = Players.LocalPlayer
local normalSpeed, speedHackSpeed, runInPlaceSpeed = 16, 16 * 15, 250
local runInPlaceEnabled, speedHackEnabled, auraEnabled, menuOpen = false, false, false, false
local screenGui = Instance.new("ScreenGui", p:WaitForChild("PlayerGui"))
screenGui.Name = "RunAndSpeedUI"
screenGui.ResetOnSpawn = false
local overlay = Instance.new("Frame", screenGui)
overlay.BackgroundColor3 = Color3.new(0, 0, 0)
overlay.Size = UDim2.new(1, 0, 1, 0)
overlay.BackgroundTransparency = 1
overlay.ZIndex = 10
local textLabel = Instance.new("TextLabel", overlay)
textLabel.Size = UDim2.new(1, 0, 0.9, 0)
textLabel.Position = UDim2.new(0, 0, 0, 0)
textLabel.BackgroundTransparency = 1
textLabel.TextColor3 = Color3.new(1, 1, 1)
textLabel.TextScaled = true
textLabel.Font = Enum.Font.GothamBold
textLabel.Text = "Roblox egor script"
textLabel.TextTransparency = 1
textLabel.ZIndex = 11
local smallLabel = Instance.new("TextLabel", overlay)
smallLabel.Size = UDim2.new(1, 0, 0.1, 0)
smallLabel.Position = UDim2.new(0, 0, 0.9, 0)
smallLabel.BackgroundTransparency = 1
smallLabel.TextColor3 = Color3.new(1, 1, 1)
smallLabel.TextScaled = true
smallLabel.Font = Enum.Font.Gotham
smallLabel.Text = "by Alex"
smallLabel.TextTransparency = 1
smallLabel.ZIndex = 11
local tInfo = TweenInfo.new(1.5)
TweenService:Create(overlay, tInfo, {BackgroundTransparency = 0}):Play()
TweenService:Create(textLabel, tInfo, {TextTransparency = 0}):Play()
TweenService:Create(smallLabel, tInfo, {TextTransparency = 0}):Play()
task.wait(3)
TweenService:Create(overlay, tInfo, {BackgroundTransparency = 1}):Play()
TweenService:Create(textLabel, tInfo, {TextTransparency = 1}):Play()
TweenService:Create(smallLabel, tInfo, {TextTransparency = 1}):Play()
task.wait(1.5)
overlay:Destroy()
local function createButton(name, size, pos, color, text, parent)
local btn = Instance.new("TextButton")
btn.Name = name
btn.Size = size
btn.Position = pos
btn.BackgroundColor3 = color
btn.Text = text
btn.TextColor3 = Color3.new(1, 1, 1)
btn.TextScaled = true
btn.Visible = false
btn.Parent = parent
return btn
end
local menuButton = createButton("MenuButton", UDim2.new(0, 40, 0, 40), UDim2.new(0.5, -20, 0, 0), Color3.new(0, 0, 1), "≡", screenGui)
menuButton.Visible = true
menuButton.BackgroundTransparency = 1
menuButton.TextTransparency = 1
TweenService:Create(menuButton, tInfo, {BackgroundTransparency = 0, TextTransparency = 0}):Play()
local runButton = createButton("RunButton", UDim2.new(0, 100, 0, 40), UDim2.new(0.5, -160, 0, 50), Color3.new(1, 0, 0), "Run OFF", screenGui)
local speedButton = createButton("SpeedButton", UDim2.new(0, 120, 0, 40), UDim2.new(0.5, -60, 0, 50), Color3.new(1, 0, 0), "Speed Hack OFF", screenGui)
local auraButton = createButton("AuraButton", UDim2.new(0, 100, 0, 40), UDim2.new(0.5, 70, 0, 50), Color3.new(0, 0, 1), "Aura OFF", screenGui)
local function enableDragging(button)
local dragging, dragInput, dragStart, startPos
local function update(input)
local delta = input.Position - dragStart
button.Position = UDim2.new(startPos.X.Scale, startPos.X.Offset + delta.X, startPos.Y.Scale, startPos.Y.Offset + delta.Y)
end
button.InputBegan:Connect(function(input)
if input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.Touch then
dragging = true
dragStart = input.Position
startPos = button.Position
input.Changed:Connect(function()
if input.UserInputState == Enum.UserInputState.End then dragging = false end
end)
end
end)
button.InputChanged:Connect(function(input)
if input.UserInputType == Enum.UserInputType.MouseMovement or input.UserInputType == Enum.UserInputType.Touch then
dragInput = input
end
end)
UserInputService.InputChanged:Connect(function(input)
if input == dragInput and dragging then
update(input)
end
end)
end
for _, btn in pairs({menuButton, runButton, speedButton, auraButton}) do
enableDragging(btn)
end
local aura, hrp, humanoid, originalCFrame
local function toggleNoclip(state)
if humanoid and humanoid.Parent then
for _, v in ipairs(humanoid.Parent:GetDescendants()) do
if v:IsA("BasePart") then
v.CanCollide = not state
end
end
end
end
local function setupCharacter(char)
hrp = char:WaitForChild("HumanoidRootPart")
humanoid = char:WaitForChild("Humanoid")
humanoid.WalkSpeed = normalSpeed
runInPlaceEnabled = false
speedHackEnabled = false
auraEnabled = false
menuOpen = false
runButton.Text = "Run OFF"
speedButton.Text = "Speed Hack OFF"
auraButton.Text = "Aura OFF"
runButton.Visible = false
speedButton.Visible = false
auraButton.Visible = false
menuButton.Position = UDim2.new(0.5, -20, 0, 0)
originalCFrame = hrp.CFrame
if aura then aura:Destroy() end
aura = Instance.new("ParticleEmitter")
aura.Color = ColorSequence.new(Color3.fromRGB(120,0,255), Color3.fromRGB(0,0,255))
aura.LightEmission = 0.8
aura.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,1),NumberSequenceKeypoint.new(0.5,2),NumberSequenceKeypoint.new(1,1)})
aura.Transparency = NumberSequence.new(0.3)
aura.Rate = 50
aura.Lifetime = NumberRange.new(0.5,1.2)
aura.Speed = NumberRange.new(0,0)
aura.SpreadAngle = Vector2.new(360,360)
aura.Texture = "rbxassetid://241594419"
aura.Enabled = false
aura.Parent = hrp
end
menuButton.MouseButton1Click:Connect(function()
menuOpen = not menuOpen
runButton.Visible = menuOpen
speedButton.Visible = menuOpen
auraButton.Visible = menuOpen
end)
runButton.MouseButton1Click:Connect(function()
runInPlaceEnabled = not runInPlaceEnabled
runButton.Text = runInPlaceEnabled and "Run ON" or "Run OFF"
if humanoid then
humanoid.WalkSpeed = runInPlaceEnabled and runInPlaceSpeed or (speedHackEnabled and speedHackSpeed or normalSpeed)
end
toggleNoclip(runInPlaceEnabled)
end)
speedButton.MouseButton1Click:Connect(function()
speedHackEnabled = not speedHackEnabled
speedButton.Text = speedHackEnabled and "Speed Hack ON" or "Speed Hack OFF"
if humanoid and not runInPlaceEnabled then
humanoid.WalkSpeed = speedHackEnabled and speedHackSpeed or normalSpeed
end
end)
auraButton.MouseButton1Click:Connect(function()
auraEnabled = not auraEnabled
auraButton.Text = auraEnabled and "Aura ON" or "Aura OFF"
if aura then aura.Enabled = auraEnabled end
end)
RunService.RenderStepped:Connect(function()
if hrp and humanoid then
if runInPlaceEnabled and humanoid.MoveDirection.Magnitude > 0 then
hrp.CFrame = originalCFrame
else
originalCFrame = hrp.CFrame
end
end
end)
p.CharacterAdded:Connect(setupCharacter)
if p.Character then setupCharacter(p.Character) end
]])()
ADVERTISEMENTREMOVE ADS
ADVERTISEMENTREMOVE ADS







Comments
cool script