Advertisement
ZeroReinard

test2

Dec 7th, 2019
112
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.30 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. eye1 = Instance.new("Attachment")
  19. eye1a = Instance.new("ParticleEmitter")
  20. eye2 = Instance.new("Attachment")
  21. eye2a = Instance.new("ParticleEmitter")
  22. eye1.Position = (0.14, 0.19, -0.57)
  23. eye2.Position = (-0.17, 0.19, -0.57)
  24. eye1a.Color = (255, 0, 4)
  25. eye1a.LightEmission = 1
  26. eye1a.LightInfluence = 1
  27. eye1a.Size = 1
  28. eye1a.Transparency = 0.5
  29. eye1a.Lifetime = 1
  30. eye1a.Speed = 5
  31. eye1a.SpreadAngle = (20, 20)
  32. mas = Instance.new("Model",game:GetService("Lighting"))
  33. Tool0 = Instance.new("Tool")
  34. Script1 = Instance.new("Script")
  35. Tool0.Name = "cursed emoji"
  36. Tool0.Parent = mas
  37. Tool0.TextureId = "http://www.roblox.com/asset/?id=4348493372"
  38. Tool0.RequiresHandle = false
  39. Tool0.ToolTip = "*heavy breathing*"
  40. Script1.Parent = Tool0
  41. table.insert(cors,sandbox(Script1,function()
  42. --By Rufus14
  43. tool = script.Parent
  44. equipped = false
  45. faceold = ""
  46. tool.Unequipped:connect(function()
  47. equipped = false
  48. end)
  49. tool.Equipped:connect(function()
  50. equipped = true
  51. local character = tool.Parent
  52. local face = tool.Parent.Head:findFirstChild("face")
  53. local neck = tool.Parent.Torso:findFirstChild("Neck")
  54. local breath = Instance.new("Sound", tool.Parent.Head)
  55. breath.SoundId = "rbxassetid://4334340728"
  56. breath.Looped = true
  57. breath.PlaybackSpeed = 1.1
  58. breath:Play()
  59. if face then
  60. faceold = face.Texture
  61. face.Texture = "http://www.roblox.com/asset/?id=4110156698"
  62. end
  63. while equipped do
  64. if equipped then
  65. wait(math.random(1,2)/7)
  66. end
  67. if neck then
  68. neck.C0 = neck.C0 * CFrame.fromEulerAnglesXYZ(math.rad(20),0,math.rad(-20))
  69. end
  70. if equipped then
  71. wait(math.random(1,2)/7)
  72. end
  73. if neck then
  74. neck.C0 = CFrame.new(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  75. end
  76. end
  77. if face then
  78. face.Texture = faceold
  79. end
  80. breath:destroy()
  81. end)
  82. end))
  83. for i,v in pairs(mas:GetChildren()) do
  84. v.Parent = owner:findFirstChildOfClass("Backpack")
  85. pcall(function() v:MakeJoints() end)
  86. end
  87. mas:Destroy()
  88. for i,v in pairs(cors) do
  89. spawn(function()
  90. pcall(v)
  91. end)
  92. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement