Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local ScreenGui = Instance.new("ScreenGui")
- local Main = Instance.new("Frame")
- local NPS2 = Instance.new("TextButton")
- local PlrF2 = Instance.new("Frame")
- local NP11 = Instance.new("TextButton")
- local NP22 = Instance.new("TextButton")
- local NP33 = Instance.new("TextButton")
- local NP44 = Instance.new("TextButton")
- local NP55 = Instance.new("TextButton")
- local NP66 = Instance.new("TextButton")
- local NPS1 = Instance.new("TextButton")
- local PlrF1 = Instance.new("Frame")
- local NP1 = Instance.new("TextButton")
- local NP2 = Instance.new("TextButton")
- local NP3 = Instance.new("TextButton")
- local NP4 = Instance.new("TextButton")
- local NP6 = Instance.new("TextButton")
- local NP5 = Instance.new("TextButton")
- local Frame = Instance.new("Frame")
- local Close = Instance.new("TextButton")
- local Tranfer = Instance.new("TextButton")
- ScreenGui.Parent = game.CoreGui
- Main.Name = "Main"
- Main.Parent = ScreenGui
- Main.BackgroundColor3 = Color3.new(0.129412, 0.462745, 1)
- Main.Position = UDim2.new(0.285207093, 0, 0.179361224, 0)
- Main.Size = UDim2.new(0, 362, 0, 136)
- Main.Active = true
- Main.Draggable = true
- NPS2.Name = "NPS2"
- NPS2.Parent = Main
- NPS2.BackgroundColor3 = Color3.new(1, 0.666667, 0)
- NPS2.BorderSizePixel = 0
- NPS2.Position = UDim2.new(0.529663265, 0, 0.682898223, 0)
- NPS2.Size = UDim2.new(0, 153, 0, 25)
- NPS2.Font = Enum.Font.SciFi
- NPS2.Text = "No Player Selected"
- NPS2.TextColor3 = Color3.new(0, 0, 0)
- NPS2.TextScaled = true
- NPS2.TextSize = 14
- NPS2.TextWrapped = true
- PlrF2.Name = "PlrF2"
- PlrF2.Parent = NPS2
- PlrF2.BackgroundColor3 = Color3.new(1, 1, 1)
- PlrF2.BackgroundTransparency = 1
- PlrF2.Position = UDim2.new(0, 0, 1, 0)
- PlrF2.Size = UDim2.new(0, 153, 0, 42)
- PlrF2.Visible = false
- NP11.Name = "NP11"
- NP11.Parent = PlrF2
- NP11.BackgroundColor3 = Color3.new(0.0745098, 0.988235, 1)
- NP11.BorderSizePixel = 0
- NP11.Size = UDim2.new(0, 153, 0, 25)
- NP11.Font = Enum.Font.SourceSans
- NP11.Text = "No Player"
- NP11.TextColor3 = Color3.new(0, 0, 0)
- NP11.TextScaled = true
- NP11.TextSize = 14
- NP11.TextWrapped = true
- NP22.Name = "NP22"
- NP22.Parent = PlrF2
- NP22.BackgroundColor3 = Color3.new(0.0745098, 0.988235, 1)
- NP22.BorderSizePixel = 0
- NP22.Position = UDim2.new(0, 0, 0.59523809, 0)
- NP22.Size = UDim2.new(0, 153, 0, 25)
- NP22.Font = Enum.Font.SourceSans
- NP22.Text = "No Player"
- NP22.TextColor3 = Color3.new(0, 0, 0)
- NP22.TextScaled = true
- NP22.TextSize = 14
- NP22.TextWrapped = true
- NP33.Name = "NP33"
- NP33.Parent = PlrF2
- NP33.BackgroundColor3 = Color3.new(0.0745098, 0.988235, 1)
- NP33.BorderSizePixel = 0
- NP33.Position = UDim2.new(0, 0, 1.19047618, 0)
- NP33.Size = UDim2.new(0, 153, 0, 25)
- NP33.Font = Enum.Font.SourceSans
- NP33.Text = "No Player"
- NP33.TextColor3 = Color3.new(0, 0, 0)
- NP33.TextScaled = true
- NP33.TextSize = 14
- NP33.TextWrapped = true
- NP44.Name = "NP44"
- NP44.Parent = PlrF2
- NP44.BackgroundColor3 = Color3.new(0.0745098, 0.988235, 1)
- NP44.BorderSizePixel = 0
- NP44.Position = UDim2.new(0, 0, 1.78571427, 0)
- NP44.Size = UDim2.new(0, 153, 0, 25)
- NP44.Font = Enum.Font.SourceSans
- NP44.Text = "No Player"
- NP44.TextColor3 = Color3.new(0, 0, 0)
- NP44.TextScaled = true
- NP44.TextSize = 14
- NP44.TextWrapped = true
- NP55.Name = "NP55"
- NP55.Parent = PlrF2
- NP55.BackgroundColor3 = Color3.new(0.0745098, 0.988235, 1)
- NP55.BorderSizePixel = 0
- NP55.Position = UDim2.new(0, 0, 2.38095236, 0)
- NP55.Size = UDim2.new(0, 153, 0, 25)
- NP55.Font = Enum.Font.SourceSans
- NP55.Text = "No Player"
- NP55.TextColor3 = Color3.new(0, 0, 0)
- NP55.TextScaled = true
- NP55.TextSize = 14
- NP55.TextWrapped = true
- NP66.Name = "NP66"
- NP66.Parent = PlrF2
- NP66.BackgroundColor3 = Color3.new(0.0745098, 0.988235, 1)
- NP66.BorderSizePixel = 0
- NP66.Position = UDim2.new(0, 0, 2.97619057, 0)
- NP66.Size = UDim2.new(0, 153, 0, 25)
- NP66.Font = Enum.Font.SourceSans
- NP66.Text = "No Player"
- NP66.TextColor3 = Color3.new(0, 0, 0)
- NP66.TextScaled = true
- NP66.TextSize = 14
- NP66.TextWrapped = true
- NPS1.Name = "NPS1"
- NPS1.Parent = Main
- NPS1.BackgroundColor3 = Color3.new(1, 0.666667, 0)
- NPS1.BorderSizePixel = 0
- NPS1.Position = UDim2.new(0.0469613262, 0, 0.682898223, 0)
- NPS1.Size = UDim2.new(0, 153, 0, 25)
- NPS1.Font = Enum.Font.SciFi
- NPS1.Text = "No Player Selected"
- NPS1.TextColor3 = Color3.new(0, 0, 0)
- NPS1.TextScaled = true
- NPS1.TextSize = 14
- NPS1.TextWrapped = true
- PlrF1.Name = "PlrF1"
- PlrF1.Parent = NPS1
- PlrF1.BackgroundColor3 = Color3.new(1, 1, 1)
- PlrF1.BackgroundTransparency = 1
- PlrF1.Position = UDim2.new(0, 0, 1, 0)
- PlrF1.Size = UDim2.new(0, 153, 0, 42)
- PlrF1.Visible = false
- NP1.Name = "NP1"
- NP1.Parent = PlrF1
- NP1.BackgroundColor3 = Color3.new(0.0745098, 0.988235, 1)
- NP1.BorderSizePixel = 0
- NP1.Size = UDim2.new(0, 153, 0, 25)
- NP1.Font = Enum.Font.SourceSans
- NP1.Text = "No Player"
- NP1.TextColor3 = Color3.new(0, 0, 0)
- NP1.TextScaled = true
- NP1.TextSize = 14
- NP1.TextWrapped = true
- NP2.Name = "NP2"
- NP2.Parent = PlrF1
- NP2.BackgroundColor3 = Color3.new(0.0745098, 0.988235, 1)
- NP2.BorderSizePixel = 0
- NP2.Position = UDim2.new(0, 0, 0.59523809, 0)
- NP2.Size = UDim2.new(0, 153, 0, 25)
- NP2.Font = Enum.Font.SourceSans
- NP2.Text = "No Player"
- NP2.TextColor3 = Color3.new(0, 0, 0)
- NP2.TextScaled = true
- NP2.TextSize = 14
- NP2.TextWrapped = true
- NP3.Name = "NP3"
- NP3.Parent = PlrF1
- NP3.BackgroundColor3 = Color3.new(0.0745098, 0.988235, 1)
- NP3.BorderSizePixel = 0
- NP3.Position = UDim2.new(0, 0, 1.19047618, 0)
- NP3.Size = UDim2.new(0, 153, 0, 25)
- NP3.Font = Enum.Font.SourceSans
- NP3.Text = "No Player"
- NP3.TextColor3 = Color3.new(0, 0, 0)
- NP3.TextScaled = true
- NP3.TextSize = 14
- NP3.TextWrapped = true
- NP4.Name = "NP4"
- NP4.Parent = PlrF1
- NP4.BackgroundColor3 = Color3.new(0.0745098, 0.988235, 1)
- NP4.BorderSizePixel = 0
- NP4.Position = UDim2.new(0, 0, 1.78571427, 0)
- NP4.Size = UDim2.new(0, 153, 0, 25)
- NP4.Font = Enum.Font.SourceSans
- NP4.Text = "No Player"
- NP4.TextColor3 = Color3.new(0, 0, 0)
- NP4.TextScaled = true
- NP4.TextSize = 14
- NP4.TextWrapped = true
- NP6.Name = "NP6"
- NP6.Parent = PlrF1
- NP6.BackgroundColor3 = Color3.new(0.0745098, 0.988235, 1)
- NP6.BorderSizePixel = 0
- NP6.Position = UDim2.new(0, 0, 2.97619057, 0)
- NP6.Size = UDim2.new(0, 153, 0, 25)
- NP6.Font = Enum.Font.SourceSans
- NP6.Text = "No Player"
- NP6.TextColor3 = Color3.new(0, 0, 0)
- NP6.TextScaled = true
- NP6.TextSize = 14
- NP6.TextWrapped = true
- NP5.Name = "NP5"
- NP5.Parent = PlrF1
- NP5.BackgroundColor3 = Color3.new(0.0745098, 0.988235, 1)
- NP5.BorderSizePixel = 0
- NP5.Position = UDim2.new(0, 0, 2.38095236, 0)
- NP5.Size = UDim2.new(0, 153, 0, 25)
- NP5.Font = Enum.Font.SourceSans
- NP5.Text = "No Player"
- NP5.TextColor3 = Color3.new(0, 0, 0)
- NP5.TextScaled = true
- NP5.TextSize = 14
- NP5.TextWrapped = true
- Frame.Parent = Main
- Frame.BackgroundColor3 = Color3.new(0.101961, 0.113725, 1)
- Frame.Size = UDim2.new(0, 362, 0, 23)
- Close.Name = "Close"
- Close.Parent = Frame
- Close.BackgroundColor3 = Color3.new(1, 0, 0)
- Close.Position = UDim2.new(0.889502764, 0, 0, 0)
- Close.Size = UDim2.new(0, 40, 0, 23)
- Close.Font = Enum.Font.SourceSans
- Close.Text = "X"
- Close.TextColor3 = Color3.new(0, 0, 0)
- Close.TextSize = 14
- Tranfer.Name = "Tranfer"
- Tranfer.Parent = Main
- Tranfer.BackgroundColor3 = Color3.new(0.388235, 1, 0.203922)
- Tranfer.Position = UDim2.new(0.223756909, 0, 0.317199051, 0)
- Tranfer.Size = UDim2.new(0, 200, 0, 33)
- Tranfer.Font = Enum.Font.SciFi
- Tranfer.Text = "Tranfer Items"
- Tranfer.TextColor3 = Color3.new(0, 0, 0)
- Tranfer.TextScaled = true
- Tranfer.TextSize = 14
- Tranfer.TextWrapped = true
- function Sound11()
- local s = Instance.new("Sound")
- s.Name = "Sound"
- s.SoundId = "rbxassetid://408524543"
- s.Volume = 2
- s.archivable = false
- s.Parent = game.Workspace
- s:play()
- end
- function Sound22()
- local Song1 = Instance.new("Sound")
- Song1.Name = "Song1"
- Song1.SoundId = "rbxassetid://452267918"
- Song1.Volume = 2
- Song1.archivable = false
- Song1.Parent = game.Workspace
- Song1:play()
- end
- local Pos = { P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15, P16, P17, P18, P19, P20, P21, P22, P23, P24, P25, P26 }
- local buttons = { NP1, NP2, NP3, NP4, NP5, NP6 }
- for i,v in pairs(game.Players:GetChildren()) do
- buttons[i].Text = v.Name
- end
- game.Players.PlayerRemoving:connect(function()
- for i,v in pairs(game.Players:GetChildren()) do
- if v == nil then
- buttons[i].Text = "No Player"
- else
- buttons[i].Text = v.Name
- end
- end
- end)
- game.Players.PlayerAdded:connect(function()
- for i,v in pairs(game.Players:GetChildren()) do
- if v == nil then
- buttons[i].Text = "No Player"
- else
- buttons[i].Text = v.Name
- end
- end
- end)
- local buttons1 = { NP11, NP22, NP33, NP44, NP55, NP66 }
- for i,v in pairs(game.Players:GetChildren()) do
- buttons1[i].Text = v.Name
- end
- game.Players.PlayerRemoving:connect(function()
- for i,v in pairs(game.Players:GetChildren()) do
- if v == nil then
- buttons1[i].Text = "No Player"
- else
- buttons1[i].Text = v.Name
- end
- end
- end)
- game.Players.PlayerAdded:connect(function()
- for i,v in pairs(game.Players:GetChildren()) do
- if v == nil then
- buttons1[i].Text = "No Player"
- else
- buttons1[i].Text = v.Name
- end
- end
- end)
- Close.MouseButton1Down:connect(function()
- Sound22()
- Main.Visible = false
- end)
- NPS1.MouseButton1Down:connect(function()
- Sound11()
- PlrF1.Visible = true
- end)
- NPS2.MouseButton1Down:connect(function()
- Sound11()
- PlrF2.Visible = true
- end)
- NP1.MouseButton1Down:connect(function()
- Sound11()
- PlrF1.Visible = false
- NPS1.Text = NP1.Text
- end)
- NP2.MouseButton1Down:connect(function()
- Sound11()
- PlrF1.Visible = false
- NPS1.Text = NP2.Text
- end)
- NP3.MouseButton1Down:connect(function()
- Sound11()
- PlrF1.Visible = false
- NPS1.Text = NP3.Text
- end)
- NP4.MouseButton1Down:connect(function()
- Sound11()
- PlrF1.Visible = false
- NPS1.Text = NP4.Text
- end)
- NP5.MouseButton1Down:connect(function()
- Sound11()
- PlrF1.Visible = false
- NPS1.Text = NP5.Text
- end)
- NP6.MouseButton1Down:connect(function()
- Sound11()
- PlrF1.Visible = false
- NPS1.Text = NP6.Text
- end)
- NP11.MouseButton1Down:connect(function()
- Sound11()
- PlrF2.Visible = false
- NPS2.Text = NP11.Text
- end)
- NP22.MouseButton1Down:connect(function()
- Sound11()
- PlrF2.Visible = false
- NPS2.Text = NP22.Text
- end)
- NP33.MouseButton1Down:connect(function()
- Sound11()
- PlrF2.Visible = false
- NPS2.Text = NP33.Text
- end)
- NP44.MouseButton1Down:connect(function()
- Sound11()
- PlrF2.Visible = false
- NPS2.Text = NP44.Text
- end)
- NP55.MouseButton1Down:connect(function()
- Sound11()
- PlrF2.Visible = false
- NPS2.Text = NP55.Text
- end)
- NP66.MouseButton1Down:connect(function()
- Sound11()
- PlrF2.Visible = false
- NPS2.Text = NP66.Text
- end)
- Tranfer.MouseButton1Down:connect(function()
- Sound22()
- local PlrA = NPS1.Text
- local PlrB = NPS2.Text
- local function Bet(Val1, Val2)
- local Resp = (Vector3.new(Val1.X) - Vector3.new(Val2.X)).magnitude + (Vector3.new(Val1.Y) - Vector3.new(Val2.Y)).magnitude + (Vector3.new(Val1.Z) - Vector3.new(Val2.Z)).magnitude
- return Resp / 750
- end
- local function Bet2(Val1, Val2)
- return (Vector3.new(Val1) - Vector3.new(Val2)).magnitude
- end
- local function Tlprt(Val1, Val2, Val3, Val4, Val5, Val6)
- local Ang = nil
- local Pos = Vector3.new(Val1, Val2, Val3)
- local Cff
- if Val4 ~= nil and Val5 ~= nil and Val6 ~= nil then
- Ang = Vector3.new(Val4, Val5, Val6)
- end
- if Ang == nil then
- Cff = CFrame.new(Pos.X, Pos.Y, Pos.Z)
- else
- Cff = CFrame.new(Pos.X, Pos.Y, Pos.Z) * CFrame.Angles(Ang.X, Ang.Y, Ang.Z)
- end
- local HRP = game:GetService("Players").LocalPlayer.Character:WaitForChild("HumanoidRootPart")
- if not HRP:FindFirstChild("Pos") then
- local Pos = Instance.new("BodyForce", HRP)
- Pos.Name = "Pos"
- end
- HRP.Pos.Force = Vector3.new(0,2393,0)
- local Time = Bet(game:GetService("Players").LocalPlayer.Character.HumanoidRootPart.Position, Cff.p)
- local Speed = TweenInfo.new(Time, Enum.EasingStyle.Linear)
- local CF = {CFrame = Cff}
- game:GetService("TweenService"):Create(HRP, Speed, CF):Play()
- wait(Time + 0.3)
- HRP.Pos.Force = Vector3.new(0,0,0)
- end
- local Base
- for i, v in pairs(game.Workspace.Properties:GetChildren()) do
- if v.Owner.Value == game.Players[PlrA] then
- Base = v.OriginSquare.Position + Vector3.new(0,5,0)
- end
- end
- local BaseB
- for i, v in pairs(game.Workspace.Properties:GetChildren()) do
- if v.Owner.Value == game.Players[PlrB] then
- BaseB = v.OriginSquare.CFrame + Vector3.new(0,5,0)
- end
- end
- local function MyItem()
- local Items = {}
- for i,v in pairs(game:GetService("Workspace").PlayerModels:GetChildren()) do
- if v:FindFirstChild("Owner") and v.Owner.Value == game.Players[PlrA] then
- Items[#Items + 1] = v
- end
- end
- return Items
- end
- PlrPs = game.Players.LocalPlayer.Character.HumanoidRootPart.Position
- local Item
- for c, d in pairs(MyItem()) do
- if d.Main ~= nil then
- Item = d.Main
- elseif d.WoodSection ~= nil then
- Item = d.WoodSection
- end
- game.ReplicatedStorage.Interaction.ClientIsDragging:FireServer(Item.Parent)
- game.ReplicatedStorage.Interaction.ClientRequestOwnership:FireServer(Item)
- if (math.random(1,15) == 1) then wait() end
- game.ReplicatedStorage.Interaction.ClientIsDragging:FireServer(Item.Parent)
- game.ReplicatedStorage.Interaction.ClientRequestOwnership:FireServer(Item)
- Item.CFrame = BaseB + Vector3.new(math.random(-17,17), 0, math.random(-17,17))
- end
- end)
Add Comment
Please, Sign In to add comment