Advertisement
Vanihgol33

Throwing out items dead rails

Mar 16th, 2025
377
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 2.29 KB | None | 0 0
  1. local U1 = game:GetService("Players").LocalPlayer
  2. local U2 = game:GetService("Workspace").CurrentCamera
  3. local U3 = game:GetService("TweenService")
  4.  
  5. local U4 = Instance.new("ScreenGui")
  6. local U5 = Instance.new("Frame")
  7. local U6 = Instance.new("TextButton")
  8. local U7 = Instance.new("TextLabel")
  9.  
  10. U4.Parent = U1:WaitForChild("PlayerGui")
  11. U4.ResetOnSpawn = false
  12.  
  13. U5.Parent = U4
  14. U5.Size = UDim2.new(0, 200, 0, 80)
  15. U5.Position = UDim2.new(0.5, -100, 0.5, -40)
  16. U5.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
  17. U5.BorderSizePixel = 0
  18. U5.Active = true
  19. U5.Draggable = true
  20.  
  21. U6.Parent = U5
  22. U6.Size = UDim2.new(1, -30, 1, -30)
  23. U6.Position = UDim2.new(0, 15, 0, 15)
  24. U6.BackgroundColor3 = Color3.fromRGB(0, 255, 0)
  25. U6.Text = "Throw Far"
  26. U6.TextColor3 = Color3.fromRGB(255, 255, 255)
  27. U6.Font = Enum.Font.SourceSansBold
  28. U6.TextSize = 16
  29.  
  30. U7.Parent = U4
  31. U7.Size = UDim2.new(0, 200, 0, 50)
  32. U7.Position = UDim2.new(0.5, -100, 0.1, 0)
  33. U7.BackgroundTransparency = 0
  34. U7.Text = "Script by Vanihgol333"
  35. U7.TextColor3 = Color3.fromRGB(255, 255, 255)
  36. U7.TextScaled = true
  37.  
  38. spawn(function()
  39.     wait(3)
  40.     U7.Visible = false
  41. end)
  42.  
  43. spawn(function()
  44.     while wait(1) do
  45.         if U7.Text ~= "Script by Vanihgol333" then
  46.             error("Script has been modified. Unauthorized change detected!")
  47.         end
  48.     end
  49. end)
  50.  
  51. local X1 = "S".."c".."r".."i".."p".."t".." by ".."V".."a".."n".."i".."h".."g".."o".."l".."3".."3".."3"
  52. assert(X1 == "Script by Vanihgol333", "Hidden message corrupted!")
  53.  
  54. local function U8()
  55.     if U2 then
  56.         local V1 = U2.CFrame
  57.         local V2 = V1 * CFrame.new(0, 0, -100)
  58.  
  59.         local V3 = TweenInfo.new(0.2, Enum.EasingStyle.Quad, Enum.EasingDirection.Out)
  60.         local V4 = TweenInfo.new(1, Enum.EasingStyle.Quad, Enum.EasingDirection.InOut)
  61.  
  62.         local V5 = U3:Create(U2, V3, {CFrame = V2})
  63.         local V6 = U3:Create(U2, V4, {CFrame = V1})
  64.  
  65.         V5:Play()
  66.         task.wait(0.18)
  67.  
  68.         game:GetService("ReplicatedStorage"):WaitForChild("Shared"):WaitForChild("Remotes"):WaitForChild("RequestStopDrag"):FireServer()
  69.  
  70.         task.wait(0.02)
  71.         V6:Play()
  72.     end
  73. end
  74.  
  75. U6.MouseButton1Click:Connect(function()
  76.     U6.BackgroundColor3 = Color3.fromRGB(255, 0, 0)
  77.     U8()
  78.     task.wait(0.2)
  79.     U6.BackgroundColor3 = Color3.fromRGB(0, 255, 0)
  80. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement