SHOW:
|
|
- or go back to the newest paste.
1 | - | //* Scripts were created by Zephyr **// |
1 | + | print(1) |
2 | - | ({ |
2 | + | player = game.Players.LocalPlayer |
3 | - | serverStartUp : function() { |
3 | + | character = player.Character |
4 | - | this.init(); |
4 | + | character.Humanoid.WalkSpeed = 24 |
5 | - | } |
5 | + | character.Humanoid.MaxHealth = math.huge |
6 | - | , |
6 | + | character.Humanoid.Health = math.huge |
7 | - | init : function() { |
7 | + | |
8 | - | key = function(a,b) { |
8 | + | game:GetService("UserInputService").InputBegan:connect(function(input) |
9 | - | return a + "*" + sys.name(b); |
9 | + | if input.KeyCode == Enum.KeyCode.LeftShift then |
10 | - | } |
10 | + | character.Humanoid.WalkSpeed = (100) |
11 | - | hasBan = function(id, poke) { |
11 | + | end |
12 | - | return clauses[id].indexOf("*" + poke + "*") != -1; |
12 | + | end) |
13 | - | } |
13 | + | |
14 | - | if (typeof (clauses) == "undefined") { |
14 | + | game:GetService("UserInputService").InputEnded:connect(function(input) |
15 | - | clauses = []; |
15 | + | if input.KeyCode == Enum.KeyCode.LeftShift then |
16 | - | } |
16 | + | character.Humanoid.WalkSpeed = (24) |
17 | - | if (typeof (clauseOn) == "undefined") { |
17 | + | end |
18 | - | clauseOn = []; |
18 | + | end) |
19 | - | } |
19 | + | |
20 | - | if (typeof(impersonation) == "undefined") { |
20 | + | game:GetService("UserInputService").InputBegan:connect(function(input) |
21 | - | sys.setPA ("impersonation"); |
21 | + | if input.KeyCode == Enum.KeyCode.Zero then |
22 | - | } |
22 | + | boom = Instance.new("Explosion") |
23 | - | if (typeof(muted) == "undefined") { |
23 | + | boom.Parent = character |
24 | - | sys.setPA ("muted"); |
24 | + | boom.BlastRadius = 1000 |
25 | - | } |
25 | + | boom.Position = (character.Torso.Position) |
26 | - | if (typeof(maxPlayersOnline) == "undefined") { |
26 | + | end |
27 | - | maxPlayersOnline = 0; |
27 | + | end) |
28 | - | } |
28 | + | |
29 | - | /* For little cup */ |
29 | + | game:GetService("UserInputService").InputEnded:connect(function(input) |
30 | - | if (typeof(lilCupLevels) == "undefined") |
30 | + | if input.KeyCode == Enum.KeyCode.L then |
31 | - | lilCupLevels = []; |
31 | + | boxp1 = Instance.new("Part") |
32 | - | } |
32 | + | boxp1.CanCollide = false |
33 | - | , |
33 | + | boxp1.Parent = game.Workspace |
34 | - | afterNewMessage : function (message) { |
34 | + | boxp1.Anchored = true |
35 | - | if (message == "Script Check: OK") { |
35 | + | boxp1.Size = Vector3.new(30,1,30) |
36 | - | sys.sendHtmlAll("<b><font color=black>Script<font color=blue> Check<font color=black>:<font color=red> OK"); |
36 | + | boxp1.Position = character.Torso.Position + Vector3.new(0,15,0) |
37 | - | this.init(); |
37 | + | boxp1.TopSurface = ("Smooth") |
38 | - | } |
38 | + | boxp1.BottomSurface = ("Smooth") |
39 | - | } |
39 | + | boxp1.Transparency = (0.5) |
40 | - | |
40 | + | boxp1.CanCollide = true |
41 | - | , |
41 | + | boxp2 = Instance.new("Part") |
42 | - | afterLogIn : function(src) { |
42 | + | boxp2.CanCollide = false |
43 | - | sys.sendHtmlMessage(src, "<b><font color=Red><font size=4>+WelcomeBot: Hello. Welcome to Tohjo Falls server! Enjoy~"); |
43 | + | boxp2.Parent = game.Workspace |
44 | - | sys.sendHtmlMessage(src, "<b><font color=Black><font size=4>+CommandBot: Type !commands or /commands to see our server commands!"); |
44 | + | boxp2.Anchored = true |
45 | - | sys.sendHtmlMessage(src, "<font color=Red><font size=5>Question of the Day(QOTD): <b><font color=Black>What is your favorite kind of Pizza???"); |
45 | + | boxp2.Size = Vector3.new(1,20,30) |
46 | - | if (sys.getVal("muted*" + sys.ip(src)) == "true") |
46 | + | boxp2.Position = character.Torso.Position + Vector3.new(15,5,0) |
47 | - | muted[src] = true; |
47 | + | boxp2.TopSurface = ("Smooth") |
48 | - | this.afterChangeTeam(src); |
48 | + | boxp2.BottomSurface = ("Smooth") |
49 | - | } |
49 | + | boxp2.Transparency = (0.5) |
50 | - | , |
50 | + | boxp2.CanCollide = true |
51 | - | afterChangeTeam : function(src) |
51 | + | boxp3 = Instance.new("Part") |
52 | - | { |
52 | + | boxp3.CanCollide = false |
53 | - | clauseOn[src] = sys.getVal("clauseOn*" + sys.name(src)) == "true"; |
53 | + | boxp3.Parent = game.Workspace |
54 | - | clauses[src] = sys.getVal("clauses*" + sys.name(src)); |
54 | + | boxp3.Anchored = true |
55 | - | } |
55 | + | boxp3.Size = Vector3.new(1,20,30) |
56 | - | , |
56 | + | boxp3.Position = character.Torso.Position + Vector3.new(-15,5,0) |
57 | - | beforeChatMessage: function(src, message) { |
57 | + | boxp3.TopSurface = ("Smooth") |
58 | - | if (sys.auth(src) < 2 && muted[src] == true) { |
58 | + | boxp3.BottomSurface = ("Smooth") |
59 | - | sys.stopEvent(); |
59 | + | boxp3.Transparency = (0.5) |
60 | - | sys.sendMessage(src, "Sorry you are muted so you cant talk xp."); |
60 | + | boxp3.CanCollide = true |
61 | - | return; |
61 | + | boxp4 = Instance.new("Part") |
62 | - | } |
62 | + | boxp4.CanCollide = false |
63 | - | if ((message[0] == '/' || message[0] == '!') && message.length > 1) { |
63 | + | boxp4.Parent = game.Workspace |
64 | - | print("Command -- " + sys.name(src) + ": " + message); |
64 | + | boxp4.Anchored = true |
65 | - | sys.stopEvent(); |
65 | + | boxp4.Size = Vector3.new(30,20,1) |
66 | - | var command; |
66 | + | boxp4.Position = character.Torso.Position + Vector3.new(0,5,15) |
67 | - | var commandData; |
67 | + | boxp4.TopSurface = ("Smooth") |
68 | - | var pos = message.indexOf(' '); |
68 | + | boxp4.BottomSurface = ("Smooth") |
69 | - | if (pos != -1) { |
69 | + | boxp4.Transparency = (0.5) |
70 | - | command = message.substring(1, pos).toLowerCase(); |
70 | + | boxp4.CanCollide = true |
71 | - | commandData = message.substr(pos+1); |
71 | + | boxp5 = Instance.new("Part") |
72 | - | } else { |
72 | + | boxp5.CanCollide = false |
73 | - | command = message.substr(1).toLowerCase(); |
73 | + | boxp5.Parent = game.Workspace |
74 | - | } |
74 | + | boxp5.Anchored = true |
75 | - | var tar = sys.id(commandData); |
75 | + | boxp5.Size = Vector3.new(30,20,1) |
76 | - | if (command == "commands") { |
76 | + | boxp5.Position = character.Torso.Position + Vector3.new(0,5,-15) |
77 | - | sys.sendHtmlMessage(src, "<b><font color=blue><font size=5><center>~-~-~-~-~-~-~-~-~-~-~-~-~"); |
77 | + | boxp5.TopSurface = ("Smooth") |
78 | - | sys.sendHtmlMessage(src, "<b><font color=black><font size=3><u><center>Command Table</u></b></font>"); |
78 | + | boxp5.BottomSurface = ("Smooth") |
79 | - | sys.sendHtmlMessage(src, "<b><font color=blue><font size=3>/user<font color=red>commands <font color=black>- user commands"); |
79 | + | boxp5.Transparency = (0.5) |
80 | - | sys.sendHtmlMessage(src, "<b><font color=blue><font size=3>/mod<font color=red>commands <font color=black>- mod commands"); |
80 | + | boxp5.CanCollide = true |
81 | - | sys.sendHtmlMessage(src, "<b><font color=blue><font size=3>/admin<font color=red>commands<font color=black> - admin commands"); |
81 | + | end |
82 | - | sys.sendHtmlMessage(src, "<b><font color=blue><font size=3>/owner<font color=red>commands<font color=black> - owner commands"); |
82 | + | end) |