Advertisement
lafur

Untitled

Mar 29th, 2019
180
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. --Converted with ttyyuu12345's model to script plugin v4
  2. function sandbox(var,func)
  3. local env = getfenv(func)
  4. local newenv = setmetatable({},{
  5. __index = function(self,k)
  6. if k=="script" then
  7. return var
  8. else
  9. return env[k]
  10. end
  11. end,
  12. })
  13. setfenv(func,newenv)
  14. return func
  15. end
  16. cors = {}
  17. mas = Instance.new("Model",game:GetService("Lighting"))
  18. Tool0 = Instance.new("Tool")
  19. Part1 = Instance.new("Part")
  20. Decal2 = Instance.new("Decal")
  21. Sound3 = Instance.new("Sound")
  22. Script4 = Instance.new("Script")
  23. Tool0.Parent = mas
  24. Part1.Name = "Handle"
  25. Part1.Parent = Tool0
  26. Part1.CFrame = CFrame.new(64, 1, 58.9750023, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  27. Part1.Position = Vector3.new(64, 1, 58.9750023)
  28. Part1.Transparency = 1
  29. Part1.Size = Vector3.new(2, 2, 0.0500000007)
  30. Part1.BottomSurface = Enum.SurfaceType.Smooth
  31. Part1.TopSurface = Enum.SurfaceType.Smooth
  32. Decal2.Parent = Part1
  33. Decal2.Texture = "http://www.roblox.com/asset/?id=846369508"
  34. Sound3.Parent = Part1
  35. Sound3.Playing = true
  36. Sound3.SoundId = "rbxassetid://2090461510"
  37. Sound3.Volume = 10
  38. Script4.Parent = Tool0
  39. table.insert(cors,sandbox(Script4,function()
  40. local Tool = script.Parent;
  41. function onActivated()
  42. Tool.Handle.Sound:Play()
  43. game.Workspace.timetodie23232223.Head.face.Texture = "rbxassetid://1176402123"
  44. wait(28.5)
  45. AnimationId = "33796059"
  46. local Anim = Instance.new("Animation")
  47. Anim.AnimationId = "rbxassetid://"..AnimationId
  48. local k = game.Workspace.timetodie23232223.Humanoid:LoadAnimation(Anim)
  49. k:Play()
  50. k:AdjustSpeed(100)
  51. end
  52. function onUnEquipped()
  53. game.Workspace.timetodie23232223.Head:Destroy()
  54. Tool.Handle.Sound:Pause()
  55. end
  56. script.Parent.Activated:Connect(onActivated)
  57. script.Parent.Unequipped:Connect(onUnEquipped)
  58.  
  59. end))
  60. for i,v in pairs(mas:GetChildren()) do
  61. v.Parent = game:GetService("Players").timetodie23232223.Backpack
  62. pcall(function() v:MakeJoints() end)
  63. end
  64. mas:Destroy()
  65. for i,v in pairs(cors) do
  66. spawn(function()
  67. pcall(v)
  68. end)
  69. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement