SHOW:
|
|
- or go back to the newest paste.
1 | -- Objects | |
2 | ||
3 | local ScreenGui = Instance.new("ScreenGui") | |
4 | local Frame = Instance.new("Frame") | |
5 | local TextLabel = Instance.new("TextLabel") | |
6 | local TextBox = Instance.new("TextBox") | |
7 | local TextButton = Instance.new("TextButton") | |
8 | ||
9 | -- Properties | |
10 | ||
11 | ScreenGui.Parent = game.Players.LocalPlayer.PlayerGui | |
12 | ||
13 | Frame.Parent = ScreenGui | |
14 | Frame.Active = true | |
15 | Frame.BackgroundColor3 = Color3.new(0.278431, 0.831373, 1) | |
16 | Frame.BackgroundTransparency = 0.30000001192093 | |
17 | Frame.Draggable = true | |
18 | Frame.Position = UDim2.new(0.634092569, 0, 0.542553186, 0) | |
19 | Frame.Size = UDim2.new(0.224099919, 0, 0.338652492, 0) | |
20 | ||
21 | TextLabel.Parent = Frame | |
22 | TextLabel.BackgroundColor3 = Color3.new(1, 1, 1) | |
23 | TextLabel.BackgroundTransparency = 1 | |
24 | TextLabel.Size = UDim2.new(1, 0, 0, 60) | |
25 | TextLabel.Font = Enum.Font.SourceSansLight | |
26 | - | TextLabel.Text = "LemonHead's Breakneck Gui" |
26 | + | TextLabel.Text = "k. u can kick." |
27 | TextLabel.TextScaled = true | |
28 | TextLabel.TextSize = 14 | |
29 | TextLabel.TextWrapped = true | |
30 | ||
31 | TextBox.Parent = Frame | |
32 | TextBox.BackgroundColor3 = Color3.new(1, 1, 1) | |
33 | TextBox.Position = UDim2.new(0, 0, 0.349999994, 0) | |
34 | TextBox.Size = UDim2.new(1, 0, 0, 70) | |
35 | TextBox.Font = Enum.Font.SourceSans | |
36 | - | TextBox.Text = "Player name here, or \"all\", or \"me\"." |
36 | + | TextBox.Text = "Keek" |
37 | TextBox.TextScaled = true | |
38 | TextBox.TextSize = 14 | |
39 | TextBox.TextWrapped = true | |
40 | ||
41 | TextButton.Parent = Frame | |
42 | TextButton.BackgroundColor3 = Color3.new(0.137255, 1, 0.380392) | |
43 | TextButton.BackgroundTransparency = 0.30000001192093 | |
44 | TextButton.Position = UDim2.new(0, 0, 0.730000019, 0) | |
45 | TextButton.Size = UDim2.new(1, 0, 0, 50) | |
46 | TextButton.Font = Enum.Font.SourceSans | |
47 | TextButton.Text = "Go!" | |
48 | TextButton.TextScaled = true | |
49 | TextButton.TextSize = 14 | |
50 | TextButton.TextWrapped = true | |
51 | TextButton.MouseButton1Click:connect(function() | |
52 | if TextBox.Text ~= "Player name here, or \"all\", or \"me\"." then | |
53 | if TextBox.Text ~= "all" then | |
54 | if TextBox.Text ~= "me" then | |
55 | plr = game.Players[TextBox.Text] | |
56 | char = plr.Character | |
57 | plr:BreakJoints() | |
58 | HeadTorsoWeld = Instance.new("Weld", char.Head) | |
59 | HeadTorsoWeld.Part0 = char.Head | |
60 | HeadTorsoWeld.Part1 = char.Torso | |
61 | ||
62 | HeadTorsoWeld.C0 = CFrame.new(0, -0.5, 1)*CFrame.Angles(-1.5, 0, 0) | |
63 | Oof = Instance.new("ParticleEmitter", char.Head) | |
64 | Oof.Color = ColorSequence.new(Color3.fromRGB(216, 0, 3)) | |
65 | Oof.Size = NumberSequence.new(0.2) | |
66 | Oof.Texture = "rbxasset://textures/particles/sparkles_main.dds" --Just the sparkle texture; change if you want. | |
67 | Oof.Acceleration = Vector3.new(0, -20, 0) | |
68 | Oof.EmissionDirection = "Bottom" | |
69 | Oof.Lifetime = NumberRange.new(5, 10) | |
70 | Oof.Rate = 200.000 | |
71 | Oof.Speed = NumberRange.new(10) | |
72 | else | |
73 | plr = game.Players.LocalPlayer | |
74 | char = plr.Character | |
75 | HeadTorsoWeld = Instance.new("Weld", char.Head) | |
76 | HeadTorsoWeld.Part0 = char.Head | |
77 | HeadTorsoWeld.Part1 = char.Torso | |
78 | ||
79 | HeadTorsoWeld.C0 = CFrame.new(0, -0.5, 1)*CFrame.Angles(-1.5, 0, 0) | |
80 | Oof = Instance.new("ParticleEmitter", char.Head) | |
81 | Oof.Color = ColorSequence.new(Color3.fromRGB(216, 0, 3)) | |
82 | Oof.Size = NumberSequence.new(0.2) | |
83 | Oof.Texture = "rbxasset://textures/particles/sparkles_main.dds" --Just the sparkle texture; change if you want. | |
84 | Oof.Acceleration = Vector3.new(0, -20, 0) | |
85 | Oof.EmissionDirection = "Bottom" | |
86 | Oof.Lifetime = NumberRange.new(5, 10) | |
87 | Oof.Rate = 200.000 | |
88 | Oof.Speed = NumberRange.new(10) | |
89 | end | |
90 | else | |
91 | for index, child in pairs(game.Players:GetChildren()) do | |
92 | plr = child | |
93 | char = plr.Character | |
94 | HeadTorsoWeld = Instance.new("Weld", char.Head) | |
95 | HeadTorsoWeld.Part0 = char.Head | |
96 | HeadTorsoWeld.Part1 = char.Torso | |
97 | ||
98 | HeadTorsoWeld.C0 = CFrame.new(0, -0.5, 1)*CFrame.Angles(-1.5, 0, 0) | |
99 | Oof = Instance.new("ParticleEmitter", char.Head) | |
100 | Oof.Color = ColorSequence.new(Color3.fromRGB(216, 0, 3)) | |
101 | Oof.Size = NumberSequence.new(0.2) | |
102 | Oof.Texture = "rbxasset://textures/particles/sparkles_main.dds" --Just the sparkle texture; change if you want. | |
103 | Oof.Acceleration = Vector3.new(0, -20, 0) | |
104 | Oof.EmissionDirection = "Bottom" | |
105 | Oof.Lifetime = NumberRange.new(5, 10) | |
106 | Oof.Rate = 200.000 | |
107 | Oof.Speed = NumberRange.new(10) | |
108 | end | |
109 | end | |
110 | end | |
111 | end) |