SHOW:
|
|
- or go back to the newest paste.
| 1 | -- This script has been converted to FE by iPxter | |
| 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 iPxter")
| |
| 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 = 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 | --Go to line 216 to put id of song | |
| 87 | o1 = Instance.new("Model")
| |
| 88 | o1.Name = "Vest" | |
| 89 | o2 = Instance.new("Part")
| |
| 90 | o2.Name = "Middle" | |
| 91 | o2.Parent = o1 | |
| 92 | o2.BrickColor = BrickColor.new("Brick yellow")
| |
| 93 | o2.Transparency = 1 | |
| 94 | o2.Position = Vector3.new(0.139906004, 1.05800402, -11.1099901) | |
| 95 | o2.Anchored = true | |
| 96 | o2.CFrame = CFrame.new(0.139906004, 1.05800402, -11.1099901, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
| 97 | o2.CanCollide = false | |
| 98 | o2.FormFactor = Enum.FormFactor.Symmetric | |
| 99 | o2.Size = Vector3.new(2, 2, 1) | |
| 100 | o2.BackSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 101 | o2.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 102 | o2.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 103 | o2.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 104 | o2.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 105 | o2.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 106 | o2.Color = Color3.new(0.843137, 0.772549, 0.603922) | |
| 107 | o3 = Instance.new("Part")
| |
| 108 | o3.Name = "Pack" | |
| 109 | o3.Parent = o1 | |
| 110 | o3.BrickColor = BrickColor.new("Dark stone grey")
| |
| 111 | o3.Position = Vector3.new(0.139907002, 1.07000601, -10.3049936) | |
| 112 | o3.Rotation = Vector3.new(-180, 0, -180) | |
| 113 | o3.Anchored = true | |
| 114 | o3.CFrame = CFrame.new(0.139907002, 1.07000601, -10.3049936, -1, 0, 0, 0, 1, 0, 0, 0, -1) | |
| 115 | o3.CanCollide = false | |
| 116 | o3.FormFactor = Enum.FormFactor.Custom | |
| 117 | o3.Size = Vector3.new(1.65999985, 1.80000019, 0.630000472) | |
| 118 | o3.BackSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 119 | o3.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 120 | o3.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 121 | o3.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 122 | o3.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 123 | o3.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 124 | o3.Color = Color3.new(0.388235, 0.372549, 0.384314) | |
| 125 | o4 = Instance.new("Part")
| |
| 126 | o4.Name = "Strap" | |
| 127 | o4.Parent = o1 | |
| 128 | o4.BrickColor = BrickColor.new("Black")
| |
| 129 | o4.Position = Vector3.new(0.66991502, 1.05500698, -11.1149797) | |
| 130 | o4.Anchored = true | |
| 131 | o4.CFrame = CFrame.new(0.66991502, 1.05500698, -11.1149797, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
| 132 | o4.CanCollide = false | |
| 133 | o4.FormFactor = Enum.FormFactor.Custom | |
| 134 | o4.Size = Vector3.new(0.259999752, 2.11000037, 1.15000045) | |
| 135 | o4.BackSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 136 | o4.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 137 | o4.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 138 | o4.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 139 | o4.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 140 | o4.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 141 | o4.Color = Color3.new(0.105882, 0.164706, 0.207843) | |
| 142 | o5 = Instance.new("Part")
| |
| 143 | o5.Name = "Flap" | |
| 144 | o5.Parent = o1 | |
| 145 | o5.BrickColor = BrickColor.new("Black")
| |
| 146 | o5.Position = Vector3.new(0.139905006, 1.85000098, -10.2900219) | |
| 147 | o5.Anchored = true | |
| 148 | o5.CFrame = CFrame.new(0.139905006, 1.85000098, -10.2900219, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
| 149 | o5.CanCollide = false | |
| 150 | o5.FormFactor = Enum.FormFactor.Custom | |
| 151 | o5.Size = Vector3.new(1.71999979, 0.400000006, 0.639999866) | |
| 152 | o5.BackSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 153 | o5.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 154 | o5.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 155 | o5.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 156 | o5.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 157 | o5.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 158 | o5.Color = Color3.new(0.105882, 0.164706, 0.207843) | |
| 159 | o6 = Instance.new("Part")
| |
| 160 | o6.Name = "Pocket" | |
| 161 | o6.Parent = o1 | |
| 162 | o6.BrickColor = BrickColor.new("Black")
| |
| 163 | o6.Position = Vector3.new(0.149883002, 0.860005975, -10.0399857) | |
| 164 | o6.Rotation = Vector3.new(-0, 0, -90) | |
| 165 | o6.Anchored = true | |
| 166 | o6.CFrame = CFrame.new(0.149883002, 0.860005975, -10.0399857, 0, 1, 0, -1, 0, 0, 0, 0, 1) | |
| 167 | o6.CanCollide = false | |
| 168 | o6.FormFactor = Enum.FormFactor.Custom | |
| 169 | o6.Size = Vector3.new(0.600000024, 0.800000131, 0.200000003) | |
| 170 | o6.BackSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 171 | o6.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 172 | o6.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 173 | o6.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 174 | o6.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 175 | o6.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 176 | o6.Color = Color3.new(0.105882, 0.164706, 0.207843) | |
| 177 | o7 = Instance.new("Part")
| |
| 178 | o7.Name = "Pocket" | |
| 179 | o7.Parent = o1 | |
| 180 | o7.BrickColor = BrickColor.new("Black")
| |
| 181 | o7.Position = Vector3.new(0.139600992, 1.10000801, -10.3099718) | |
| 182 | o7.Rotation = Vector3.new(-90, 90, 0) | |
| 183 | o7.Anchored = true | |
| 184 | o7.CFrame = CFrame.new(0.139600992, 1.10000801, -10.3099718, 0, 0, 1, -1, 0, 0, 0, -1, 0) | |
| 185 | o7.CanCollide = false | |
| 186 | o7.FormFactor = Enum.FormFactor.Custom | |
| 187 | o7.Size = Vector3.new(0.600000024, 0.400000155, 1.70000005) | |
| 188 | o7.BackSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 189 | o7.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 190 | o7.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 191 | o7.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 192 | o7.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 193 | o7.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 194 | o7.Color = Color3.new(0.105882, 0.164706, 0.207843) | |
| 195 | o8 = Instance.new("Part")
| |
| 196 | o8.Name = "Strap" | |
| 197 | o8.Parent = o1 | |
| 198 | o8.BrickColor = BrickColor.new("Black")
| |
| 199 | o8.Position = Vector3.new(-0.37014699, 1.05500698, -11.1149921) | |
| 200 | o8.Anchored = true | |
| 201 | o8.CFrame = CFrame.new(-0.37014699, 1.05500698, -11.1149921, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
| 202 | o8.CanCollide = false | |
| 203 | o8.FormFactor = Enum.FormFactor.Custom | |
| 204 | o8.Size = Vector3.new(0.259999752, 2.11000037, 1.15000045) | |
| 205 | o8.BackSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 206 | o8.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 207 | o8.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 208 | o8.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 209 | o8.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 210 | o8.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 211 | o8.Color = Color3.new(0.105882, 0.164706, 0.207843) | |
| 212 | o9 = Instance.new("Part")
| |
| 213 | o9.Parent = o1 | |
| 214 | o9.BrickColor = BrickColor.new("Really black")
| |
| 215 | o9.Reflectance = 0.10000000149012 | |
| 216 | o9.Position = Vector3.new(0.173590899, 4.00173569, -9.98207664) | |
| 217 | o9.Rotation = Vector3.new(2.9181666e-009, -3.48279983e-008, -8.55249798e-019) | |
| 218 | o9.Anchored = true | |
| 219 | 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) | |
| 220 | o9.FormFactor = Enum.FormFactor.Plate | |
| 221 | o9.Size = Vector3.new(2, 4.80000019, 2) | |
| 222 | o9.BackSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 223 | o9.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 224 | o9.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 225 | o9.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 226 | o9.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 227 | o9.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 228 | o9.Color = Color3.new(0.0666667, 0.0666667, 0.0666667) | |
| 229 | o10 = Instance.new("SpecialMesh")
| |
| 230 | o10.Parent = o9 | |
| 231 | o10.Scale = Vector3.new(0.600000024, 1, 0.600000024) | |
| 232 | o10.MeshType = Enum.MeshType.Brick | |
| 233 | o11 = Instance.new("Part")
| |
| 234 | o11.Parent = o1 | |
| 235 | o11.BrickColor = BrickColor.new("Mid gray")
| |
| 236 | o11.Reflectance = 0.20000000298023 | |
| 237 | o11.Position = Vector3.new(0.173592806, 4.10173273, -11.1821489) | |
| 238 | o11.Rotation = Vector3.new(-180, 89.8953247, -90) | |
| 239 | o11.Anchored = true | |
| 240 | 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) | |
| 241 | o11.FormFactor = Enum.FormFactor.Plate | |
| 242 | o11.Size = Vector3.new(1, 0.400000006, 2) | |
| 243 | o11.BackSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 244 | o11.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 245 | o11.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 246 | o11.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 247 | o11.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 248 | o11.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 249 | o11.Color = Color3.new(0.803922, 0.803922, 0.803922) | |
| 250 | o12 = Instance.new("CylinderMesh")
| |
| 251 | o12.Parent = o11 | |
| 252 | o12.Offset = Vector3.new(0, -0.600000024, 0) | |
| 253 | o12.Scale = Vector3.new(0.5, 0.100000001, 0.5) | |
| 254 | o13 = Instance.new("Part")
| |
| 255 | o13.Parent = o1 | |
| 256 | o13.BrickColor = BrickColor.new("Mid gray")
| |
| 257 | o13.Reflectance = 0.20000000298023 | |
| 258 | o13.Position = Vector3.new(0.173592806, 5.60169125, -11.1821489) | |
| 259 | o13.Rotation = Vector3.new(1.40697509e-009, -89.8953247, -90) | |
| 260 | o13.Anchored = true | |
| 261 | 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) | |
| 262 | o13.FormFactor = Enum.FormFactor.Plate | |
| 263 | o13.Size = Vector3.new(2, 0.400000006, 2) | |
| 264 | o13.BackSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 265 | o13.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 266 | o13.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 267 | o13.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 268 | o13.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 269 | o13.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 270 | o13.Color = Color3.new(0.803922, 0.803922, 0.803922) | |
| 271 | o14 = Instance.new("CylinderMesh")
| |
| 272 | o14.Parent = o13 | |
| 273 | o14.Offset = Vector3.new(0, -0.600000024, 0) | |
| 274 | o14.Scale = Vector3.new(0.5, 0.100000001, 0.5) | |
| 275 | o15 = Instance.new("Part")
| |
| 276 | o15.Parent = o1 | |
| 277 | o15.BrickColor = BrickColor.new("Mid gray")
| |
| 278 | o15.Reflectance = 0.20000000298023 | |
| 279 | o15.Position = Vector3.new(0.173592806, 2.60173273, -11.1821489) | |
| 280 | o15.Rotation = Vector3.new(-180, 89.8953247, -90) | |
| 281 | o15.Anchored = true | |
| 282 | 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) | |
| 283 | o15.FormFactor = Enum.FormFactor.Plate | |
| 284 | o15.Size = Vector3.new(2, 0.400000006, 2) | |
| 285 | o15.BackSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 286 | o15.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 287 | o15.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 288 | o15.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 289 | o15.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 290 | o15.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 291 | o15.Color = Color3.new(0.803922, 0.803922, 0.803922) | |
| 292 | o16 = Instance.new("CylinderMesh")
| |
| 293 | o16.Parent = o15 | |
| 294 | o16.Offset = Vector3.new(0, -0.600000024, 0) | |
| 295 | o16.Scale = Vector3.new(0.5, 0.100000001, 0.5) | |
| 296 | myears = Instance.new('Sound')
| |
| 297 | myears.Parent = owner.Character.Head | |
| 298 | myears.Looped = true | |
| 299 | myears.Name = "Ruski" | |
| 300 | myears.Playing = true | |
| 301 | - | myears.SoundId = "rbxassetid://481696827" |
| 301 | + | myears.SoundId = "rbxassetid://3298817433" |
| 302 | myears.Volume = .5 | |
| 303 | myears.TimePosition = 0 | |
| 304 | local g = o1:clone() | |
| 305 | g.Parent = owner.Character | |
| 306 | local C = g:GetChildren() | |
| 307 | for i=1, #C do | |
| 308 | if C[i].className == "Part" then | |
| 309 | local W = Instance.new("Weld")
| |
| 310 | W.Part0 = g.Middle | |
| 311 | W.Part1 = C[i] | |
| 312 | local CJ = CFrame.new(g.Middle.Position) | |
| 313 | local C0 = g.Middle.CFrame:inverse()*CJ | |
| 314 | local C1 = C[i].CFrame:inverse()*CJ | |
| 315 | W.C0 = C0 | |
| 316 | W.C1 = C1 | |
| 317 | W.Parent = g.Middle | |
| 318 | end | |
| 319 | local Y = Instance.new("Weld")
| |
| 320 | Y.Part0 = owner.Character.Torso | |
| 321 | Y.Part1 = g.Middle | |
| 322 | Y.C0 = CFrame.new(0, 0, 0) | |
| 323 | Y.Parent = Y.Part0 | |
| 324 | end | |
| 325 | ||
| 326 | local h = g:GetChildren() | |
| 327 | for i = 1, # h do | |
| 328 | h[i].Anchored = false | |
| 329 | h[i].CanCollide = false | |
| 330 | end |