Advertisement
1x1x1x1IAMbck

temmie flakes

May 6th, 2018
591
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.45 KB | None | 0 0
  1. -- By 1x1x1x1IAMbck
  2. print("That will be 1G.")
  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. Part1 = Instance.new("Part")
  21. Sound2 = Instance.new("Sound")
  22. Sound3 = Instance.new("Sound")
  23. Decal4 = Instance.new("Decal")
  24. Decal5 = Instance.new("Decal")
  25. Decal6 = Instance.new("Decal")
  26. Decal7 = Instance.new("Decal")
  27. Decal8 = Instance.new("Decal")
  28. Decal9 = Instance.new("Decal")
  29. Script10 = Instance.new("Script")
  30. Tool0.Name = "Temmie Flakes"
  31. Tool0.Parent = mas
  32. Tool0.GripPos = Vector3.new(0, 0, 0.400000006)
  33. Tool0.CanBeDropped = false
  34. Part1.Name = "Handle"
  35. Part1.Parent = Tool0
  36. Part1.BrickColor = BrickColor.new("Really black")
  37. Part1.CanCollide = false
  38. Part1.FormFactor = Enum.FormFactor.Custom
  39. Part1.Size = Vector3.new(1.86000001, 2.17000008, 0.699999988)
  40. Part1.CFrame = CFrame.new(-5.92999983, 1.08503401, -11.3500004, 1.00000012, -2.55099497e-10, -8.94069672e-08, 2.19268514e-09, 1, -4.4408921e-16, 8.94069672e-08, -2.2340938e-09, 1.00000012)
  41. Part1.BottomSurface = Enum.SurfaceType.Smooth
  42. Part1.TopSurface = Enum.SurfaceType.Smooth
  43. Part1.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  44. Part1.Position = Vector3.new(-5.92999983, 1.08503401, -11.3500004)
  45. Part1.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  46. Sound2.Name = "DrinkSound"
  47. Sound2.Parent = Part1
  48. Sound2.SoundId = "http://www.roblox.com/asset/?id=12544690"
  49. Sound2.Volume = 0.30000001192093
  50. Sound3.Name = "OpenSound"
  51. Sound3.Parent = Part1
  52. Sound3.SoundId = "http://www.roblox.com/asset/?id=331174925"
  53. Sound3.Volume = 1
  54. Decal4.Parent = Part1
  55. Decal4.Texture = "http://www.roblox.com/asset/?id=327473548"
  56. Decal5.Parent = Part1
  57. Decal5.Texture = "http://www.roblox.com/asset/?id=327473548"
  58. Decal5.Face = Enum.NormalId.Back
  59. Decal6.Parent = Part1
  60. Decal6.Texture = "http://www.roblox.com/asset/?id=131299877"
  61. Decal6.Face = Enum.NormalId.Left
  62. Decal7.Parent = Part1
  63. Decal7.Texture = "http://www.roblox.com/asset/?id=131299877"
  64. Decal7.Face = Enum.NormalId.Right
  65. Decal8.Parent = Part1
  66. Decal8.Texture = "http://www.roblox.com/asset/?id=131299877"
  67. Decal8.Face = Enum.NormalId.Bottom
  68. Decal9.Parent = Part1
  69. Decal9.Texture = "http://www.roblox.com/asset/?id=131299877"
  70. Decal9.Face = Enum.NormalId.Top
  71. Script10.Name = "SandwichScript"
  72. Script10.Parent = Tool0
  73. table.insert(cors,sandbox(Script10,function()
  74. local Tool = script.Parent;
  75.  
  76. enabled = true
  77.  
  78. function onActivated()
  79. if not enabled then
  80. return
  81. end
  82. enabled = false
  83.  
  84. Tool.GripForward = Vector3.new(0,-.759,-.651)
  85. Tool.GripPos = Vector3.new(1.5,-0.3,.3)
  86. Tool.GripRight = Vector3.new(1,0,0)
  87. Tool.GripUp = Vector3.new(0,.651,-.759)
  88.  
  89. Tool.Handle.DrinkSound:Play()
  90.  
  91. wait(.8)
  92.  
  93. Tool.GripForward = Vector3.new(0, 0, -1)
  94. Tool.GripPos = Vector3.new(0, 0, 0.4)
  95. Tool.GripRight = Vector3.new(1, 0, 0)
  96. Tool.GripUp = Vector3.new(0, 1, 0)
  97.  
  98. enabled = true
  99.  
  100. end
  101.  
  102. function onEquipped()
  103. Tool.Handle.OpenSound:play()
  104. end
  105.  
  106. script.Parent.Activated:connect(onActivated)
  107. script.Parent.Equipped:connect(onEquipped)
  108.  
  109. end))
  110. for i,v in pairs(mas:GetChildren()) do
  111. v.Parent = game:GetService("Players").LocalPlayer.Backpack
  112. pcall(function() v:MakeJoints() end)
  113. end
  114. mas:Destroy()
  115. for i,v in pairs(cors) do
  116. spawn(function()
  117. pcall(v)
  118. end)
  119. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement