Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- follow = true
- Char = owner.Character.HumanoidRootPart
- Screen = Instance.new("Part")
- Screen.Size = Vector3.new(6,5,1)
- Screen.CFrame = Char.CFrame * CFrame.new(0,0,9)
- Screen.Anchored = true
- Screen.Parent = script
- Screen.Name = "screenpart"
- event = Instance.new("RemoteEvent")
- event.Parent = Screen
- event.Name = "event"
- b1 = Instance.new("Part")
- b1.Parent = Screen
- b1.CFrame = Screen.CFrame * CFrame.new(-2.5,3,0)
- b1.Size = Vector3.new(1,1,1)
- b1.Color = Color3.new(0.286275, 0.780392, 0.176471)
- b1.Name = "b1"
- b2 = Instance.new("Part")
- b2.Parent = Screen
- b2.CFrame = Screen.CFrame * CFrame.new(-1.5,3,0)
- b2.Size = Vector3.new(1,1,1)
- b2.Color = Color3.new(1, 0, 0)
- b3 = Instance.new("Part")
- b3.Parent = Screen
- b3.CFrame = Screen.CFrame * CFrame.new(2.5,3,0)
- b3.Size = Vector3.new(1,1,1)
- b3.Color = Color3.new(0.368627, 0.368627, 0.368627)
- c1 = Instance.new("WeldConstraint")
- c1.Part0 = b1
- c1.Part1 = Screen
- c1.Parent = Screen
- c1 = Instance.new("WeldConstraint")
- c1.Part0 = b2
- c1.Part1 = Screen
- c1.Parent = Screen
- c1 = Instance.new("WeldConstraint")
- c1.Part0 = b3
- c1.Part1 = Screen
- c1.Parent = Screen
- cb1 = Instance.new("ClickDetector")
- cb1.Parent = b1
- cb1.Name = "cd"
- cb2 = Instance.new("ClickDetector")
- cb2.Parent = b2
- cb3 = Instance.new("ClickDetector")
- cb3.Parent = b3
- sg = Instance.new("SurfaceGui")
- sg.Parent = Screen
- sg.Face = "Back"
- sg.Name = "sg"
- sf = Instance.new("ScrollingFrame")
- sf.Parent = sg
- sf.Size = UDim2.new(1,0,1,0)
- sf.Name = "sf"
- sf.AutomaticSize = "Y"
- textbox = Instance.new("TextBox")
- textbox.Parent = sf
- textbox.Size = UDim2.new(1,0,1,0)
- textbox.TextSize = 25
- textbox.TextXAlignment = "Left"
- textbox.TextYAlignment = "Top"
- textbox.Name = "tb"
- textbox.ClearTextOnFocus = false
- textbox.MultiLine = true
- code = ""
- cb3.MouseClick:Connect(function(player)
- Char = owner.Character.HumanoidRootPart
- if player == owner then
- follow = not follow
- end
- end)
- cb1.MouseClick:Connect(function(player)
- print(code)
- if player == owner then
- loadstring(code)()
- end
- end)
- cb2.MouseClick:Connect(function(player)
- if player == owner then
- Screen:Destroy()
- end
- end)
- event.OnServerEvent:Connect(function(player,arg)
- code = arg
- end)
- while wait() do
- if follow then
- Screen.CFrame = Char.CFrame * CFrame.new(0,0,-9)
- end
- if not Screen then
- break
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement