SHOW:
|
|
- or go back to the newest paste.
1 | - | --[[ |
1 | + | |
2 | - | /\/\//\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\ |
2 | + | --https://github.com/Mokiros/roblox-FE-compatibility |
3 | if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end | |
4 | - | ||FREE RBX!1!!|| - A Troll Script by Melissa666666girl |
4 | + | local Player,Mouse,mouse,UserInputService,ContextActionService = owner |
5 | local RealPlayer = Player | |
6 | - | /\/\//\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\ |
6 | + | do print("FE Compatibility code by Mokiros")local a=RealPlayer;script.Parent=a.Character;local b=Instance.new("RemoteEvent")b.Name="UserInput_Event"local function c()local d={_fakeEvent=true,Functions={},Connect=function(self,e)table.insert(self.Functions,e)end}d.connect=d.Connect;return d end;local f={Target=nil,Hit=CFrame.new(),KeyUp=c(),KeyDown=c(),Button1Up=c(),Button1Down=c(),Button2Up=c(),Button2Down=c()}local g={InputBegan=c(),InputEnded=c()}local CAS={Actions={},BindAction=function(self,h,i,j,...)CAS.Actions[h]=i and{Name=h,Function=i,Keys={...}}or nil end}CAS.UnbindAction=CAS.BindAction;local function k(self,l,...)local d=f[l]if d and d._fakeEvent then for m,e in pairs(d.Functions)do e(...)end end end;f.TrigEvent=k;g.TrigEvent=k;b.OnServerEvent:Connect(function(n,o)if n~=a then return end;f.Target=o.Target;f.Hit=o.Hit;if not o.isMouse then local p=o.UserInputState==Enum.UserInputState.Begin;if o.UserInputType==Enum.UserInputType.MouseButton1 then return f:TrigEvent(p and"Button1Down"or"Button1Up")end;if o.UserInputType==Enum.UserInputType.MouseButton2 then return f:TrigEvent(p and"Button2Down"or"Button2Up")end;for m,d in pairs(CAS.Actions)do for m,q in pairs(d.Keys)do if q==o.KeyCode then d.Function(d.Name,o.UserInputState,o)end end end;f:TrigEvent(p and"KeyDown"or"KeyUp",o.KeyCode.Name:lower())g:TrigEvent(p and"InputBegan"or"InputEnded",o,false)end end)b.Parent=NLS([==[local a=game:GetService("Players").LocalPlayer;local b=script:WaitForChild("UserInput_Event")local c=a:GetMouse()local d=game:GetService("UserInputService")local e=function(f,g)if g then return end;b:FireServer({KeyCode=f.KeyCode,UserInputType=f.UserInputType,UserInputState=f.UserInputState,Hit=c.Hit,Target=c.Target})end;d.InputBegan:Connect(e)d.InputEnded:Connect(e)local h,i;while wait(1/30)do if h~=c.Hit or i~=c.Target then h,i=c.Hit,c.Target;b:FireServer({isMouse=true,Target=i,Hit=h})end end]==],Player.Character)local r=game;local s={__index=function(self,q)local t=rawget(self,"_RealService")if t then return typeof(t[q])=="function"and function(m,...)return t[q](t,...)end or t[q]end end,__newindex=function(self,q,u)local t=rawget(self,"_RealService")if t then t[q]=u end end}local function v(d,w)d._RealService=typeof(w)=="string"and r:GetService(w)or w;return setmetatable(d,s)end;local x={GetService=function(self,t)return rawget(self,t)or r:GetService(t)end,Players=v({LocalPlayer=v({GetMouse=function(self)return f end},Player)},"Players"),UserInputService=v(g,"UserInputService"),ContextActionService=v(CAS,"ContextActionService"),RunService=v({_btrs={},RenderStepped=r:GetService("RunService").Heartbeat,BindToRenderStep=function(self,h,m,i)self._btrs[h]=self.Heartbeat:Connect(i)end,UnbindFromRenderStep=function(self,h)self._btrs[h]:Disconnect()end},"RunService")}rawset(x.Players,"localPlayer",x.Players.LocalPlayer)x.service=x.GetService;v(x,game)game,owner=x,x.Players.LocalPlayer end |
7 | ||
8 | - | ///Recycled from Sharkringan's Ugandan Knuckles script\\\ |
8 | + | Bacons = 50 --CHANGE THE NUMBER TO HOW MANY BACONS YOU WANT! (more than 50 crashes your game..) |
9 | - | \\Litteraly only like 3 lines of code from it, lol kthx// |
9 | + | |
10 | plr = game:service'Players'.LocalPlayer | |
11 | - | /\/\//\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\ |
11 | + | |
12 | root = char:FindFirstChild'HumanoidRootPart' | |
13 | hum = char:FindFirstChildOfClass'Humanoid' | |
14 | - | --~~-- |
14 | + | |
15 | - | Bacons = 25 --CHANGE THE NUMBER TO HOW MANY BACONS YOU WANT! (more than 50 crashes your game..) |
15 | + | |
16 | - | --~~-- |
16 | + | |
17 | radius = 50 | |
18 | ||
19 | ||
20 | plr.NameDisplayDistance = 45 | |
21 | local txt = Instance.new("BillboardGui", char) | |
22 | txt.Adornee = char .Head | |
23 | txt.Name = "thingy" | |
24 | txt.Size = UDim2.new(2, 0, 1.2, 0) | |
25 | txt.StudsOffset = Vector3.new(-1, 2, 0) | |
26 | local text = Instance.new("TextLabel", txt) | |
27 | text.Size = UDim2.new(2, 0, 0.6, 0) | |
28 | text.FontSize = "Size24" | |
29 | text.TextScaled = true | |
30 | text.TextTransparency = 0 | |
31 | text.BackgroundTransparency = 1 | |
32 | text.TextTransparency = 0 | |
33 | text.TextStrokeTransparency = 0 | |
34 | text.Font = "Bodoni" | |
35 | text.TextStrokeColor3 = Color3.new(225, 17, 215) | |
36 | txt.MaxDistance = 10 | |
37 | ||
38 | v=Instance.new("Part") | |
39 | v.Name = "ColorBrick" | |
40 | v.Parent=plr.Character | |
41 | v.FormFactor="Symmetric" | |
42 | v.Anchored=true | |
43 | v.CanCollide=false | |
44 | v.BottomSurface="Smooth" | |
45 | v.TopSurface="Smooth" | |
46 | v.Size=Vector3.new(10,5,3) | |
47 | v.Transparency=1 | |
48 | v.CFrame=char.Torso.CFrame | |
49 | v.BrickColor=BrickColor.new("Toothpaste") | |
50 | v.Transparency=1 | |
51 | text.TextColor3 = Color3.new(1,1,1) | |
52 | v.Shape="Block" | |
53 | text.Text = "Bacon Soliders" | |
54 | char.Humanoid.WalkSpeed = 75 | |
55 | ||
56 | ||
57 | for _, a in pairs(char:children()) do | |
58 | if a:IsA'Accessory' then | |
59 | a:Destroy() | |
60 | elseif a:IsA'Part' then | |
61 | a.BrickColor = BrickColor:Random() | |
62 | ||
63 | end | |
64 | end | |
65 | if char.Shirt == nil then | |
66 | Instance.new("Pants", char) | |
67 | Instance.new("Shirt", char) | |
68 | end | |
69 | char.Shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=144076357" | |
70 | char.Pants.PantsTemplate = "http://www.roblox.com/asset/?id=144076759" | |
71 | ||
72 | local Hair = Instance.new("Part") | |
73 | Hair.Parent = char | |
74 | Hair.Name = "Bacon" | |
75 | Hair.Size = Vector3.new(0.1, 0.1, 0.1) | |
76 | Hair.CFrame = char.Head.CFrame | |
77 | Hair:BreakJoints() | |
78 | Hair.CanCollide = false | |
79 | Hair.BrickColor = BrickColor.new("New Yeller") | |
80 | Hair.TopSurface = "Smooth" | |
81 | Hair.BottomSurface = "Smooth" | |
82 | Weld = Instance.new("Weld") | |
83 | Weld.Name = "Weld" | |
84 | Weld.Part0 = char.Head | |
85 | Weld.Part1 = Hair | |
86 | Weld.Parent = char.Head | |
87 | Weld.C0 = CFrame.new(0, 0.25, -0.2)*CFrame.fromEulerAnglesXYZ(0.1, 0, 0) | |
88 | Mesh = Instance.new("SpecialMesh") | |
89 | Mesh.Parent = Hair | |
90 | Mesh.MeshId = "http://www.roblox.com/asset/?id=83293901" | |
91 | Mesh.TextureId = "http://www.roblox.com/asset/?id=83284747" | |
92 | Mesh.Scale = Vector3.new(1, 1.05, 1) | |
93 | char.Head.face.Texture = "rbxassetid://664468442" | |
94 | ||
95 | num = 1 | |
96 | cooldown = false | |
97 | rand = math.random(1,2) | |
98 | ||
99 | for i = 1,Bacons do | |
100 | wait() | |
101 | char.Archivable = true | |
102 | numb = math.random(1,3) | |
103 | clone = char:Clone() | |
104 | clone.Humanoid.WalkSpeed = 100 | |
105 | clone.Humanoid.Name = "Bacon Soldiers" | |
106 | -- | |
107 | for _, a in pairs(clone:children()) do | |
108 | if a:IsA'BillboardGui' then | |
109 | a:Destroy() | |
110 | elseif a:IsA'Sound' then | |
111 | a.Playing = false | |
112 | end | |
113 | end | |
114 | local txt = Instance.new("BillboardGui", clone) | |
115 | txt.Adornee = clone .Head | |
116 | txt.Name = "thingy" | |
117 | txt.Size = UDim2.new(2, 0, 1.2, 0) | |
118 | txt.StudsOffset = Vector3.new(-1, 2, 0) | |
119 | local text = Instance.new("TextLabel", txt) | |
120 | text.Size = UDim2.new(2, 0, 0.6, 0) | |
121 | text.FontSize = "Size24" | |
122 | text.TextScaled = true | |
123 | text.TextTransparency = 0 | |
124 | text.BackgroundTransparency = 1 | |
125 | text.TextTransparency = 0 | |
126 | text.TextStrokeTransparency = 0 | |
127 | text.Font = "Bodoni" | |
128 | text.TextStrokeColor3 = Color3.new(225, 17, 215) | |
129 | ||
130 | v=Instance.new("Part") | |
131 | v.Name = "ColorBrick" | |
132 | v.Parent=clone | |
133 | v.FormFactor="Symmetric" | |
134 | v.Anchored=true | |
135 | v.CanCollide=false | |
136 | v.BottomSurface="Smooth" | |
137 | v.TopSurface="Smooth" | |
138 | v.Size=Vector3.new(10,5,3) | |
139 | v.Transparency=1 | |
140 | v.CFrame=clone.Torso.CFrame | |
141 | v.BrickColor=BrickColor.new("Toothpaste") | |
142 | v.Transparency=1 | |
143 | text.TextColor3 = Color3.new(1,1,1) | |
144 | v.Shape="Block" | |
145 | text.Text = "-" | |
146 | -- | |
147 | local Hair = Instance.new("Part") | |
148 | Hair.Parent = clone | |
149 | Hair.Name = "Bacon" | |
150 | Hair.Size = Vector3.new(0.1, 0.1, 0.1) | |
151 | Hair.CFrame = clone.Head.CFrame | |
152 | Hair:BreakJoints() | |
153 | Hair.CanCollide = false | |
154 | Hair.BrickColor = BrickColor.new("New Yeller") | |
155 | Hair.TopSurface = "Smooth" | |
156 | Hair.BottomSurface = "Smooth" | |
157 | Weld = Instance.new("Weld") | |
158 | Weld.Name = "Weld" | |
159 | Weld.Part0 = clone.Head | |
160 | Weld.Part1 = Hair | |
161 | Weld.Parent = clone.Head | |
162 | Weld.C0 = CFrame.new(0, 0.25, -0.2)*CFrame.fromEulerAnglesXYZ(0.1, 0, 0) | |
163 | Mesh = Instance.new("SpecialMesh") | |
164 | Mesh.Parent = Hair | |
165 | Mesh.MeshId = "http://www.roblox.com/asset/?id=83293901" | |
166 | Mesh.TextureId = "http://www.roblox.com/asset/?id=83284747" | |
167 | Mesh.Scale = Vector3.new(1, 1.05, 1) | |
168 | -- | |
169 | for _, a in pairs(clone:children()) do | |
170 | if a:IsA'Part' then | |
171 | a.BrickColor = BrickColor:Random() | |
172 | end | |
173 | end | |
174 | if numb == 1 then | |
175 | clone.Head.face.Texture = "rbxassetid://1304527161" | |
176 | text.Text = "BACON RULE THE WORLD" | |
177 | elseif numb == 2 then | |
178 | clone.Head.face.Texture = "rbxassetid://987047828" | |
179 | text.Text = "LOL FREE ROBLOX CASH" | |
180 | else | |
181 | clone.Head.face.Texture = "rbxassetid://664468442" | |
182 | text.Text = "WOWWOW I GOT ROBLOX CASH YAY" | |
183 | end | |
184 | table.insert(clones,clone) | |
185 | end | |
186 | ||
187 | sou = Instance.new("Sound", char.Torso) | |
188 | sou.SoundId = "rbxassetid://1463709693" | |
189 | sou.Looped = true | |
190 | sou.Volume = 2.5 | |
191 | sou.Pitch = 1.4 | |
192 | sou:Play() | |
193 | ||
194 | for _, a in pairs(clones) do | |
195 | a.Parent = char | |
196 | a:MoveTo(root.Position + Vector3.new(math.random(1,10),math.random(1,10),math.random(1,10))) | |
197 | end | |
198 | ||
199 | while wait(0.3) do | |
200 | number = #clones | |
201 | position = root.CFrame | |
202 | protecting = false | |
203 | if aa == nil then | |
204 | followplr = true | |
205 | elseif aa ~= nil then | |
206 | followplr = false | |
207 | end | |
208 | for _, a in pairs(clones) do | |
209 | if a:FindFirstChildOfClass'Humanoid' and followplr then | |
210 | a:FindFirstChildOfClass'Humanoid':MoveTo(root.Position + Vector3.new(math.random(-40,40),0,math.random(-40,40))) | |
211 | end | |
212 | end | |
213 | rand = math.random(1,10) | |
214 | if rand == 5 then | |
215 | for i = 1,3 do | |
216 | random = clones[math.random(1,#clones)] | |
217 | rand = math.random(1,2) | |
218 | if rand == 1 then | |
219 | wait() | |
220 | else | |
221 | wait() | |
222 | end | |
223 | end | |
224 | end | |
225 | end |