SHOW:
|
|
- or go back to the newest paste.
1 | --[[ | |
2 | Controls: | |
3 | LCTRL: Fire a friendliness pellet | |
4 | K: Evil laugh | |
5 | Z: Angry flowy | |
6 | J: Spooky flowy theme | |
7 | G: Normal flowy theme | |
8 | F: Stop music | |
9 | X: Remove dialogue box | |
10 | ||
11 | ]]-- | |
12 | dot = false | |
13 | shoot = true | |
14 | des = false | |
15 | local ChatService = game:GetService("Chat") | |
16 | for i,v in pairs(game.Players.LocalPlayer.Character:GetChildren()) do | |
17 | if v:IsA('Part') then v.Transparency = 1 | |
18 | if v:IsA('Hat') then v.Handle.Transparency = 1 | |
19 | ||
20 | end | |
21 | end | |
22 | end | |
23 | - | local player = game.Players.LocalPlayer |
23 | + | local player = owner |
24 | player.Character.Head.face:Remove() | |
25 | ||
26 | m=player:GetMouse() | |
27 | bb = Instance.new("BillboardGui",player.Character.Head) | |
28 | bb.Enabled = true | |
29 | bb.AlwaysOnTop = true | |
30 | ||
31 | bb.Size = UDim2.new(0,200,0,50) | |
32 | bb.StudsOffset = Vector3.new(-0.5,-0.5,0) | |
33 | fl = Instance.new("Part",player.Character) | |
34 | ||
35 | fl.FormFactor = 3 | |
36 | fl.Size = Vector3.new(3,3,0.01) | |
37 | fl.Transparency = 1 | |
38 | aa = 0.075 | |
39 | fl.CanCollide = false | |
40 | dec = Instance.new("Decal",fl) | |
41 | dec.Face = "Front" | |
42 | dec.Texture = "rbxassetid://379128237" | |
43 | dec1 = Instance.new("Decal",fl) | |
44 | dec1.Face = "Back" | |
45 | dec1.Texture = "rbxassetid://379128324" | |
46 | wel = Instance.new("Weld",fl) | |
47 | wel.Part0=fl | |
48 | wel.Part1=player.Character.Torso | |
49 | wel.C0 = CFrame.new(0,2,0) | |
50 | gui=Instance.new("TextBox",bb) | |
51 | gui.Text = "* " | |
52 | gui.Size = UDim2.new(0,266,0,90) | |
53 | ||
54 | gui.Position=UDim2.new(0,94,0,-60) | |
55 | gui.TextColor3 = Color3.new(255,255,255) | |
56 | gui.BackgroundColor3=Color3.new(0,0,0) | |
57 | gui.TextWrapped = true | |
58 | gui.TextScaled = true | |
59 | gui.TextXAlignment = "Left" | |
60 | gui.TextYAlignment = "Top" | |
61 | gui.Visible = false | |
62 | gui.BorderColor3 = Color3.new(0,0,0) | |
63 | ||
64 | gui1=Instance.new("TextButton",bb) | |
65 | gui1.Position=UDim2.new(0,5,0,-66) | |
66 | gui1.Size = UDim2.new(0,380,0,102) | |
67 | ||
68 | gui1.TextColor3 = Color3.new(255,255,255) | |
69 | gui1.BackgroundColor3=Color3.new(255,255,255) | |
70 | ||
71 | gui1.Visible = false | |
72 | img = Instance.new("ImageLabel",bb) | |
73 | img.Size = UDim2.new(0,92,0,94) | |
74 | img.Position = UDim2.new(0,15,0,-62) | |
75 | img.Image = "rbxassetid://340492116" | |
76 | img.BorderColor3 = Color3.new(0,0,0) | |
77 | img.Visible = false | |
78 | sid = "379851665" | |
79 | asd = Instance.new("Sound",player.Character.Torso) | |
80 | asd.SoundId = "http://www.roblox.com/asset/?id =379851665" | |
81 | ||
82 | asd1 = Instance.new("Sound",player.Character.Torso) | |
83 | asd1.SoundId = "http://www.roblox.com/asset/?id =379851665" | |
84 | ||
85 | asd2 = Instance.new("Sound",player.Character.Torso) | |
86 | asd2.SoundId = "http://www.roblox.com/asset/?id = 317393485" | |
87 | asd2.Looped = true | |
88 | asd3 = Instance.new("Sound",player.Character.Torso) | |
89 | asd3.SoundId = "http://www.roblox.com/asset/?id = 316014309" | |
90 | asd3.Looped = true | |
91 | asd4 = Instance.new("Sound",player.Character.Torso) | |
92 | asd4.SoundId = "http://www.roblox.com/asset/?id = 370435986" | |
93 | asd4.Looped = true | |
94 | asd5 = Instance.new("Sound",player.Character.Torso) | |
95 | asd5.SoundId = "http://www.roblox.com/asset/?id = 379865908" | |
96 | asd5.Looped = true | |
97 | asd6 = Instance.new("Sound",player.Character.Torso) | |
98 | asd6.SoundId = "http://www.roblox.com/asset/?id = 379865908" | |
99 | asd7 = Instance.new("Sound",player.Character.Torso) | |
100 | asd7.SoundId = "http://www.roblox.com/asset/?id = 379874748" | |
101 | asd7.Looped = true | |
102 | m.KeyDown:connect(function(k) | |
103 | ||
104 | if k == string.char(50) then | |
105 | if shoot == true then | |
106 | shoot = false | |
107 | b = Instance.new("Part",workspace) | |
108 | b.CFrame = fl.CFrame * CFrame.new(0,0,1) | |
109 | b.BrickColor = BrickColor.new("asd") | |
110 | b.TopSurface = "Universal" | |
111 | b.BottomSurface = "Universal" | |
112 | b.LeftSurface = 0 | |
113 | b.RightSurface = 0 | |
114 | b.FrontSurface = 0 | |
115 | b.BackSurface = 0 | |
116 | b.FormFactor = 3 | |
117 | b.Size = Vector3.new(0.2,0.2,0.5) | |
118 | b.Material = "Neon" | |
119 | b.Anchored = false | |
120 | b.CanCollide = false | |
121 | b.Reflectance = 0 | |
122 | ||
123 | b.Velocity = CFrame.new(b.Position,player:GetMouse().Hit.p).lookVector * 200 | |
124 | b.Touched:connect(function(h) | |
125 | if h.Parent.Name ==game.Players.LocalPlayer.Name then | |
126 | x = h.Parent:findFirstChild("Humanoid") | |
127 | x:TakeDamage(0) | |
128 | else x = h.Parent:findFirstChild("Humanoid") | |
129 | if x then | |
130 | ||
131 | x:TakeDamage(15) | |
132 | ||
133 | ||
134 | ||
135 | end end end) | |
136 | wait(0.3) | |
137 | b:Remove() | |
138 | shoot = true | |
139 | ||
140 | ||
141 | ||
142 | ||
143 | end | |
144 | end | |
145 | end) | |
146 | ||
147 | ||
148 | ||
149 | ||
150 | function play(play) | |
151 | asd:Play() | |
152 | ||
153 | asd1:Play() | |
154 | end | |
155 | eye = Instance.new("Part",player.Character) | |
156 | eye.BrickColor = BrickColor.new("Toothpaste") | |
157 | eye.Material = "Neon" | |
158 | eye.FormFactor = 3 | |
159 | eye.Shape = "Ball" | |
160 | eye.Size = Vector3.new(0.37,0.37,0.1) | |
161 | weld = Instance.new("Weld",eye) | |
162 | weld.Part0 = eye | |
163 | weld.Part1 = player.Character.Head | |
164 | weld.C0 = CFrame.new(0.1,-0.2,0.45) | |
165 | eye.Transparency = 1 | |
166 | -- listen for their chatting | |
167 | player.Chatted:connect(function(message) | |
168 | a = string.len(message) | |
169 | gui.Text = "* " | |
170 | gui.Visible = true | |
171 | gui1.Visible = true | |
172 | des = false | |
173 | img.Visible = true | |
174 | print(a) | |
175 | if dot == false then | |
176 | for i = 1,string.len(message) do wait(aa) | |
177 | gui.Text =gui.Text..message:sub(i,i) | |
178 | play() | |
179 | ||
180 | end | |
181 | end | |
182 | ||
183 | ||
184 | des = true | |
185 | end) | |
186 | m.KeyDown:connect(function(k) | |
187 | if k == "g" then | |
188 | asd2:Play() | |
189 | eye.Transparency = 1 | |
190 | ||
191 | end | |
192 | end) | |
193 | ||
194 | ||
195 | ||
196 | m.KeyDown:connect(function(k) | |
197 | if k == "z" then | |
198 | aa = 0.08 | |
199 | asd1.SoundId = "http://www.roblox.com/asset/?id =379862308" | |
200 | asd.SoundId = "http://www.roblox.com/asset/?id =379862308" | |
201 | img.Image = "rbxassetid://311067910" | |
202 | end | |
203 | end) | |
204 | m.KeyDown:connect(function(k) | |
205 | if k == "c" then | |
206 | aa=0.075 | |
207 | asd1.SoundId = "http://www.roblox.com/asset/?id =379851665" | |
208 | asd.SoundId = "http://www.roblox.com/asset/?id =379851665" | |
209 | img.Image = "rbxassetid://340492116" | |
210 | end | |
211 | end) | |
212 | m.KeyDown:connect(function(k) | |
213 | if k == "n" then | |
214 | sid = "379851665" | |
215 | --img.Image = "rbxassetid://379880202" | |
216 | end | |
217 | end) | |
218 | m.KeyDown:connect(function(k) | |
219 | if k == "b" then | |
220 | --img.Image = "rbxassetid://379866291" | |
221 | end | |
222 | end) | |
223 | m.KeyDown:connect(function(k) | |
224 | if k == "m" then | |
225 | --img.Image = "rbxassetid://379866374" | |
226 | end | |
227 | end) | |
228 | m.KeyDown:connect(function(k) | |
229 | if k == "v" then | |
230 | --img.Image = "rbxassetid://378619540" | |
231 | end | |
232 | end) | |
233 | m.KeyDown:connect(function(k) | |
234 | if k == "k" then | |
235 | asd6:Play() | |
236 | end | |
237 | end) | |
238 | m.KeyDown:connect(function(k) | |
239 | if k == "j" then | |
240 | asd7:Play() | |
241 | end | |
242 | end) | |
243 | ||
244 | m.KeyDown:connect(function(k) | |
245 | if k == "x" then | |
246 | if des == true then | |
247 | gui.Visible = false | |
248 | gui.Text = "* " | |
249 | gui1.Visible = false | |
250 | img.Visible = false | |
251 | end | |
252 | end | |
253 | end) | |
254 | m.KeyDown:connect(function(k) | |
255 | if k == "f" then | |
256 | asd3:Stop() | |
257 | asd2:Stop() | |
258 | asd7:Stop() | |
259 | asd4:Stop() | |
260 | eye.Transparency = 1 | |
261 | asd5:Stop() | |
262 | end | |
263 | end) |