Advertisement
antoniorigo4

chocolate script

Jan 27th, 2019
268
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 5.39 KB | None | 0 0
  1.  
  2. --Converted with ttyyuu12345's model to script plugin v4
  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. Model0 = Instance.new("Model")
  20. Part1 = Instance.new("Part")
  21. Script2 = Instance.new("Script")
  22. Part3 = Instance.new("Part")
  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. Part9 = Instance.new("Part")
  29. Script10 = Instance.new("Script")
  30. WeldConstraint11 = Instance.new("WeldConstraint")
  31. WeldConstraint12 = Instance.new("WeldConstraint")
  32. Script13 = Instance.new("Script")
  33. BillboardGui14 = Instance.new("BillboardGui")
  34. TextLabel15 = Instance.new("TextLabel")
  35. Script16 = Instance.new("Script")
  36. Model0.Name = "chocolate is my enemy"
  37. Model0.Parent = mas
  38. Part1.Name = "hold"
  39. Part1.Parent = Model0
  40. Part1.CFrame = CFrame.new(14.4799995, 3, 4.48999834, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  41. Part1.Orientation = Vector3.new(0, -90, 0)
  42. Part1.Position = Vector3.new(14.4799995, 3, 4.48999834)
  43. Part1.Rotation = Vector3.new(0, -90, 0)
  44. Part1.Color = Color3.new(0.411765, 0.25098, 0.156863)
  45. Part1.Transparency = 1
  46. Part1.Size = Vector3.new(1, 2, 1)
  47. Part1.BottomSurface = Enum.SurfaceType.Smooth
  48. Part1.BrickColor = BrickColor.new("Reddish brown")
  49. Part1.TopSurface = Enum.SurfaceType.Smooth
  50. Part1.brickColor = BrickColor.new("Reddish brown")
  51. Script2.Name = "WELDARM"
  52. Script2.Parent = Part1
  53. table.insert(cors,sandbox(Script2,function()
  54. wait (2)
  55. local chara = game.Players.antoniorigo4.Character
  56. local weld = Instance.new("Weld",script.Parent)weld.Part0 = script.Parent weld.Part1 = chara["Left Arm"]
  57.  
  58. end))
  59. Part3.Name = "chocolate"
  60. Part3.Parent = Model0
  61. Part3.CFrame = CFrame.new(16, 2.20000005, 4.5, -1, -1.35651863e-17, -1.31366621e-22, -1.35651863e-17, 1, 3.90816998e-17, 1.31366621e-22, 3.90816998e-17, -1)
  62. Part3.Orientation = Vector3.new(0, -180, 0)
  63. Part3.Position = Vector3.new(16, 2.20000005, 4.5)
  64. Part3.Rotation = Vector3.new(-180, 0, 180)
  65. Part3.Color = Color3.new(0.384314, 0.278431, 0.196078)
  66. Part3.Size = Vector3.new(2, 0.400000006, 1)
  67. Part3.BottomSurface = Enum.SurfaceType.Smooth
  68. Part3.BrickColor = BrickColor.new("Earth orange")
  69. Part3.brickColor = BrickColor.new("Earth orange")
  70. Part3.FormFactor = Enum.FormFactor.Plate
  71. Part3.formFactor = Enum.FormFactor.Plate
  72. Decal4.Parent = Part3
  73. Decal4.Texture = "http://www.roblox.com/asset/?id=9186823"
  74. Decal4.Face = Enum.NormalId.Top
  75. Decal5.Parent = Part3
  76. Decal5.Texture = "http://www.roblox.com/asset/?id=9186823"
  77. Decal6.Parent = Part3
  78. Decal6.Texture = "http://www.roblox.com/asset/?id=9186828"
  79. Decal6.Face = Enum.NormalId.Right
  80. Decal7.Parent = Part3
  81. Decal7.Texture = "http://www.roblox.com/asset/?id=9186968"
  82. Decal7.Face = Enum.NormalId.Bottom
  83. Decal8.Parent = Part3
  84. Decal8.Texture = "http://www.roblox.com/asset/?id=9186968"
  85. Decal8.Face = Enum.NormalId.Back
  86. Part9.Parent = Part3
  87. Part9.CFrame = CFrame.new(19, 2.22999978, 4.49499798, 1, -5.13403107e-39, 0, -5.13403107e-39, 1, 0, 0, 0, 1)
  88. Part9.Position = Vector3.new(19, 2.22999978, 4.49499798)
  89. Part9.Color = Color3.new(0.411765, 0.25098, 0.156863)
  90. Part9.Size = Vector3.new(4, 0.200000077, 0.260000199)
  91. Part9.BottomSurface = Enum.SurfaceType.Smooth
  92. Part9.BrickColor = BrickColor.new("Reddish brown")
  93. Part9.TopSurface = Enum.SurfaceType.Smooth
  94. Part9.brickColor = BrickColor.new("Reddish brown")
  95. Script10.Parent = Part9
  96. table.insert(cors,sandbox(Script10,function()
  97. --Made by icokidd97
  98. wait (1)
  99. local chara = owner.Character
  100. function bone(player)
  101. if player then
  102. if player.Parent:FindFirstChild("Humanoid")
  103. then player.Parent:BreakJoints()
  104. chara.Head.BBG.tuxt.Text = "not every Chocolate is harmless"
  105. chara.Head.BBG.tuxt.Text = ""..chara.parent.Name
  106. end
  107. end
  108. end
  109. script.Parent.Touched:connect(bone)
  110. end))
  111. WeldConstraint11.Parent = Part9
  112. WeldConstraint11.Part0 = Part9
  113. WeldConstraint11.Part1 = Part3
  114. WeldConstraint12.Parent = Part3
  115. WeldConstraint12.Part0 = Part3
  116. WeldConstraint12.Part1 = Part1
  117. Script13.Parent = Model0
  118. table.insert(cors,sandbox(Script13,function()
  119. script.Parent.Parent = owner.Character
  120.  
  121. end))
  122. BillboardGui14.Name = "BBG"
  123. BillboardGui14.Parent = Model0
  124. BillboardGui14.LightInfluence = 1
  125. BillboardGui14.Size = UDim2.new(0, 200, 0, 50)
  126. BillboardGui14.ClipsDescendants = true
  127. BillboardGui14.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
  128. BillboardGui14.MaxDistance = 50
  129. BillboardGui14.StudsOffset = Vector3.new(0, 3, 0)
  130. TextLabel15.Name = "tuxt"
  131. TextLabel15.Parent = BillboardGui14
  132. TextLabel15.Size = UDim2.new(0, 200, 0, 50)
  133. TextLabel15.BackgroundColor = BrickColor.new("Institutional white")
  134. TextLabel15.BackgroundColor3 = Color3.new(1, 1, 1)
  135. TextLabel15.Font = Enum.Font.GothamBlack
  136. TextLabel15.FontSize = Enum.FontSize.Size14
  137. TextLabel15.Text = ""
  138. TextLabel15.TextColor = BrickColor.new("Crimson")
  139. TextLabel15.TextColor3 = Color3.new(0.666667, 0, 0)
  140. TextLabel15.TextSize = 13
  141. Script16.Name = "Parenting"
  142. Script16.Parent = BillboardGui14
  143. table.insert(cors,sandbox(Script16,function()
  144. script.Parent.Parent = owner.Character.Head
  145.  
  146. end))
  147. for i,v in pairs(mas:GetChildren()) do
  148.     v.Parent = workspace
  149.     pcall(function() v:MakeJoints() end)
  150. end
  151. mas:Destroy()
  152. for i,v in pairs(cors) do
  153.     spawn(function()
  154.         pcall(v)
  155.     end)
  156. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement