Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- made by aquarius
- local cam = game.Workspace.CurrentCamera
- local plr = game.Players.LocalPlayer
- local debounce = 4
- repeat wait() until plr.Character
- cam.CameraType = "Scriptable"
- cam.CFrame = game.Workspace.CamPart.CFrame
- script.Parent.Enabled = true
- script.Parent.ImpoInfo.Visible = true
- script.Parent.ImpoInfo:TweenSize(UDim2.new(0.577, 0,0.593, 0))
- script.Parent.ImpoInfo.Continue.MouseButton1Click:Connect(function()
- script.Parent.ImpoInfo:TweenPosition(UDim2.new(-1.6,0,0.203,0, "Out", "Quad", 3)) --{1.6, 0},{0.203, 0}
- wait(0.5)
- script.Parent.Continue.Visible = true
- script.Parent.NewGame.Visible = true
- script.Parent.ImageLabel.Visible = true
- end)
- script.Parent.ImpoInfo.Continue.Continue.MouseButton1Click:Connect(function()
- script.Parent.ImpoInfo:TweenPosition(UDim2.new(-1.6,0,0.203,0, "Out", "Quad", 3)) --{1.6, 0},{0.203, 0}
- wait(0.5)
- script.Parent.Continue.Visible = true
- script.Parent.NewGame.Visible = true
- script.Parent.ImageLabel.Visible = true
- end)
- script.Parent.Continue.MouseEnter:Connect(function()
- script.Parent.Continue.ImageColor3 = Color3.fromRGB(248,222,60)
- end)
- script.Parent.Continue.MouseLeave:Connect(function()
- script.Parent.Continue.ImageColor3 = Color3.fromRGB(255, 237, 147)
- end)
- script.Parent.NewGame.MouseEnter:Connect(function()
- script.Parent.NewGame.ImageColor3 = Color3.fromRGB(248,222,60)
- end)
- script.Parent.NewGame.MouseLeave:Connect(function()
- script.Parent.NewGame.ImageColor3 = Color3.fromRGB(255, 237, 147)
- end)
- script.Parent.NewGame.MouseButton1Click:Connect(function()
- script.Parent.Continue:TweenPosition(UDim2.new(-0.6,0,0.392,0, "Out", "Quad")) --{-0.6, 0},{0.392, 0} | --{0.028, 0},{0.392, 0}
- wait(0.2)
- script.Parent.NewGame:TweenPosition(UDim2.new(-0.6,0,0.512,0, "Out", "Quad")) --{-0.6, 0},{0.512, 0} | --{0.028, 0},{0.512, 0}
- wait(0.1)
- script.Parent.CustomizeFrame.Page1Holder:TweenPosition(UDim2.new(0.001,0,0.001,0, "Out", "Quad", 0.5))
- cam.CFrame = game.Workspace.CustomizePart.CFrame
- wait(0.4)
- end)
- script.Parent.NewGame.Continue.MouseButton1Click:Connect(function()
- script.Parent.Continue:TweenPosition(UDim2.new(-0.6,0,0.392,0, "Out", "Quad")) --{-0.6, 0},{0.392, 0} | --{0.028, 0},{0.392, 0}
- wait(0.2)
- script.Parent.NewGame:TweenPosition(UDim2.new(-0.6,0,0.512,0, "Out", "Quad")) --{-0.6, 0},{0.512, 0} | --{0.028, 0},{0.512, 0}
- wait(0.1)
- script.Parent.CustomizeFrame.Page1Holder:TweenPosition(UDim2.new(0.001,0,0.001,0, "Out", "Quad", 0.5))
- script.Parent.CustomizeFrame.Page2Holder:TweenPosition(UDim2.new(0.688,0,0,0, "Out", "Quad", 0.5)) --{0.688, 0},{0, 0}
- cam.CFrame = game.Workspace.CustomizePart.CFrame
- end)
- script.Parent.Continue.MouseButton1Click:Connect(function()
- script.Parent.Continue:TweenPosition(UDim2.new(-0.6,0,0.392,0, "Out", "Quad")) --{-0.6, 0},{0.392, 0} | --{0.028, 0},{0.392, 0}
- wait(0.2)
- script.Parent.NewGame:TweenPosition(UDim2.new(-0.6,0,0.512,0, "Out", "Quad")) --{-0.6, 0},{0.512, 0} | --{0.028, 0},{0.512, 0}
- wait(0.1)
- script.Parent.ImageLabel.Visible = false
- cam.CameraType = "Custom"
- -- here is where i put the game teleport
- end)
- script.Parent.Continue.Continue.MouseButton1Click:Connect(function()
- script.Parent.Continue:TweenPosition(UDim2.new(-0.6,0,0.392,0, "Out", "Quad")) --{-0.6, 0},{0.392, 0} | --{0.028, 0},{0.392, 0}
- wait(0.2)
- script.Parent.NewGame:TweenPosition(UDim2.new(-0.6,0,0.512,0, "Out", "Quad")) --{-0.6, 0},{0.512, 0} | --{0.028, 0},{0.512, 0}
- wait(0.1)
- script.Parent.ImageLabel.Visible = false
- cam.CameraType = "Custom"
- wait(0.5)
- script.Disabled = true
- wait(1)
- script.Disabled = false
- -- here is where i put the game teleport
- end)
- script.Parent.CustomizeFrame.Page1Holder.Exit.MouseButton1Click:Connect(function()
- script.Parent.CustomizeFrame.Page1Holder:TweenPosition(UDim2.new(0.001, 0,-1.4, 0))
- script.Parent.CustomizeFrame.Page2Holder:TweenPosition(UDim2.new(0.689,0,-1.3,0))
- wait(0.2)
- script.Parent.Continue:TweenPosition(UDim2.new(0.028,0,0.392,0, "Out", "Quad", 0.5))
- wait(0.2)
- script.Parent.NewGame:TweenPosition(UDim2.new(0.028,0,0.512,0, "Out", "Quad", 0.5))
- cam.CFrame = game.Workspace.CamPart.CFrame
- wait(0.5)
- script.Disabled = true
- wait(1)
- script.Disabled = false
- end)
- script.Parent.CustomizeFrame.Page1Holder.HairColor.Teal.MouseButton1Click:Connect(function()
- game.Workspace.Testing.MeshPart.Color = Color3.fromRGB(3, 141, 158)
- game.Players.LocalPlayer.leaderstats["Hair Color"].Value = "Teal"
- end)
- script.Parent.CustomizeFrame.Page1Holder.HairColor.Red.MouseButton1Click:Connect(function()
- game.Workspace.Testing.MeshPart.Color = Color3.fromRGB(197, 40, 29)
- game.Players.LocalPlayer.leaderstats["Hair Color"].Value = "Red"
- end)
- script.Parent.CustomizeFrame.Page1Holder.HairColor.Peach.MouseButton1Click:Connect(function()
- game.Workspace.Testing.MeshPart.Color = Color3.fromRGB(254, 234, 142)
- game.Players.LocalPlayer.leaderstats["Hair Color"].Value = "Peach"
- end)
- script.Parent.CustomizeFrame.Page1Holder.HairColor.Green.MouseButton1Click:Connect(function()
- game.Workspace.Testing.MeshPart.Color = Color3.fromRGB(66, 135, 4)
- game.Players.LocalPlayer.leaderstats["Hair Color"].Value = "Green"
- end)
- script.Parent.CustomizeFrame.Page1Holder.HairColor.Brown.MouseButton1Click:Connect(function()
- game.Workspace.Testing.MeshPart.Color = Color3.fromRGB(106, 58, 14)
- game.Players.LocalPlayer.leaderstats["Hair Color"].Value = "Brown"
- end)
- script.Parent.CustomizeFrame.Page1Holder.HairColor.Black.MouseButton1Click:Connect(function()
- game.Workspace.Testing.MeshPart.Color = Color3.fromRGB(18, 17, 19)
- game.Players.LocalPlayer.leaderstats["Hair Color"].Value = "Black"
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement