Advertisement
lafur

Untitled

Oct 9th, 2018
137
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. --https://github.com/Mokiros/roblox-FE-compatibility
  2. if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
  3. local Player,Mouse,mouse,UserInputService,ContextActionService = owner
  4. local RealPlayer = Player
  5. 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 wait(1)
  6. local MASTERNUB = game.Players.LocalPlayer
  7. MASTERNUB.Character.Humanoid.Name = "NOBENOID"
  8. NOBENOID = MASTERNUB.Character.NOBENOID
  9. MASTERNUB.Character.Head.face.Texture = "rbxasset://textures/face.png"
  10. o1 = Instance.new("Tool")
  11. oo1 = Instance.new("Model")
  12. o2 = Instance.new("Humanoid")
  13. o3 = Instance.new("Part")
  14. o4 = Instance.new("Decal")
  15. o5 = Instance.new("SpecialMesh")
  16. o7 = Instance.new("Part")
  17. o8 = Instance.new("SpecialMesh")
  18. o9 = Instance.new("CFrameValue")
  19. o10 = Instance.new("Weld")
  20. o1.Name = "Your Best Friend"
  21. oo1.Parent = o1
  22. oo1.Name = MASTERNUB.Name.."'s best friend"
  23. o1.Parent = MASTERNUB.Backpack
  24. o1.CanBeDropped = false
  25. o1.GripForward = Vector3.new(0.499962211, 0.707160115, 0.499962211)
  26. o1.GripPos = Vector3.new(-0.5, -0.5, 0)
  27. o1.GripRight = Vector3.new(-0.707254946, 0.000209501581, 0.706958592)
  28. o1.GripUp = Vector3.new(-0.499828219, 0.707053363, -0.5002473)
  29. o2.Parent = oo1
  30. o2.MaxHealth = math.huge
  31. o2.Health = math.huge
  32. o3.Name = "Handle"
  33. o3.Parent = o1
  34. o3.BrickColor = BrickColor.new("Bright yellow")
  35. o3.Position = Vector3.new(-93.0547867, 4.14280272, -100.694389)
  36. o3.Rotation = Vector3.new(-108.559998, -42.6399994, -120.019997)
  37. o3.Velocity = Vector3.new(7.01830236e-22, 0, -3.80368625e-21)
  38. o3.CanCollide = false
  39. o3.Size = Vector3.new(1.17999995, 1, 1)
  40. o3.CFrame = CFrame.new(-93.0547867, 4.14280272, -100.694389, -0.368094355, 0.636926115, -0.677370787, -0.0457121842, 0.715243936, 0.697378397, 0.928662777, 0.287665457, -0.234162807)
  41. o3.BottomSurface = Enum.SurfaceType.Smooth
  42. o3.TopSurface = Enum.SurfaceType.Smooth
  43. o3.Color = Color3.new(0.960784, 0.803922, 0.188235)
  44. o3.Position = Vector3.new(-93.0547867, 4.14280272, -100.694389)
  45. o3.Orientation = Vector3.new(-44.2200012, -109.07, -3.66000009)
  46. o3.Color = Color3.new(0.960784, 0.803922, 0.188235)
  47. o4.Name = "Face"
  48. o4.Parent = o3
  49. o4.Texture = "rbxasset://textures/face.png"
  50. o5.Parent = o3
  51. o5.Scale = Vector3.new(1.25, 1.25, 1.25)
  52. o5.Scale = Vector3.new(1.25, 1.25, 1.25)
  53. o7.Name = "Head"
  54. o7.Parent = oo1
  55. o7.BrickColor = BrickColor.new("Bright yellow")
  56. o7.Position = Vector3.new(-93.0547867, 4.14280272, -100.694389)
  57. o7.Rotation = Vector3.new(-108.559998, -42.6399994, -120.019997)
  58. o7.Velocity = Vector3.new(7.01830236e-22, 0, -3.80368625e-21)
  59. o7.Size = Vector3.new(1.17999995, 1, 1)
  60. o7.CFrame = CFrame.new(-93.0547867, 4.14280272, -100.694389, -0.368094981, 0.636926115, -0.677370906, -0.0457119979, 0.715243936, 0.697378397, 0.92866385, 0.287665486, -0.234162524)
  61. o7.BottomSurface = Enum.SurfaceType.Smooth
  62. o7.TopSurface = Enum.SurfaceType.Smooth
  63. o7.Color = Color3.new(0.960784, 0.803922, 0.188235)
  64. o7.Position = Vector3.new(-93.0547867, 4.14280272, -100.694389)
  65. o7.Orientation = Vector3.new(-44.2200012, -109.07, -3.66000009)
  66. o7.Color = Color3.new(0.960784, 0.803922, 0.188235)
  67. o8.Parent = o7
  68. o9.Name = "qRelativeCFrameWeldValue"
  69. o9.Parent = o7
  70. o9.Value = CFrame.new(0, 0, 0, 0.999998808, -4.75971227e-08, -2.98023025e-07, -4.75971227e-08, 1, 2.69452638e-09, -2.98023025e-07, 2.69452638e-09, 1)
  71. o10.Name = "qCFrameWeldThingy"
  72. o10.Parent = o7
  73. o10.C1 = CFrame.new(0, 0, 0, 0.999998808, -4.75971227e-08, -2.98023025e-07, -4.75971227e-08, 1, 2.69452638e-09, -2.98023025e-07, 2.69452638e-09, 1)
  74. o10.Part0 = o3
  75. o10.Part1 = o7
  76. Henlo = Instance.new("Sound")
  77. Henlo.Parent = o7
  78. Henlo.SoundId = "rbxassetid://674032483"
  79. UH = Instance.new("Sound")
  80. UH.Parent = o7
  81. UH.SoundId = "http://www.roblox.com/asset/?id=12222242"
  82. UH.Volume = 5
  83. wait()
  84. --
  85. debounce = false
  86. --
  87. script.Parent = o1
  88. tool = script.Parent
  89. tool.ToolTip = "Noobie Mc Roobie is a guy that got decapitated and you found him on a dumpster. You and him became friends and lived adventures. Remember, he does not like when he is hit!"
  90. pcall(function()
  91. for i, v in pairs(MASTERNUB.Character:children()) do
  92. if v:IsA("Accessory")then v:remove() end
  93. if v:IsA("ShirtGraphic") then v:remove() end
  94. if v:IsA("Pants") then v:remove() end
  95. if v:IsA("Shirt") then v:remove() end
  96. if v:IsA("CharacterMesh") then v:remove() end
  97. end
  98. end)
  99. wait(1)
  100. MASTERNUB.Character["Body Colors"].HeadColor = BrickColor.new("Bright yellow")
  101. MASTERNUB.Character["Body Colors"].LeftArmColor = BrickColor.new("Bright yellow")
  102. MASTERNUB.Character["Body Colors"].RightArmColor = BrickColor.new("Bright yellow")
  103. MASTERNUB.Character["Body Colors"].LeftLegColor = BrickColor.new("Br. yellowish green")
  104. MASTERNUB.Character["Body Colors"].RightLegColor = BrickColor.new("Br. yellowish green")
  105. MASTERNUB.Character["Body Colors"].TorsoColor = BrickColor.new("Bright blue")
  106. HELT = NOBENOID.Health
  107.  
  108. tool.Equipped:connect(function()
  109. Henlo:Play()
  110. local HENLO = "Hello!"
  111. game:GetService("Chat"):Chat(o7, HENLO, Enum.ChatColor.Green)
  112. debounce = true
  113. wait(.5)
  114. debounce = false
  115. end)
  116.  
  117. o7.Touched:connect(function()
  118. if debounce == false then
  119. UH:Play()
  120. debounce = true
  121. o4.Texture = "http://www.roblox.com/asset/?id=7918793"
  122. local OU = "Ow!"
  123. game:GetService("Chat"):Chat(o7, OU, Enum.ChatColor.Red)
  124. NOBENOID:TakeDamage(10)
  125. MASTERNUB.Character.Head.face.Texture = "http://www.roblox.com/asset/?id=7918793"
  126. if
  127. NOBENOID.Health<50
  128. then
  129. pcall(function()
  130. for i, v in pairs(MASTERNUB.Character.Head:children()) do
  131. if v:IsA("Decal") and v.Name == "BLUD" then v:remove() end
  132. end
  133. end)
  134. wait()
  135. local AHH = Instance.new("Decal")
  136. AHH.Parent = MASTERNUB.Character.Head
  137. AHH.Texture = "http://www.roblox.com/asset/?id=785035165"
  138. local AHHH = Instance.new("Decal")
  139. AHHH.Parent = o7
  140. AHHH.Texture = "http://www.roblox.com/asset/?id=785035165"
  141. local AHHHH = Instance.new("Decal")
  142. AHHH.Parent = o3
  143. AHHH.Texture = "http://www.roblox.com/asset/?id=785035165"
  144. AHH.Name = "BLUD"
  145. AHHH.Name = "BLUD"
  146. AHHHH.Name = "BLUD"
  147. pcall(function()
  148. for i, v in pairs(MASTERNUB.Character.Head:children()) do
  149. if v:IsA("Decal") and v.Name == "DAMAGD" then v:remove() end
  150. end
  151. end)
  152. pcall(function()
  153. for i, v in pairs(o7:children()) do
  154. if v:IsA("Decal") and v.Name == "DAMAGD" then v:remove() end
  155. end
  156. end)
  157. pcall(function()
  158. for i, v in pairs(o3:children()) do
  159. if v:IsA("Decal") and v.Name == "DAMAGD" then v:remove() end
  160. end
  161. end)
  162. elseif
  163. NOBENOID.Health>50 and NOBENOID.Health<75
  164. then
  165. local AHH = Instance.new("Decal")
  166. AHH.Parent = MASTERNUB.Character.Head
  167. AHH.Texture = "http://www.roblox.com/asset/?id=78184370"
  168. local AHHH = Instance.new("Decal")
  169. AHHH.Parent = o7
  170. AHHH.Texture = "http://www.roblox.com/asset/?id=78184370"
  171. local AHHHH = Instance.new("Decal")
  172. AHHH.Parent = o3
  173. AHHH.Texture = "http://www.roblox.com/asset/?id=78184370"
  174. AHH.Name = "DAMAGD"
  175. AHHH.Name = "DAMAGD"
  176. AHHHH.Name = "DAMAGD"
  177. end
  178. wait(1)
  179. debounce = false
  180. o4.Texture = "rbxasset://textures/face.png"
  181. MASTERNUB.Character.Head.face.Texture = "rbxasset://textures/face.png"
  182. end
  183. end)
  184.  
  185.  
  186. while true do
  187. wait()
  188. if NOBENOID.Health == 100 or NOBENOID.Health>75 or NOBENOID.Health>100
  189. then
  190. pcall(function()
  191. for i, v in pairs(MASTERNUB.Character.Head:children()) do
  192. if v:IsA("Decal") and v.Name == "DAMAGD" then v:remove() end
  193. end
  194. end)
  195. pcall(function()
  196. for i, v in pairs(o7:children()) do
  197. if v:IsA("Decal") and v.Name == "DAMAGD" then v:remove() end
  198. end
  199. end)
  200. pcall(function()
  201. for i, v in pairs(o3:children()) do
  202. if v:IsA("Decal") and v.Name == "DAMAGD" then v:remove() end
  203. end
  204. end)
  205. end
  206. if NOBENOID.Health == 100 or NOBENOID.Health>75 or NOBENOID.Health>100
  207. then
  208. pcall(function()
  209. for i, v in pairs(MASTERNUB.Character.Head:children()) do
  210. if v:IsA("Decal") and v.Name == "BLUD" then v:remove() end
  211. end
  212. end)
  213. pcall(function()
  214. for i, v in pairs(o7:children()) do
  215. if v:IsA("Decal") and v.Name == "BLUD" then v:remove() end
  216. end
  217. end)
  218. pcall(function()
  219. for i, v in pairs(o3:children()) do
  220. if v:IsA("Decal") and v.Name == "BLUD" then v:remove() end
  221. end
  222. end)
  223. end
  224. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement