Advertisement
UhhLegoboy

Witch Trial

Apr 2nd, 2017
277
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 12.78 KB | None | 0 0
  1. local runDummyScript = function(f,scri)
  2. local oldenv = getfenv(f)
  3. local newenv = setmetatable({}, {
  4. __index = function(_, k)
  5. if k:lower() == 'script' then
  6. return scri
  7. else
  8. return oldenv[k]
  9. end
  10. end
  11. })
  12. setfenv(f, newenv)
  13. ypcall(function() f() end)
  14. end
  15. cors = {}
  16. mas = Instance.new("Model",game:GetService("Lighting"))
  17. mas.Name = "CompiledModel"
  18. o1 = Instance.new("Model")
  19. o2 = Instance.new("Part")
  20. o3 = Instance.new("Part")
  21. o4 = Instance.new("Part")
  22. o5 = Instance.new("Script")
  23. o6 = Instance.new("Sound")
  24. o7 = Instance.new("Sound")
  25. o9 = Instance.new("Part")
  26. o10 = Instance.new("Part")
  27. o11 = Instance.new("Part")
  28. o12 = Instance.new("Part")
  29. o13 = Instance.new("Part")
  30. o14 = Instance.new("Part")
  31. o15 = Instance.new("Part")
  32. o16 = Instance.new("Part")
  33. o17 = Instance.new("Part")
  34. o18 = Instance.new("Part")
  35. o19 = Instance.new("Part")
  36. o1.Parent = mas
  37. o2.Parent = o1
  38. o2.Material = Enum.Material.Grass
  39. o2.BrickColor = BrickColor.new("Daisy orange")
  40. o2.Position = Vector3.new(-3, 0.275001019, -7)
  41. o2.Anchored = true
  42. o2.CanCollide = false
  43. o2.Size = Vector3.new(4, 0.550000012, 4)
  44. o2.CFrame = CFrame.new(-3, 0.275001019, -7, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  45. o2.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  46. o2.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  47. o2.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  48. o2.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  49. o2.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  50. o2.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  51. o2.Color = Color3.new(0.972549, 0.85098, 0.427451)
  52. o2.Position = Vector3.new(-3, 0.275001019, -7)
  53. o3.Parent = o1
  54. o3.Material = Enum.Material.Grass
  55. o3.BrickColor = BrickColor.new("Daisy orange")
  56. o3.Position = Vector3.new(-2, 0.300000012, -9)
  57. o3.Rotation = Vector3.new(-0, -45.0000038, -0)
  58. o3.Anchored = true
  59. o3.CanCollide = false
  60. o3.Size = Vector3.new(4, 0.550000012, 4)
  61. o3.CFrame = CFrame.new(-2, 0.300000012, -9, 0.707106829, 0, -0.707106829, 0, 1, 0, 0.707106829, 0, 0.707106829)
  62. o3.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  63. o3.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  64. o3.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  65. o3.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  66. o3.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  67. o3.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  68. o3.Color = Color3.new(0.972549, 0.85098, 0.427451)
  69. o3.Position = Vector3.new(-2, 0.300000012, -9)
  70. o4.Parent = o1
  71. o4.Material = Enum.Material.WoodPlanks
  72. o4.BrickColor = BrickColor.new("Brown")
  73. o4.Position = Vector3.new(0, 6, -7)
  74. o4.Anchored = true
  75. o4.Size = Vector3.new(1, 9.89999962, 1)
  76. o4.CFrame = CFrame.new(0, 6, -7, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  77. o4.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  78. o4.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  79. o4.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  80. o4.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  81. o4.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  82. o4.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  83. o4.Color = Color3.new(0.486275, 0.360784, 0.27451)
  84. o4.Position = Vector3.new(0, 6, -7)
  85. o5.Parent = o4
  86. table.insert(cors,coroutine.create(function()
  87. wait()
  88. runDummyScript(function()
  89. script.Parent.Touched : connect(function(part)
  90.     local Fire = Instance.new("Fire", script.Parent)
  91.     Fire.Heat = 25
  92.     Fire.Size = 25
  93.     part.Parent.Humanoid.WalkSpeed = 0
  94.     part.Parent.Humanoid.JumpPower = 0
  95.     script.Parent.Scream : play()
  96.     script.Parent.Song : play()
  97.     wait(script.Parent.Song.TimeLength)
  98.     script.Parent.Parent : Destroy()
  99.     part.Parent.Humanoid.Health = 0
  100. end)
  101. end,o5)
  102. end))
  103. o6.Name = "Song"
  104. o6.Parent = o4
  105. o6.SoundId = "rbxassetid://326429386"
  106. o6.Volume = 2
  107. o7.Name = "Scream"
  108. o7.Parent = o4
  109. o7.SoundId = "rbxassetid://144433323"
  110. o7.Volume = 10
  111. o9.Parent = o1
  112. o9.Material = Enum.Material.Grass
  113. o9.BrickColor = BrickColor.new("Daisy orange")
  114. o9.Position = Vector3.new(1, 0.300000012, -9)
  115. o9.Rotation = Vector3.new(-0, -45.0000038, -0)
  116. o9.Anchored = true
  117. o9.CanCollide = false
  118. o9.Size = Vector3.new(4, 0.550000012, 4)
  119. o9.CFrame = CFrame.new(1, 0.300000012, -9, 0.707106829, 0, -0.707106829, 0, 1, 0, 0.707106829, 0, 0.707106829)
  120. o9.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  121. o9.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  122. o9.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  123. o9.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  124. o9.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  125. o9.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  126. o9.Color = Color3.new(0.972549, 0.85098, 0.427451)
  127. o9.Position = Vector3.new(1, 0.300000012, -9)
  128. o10.Parent = o1
  129. o10.Material = Enum.Material.Grass
  130. o10.BrickColor = BrickColor.new("Daisy orange")
  131. o10.Position = Vector3.new(0.914212942, 0.274946004, -6.91421175)
  132. o10.Rotation = Vector3.new(179.994263, -1.03132408e-007, -179.998962)
  133. o10.Anchored = true
  134. o10.CanCollide = false
  135. o10.Size = Vector3.new(4, 0.550000012, 4)
  136. o10.CFrame = CFrame.new(0.914212942, 0.274946004, -6.91421175, -1, 1.80000006e-005, -1.80000004e-009, 1.80000006e-005, 1, -9.99999975e-005, 0, -9.99999975e-005, -1)
  137. o10.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  138. o10.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  139. o10.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  140. o10.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  141. o10.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  142. o10.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  143. o10.Color = Color3.new(0.972549, 0.85098, 0.427451)
  144. o10.Position = Vector3.new(0.914212942, 0.274946004, -6.91421175)
  145. o11.Parent = o1
  146. o11.Material = Enum.Material.Grass
  147. o11.BrickColor = BrickColor.new("Daisy orange")
  148. o11.Position = Vector3.new(0, 0.275001019, -7)
  149. o11.Anchored = true
  150. o11.CanCollide = false
  151. o11.Size = Vector3.new(4, 0.550000012, 4)
  152. o11.CFrame = CFrame.new(0, 0.275001019, -7, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  153. o11.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  154. o11.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  155. o11.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  156. o11.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  157. o11.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  158. o11.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  159. o11.Color = Color3.new(0.972549, 0.85098, 0.427451)
  160. o11.Position = Vector3.new(0, 0.275001019, -7)
  161. o12.Parent = o1
  162. o12.Material = Enum.Material.Grass
  163. o12.BrickColor = BrickColor.new("Daisy orange")
  164. o12.Position = Vector3.new(-2.08578706, 0.274946004, -6.91421175)
  165. o12.Rotation = Vector3.new(179.994263, -1.03132408e-007, -179.998962)
  166. o12.Anchored = true
  167. o12.CanCollide = false
  168. o12.Size = Vector3.new(4, 0.550000012, 4)
  169. o12.CFrame = CFrame.new(-2.08578706, 0.274946004, -6.91421175, -1, 1.80000006e-005, -1.80000004e-009, 1.80000006e-005, 1, -9.99999975e-005, 0, -9.99999975e-005, -1)
  170. o12.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  171. o12.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  172. o12.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  173. o12.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  174. o12.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  175. o12.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  176. o12.Color = Color3.new(0.972549, 0.85098, 0.427451)
  177. o12.Position = Vector3.new(-2.08578706, 0.274946004, -6.91421175)
  178. o13.Parent = o1
  179. o13.Material = Enum.Material.Grass
  180. o13.BrickColor = BrickColor.new("Daisy orange")
  181. o13.Position = Vector3.new(-0.0857861042, 0.300164998, -4.91421413)
  182. o13.Rotation = Vector3.new(179.99324, 45.0000038, -179.99855)
  183. o13.Anchored = true
  184. o13.CanCollide = false
  185. o13.Size = Vector3.new(4, 0.550000012, 4)
  186. o13.CFrame = CFrame.new(-0.0857861042, 0.300164998, -4.91421413, -0.707106829, 1.7987817e-005, 0.707106829, -5.79999869e-005, 1, -8.3438601e-005, -0.707106829, -0.000100012177, -0.707106829)
  187. o13.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  188. o13.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  189. o13.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  190. o13.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  191. o13.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  192. o13.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  193. o13.Color = Color3.new(0.972549, 0.85098, 0.427451)
  194. o13.Position = Vector3.new(-0.0857861042, 0.300164998, -4.91421413)
  195. o14.Parent = o1
  196. o14.Material = Enum.Material.Grass
  197. o14.BrickColor = BrickColor.new("Daisy orange")
  198. o14.Position = Vector3.new(-3.0857861, 0.300164998, -4.91421413)
  199. o14.Rotation = Vector3.new(179.99324, 45.0000038, -179.99855)
  200. o14.Anchored = true
  201. o14.CanCollide = false
  202. o14.Size = Vector3.new(4, 0.550000012, 4)
  203. o14.CFrame = CFrame.new(-3.0857861, 0.300164998, -4.91421413, -0.707106829, 1.7987817e-005, 0.707106829, -5.79999869e-005, 1, -8.3438601e-005, -0.707106829, -0.000100012177, -0.707106829)
  204. o14.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  205. o14.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  206. o14.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  207. o14.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  208. o14.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  209. o14.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  210. o14.Color = Color3.new(0.972549, 0.85098, 0.427451)
  211. o14.Position = Vector3.new(-3.0857861, 0.300164998, -4.91421413)
  212. o15.Parent = o1
  213. o15.Material = Enum.Material.Grass
  214. o15.BrickColor = BrickColor.new("Daisy orange")
  215. o15.Position = Vector3.new(3, 0.300000012, -9)
  216. o15.Rotation = Vector3.new(-0, -45.0000038, -0)
  217. o15.Anchored = true
  218. o15.CanCollide = false
  219. o15.Size = Vector3.new(4, 0.550000012, 4)
  220. o15.CFrame = CFrame.new(3, 0.300000012, -9, 0.707106829, 0, -0.707106829, 0, 1, 0, 0.707106829, 0, 0.707106829)
  221. o15.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  222. o15.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  223. o15.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  224. o15.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  225. o15.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  226. o15.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  227. o15.Color = Color3.new(0.972549, 0.85098, 0.427451)
  228. o15.Position = Vector3.new(3, 0.300000012, -9)
  229. o16.Parent = o1
  230. o16.Material = Enum.Material.Grass
  231. o16.BrickColor = BrickColor.new("Daisy orange")
  232. o16.Position = Vector3.new(2, 0.275001019, -7)
  233. o16.Anchored = true
  234. o16.CanCollide = false
  235. o16.Size = Vector3.new(4, 0.550000012, 4)
  236. o16.CFrame = CFrame.new(2, 0.275001019, -7, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  237. o16.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  238. o16.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  239. o16.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  240. o16.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  241. o16.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  242. o16.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  243. o16.Color = Color3.new(0.972549, 0.85098, 0.427451)
  244. o16.Position = Vector3.new(2, 0.275001019, -7)
  245. o17.Parent = o1
  246. o17.Material = Enum.Material.Grass
  247. o17.BrickColor = BrickColor.new("Daisy orange")
  248. o17.Position = Vector3.new(-1, 0.275001019, -7)
  249. o17.Anchored = true
  250. o17.CanCollide = false
  251. o17.Size = Vector3.new(4, 0.550000012, 4)
  252. o17.CFrame = CFrame.new(-1, 0.275001019, -7, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  253. o17.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  254. o17.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  255. o17.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  256. o17.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  257. o17.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  258. o17.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  259. o17.Color = Color3.new(0.972549, 0.85098, 0.427451)
  260. o17.Position = Vector3.new(-1, 0.275001019, -7)
  261. o18.Parent = o1
  262. o18.Material = Enum.Material.Grass
  263. o18.BrickColor = BrickColor.new("Daisy orange")
  264. o18.Position = Vector3.new(0, 0.300000012, -9)
  265. o18.Rotation = Vector3.new(-0, -45.0000038, -0)
  266. o18.Anchored = true
  267. o18.CanCollide = false
  268. o18.Size = Vector3.new(4, 0.550000012, 4)
  269. o18.CFrame = CFrame.new(0, 0.300000012, -9, 0.707106829, 0, -0.707106829, 0, 1, 0, 0.707106829, 0, 0.707106829)
  270. o18.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  271. o18.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  272. o18.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  273. o18.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  274. o18.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  275. o18.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  276. o18.Color = Color3.new(0.972549, 0.85098, 0.427451)
  277. o18.Position = Vector3.new(0, 0.300000012, -9)
  278. o19.Parent = o1
  279. o19.Material = Enum.Material.WoodPlanks
  280. o19.BrickColor = BrickColor.new("Brown")
  281. o19.Position = Vector3.new(0, 0.5, -7)
  282. o19.Anchored = true
  283. o19.Size = Vector3.new(3, 0.899999976, 3)
  284. o19.CFrame = CFrame.new(0, 0.5, -7, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  285. o19.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  286. o19.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  287. o19.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  288. o19.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  289. o19.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  290. o19.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  291. o19.Color = Color3.new(0.486275, 0.360784, 0.27451)
  292. o19.Position = Vector3.new(0, 0.5, -7)
  293. mas.Parent = workspace
  294. mas:MakeJoints()
  295. local mas1 = mas:GetChildren()
  296. for i=1,#mas1 do
  297.     mas1[i].Parent = workspace
  298.     ypcall(function() mas1[i]:MakeJoints() end)
  299. end
  300. mas:Destroy()
  301. for i=1,#cors do
  302. coroutine.resume(cors[i])
  303. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement