Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --By Rufus14
- --Converted with ttyyuu12345's model to script plugin v4
- function sandbox(var,func)
- local env = getfenv(func)
- local newenv = setmetatable({},{
- __index = function(self,k)
- if k=="script" then
- return var
- else
- return env[k]
- end
- end,
- })
- setfenv(func,newenv)
- return func
- end
- cors = {}
- mas = Instance.new("Model",game:GetService("Lighting"))
- Tool0 = Instance.new("Tool")
- Script1 = Instance.new("Script")
- Tool0.Name = "cursed emoji"
- Tool0.Parent = mas
- Tool0.TextureId = "http://www.roblox.com/asset/?id=4348493372"
- Tool0.RequiresHandle = false
- Tool0.ToolTip = "*heavy breathing*"
- Script1.Parent = Tool0
- table.insert(cors,sandbox(Script1,function()
- --By Rufus14
- tool = script.Parent
- equipped = false
- faceold = ""
- tool.Unequipped:connect(function()
- equipped = false
- end)
- tool.Equipped:connect(function()
- equipped = true
- local character = tool.Parent
- local face = tool.Parent.Head:findFirstChild("face")
- local neck = tool.Parent.Torso:findFirstChild("Neck")
- local breath = Instance.new("Sound", tool.Parent.Head)
- breath.SoundId = "rbxassetid://4334340728"
- breath.Looped = true
- breath:Play()
- if face then
- faceold = face.Texture
- face.Texture = "http://www.roblox.com/asset/?id=4110156698"
- end
- while equipped do
- if equipped then
- wait(math.random(3,9)/7)
- end
- if neck then
- neck.C0 = neck.C0 * CFrame.fromEulerAnglesXYZ(math.rad(20),0,math.rad(-20))
- end
- if equipped then
- wait(math.random(3,9)/7)
- end
- if neck then
- neck.C0 = CFrame.new(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
- end
- end
- if face then
- face.Texture = faceold
- end
- breath:destroy()
- end)
- end))
- for i,v in pairs(mas:GetChildren()) do
- v.Parent = owner:findFirstChildOfClass("Backpack")
- pcall(function() v:MakeJoints() end)
- end
- mas:Destroy()
- for i,v in pairs(cors) do
- spawn(function()
- pcall(v)
- end)
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement