Advertisement
Destroy666j

Untitled

Jun 24th, 2019
167
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 9.07 KB | None | 0 0
  1. -- This script has been converted to FE by Destroy666j
  2.  
  3.  
  4. if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
  5. local Player,Mouse,mouse,UserInputService,ContextActionService = owner
  6. do
  7. print("FE Compatibility code by Mokiros | Translated to FE by Destroy666j")
  8. script.Parent = Player.Character
  9.  
  10. --RemoteEvent for communicating
  11. local Event = Instance.new("RemoteEvent")
  12. Event.Name = "UserInput_Event"
  13.  
  14. --Fake event to make stuff like Mouse.KeyDown work
  15. local function fakeEvent()
  16. local t = {_fakeEvent=true,Connect=function(self,f)self.Function=f end}
  17. t.connect = t.Connect
  18. return t
  19. end
  20.  
  21. --Creating fake input objects with fake variables
  22. local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()}
  23. local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
  24. local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
  25. CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
  26. end}
  27. --Merged 2 functions into one by checking amount of arguments
  28. CAS.UnbindAction = CAS.BindAction
  29.  
  30. --This function will trigger the events that have been :Connect()'ed
  31. local function te(self,ev,...)
  32. local t = m[ev]
  33. if t and t._fakeEvent and t.Function then
  34. t.Function(...)
  35. end
  36. end
  37. m.TrigEvent = te
  38. UIS.TrigEvent = te
  39.  
  40. Event.OnServerEvent:Connect(function(plr,io)
  41. if plr~=Player then return end
  42. if io.isMouse then
  43. m.Target = io.Target
  44. m.Hit = io.Hit
  45. else
  46. local b = io.UserInputState == Enum.UserInputState.Begin
  47. if io.UserInputType == Enum.UserInputType.MouseButton1 then
  48. return m:TrigEvent(b and "Button1Down" or "Button1Up")
  49. end
  50. for _,t in pairs(CAS.Actions) do
  51. for _,k in pairs(t.Keys) do
  52. if k==io.KeyCode then
  53. t.Function(t.Name,io.UserInputState,io)
  54. end
  55. end
  56. end
  57. m:TrigEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower())
  58. UIS:TrigEvent(b and "InputBegan" or "InputEnded",io,false)
  59. end
  60. end)
  61. Event.Parent = NLS([==[
  62. local Player = local Player = game:GetService("Players").LocalPlayer
  63. local Event = script:WaitForChild("UserInput_Event")
  64.  
  65. local UIS = game:GetService("UserInputService")
  66. local input = function(io,a)
  67. if a then return end
  68. --Since InputObject is a client-side instance, we create and pass table instead
  69. Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState})
  70. end
  71. UIS.InputBegan:Connect(input)
  72. UIS.InputEnded:Connect(input)
  73.  
  74. local Mouse = Player:GetMouse()
  75. local h,t
  76. --Give the server mouse data 30 times every second, but only if the values changed
  77. --If player is not moving their mouse, client won't fire events
  78. while wait(1/30) do
  79. if h~=Mouse.Hit or t~=Mouse.Target then
  80. h,t=Mouse.Hit,Mouse.Target
  81. Event:FireServer({isMouse=true,Target=t,Hit=h})
  82. end
  83. end]==],Player.Character)
  84. Mouse,mouse,UserInputService,ContextActionService = m,m,UIS,CAS
  85. end
  86.  
  87. --[[
  88. /\/\//\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\
  89.  
  90. ||FREE RBX!1!!|| - A Troll Script by Melissa666666girl
  91.  
  92. /\/\//\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\
  93.  
  94. ///Recycled from Sharkringan's Ugandan Knuckles script\\\
  95. \\Litteraly only like 3 lines of code from it, lol kthx//
  96.  
  97. /\/\//\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\
  98. --]]
  99.  
  100. --~~--
  101. Bacons = 25 --CHANGE THE NUMBER TO HOW MANY BACONS YOU WANT! (more than 50 crashes your game..)
  102. --~~--
  103.  
  104. plr = owner
  105. char = plr.Character
  106. root = char:FindFirstChild'HumanoidRootPart'
  107. hum = char:FindFirstChildOfClass'Humanoid'
  108. clones = {}
  109. followplr = false
  110. radius = 50
  111.  
  112.  
  113. plr.NameDisplayDistance = 45
  114. local txt = Instance.new("BillboardGui", char)
  115. txt.Adornee = char .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. txt.MaxDistance = 10
  130.  
  131. v=Instance.new("Part")
  132. v.Name = "ColorBrick"
  133. v.Parent=plr.Character
  134. v.FormFactor="Symmetric"
  135. v.Anchored=true
  136. v.CanCollide=false
  137. v.BottomSurface="Smooth"
  138. v.TopSurface="Smooth"
  139. v.Size=Vector3.new(10,5,3)
  140. v.Transparency=1
  141. v.CFrame=char.Torso.CFrame
  142. v.BrickColor=BrickColor.new("Toothpaste")
  143. v.Transparency=1
  144. text.TextColor3 = Color3.new(1,1,1)
  145. v.Shape="Block"
  146. text.Text = "Bacon Soliders"
  147. char.Humanoid.WalkSpeed = 75
  148.  
  149.  
  150. for _, a in pairs(char:children()) do
  151. if a:IsA'Accessory' then
  152. a:Destroy()
  153. elseif a:IsA'Part' then
  154. a.BrickColor = BrickColor:Random()
  155.  
  156. end
  157. end
  158. if char.Shirt == nil then
  159. Instance.new("Pants", char)
  160. Instance.new("Shirt", char)
  161. end
  162. char.Shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=144076357"
  163. char.Pants.PantsTemplate = "http://www.roblox.com/asset/?id=144076759"
  164.  
  165. local Hair = Instance.new("Part")
  166. Hair.Parent = char
  167. Hair.Name = "Bacon"
  168. Hair.Size = Vector3.new(0.1, 0.1, 0.1)
  169. Hair.CFrame = char.Head.CFrame
  170. Hair:BreakJoints()
  171. Hair.CanCollide = false
  172. Hair.BrickColor = BrickColor.new("New Yeller")
  173. Hair.TopSurface = "Smooth"
  174. Hair.BottomSurface = "Smooth"
  175. Weld = Instance.new("Weld")
  176. Weld.Name = "Weld"
  177. Weld.Part0 = char.Head
  178. Weld.Part1 = Hair
  179. Weld.Parent = char.Head
  180. Weld.C0 = CFrame.new(0, 0.25, -0.2)*CFrame.fromEulerAnglesXYZ(0.1, 0, 0)
  181. Mesh = Instance.new("SpecialMesh")
  182. Mesh.Parent = Hair
  183. Mesh.MeshId = "http://www.roblox.com/asset/?id=83293901"
  184. Mesh.TextureId = "http://www.roblox.com/asset/?id=83284747"
  185. Mesh.Scale = Vector3.new(1, 1.05, 1)
  186. char.Head.face.Texture = "rbxassetid://664468442"
  187.  
  188. num = 1
  189. cooldown = false
  190. rand = math.random(1,2)
  191.  
  192. for i = 1,Bacons do
  193. wait()
  194. char.Archivable = true
  195. numb = math.random(1,3)
  196. clone = char:Clone()
  197. clone.Humanoid.WalkSpeed = 100
  198. clone.Humanoid.Name = "Bacon Soldiers"
  199. --
  200. for _, a in pairs(clone:children()) do
  201. if a:IsA'BillboardGui' then
  202. a:Destroy()
  203. elseif a:IsA'Sound' then
  204. a.Playing = false
  205. end
  206. end
  207. local txt = Instance.new("BillboardGui", clone)
  208. txt.Adornee = clone .Head
  209. txt.Name = "thingy"
  210. txt.Size = UDim2.new(2, 0, 1.2, 0)
  211. txt.StudsOffset = Vector3.new(-1, 2, 0)
  212. local text = Instance.new("TextLabel", txt)
  213. text.Size = UDim2.new(2, 0, 0.6, 0)
  214. text.FontSize = "Size24"
  215. text.TextScaled = true
  216. text.TextTransparency = 0
  217. text.BackgroundTransparency = 1
  218. text.TextTransparency = 0
  219. text.TextStrokeTransparency = 0
  220. text.Font = "Bodoni"
  221. text.TextStrokeColor3 = Color3.new(225, 17, 215)
  222.  
  223. v=Instance.new("Part")
  224. v.Name = "ColorBrick"
  225. v.Parent=clone
  226. v.FormFactor="Symmetric"
  227. v.Anchored=true
  228. v.CanCollide=false
  229. v.BottomSurface="Smooth"
  230. v.TopSurface="Smooth"
  231. v.Size=Vector3.new(10,5,3)
  232. v.Transparency=1
  233. v.CFrame=clone.Torso.CFrame
  234. v.BrickColor=BrickColor.new("Toothpaste")
  235. v.Transparency=1
  236. text.TextColor3 = Color3.new(1,1,1)
  237. v.Shape="Block"
  238. text.Text = "-"
  239. --
  240. local Hair = Instance.new("Part")
  241. Hair.Parent = clone
  242. Hair.Name = "Bacon"
  243. Hair.Size = Vector3.new(0.1, 0.1, 0.1)
  244. Hair.CFrame = clone.Head.CFrame
  245. Hair:BreakJoints()
  246. Hair.CanCollide = false
  247. Hair.BrickColor = BrickColor.new("New Yeller")
  248. Hair.TopSurface = "Smooth"
  249. Hair.BottomSurface = "Smooth"
  250. Weld = Instance.new("Weld")
  251. Weld.Name = "Weld"
  252. Weld.Part0 = clone.Head
  253. Weld.Part1 = Hair
  254. Weld.Parent = clone.Head
  255. Weld.C0 = CFrame.new(0, 0.25, -0.2)*CFrame.fromEulerAnglesXYZ(0.1, 0, 0)
  256. Mesh = Instance.new("SpecialMesh")
  257. Mesh.Parent = Hair
  258. Mesh.MeshId = "http://www.roblox.com/asset/?id=83293901"
  259. Mesh.TextureId = "http://www.roblox.com/asset/?id=83284747"
  260. Mesh.Scale = Vector3.new(1, 1.05, 1)
  261. --
  262. for _, a in pairs(clone:children()) do
  263. if a:IsA'Part' then
  264. a.BrickColor = BrickColor:Random()
  265. end
  266. end
  267. if numb == 1 then
  268. clone.Head.face.Texture = "rbxassetid://1304527161"
  269. text.Text = "BACON RULE THE WORLD"
  270. elseif numb == 2 then
  271. clone.Head.face.Texture = "rbxassetid://987047828"
  272. text.Text = "LOL FREE ROBLOX CASH"
  273. else
  274. clone.Head.face.Texture = "rbxassetid://664468442"
  275. text.Text = "WOWWOW I GOT ROBLOX CASH YAY"
  276. end
  277. table.insert(clones,clone)
  278. end
  279.  
  280. sou = Instance.new("Sound", char.Torso)
  281. sou.SoundId = "rbxassetid://1463709693"
  282. sou.Looped = true
  283. sou.Volume = 2.5
  284. sou.Pitch = 1.4
  285. sou:Play()
  286.  
  287. for _, a in pairs(clones) do
  288. a.Parent = char
  289. a:MoveTo(root.Position + Vector3.new(math.random(1,10),math.random(1,10),math.random(1,10)))
  290. end
  291.  
  292. while wait(0.3) do
  293. number = #clones
  294. position = root.CFrame
  295. protecting = false
  296. if aa == nil then
  297. followplr = true
  298. elseif aa ~= nil then
  299. followplr = false
  300. end
  301. for _, a in pairs(clones) do
  302. if a:FindFirstChildOfClass'Humanoid' and followplr then
  303. a:FindFirstChildOfClass'Humanoid':MoveTo(root.Position + Vector3.new(math.random(-40,40),0,math.random(-40,40)))
  304. end
  305. end
  306. rand = math.random(1,10)
  307. if rand == 5 then
  308. for i = 1,3 do
  309. random = clones[math.random(1,#clones)]
  310. rand = math.random(1,2)
  311. if rand == 1 then
  312. wait()
  313. else
  314. wait()
  315. end
  316. end
  317. end
  318. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement