Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- wait(1)
- -- Objects
- local JailbreakBypass = Instance.new("ScreenGui")
- local Back_ground = Instance.new("Frame")
- local speed_button = Instance.new("TextButton")
- local gravity_button = Instance.new("TextButton")
- local ver_sion = Instance.new("TextLabel")
- -- Properties
- JailbreakBypass.Name = "JailbreakBypass"
- JailbreakBypass.Parent = game.CoreGui
- JailbreakBypass.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
- Back_ground.Name = "Back_ground"
- Back_ground.Parent = JailbreakBypass
- Back_ground.BackgroundColor3 = Color3.new(0.247059, 0.247059, 0.247059)
- Back_ground.BorderSizePixel = 0
- Back_ground.Position = UDim2.new(0.334793478, 0, 0.465301484, 0)
- Back_ground.Size = UDim2.new(0, 313, 0, 133)
- speed_button.Name = "speed_button"
- speed_button.Parent = Back_ground
- speed_button.BackgroundColor3 = Color3.new(0.247059, 0.247059, 0.247059)
- speed_button.BorderSizePixel = 0
- speed_button.Position = UDim2.new(0.0990415365, 0, 0.353383452, 0)
- speed_button.Size = UDim2.new(0, 114, 0, 38)
- speed_button.Font = Enum.Font.SourceSansLight
- speed_button.Text = "Speed"
- speed_button.TextColor3 = Color3.new(1, 1, 1)
- speed_button.TextScaled = true
- speed_button.TextSize = 14
- speed_button.TextWrapped = true
- gravity_button.Name = "gravity_button"
- gravity_button.Parent = Back_ground
- gravity_button.BackgroundColor3 = Color3.new(0.247059, 0.247059, 0.247059)
- gravity_button.BorderSizePixel = 0
- gravity_button.Position = UDim2.new(0.536741197, 0, 0.353383452, 0)
- gravity_button.Size = UDim2.new(0, 114, 0, 38)
- gravity_button.Font = Enum.Font.SourceSansLight
- gravity_button.Text = "Gravity"
- gravity_button.TextColor3 = Color3.new(1, 1, 1)
- gravity_button.TextScaled = true
- gravity_button.TextSize = 14
- gravity_button.TextWrapped = true
- ver_sion.Name = "ver_sion"
- ver_sion.Parent = Back_ground
- ver_sion.BackgroundColor3 = Color3.new(1, 1, 1)
- ver_sion.BackgroundTransparency = 1
- ver_sion.Position = UDim2.new(0, 0, 0.812030077, 0)
- ver_sion.Size = UDim2.new(0, 108, 0, 25)
- ver_sion.Font = Enum.Font.SourceSansLight
- ver_sion.Text = "v0.0.1"
- ver_sion.TextColor3 = Color3.new(0, 0, 0)
- ver_sion.TextScaled = true
- ver_sion.TextSize = 14
- ver_sion.TextWrapped = true
- ver_sion.TextXAlignment = Enum.TextXAlignment.Left
- speed_button.MouseButton1Click:connect(function()
- _G.WS = 100;
- local Humanoid = game:GetService("Players").LocalPlayer.Character.Humanoid;
- Humanoid:GetPropertyChangedSignal("WalkSpeed"):Connect(function()
- Humanoid.WalkSpeed = _G.WS;
- end)
- Humanoid.WalkSpeed = _G.WS;
- end)
- gravity_button.MouseButton1Click:connect(function()
- workspace.Gravity = 42
- end)
- local UserInputService,gui,dragging,dragInput,dragStart,startPos = game:GetService("UserInputService"),Back_ground
- local function update(input)
- local delta = input.Position - dragStart
- gui.Position = UDim2.new(startPos.X.Scale, startPos.X.Offset + delta.X, startPos.Y.Scale, startPos.Y.Offset + delta.Y)
- end
- gui.InputBegan:Connect(function(input)
- if input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.Touch then
- dragging = true
- dragStart = input.Position
- startPos = gui.Position
- input.Changed:Connect(function()
- if input.UserInputState == Enum.UserInputState.End then
- dragging = false
- end
- end)
- end
- end)
- gui.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)
- while true do
- wait(2)
- -- MADE BY KAMOV
- -- Put this script into GUI element, you want to change color of
- function TweenColor3(Object, Target, Time) -- [Object -> Selected element] [Target -> Color you want to get] [Time - Time length of loop]
- local CurrentColor3 = Object.BackgroundColor3 -- gets current color
- local Current_red = CurrentColor3.r -- gets value of red
- local Current_green = CurrentColor3.g -- gets value of green
- local Current_blue = CurrentColor3.b -- gets value of blue
- local Frames = Time * 60 -- 60 frames per second
- local TimeFrame = Time / Frames -- seconds per frame
- local Target_red = Target.r -- target value of red
- local Target_green = Target.g -- target value of green
- local Target_blue = Target.b -- target value of blue
- local Difference_red = Target_red - Current_red -- difference between current red and target red
- local Difference_green = Target_green - Current_green -- difference between current green and target green
- local Difference_blue = Target_blue - Current_blue -- difference between current blue and target blue
- local Red_frame = Difference_red / Frames -- this calculates how much to change value of red per frame
- local Green_frame = Difference_green / Frames -- this calculates how much to change value of green per frame
- local Blue_frame = Difference_blue / Frames -- this calculates how much to change value of blue per frame
- for i = 1, Frames do -- loop from 1 to number of all frames
- CurrentColor3 = Object.BackgroundColor3 -- this gets values of color every loop
- Current_red = CurrentColor3.r -- red
- Current_green = CurrentColor3.g -- green
- Current_blue = CurrentColor3.b -- blue
- Object.BackgroundColor3 = Color3.new(Current_red + Red_frame, Current_green + Green_frame, Current_blue + Blue_frame) -- this changes values of colors by the difference/frame calculated before
- wait(TimeFrame) -- wait for seconds/frame; in the end it results in total wait of # seconds you wanted
- end
- Object.BackgroundColor3 = Target -- in case some numbers rounded incorrectly
- end
- newColor = Color3.new(math.random(), math.random(), math.random(), math.random(), math.random(), math.random(), math.random(), math.random(), math.random(), math.random(), math.random(), math.random(), math.random(), math.random(), math.random(), math.random(), math.random(), math.random(), math.random(), math.random(), math.random(), math.random(), math.random(), math.random(), math.random(), math.random(), math.random(), math.random(), math.random(), math.random(), math.random(), math.random(), math.random(), math.random(), math.random(), math.random(), math.random(), math.random(), math.random(), math.random(), math.random(), math.random(), math.random(), math.random(), math.random(), math.random(), math.random(), math.random(), math.random(), math.random(), math.random(), math.random(), math.random(), math.random(), math.random(), math.random(), math.random(), math.random(), math.random(), math.random(), math.random(), math.random(), math.random(), math.random(), math.random(), math.random(), math.random(), math.random(), math.random(), math.random(), math.random(), math.random(), math.random(), math.random(), math.random(), math.random()) -- color you want to get
- TweenColor3(speed_button, newColor, 0.5) TweenColor3(gravity_button, newColor, 0.5) TweenColor3(gravity_button, newColor, 0.5)
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement