Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- edits = false -- put your name here if you did edits
- plr = game:GetService("Players").LocalPlayer
- local function callback(text)
- if text == "Info" then
- print("Script by: Hipeopleofthisworld8.")
- if edits ~= false then
- print("Edits by: "..edits..".")
- end
- elseif text == "Dismiss" then
- notify({TTLE = "Dissmissed", TIME = 0.1})
- elseif text == "Get code." then
- hint = Instance.new("Hint", plr.PlayerGui)
- hint.Name = "Password"
- hint.Text = 1236987450 * 3 / 10 - 2 + 500
- print(hint.Text)
- notify({TTLE = "Password", TXT = hint.Text, TIME = 1000, BTTN1 = "Dissmiss"})
- elseif text == "Reconnect" then
- human = Instance.new("Humanoid", plr.Character)
- human.Health = 0
- end
- end
- local trigger = Instance.new("BindableFunction", script)
- trigger.OnInvoke = callback
- local connected = Instance.new("BindableFunction", plr.Character)
- connected.Name = "Connected"
- function notify(Table)
- game.StarterGui:SetCore("SendNotification", {
- Title = Table.TTLE or " ";
- Text = Table.TXT or " ";
- Icon = Table.IMG or nil;
- Duration = Table.TIME or 5;
- Callback = trigger;
- Button1 = Table.BTTN1 or nil;
- Button2 = Table.BTTN2 or nil;
- })
- end
- notify({TTLE = "Script Sucsessful!", TXT = "Hello "..plr.Name.."!", IMG = "http://www.roblox.com/Thumbs/Avatar.ashx?x=100&y=100&Format=Png&username="..plr.Name, BTTN1 = "Info", BTTN2 = "Dissmiss", TIME = 10})
- game:GetService("Players").ChildAdded:connect(function(vict)
- notify({TTLE = "Player Joined", TXT = vict.Name.." connected.", IMG = "http://www.roblox.com/Thumbs/Avatar.ashx?x=100&y=100&Format=Png&username="..vict.Name,BTTN1 = "Dissmiss"})
- end)
- game:GetService("Players").PlayerRemoving:connect(function(vict)
- notify({TTLE = "Player Left", TXT = vict.Name.." disconnected.", IMG = "http://www.roblox.com/Thumbs/Avatar.ashx?x=100&y=100&Format=Png&username="..vict.Name,BTTN1 = "Dissmiss"})
- end)
- plr.Chatted:connect(function(mess)
- if mess:sub(1,8) == "hip/code" then
- notify({TTLE = "Password", TXT = "Want the password?", IMG = "http://www.roblox.com/Thumbs/Avatar.ashx?x=100&y=100&Format=Png&username="..plr.Name,BTTN1 = "Get code.", TIME = 10})
- notify({TTLE = "Ran Command", TXT = "Get code.",BTTN1 = "Dissmiss"})
- elseif mess:sub(1,8) == "hip/cmds" then
- print([[Current Commands:
- 1) hip/code -- gets script compatibility password
- 2) hip/cmds -- gets commands
- 3) hip/nog -- clears player gui
- 4) hip/link -- gets link for script compatible scripts
- 5) hip/ban/"player FULL name" -- bans a player
- ]])
- notify({TTLE = "Ran Command", TXT = "Got Commands.",BTTN1 = "Dissmiss"})
- elseif mess:sub(1,7) == "hip/nog" then
- notify({TTLE = "Ran Command", TXT = "Cleared player gui.",BTTN1 = "Dissmiss"})
- for _ , c in pairs(plr.PlayerGui:GetDescendants()) do
- if c.ClassName == "Hint" then
- c:Destroy()
- end
- end
- elseif mess:sub(1,8) == "hip/link" then
- notify({TTLE = "Ran Command", TXT = "Got link for script compatible scripts.",BTTN1 = "Dissmiss"})
- print([[Heres the other half of this script.
- 1) https://pastebin.com/raw/FbwZX8iX
- ]])
- elseif mess:sub(1,8) == "hip/ban/" then
- notify({TTLE = "Ran Command", TXT = "Got ban.",BTTN1 = "Dissmiss"})
- notify({TTLE = "Player Banned", TXT = "Banned " ..mess:sub(9).. ".", IMG = "http://www.roblox.com/Thumbs/Avatar.ashx?x=100&y=100&Format=Png&username="..mess:sub(9),BTTN1 = "Dissmiss"})
- elseif mess:sub(1,12) == "hip/shutdown" then
- notify({TTLE = "Ran Command", TXT = "Got shutdown.",BTTN1 = "Dissmiss"})
- notify({TTLE = "Server Error", TXT = "This server has been shutdown. To reconnect restart the admin script.", BTTN = "Reconnect", TIME = 1000})
- end
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement