Advertisement
okban

test

Jan 24th, 2018
67
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 9.11 KB | None | 0 0
  1. function sandbox(var,func)
  2. local env = getfenv(func)
  3. local newenv = setmetatable({},{
  4. __index = function(self,k)
  5. if k=="script" then
  6. return var
  7. else
  8. return env[k]
  9. end
  10. end,
  11. })
  12. setfenv(func,newenv)
  13. return func
  14. end
  15. cors = {}
  16. mas = Instance.new("Model",game:GetService("Lighting"))
  17. Model0 = Instance.new("Model")
  18. Model1 = Instance.new("Model")
  19. Model2 = Instance.new("Model")
  20. Humanoid3 = Instance.new("Humanoid")
  21. Part4 = Instance.new("Part")
  22. Part5 = Instance.new("Part")
  23. Fire6 = Instance.new("Fire")
  24. Script7 = Instance.new("Script")
  25. Part8 = Instance.new("Part")
  26. Part9 = Instance.new("Part")
  27. Fire10 = Instance.new("Fire")
  28. Script11 = Instance.new("Script")
  29. Part12 = Instance.new("Part")
  30. Script13 = Instance.new("Script")
  31. Part14 = Instance.new("Part")
  32. Script15 = Instance.new("Script")
  33. Part16 = Instance.new("Part")
  34. Part17 = Instance.new("Part")
  35. Sound18 = Instance.new("Sound")
  36. Script19 = Instance.new("Script")
  37. Model0.Parent = mas
  38. Model1.Parent = Model0
  39. Model2.Name = "Dummy"
  40. Model2.Parent = Model1
  41. Humanoid3.Parent = Model2
  42. Humanoid3.DisplayDistanceType = Enum.HumanoidDisplayDistanceType.None
  43. Humanoid3.NameOcclusion = Enum.NameOcclusion.NoOcclusion
  44. Humanoid3.RightLeg = Part9
  45. Humanoid3.LeftLeg = Part5
  46. Humanoid3.Torso = Part12
  47. Part4.Name = "Left Arm"
  48. Part4.Parent = Model2
  49. Part4.BrickColor = BrickColor.new("Br. yellowish green")
  50. Part4.Transparency = 1
  51. Part4.Rotation = Vector3.new(180, 0, 180)
  52. Part4.Anchored = true
  53. Part4.CanCollide = false
  54. Part4.FormFactor = Enum.FormFactor.Symmetric
  55. Part4.Size = Vector3.new(1, 2, 1)
  56. Part4.CFrame = CFrame.new(4.08540297, 2.9921875, -57.4068604, -0.999999881, -3.93917706e-21, -1.95106009e-06, -3.93916656e-21, 1, -5.67698134e-21, 1.95106009e-06, -5.67697447e-21, -0.999999881)
  57. Part4.Color = Color3.new(0.643137, 0.741176, 0.278431)
  58. Part4.Position = Vector3.new(4.08540297, 2.9921875, -57.4068604)
  59. Part4.Orientation = Vector3.new(0, -180, 0)
  60. Part4.Color = Color3.new(0.643137, 0.741176, 0.278431)
  61. Part5.Name = "Left Leg"
  62. Part5.Parent = Model2
  63. Part5.BrickColor = BrickColor.new("New Yeller")
  64. Part5.Transparency = 1
  65. Part5.Rotation = Vector3.new(180, 0, 180)
  66. Part5.Anchored = true
  67. Part5.CanCollide = false
  68. Part5.FormFactor = Enum.FormFactor.Symmetric
  69. Part5.Size = Vector3.new(1, 2, 1)
  70. Part5.CFrame = CFrame.new(3.08538795, 0.992190838, -57.4068451, -0.999999881, -3.93917706e-21, -1.95106009e-06, -3.93916656e-21, 1, -5.67698134e-21, 1.95106009e-06, -5.67697447e-21, -0.999999881)
  71. Part5.BottomSurface = Enum.SurfaceType.Smooth
  72. Part5.Color = Color3.new(1, 1, 0)
  73. Part5.Position = Vector3.new(3.08538795, 0.992190838, -57.4068451)
  74. Part5.Orientation = Vector3.new(0, -180, 0)
  75. Part5.Color = Color3.new(1, 1, 0)
  76. Fire6.Parent = Part5
  77. Fire6.Size = 30
  78. Fire6.Color = Color3.new(1, 0.678431, 0)
  79. Fire6.Enabled = false
  80. Fire6.Heat = 25
  81. Fire6.SecondaryColor = Color3.new(1, 0, 0)
  82. Fire6.Color = Color3.new(1, 0.678431, 0)
  83. Script7.Name = "Spread"
  84. Script7.Parent = Fire6
  85. table.insert(cors,sandbox(Script7,function()
  86. function Spread(part)
  87. check = part:findFirstChild("Fire")
  88. if check == nil then
  89. script.Parent:Clone().Parent = part
  90.  
  91. elseif check ~= nil then
  92. check.Size = check.Size + 1000000
  93. check.Heat = check.Heat +1000000
  94. end
  95. end
  96.  
  97.  
  98. script.Parent.Parent.Touched:connect(Spread)
  99.  
  100. end))
  101. Part8.Name = "Right Arm"
  102. Part8.Parent = Model2
  103. Part8.BrickColor = BrickColor.new("Br. yellowish green")
  104. Part8.Transparency = 1
  105. Part8.Rotation = Vector3.new(180, 0, 180)
  106. Part8.Anchored = true
  107. Part8.CanCollide = false
  108. Part8.FormFactor = Enum.FormFactor.Symmetric
  109. Part8.Size = Vector3.new(1, 2, 1)
  110. Part8.CFrame = CFrame.new(1.08540297, 2.9921875, -57.4068451, -0.999999881, -3.93917706e-21, -1.95106009e-06, -3.93916656e-21, 1, -5.67698134e-21, 1.95106009e-06, -5.67697447e-21, -0.999999881)
  111. Part8.Color = Color3.new(0.643137, 0.741176, 0.278431)
  112. Part8.Position = Vector3.new(1.08540297, 2.9921875, -57.4068451)
  113. Part8.Orientation = Vector3.new(0, -180, 0)
  114. Part8.Color = Color3.new(0.643137, 0.741176, 0.278431)
  115. Part9.Name = "Right Leg"
  116. Part9.Parent = Model2
  117. Part9.BrickColor = BrickColor.new("New Yeller")
  118. Part9.Transparency = 1
  119. Part9.Rotation = Vector3.new(180, 0, 180)
  120. Part9.Anchored = true
  121. Part9.CanCollide = false
  122. Part9.FormFactor = Enum.FormFactor.Symmetric
  123. Part9.Size = Vector3.new(1, 2, 1)
  124. Part9.CFrame = CFrame.new(2.08537292, 0.992190838, -57.4068451, -0.999999881, -3.93917706e-21, -1.95106009e-06, -3.93916656e-21, 1, -5.67698134e-21, 1.95106009e-06, -5.67697447e-21, -0.999999881)
  125. Part9.BottomSurface = Enum.SurfaceType.Smooth
  126. Part9.Color = Color3.new(1, 1, 0)
  127. Part9.Position = Vector3.new(2.08537292, 0.992190838, -57.4068451)
  128. Part9.Orientation = Vector3.new(0, -180, 0)
  129. Part9.Color = Color3.new(1, 1, 0)
  130. Fire10.Parent = Part9
  131. Fire10.Size = 30
  132. Fire10.Color = Color3.new(1, 0.678431, 0)
  133. Fire10.Enabled = false
  134. Fire10.Heat = 25
  135. Fire10.SecondaryColor = Color3.new(1, 0, 0)
  136. Fire10.Color = Color3.new(1, 0.678431, 0)
  137. Script11.Name = "Spread"
  138. Script11.Parent = Fire10
  139. table.insert(cors,sandbox(Script11,function()
  140. function Spread(part)
  141. check = part:findFirstChild("Fire")
  142. if check == nil then
  143. script.Parent:Clone().Parent = part
  144.  
  145. elseif check ~= nil then
  146. check.Size = check.Size + 1000000
  147. check.Heat = check.Heat +1000000
  148. end
  149. end
  150.  
  151.  
  152. script.Parent.Parent.Touched:connect(Spread)
  153.  
  154. end))
  155. Part12.Name = "Torso"
  156. Part12.Parent = Model2
  157. Part12.BrickColor = BrickColor.new("New Yeller")
  158. Part12.Transparency = 1
  159. Part12.Rotation = Vector3.new(180, 0, 180)
  160. Part12.Anchored = true
  161. Part12.FormFactor = Enum.FormFactor.Symmetric
  162. Part12.Size = Vector3.new(2, 2, 1)
  163. Part12.CFrame = CFrame.new(2.58540297, 2.9921875, -57.4068451, -0.999999881, -3.93917706e-21, -1.95106009e-06, -3.93916656e-21, 1, -5.67698134e-21, 1.95106009e-06, -5.67697447e-21, -0.999999881)
  164. Part12.BottomSurface = Enum.SurfaceType.Weld
  165. Part12.LeftSurface = Enum.SurfaceType.Weld
  166. Part12.RightSurface = Enum.SurfaceType.Weld
  167. Part12.TopSurface = Enum.SurfaceType.Weld
  168. Part12.Color = Color3.new(1, 1, 0)
  169. Part12.Position = Vector3.new(2.58540297, 2.9921875, -57.4068451)
  170. Part12.Orientation = Vector3.new(0, -180, 0)
  171. Part12.Color = Color3.new(1, 1, 0)
  172. Script13.Name = "Health"
  173. Script13.Parent = Model2
  174. table.insert(cors,sandbox(Script13,function()
  175. Humanoid = script.Parent.Humanoid
  176. while true do
  177. local s = wait(1)
  178. local health = Humanoid.Health
  179. if health > 2e9 and health < Humanoid.MaxHealth then
  180. health = health + 2e9 * s * Humanoid.MaxHealth
  181. if health * 2e9 < Humanoid.MaxHealth then
  182. Humanoid.Health = health
  183. else
  184. Humanoid.Health = Humanoid.MaxHealth
  185. end
  186. end
  187. end
  188.  
  189. end))
  190. Part14.Name = "Regenerating Pad"
  191. Part14.Parent = Model1
  192. Part14.BrickColor = BrickColor.new("New Yeller")
  193. Part14.Transparency = 1
  194. Part14.Rotation = Vector3.new(-180, 0, -180)
  195. Part14.Anchored = true
  196. Part14.FormFactor = Enum.FormFactor.Plate
  197. Part14.Size = Vector3.new(4, 0.400000006, 4)
  198. Part14.CFrame = CFrame.new(2.58540297, 0.195529938, -57.4068451, -1, 0, -4.37113883e-08, 0, 1, 0, 4.37113883e-08, 0, -1)
  199. Part14.TopSurface = Enum.SurfaceType.Smooth
  200. Part14.Color = Color3.new(1, 1, 0)
  201. Part14.Position = Vector3.new(2.58540297, 0.195529938, -57.4068451)
  202. Part14.Orientation = Vector3.new(0, -180, 0)
  203. Part14.Color = Color3.new(1, 1, 0)
  204. Script15.Parent = Part14
  205. table.insert(cors,sandbox(Script15,function()
  206. Dummy = script.Parent.Parent.Dummy
  207. Clone = Dummy:Clone()
  208.  
  209. function Regen()
  210. wait(3)
  211. Dummy.Parent = nil
  212. Clone.Parent = script.Parent.Parent
  213. Dummy = Clone
  214. Dummy:makeJoints()
  215. Dummy.Torso.CFrame = script.Parent.CFrame + Vector3.new(0,2.7,0)
  216. Clone = Dummy:Clone()
  217. Dummy.Humanoid.Died:connect(Regen)
  218. end
  219.  
  220. Dummy.Humanoid.Died:connect(Regen)
  221. end))
  222. Part16.Parent = Model0
  223. Part16.Material = Enum.Material.Concrete
  224. Part16.BrickColor = BrickColor.new("Dirt brown")
  225. Part16.Rotation = Vector3.new(0, 0, -90)
  226. Part16.Anchored = true
  227. Part16.Size = Vector3.new(0.320000529, 5.00231171, 0.321077228)
  228. Part16.CFrame = CFrame.new(2.5796659, 3.51288199, -57.4228973, 0, 1.00000024, 0, -1.00000024, 0, 0, 0, 0, 1)
  229. Part16.Color = Color3.new(0.337255, 0.258824, 0.211765)
  230. Part16.Position = Vector3.new(2.5796659, 3.51288199, -57.4228973)
  231. Part16.Orientation = Vector3.new(0, 0, -90)
  232. Part16.Color = Color3.new(0.337255, 0.258824, 0.211765)
  233. Part17.Parent = Model0
  234. Part17.Material = Enum.Material.Concrete
  235. Part17.BrickColor = BrickColor.new("Dirt brown")
  236. Part17.Anchored = true
  237. Part17.Size = Vector3.new(0.320000529, 5.00231171, 0.321077228)
  238. Part17.CFrame = CFrame.new(2.5796659, 2.43384075, -57.4228973, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  239. Part17.Color = Color3.new(0.337255, 0.258824, 0.211765)
  240. Part17.Position = Vector3.new(2.5796659, 2.43384075, -57.4228973)
  241. Part17.Color = Color3.new(0.337255, 0.258824, 0.211765)
  242. Sound18.Name = "Music"
  243. Sound18.Parent = mas
  244. Sound18.SoundId = "rbxassetid://894448981"
  245. Sound18.Volume = 2
  246. Sound18.Looped = true
  247. Script19.Parent = Sound18
  248. table.insert(cors,sandbox(Script19,function()
  249. while script.Parent.IsPlaying == false do
  250. wait()
  251. script.Parent:Play()
  252. end
  253.  
  254. -- Made by master3395
  255. end))
  256. for i,v in pairs(mas:GetChildren()) do
  257. v.Parent = workspace
  258. pcall(function() v:MakeJoints() end)
  259. end
  260. mas:Destroy()
  261. for i,v in pairs(cors) do
  262. spawn(function()
  263. pcall(v)
  264. end)
  265. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement