Advertisement
Animescapetower

My Place Roulete Game Teleporter

Jul 4th, 2018
249
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.64 KB | None | 0 0
  1. --Converted with ttyyuu12345's model to script plugin v4
  2. function sandbox(var,func)
  3. local env = getfenv(func)
  4. local newenv = setmetatable({},{
  5. __index = function(self,k)
  6. if k=="script" then
  7. return var
  8. else
  9. return env[k]
  10. end
  11. end,
  12. })
  13. setfenv(func,newenv)
  14. return func
  15. end
  16. cors = {}
  17. print("Made by Animescapetower")
  18. mas = Instance.new("Model",game:GetService("Lighting"))
  19. Model0 = Instance.new("Model")
  20. Part1 = Instance.new("Part")
  21. ClickDetector2 = Instance.new("ClickDetector")
  22. Script3 = Instance.new("Script")
  23. Humanoid4 = Instance.new("Humanoid")
  24. Part5 = Instance.new("Part")
  25. Part6 = Instance.new("Part")
  26. Part7 = Instance.new("Part")
  27. Part8 = Instance.new("Part")
  28. Model0.Name = "Click to randomize game"
  29. Model0.Parent = mas
  30. Part1.Name = "Head"
  31. Part1.Parent = Model0
  32. Part1.Material = Enum.Material.Neon
  33. Part1.BrickColor = BrickColor.new("Bright red")
  34. Part1.Rotation = Vector3.new(-60, 0, 0)
  35. Part1.Anchored = true
  36. Part1.CanCollide = false
  37. Part1.Size = Vector3.new(0.49835819, 0.501658559, 0.249179095)
  38. Part1.CFrame = CFrame.new(28.6508198, 2.17117023, -15.3969946, 1, 0, 0, 0, 0.499999881, 0.866025507, 0, -0.866025507, 0.499999881)
  39. Part1.BottomSurface = Enum.SurfaceType.Smooth
  40. Part1.TopSurface = Enum.SurfaceType.Smooth
  41. Part1.Color = Color3.new(0.768628, 0.156863, 0.109804)
  42. Part1.Position = Vector3.new(28.6508198, 2.17117023, -15.3969946)
  43. Part1.Orientation = Vector3.new(-60, 0, 0)
  44. Part1.Color = Color3.new(0.768628, 0.156863, 0.109804)
  45. ClickDetector2.Parent = Part1
  46. Script3.Parent = Part1
  47. table.insert(cors,sandbox(Script3,function()
  48. print("Opening exit point on touch")
  49. PS = script.Parent.Parent.Part
  50. click = true
  51.  
  52. script.Parent.ClickDetector.MouseClick:connect(function(plr)
  53. PS.Size = Vector3.new(107.3, 10, 10)
  54. print("Teleporting")
  55. if click == true then
  56. id = 0
  57. for n =1,3 do
  58. wait()
  59. script.Parent.Size = script.Parent.Size - Vector3.new(0,0,0.1)
  60. end
  61.  
  62. for n =1,3 do
  63. wait()
  64. script.Parent.Size = script.Parent.Size + Vector3.new(0,0,0.1)
  65. end
  66.  
  67. for n = 1,122 do
  68. wait()
  69. id = math.random(1.2,200000000)
  70. script.Parent.Parent.Name = id
  71. end
  72.  
  73. wait(3)
  74. script.Parent.Parent.Name = "Teleporting to ".. id
  75. wait(2)
  76.  
  77. PS.Touched:connect(function()
  78. game:GetService('TeleportService'):Teleport(id, plr)
  79. wait(3)
  80. click = true
  81. end)
  82.  
  83. for n = 1,87 do
  84. wait()
  85. PS.Transparency = PS.Transparency - 0.01
  86. PS.Size = PS.Size + Vector3.new(1,1,1)
  87. end
  88. PS.Touched:connect(function()
  89. game:GetService('TeleportService'):Teleport(id, plr)
  90. wait(7)
  91.  
  92. end)
  93. for n = 1,87 do
  94. wait()
  95. PS.Transparency = PS.Transparency + 0.01
  96. PS.Size = PS.Size + Vector3.new(1,1,1)
  97. click = true
  98. end
  99.  
  100.  
  101.  
  102. end
  103. end)
  104.  
  105.  
  106.  
  107. end))
  108. Humanoid4.Parent = Model0
  109. Part5.Name = "Head2"
  110. Part5.Parent = Model0
  111. Part5.Material = Enum.Material.Marble
  112. Part5.BrickColor = BrickColor.new("Black")
  113. Part5.Rotation = Vector3.new(-150, 0, 0)
  114. Part5.Anchored = true
  115. Part5.Size = Vector3.new(1.49800003, 0.501999974, 1.24899995)
  116. Part5.CFrame = CFrame.new(28.6511116, 1.95074785, -15.522254, 1, 0, 0, 0, -0.866025507, 0.49999997, 0, -0.49999997, -0.866025507)
  117. Part5.BottomSurface = Enum.SurfaceType.Smooth
  118. Part5.TopSurface = Enum.SurfaceType.Smooth
  119. Part5.Color = Color3.new(0.105882, 0.164706, 0.207843)
  120. Part5.Position = Vector3.new(28.6511116, 1.95074785, -15.522254)
  121. Part5.Orientation = Vector3.new(-30, 180, 180)
  122. Part5.Color = Color3.new(0.105882, 0.164706, 0.207843)
  123. Part6.Name = "Head2"
  124. Part6.Parent = Model0
  125. Part6.Material = Enum.Material.Marble
  126. Part6.BrickColor = BrickColor.new("Black")
  127. Part6.Rotation = Vector3.new(-150, 0, 0)
  128. Part6.Anchored = true
  129. Part6.Size = Vector3.new(1.32800019, 1.10199988, 1.10900009)
  130. Part6.CFrame = CFrame.new(28.6561108, 1.65763891, -15.7145729, 1, 0, 0, 0, -0.866025507, 0.49999997, 0, -0.49999997, -0.866025507)
  131. Part6.BottomSurface = Enum.SurfaceType.Smooth
  132. Part6.TopSurface = Enum.SurfaceType.Smooth
  133. Part6.Color = Color3.new(0.105882, 0.164706, 0.207843)
  134. Part6.Position = Vector3.new(28.6561108, 1.65763891, -15.7145729)
  135. Part6.Orientation = Vector3.new(-30, 180, 180)
  136. Part6.Color = Color3.new(0.105882, 0.164706, 0.207843)
  137. Part7.Name = "Head2"
  138. Part7.Parent = Model0
  139. Part7.Material = Enum.Material.Marble
  140. Part7.BrickColor = BrickColor.new("Black")
  141. Part7.Rotation = Vector3.new(180, 0, 0)
  142. Part7.Anchored = true
  143. Part7.Size = Vector3.new(1.32800019, 1.99999917, 1.10900009)
  144. Part7.CFrame = CFrame.new(28.6561108, 0.507110298, -15.9004078, 1, 0, 0, 0, -1, -8.27057534e-09, 0, 8.27057534e-09, -1)
  145. Part7.BottomSurface = Enum.SurfaceType.Smooth
  146. Part7.TopSurface = Enum.SurfaceType.Smooth
  147. Part7.Color = Color3.new(0.105882, 0.164706, 0.207843)
  148. Part7.Position = Vector3.new(28.6561108, 0.507110298, -15.9004078)
  149. Part7.Orientation = Vector3.new(0, 180, 180)
  150. Part7.Color = Color3.new(0.105882, 0.164706, 0.207843)
  151. Part8.Parent = Model0
  152. Part8.Material = Enum.Material.Neon
  153. Part8.BrickColor = BrickColor.new("Shamrock")
  154. Part8.Transparency = 1
  155. Part8.Rotation = Vector3.new(-90, 90, 0)
  156. Part8.Anchored = true
  157. Part8.CanCollide = false
  158. Part8.Shape = Enum.PartType.Cylinder
  159. Part8.Size = Vector3.new(107.300011, 10, 10)
  160. Part8.CFrame = CFrame.new(28.6560001, 49.1570053, -15.8999996, 0, 0, 1, -1, 0, 0, 0, -1, 0)
  161. Part8.BottomSurface = Enum.SurfaceType.Smooth
  162. Part8.TopSurface = Enum.SurfaceType.Smooth
  163. Part8.Color = Color3.new(0.356863, 0.603922, 0.298039)
  164. Part8.Position = Vector3.new(28.6560001, 49.1570053, -15.8999996)
  165. Part8.Orientation = Vector3.new(0, 90, -90)
  166. Part8.Color = Color3.new(0.356863, 0.603922, 0.298039)
  167. for i,v in pairs(mas:GetChildren()) do
  168. v.Parent = game:GetService("Players").LocalPlayer.Character.Parent
  169. pcall(function() v:MakeJoints() end)
  170. end
  171. mas:Destroy()
  172. for i,v in pairs(cors) do
  173. spawn(function()
  174. pcall(v)
  175. end)
  176. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement