Advertisement
foxywolf233

MeepCity Kick GUI

May 12th, 2022
76
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.96 KB | None | 0 0
  1. -- Gui to Lua
  2. -- Version: 3.2
  3.  
  4. -- Instances:
  5.  
  6. local ScreenGui = Instance.new("ScreenGui")
  7. local Frame = Instance.new("Frame")
  8. local TextLabel = Instance.new("TextLabel")
  9. local TextButton = Instance.new("TextButton")
  10. local TextLabel_2 = Instance.new("TextLabel")
  11.  
  12. --Properties:
  13.  
  14. ScreenGui.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui")
  15. ScreenGui.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
  16. ScreenGui.ResetOnSpawn = false
  17.  
  18. Frame.Parent = ScreenGui
  19. Frame.BackgroundColor3 = Color3.fromRGB(255, 0, 0)
  20. Frame.BorderSizePixel = 5
  21. Frame.Position = UDim2.new(0.200000003, 0, 0.200000003, 0)
  22. Frame.Size = UDim2.new(0, 300, 0, 300)
  23. Frame.Active = true
  24.  
  25. TextLabel.Parent = Frame
  26. TextLabel.BackgroundColor3 = Color3.fromRGB(170, 0, 0)
  27. TextLabel.BorderSizePixel = 0
  28. TextLabel.Size = UDim2.new(0, 300, 0, 84)
  29. TextLabel.Font = Enum.Font.SourceSansBold
  30. TextLabel.Text = "Press The Button For 1 Mil MeepCoins"
  31. TextLabel.TextColor3 = Color3.fromRGB(85, 255, 0)
  32. TextLabel.TextScaled = true
  33. TextLabel.TextSize = 14.000
  34. TextLabel.TextWrapped = true
  35.  
  36. TextButton.Parent = Frame
  37. TextButton.BackgroundColor3 = Color3.fromRGB(85, 255, 255)
  38. TextButton.BorderSizePixel = 5
  39. TextButton.Position = UDim2.new(0.25333333, 0, 0.403333366, 0)
  40. TextButton.Size = UDim2.new(0, 130, 0, 107)
  41. TextButton.Font = Enum.Font.GothamBold
  42. TextButton.Text = "Activate Money Mashine"
  43. TextButton.TextColor3 = Color3.fromRGB(255, 255, 0)
  44. TextButton.TextScaled = true
  45. TextButton.TextSize = 14.000
  46. TextButton.TextWrapped = true
  47. TextButton.MouseButton1Down:connect(function()
  48. loadstring(game:HttpGet(('https://pastebin.com/raw/yJLVpYdK'),true))()
  49. end)
  50.  
  51. TextLabel_2.Parent = Frame
  52. TextLabel_2.BackgroundColor3 = Color3.fromRGB(211, 0, 0)
  53. TextLabel_2.BorderSizePixel = 3
  54. TextLabel_2.Position = UDim2.new(0, 0, 0.903333306, 0)
  55. TextLabel_2.Size = UDim2.new(0, 300, 0, 29)
  56. TextLabel_2.Font = Enum.Font.SourceSansBold
  57. TextLabel_2.Text = "Made By Tea#1727"
  58. TextLabel_2.TextColor3 = Color3.fromRGB(0, 0, 0)
  59. TextLabel_2.TextSize = 14.000
  60.  
  61. -- Scripts:
  62.  
  63. local function LSMHD_fake_script() -- Frame.Smooth GUI Dragging
  64. local script = Instance.new('LocalScript', Frame)
  65.  
  66. local UserInputService = game:GetService("UserInputService")
  67. local runService = (game:GetService("RunService"));
  68.  
  69. local gui = script.Parent
  70.  
  71. local dragging
  72. local dragInput
  73. local dragStart
  74. local startPos
  75.  
  76. function Lerp(a, b, m)
  77. return a + (b - a) * m
  78. end;
  79.  
  80. local lastMousePos
  81. local lastGoalPos
  82. local DRAG_SPEED = (8); -- // The speed of the UI darg.
  83. function Update(dt)
  84. if not (startPos) then return end;
  85. if not (dragging) and (lastGoalPos) then
  86. gui.Position = UDim2.new(startPos.X.Scale, Lerp(gui.Position.X.Offset, lastGoalPos.X.Offset, dt * DRAG_SPEED), startPos.Y.Scale, Lerp(gui.Position.Y.Offset, lastGoalPos.Y.Offset, dt * DRAG_SPEED))
  87. return
  88. end;
  89.  
  90. local delta = (lastMousePos - UserInputService:GetMouseLocation())
  91. local xGoal = (startPos.X.Offset - delta.X);
  92. local yGoal = (startPos.Y.Offset - delta.Y);
  93. lastGoalPos = UDim2.new(startPos.X.Scale, xGoal, startPos.Y.Scale, yGoal)
  94. gui.Position = UDim2.new(startPos.X.Scale, Lerp(gui.Position.X.Offset, xGoal, dt * DRAG_SPEED), startPos.Y.Scale, Lerp(gui.Position.Y.Offset, yGoal, dt * DRAG_SPEED))
  95. end;
  96.  
  97. gui.InputBegan:Connect(function(input)
  98. if input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.Touch then
  99. dragging = true
  100. dragStart = input.Position
  101. startPos = gui.Position
  102. lastMousePos = UserInputService:GetMouseLocation()
  103.  
  104. input.Changed:Connect(function()
  105. if input.UserInputState == Enum.UserInputState.End then
  106. dragging = false
  107. end
  108. end)
  109. end
  110. end)
  111.  
  112. gui.InputChanged:Connect(function(input)
  113. if input.UserInputType == Enum.UserInputType.MouseMovement or input.UserInputType == Enum.UserInputType.Touch then
  114. dragInput = input
  115. end
  116. end)
  117.  
  118. runService.Heartbeat:Connect(Update)
  119. end
  120. coroutine.wrap(LSMHD_fake_script)()
  121.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement