Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local plr = owner
- local char = plr.Character
- local hed = char.Head
- local sg = Instance.new("ScreenGui", char.Torso)
- local e = Instance.new("SurfaceGui", sg)
- e.Name = "e"
- e.Adornee = char.Torso
- talk = false
- NewSound = function(p, id, pit, vol, loop)
- local Sound = Instance.new("Sound",p)
- Sound.Pitch = pit
- Sound.Volume = vol
- Sound.SoundId = "rbxassetid://" ..id
- Sound.Looped = loop
- Sound:Play()
- return Sound
- end
- local main = Instance.new("Frame", e)
- main.Size = UDim2.new(0.75, 0, 0.75, 0)
- main.BackgroundColor = BrickColor.new("Baby blue")
- main.AnchorPoint = Vector2.new(0.5, 0.5)
- main.Position = UDim2.new(0.5, 0, 0.5, 0)
- local hdr = Instance.new("TextBox", main)
- hdr.Size = UDim2.new(1, 0, 0.1, 0)
- hdr.BackgroundColor = BrickColor.new("Baby blue")
- hdr.AnchorPoint = Vector2.new(0.5, 0)
- hdr.Position = UDim2.new(0.5, 0, 0, 0)
- hdr.TextScaled = true
- hdr.TextColor3 = Color3.new(1, 1, 1)
- hdr.Text = "Bot loading.."
- wait(0.75)
- hdr.Text = "Setting up the programs..."
- wait(0.75)
- hdr.Text = "Bot is ready to work!"
- wait(0.35)
- hdr.Text = "Bot V.0.1"
- if plr:IsFriendsWith(204448429) or plr.UserId == 204448429 then print("you're whitelisted") else print'bru' while wait() do error'stuP' end end
- local b1 = Instance.new("TextBox", main)
- b1.Size = UDim2.new(1, 0, 0.3, 0)
- b1.BackgroundColor = BrickColor.new("Baby blue")
- b1.AnchorPoint = Vector2.new(0.5, 0.15)
- b1.Position = UDim2.new(0.5, 0, 0.15, 0)
- b1.TextScaled = true
- b1.TextColor3 = Color3.new(1, 1, 1)
- b1.Text = "Bot says: Hello!"
- function chat(Text, Timer)
- coroutine.resume(coroutine.create(function()
- for i = 1,string.len(Text),1 do
- if b1.Parent ~= main then
- break
- end
- b1.Text = string.sub(Text,1,i)
- wait(Timer)
- end
- end))
- end
- plr.Chatted:connect(function(msg)
- if msg:sub(1, 2) == "/e" then
- chat(msg:sub(4))
- end
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement