Advertisement
ZeroReinard

giving up

Dec 7th, 2019
188
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.89 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.PlaybackSpeed = 1.1
  44. breath:Play()
  45. if face then
  46. faceold = face.Texture
  47. face.Texture = "http://www.roblox.com/asset/?id=4110156698"
  48. end
  49. while equipped do
  50. if equipped then
  51. wait(math.random(1,2)/7)
  52. end
  53. if neck then
  54. neck.C0 = neck.C0 * CFrame.fromEulerAnglesXYZ(math.rad(20),0,math.rad(-20))
  55. end
  56. if equipped then
  57. wait(math.random(1,2)/7)
  58. end
  59. if neck then
  60. neck.C0 = CFrame.new(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  61. end
  62. end
  63. if face then
  64. face.Texture = faceold
  65. end
  66. breath:destroy()
  67. end)
  68. end))
  69. for i,v in pairs(mas:GetChildren()) do
  70. v.Parent = owner:findFirstChildOfClass("Backpack")
  71. pcall(function() v:MakeJoints() end)
  72. end
  73. mas:Destroy()
  74. for i,v in pairs(cors) do
  75. spawn(function()
  76. pcall(v)
  77. end)
  78. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement