Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local WS = game:GetService('Workspace')
- local Plrs = game:GetService('Players')
- local Plr = Plrs.LocalPlayer
- local MOUSE = Plr:GetMouse()
- s = Instance.new("ScreenGui", Plr.PlayerGui)
- s.Enabled = true
- s.Name = "Gui"
- f = Instance.new("Frame", s)
- f.Position = UDim2.new(0.84, 8 , 0.88, 4)
- f.AnchorPoint = Vector2.new(1,1)
- f.BorderSizePixel = 4
- f.BorderColor3 = Color3.new(255,255,255)
- f.Size = UDim2.new(0.2, 0, 0.1, 20)
- f.BackgroundColor3 = Color3.new(0,0,0)
- f.BackgroundTransparency = 0.7
- f.Draggable = true
- f.Active = true
- note = Instance.new("TextLabel", f)
- note.TextColor3 = Color3.new(0,0,0)
- note.BackgroundColor3 = Color3.new(255,255,255)
- note.BorderColor3 = Color3.new(27,42,90)
- note.BackgroundTransparency = 0.2
- note.Size = UDim2.new(0, 384 , 0, 50)
- note.Font = "SourceSansBold"
- note.FontSize = "Size32"
- note.TextSize = 21
- note.Text = ("ChucklezGoWild view/tp bar")
- join = Instance.new("TextBox", f)
- join.Name = "Join"
- join.Text = " "
- join.TextColor3 = Color3.new(255,255,255)
- join.BackgroundColor3 = Color3.new(255,255,255)
- join.BackgroundTransparency = 1
- join.Position = UDim2.new(0.09, 0 , 0, 59)
- join.Size = UDim2.new(0, 300 , 0, 50)
- join.Font = "SourceSans"
- join.FontSize = "Size32"
- join.TextSize = 31
- join.TextTransparency = 0.1
- join.TextStrokeTransparency = 1
- function grab(str, lp)
- str = str:lower()
- plrz = {}
- if str == "me" then
- table.insert(plrz, Plr)
- else
- for i,v in pairs(Plrs:GetChildren()) do
- if v.Name:lower():find(str) then
- table.insert(plrz, v)
- end
- end
- end
- return plrz
- end
- join.FocusLost:connect(function(active)
- if active then
- if join.Text:lower():sub(1,5) == "view " then
- local fin = grab(join.Text:sub(6), Plr)
- for i,v in pairs(fin) do
- WS.Camera.CameraSubject = v.Character.Humanoid
- end
- elseif join.Text:lower():sub(1,3) == "to " then
- local fin = grab(join.Text:sub(4), Plr)
- for i,v in pairs(fin) do
- pos = Plr.Character.HumanoidRootPart.CFrame
- Plr.Character.HumanoidRootPart.CFrame = CFrame.new(v.Character.HumanoidRootPart.CFrame.x,v.Character.HumanoidRootPart.CFrame.y,v.Character.HumanoidRootPart.CFrame.z + 10)
- Plr.Character.HumanoidRootPart.Anchored = true
- wait(0.1)
- Plr.Character.Humanoid.Jump = true
- Plr.Character.HumanoidRootPart.Anchored = false
- end
- elseif join.Text:lower() == "back" then
- Plr.Character.HumanoidRootPart.CFrame = pos
- Plr.Character.HumanoidRootPart.Anchored = true
- wait(0.1)
- Plr.Character.Humanoid.Jump = true
- Plr.Character.HumanoidRootPart.Anchored = false
- end
- end
- end)
Advertisement
Add Comment
Please, Sign In to add comment