KenshiOfficial

Infinite money haikyuu legends

Feb 3rd, 2025 (edited)
3,018
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.33 KB | None | 0 0
  1. --// Create GUI
  2. local ScreenGui = Instance.new("ScreenGui")
  3. ScreenGui.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui")
  4.  
  5. --// Create Frame (Main container for dragging)
  6. local DragFrame = Instance.new("Frame")
  7. DragFrame.Size = UDim2.new(0, 220, 0, 100)
  8. DragFrame.Position = UDim2.new(0.5, -110, 0.5, -50)
  9. DragFrame.BackgroundColor3 = Color3.fromRGB(50, 50, 50) -- Dark gray
  10. DragFrame.Active = true
  11. DragFrame.Parent = ScreenGui
  12.  
  13. --// Create Label (Made by @elnanocruz2)
  14. local CreatorLabel = Instance.new("TextLabel")
  15. CreatorLabel.Size = UDim2.new(1, 0, 0.3, 0)
  16. CreatorLabel.Position = UDim2.new(0, 0, 0, 0)
  17. CreatorLabel.BackgroundColor3 = Color3.fromRGB(30, 30, 30) -- Slightly darker gray
  18. CreatorLabel.Text = "Made by @elnanocruz2"
  19. CreatorLabel.TextSize = 16
  20. CreatorLabel.Font = Enum.Font.SourceSansBold
  21. CreatorLabel.TextColor3 = Color3.fromRGB(255, 255, 255) -- White
  22. CreatorLabel.Parent = DragFrame
  23.  
  24. --// Create Drag Label
  25. local DragLabel = Instance.new("TextLabel")
  26. DragLabel.Size = UDim2.new(1, 0, 0.2, 0)
  27. DragLabel.Position = UDim2.new(0, 0, 0.3, 0)
  28. DragLabel.BackgroundColor3 = Color3.fromRGB(40, 40, 40) -- Darker gray
  29. DragLabel.Text = "Drag Me"
  30. DragLabel.TextSize = 16
  31. DragLabel.Font = Enum.Font.SourceSansBold
  32. DragLabel.TextColor3 = Color3.fromRGB(255, 255, 255) -- White
  33. DragLabel.Parent = DragFrame
  34.  
  35. --// Create Click Button
  36. local ClickButton = Instance.new("TextButton")
  37. ClickButton.Size = UDim2.new(1, 0, 0.5, 0)
  38. ClickButton.Position = UDim2.new(0, 0, 0.5, 0)
  39. ClickButton.BackgroundColor3 = Color3.fromRGB(0, 255, 0) -- Green
  40. ClickButton.Text = "INF MONEY SPAM TO GET MONEY FASTER"
  41. ClickButton.TextSize = 16
  42. ClickButton.Font = Enum.Font.SourceSansBold
  43. ClickButton.TextWrapped = true -- Wrap text if it's too long
  44. ClickButton.Parent = DragFrame
  45.  
  46. -- Function to execute the script when clicked
  47. local function executeScript()
  48. for i = 1, 10 do
  49. pcall(function()
  50. game:GetService("ReplicatedStorage")
  51. .Packages._Index["[email protected]"]
  52. .knit.Services.RewardService.RF.RequestPlayWithDeveloperAward:InvokeServer()
  53. end)
  54. end
  55. end
  56.  
  57. -- Connect button click to script execution
  58. ClickButton.MouseButton1Click:Connect(executeScript)
  59.  
  60. --// Dragging Logic for PC & Mobile
  61. local UserInputService = game:GetService("UserInputService")
  62.  
  63. local dragging
  64. local dragInput
  65. local dragStart
  66. local startPos
  67.  
  68. local function onInputBegan(input, gameProcessed)
  69. if gameProcessed then return end
  70. if input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.Touch then
  71. dragging = true
  72. dragStart = input.Position
  73. startPos = DragFrame.Position
  74. input.Changed:Connect(function()
  75. if input.UserInputState == Enum.UserInputState.End then
  76. dragging = false
  77. end
  78. end)
  79. end
  80. end
  81.  
  82. local function onInputChanged(input)
  83. if dragging and (input.UserInputType == Enum.UserInputType.MouseMovement or input.UserInputType == Enum.UserInputType.Touch) then
  84. local delta = input.Position - dragStart
  85. DragFrame.Position = UDim2.new(startPos.X.Scale, startPos.X.Offset + delta.X, startPos.Y.Scale, startPos.Y.Offset + delta.Y)
  86. end
  87. end
  88.  
  89. DragFrame.InputBegan:Connect(onInputBegan)
  90. UserInputService.InputChanged:Connect(onInputChanged)
Add Comment
Please, Sign In to add comment