Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --https://github.com/Mokiros/roblox-FE-compatibility
- if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
- local Player,Mouse,mouse,UserInputService,ContextActionService = owner
- local RealPlayer = Player
- 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)
- local MASTERNUB = game.Players.LocalPlayer
- MASTERNUB.Character.Humanoid.Name = "NOBENOID"
- NOBENOID = MASTERNUB.Character.NOBENOID
- MASTERNUB.Character.Head.face.Texture = "rbxasset://textures/face.png"
- o1 = Instance.new("Tool")
- oo1 = Instance.new("Model")
- o2 = Instance.new("Humanoid")
- o3 = Instance.new("Part")
- o4 = Instance.new("Decal")
- o5 = Instance.new("SpecialMesh")
- o7 = Instance.new("Part")
- o8 = Instance.new("SpecialMesh")
- o9 = Instance.new("CFrameValue")
- o10 = Instance.new("Weld")
- o1.Name = "Your Best Friend"
- oo1.Parent = o1
- oo1.Name = MASTERNUB.Name.."'s best friend"
- o1.Parent = MASTERNUB.Backpack
- o1.CanBeDropped = false
- o1.GripForward = Vector3.new(0.499962211, 0.707160115, 0.499962211)
- o1.GripPos = Vector3.new(-0.5, -0.5, 0)
- o1.GripRight = Vector3.new(-0.707254946, 0.000209501581, 0.706958592)
- o1.GripUp = Vector3.new(-0.499828219, 0.707053363, -0.5002473)
- o2.Parent = oo1
- o2.MaxHealth = math.huge
- o2.Health = math.huge
- o3.Name = "Handle"
- o3.Parent = o1
- o3.BrickColor = BrickColor.new("Bright yellow")
- o3.Position = Vector3.new(-93.0547867, 4.14280272, -100.694389)
- o3.Rotation = Vector3.new(-108.559998, -42.6399994, -120.019997)
- o3.Velocity = Vector3.new(7.01830236e-22, 0, -3.80368625e-21)
- o3.CanCollide = false
- o3.Size = Vector3.new(1.17999995, 1, 1)
- 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)
- o3.BottomSurface = Enum.SurfaceType.Smooth
- o3.TopSurface = Enum.SurfaceType.Smooth
- o3.Color = Color3.new(0.960784, 0.803922, 0.188235)
- o3.Position = Vector3.new(-93.0547867, 4.14280272, -100.694389)
- o3.Orientation = Vector3.new(-44.2200012, -109.07, -3.66000009)
- o3.Color = Color3.new(0.960784, 0.803922, 0.188235)
- o4.Name = "Face"
- o4.Parent = o3
- o4.Texture = "rbxasset://textures/face.png"
- o5.Parent = o3
- o5.Scale = Vector3.new(1.25, 1.25, 1.25)
- o5.Scale = Vector3.new(1.25, 1.25, 1.25)
- o7.Name = "Head"
- o7.Parent = oo1
- o7.BrickColor = BrickColor.new("Bright yellow")
- o7.Position = Vector3.new(-93.0547867, 4.14280272, -100.694389)
- o7.Rotation = Vector3.new(-108.559998, -42.6399994, -120.019997)
- o7.Velocity = Vector3.new(7.01830236e-22, 0, -3.80368625e-21)
- o7.Size = Vector3.new(1.17999995, 1, 1)
- 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)
- o7.BottomSurface = Enum.SurfaceType.Smooth
- o7.TopSurface = Enum.SurfaceType.Smooth
- o7.Color = Color3.new(0.960784, 0.803922, 0.188235)
- o7.Position = Vector3.new(-93.0547867, 4.14280272, -100.694389)
- o7.Orientation = Vector3.new(-44.2200012, -109.07, -3.66000009)
- o7.Color = Color3.new(0.960784, 0.803922, 0.188235)
- o8.Parent = o7
- o9.Name = "qRelativeCFrameWeldValue"
- o9.Parent = o7
- 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)
- o10.Name = "qCFrameWeldThingy"
- o10.Parent = o7
- 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)
- o10.Part0 = o3
- o10.Part1 = o7
- Henlo = Instance.new("Sound")
- Henlo.Parent = o7
- Henlo.SoundId = "rbxassetid://674032483"
- UH = Instance.new("Sound")
- UH.Parent = o7
- UH.SoundId = "http://www.roblox.com/asset/?id=12222242"
- UH.Volume = 5
- wait()
- --
- debounce = false
- --
- script.Parent = o1
- tool = script.Parent
- 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!"
- pcall(function()
- for i, v in pairs(MASTERNUB.Character:children()) do
- if v:IsA("Accessory")then v:remove() end
- if v:IsA("ShirtGraphic") then v:remove() end
- if v:IsA("Pants") then v:remove() end
- if v:IsA("Shirt") then v:remove() end
- if v:IsA("CharacterMesh") then v:remove() end
- end
- end)
- wait(1)
- MASTERNUB.Character["Body Colors"].HeadColor = BrickColor.new("Bright yellow")
- MASTERNUB.Character["Body Colors"].LeftArmColor = BrickColor.new("Bright yellow")
- MASTERNUB.Character["Body Colors"].RightArmColor = BrickColor.new("Bright yellow")
- MASTERNUB.Character["Body Colors"].LeftLegColor = BrickColor.new("Br. yellowish green")
- MASTERNUB.Character["Body Colors"].RightLegColor = BrickColor.new("Br. yellowish green")
- MASTERNUB.Character["Body Colors"].TorsoColor = BrickColor.new("Bright blue")
- HELT = NOBENOID.Health
- tool.Equipped:connect(function()
- Henlo:Play()
- local HENLO = "Hello!"
- game:GetService("Chat"):Chat(o7, HENLO, Enum.ChatColor.Green)
- debounce = true
- wait(.5)
- debounce = false
- end)
- o7.Touched:connect(function()
- if debounce == false then
- UH:Play()
- debounce = true
- o4.Texture = "http://www.roblox.com/asset/?id=7918793"
- local OU = "Ow!"
- game:GetService("Chat"):Chat(o7, OU, Enum.ChatColor.Red)
- NOBENOID:TakeDamage(10)
- MASTERNUB.Character.Head.face.Texture = "http://www.roblox.com/asset/?id=7918793"
- if
- NOBENOID.Health<50
- then
- pcall(function()
- for i, v in pairs(MASTERNUB.Character.Head:children()) do
- if v:IsA("Decal") and v.Name == "BLUD" then v:remove() end
- end
- end)
- wait()
- local AHH = Instance.new("Decal")
- AHH.Parent = MASTERNUB.Character.Head
- AHH.Texture = "http://www.roblox.com/asset/?id=785035165"
- local AHHH = Instance.new("Decal")
- AHHH.Parent = o7
- AHHH.Texture = "http://www.roblox.com/asset/?id=785035165"
- local AHHHH = Instance.new("Decal")
- AHHH.Parent = o3
- AHHH.Texture = "http://www.roblox.com/asset/?id=785035165"
- AHH.Name = "BLUD"
- AHHH.Name = "BLUD"
- AHHHH.Name = "BLUD"
- pcall(function()
- for i, v in pairs(MASTERNUB.Character.Head:children()) do
- if v:IsA("Decal") and v.Name == "DAMAGD" then v:remove() end
- end
- end)
- pcall(function()
- for i, v in pairs(o7:children()) do
- if v:IsA("Decal") and v.Name == "DAMAGD" then v:remove() end
- end
- end)
- pcall(function()
- for i, v in pairs(o3:children()) do
- if v:IsA("Decal") and v.Name == "DAMAGD" then v:remove() end
- end
- end)
- elseif
- NOBENOID.Health>50 and NOBENOID.Health<75
- then
- local AHH = Instance.new("Decal")
- AHH.Parent = MASTERNUB.Character.Head
- AHH.Texture = "http://www.roblox.com/asset/?id=78184370"
- local AHHH = Instance.new("Decal")
- AHHH.Parent = o7
- AHHH.Texture = "http://www.roblox.com/asset/?id=78184370"
- local AHHHH = Instance.new("Decal")
- AHHH.Parent = o3
- AHHH.Texture = "http://www.roblox.com/asset/?id=78184370"
- AHH.Name = "DAMAGD"
- AHHH.Name = "DAMAGD"
- AHHHH.Name = "DAMAGD"
- end
- wait(1)
- debounce = false
- o4.Texture = "rbxasset://textures/face.png"
- MASTERNUB.Character.Head.face.Texture = "rbxasset://textures/face.png"
- end
- end)
- while true do
- wait()
- if NOBENOID.Health == 100 or NOBENOID.Health>75 or NOBENOID.Health>100
- then
- pcall(function()
- for i, v in pairs(MASTERNUB.Character.Head:children()) do
- if v:IsA("Decal") and v.Name == "DAMAGD" then v:remove() end
- end
- end)
- pcall(function()
- for i, v in pairs(o7:children()) do
- if v:IsA("Decal") and v.Name == "DAMAGD" then v:remove() end
- end
- end)
- pcall(function()
- for i, v in pairs(o3:children()) do
- if v:IsA("Decal") and v.Name == "DAMAGD" then v:remove() end
- end
- end)
- end
- if NOBENOID.Health == 100 or NOBENOID.Health>75 or NOBENOID.Health>100
- then
- pcall(function()
- for i, v in pairs(MASTERNUB.Character.Head:children()) do
- if v:IsA("Decal") and v.Name == "BLUD" then v:remove() end
- end
- end)
- pcall(function()
- for i, v in pairs(o7:children()) do
- if v:IsA("Decal") and v.Name == "BLUD" then v:remove() end
- end
- end)
- pcall(function()
- for i, v in pairs(o3:children()) do
- if v:IsA("Decal") and v.Name == "BLUD" then v:remove() end
- end
- end)
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement