Advertisement
Rufus14

*heavy breathing*

Dec 7th, 2019
2,798
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 1.86 KB | None | 0 0
  1. --By Rufus14
  2. --Converted with ttyyuu12345's model to script plugin v4
  3. function sandbox(var,func)
  4.     local env = getfenv(func)
  5.     local newenv = setmetatable({},{
  6.         __index = function(self,k)
  7.             if k=="script" then
  8.                 return var
  9.             else
  10.                 return env[k]
  11.             end
  12.         end,
  13.     })
  14.     setfenv(func,newenv)
  15.     return func
  16. end
  17. cors = {}
  18. mas = Instance.new("Model",game:GetService("Lighting"))
  19. Tool0 = Instance.new("Tool")
  20. Script1 = Instance.new("Script")
  21. Tool0.Name = "cursed emoji"
  22. Tool0.Parent = mas
  23. Tool0.TextureId = "http://www.roblox.com/asset/?id=4348493372"
  24. Tool0.RequiresHandle = false
  25. Tool0.ToolTip = "*heavy breathing*"
  26. Script1.Parent = Tool0
  27. table.insert(cors,sandbox(Script1,function()
  28. --By Rufus14
  29. tool = script.Parent
  30. equipped = false
  31. faceold = ""
  32. tool.Unequipped:connect(function()
  33.     equipped = false
  34. end)
  35. tool.Equipped:connect(function()
  36.     equipped = true
  37.     local character = tool.Parent
  38.     local face = tool.Parent.Head:findFirstChild("face")
  39.     local neck = tool.Parent.Torso:findFirstChild("Neck")
  40.     local breath = Instance.new("Sound", tool.Parent.Head)
  41.     breath.SoundId = "rbxassetid://4334340728"
  42.     breath.Looped = true
  43.     breath:Play()
  44.     if face then
  45.         faceold = face.Texture
  46.         face.Texture = "http://www.roblox.com/asset/?id=4110156698"
  47.     end
  48.     while equipped do
  49.         if equipped then
  50.             wait(math.random(3,9)/7)
  51.         end
  52.         if neck then
  53.             neck.C0 = neck.C0 * CFrame.fromEulerAnglesXYZ(math.rad(20),0,math.rad(-20))
  54.         end
  55.         if equipped then
  56.             wait(math.random(3,9)/7)
  57.         end
  58.         if neck then
  59.             neck.C0 = CFrame.new(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  60.         end
  61.     end
  62.     if face then
  63.         face.Texture = faceold
  64.     end
  65.     breath:destroy()
  66. end)
  67. end))
  68. for i,v in pairs(mas:GetChildren()) do
  69.     v.Parent = owner:findFirstChildOfClass("Backpack")
  70.     pcall(function() v:MakeJoints() end)
  71. end
  72. mas:Destroy()
  73. for i,v in pairs(cors) do
  74.     spawn(function()
  75.         pcall(v)
  76.     end)
  77. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement