Advertisement
Aquarius_Raverus

stuff 3

Jul 19th, 2019
121
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 5.58 KB | None | 0 0
  1. -- made by aquarius
  2.  
  3. local cam = game.Workspace.CurrentCamera
  4. local plr = game.Players.LocalPlayer
  5. local debounce = 4
  6.  
  7. repeat wait() until plr.Character
  8.  
  9. cam.CameraType = "Scriptable"
  10. cam.CFrame = game.Workspace.CamPart.CFrame
  11.  
  12. script.Parent.Enabled = true
  13.  
  14. script.Parent.ImpoInfo.Visible = true
  15. script.Parent.ImpoInfo:TweenSize(UDim2.new(0.577, 0,0.593, 0))
  16. script.Parent.ImpoInfo.Continue.MouseButton1Click:Connect(function()
  17.     script.Parent.ImpoInfo:TweenPosition(UDim2.new(-1.6,0,0.203,0, "Out", "Quad", 3)) --{1.6, 0},{0.203, 0}
  18.     wait(0.5)
  19.     script.Parent.Continue.Visible = true
  20.     script.Parent.NewGame.Visible = true
  21.     script.Parent.ImageLabel.Visible = true
  22. end)
  23. script.Parent.ImpoInfo.Continue.Continue.MouseButton1Click:Connect(function()
  24.     script.Parent.ImpoInfo:TweenPosition(UDim2.new(-1.6,0,0.203,0, "Out", "Quad", 3)) --{1.6, 0},{0.203, 0}
  25.     wait(0.5)
  26.     script.Parent.Continue.Visible = true
  27.     script.Parent.NewGame.Visible = true
  28.     script.Parent.ImageLabel.Visible = true
  29. end)
  30.  
  31. script.Parent.Continue.MouseEnter:Connect(function()
  32.     script.Parent.Continue.ImageColor3 = Color3.fromRGB(248,222,60)
  33. end)
  34. script.Parent.Continue.MouseLeave:Connect(function()
  35.     script.Parent.Continue.ImageColor3 = Color3.fromRGB(255, 237, 147)
  36. end)
  37.  
  38. script.Parent.NewGame.MouseEnter:Connect(function()
  39.     script.Parent.NewGame.ImageColor3 = Color3.fromRGB(248,222,60)
  40. end)
  41. script.Parent.NewGame.MouseLeave:Connect(function()
  42.     script.Parent.NewGame.ImageColor3 = Color3.fromRGB(255, 237, 147)
  43. end)
  44.  
  45.  
  46. script.Parent.NewGame.MouseButton1Click:Connect(function()
  47.     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}
  48.     wait(0.2)
  49.     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}
  50.     wait(0.1)
  51.     script.Parent.CustomizeFrame.Page1Holder:TweenPosition(UDim2.new(0.001,0,0.001,0, "Out", "Quad", 0.5))
  52.     cam.CFrame = game.Workspace.CustomizePart.CFrame
  53.     wait(0.4)
  54. end)
  55. script.Parent.NewGame.Continue.MouseButton1Click:Connect(function()
  56.     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}
  57.     wait(0.2)
  58.     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}
  59.     wait(0.1)
  60.     script.Parent.CustomizeFrame.Page1Holder:TweenPosition(UDim2.new(0.001,0,0.001,0, "Out", "Quad", 0.5))
  61.     script.Parent.CustomizeFrame.Page2Holder:TweenPosition(UDim2.new(0.688,0,0,0, "Out", "Quad", 0.5))  --{0.688, 0},{0, 0}
  62.     cam.CFrame = game.Workspace.CustomizePart.CFrame
  63. end)
  64.  
  65.  
  66. script.Parent.Continue.MouseButton1Click:Connect(function()
  67.     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}
  68.     wait(0.2)
  69.     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}
  70.     wait(0.1)
  71.     script.Parent.ImageLabel.Visible = false
  72.     cam.CameraType = "Custom"
  73.     -- here is where i put the game teleport
  74. end)
  75. script.Parent.Continue.Continue.MouseButton1Click:Connect(function()
  76.     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}
  77.     wait(0.2)
  78.     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}
  79.     wait(0.1)
  80.     script.Parent.ImageLabel.Visible = false
  81.     cam.CameraType = "Custom"
  82.     wait(0.5)
  83.     script.Disabled = true
  84.     wait(1)
  85.     script.Disabled = false
  86.     -- here is where i put the game teleport
  87. end)
  88.  
  89. script.Parent.CustomizeFrame.Page1Holder.Exit.MouseButton1Click:Connect(function()
  90.     script.Parent.CustomizeFrame.Page1Holder:TweenPosition(UDim2.new(0.001, 0,-1.4, 0))
  91.     script.Parent.CustomizeFrame.Page2Holder:TweenPosition(UDim2.new(0.689,0,-1.3,0))
  92.     wait(0.2)
  93.     script.Parent.Continue:TweenPosition(UDim2.new(0.028,0,0.392,0, "Out", "Quad", 0.5))
  94.     wait(0.2)
  95.     script.Parent.NewGame:TweenPosition(UDim2.new(0.028,0,0.512,0, "Out", "Quad", 0.5))
  96.     cam.CFrame = game.Workspace.CamPart.CFrame
  97.     wait(0.5)
  98.     script.Disabled = true
  99.     wait(1)
  100.     script.Disabled = false
  101. end)
  102.  
  103. script.Parent.CustomizeFrame.Page1Holder.HairColor.Teal.MouseButton1Click:Connect(function()
  104.     game.Workspace.Testing.MeshPart.Color = Color3.fromRGB(3, 141, 158)
  105.     game.Players.LocalPlayer.leaderstats["Hair Color"].Value = "Teal"
  106. end)
  107.  
  108. script.Parent.CustomizeFrame.Page1Holder.HairColor.Red.MouseButton1Click:Connect(function()
  109.     game.Workspace.Testing.MeshPart.Color = Color3.fromRGB(197, 40, 29)
  110.     game.Players.LocalPlayer.leaderstats["Hair Color"].Value = "Red"
  111. end)
  112.  
  113. script.Parent.CustomizeFrame.Page1Holder.HairColor.Peach.MouseButton1Click:Connect(function()
  114.     game.Workspace.Testing.MeshPart.Color = Color3.fromRGB(254, 234, 142)
  115.     game.Players.LocalPlayer.leaderstats["Hair Color"].Value = "Peach"
  116. end)
  117.  
  118. script.Parent.CustomizeFrame.Page1Holder.HairColor.Green.MouseButton1Click:Connect(function()
  119.     game.Workspace.Testing.MeshPart.Color = Color3.fromRGB(66, 135, 4)
  120.     game.Players.LocalPlayer.leaderstats["Hair Color"].Value = "Green"
  121. end)
  122.  
  123. script.Parent.CustomizeFrame.Page1Holder.HairColor.Brown.MouseButton1Click:Connect(function()
  124.     game.Workspace.Testing.MeshPart.Color = Color3.fromRGB(106, 58, 14)
  125.     game.Players.LocalPlayer.leaderstats["Hair Color"].Value = "Brown"
  126. end)
  127.  
  128. script.Parent.CustomizeFrame.Page1Holder.HairColor.Black.MouseButton1Click:Connect(function()
  129.     game.Workspace.Testing.MeshPart.Color = Color3.fromRGB(18, 17, 19)
  130.     game.Players.LocalPlayer.leaderstats["Hair Color"].Value = "Black"
  131. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement