Advertisement
memberhero

Milk Troll Script

Nov 24th, 2020 (edited)
486
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.62 KB | None | 0 0
  1. --Milk Troll Script
  2. --Link Version by basstracker1970
  3. --Orginal Script by codebitz i think
  4. if (game:GetService('RunService'):IsServer()) then return error('This script cannot be ran server-sided, please use hl/',0); end;
  5. local ts = game:GetService("TweenService")
  6. local server = NS ([[
  7.  
  8.  
  9. local remote = Instance.new ('RemoteFunction', script);
  10. remote.OnServerInvoke = function (plr, ...)
  11. if (plr == owner) then
  12. local tool = Instance.new("Tool")
  13. tool.Name = "Milk"
  14. tool.Parent = plr.Backpack
  15. local Part = Instance.new("Part")
  16.  
  17. Part.Name = "Handle"
  18. Part.Parent = tool
  19. local Mesh = Instance.new("SpecialMesh")
  20. Mesh.MeshId = "rbxassetid://489308589"
  21. Mesh.TextureId = "rbxassetid://489308634"
  22. Mesh.Parent = Part
  23. local DrinkSound = Instance.new("Sound",tool)
  24. DrinkSound.Name = "DrinkSound"
  25. DrinkSound.SoundId = "rbxassetid://557067682"
  26. return tool
  27. end;
  28. end;
  29. remote.Name = 'ServerRemote';
  30. ]], owner.Character):WaitForChild 'ServerRemote';
  31.  
  32. local plr = game.Players.LocalPlayer
  33. local chr = plr.Character
  34. local mouse = plr:GetMouse()
  35.  
  36. local tool = server:InvokeServer();
  37.  
  38. tool.Activated:Connect(function()
  39. tool.DrinkSound:Play()
  40. ts:Create(tool,TweenInfo.new(1,Enum.EasingStyle.Quint,Enum.EasingDirection.Out,0,false,0),{GripForward = Vector3.new(0, -0.707, -0.707),GripPos = Vector3.new(1, -0.4, -0.3),GripRight = Vector3.new(1, 0, 0),GripUp = Vector3.new(0, 0.707, -0.707)}):Play()
  41. wait(7.5)
  42. local color = Instance.new("ColorCorrectionEffect",game.Lighting)
  43. local cam = game.Workspace.CurrentCamera
  44. local pgui = game.Players.LocalPlayer.PlayerGui
  45. cam.CFrame = game.Players.LocalPlayer.Character.Head.CFrame
  46. game:GetService("RunService").RenderStepped:Connect(function()
  47. cam.CFrame = cam.CFrame*CFrame.Angles(math.rad(math.random(0,360)),math.rad(math.random(0,360)),math.rad(math.random(0,360)))
  48. color.TintColor = Color3.fromRGB(math.random(0,255),math.random(0,255),math.random(0,255))
  49. color.Contrast = math.random(-10,10)
  50. color.Brightness = tonumber("0." .. math.random(0,999))
  51. script.Sound.Volume = 10
  52. script.Sound.DistortionSoundEffect.Level = 1
  53. local ds = pgui:GetDescendants()
  54. cam.FieldOfView = math.random(20,120)
  55. game.Players.LocalPlayer.CameraMaxZoomDistance = 0.5
  56. cam.CameraType = Enum.CameraType.Scriptable
  57. for i = 1, #ds do
  58. pcall(function()
  59. ds[i].Font = Enum.Font:GetEnumItems()[math.random(1,#Enum.Font:GetEnumItems())]
  60. end)
  61. pcall(function()
  62. ds[i].TextColor3 = Color3.fromRGB(math.random(0,255),math.random(0,255),math.random(0,255))
  63. end)
  64. pcall(function()
  65. ds[i].ImageColor3 = Color3.fromRGB(math.random(0,255),math.random(0,255),math.random(0,255))
  66. end)
  67. pcall(function()
  68. ds[i].BackgroundColor3 = Color3.fromRGB(math.random(0,255),math.random(0,255),math.random(0,255))
  69. end)
  70. end
  71. local ds = game.Workspace:GetDescendants()
  72. for i = 1, #ds do
  73. pcall(function()
  74. ds[i].Font = Enum.Font:GetEnumItems()[math.random(1,#Enum.Font:GetEnumItems())]
  75. end)
  76. pcall(function()
  77. ds[i].TextColor3 = Color3.fromRGB(math.random(0,255),math.random(0,255),math.random(0,255))
  78. end)
  79. pcall(function()
  80. ds[i].ImageColor3 = Color3.fromRGB(math.random(0,255),math.random(0,255),math.random(0,255))
  81. end)
  82. pcall(function()
  83. ds[i].BackgroundColor3 = Color3.fromRGB(math.random(0,255),math.random(0,255),math.random(0,255))
  84. end)
  85. pcall(function()
  86. ds[i].Color = Color3.fromRGB(math.random(0,255),math.random(0,255),math.random(0,255))
  87. end)
  88. pcall(function()
  89. ds[i].Material = Enum.Material:GetEnumItems()[math.random(1,#Enum.Material:GetEnumItems())]
  90. end)
  91. end
  92. end)
  93. end)
  94.  
  95.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement