bojjgupp

F to fart

Jul 28th, 2022
46
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.52 KB | None | 0 0
  1. -- Put in startergui
  2. local UserInputService = game:GetService("UserInputService")
  3. local Gas = Instance.new("Smoke")
  4. repeat wait(0.5) until game.Players.LocalPlayer.Character
  5. Gas.Color = Color3.new(0, 85, 0)
  6. Gas.Parent = game.Players.LocalPlayer.Character.LowerTorso
  7. Gas.Enabled = false
  8. UserInputService.InputBegan:Connect(function(input)
  9.     if input.KeyCode == Enum.KeyCode.F then
  10.         Gas.Enabled = true
  11.         print("Farted")
  12.         -- put a sound into script and put here:script.Sound:Play()
  13.         wait(2)
  14.         Gas.Enabled = false
  15.     end
  16. end)
Add Comment
Please, Sign In to add comment