Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- Scripts:
- local function WCZUZKA_fake_script() -- df.dragging
- local script = Instance.new('LocalScript', df)
- local UserInputService = game:GetService("UserInputService")
- local gui = script.Parent
- local dragging
- local dragInput
- local dragStart
- local startPos
- local function update(input)
- local delta = input.Position - dragStart
- wait() -- remove this line if you don't want the dragging to be smoother
- 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)
- end
- coroutine.wrap(WCZUZKA_fake_script)()
- local function XDVJ_fake_script() -- upd.LocalScript
- local script = Instance.new('LocalScript', upd)
- script.Parent.MouseButton1Click:Connect(function()
- script.Parent.Parent.T.Text = tostring(game.Players.LocalPlayer.Character.HumanoidRootPart.Position)
- end)
- end
- coroutine.wrap(XDVJ_fake_script)()
- local function GMIYA_fake_script() -- T.LocalScript
- local script = Instance.new('LocalScript', T)
- script.Parent.Text = tostring(game.Players.LocalPlayer.Character:WaitForChild("HumanoidRootPart").Position)
- end
- coroutine.wrap(GMIYA_fake_script)()
- local function PKTHP_fake_script() -- exit.LocalScript
- local script = Instance.new('LocalScript', exit)
- script.Parent.MouseButton1Click:Connect(function()
- script.Parent.Parent.Parent:Destroy()
- end)
- end
- coroutine.wrap(PKTHP_fake_script)()
- local function GDVRJ_fake_script() -- mini.LocalScript
- local script = Instance.new('LocalScript', mini)
- local q = false script.Parent.MouseButton1Click:Connect(function()if q==false then q=true script.Parent.Parent.main.Visible = false script.Parent.Text = "+" else q=false script.Parent.Parent.main.Visible = true script.Parent.Text = "-" end end)
- end
- coroutine.wrap(GDVRJ_fake_script)()
Add Comment
Please, Sign In to add comment