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
- --Go to line 216 to put id of song
- o1 = Instance.new("Model")
- o1.Name = "Vest"
- o2 = Instance.new("Part")
- o2.Name = "Middle"
- o2.Parent = o1
- o2.BrickColor = BrickColor.new("Brick yellow")
- o2.Transparency = 1
- o2.Position = Vector3.new(0.139906004, 1.05800402, -11.1099901)
- o2.Anchored = true
- o2.CFrame = CFrame.new(0.139906004, 1.05800402, -11.1099901, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- o2.CanCollide = false
- o2.FormFactor = Enum.FormFactor.Symmetric
- o2.Size = Vector3.new(2, 2, 1)
- o2.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- o2.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- o2.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- o2.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- o2.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- o2.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- o2.Color = Color3.new(0.843137, 0.772549, 0.603922)
- o3 = Instance.new("Part")
- o3.Name = "Pack"
- o3.Parent = o1
- o3.BrickColor = BrickColor.new("Dark stone grey")
- o3.Position = Vector3.new(0.139907002, 1.07000601, -10.3049936)
- o3.Rotation = Vector3.new(-180, 0, -180)
- o3.Anchored = true
- o3.CFrame = CFrame.new(0.139907002, 1.07000601, -10.3049936, -1, 0, 0, 0, 1, 0, 0, 0, -1)
- o3.CanCollide = false
- o3.FormFactor = Enum.FormFactor.Custom
- o3.Size = Vector3.new(1.65999985, 1.80000019, 0.630000472)
- o3.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- o3.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- o3.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- o3.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- o3.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- o3.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- o3.Color = Color3.new(0.388235, 0.372549, 0.384314)
- o4 = Instance.new("Part")
- o4.Name = "Strap"
- o4.Parent = o1
- o4.BrickColor = BrickColor.new("Black")
- o4.Position = Vector3.new(0.66991502, 1.05500698, -11.1149797)
- o4.Anchored = true
- o4.CFrame = CFrame.new(0.66991502, 1.05500698, -11.1149797, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- o4.CanCollide = false
- o4.FormFactor = Enum.FormFactor.Custom
- o4.Size = Vector3.new(0.259999752, 2.11000037, 1.15000045)
- o4.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- o4.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- o4.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- o4.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- o4.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- o4.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- o4.Color = Color3.new(0.105882, 0.164706, 0.207843)
- o5 = Instance.new("Part")
- o5.Name = "Flap"
- o5.Parent = o1
- o5.BrickColor = BrickColor.new("Black")
- o5.Position = Vector3.new(0.139905006, 1.85000098, -10.2900219)
- o5.Anchored = true
- o5.CFrame = CFrame.new(0.139905006, 1.85000098, -10.2900219, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- o5.CanCollide = false
- o5.FormFactor = Enum.FormFactor.Custom
- o5.Size = Vector3.new(1.71999979, 0.400000006, 0.639999866)
- o5.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- o5.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- o5.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- o5.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- o5.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- o5.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- o5.Color = Color3.new(0.105882, 0.164706, 0.207843)
- o6 = Instance.new("Part")
- o6.Name = "Pocket"
- o6.Parent = o1
- o6.BrickColor = BrickColor.new("Black")
- o6.Position = Vector3.new(0.149883002, 0.860005975, -10.0399857)
- o6.Rotation = Vector3.new(-0, 0, -90)
- o6.Anchored = true
- o6.CFrame = CFrame.new(0.149883002, 0.860005975, -10.0399857, 0, 1, 0, -1, 0, 0, 0, 0, 1)
- o6.CanCollide = false
- o6.FormFactor = Enum.FormFactor.Custom
- o6.Size = Vector3.new(0.600000024, 0.800000131, 0.200000003)
- o6.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- o6.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- o6.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- o6.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- o6.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- o6.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- o6.Color = Color3.new(0.105882, 0.164706, 0.207843)
- o7 = Instance.new("Part")
- o7.Name = "Pocket"
- o7.Parent = o1
- o7.BrickColor = BrickColor.new("Black")
- o7.Position = Vector3.new(0.139600992, 1.10000801, -10.3099718)
- o7.Rotation = Vector3.new(-90, 90, 0)
- o7.Anchored = true
- o7.CFrame = CFrame.new(0.139600992, 1.10000801, -10.3099718, 0, 0, 1, -1, 0, 0, 0, -1, 0)
- o7.CanCollide = false
- o7.FormFactor = Enum.FormFactor.Custom
- o7.Size = Vector3.new(0.600000024, 0.400000155, 1.70000005)
- o7.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- o7.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- o7.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- o7.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- o7.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- o7.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- o7.Color = Color3.new(0.105882, 0.164706, 0.207843)
- o8 = Instance.new("Part")
- o8.Name = "Strap"
- o8.Parent = o1
- o8.BrickColor = BrickColor.new("Black")
- o8.Position = Vector3.new(-0.37014699, 1.05500698, -11.1149921)
- o8.Anchored = true
- o8.CFrame = CFrame.new(-0.37014699, 1.05500698, -11.1149921, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- o8.CanCollide = false
- o8.FormFactor = Enum.FormFactor.Custom
- o8.Size = Vector3.new(0.259999752, 2.11000037, 1.15000045)
- o8.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- o8.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- o8.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- o8.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- o8.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- o8.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- o8.Color = Color3.new(0.105882, 0.164706, 0.207843)
- o9 = Instance.new("Part")
- o9.Parent = o1
- o9.BrickColor = BrickColor.new("Really black")
- o9.Reflectance = 0.10000000149012
- o9.Position = Vector3.new(0.173590899, 4.00173569, -9.98207664)
- o9.Rotation = Vector3.new(2.9181666e-009, -3.48279983e-008, -8.55249798e-019)
- o9.Anchored = true
- o9.CFrame = CFrame.new(0.173590899, 4.00173569, -9.98207664, 0.999998331, 1.49269007e-020, -6.07863204e-010, 1.49269007e-020, 1, -5.09317831e-011, -6.07863204e-010, -5.09317831e-011, 1.00000334)
- o9.FormFactor = Enum.FormFactor.Plate
- o9.Size = Vector3.new(2, 4.80000019, 2)
- o9.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- o9.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- o9.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- o9.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- o9.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- o9.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- o9.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- o10 = Instance.new("SpecialMesh")
- o10.Parent = o9
- o10.Scale = Vector3.new(0.600000024, 1, 0.600000024)
- o10.MeshType = Enum.MeshType.Brick
- o11 = Instance.new("Part")
- o11.Parent = o1
- o11.BrickColor = BrickColor.new("Mid gray")
- o11.Reflectance = 0.20000000298023
- o11.Position = Vector3.new(0.173592806, 4.10173273, -11.1821489)
- o11.Rotation = Vector3.new(-180, 89.8953247, -90)
- o11.Anchored = true
- o11.CFrame = CFrame.new(0.173592806, 4.10173273, -11.1821489, -1.49269007e-020, 6.07863204e-010, 0.999998331, -1, 5.09317831e-011, 1.49269007e-020, 5.09317831e-011, -1.00000334, -6.07863204e-010)
- o11.FormFactor = Enum.FormFactor.Plate
- o11.Size = Vector3.new(1, 0.400000006, 2)
- o11.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- o11.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- o11.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- o11.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- o11.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- o11.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- o11.Color = Color3.new(0.803922, 0.803922, 0.803922)
- o12 = Instance.new("CylinderMesh")
- o12.Parent = o11
- o12.Offset = Vector3.new(0, -0.600000024, 0)
- o12.Scale = Vector3.new(0.5, 0.100000001, 0.5)
- o13 = Instance.new("Part")
- o13.Parent = o1
- o13.BrickColor = BrickColor.new("Mid gray")
- o13.Reflectance = 0.20000000298023
- o13.Position = Vector3.new(0.173592806, 5.60169125, -11.1821489)
- o13.Rotation = Vector3.new(1.40697509e-009, -89.8953247, -90)
- o13.Anchored = true
- o13.CFrame = CFrame.new(0.173592806, 5.60169125, -11.1821489, 1.49269007e-020, 6.07863204e-010, -0.999998331, 1, 5.09317831e-011, -1.49269007e-020, -5.09317831e-011, -1.00000334, 6.07863204e-010)
- o13.FormFactor = Enum.FormFactor.Plate
- o13.Size = Vector3.new(2, 0.400000006, 2)
- o13.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- o13.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- o13.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- o13.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- o13.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- o13.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- o13.Color = Color3.new(0.803922, 0.803922, 0.803922)
- o14 = Instance.new("CylinderMesh")
- o14.Parent = o13
- o14.Offset = Vector3.new(0, -0.600000024, 0)
- o14.Scale = Vector3.new(0.5, 0.100000001, 0.5)
- o15 = Instance.new("Part")
- o15.Parent = o1
- o15.BrickColor = BrickColor.new("Mid gray")
- o15.Reflectance = 0.20000000298023
- o15.Position = Vector3.new(0.173592806, 2.60173273, -11.1821489)
- o15.Rotation = Vector3.new(-180, 89.8953247, -90)
- o15.Anchored = true
- o15.CFrame = CFrame.new(0.173592806, 2.60173273, -11.1821489, -1.49269007e-020, 6.07863204e-010, 0.999998331, -1, 5.09317831e-011, 1.49269007e-020, 5.09317831e-011, -1.00000334, -6.07863204e-010)
- o15.FormFactor = Enum.FormFactor.Plate
- o15.Size = Vector3.new(2, 0.400000006, 2)
- o15.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- o15.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- o15.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- o15.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- o15.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- o15.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- o15.Color = Color3.new(0.803922, 0.803922, 0.803922)
- o16 = Instance.new("CylinderMesh")
- o16.Parent = o15
- o16.Offset = Vector3.new(0, -0.600000024, 0)
- o16.Scale = Vector3.new(0.5, 0.100000001, 0.5)
- myears = Instance.new('Sound')
- myears.Parent = game.Players.LocalPlayer.Character.Head
- myears.Looped = true
- myears.Name = "Ruski"
- myears.Playing = true
- myears.SoundId = "rbxassetid://481696827"
- myears.Volume = .5
- myears.TimePosition = 0
- local g = o1:clone()
- g.Parent = game.Players.LocalPlayer.Character
- local C = g:GetChildren()
- for i=1, #C do
- if C[i].className == "Part" then
- local W = Instance.new("Weld")
- W.Part0 = g.Middle
- W.Part1 = C[i]
- local CJ = CFrame.new(g.Middle.Position)
- local C0 = g.Middle.CFrame:inverse()*CJ
- local C1 = C[i].CFrame:inverse()*CJ
- W.C0 = C0
- W.C1 = C1
- W.Parent = g.Middle
- end
- local Y = Instance.new("Weld")
- Y.Part0 = game.Players.LocalPlayer.Character.Torso
- Y.Part1 = g.Middle
- Y.C0 = CFrame.new(0, 0, 0)
- Y.Parent = Y.Part0
- end
- local h = g:GetChildren()
- for i = 1, # h do
- h[i].Anchored = false
- h[i].CanCollide = false
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement