Advertisement
Migas3456

Toad Script

Aug 28th, 2017
341
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.11 KB | None | 0 0
  1. for i, v in pairs(game.Players:GetChildren()) do--this is going down in order of evrything in players, v is the variable
  2. p = v.Character
  3.  
  4. local p = game.Players.LocalPlayer.Character
  5. local weld = Instance.new("Weld",p.Torso)
  6. weld.Part0 = p.Torso
  7.  
  8. local train = Instance.new("Part",p.Torso)
  9. train.Anchored = true
  10. train.CanCollide = false
  11. train.Size = Vector3.new(3,2,6)
  12. train.CustomPhysicalProperties = PhysicalProperties.new(0,0,0,0,0)
  13. weld.Part1 = train
  14. weld.C1 = CFrame.new(0,0,0) * CFrame.Angles(0,math.rad(180),0)
  15. train.Anchored = false
  16. local TrainMesh = Instance.new("SpecialMesh",train)
  17. TrainMesh.MeshType = Enum.MeshType.FileMesh
  18. TrainMesh.Scale = Vector3.new(0.01,0.01,0.01)
  19. TrainMesh.MeshId = "rbxassetid://430210147"
  20. TrainMesh.TextureId = "rbxassetid://430210159"
  21.  
  22.  
  23. local weld2 = Instance.new("Weld",p.Torso)
  24. weld2.Part0 = p.Torso
  25. local Smoke = Instance.new("Part",p.Torso)
  26. Smoke.Anchored = true
  27. Smoke.CanCollide = false
  28. Smoke.Size = Vector3.new(1,1,1)
  29. Smoke.CustomPhysicalProperties = PhysicalProperties.new(0,0,0,0,0)
  30. weld2.Part1 = Smoke
  31. weld2.C1 = CFrame.new(0,-4,3.5)-- * CFrame.Angles(0,math.rad(180),0)
  32. Smoke.Anchored = false
  33. Smoke.Transparency = 1;
  34.  
  35. p.Humanoid.WalkSpeed = 60;
  36.  
  37.  
  38. for i,v in pairs(p:GetChildren()) do
  39. if v:IsA("Part") then
  40. v.Transparency = 1;
  41. elseif v:IsA("Hat") then
  42. v:Destroy()
  43. elseif v:IsA("Model") then
  44. v:Destroy()
  45. end
  46. end
  47. end
  48.  
  49. local playerLeaderstats = {}
  50. for i, v in pairs(game.Players:GetChildren()) do
  51. table.insert(playerLeaderstats, v)
  52. end
  53.  
  54. wait( )
  55.  
  56. -- Objects
  57.  
  58. local ToadGui = Instance.new("ScreenGui")
  59. local OpenGui = Instance.new("Frame")
  60. local OpenClose = Instance.new("TextButton")
  61. local Scripts = Instance.new("Frame")
  62. local Thumb = Instance.new("ImageLabel")
  63. local Info = Instance.new("TextLabel")
  64. local MilkAndCookies = Instance.new("TextButton")
  65. local ToadReel = Instance.new("TextButton")
  66. local ItsRainingMen = Instance.new("TextButton")
  67.  
  68. -- Properties
  69.  
  70. ToadGui.Name = "ToadGui"
  71. ToadGui.Parent = game.Players.LocalPlayer.PlayerGui
  72.  
  73. OpenGui.Name = "OpenGui"
  74. OpenGui.Parent = ToadGui
  75. OpenGui.BackgroundColor3 = Color3.new(0, 0, 0)
  76. OpenGui.BackgroundTransparency = 0.80000001192093
  77. OpenGui.BorderColor3 = Color3.new(0, 0.333333, 1)
  78. OpenGui.Position = UDim2.new(0, 26, 0, 352)
  79. OpenGui.Size = UDim2.new(0, 113, 0, 23)
  80.  
  81. OpenClose.Name = "OpenClose"
  82. OpenClose.Parent = OpenGui
  83. OpenClose.BackgroundColor3 = Color3.new(0, 0, 0)
  84. OpenClose.BackgroundTransparency = 0.80000001192093
  85. OpenClose.BorderColor3 = Color3.new(0, 0.333333, 1)
  86. OpenClose.Size = UDim2.new(0, 113, 0, 23)
  87. OpenClose.Font = Enum.Font.SourceSans
  88. OpenClose.FontSize = Enum.FontSize.Size14
  89. OpenClose.Text = "Open/Close"
  90. OpenClose.TextColor3 = Color3.new(0, 0.333333, 1)
  91. OpenClose.TextSize = 14
  92.  
  93. OpenClose.MouseButton1Click:connect(function()
  94. if Scripts.Visible == false then
  95. Scripts.Visible = true
  96. else
  97. Scripts.Visible = false
  98. end
  99. end)
  100.  
  101. Scripts.Name = "Scripts"
  102. Scripts.Parent = ToadGui
  103. Scripts.BackgroundColor3 = Color3.new(1, 1, 1)
  104. Scripts.Position = UDim2.new(0, 0, 0, 405)
  105. Scripts.Size = UDim2.new(0, 243, 0, 298)
  106. Scripts.Visible = false
  107.  
  108. Thumb.Name = "Thumb"
  109. Thumb.Parent = Scripts
  110. Thumb.BackgroundColor3 = Color3.new(1, 1, 1)
  111. Thumb.Size = UDim2.new(0, 243, 0, 298)
  112. Thumb.Image = "rbxassetid://740491623"
  113.  
  114. Info.Name = "Info"
  115. Info.Parent = Scripts
  116. Info.BackgroundColor3 = Color3.new(1, 1, 1)
  117. Info.BackgroundTransparency = 1
  118. Info.Size = UDim2.new(0, 243, 0, 50)
  119. Info.Font = Enum.Font.SourceSans
  120. Info.FontSize = Enum.FontSize.Size14
  121. Info.Text = "Make Toad Noises"
  122. Info.TextScaled = true
  123. Info.TextSize = 14
  124. Info.TextWrapped = true
  125.  
  126. MilkAndCookies.Name = "MilkAndCookies"
  127. MilkAndCookies.Parent = Scripts
  128. MilkAndCookies.BackgroundColor3 = Color3.new(1, 1, 1)
  129. MilkAndCookies.Position = UDim2.new(0, 22, 0, 64)
  130. MilkAndCookies.Size = UDim2.new(0, 200, 0, 50)
  131. MilkAndCookies.Font = Enum.Font.SourceSans
  132. MilkAndCookies.FontSize = Enum.FontSize.Size14
  133. MilkAndCookies.Text = "Milk And Cookies"
  134. MilkAndCookies.TextSize = 14
  135.  
  136. --[[Function/s being made!]]
  137. function PlayMusic(ID)
  138. for i, v in pairs (game.Workspace:GetChildren()) do
  139. if v:IsA("Sound") then
  140. v:Remove()
  141. end
  142. end
  143. local music = Instance.new("Sound")
  144. local asset = "rbxassetid://"
  145. music.SoundId = asset .. ID
  146. music.Parent = workspace
  147. music.Volume = 10
  148. music.Looped = true
  149. music:Play()
  150. end
  151. --[[Connecting functions!]]
  152. MilkAndCookies.MouseButton1Down:connect(function()
  153. PlayMusic(587971443)
  154. end)
  155.  
  156. ToadReel.Name = "ToadReel"
  157. ToadReel.Parent = Scripts
  158. ToadReel.BackgroundColor3 = Color3.new(1, 1, 1)
  159. ToadReel.Position = UDim2.new(0, 22, 0, 149)
  160. ToadReel.Size = UDim2.new(0, 200, 0, 50)
  161. ToadReel.Font = Enum.Font.SourceSans
  162. ToadReel.FontSize = Enum.FontSize.Size14
  163. ToadReel.Text = "Toad Reel"
  164. ToadReel.TextSize = 14
  165.  
  166. --[[Function/s being made!]]
  167. function PlayMusic(ID)
  168. for i, v in pairs (game.Workspace:GetChildren()) do
  169. if v:IsA("Sound") then
  170. v:Remove()
  171. end
  172. end
  173. local music = Instance.new("Sound")
  174. local asset = "rbxassetid://"
  175. music.SoundId = asset .. ID
  176. music.Parent = workspace
  177. music.Volume = 10
  178. music.Looped = true
  179. music:Play()
  180. end
  181. --[[Connecting functions!]]
  182. ToadReel.MouseButton1Down:connect(function()
  183. PlayMusic(445658142)
  184. end)
  185.  
  186. ItsRainingMen.Name = "ItsRainingMen"
  187. ItsRainingMen.Parent = Scripts
  188. ItsRainingMen.BackgroundColor3 = Color3.new(1, 1, 1)
  189. ItsRainingMen.Position = UDim2.new(0, 22, 0, 231)
  190. ItsRainingMen.Size = UDim2.new(0, 200, 0, 50)
  191. ItsRainingMen.Font = Enum.Font.SourceSans
  192. ItsRainingMen.FontSize = Enum.FontSize.Size14
  193. ItsRainingMen.Text = "It's Raining Men"
  194. ItsRainingMen.TextSize = 14
  195.  
  196. --[[Function/s being made!]]
  197. function PlayMusic(ID)
  198. for i, v in pairs (game.Workspace:GetChildren()) do
  199. if v:IsA("Sound") then
  200. v:Remove()
  201. end
  202. end
  203. local music = Instance.new("Sound")
  204. local asset = "rbxassetid://"
  205. music.SoundId = asset .. ID
  206. music.Parent = workspace
  207. music.Volume = 10
  208. music.Looped = true
  209. music:Play()
  210. end
  211. --[[Connecting functions!]]
  212. ItsRainingMen.MouseButton1Down:connect(function()
  213. PlayMusic(141509625)
  214. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement