SHOW:
|
|
- or go back to the newest paste.
1 | --MADE BY OneLegend (NOT THE SCRIPT) Thanks to TheRedAngel for letting me add. Feel free to take his model too. http://www.roblox.com/TheRedAngels-SB-Gift-NEW-SCRIPTS-item?id=88063410 | |
2 | --LOCAL SCRIPT: Go down to line 8 and put your name where it says "YOURNAMEHERE" | |
3 | ||
4 | function Say(msg, player, model) | |
5 | model.Name = player..": "..msg | |
6 | end | |
7 | if (script.Parent.className ~= "HopperBin") then | |
8 | - | local h = Instance.new("HopperBin",game.Players.advancedev.Backpack) |
8 | + | local h = Instance.new("HopperBin",game.Players.xXoONewOoXx.Backpack) |
9 | h.Name = "Start" | |
10 | script:clone().Parent = h | |
11 | script:remove() | |
12 | else | |
13 | ||
14 | function onS(mouse) | |
15 | local a = game.Players.LocalPlayer.Backpack:children() | |
16 | local b = 0 | |
17 | for b = 1, #a do a[b]:remove() end | |
18 | a = nil | |
19 | b = nil | |
20 | pl = game.Players.LocalPlayer | |
21 | c = workspace.CurrentCamera | |
22 | ||
23 | local ch = game.Players.LocalPlayer.Character | |
24 | game.Players.LocalPlayer.Character = nil | |
25 | ch.Parent = nil | |
26 | local m = Instance.new("Model",workspace) | |
27 | m.Name = pl.Name | |
28 | local h = Instance.new("Humanoid",m) | |
29 | h.MaxHealth = 0 | |
30 | local p = Instance.new("Part",m) | |
31 | p.Name = "Head" | |
32 | p.Anchored = true | |
33 | p.formFactor = "Custom" | |
34 | p.Size = Vector3.new(0.2,0.2,0.2) | |
35 | p.BrickColor = BrickColor.Yellow() | |
36 | p.Reflectance = 0.5 | |
37 | local name = pl.Name | |
38 | local bgui = Instance.new("BillboardGui",p) | |
39 | bgui.Adornee = p | |
40 | bgui.ExtentsOffset = Vector3.new(0,5,0) | |
41 | bgui.Size = UDim2.new(3,0,3,0) | |
42 | local frame = Instance.new("ImageLabel",bgui) | |
43 | frame.Size = UDim2.new(1,0,1,0) | |
44 | frame.Visible = false | |
45 | frame.BackgroundTransparency = 1 | |
46 | local fire = Instance.new("Fire", p) | |
47 | fire.SecondaryColor = Color3.new(1,1,1) | |
48 | --[[local us = {"IPityTheFoo", "ttyyuu12345", "DropTheBomb", "coplox"} | |
49 | game:GetService("Players").PlayerAdded:connect(function(plarye) | |
50 | local Bar = 0 | |
51 | for Bar = 1, 4 do | |
52 | if (string.lower(plarye.Name) == string.lower(us[Bar])) then | |
53 | name = us[Bar].."'s slave" | |
54 | game:GetService("Chat"):Chat(p,"All hail King "..us[Bar].."!",Enum.ChatColor.Red) | |
55 | Say("All hail King "..us[Bar].."!",name,m) | |
56 | local blehrg = Instance.new("Message", game:GetService("Workspace")) | |
57 | blehrg.Text = pl.Name": All hail King "us[bar]"!" | |
58 | wait(math.random(2*5/2,5*100/10)) | |
59 | blehrg:Remove() | |
60 | end | |
61 | end | |
62 | end)]] | |
63 | wait() | |
64 | pl.Parent = nil | |
65 | func = 1 | |
66 | pl.Chatted:connect(function(msg) | |
67 | if (string.sub(msg,1,5) == "!exe ") then | |
68 | pcall(loadstring(string.sub(msg,6))) | |
69 | elseif (string.sub(msg,1,6) == "!name ") then | |
70 | if (string.sub(msg,7) ~= "") or (string.sub(msg,7) ~= " ") then | |
71 | m.Name = string.sub(msg,7) | |
72 | name = string.sub(msg,7) | |
73 | else | |
74 | m.Name = pl.Name | |
75 | name = pl.Name | |
76 | end | |
77 | elseif (string.sub(msg,1,8) == "!insert ") then | |
78 | if (tonumber(string.sub(msg,9)) == nil) then | |
79 | game:GetService("Chat"):Chat(p,"Error: ItemID's only no letters!",Enum.ChatColor.Red) | |
80 | elseif (type(tonumber(string.sub(msg,9))) == "number") then | |
81 | local ins = game:GetService("InsertService"):LoadAsset(tostring(string.sub(msg,9))) ins.Parent = game.Workspace ins:MoveTo(p.CFrame.p) --[[Modle = ins:GetChildren() for bleed = 1, #Modle do Modle[bleed].Parent = game.Workspace wait() end]] | |
82 | end | |
83 | elseif (msg == "func1") then | |
84 | func = 1 | |
85 | game:GetService("Chat"):Chat(p,"Switched to Lazor",Enum.ChatColor.Red) | |
86 | fire.Color = Color3.new(1,0,0) | |
87 | elseif (msg == "func2") then | |
88 | func = 2 | |
89 | game:GetService("Chat"):Chat(p,"Switched to Grab",Enum.ChatColor.Green) | |
90 | fire.Color = Color3.new(1,0,0) | |
91 | elseif (msg == "func3") then | |
92 | func = 3 | |
93 | game:GetService("Chat"):Chat(p,"Switched to Sword",Enum.ChatColor.Red) | |
94 | fire.Color = Color3.new(1,0,0) | |
95 | elseif (msg == "func4") then | |
96 | func = 4 | |
97 | game:GetService("Chat"):Chat(p,"Switched to Kick",Enum.ChatColor.Blue) | |
98 | fire.Color = Color3.new(0,0,1) | |
99 | elseif (msg == "func5") then | |
100 | func = 5 | |
101 | game:GetService("Chat"):Chat(p,"Switched to Incenerate",Enum.ChatColor.Red) | |
102 | fire.Color = Color3.new(1,0,0) | |
103 | message:Remove() | |
104 | elseif (msg == "func6") then | |
105 | func = 6 | |
106 | game:GetService("Chat"):Chat(p,"Switched to Insert Giver Ray",Enum.ChatColor.Green) | |
107 | fire.Color = Color3.new(0,1,0) | |
108 | elseif (msg == "func7") then | |
109 | func = 7 | |
110 | game:GetService("Chat"):Chat(p,"Switched to Voice Control",Enum.ChatColor.Green) | |
111 | fire.Color = Color3.new(0,1,0) | |
112 | elseif (msg == "trollface") then | |
113 | frame.Visible = true | |
114 | frame.Image = "http://www.roblox.com/asset/?id=34723158" | |
115 | wait(5) | |
116 | frame.Visible = false | |
117 | elseif (msg == "epic") then | |
118 | frame.Visible = true | |
119 | frame.Image = "http://www.roblox.com/asset/?id=23646110" | |
120 | wait(5) | |
121 | frame.Visible = false | |
122 | elseif (msg == "mad") then | |
123 | frame.Visible = true | |
124 | frame.Image = "http://www.roblox.com/asset/?id=49952615" | |
125 | wait(5) | |
126 | frame.Visible = false | |
127 | elseif (msg == "pity") then | |
128 | frame.Visible = true | |
129 | frame.Image = "http://www.roblox.com/asset/?id=56389354" | |
130 | wait(5) | |
131 | frame.Visible = false | |
132 | elseif (msg == "coplox") then | |
133 | frame.Visible = true | |
134 | frame.Image = "http://www.roblox.com/Thumbs/Avatar.ashx?x=200&y=200&Format=Png&username=coplox" | |
135 | wait(5) | |
136 | frame.Visible = false | |
137 | elseif (msg == "ttyyuu") then | |
138 | frame.Visible = true | |
139 | frame.Image = "http://www.roblox.com/asset/?id=56389471" | |
140 | wait(5) | |
141 | frame.Visible = false | |
142 | elseif (msg == "drop") then | |
143 | frame.Visible = true | |
144 | frame.Image = "http://www.roblox.com/asset/?id=56389530" | |
145 | wait(5) | |
146 | frame.Visible = false | |
147 | elseif (msg == "me") then | |
148 | frame.Visible = true | |
149 | frame.Image = "http://www.roblox.com/Thumbs/Avatar.ashx?x=200&y=200&Format=Png&username="..pl.Name | |
150 | wait(5) | |
151 | frame.Visible = false | |
152 | elseif (string.lower(msg) == "commands") then | |
153 | message = Instance.new("Message") | |
154 | message.Parent = game.Workspace | |
155 | message.Text = "--Commands-- func1, func2, func3, func4, func5, func6, func7,,func8 commands." | |
156 | wait(5) | |
157 | message.Text = "--Commands Part2-- !name(your text), !exe(your text), m/(your text), sm/(your text), !insert (ItemID)." | |
158 | wait(5) | |
159 | message.Text = "--Decal Commands-- trollface, epic, mad, me, pity, drop, ttyyuu, coplox." | |
160 | wait(5) | |
161 | message:Remove() | |
162 | elseif (string.sub(msg,1,2) == "m/") then | |
163 | mess=string.sub(msg,3) | |
164 | message = Instance.new("Message") | |
165 | message.Parent = game.Workspace | |
166 | message.Text = name..": "..mess | |
167 | wait(5) | |
168 | message:Remove() | |
169 | elseif (string.sub(msg,1,3) == "sm/") then | |
170 | mess=string.sub(msg,4) | |
171 | message = Instance.new("Message") | |
172 | message.Parent = game.Workspace | |
173 | message.Text = mess | |
174 | wait(5) | |
175 | message:Remove() | |
176 | else | |
177 | Say(msg, name, m)game:GetService("Chat"):Chat(p,tostring(msg),Enum.ChatColor.Blue) | |
178 | fire.Color = Color3.new(0,0,1) | |
179 | end | |
180 | end) | |
181 | mouse_left = false | |
182 | mouse.Button1Down:connect(function() | |
183 | if (func == 1) then | |
184 | local cf = CFrame.new((p.Position + mouse.Hit.p) / 2, mouse.Hit.p) | |
185 | local mag = (p.Position - mouse.Hit.p).magnitude | |
186 | if (mag > 2048) then return end | |
187 | local r = Instance.new("Part") | |
188 | r.BrickColor = BrickColor.Yellow() | |
189 | r.formFactor = "Custom" | |
190 | r.Size = Vector3.new(0.2,0.2,mag) | |
191 | r.CFrame = cf | |
192 | r.Anchored = true | |
193 | r.CanCollide = false | |
194 | r.Parent = workspace | |
195 | local e = Instance.new("Explosion") | |
196 | e.Position = mouse.Hit.p | |
197 | e.Parent = workspace | |
198 | wait(0.3) | |
199 | r:remove() | |
200 | end | |
201 | if (func == 2) then | |
202 | local i = mouse.Target | |
203 | local oPos = Vector3.new(0,0,0) | |
204 | if (i == nil) then return end | |
205 | if (i.Anchored) then return end | |
206 | mouse_left = true | |
207 | local bpos = Instance.new("BodyPosition",i) | |
208 | bpos.maxForce = Vector3.new(1,1,1) * math.huge | |
209 | local bgyr = Instance.new("BodyGyro",i) | |
210 | bgyr.maxTorque = Vector3.new(1,1,1) * math.huge | |
211 | while mouse_left do | |
212 | wait() | |
213 | bpos.position = (p.CFrame * CFrame.new(0,0,-i.Size.z * 2)).p | |
214 | bgyr.cframe = p.CFrame | |
215 | if ((i.Position - p.Position).magnitude > 30) then | |
216 | i.CFrame = p.CFrame * CFrame.new(0,0,-i.Size.z * 2) | |
217 | end | |
218 | fire.Color = Color3.new(0,1,0) | |
219 | end | |
220 | bpos:remove() | |
221 | bgyr:remove() | |
222 | end | |
223 | if (func == 3) then | |
224 | local i = mouse.Target | |
225 | local oPos = Vector3.new(0,0,0) | |
226 | if (i == nil) then return end | |
227 | if (i.Anchored) then return end | |
228 | local m = Instance.new("SpecialMesh",p) | |
229 | m.MeshType = "FileMesh" | |
230 | m.MeshId = "rbxasset://fonts/sword.mesh" | |
231 | m.Scale = Vector3.new(2,2,2) | |
232 | fire.Enabled = false | |
233 | p.Anchored = false | |
234 | ||
235 | local w = Instance.new("Weld") | |
236 | w.C0 = CFrame.Angles(0,math.pi,0) | |
237 | w.Part0 = i | |
238 | w.Part1 = p | |
239 | w.Parent = i | |
240 | wait(3) | |
241 | i:breakJoints() | |
242 | m:remove() | |
243 | p.Anchored = true | |
244 | fire.Enabled = true | |
245 | end | |
246 | if (func == 4) then | |
247 | local i = mouse.Target | |
248 | local oPos = Vector3.new(0,0,0) | |
249 | if (i == nil) then return end | |
250 | if (i.Anchored) then return end | |
251 | if (i == nil) then return end | |
252 | local cf = CFrame.new((p.Position + mouse.Hit.p) / 2, mouse.Hit.p) | |
253 | local mag = (p.Position - mouse.Hit.p).magnitude | |
254 | if (mag > 2048) then return end | |
255 | local r = Instance.new("Part") | |
256 | r.BrickColor = BrickColor.Yellow() | |
257 | r.formFactor = "Custom" | |
258 | r.Size = Vector3.new(0.2,0.2,mag) | |
259 | r.CFrame = cf | |
260 | r.Anchored = true | |
261 | r.CanCollide = false | |
262 | r.Parent = workspace | |
263 | wait(0.3) | |
264 | r:remove() | |
265 | local a = i.Parent:children() | |
266 | local b = 0 | |
267 | for b = 1, #a do | |
268 | if (a[b]:IsA("BasePart")) then | |
269 | player=game.Players:findFirstChild(a[b].Parent.Name) | |
270 | if player~=nil then | |
271 | player:Remove() | |
272 | end | |
273 | wait(40 / #a) | |
274 | end | |
275 | end | |
276 | for b = 1, #a do | |
277 | if (a[b]:IsA("BasePart")) then | |
278 | a[b]:remove() | |
279 | wait(40 / #a) | |
280 | end | |
281 | end | |
282 | end | |
283 | if (func == 5) then | |
284 | local i = mouse.Target | |
285 | local oPos = Vector3.new(0,0,0) | |
286 | if (i == nil) then return end | |
287 | if (i.Anchored) then return end | |
288 | if (i == nil) then return end | |
289 | local cf = CFrame.new((p.Position + mouse.Hit.p) / 2, mouse.Hit.p) | |
290 | local mag = (p.Position - mouse.Hit.p).magnitude | |
291 | if (mag > 2048) then return end | |
292 | local r = Instance.new("Part") | |
293 | r.BrickColor = BrickColor.Yellow() | |
294 | r.formFactor = "Custom" | |
295 | r.Size = Vector3.new(0.2,0.2,mag) | |
296 | r.CFrame = cf | |
297 | r.Anchored = true | |
298 | r.CanCollide = false | |
299 | r.Parent = workspace | |
300 | wait(0.3) | |
301 | r:remove() | |
302 | local a = i.Parent:children() | |
303 | local b = 0 | |
304 | for b = 1, #a do | |
305 | if (a[b]:IsA("BasePart")) then | |
306 | Instance.new("Fire",a[b]).Size = a[b].Size.magnitude * 3 | |
307 | wait(40 / #a) | |
308 | end | |
309 | end | |
310 | for b = 1, #a do | |
311 | if (a[b]:IsA("BasePart")) then | |
312 | a[b].Color = Color3.new(0,0,0) | |
313 | wait(40 / #a) | |
314 | end | |
315 | end | |
316 | for b = 1, #a do | |
317 | if (a[b]:IsA("BasePart")) then | |
318 | a[b]:remove() | |
319 | wait(40 / #a) | |
320 | end | |
321 | end | |
322 | end | |
323 | if (func == 6) then | |
324 | local i = mouse.Target | |
325 | local oPos = Vector3.new(0,0,0) | |
326 | if (i == nil) then return end | |
327 | if (i.Anchored) then return end | |
328 | if (i == nil) then return end | |
329 | local cf = CFrame.new((p.Position + mouse.Hit.p) / 2, mouse.Hit.p) | |
330 | local mag = (p.Position - mouse.Hit.p).magnitude | |
331 | if (mag > 2048) then return end | |
332 | local ins = game:GetService("InsertService"):LoadAsset(21001552) | |
333 | local Ins = nil | |
334 | local r = Instance.new("Part") | |
335 | r.BrickColor = BrickColor.Yellow() | |
336 | r.formFactor = "Custom" | |
337 | r.Size = Vector3.new(0.2,0.2,mag) | |
338 | r.CFrame = cf | |
339 | r.Anchored = true | |
340 | r.CanCollide = false | |
341 | r.Parent = workspace | |
342 | wait(0.3) | |
343 | r:remove() | |
344 | local park = ins:GetChildren() | |
345 | local bark = 0 | |
346 | for bark = 1, #park do | |
347 | if park[bark]:IsA("Tool") then | |
348 | Ins = park[bark] | |
349 | end | |
350 | end | |
351 | local a = i.Parent:children() | |
352 | local b = 0 | |
353 | for b = 1, #a do | |
354 | if (a[b]:IsA("BasePart")) then | |
355 | player=game.Players:findFirstChild(a[b].Parent.Name) | |
356 | if player~=nil then | |
357 | Ins.Parent = player.Backpack | |
358 | end | |
359 | end | |
360 | end | |
361 | end | |
362 | if (func == 7) then | |
363 | game:GetService("Chat"):Chat(p,"Say something to make the target say it.",Enum.ChatColor.Green) | |
364 | local i = mouse.Target | |
365 | local oPos = Vector3.new(0,0,0) | |
366 | if (i == nil) then return end | |
367 | if (i.Anchored) then return end | |
368 | if (i == nil) then return end | |
369 | local cf = CFrame.new((p.Position + mouse.Hit.p) / 2, mouse.Hit.p) | |
370 | local mag = (p.Position - mouse.Hit.p).magnitude | |
371 | if (mag > 2048) then return end | |
372 | local r = Instance.new("Part") | |
373 | r.BrickColor = BrickColor.Yellow() | |
374 | r.formFactor = "Custom" | |
375 | r.Size = Vector3.new(0.2,0.2,mag) | |
376 | r.CFrame = cf | |
377 | r.Anchored = true | |
378 | r.CanCollide = false | |
379 | r.Parent = workspace | |
380 | wait(0.3) | |
381 | r:remove() | |
382 | local a = i.Parent:children() | |
383 | local b = 0 | |
384 | while true do | |
385 | wait() | |
386 | pl.Chatted:connect(function(msge) | |
387 | for b = 1, #a do | |
388 | if (a[b]:IsA("BasePart")) then | |
389 | player=game.Players:findFirstChild(a[b].Parent.Name) | |
390 | if player~=nil then | |
391 | game:GetService("Chat"):Chat(player.Character.Head,msge,Enum.ChatColor.Blue) | |
392 | end | |
393 | end | |
394 | end | |
395 | end) | |
396 | end | |
397 | end | |
398 | ||
399 | end) | |
400 | mouse.Button1Up:connect(function() mouse_left = false end) | |
401 | ||
402 | while true do | |
403 | wait() | |
404 | p.CFrame = c.CoordinateFrame * CFrame.new(0,0,-10) | |
405 | m.Parent = workspace | |
406 | p.Parent = m | |
407 | h.Parent = m | |
408 | fire.Parent = p | |
409 | end | |
410 | end | |
411 | script.Parent.Selected:connect(onS) | |
412 | end |