Advertisement
Void_scripter0

Sandwitch

Mar 17th, 2019
180
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 20.58 KB | None | 0 0
  1. if game:GetService("RunService"):IsClient()then error("Please run as a server script. Use h/ instead of hl/.")end;print("FE Compatibility: by WaverlyCole");InternalData = {}
  2. do
  3. script.Parent = owner.Character
  4. local Event = Instance.new("RemoteEvent");Event.Name = "UserInput"
  5. local function NewFakeEvent()
  6. local Bind = Instance.new("BindableEvent")
  7. local Fake;Fake = {Connections = {},
  8. fakeEvent=true;
  9. Connect=function(self,Func)
  10. Bind.Event:connect(Func)
  11. self.Connections[Bind] = true
  12. return setmetatable({Connected = true},{
  13. __index = function (self,Index)
  14. if Index:lower() == "disconnect" then
  15. return function() Fake.Connections[Bind] = false;self.Connected = false end
  16. end
  17. return Fake[Index]
  18. end;
  19. __tostring = function() return "Connection" end;
  20. })
  21. end}
  22. Fake.connect = Fake.Connect;return Fake;
  23. end
  24. local Mouse = {Target=nil,Hit=CFrame.new(),KeyUp=NewFakeEvent(),KeyDown=NewFakeEvent(),Button1Up=NewFakeEvent(),Button1Down=NewFakeEvent()}
  25. local UserInputService = {InputBegan=NewFakeEvent(),InputEnded=NewFakeEvent()}
  26. local ContextActionService = {Actions={},BindAction = function(self,actionName,Func,touch,...)
  27. self.Actions[actionName] = Func and {Name=actionName,Function=Func,Keys={...}} or nil
  28. end};ContextActionService.UnBindAction = ContextActionService.BindAction
  29. local function TriggerEvent(self,Event,...)
  30. local Trigger = Mouse[Event]
  31. if Trigger and Trigger.fakeEvent and Trigger.Connections then
  32. for Connection,Active in pairs(Trigger.Connections) do if Active then Connection:Fire(...) end end
  33. end
  34. end
  35. Mouse.TrigEvent = TriggerEvent;UserInputService.TrigEvent = TriggerEvent
  36. Event.OnServerEvent:Connect(function(FiredBy,Input)
  37. if FiredBy.Name ~= owner.Name then return end
  38. if Input.MouseEvent then
  39. Mouse.Target = Input.Target;Mouse.Hit = Input.Hit
  40. else
  41. local Begin = Input.UserInputState == Enum.UserInputState.Begin
  42. if Input.UserInputType == Enum.UserInputType.MouseButton1 then return Mouse:TrigEvent(Begin and "Button1Down" or "Button1Up") end
  43. for _,Action in pairs(ContextActionService.Actions) do
  44. for _,Key in pairs(Action.Keys) do if Key==Input.KeyCode then Action.Function(Action.Name,Input.UserInputState,Input) end end
  45. end
  46. Mouse:TrigEvent(Begin and "KeyDown" or "KeyUp",Input.KeyCode.Name:lower())
  47. UserInputService:TrigEvent(Begin and "InputBegan" or "InputEnded",Input,false)
  48. end
  49. end)
  50. InternalData["Mouse"] = Mouse;InternalData["ContextActionService"] = ContextActionService;InternalData["UserInputService"] = UserInputService
  51. Event.Parent = NLS([[
  52. local Player = owner;local Event = script:WaitForChild("UserInput");local UserInputService = game:GetService("UserInputService");local Mouse = Player:GetMouse()
  53. local Input = function(Input,gameProcessedEvent)
  54. if gameProcessedEvent then return end
  55. Event:FireServer({KeyCode=Input.KeyCode,UserInputType=Input.UserInputType,UserInputState=Input.UserInputState})
  56. end
  57. UserInputService.InputBegan:Connect(Input);UserInputService.InputEnded:Connect(Input)
  58. local Hit,Target
  59. while wait(1/30) do
  60. if Hit ~= Mouse.Hit or Target ~= Mouse.Target then
  61. Hit,Target = Mouse.Hit,Mouse.Target;Event:FireServer({["MouseEvent"]=true,["Target"]=Target,["Hit"]=Hit})
  62. end
  63. end
  64. ]],owner.Character)
  65. end
  66. RealGame = game;game = setmetatable({},{
  67. __index = function (self,Index)
  68. local Sandbox = function (Thing)
  69. if Thing:IsA("Player") then
  70. local RealPlayer = Thing
  71. return setmetatable({},{
  72. __index = function (self,Index)
  73. local Type = type(RealPlayer[Index])
  74. if Type == "function" then
  75. if Index:lower() == "getmouse" or Index:lower() == "mouse" then
  76. return function (self)return InternalData["Mouse"] end
  77. end
  78. return function (self,...)return RealPlayer[Index](RealPlayer,...) end
  79. end
  80. return RealPlayer[Index]
  81. end;
  82. __tostring = function(self) return RealPlayer.Name end
  83. })
  84. end
  85. end
  86. if RealGame[Index] then
  87. local Type = type(RealGame[Index])
  88. if Type == "function" then
  89. if Index:lower() == "getservice" or Index:lower() == "service" then
  90. return function (self,Service)
  91. local FakeServices = {
  92. ["players"] = function()
  93. return setmetatable({},{
  94. __index = function (self2,Index2)
  95. local RealService = RealGame:GetService(Service)
  96. local Type2 = type(Index2)
  97. if Type2 == "function" then
  98. return function (self,...) return RealService[Index2](RealService,...)end
  99. else
  100. if Index2:lower() == "localplayer" then return Sandbox(owner) end
  101. return RealService[Index2]
  102. end
  103. end;
  104. __tostring = function(self) return RealGame:GetService(Service).Name end
  105. })
  106. end;
  107. ["contextactionservice"] = function() return InternalData["ContextActionService"] end;
  108. ["userinputservice"] = function() return InternalData["UserInputService"] end;
  109. ["runservice"] = function()
  110. return setmetatable({},{
  111. __index = function(self2,Index2)
  112. local RealService = RealGame:GetService(Service)
  113. local Type2 = type(Index2)
  114. if Type2 == "function" then
  115. return function (self,...) return RealService[Index2](RealService,...) end
  116. else
  117. local RunServices = {
  118. ["bindtorenderstep"] = function() return function (self,Name,Priority,Function) return RealGame:GetService("RunService").Stepped:Connect(Function) end end;
  119. ["renderstepped"] = function() return RealService["Stepped"] end
  120. }
  121. if RunServices[Index2:lower()] then return RunServices[Index2:lower()]() end
  122. return RealService[Index2]
  123. end
  124. end
  125. })
  126. end
  127. }
  128. if FakeServices[Service:lower()] then return FakeServices[Service:lower()]() end
  129. return RealGame:GetService(Service)
  130. end
  131. end
  132. return function (self,...) return RealGame[Index](RealGame,...) end
  133. else
  134. if game:GetService(Index) then return game:GetService(Index) end
  135. return RealGame[Index]
  136. end
  137. end
  138. return nil
  139. end
  140. });Game = game;owner = game:GetService("Players").LocalPlayer;script = Instance.new("Script");print("Complete! Running...")
  141.  
  142. --Converted with ttyyuu12345's model to script plugin v4
  143. function sandbox(var,func)
  144. local env = getfenv(func)
  145. local newenv = setmetatable({},{
  146. __index = function(self,k)
  147. if k=="script" then
  148. return var
  149. else
  150. return env[k]
  151. end
  152. end,
  153. })
  154. setfenv(func,newenv)
  155. return func
  156. end
  157. cors = {}
  158. mas = Instance.new("Model",game:GetService("Lighting"))
  159. Tool0 = Instance.new("Tool")
  160. Part1 = Instance.new("Part")
  161. BlockMesh2 = Instance.new("BlockMesh")
  162. StringValue3 = Instance.new("StringValue")
  163. Part4 = Instance.new("Part")
  164. BlockMesh5 = Instance.new("BlockMesh")
  165. Sound6 = Instance.new("Sound")
  166. StringValue7 = Instance.new("StringValue")
  167. Part8 = Instance.new("Part")
  168. BlockMesh9 = Instance.new("BlockMesh")
  169. StringValue10 = Instance.new("StringValue")
  170. Part11 = Instance.new("Part")
  171. CylinderMesh12 = Instance.new("CylinderMesh")
  172. StringValue13 = Instance.new("StringValue")
  173. Part14 = Instance.new("Part")
  174. BlockMesh15 = Instance.new("BlockMesh")
  175. StringValue16 = Instance.new("StringValue")
  176. Part17 = Instance.new("Part")
  177. CylinderMesh18 = Instance.new("CylinderMesh")
  178. StringValue19 = Instance.new("StringValue")
  179. Part20 = Instance.new("Part")
  180. BlockMesh21 = Instance.new("BlockMesh")
  181. StringValue22 = Instance.new("StringValue")
  182. Part23 = Instance.new("Part")
  183. SpecialMesh24 = Instance.new("SpecialMesh")
  184. StringValue25 = Instance.new("StringValue")
  185. Part26 = Instance.new("Part")
  186. CylinderMesh27 = Instance.new("CylinderMesh")
  187. StringValue28 = Instance.new("StringValue")
  188. Script29 = Instance.new("Script")
  189. StringValue30 = Instance.new("StringValue")
  190. Script31 = Instance.new("Script")
  191. StringValue32 = Instance.new("StringValue")
  192. Tool0.Name = "Sandvich"
  193. Tool0.Parent = mas
  194. Tool0.GripForward = Vector3.new(-0.976163507, 0, -0.217036337)
  195. Tool0.GripPos = Vector3.new(0.300000012, 0, 0)
  196. Tool0.GripRight = Vector3.new(0.217036337, -0, -0.976163507)
  197. Part1.Name = "Handle3"
  198. Part1.Parent = Tool0
  199. Part1.BrickColor = BrickColor.new("Bright yellow")
  200. Part1.Rotation = Vector3.new(-179.990005, -17.5200005, -179.949997)
  201. Part1.FormFactor = Enum.FormFactor.Plate
  202. Part1.Size = Vector3.new(1, 0.400000006, 1)
  203. Part1.CFrame = CFrame.new(1306.77722, 159.278763, 45.2597885, -0.953597844, 0.000793259533, -0.301083595, 0.00077729387, 0.999999642, 0.000172820452, 0.301083624, -6.92292379e-05, -0.953598082)
  204. Part1.BottomSurface = Enum.SurfaceType.Smooth
  205. Part1.TopSurface = Enum.SurfaceType.Smooth
  206. Part1.Color = Color3.new(0.960784, 0.803922, 0.188235)
  207. Part1.Position = Vector3.new(1306.77722, 159.278763, 45.2597885)
  208. Part1.Orientation = Vector3.new(-0.00999999978, -162.479996, 0.0399999991)
  209. Part1.Color = Color3.new(0.960784, 0.803922, 0.188235)
  210. BlockMesh2.Parent = Part1
  211. BlockMesh2.Scale = Vector3.new(1.70000005, 0.100000001, 1.5)
  212. BlockMesh2.Scale = Vector3.new(1.70000005, 0.100000001, 1.5)
  213. StringValue3.Name = "Te"
  214. StringValue3.Parent = Part1
  215. Part4.Name = "Handle"
  216. Part4.Parent = Tool0
  217. Part4.BrickColor = BrickColor.new("Pastel yellow")
  218. Part4.Rotation = Vector3.new(-179.990005, -17.5200005, -179.949997)
  219. Part4.FormFactor = Enum.FormFactor.Plate
  220. Part4.Size = Vector3.new(1, 0.400000006, 1)
  221. Part4.CFrame = CFrame.new(1306.7771, 159.068756, 45.2598038, -0.953597844, 0.000793259533, -0.301083595, 0.00077729387, 0.999999642, 0.000172820452, 0.301083624, -6.92292379e-05, -0.953598082)
  222. Part4.BottomSurface = Enum.SurfaceType.Smooth
  223. Part4.TopSurface = Enum.SurfaceType.Smooth
  224. Part4.Color = Color3.new(1, 1, 0.8)
  225. Part4.Position = Vector3.new(1306.7771, 159.068756, 45.2598038)
  226. Part4.Orientation = Vector3.new(-0.00999999978, -162.479996, 0.0399999991)
  227. Part4.Color = Color3.new(1, 1, 0.8)
  228. BlockMesh5.Parent = Part4
  229. BlockMesh5.Scale = Vector3.new(1.60000002, 0.5, 1.60000002)
  230. BlockMesh5.Scale = Vector3.new(1.60000002, 0.5, 1.60000002)
  231. Sound6.Name = "DrinkSound"
  232. Sound6.Parent = Part4
  233. Sound6.Pitch = 0.55000001192093
  234. Sound6.SoundId = "http://www.roblox.com/asset/?id=12544690"
  235. Sound6.Volume = 1
  236. StringValue7.Name = "Te"
  237. StringValue7.Parent = Part4
  238. Part8.Name = "Handle2"
  239. Part8.Parent = Tool0
  240. Part8.BrickColor = BrickColor.new("Pastel orange")
  241. Part8.Rotation = Vector3.new(-179.990005, -17.5200005, -179.949997)
  242. Part8.FormFactor = Enum.FormFactor.Plate
  243. Part8.Size = Vector3.new(1, 0.400000006, 1)
  244. Part8.CFrame = CFrame.new(1306.77722, 159.21875, 45.2597923, -0.953597844, 0.000793259533, -0.301083595, 0.00077729387, 0.999999642, 0.000172820452, 0.301083624, -6.92292379e-05, -0.953598082)
  245. Part8.BottomSurface = Enum.SurfaceType.Smooth
  246. Part8.TopSurface = Enum.SurfaceType.Smooth
  247. Part8.Color = Color3.new(1, 0.788235, 0.788235)
  248. Part8.Position = Vector3.new(1306.77722, 159.21875, 45.2597923)
  249. Part8.Orientation = Vector3.new(-0.00999999978, -162.479996, 0.0399999991)
  250. Part8.Color = Color3.new(1, 0.788235, 0.788235)
  251. BlockMesh9.Parent = Part8
  252. BlockMesh9.Scale = Vector3.new(1.60000002, 0.25, 1.70000005)
  253. BlockMesh9.Scale = Vector3.new(1.60000002, 0.25, 1.70000005)
  254. StringValue10.Name = "Te"
  255. StringValue10.Parent = Part8
  256. Part11.Name = "Handle4"
  257. Part11.Parent = Tool0
  258. Part11.BrickColor = BrickColor.new("Bright red")
  259. Part11.Rotation = Vector3.new(-179.990005, -17.5200005, -179.949997)
  260. Part11.FormFactor = Enum.FormFactor.Plate
  261. Part11.Size = Vector3.new(1, 0.400000006, 1)
  262. Part11.CFrame = CFrame.new(1306.46362, 159.338989, 45.0966568, -0.953597844, 0.000793259533, -0.301083595, 0.00077729387, 0.999999642, 0.000172820452, 0.301083624, -6.92292379e-05, -0.953598082)
  263. Part11.BottomSurface = Enum.SurfaceType.Smooth
  264. Part11.TopSurface = Enum.SurfaceType.Smooth
  265. Part11.Color = Color3.new(0.768628, 0.156863, 0.109804)
  266. Part11.Position = Vector3.new(1306.46362, 159.338989, 45.0966568)
  267. Part11.Orientation = Vector3.new(-0.00999999978, -162.479996, 0.0399999991)
  268. Part11.Color = Color3.new(0.768628, 0.156863, 0.109804)
  269. CylinderMesh12.Parent = Part11
  270. CylinderMesh12.Scale = Vector3.new(0.699999988, 0.25, 0.699999988)
  271. CylinderMesh12.Scale = Vector3.new(0.699999988, 0.25, 0.699999988)
  272. StringValue13.Name = "Te"
  273. StringValue13.Parent = Part11
  274. Part14.Name = "Handle5"
  275. Part14.Parent = Tool0
  276. Part14.BrickColor = BrickColor.new("Bright green")
  277. Part14.Rotation = Vector3.new(-179.990005, -17.5200005, -179.949997)
  278. Part14.FormFactor = Enum.FormFactor.Plate
  279. Part14.Size = Vector3.new(1, 0.400000006, 1)
  280. Part14.CFrame = CFrame.new(1306.77734, 159.333755, 45.2597847, -0.953597844, 0.000793259533, -0.301083595, 0.00077729387, 0.999999642, 0.000172820452, 0.301083624, -6.92292379e-05, -0.953598082)
  281. Part14.BottomSurface = Enum.SurfaceType.Smooth
  282. Part14.TopSurface = Enum.SurfaceType.Smooth
  283. Part14.Color = Color3.new(0.294118, 0.592157, 0.294118)
  284. Part14.Position = Vector3.new(1306.77734, 159.333755, 45.2597847)
  285. Part14.Orientation = Vector3.new(-0.00999999978, -162.479996, 0.0399999991)
  286. Part14.Color = Color3.new(0.294118, 0.592157, 0.294118)
  287. BlockMesh15.Parent = Part14
  288. BlockMesh15.Scale = Vector3.new(1.70000005, 0.0500000007, 1.70000005)
  289. BlockMesh15.Scale = Vector3.new(1.70000005, 0.0500000007, 1.70000005)
  290. StringValue16.Name = "Te"
  291. StringValue16.Parent = Part14
  292. Part17.Name = "Handle6"
  293. Part17.Parent = Tool0
  294. Part17.BrickColor = BrickColor.new("Brick yellow")
  295. Part17.Rotation = Vector3.new(-148.800003, -15.0900002, 166.509995)
  296. Part17.FormFactor = Enum.FormFactor.Plate
  297. Part17.Size = Vector3.new(1, 0.800000012, 1)
  298. Part17.CFrame = CFrame.new(1306.63196, 159.568878, 45.4630241, -0.938882291, -0.225208953, -0.260349393, -0.33066228, 0.800320506, 0.500149488, 0.0957248211, 0.555669188, -0.825874805)
  299. Part17.BottomSurface = Enum.SurfaceType.Smooth
  300. Part17.TopSurface = Enum.SurfaceType.Smooth
  301. Part17.Color = Color3.new(0.843137, 0.772549, 0.603922)
  302. Part17.Position = Vector3.new(1306.63196, 159.568878, 45.4630241)
  303. Part17.Orientation = Vector3.new(-30.0100002, -162.5, -22.4500008)
  304. Part17.Color = Color3.new(0.843137, 0.772549, 0.603922)
  305. CylinderMesh18.Parent = Part17
  306. CylinderMesh18.Scale = Vector3.new(0.0500000007, 1, 0.0500000007)
  307. CylinderMesh18.Scale = Vector3.new(0.0500000007, 1, 0.0500000007)
  308. StringValue19.Name = "Te"
  309. StringValue19.Parent = Part17
  310. Part20.Name = "Top"
  311. Part20.Parent = Tool0
  312. Part20.BrickColor = BrickColor.new("Pastel yellow")
  313. Part20.Rotation = Vector3.new(-179.990005, -17.5200005, -179.949997)
  314. Part20.FormFactor = Enum.FormFactor.Plate
  315. Part20.Size = Vector3.new(1, 0.400000006, 1)
  316. Part20.CFrame = CFrame.new(1306.77734, 159.448761, 45.2597771, -0.953597844, 0.000793259533, -0.301083595, 0.00077729387, 0.999999642, 0.000172820452, 0.301083624, -6.92292379e-05, -0.953598082)
  317. Part20.BottomSurface = Enum.SurfaceType.Smooth
  318. Part20.TopSurface = Enum.SurfaceType.Smooth
  319. Part20.Color = Color3.new(1, 1, 0.8)
  320. Part20.Position = Vector3.new(1306.77734, 159.448761, 45.2597771)
  321. Part20.Orientation = Vector3.new(-0.00999999978, -162.479996, 0.0399999991)
  322. Part20.Color = Color3.new(1, 1, 0.8)
  323. BlockMesh21.Parent = Part20
  324. BlockMesh21.Scale = Vector3.new(1.60000002, 0.5, 1.60000002)
  325. BlockMesh21.Scale = Vector3.new(1.60000002, 0.5, 1.60000002)
  326. StringValue22.Name = "Te"
  327. StringValue22.Parent = Part20
  328. Part23.Name = "Handle7"
  329. Part23.Parent = Tool0
  330. Part23.BrickColor = BrickColor.new("Grime")
  331. Part23.Rotation = Vector3.new(-148.800003, -15.0900002, 166.509995)
  332. Part23.FormFactor = Enum.FormFactor.Plate
  333. Part23.Size = Vector3.new(1, 0.400000006, 1)
  334. Part23.CFrame = CFrame.new(1306.5802, 159.752945, 45.5908279, -0.938882291, -0.225208953, -0.260349393, -0.33066228, 0.800320506, 0.500149488, 0.0957248211, 0.555669188, -0.825874805)
  335. Part23.BottomSurface = Enum.SurfaceType.Smooth
  336. Part23.TopSurface = Enum.SurfaceType.Smooth
  337. Part23.Color = Color3.new(0.498039, 0.556863, 0.392157)
  338. Part23.Position = Vector3.new(1306.5802, 159.752945, 45.5908279)
  339. Part23.Orientation = Vector3.new(-30.0100002, -162.5, -22.4500008)
  340. Part23.Color = Color3.new(0.498039, 0.556863, 0.392157)
  341. SpecialMesh24.Parent = Part23
  342. SpecialMesh24.Scale = Vector3.new(0.25, 0.75, 0.5)
  343. SpecialMesh24.MeshType = Enum.MeshType.Sphere
  344. SpecialMesh24.Scale = Vector3.new(0.25, 0.75, 0.5)
  345. StringValue25.Name = "Te"
  346. StringValue25.Parent = Part23
  347. Part26.Name = "Handle42"
  348. Part26.Parent = Tool0
  349. Part26.BrickColor = BrickColor.new("Bright red")
  350. Part26.Rotation = Vector3.new(-179.990005, -17.5200005, -179.949997)
  351. Part26.FormFactor = Enum.FormFactor.Plate
  352. Part26.Size = Vector3.new(1, 0.400000006, 1)
  353. Part26.CFrame = CFrame.new(1307.09094, 159.338516, 45.4229126, -0.953597844, 0.000793259533, -0.301083595, 0.00077729387, 0.999999642, 0.000172820452, 0.301083624, -6.92292379e-05, -0.953598082)
  354. Part26.BottomSurface = Enum.SurfaceType.Smooth
  355. Part26.TopSurface = Enum.SurfaceType.Smooth
  356. Part26.Color = Color3.new(0.768628, 0.156863, 0.109804)
  357. Part26.Position = Vector3.new(1307.09094, 159.338516, 45.4229126)
  358. Part26.Orientation = Vector3.new(-0.00999999978, -162.479996, 0.0399999991)
  359. Part26.Color = Color3.new(0.768628, 0.156863, 0.109804)
  360. CylinderMesh27.Parent = Part26
  361. CylinderMesh27.Scale = Vector3.new(0.699999988, 0.25, 0.699999988)
  362. CylinderMesh27.Scale = Vector3.new(0.699999988, 0.25, 0.699999988)
  363. StringValue28.Name = "Te"
  364. StringValue28.Parent = Part26
  365. Script29.Name = "Welds"
  366. Script29.Parent = Tool0
  367. table.insert(cors,sandbox(Script29,function()
  368. Tool=script.Parent
  369. Handle1 = script.Parent.Handle
  370. Handle2 = script.Parent.Handle2
  371. Handle3 = script.Parent.Handle3
  372. Handle4 = script.Parent.Handle4
  373. Handle5 = script.Parent.Handle5
  374. Handle6 = script.Parent.Handle6
  375. Handle7 = script.Parent.Handle6
  376. Handle8 = script.Parent.Handle7
  377. Top=script.Parent.Top
  378.  
  379. function equipped()
  380.  
  381. Handle1:BreakJoints()
  382. Handle8:BreakJoints()
  383.  
  384. wait(.01)
  385.  
  386. Weld1 = Instance.new("Weld")
  387. Weld2 = Instance.new("Weld")
  388. Weld3 = Instance.new("Weld")
  389. Weld4 = Instance.new("Weld")
  390. Weld5 = Instance.new("Weld")
  391. Weld6 = Instance.new("Weld")
  392. Weld7 = Instance.new("Weld")
  393. Weld8 = Instance.new("Weld")
  394. Weld9=Instance.new("Weld")
  395.  
  396. Weld1.Parent=Handle1
  397. Weld1.Part0=Handle1
  398. Weld1.Part1=Handle2
  399. Weld1.C0=CFrame.new(0,.15,0)
  400.  
  401. Weld2.Parent=Handle1
  402. Weld2.Part0=Handle1
  403. Weld2.Part1=Handle3
  404. Weld2.C0=CFrame.new(0,.21,0)
  405.  
  406. Weld3.Parent=Handle1
  407. Weld3.Part0=Handle1
  408. Weld3.Part1=Handle4
  409. Weld3.C0=CFrame.new(0.25,.27,0.25)
  410.  
  411. Weld4.Parent=Handle1
  412. Weld4.Part0=Handle1
  413. Weld4.Part1=Tool.Handle42
  414. Weld4.C0=CFrame.new(-.25,.27,-0.25)
  415.  
  416. Weld5.Parent=Handle1
  417. Weld5.Part0=Handle1
  418. Weld5.Part1=Tool.Handle5
  419. Weld5.C0=CFrame.new(0,.265,0)
  420.  
  421. Weld6.Parent=Handle1
  422. Weld6.Part0=Handle1
  423. Weld6.Part1=Top
  424. Weld6.C0=CFrame.new(0,.38,0)
  425.  
  426. Weld7.Parent=Handle1
  427. Weld7.Part0=Handle1
  428. Weld7.Part1=Handle6
  429. Weld7.C0=CFrame.new(0.2,.5,-.15)*CFrame.fromEulerAnglesXYZ(-math.pi/6,0,-math.pi/8)
  430.  
  431. Weld8.Parent=Handle1
  432. Weld8.Part0=Handle6
  433. Weld8.Part1=Handle8
  434. Weld8.C0=CFrame.new(0,.23,0)
  435.  
  436. end
  437. Tool.AncestryChanged:connect(equipped)
  438. end))
  439. StringValue30.Name = "Te"
  440. StringValue30.Parent = Script29
  441. Script31.Name = "SandwichScript"
  442. Script31.Parent = Tool0
  443. table.insert(cors,sandbox(Script31,function()
  444. local Tool = script.Parent;
  445.  
  446. enabled = true
  447.  
  448. Uses=3
  449.  
  450. function onActivated()
  451. if not enabled then
  452. return
  453. end
  454.  
  455. enabled = false
  456. Tool.GripForward = Vector3.new(-0.976,0,-0.217)
  457. Tool.GripPos = Vector3.new(0.4,-.6,1)
  458. Tool.GripRight = Vector3.new(0.217,0, 0.976)
  459. Tool.GripUp = Vector3.new(0,1,0)
  460.  
  461.  
  462. Tool.Handle.DrinkSound:Play()
  463.  
  464. wait(.1)
  465.  
  466. local h = Tool.Parent:FindFirstChild("Humanoid")
  467. if (h ~= nil) then
  468. if (h.MaxHealth > h.Health + 20) then
  469. h.Health = h.Health + 10
  470. else
  471. h.Health = h.MaxHealth
  472. end
  473. end
  474.  
  475. wait(.4)
  476.  
  477. local h = Tool.Parent:FindFirstChild("Humanoid")
  478. if (h ~= nil) then
  479. if (h.MaxHealth > h.Health + 20) then
  480. h.Health = h.Health + 7.5
  481. else
  482. h.Health = h.MaxHealth
  483. end
  484. end
  485.  
  486. wait(.35)
  487.  
  488. local h = Tool.Parent:FindFirstChild("Humanoid")
  489. if (h ~= nil) then
  490. if (h.MaxHealth > h.Health + 20) then
  491. h.Health = h.Health + 7.5
  492. else
  493. h.Health = h.MaxHealth
  494. end
  495. end
  496.  
  497. wait(.4)
  498.  
  499. Tool.GripForward = Vector3.new(-0.976,0,-0.217)
  500. Tool.GripPos = Vector3.new(0.3,0,0)
  501. Tool.GripRight = Vector3.new(0.217,0,-0.976)
  502. Tool.GripUp = Vector3.new(0,1,0)
  503.  
  504. Uses=Uses-1
  505.  
  506. wait(2)
  507.  
  508.  
  509. enabled = true
  510.  
  511. end
  512.  
  513. function onEquipped()
  514. Tool.Handle.OpenSound:play()
  515. end
  516.  
  517. script.Parent.Activated:connect(onActivated)
  518. script.Parent.Equipped:connect(onEquipped)
  519.  
  520. while true do
  521. if Uses==0 then
  522. Tool.Parent=nil
  523. end
  524. Tool.Name="Sandvich("..Uses..")"
  525. wait()
  526. end
  527.  
  528. end))
  529. StringValue32.Name = "Te"
  530. StringValue32.Parent = Script31
  531. for i,v in pairs(mas:GetChildren()) do
  532. v.Parent = game:GetService("Players").LocalPlayer.Backpack
  533. pcall(function() v:MakeJoints() end)
  534. end
  535. mas:Destroy()
  536. for i,v in pairs(cors) do
  537. spawn(function()
  538. pcall(v)
  539. end)
  540. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement