Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local Players = game:GetService("Players")
- local Lighting = game:GetService("Lighting")
- local player = Players.LocalPlayer
- local character = player.Character or player.CharacterAdded:Wait()
- local humanoid = character:FindFirstChildOfClass("Humanoid")
- local correctKey = "RinnLover" -- The required password
- -- Create Key Input UI
- local KeyGui = Instance.new("ScreenGui")
- KeyGui.Parent = game.CoreGui
- local KeyFrame = Instance.new("Frame")
- KeyFrame.Size = UDim2.new(0, 250, 0, 150)
- KeyFrame.Position = UDim2.new(0.4, 0, 0.3, 0)
- KeyFrame.BackgroundColor3 = Color3.fromRGB(50, 50, 50)
- KeyFrame.Parent = KeyGui
- local KeyTitle = Instance.new("TextLabel")
- KeyTitle.Size = UDim2.new(1, 0, 0, 30)
- KeyTitle.BackgroundColor3 = Color3.fromRGB(30, 30, 30)
- KeyTitle.TextColor3 = Color3.fromRGB(255, 255, 255)
- KeyTitle.Text = "Enter Password"
- KeyTitle.Font = Enum.Font.SourceSansBold
- KeyTitle.TextSize = 18
- KeyTitle.Parent = KeyFrame
- local KeyBox = Instance.new("TextBox")
- KeyBox.Size = UDim2.new(0.8, 0, 0, 40)
- KeyBox.Position = UDim2.new(0.1, 0, 0.3, 0)
- KeyBox.PlaceholderText = "Enter Key..."
- KeyBox.Text = ""
- KeyBox.TextColor3 = Color3.fromRGB(0, 0, 0)
- KeyBox.Parent = KeyFrame
- local KeyButton = Instance.new("TextButton")
- KeyButton.Size = UDim2.new(0.8, 0, 0, 40)
- KeyButton.Position = UDim2.new(0.1, 0, 0.6, 0)
- KeyButton.Text = "Submit"
- KeyButton.BackgroundColor3 = Color3.fromRGB(60, 60, 60)
- KeyButton.TextColor3 = Color3.fromRGB(255, 255, 255)
- KeyButton.Parent = KeyFrame
- local ErrorLabel = Instance.new("TextLabel")
- ErrorLabel.Size = UDim2.new(1, 0, 0, 20)
- ErrorLabel.Position = UDim2.new(0, 0, 0.85, 0)
- ErrorLabel.Text = ""
- ErrorLabel.TextColor3 = Color3.fromRGB(255, 0, 0)
- ErrorLabel.BackgroundTransparency = 1
- ErrorLabel.Parent = KeyFrame
- -- Function to check key
- KeyButton.MouseButton1Click:Connect(function()
- if KeyBox.Text == correctKey then
- KeyGui:Destroy()
- -- Create Main UI
- local ScreenGui = Instance.new("ScreenGui")
- ScreenGui.Parent = game.CoreGui
- local Frame = Instance.new("Frame")
- Frame.Name = "MainFrame"
- Frame.Size = UDim2.new(0, 220, 0, 250)
- Frame.Position = UDim2.new(0.4, 0, 0.3, 0)
- Frame.BackgroundColor3 = Color3.fromRGB(40, 40, 40)
- Frame.Parent = ScreenGui
- local Title = Instance.new("TextLabel")
- Title.Size = UDim2.new(1, 0, 0, 30)
- Title.BackgroundColor3 = Color3.fromRGB(30, 30, 30)
- Title.TextColor3 = Color3.fromRGB(255, 255, 255)
- Title.Text = "rumanthan's hack!!!!"
- Title.Font = Enum.Font.SourceSansBold
- Title.TextSize = 18
- Title.Parent = Frame
- local ToggleButton = Instance.new("TextButton")
- ToggleButton.Size = UDim2.new(0, 100, 0, 30)
- ToggleButton.Position = UDim2.new(0.25, 0, 0, -40)
- ToggleButton.Text = "Toggle UI"
- ToggleButton.TextColor3 = Color3.fromRGB(255, 255, 255)
- ToggleButton.BackgroundColor3 = Color3.fromRGB(60, 60, 60)
- ToggleButton.Parent = Frame
- local CloseButton = Instance.new("TextButton")
- CloseButton.Size = UDim2.new(0, 100, 0, 30)
- CloseButton.Position = UDim2.new(0.25, 0, 0.85, 0)
- CloseButton.Text = "Close UI"
- CloseButton.TextColor3 = Color3.fromRGB(255, 255, 255)
- CloseButton.BackgroundColor3 = Color3.fromRGB(100, 30, 30)
- CloseButton.Parent = Frame
- local SkyboxButton = Instance.new("TextButton")
- SkyboxButton.Size = UDim2.new(0, 180, 0, 40)
- SkyboxButton.Position = UDim2.new(0.1, 0, 0.2, 0)
- SkyboxButton.Text = "Set Red Skybox"
- SkyboxButton.TextColor3 = Color3.fromRGB(255, 255, 255)
- SkyboxButton.BackgroundColor3 = Color3.fromRGB(150, 30, 30)
- SkyboxButton.Parent = Frame
- local SpeedButton = Instance.new("TextButton")
- SpeedButton.Size = UDim2.new(0, 180, 0, 40)
- SpeedButton.Position = UDim2.new(0.1, 0, 0.4, 0)
- SpeedButton.Text = "Increase Speed (100)"
- SpeedButton.TextColor3 = Color3.fromRGB(255, 255, 255)
- SpeedButton.BackgroundColor3 = Color3.fromRGB(30, 150, 30)
- SpeedButton.Parent = Frame
- local SlowButton = Instance.new("TextButton")
- SlowButton.Size = UDim2.new(0, 180, 0, 40)
- SlowButton.Position = UDim2.new(0.1, 0, 0.6, 0)
- SlowButton.Text = "Reduce Speed (10)"
- SlowButton.TextColor3 = Color3.fromRGB(255, 255, 255)
- SlowButton.BackgroundColor3 = Color3.fromRGB(30, 30, 150)
- SlowButton.Parent = Frame
- -- Button Functions
- SkyboxButton.MouseButton1Click:Connect(function()
- if not Lighting:FindFirstChild("CustomSkybox") then
- local sky = Instance.new("Sky")
- sky.Name = "CustomSkybox"
- sky.Parent = Lighting
- end
- local skybox = Lighting.CustomSkybox
- skybox.SkyboxBk = "rbxassetid://6070242200"
- skybox.SkyboxDn = "rbxassetid://6070242200"
- skybox.SkyboxFt = "rbxassetid://6070242200"
- skybox.SkyboxLf = "rbxassetid://6070242200"
- skybox.SkyboxRt = "rbxassetid://6070242200"
- skybox.SkyboxUp = "rbxassetid://6070242200"
- end)
- SpeedButton.MouseButton1Click:Connect(function()
- if humanoid then
- humanoid.WalkSpeed = 100
- end
- end)
- SlowButton.MouseButton1Click:Connect(function()
- if humanoid then
- humanoid.WalkSpeed = 10
- end
- end)
- CloseButton.MouseButton1Click:Connect(function()
- ScreenGui:Destroy()
- end)
- ToggleButton.MouseButton1Click:Connect(function()
- Frame.Visible = not Frame.Visible
- end)
- else
- ErrorLabel.Text = "Incorrect Password!"
- end
- end)
Add Comment
Please, Sign In to add comment