Advertisement
soubrhomi

DIE

Nov 17th, 2018
190
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 8.47 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. Sparkles3 = Instance.new("Sparkles")
  23. Model4 = Instance.new("Model")
  24. Part5 = Instance.new("Part")
  25. SpecialMesh6 = Instance.new("SpecialMesh")
  26. Decal7 = Instance.new("Decal")
  27. Part8 = Instance.new("Part")
  28. Decal9 = Instance.new("Decal")
  29. Part10 = Instance.new("Part")
  30. Part11 = Instance.new("Part")
  31. Part12 = Instance.new("Part")
  32. Part13 = Instance.new("Part")
  33. Humanoid14 = Instance.new("Humanoid")
  34. Script15 = Instance.new("Script")
  35. Shirt16 = Instance.new("Shirt")
  36. Pants17 = Instance.new("Pants")
  37. Configuration18 = Instance.new("Configuration")
  38. StringValue19 = Instance.new("StringValue")
  39. IntValue20 = Instance.new("IntValue")
  40. IntValue21 = Instance.new("IntValue")
  41. Model0.Parent = mas
  42. Part1.Parent = Model0
  43. Part1.CFrame = CFrame.new(-2, 0.5, -15, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  44. Part1.Position = Vector3.new(-2, 0.5, -15)
  45. Part1.Size = Vector3.new(4, 1, 4)
  46. Part1.Anchored = true
  47. Part1.BottomSurface = Enum.SurfaceType.Smooth
  48. Part1.TopSurface = Enum.SurfaceType.Smooth
  49. Script2.Parent = Part1
  50. table.insert(cors,sandbox(Script2,function()
  51. local Brick = script.Parent
  52.  
  53. local function PlayerTouched(Part)
  54.     local Parent = Part.Parent
  55.     if game.Players:GetPlayerFromCharacter(Parent) then
  56.         Parent.Humanoid.Health = 0
  57.     end
  58. end
  59.  
  60. Brick.Touched:connect(PlayerTouched)
  61. end))
  62. Sparkles3.Parent = Part1
  63. Model4.Name = "Touch for free admin :D"
  64. Model4.Parent = Model0
  65. Model4.PrimaryPart = Part5
  66. Part5.Name = "Head"
  67. Part5.Parent = Model4
  68. Part5.CFrame = CFrame.new(-2.66074872, 4.49974871, -18.4121609, -0.996981502, -0.0062736962, -0.0773859993, -0.00513961678, 0.999876738, -0.0148453107, 0.0774695724, -0.0144027639, -0.996890903)
  69. Part5.Orientation = Vector3.new(0.849999964, -175.559998, -0.289999992)
  70. Part5.Position = Vector3.new(-2.66074872, 4.49974871, -18.4121609)
  71. Part5.Rotation = Vector3.new(179.149994, -4.44000006, 179.639999)
  72. Part5.Color = Color3.new(0.960784, 0.803922, 0.188235)
  73. Part5.Size = Vector3.new(2, 1, 1)
  74. Part5.Anchored = true
  75. Part5.BrickColor = BrickColor.new("Bright yellow")
  76. Part5.CanCollide = false
  77. Part5.TopSurface = Enum.SurfaceType.Smooth
  78. Part5.brickColor = BrickColor.new("Bright yellow")
  79. Part5.FormFactor = Enum.FormFactor.Symmetric
  80. Part5.formFactor = Enum.FormFactor.Symmetric
  81. SpecialMesh6.Parent = Part5
  82. SpecialMesh6.Scale = Vector3.new(1.25, 1.25, 1.25)
  83. Decal7.Parent = Part5
  84. Decal7.Texture = "http://www.roblox.com/asset/?id=8056256"
  85. Part8.Name = "Torso"
  86. Part8.Parent = Model4
  87. Part8.CFrame = CFrame.new(-2.6513381, 2.99993372, -18.3905563, -0.996981502, -0.00627369527, -0.0773859918, -0.00513961678, 0.999876618, -0.0148453088, 0.0774695724, -0.0144027621, -0.996890783)
  88. Part8.Orientation = Vector3.new(0.849999964, -175.559998, -0.289999992)
  89. Part8.Position = Vector3.new(-2.6513381, 2.99993372, -18.3905563)
  90. Part8.Rotation = Vector3.new(179.149994, -4.44000006, 179.639999)
  91. Part8.Color = Color3.new(0.0509804, 0.411765, 0.67451)
  92. Part8.Size = Vector3.new(2, 2, 1)
  93. Part8.Anchored = true
  94. Part8.BrickColor = BrickColor.new("Bright blue")
  95. Part8.CanCollide = false
  96. Part8.LeftParamA = 0
  97. Part8.LeftParamB = 0
  98. Part8.LeftSurface = Enum.SurfaceType.Weld
  99. Part8.RightParamA = 0
  100. Part8.RightParamB = 0
  101. Part8.RightSurface = Enum.SurfaceType.Weld
  102. Part8.brickColor = BrickColor.new("Bright blue")
  103. Part8.FormFactor = Enum.FormFactor.Symmetric
  104. Part8.formFactor = Enum.FormFactor.Symmetric
  105. Decal9.Name = "roblox"
  106. Decal9.Parent = Part8
  107. Part10.Name = "Left Arm"
  108. Part10.Parent = Model4
  109. Part10.CFrame = CFrame.new(-1.15586579, 3.00764346, -18.5067616, -0.996981502, -0.0062736962, -0.0773859993, -0.00513961678, 0.999876738, -0.0148453107, 0.0774695724, -0.0144027639, -0.996890903)
  110. Part10.Orientation = Vector3.new(0.849999964, -175.559998, -0.289999992)
  111. Part10.Position = Vector3.new(-1.15586579, 3.00764346, -18.5067616)
  112. Part10.Rotation = Vector3.new(179.149994, -4.44000006, 179.639999)
  113. Part10.Color = Color3.new(0.960784, 0.803922, 0.188235)
  114. Part10.Size = Vector3.new(1, 2, 1)
  115. Part10.Anchored = true
  116. Part10.BrickColor = BrickColor.new("Bright yellow")
  117. Part10.CanCollide = false
  118. Part10.brickColor = BrickColor.new("Bright yellow")
  119. Part10.FormFactor = Enum.FormFactor.Symmetric
  120. Part10.formFactor = Enum.FormFactor.Symmetric
  121. Part11.Name = "Right Arm"
  122. Part11.Parent = Model4
  123. Part11.CFrame = CFrame.new(-4.14681053, 2.99222422, -18.274353, -0.996981502, -0.0062736962, -0.0773859993, -0.00513961678, 0.999876738, -0.0148453107, 0.0774695724, -0.0144027639, -0.996890903)
  124. Part11.Orientation = Vector3.new(0.849999964, -175.559998, -0.289999992)
  125. Part11.Position = Vector3.new(-4.14681053, 2.99222422, -18.274353)
  126. Part11.Rotation = Vector3.new(179.149994, -4.44000006, 179.639999)
  127. Part11.Color = Color3.new(0.960784, 0.803922, 0.188235)
  128. Part11.Size = Vector3.new(1, 2, 1)
  129. Part11.Anchored = true
  130. Part11.BrickColor = BrickColor.new("Bright yellow")
  131. Part11.CanCollide = false
  132. Part11.brickColor = BrickColor.new("Bright yellow")
  133. Part11.FormFactor = Enum.FormFactor.Symmetric
  134. Part11.formFactor = Enum.FormFactor.Symmetric
  135. Part12.Name = "Left Leg"
  136. Part12.Parent = Model4
  137. Part12.CFrame = CFrame.new(-2.14030004, 1.00275469, -18.400486, -0.996981502, -0.0062736962, -0.0773859993, -0.00513961678, 0.999876738, -0.0148453107, 0.0774695724, -0.0144027639, -0.996890903)
  138. Part12.Orientation = Vector3.new(0.849999964, -175.559998, -0.289999992)
  139. Part12.Position = Vector3.new(-2.14030004, 1.00275469, -18.400486)
  140. Part12.Rotation = Vector3.new(179.149994, -4.44000006, 179.639999)
  141. Part12.Color = Color3.new(0.643137, 0.741176, 0.278431)
  142. Part12.Size = Vector3.new(1, 2, 1)
  143. Part12.Anchored = true
  144. Part12.BottomSurface = Enum.SurfaceType.Smooth
  145. Part12.BrickColor = BrickColor.new("Br. yellowish green")
  146. Part12.CanCollide = false
  147. Part12.brickColor = BrickColor.new("Br. yellowish green")
  148. Part12.FormFactor = Enum.FormFactor.Symmetric
  149. Part12.formFactor = Enum.FormFactor.Symmetric
  150. Part13.Name = "Right Leg"
  151. Part13.Parent = Model4
  152. Part13.CFrame = CFrame.new(-3.13728142, 0.997615099, -18.3230152, -0.996981502, -0.0062736962, -0.0773859993, -0.00513961678, 0.999876738, -0.0148453107, 0.0774695724, -0.0144027639, -0.996890903)
  153. Part13.Orientation = Vector3.new(0.849999964, -175.559998, -0.289999992)
  154. Part13.Position = Vector3.new(-3.13728142, 0.997615099, -18.3230152)
  155. Part13.Rotation = Vector3.new(179.149994, -4.44000006, 179.639999)
  156. Part13.Color = Color3.new(0.643137, 0.741176, 0.278431)
  157. Part13.Size = Vector3.new(1, 2, 1)
  158. Part13.Anchored = true
  159. Part13.BottomSurface = Enum.SurfaceType.Smooth
  160. Part13.BrickColor = BrickColor.new("Br. yellowish green")
  161. Part13.CanCollide = false
  162. Part13.brickColor = BrickColor.new("Br. yellowish green")
  163. Part13.FormFactor = Enum.FormFactor.Symmetric
  164. Part13.formFactor = Enum.FormFactor.Symmetric
  165. Humanoid14.Parent = Model4
  166. Humanoid14.LeftLeg = Part12
  167. Humanoid14.NameOcclusion = Enum.NameOcclusion.NoOcclusion
  168. Humanoid14.RightLeg = Part13
  169. Humanoid14.Torso = Part8
  170. Script15.Name = "TextScript"
  171. Script15.Parent = Model4
  172. table.insert(cors,sandbox(Script15,function()
  173. script.Parent.Configuration["NPC Name"].Changed:connect(function(value)
  174.     script.Parent.Name = script.Parent.Configuration["NPC Name"].Value
  175. end)
  176.  
  177. script.Parent.Configuration["Shirt ID"].Changed:connect(function(value)
  178.     Instance.new("Shirt",script.Parent).ShirtTemplate = "rbxassetid://"..tostring(script.Parent.Configuration["Shirt ID"].Value)
  179. end)
  180.  
  181. script.Parent.Configuration["Pants ID"].Changed:connect(function(value)
  182.     Instance.new("Pants",script.Parent).PantsTemplate = "rbxassetid://"..tostring(script.Parent.Configuration["Pants ID"].Value)
  183. end)
  184. end))
  185. Shirt16.Name = "Shirt"
  186. Shirt16.Parent = Model4
  187. Shirt16.ShirtTemplate = "rbxassetid://154967997"
  188. Pants17.Name = "Pants"
  189. Pants17.Parent = Model4
  190. Configuration18.Parent = Model4
  191. StringValue19.Name = "NPC Name"
  192. StringValue19.Parent = Configuration18
  193. StringValue19.Value = "Szekér Fan"
  194. IntValue20.Name = "Shirt ID"
  195. IntValue20.Parent = Configuration18
  196. IntValue21.Name = "Pants ID"
  197. IntValue21.Parent = Configuration18
  198. for i,v in pairs(mas:GetChildren()) do
  199.     v.Parent = script
  200.     pcall(function() v:MakeJoints() end)
  201. end
  202. mas:Destroy()
  203. for i,v in pairs(cors) do
  204.     spawn(function()
  205.         pcall(v)
  206.     end)
  207. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement