Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --Converted with ttyyuu12345's model to script plugin v4
- function sandbox(var,func)
- local env = getfenv(func)
- local newenv = setmetatable({},{
- __index = function(self,k)
- if k=="script" then
- return var
- else
- return env[k]
- end
- end,
- })
- setfenv(func,newenv)
- return func
- end
- cors = {}
- print("Made by Animescapetower")
- mas = Instance.new("Model",game:GetService("Lighting"))
- Model0 = Instance.new("Model")
- Part1 = Instance.new("Part")
- ClickDetector2 = Instance.new("ClickDetector")
- Script3 = Instance.new("Script")
- Humanoid4 = Instance.new("Humanoid")
- Part5 = Instance.new("Part")
- Part6 = Instance.new("Part")
- Part7 = Instance.new("Part")
- Part8 = Instance.new("Part")
- Model0.Name = "Click to randomize game"
- Model0.Parent = mas
- Part1.Name = "Head"
- Part1.Parent = Model0
- Part1.Material = Enum.Material.Neon
- Part1.BrickColor = BrickColor.new("Bright red")
- Part1.Rotation = Vector3.new(-60, 0, 0)
- Part1.Anchored = true
- Part1.CanCollide = false
- Part1.Size = Vector3.new(0.49835819, 0.501658559, 0.249179095)
- Part1.CFrame = CFrame.new(28.6508198, 2.17117023, -15.3969946, 1, 0, 0, 0, 0.499999881, 0.866025507, 0, -0.866025507, 0.499999881)
- Part1.BottomSurface = Enum.SurfaceType.Smooth
- Part1.TopSurface = Enum.SurfaceType.Smooth
- Part1.Color = Color3.new(0.768628, 0.156863, 0.109804)
- Part1.Position = Vector3.new(28.6508198, 2.17117023, -15.3969946)
- Part1.Orientation = Vector3.new(-60, 0, 0)
- Part1.Color = Color3.new(0.768628, 0.156863, 0.109804)
- ClickDetector2.Parent = Part1
- Script3.Parent = Part1
- table.insert(cors,sandbox(Script3,function()
- print("Opening exit point on touch")
- PS = script.Parent.Parent.Part
- click = true
- script.Parent.ClickDetector.MouseClick:connect(function(plr)
- PS.Size = Vector3.new(107.3, 10, 10)
- print("Teleporting")
- if click == true then
- id = 0
- for n =1,3 do
- wait()
- script.Parent.Size = script.Parent.Size - Vector3.new(0,0,0.1)
- end
- for n =1,3 do
- wait()
- script.Parent.Size = script.Parent.Size + Vector3.new(0,0,0.1)
- end
- for n = 1,122 do
- wait()
- id = math.random(1.2,200000000)
- script.Parent.Parent.Name = id
- end
- wait(3)
- script.Parent.Parent.Name = "Teleporting to ".. id
- wait(2)
- PS.Touched:connect(function()
- game:GetService('TeleportService'):Teleport(id, plr)
- wait(3)
- click = true
- end)
- for n = 1,87 do
- wait()
- PS.Transparency = PS.Transparency - 0.01
- PS.Size = PS.Size + Vector3.new(1,1,1)
- end
- PS.Touched:connect(function()
- game:GetService('TeleportService'):Teleport(id, plr)
- wait(7)
- end)
- for n = 1,87 do
- wait()
- PS.Transparency = PS.Transparency + 0.01
- PS.Size = PS.Size + Vector3.new(1,1,1)
- click = true
- end
- end
- end)
- end))
- Humanoid4.Parent = Model0
- Part5.Name = "Head2"
- Part5.Parent = Model0
- Part5.Material = Enum.Material.Marble
- Part5.BrickColor = BrickColor.new("Black")
- Part5.Rotation = Vector3.new(-150, 0, 0)
- Part5.Anchored = true
- Part5.Size = Vector3.new(1.49800003, 0.501999974, 1.24899995)
- Part5.CFrame = CFrame.new(28.6511116, 1.95074785, -15.522254, 1, 0, 0, 0, -0.866025507, 0.49999997, 0, -0.49999997, -0.866025507)
- Part5.BottomSurface = Enum.SurfaceType.Smooth
- Part5.TopSurface = Enum.SurfaceType.Smooth
- Part5.Color = Color3.new(0.105882, 0.164706, 0.207843)
- Part5.Position = Vector3.new(28.6511116, 1.95074785, -15.522254)
- Part5.Orientation = Vector3.new(-30, 180, 180)
- Part5.Color = Color3.new(0.105882, 0.164706, 0.207843)
- Part6.Name = "Head2"
- Part6.Parent = Model0
- Part6.Material = Enum.Material.Marble
- Part6.BrickColor = BrickColor.new("Black")
- Part6.Rotation = Vector3.new(-150, 0, 0)
- Part6.Anchored = true
- Part6.Size = Vector3.new(1.32800019, 1.10199988, 1.10900009)
- Part6.CFrame = CFrame.new(28.6561108, 1.65763891, -15.7145729, 1, 0, 0, 0, -0.866025507, 0.49999997, 0, -0.49999997, -0.866025507)
- Part6.BottomSurface = Enum.SurfaceType.Smooth
- Part6.TopSurface = Enum.SurfaceType.Smooth
- Part6.Color = Color3.new(0.105882, 0.164706, 0.207843)
- Part6.Position = Vector3.new(28.6561108, 1.65763891, -15.7145729)
- Part6.Orientation = Vector3.new(-30, 180, 180)
- Part6.Color = Color3.new(0.105882, 0.164706, 0.207843)
- Part7.Name = "Head2"
- Part7.Parent = Model0
- Part7.Material = Enum.Material.Marble
- Part7.BrickColor = BrickColor.new("Black")
- Part7.Rotation = Vector3.new(180, 0, 0)
- Part7.Anchored = true
- Part7.Size = Vector3.new(1.32800019, 1.99999917, 1.10900009)
- Part7.CFrame = CFrame.new(28.6561108, 0.507110298, -15.9004078, 1, 0, 0, 0, -1, -8.27057534e-09, 0, 8.27057534e-09, -1)
- Part7.BottomSurface = Enum.SurfaceType.Smooth
- Part7.TopSurface = Enum.SurfaceType.Smooth
- Part7.Color = Color3.new(0.105882, 0.164706, 0.207843)
- Part7.Position = Vector3.new(28.6561108, 0.507110298, -15.9004078)
- Part7.Orientation = Vector3.new(0, 180, 180)
- Part7.Color = Color3.new(0.105882, 0.164706, 0.207843)
- Part8.Parent = Model0
- Part8.Material = Enum.Material.Neon
- Part8.BrickColor = BrickColor.new("Shamrock")
- Part8.Transparency = 1
- Part8.Rotation = Vector3.new(-90, 90, 0)
- Part8.Anchored = true
- Part8.CanCollide = false
- Part8.Shape = Enum.PartType.Cylinder
- Part8.Size = Vector3.new(107.300011, 10, 10)
- Part8.CFrame = CFrame.new(28.6560001, 49.1570053, -15.8999996, 0, 0, 1, -1, 0, 0, 0, -1, 0)
- Part8.BottomSurface = Enum.SurfaceType.Smooth
- Part8.TopSurface = Enum.SurfaceType.Smooth
- Part8.Color = Color3.new(0.356863, 0.603922, 0.298039)
- Part8.Position = Vector3.new(28.6560001, 49.1570053, -15.8999996)
- Part8.Orientation = Vector3.new(0, 90, -90)
- Part8.Color = Color3.new(0.356863, 0.603922, 0.298039)
- for i,v in pairs(mas:GetChildren()) do
- v.Parent = game:GetService("Players").LocalPlayer.Character.Parent
- pcall(function() v:MakeJoints() end)
- end
- mas:Destroy()
- for i,v in pairs(cors) do
- spawn(function()
- pcall(v)
- end)
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement