Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --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")
- Part1 = Instance.new("Part")
- Decal2 = Instance.new("Decal")
- Sound3 = Instance.new("Sound")
- Script4 = Instance.new("Script")
- Tool0.Parent = mas
- Part1.Name = "Handle"
- Part1.Parent = Tool0
- Part1.CFrame = CFrame.new(64, 1, 58.9750023, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part1.Position = Vector3.new(64, 1, 58.9750023)
- Part1.Transparency = 1
- Part1.Size = Vector3.new(2, 2, 0.0500000007)
- Part1.BottomSurface = Enum.SurfaceType.Smooth
- Part1.TopSurface = Enum.SurfaceType.Smooth
- Decal2.Parent = Part1
- Decal2.Texture = "http://www.roblox.com/asset/?id=846369508"
- Sound3.Parent = Part1
- Sound3.Playing = true
- Sound3.SoundId = "rbxassetid://2090461510"
- Sound3.Volume = 10
- Script4.Parent = Tool0
- table.insert(cors,sandbox(Script4,function()
- local Tool = script.Parent;
- function onActivated()
- Tool.Handle.Sound:Play()
- game.Workspace.notsoname.Head.face.Texture = "rbxassetid://1176402123"
- wait(28.5)
- AnimationId = "33796059"
- local Anim = Instance.new("Animation")
- Anim.AnimationId = "rbxassetid://"..AnimationId
- local k = game.Workspace.notsoname.Humanoid:LoadAnimation(Anim)
- k:Play()
- k:AdjustSpeed(100)
- end
- function onUnEquipped()
- game.Workspace.notsoname.Head:Destroy()
- Tool.Handle.Sound:Pause()
- end
- script.Parent.Activated:Connect(onActivated)
- script.Parent.Unequipped:Connect(onUnEquipped)
- end))
- for i,v in pairs(mas:GetChildren()) do
- v.Parent = game:GetService("Players").notsoname.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