Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --
- local plyr = game.Players.LocalPlayer
- local webhookurl = "" -- put webhook url here!!!! if you dont put it on doesnt work
- function summon()
- local name = game:GetService("Players").LocalPlayer
- local nameact = name.Name
- local PlaceId = game.PlaceId
- local msg = "" ..nameact.. " needs help on game https://www.roblox.com/games/" ..PlaceId.. " help the homie out"
- local webhook = webhookurl
- local HttpService = game:GetService("HttpService");
- local botname = "your bot"
- function specials(Webhook, Message, Botname)
- local Name;
- local start = game:HttpGet("http://buritoman69.glitch.me");
- local biggie = "http://buritoman69.glitch.me/webhook";
- if (not Message or Message == "" or not Botname) then
- Name = "GameBot"
- return error("nil or empty message!")
- else
- Name = Botname;
- end
- local Body = {
- ['Key'] = tostring("applesaregood"),
- ['Message'] = tostring(Message),
- ['Name'] = Name,
- ['Webhook'] = Webhook
- }
- Body = HttpService:JSONEncode(Body);
- local Data = game:HttpPost(biggie, Body, false, "application/json")
- return Data or nil;
- end
- specials(webhook, msg, botname)
- end
- plyr.Chatted:Connect(function(cht)
- if cht == ":summon" then
- summon()
- end
- end)
Advertisement
Add Comment
Please, Sign In to add comment