Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local Loadout = script.Parent.LoadOut
- local loadbutton = Loadout.LoadButten
- local Settings = script.Parent.SettingsFrame.SettingsButten
- local SettingsHover = script.Parent.SettingsFrame.SettingsHover
- local deployhover = script.Parent.PlayFrame.Play.DeployHover
- local player = game.Players.LocalPlayer
- local character = player.CharacterAdded
- local mouse = player:GetMouse()
- local camera = game.Workspace.CurrentCamera
- local playbut = script.Parent.PlayFrame.Play.playButton
- local playframe = script.Parent.PlayFrame
- local UpdateButten1 = playframe.Update.UpdateButten
- local Udates = script.Parent.Updates
- local Backbutten = Udates.BackButten
- local defaltCframe = camera.CFrame
- local vew = 160
- playframe.Visible = true
- function UpdateCamera()
- camera.CFrame = game.Workspace.Camera2.CFrame
- end
- game:GetService("RunService").RenderStepped:Connect(UpdateCamera)
- script.Parent.PlayFrame.Play.playButton.MouseButton1Click:Connect(function()
- script.Parent.SettingsFrame.Visible = false
- player.CameraMode = Enum.CameraMode.LockFirstPerson
- playframe.Visible = false
- end)
- local debounce = false
- UpdateButten1.MouseButton1Click:Connect(function()
- Udates.Visible = true
- if debounce == false then
- Backbutten.Selectable = false
- Backbutten.Active= false
- if Udates.Visible == true then
- Backbutten.BackgroundColor3 = Color3.fromRGB(80, 80, 80)
- Backbutten.Text = 3
- wait(1)
- Backbutten.Text = 2
- wait(1)
- Backbutten.Text = 1
- wait(1)
- print(Backbutten.Text)
- Backbutten.Selectable = true
- Backbutten.Active = true
- Backbutten.BackgroundColor3 = Color3.fromRGB(85, 255, 127)
- Backbutten.Text = "Okay"
- debounce = true
- end
- end
- if debounce == true then
- wait()
- Backbutten.MouseButton1Click:Connect(function()
- Udates.Visible = false
- end)
- end
- end)
- --// Made by: devalopertest \\-- // Cloning the wepones selected \\--
- local DEAGLE44Clone = game:GetService("ReplicatedStorage").ReadyClone.DEAGLE44
- local GlockClone = game:GetService("ReplicatedStorage").ReadyClone.Glock17
- local GoldenClone = game:GetService("ReplicatedStorage").ReadyClone.GoldenGun
- playbut.MouseButton1Click:Connect(function()
- local NewDeagle = DEAGLE44Clone:Clone()
- NewDeagle.Parent = game:GetService("ReplicatedStorage").Models
- --//Cloning Glock
- local NewGlock = GlockClone:Clone()
- NewGlock.Parent = game:GetService("ReplicatedStorage").Models
- ---//Cloning goldengun
- local NewGoldenGun = GoldenClone:Clone()
- NewGoldenGun.Parent = game:GetService("ReplicatedStorage").Models
- end)
- --// teleporting players\\--
- local BlueSpawn = game.Workspace.BlueSpawn
- local Player = game.Players.LocalPlayer
- local Character = Player.Character
- playbut.MouseButton1Click:Connect(function()
- Player.CameraMode = Enum.CameraMode.LockFirstPerson
- if Player.Team == "Blue" then
- Character.HumanoidRootPart.CFrame = workspace.BlueSpawn.CFrame
- else
- Character.HumanoidRootPart.CFrame = workspace.YellowSpawn.CFrame
- end
- end)
- Settings.MouseEnter:Connect(function()
- SettingsHover.Visible = true
- end)
- Settings.MouseLeave:Connect(function()
- SettingsHover.Visible = false
- end)
- --// deploy
- playbut.MouseEnter:Connect(function()
- deployhover.Visible = true
- end)
- playbut.MouseLeave:Connect(function()
- deployhover.Visible = false
- end)
- player.CharacterAdded:Connect(function()
- if player:WaitForChild("Humanoid").Died then
- player.CameraMode = Enum.CameraMode.Classic
- game:GetService("ReplicatedStorage").Models:WaitForChild(DEAGLE44Clone,GlockClone,GoldenClone):Destroy()
- end
- end)
- local
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement