Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local ShindoGuiAvakir = Instance.new("ScreenGui")
- local Main = Instance.new("Frame")
- local UICorner = Instance.new("UICorner")
- local Frame = Instance.new("Frame")
- local UICorner_2 = Instance.new("UICorner")
- local UIAspectRatioConstraint = Instance.new("UIAspectRatioConstraint")
- local patch = Instance.new("Frame")
- local UICorner_3 = Instance.new("UICorner")
- local ImageLabel = Instance.new("ImageLabel")
- local TextLabel = Instance.new("TextLabel")
- local Frame_2 = Instance.new("Frame")
- local UICorner_4 = Instance.new("UICorner")
- local TextLabel_2 = Instance.new("TextLabel")
- local tab_Scroll = Instance.new("Frame")
- local UICorner_5 = Instance.new("UICorner")
- local State = Instance.new("Frame")
- local UICorner_6 = Instance.new("UICorner")
- local TextLabel_3 = Instance.new("TextLabel")
- local Frame_3 = Instance.new("Frame")
- local UICorner_7 = Instance.new("UICorner")
- local TextButton = Instance.new("TextButton")
- local UICorner_8 = Instance.new("UICorner")
- local TextLabel_4 = Instance.new("TextLabel")
- local Settings = Instance.new("Frame")
- local UICorner_9 = Instance.new("UICorner")
- local TextLabel_5 = Instance.new("TextLabel")
- local Frame_4 = Instance.new("Frame")
- local UICorner_10 = Instance.new("UICorner")
- local TextButton_2 = Instance.new("TextButton")
- local UICorner_11 = Instance.new("UICorner")
- local TextLabel_6 = Instance.new("TextLabel")
- local Frame_5 = Instance.new("Frame")
- local UICorner_12 = Instance.new("UICorner")
- local TextButton_3 = Instance.new("TextButton")
- local TextLabel_7 = Instance.new("TextLabel")
- local ImageLabel_2 = Instance.new("ImageLabel")
- local settings = Instance.new("TextButton")
- local UICorner_13 = Instance.new("UICorner")
- local quest = Instance.new("TextButton")
- local UICorner_14 = Instance.new("UICorner")
- local ImageLabel_3 = Instance.new("ImageLabel")
- local spin = Instance.new("TextButton")
- local UICorner_15 = Instance.new("UICorner")
- local ImageLabel_4 = Instance.new("ImageLabel")
- local scroll = Instance.new("TextButton")
- local UICorner_16 = Instance.new("UICorner")
- local ImageLabel_5 = Instance.new("ImageLabel")
- local misc = Instance.new("TextButton")
- local UICorner_17 = Instance.new("UICorner")
- local ImageLabel_6 = Instance.new("ImageLabel")
- local user = Instance.new("ImageLabel")
- local UICorner_18 = Instance.new("UICorner")
- local welcome = Instance.new("TextLabel")
- --Properties:
- ShindoGuiAvakir.Name = "Shindo Gui - Avakir"
- ShindoGuiAvakir.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui")
- Main.Name = "Main"
- Main.Parent = ShindoGuiAvakir
- Main.BackgroundColor3 = Color3.fromRGB(30, 29, 65)
- Main.Position = UDim2.new(0.284287721, -50, 0.187535688, -50)
- Main.Size = UDim2.new(0, 831, 0, 607)
- UICorner.CornerRadius = UDim.new(0, 20)
- UICorner.Parent = Main
- Frame.Parent = Main
- Frame.BackgroundColor3 = Color3.fromRGB(43, 42, 102)
- Frame.Position = UDim2.new(-0.0120416153, 0, -2.2093978e-10, 0)
- Frame.Size = UDim2.new(0, 806, 0, 607)
- Frame.ZIndex = 0
- UICorner_2.CornerRadius = UDim.new(0, 20)
- UICorner_2.Parent = Frame
- UIAspectRatioConstraint.Parent = Frame
- UIAspectRatioConstraint.AspectRatio = 1.328
- patch.Name = "patch"
- patch.Parent = Main
- patch.BackgroundColor3 = Color3.fromRGB(37, 38, 79)
- patch.Position = UDim2.new(0.0176233053, 0, 0.630816102, 0)
- patch.Size = UDim2.new(0, 143, 0, 211)
- patch.ZIndex = 3
- UICorner_3.CornerRadius = UDim.new(0, 20)
- UICorner_3.Parent = patch
- ImageLabel.Parent = patch
- ImageLabel.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- ImageLabel.BackgroundTransparency = 1.000
- ImageLabel.Position = UDim2.new(0.318627536, 0, 0.0534427166, 0)
- ImageLabel.Size = UDim2.new(0, 49, 0, 49)
- ImageLabel.ZIndex = 3
- ImageLabel.Image = "rbxassetid://6522374931"
- TextLabel.Parent = patch
- TextLabel.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- TextLabel.BackgroundTransparency = 1.000
- TextLabel.Position = UDim2.new(0.0890353322, 0, 0.284255415, 0)
- TextLabel.Size = UDim2.new(0, 113, 0, 50)
- TextLabel.ZIndex = 3
- TextLabel.Font = Enum.Font.Roboto
- TextLabel.Text = "Version 0.6"
- TextLabel.TextColor3 = Color3.fromRGB(255, 255, 255)
- TextLabel.TextSize = 15.000
- Frame_2.Parent = patch
- Frame_2.BackgroundColor3 = Color3.fromRGB(87, 81, 192)
- Frame_2.Position = UDim2.new(0.208968014, 0, 0.519807398, 0)
- Frame_2.Size = UDim2.new(0, 10, 0, 10)
- Frame_2.ZIndex = 3
- UICorner_4.CornerRadius = UDim.new(0, 50)
- UICorner_4.Parent = Frame_2
- TextLabel_2.Parent = patch
- TextLabel_2.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- TextLabel_2.BackgroundTransparency = 1.000
- TextLabel_2.Position = UDim2.new(0.284839571, 0, 0.421696246, 0)
- TextLabel_2.Size = UDim2.new(0, 57, 0, 50)
- TextLabel_2.ZIndex = 3
- TextLabel_2.Font = Enum.Font.Roboto
- TextLabel_2.Text = "New Ui"
- TextLabel_2.TextColor3 = Color3.fromRGB(255, 255, 255)
- TextLabel_2.TextSize = 15.000
- tab_Scroll.Name = "tab_Scroll"
- tab_Scroll.Parent = Main
- tab_Scroll.BackgroundColor3 = Color3.fromRGB(20, 20, 49)
- tab_Scroll.Position = UDim2.new(0.279987931, -50, 0.206728205, -50)
- tab_Scroll.Size = UDim2.new(0, 403, 0, 519)
- UICorner_5.CornerRadius = UDim.new(0, 20)
- UICorner_5.Parent = tab_Scroll
- State.Name = "State"
- State.Parent = tab_Scroll
- State.BackgroundColor3 = Color3.fromRGB(37, 38, 79)
- State.Position = UDim2.new(0.0521091819, 0, 0.0231214464, 0)
- State.Size = UDim2.new(0, 186, 0, 87)
- UICorner_6.CornerRadius = UDim.new(0, 20)
- UICorner_6.Parent = State
- TextLabel_3.Parent = State
- TextLabel_3.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- TextLabel_3.BackgroundTransparency = 1.000
- TextLabel_3.Position = UDim2.new(0.0399142653, 0, 0.206114352, 0)
- TextLabel_3.Size = UDim2.new(0, 59, 0, 50)
- TextLabel_3.ZIndex = 2
- TextLabel_3.Font = Enum.Font.Roboto
- TextLabel_3.Text = "Enabled"
- TextLabel_3.TextColor3 = Color3.fromRGB(255, 255, 255)
- TextLabel_3.TextSize = 15.000
- TextLabel_3.TextXAlignment = Enum.TextXAlignment.Left
- Frame_3.Parent = State
- Frame_3.BackgroundColor3 = Color3.fromRGB(30, 29, 65)
- Frame_3.Position = UDim2.new(0.586021543, 0, 0.356853426, 0)
- Frame_3.Size = UDim2.new(0, 67, 0, 24)
- Frame_3.ZIndex = 2
- UICorner_7.CornerRadius = UDim.new(0, 20)
- UICorner_7.Parent = Frame_3
- TextButton.Parent = State
- TextButton.BackgroundColor3 = Color3.fromRGB(108, 107, 159)
- TextButton.Position = UDim2.new(0.745999992, 0, 0.356999993, 0)
- TextButton.Size = UDim2.new(0, 37, 0, 24)
- TextButton.ZIndex = 3
- TextButton.Font = Enum.Font.Roboto
- TextButton.Text = ""
- TextButton.TextColor3 = Color3.fromRGB(255, 255, 255)
- TextButton.TextSize = 1.000
- UICorner_8.CornerRadius = UDim.new(0, 20)
- UICorner_8.Parent = TextButton
- TextLabel_4.Parent = State
- TextLabel_4.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- TextLabel_4.BackgroundTransparency = 1.000
- TextLabel_4.Position = UDim2.new(0.195414662, 0, -0.143762723, 0)
- TextLabel_4.Size = UDim2.new(0, 112, 0, 50)
- TextLabel_4.ZIndex = 2
- TextLabel_4.Font = Enum.Font.Roboto
- TextLabel_4.Text = "State"
- TextLabel_4.TextColor3 = Color3.fromRGB(255, 255, 255)
- TextLabel_4.TextSize = 20.000
- Settings.Name = "Settings"
- Settings.Parent = tab_Scroll
- Settings.BackgroundColor3 = Color3.fromRGB(37, 38, 79)
- Settings.Position = UDim2.new(0.0521091819, 0, 0.213872895, 0)
- Settings.Size = UDim2.new(0, 186, 0, 169)
- UICorner_9.CornerRadius = UDim.new(0, 20)
- UICorner_9.Parent = Settings
- TextLabel_5.Parent = Settings
- TextLabel_5.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- TextLabel_5.BackgroundTransparency = 1.000
- TextLabel_5.Position = UDim2.new(0.0399142653, 0, 0.142518356, 0)
- TextLabel_5.Size = UDim2.new(0, 59, 0, 50)
- TextLabel_5.ZIndex = 2
- TextLabel_5.Font = Enum.Font.Roboto
- TextLabel_5.Text = "Unlock Scroll"
- TextLabel_5.TextColor3 = Color3.fromRGB(255, 255, 255)
- TextLabel_5.TextSize = 15.000
- TextLabel_5.TextXAlignment = Enum.TextXAlignment.Left
- Frame_4.Parent = Settings
- Frame_4.BackgroundColor3 = Color3.fromRGB(30, 29, 65)
- Frame_4.Position = UDim2.new(0.586021543, 0, 0.22200188, 0)
- Frame_4.Size = UDim2.new(0, 67, 0, 24)
- Frame_4.ZIndex = 2
- UICorner_10.CornerRadius = UDim.new(0, 20)
- UICorner_10.Parent = Frame_4
- TextButton_2.Parent = Settings
- TextButton_2.BackgroundColor3 = Color3.fromRGB(108, 107, 159)
- TextButton_2.Position = UDim2.new(0.746484637, 0, 0.220758691, 0)
- TextButton_2.Size = UDim2.new(0, 37, 0, 24)
- TextButton_2.ZIndex = 2
- TextButton_2.Font = Enum.Font.Roboto
- TextButton_2.Text = ""
- TextButton_2.TextColor3 = Color3.fromRGB(255, 255, 255)
- TextButton_2.TextSize = 1.000
- UICorner_11.CornerRadius = UDim.new(0, 20)
- UICorner_11.Parent = TextButton_2
- TextLabel_6.Parent = Settings
- TextLabel_6.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- TextLabel_6.BackgroundTransparency = 1.000
- TextLabel_6.Position = UDim2.new(0.0374328792, 0, 0.350040793, 0)
- TextLabel_6.Size = UDim2.new(0, 59, 0, 50)
- TextLabel_6.ZIndex = 2
- TextLabel_6.Font = Enum.Font.Roboto
- TextLabel_6.Text = "Place"
- TextLabel_6.TextColor3 = Color3.fromRGB(255, 255, 255)
- TextLabel_6.TextSize = 15.000
- TextLabel_6.TextXAlignment = Enum.TextXAlignment.Left
- Frame_5.Parent = Settings
- Frame_5.BackgroundColor3 = Color3.fromRGB(30, 29, 65)
- Frame_5.Position = UDim2.new(0.586021543, 0, 0.421680391, 0)
- Frame_5.Size = UDim2.new(0, 67, 0, 24)
- Frame_5.ZIndex = 2
- UICorner_12.CornerRadius = UDim.new(0, 20)
- UICorner_12.Parent = Frame_5
- TextButton_3.Parent = Settings
- TextButton_3.BackgroundColor3 = Color3.fromRGB(108, 107, 159)
- TextButton_3.BackgroundTransparency = 1.000
- TextButton_3.Position = UDim2.new(0.808519423, 0, 0.421680331, 0)
- TextButton_3.Size = UDim2.new(0, 25, 0, 24)
- TextButton_3.ZIndex = 2
- TextButton_3.Font = Enum.Font.Roboto
- TextButton_3.Text = "+"
- TextButton_3.TextColor3 = Color3.fromRGB(108, 107, 159)
- TextButton_3.TextSize = 20.000
- TextLabel_7.Parent = Settings
- TextLabel_7.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- TextLabel_7.BackgroundTransparency = 1.000
- TextLabel_7.Position = UDim2.new(0.195414662, 0, -0.0721867532, 0)
- TextLabel_7.Size = UDim2.new(0, 112, 0, 50)
- TextLabel_7.ZIndex = 2
- TextLabel_7.Font = Enum.Font.Roboto
- TextLabel_7.Text = "Settings"
- TextLabel_7.TextColor3 = Color3.fromRGB(255, 255, 255)
- TextLabel_7.TextSize = 20.000
- ImageLabel_2.Parent = Main
- ImageLabel_2.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- ImageLabel_2.BackgroundTransparency = 1.000
- ImageLabel_2.Position = UDim2.new(0.0295173638, 0, 0.144040257, 0)
- ImageLabel_2.Size = UDim2.new(0, 25, 0, 25)
- ImageLabel_2.ZIndex = 3
- ImageLabel_2.Image = "rbxassetid://6522439236"
- settings.Name = "settings"
- settings.Parent = Main
- settings.BackgroundColor3 = Color3.fromRGB(30, 29, 65)
- settings.Position = UDim2.new(0.0126728117, 0, 0.12435589, 0)
- settings.Size = UDim2.new(0, 151, 0, 50)
- settings.Font = Enum.Font.Roboto
- settings.Text = "Settings"
- settings.TextColor3 = Color3.fromRGB(255, 255, 255)
- settings.TextSize = 15.000
- UICorner_13.CornerRadius = UDim.new(0, 20)
- UICorner_13.Parent = settings
- quest.Name = "quest"
- quest.Parent = Main
- quest.BackgroundColor3 = Color3.fromRGB(30, 29, 65)
- quest.Position = UDim2.new(0.0126728117, 0, 0.205080777, 0)
- quest.Size = UDim2.new(0, 151, 0, 50)
- quest.Font = Enum.Font.Roboto
- quest.Text = "Quest"
- quest.TextColor3 = Color3.fromRGB(255, 255, 255)
- quest.TextSize = 15.000
- UICorner_14.CornerRadius = UDim.new(0, 20)
- UICorner_14.Parent = quest
- ImageLabel_3.Parent = Main
- ImageLabel_3.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- ImageLabel_3.BackgroundTransparency = 1.000
- ImageLabel_3.Position = UDim2.new(0.0295173638, 0, 0.224765137, 0)
- ImageLabel_3.Size = UDim2.new(0, 25, 0, 25)
- ImageLabel_3.ZIndex = 3
- ImageLabel_3.Image = "rbxassetid://6522456199"
- spin.Name = "spin"
- spin.Parent = Main
- spin.BackgroundColor3 = Color3.fromRGB(30, 29, 65)
- spin.Position = UDim2.new(0.0126728117, 0, 0.287453115, 0)
- spin.Size = UDim2.new(0, 151, 0, 50)
- spin.Font = Enum.Font.Roboto
- spin.Text = "Spin"
- spin.TextColor3 = Color3.fromRGB(255, 255, 255)
- spin.TextSize = 15.000
- UICorner_15.CornerRadius = UDim.new(0, 20)
- UICorner_15.Parent = spin
- ImageLabel_4.Parent = Main
- ImageLabel_4.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- ImageLabel_4.BackgroundTransparency = 1.000
- ImageLabel_4.Position = UDim2.new(0.0295173638, 0, 0.30713746, 0)
- ImageLabel_4.Size = UDim2.new(0, 25, 0, 25)
- ImageLabel_4.ZIndex = 3
- ImageLabel_4.Image = "rbxassetid://6522466353"
- scroll.Name = "scroll"
- scroll.Parent = Main
- scroll.BackgroundColor3 = Color3.fromRGB(30, 29, 65)
- scroll.Position = UDim2.new(0.0126728117, 0, 0.369825423, 0)
- scroll.Size = UDim2.new(0, 151, 0, 50)
- scroll.Font = Enum.Font.Roboto
- scroll.Text = "Scroll"
- scroll.TextColor3 = Color3.fromRGB(255, 255, 255)
- scroll.TextSize = 15.000
- UICorner_16.CornerRadius = UDim.new(0, 20)
- UICorner_16.Parent = scroll
- ImageLabel_5.Parent = Main
- ImageLabel_5.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- ImageLabel_5.BackgroundTransparency = 1.000
- ImageLabel_5.Position = UDim2.new(0.0295173638, 0, 0.389509797, 0)
- ImageLabel_5.Size = UDim2.new(0, 25, 0, 25)
- ImageLabel_5.ZIndex = 3
- ImageLabel_5.Image = "rbxassetid://6522476742"
- misc.Name = "misc"
- misc.Parent = Main
- misc.BackgroundColor3 = Color3.fromRGB(30, 29, 65)
- misc.Position = UDim2.new(0.0126728117, 0, 0.452197731, 0)
- misc.Size = UDim2.new(0, 151, 0, 50)
- misc.Font = Enum.Font.Roboto
- misc.Text = "Misc"
- misc.TextColor3 = Color3.fromRGB(255, 255, 255)
- misc.TextSize = 15.000
- UICorner_17.CornerRadius = UDim.new(0, 20)
- UICorner_17.Parent = misc
- ImageLabel_6.Parent = Main
- ImageLabel_6.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- ImageLabel_6.BackgroundTransparency = 1.000
- ImageLabel_6.Position = UDim2.new(0.0295173638, 0, 0.471882105, 0)
- ImageLabel_6.Size = UDim2.new(0, 25, 0, 25)
- ImageLabel_6.ZIndex = 3
- ImageLabel_6.Image = "rbxassetid://6522707781"
- user.Name = "user"
- user.Parent = Main
- user.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- user.Position = UDim2.new(0.0146915531, 0, 0.0239466708, 0)
- user.Size = UDim2.new(0, 49, 0, 49)
- user.Image = "rbxasset://textures/ui/GuiImagePlaceholder.png"
- UICorner_18.CornerRadius = UDim.new(0, 50)
- UICorner_18.Parent = user
- welcome.Name = "welcome"
- welcome.Parent = Main
- welcome.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- welcome.BackgroundTransparency = 1.000
- welcome.Position = UDim2.new(0.0529482588, 0, 0.0230642501, 0)
- welcome.Size = UDim2.new(0, 200, 0, 50)
- welcome.Font = Enum.Font.Roboto
- welcome.Text = "Welcome, TestingUser !"
- welcome.TextColor3 = Color3.fromRGB(255, 255, 255)
- welcome.TextSize = 15.000
- -- Scripts:
- local function WPTRU_fake_script() -- TextButton.LocalScript
- local script = Instance.new('LocalScript', TextButton)
- local scroll_state = false
- script.Parent.MouseButton1Click:Connect(function()
- if scroll_state then
- scroll_state = false
- _G.Settings["Scroll Sniper"].Enabled = false
- script.Parent:TweenPosition(UDim2.new(script.Parent.Position.X.Scale + 0.161, 0, script.Parent.Position.Y.Scale, 0),Enum.EasingDirection.InOut,Enum.EasingStyle.Quad,0.2)
- print("State Disabled")
- wait(.2)
- else
- scroll_state = true
- _G.Settings["Scroll Sniper"].Enabled = true
- print("State Enabled")
- script.Parent:TweenPosition(UDim2.new(script.Parent.Position.X.Scale - 0.161, 0, script.Parent.Position.Y.Scale, 0),Enum.EasingDirection.InOut,Enum.EasingStyle.Quad,0.2)
- wait(.2)
- end
- end)
- end
- coroutine.wrap(WPTRU_fake_script)()
- local function GISLPKR_fake_script() -- settings.LocalScript
- local script = Instance.new('LocalScript', settings)
- script.Parent.MouseEnter:Connect(function()
- script.Parent.BackgroundColor3 = Color3.fromRGB(37, 38, 79)
- end)
- script.Parent.MouseLeave:Connect(function()
- script.Parent.BackgroundColor3 = Color3.fromRGB(30, 29, 65)
- end)
- end
- coroutine.wrap(GISLPKR_fake_script)()
- local function QNDFMTE_fake_script() -- quest.LocalScript
- local script = Instance.new('LocalScript', quest)
- script.Parent.MouseEnter:Connect(function()
- script.Parent.BackgroundColor3 = Color3.fromRGB(37, 38, 79)
- end)
- script.Parent.MouseLeave:Connect(function()
- script.Parent.BackgroundColor3 = Color3.fromRGB(30, 29, 65)
- end)
- end
- coroutine.wrap(QNDFMTE_fake_script)()
- local function WNNUF_fake_script() -- spin.LocalScript
- local script = Instance.new('LocalScript', spin)
- script.Parent.MouseEnter:Connect(function()
- script.Parent.BackgroundColor3 = Color3.fromRGB(37, 38, 79)
- end)
- script.Parent.MouseLeave:Connect(function()
- script.Parent.BackgroundColor3 = Color3.fromRGB(30, 29, 65)
- end)
- end
- coroutine.wrap(WNNUF_fake_script)()
- local function AHAW_fake_script() -- scroll.LocalScript
- local script = Instance.new('LocalScript', scroll)
- script.Parent.MouseEnter:Connect(function()
- script.Parent.BackgroundColor3 = Color3.fromRGB(37, 38, 79)
- end)
- script.Parent.MouseLeave:Connect(function()
- script.Parent.BackgroundColor3 = Color3.fromRGB(30, 29, 65)
- end)
- end
- coroutine.wrap(AHAW_fake_script)()
- local function XYWPU_fake_script() -- misc.LocalScript
- local script = Instance.new('LocalScript', misc)
- script.Parent.MouseEnter:Connect(function()
- script.Parent.BackgroundColor3 = Color3.fromRGB(37, 38, 79)
- end)
- script.Parent.MouseLeave:Connect(function()
- script.Parent.BackgroundColor3 = Color3.fromRGB(30, 29, 65)
- end)
- end
- coroutine.wrap(XYWPU_fake_script)()
- local function VHQQNQC_fake_script() -- Main.LocalScript
- local script = Instance.new('LocalScript', Main)
- -- Drag Function
- local function dragify(Frame)
- -- Locals
- local dragSpeed = .05-- You can edit this. (Smoothness)
- -- No need to edit
- local dragToggle = nil
- local dragInput = nil
- local dragStart = nil
- -- Update Frame Position
- function updateInput(input)
- local Delta = input.Position - dragStart
- local Position = UDim2.new(startPos.X.Scale, startPos.X.Offset + Delta.X, startPos.Y.Scale, startPos.Y.Offset + Delta.Y)
- game:GetService("TweenService"):Create(Frame, TweenInfo.new(.25), {Position = Position}):Play()
- end
- -- User is is inputting
- Frame.InputBegan:Connect(function(input)
- if (input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.Touch) then
- dragToggle = true
- dragStart = input.Position
- startPos = Frame.Position
- input.Changed:Connect(function()
- if (input.UserInputState == Enum.UserInputState.End) then
- dragToggle = false
- end
- end)
- end
- end)
- -- Frame Input Changed so get the input
- Frame.InputChanged:Connect(function(input)
- if (input.UserInputType == Enum.UserInputType.MouseMovement or input.UserInputType == Enum.UserInputType.Touch) then
- dragInput = input
- end
- end)
- -- User is dragging the frame
- game:GetService("UserInputService").InputChanged:Connect(function(input)
- if (input == dragInput and dragToggle) then
- updateInput(input)
- end
- end)
- end
- -- Call Drag Function
- dragify(script.Parent) -- Enable dragging
- end
- coroutine.wrap(VHQQNQC_fake_script)()
- local function YNHMVS_fake_script() -- user.LocalScript
- local script = Instance.new('LocalScript', user)
- local Players = game:GetService("Players")
- local player = Players.LocalPlayer
- -- Fetch the thumbnail
- local userId = player.UserId
- local thumbType = Enum.ThumbnailType.HeadShot
- local thumbSize = Enum.ThumbnailSize.Size420x420
- local content, isReady = Players:GetUserThumbnailAsync(userId, thumbType, thumbSize)
- -- Set the ImageLabel's content to the user thumbnail
- local imageLabel = script.Parent
- imageLabel.Image = content
- end
- coroutine.wrap(YNHMVS_fake_script)()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement