Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 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
- local player = owner
- local Cha = player.Character
- local mouse = player:GetMouse()
- local henshine = false
- local RAC = Cha.Torso:WaitForChild("Right Shoulder")
- local LAC = Cha.Torso:WaitForChild("Left Shoulder")
- local RLC = Cha.Torso:WaitForChild("Right Hip")
- local LLC = Cha.Torso:WaitForChild("Left Hip")
- local Neck = Cha.Torso:WaitForChild("Neck")
- local RA = Cha:FindFirstChild("Right Arm")
- local LA = Cha:FindFirstChild("Left Arm")
- local Torso = Cha.Torso
- local Root = Cha.HumanoidRootPart
- local Head = Cha.Head
- local RL = Cha:FindFirstChild("Right Leg")
- local LL = Cha:FindFirstChild("Left Leg")
- local Humanoid = Cha.Humanoid
- Humanoid.WalkSpeed = 0
- local SongDriver = Instance.new("Sound")
- SongDriver.Parent = Cha.Torso
- SongDriver.SoundId = "rbxassetid://2018347041"
- SongDriver.Volume = 2
- SongDriver.Looped = true
- SongDriver:Play()
- local wheel = true
- Model0 = Instance.new("Model")
- MeshPart1 = Instance.new("Part")
- SpecialMesh2 = Instance.new("SpecialMesh")
- MeshPart3 = Instance.new("Part")
- SpecialMesh4 = Instance.new("SpecialMesh")
- MeshPart5 = Instance.new("Part")
- SpecialMesh6 = Instance.new("SpecialMesh")
- MeshPart7 = Instance.new("Part")
- SpecialMesh8 = Instance.new("SpecialMesh")
- Model0.Parent = Cha
- MeshPart1.Name = "1"
- MeshPart1.Parent = Model0
- MeshPart1.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- MeshPart1.Size = Vector3.new(7.60899353, 4.52809906, 18.8089981)
- MeshPart1.BrickColor = BrickColor.new("Really black")
- MeshPart1.Material = Enum.Material.Neon
- MeshPart1.brickColor = BrickColor.new("Really black")
- local weld23 = Instance.new("Weld")
- weld23.Part0 = Root
- weld23.Part1 = MeshPart1
- weld23.C1 = CFrame.new(0,0.2,0)
- weld23.Parent = MeshPart1
- SpecialMesh2.Parent = MeshPart1
- SpecialMesh2.MeshId = "rbxassetid://4564429740"
- SpecialMesh2.MeshType = Enum.MeshType.FileMesh
- MeshPart3.Name = "3"
- MeshPart3.Parent = Model0
- MeshPart3.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- MeshPart3.Size = Vector3.new(8.32899475, 4.90130043, 13.7426987)
- MeshPart3.BrickColor = BrickColor.new("Really black")
- MeshPart3.brickColor = BrickColor.new("Really black")
- local weld3 = Instance.new("Weld")
- weld3.Part0 = Root
- weld3.Part1 = MeshPart3
- weld3.C1 = CFrame.new(0,0,-2.7)
- weld3.Parent = MeshPart3
- SpecialMesh4.Parent = MeshPart3
- SpecialMesh4.MeshId = "rbxassetid://4564437842"
- SpecialMesh4.MeshType = Enum.MeshType.FileMesh
- MeshPart5.Name = "2"
- MeshPart5.Parent = Model0
- MeshPart5.Color = Color3.new(1, 0, 0)
- MeshPart5.Size = Vector3.new(8.33399963, 4.59379959, 19.0807037)
- MeshPart5.BrickColor = BrickColor.new("Really red")
- MeshPart5.brickColor = BrickColor.new("Really red")
- local weld5 = Instance.new("Weld")
- weld5.Part0 = Root
- weld5.Part1 = MeshPart5
- weld5.C1 = CFrame.new(0,0,0)
- weld5.Parent = MeshPart5
- SpecialMesh6.Parent = MeshPart5
- SpecialMesh6.MeshId = "rbxassetid://4564431788"
- SpecialMesh6.MeshType = Enum.MeshType.FileMesh
- MeshPart7.Name = "4"
- MeshPart7.Parent = Model0
- MeshPart7.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- MeshPart7.Size = Vector3.new(8.21899414, 3.43040085, 18.7054062)
- MeshPart7.BrickColor = BrickColor.new("Really black")
- MeshPart7.brickColor = BrickColor.new("Really black")
- local weld7 = Instance.new("Weld")
- weld7.Part0 = Root
- weld7.Part1 = MeshPart7
- weld7.C1 = CFrame.new(0,0.6,0.3)
- weld7.Parent = MeshPart7
- SpecialMesh8.Parent = MeshPart7
- SpecialMesh8.MeshId = "rbxassetid://4564439599"
- SpecialMesh8.MeshType = Enum.MeshType.FileMesh
- local Wheel = Instance.new("Part")
- Wheel.Parent = Cha.Torso
- Wheel.BrickColor = BrickColor.new("New Yeller")
- Wheel.CanCollide = false
- Wheel.Material = "Neon"
- local weld1 = Instance.new("Weld")
- weld1.Part0 = Root
- weld1.Part1 = Wheel
- weld1.C1 = CFrame.new(0,1.7,0.4)
- weld1.Parent = Wheel
- local Wheel1 = Instance.new("SpecialMesh")
- Wheel1.MeshType = "FileMesh"
- Wheel1.MeshId = "rbxassetid://4564501456"
- Wheel1.TextureId = "rbxassetid://526379063"
- Wheel1.Parent = Wheel
- local engine = false
- mouse.KeyDown:connect(function(key)
- if key == "f" and engine == false then
- local start = Instance.new("Sound")
- start.Parent = Cha.Torso
- start.SoundId = "rbxassetid://140685060"
- start.Volume = 10
- start:Play()
- wait(1)
- Humanoid.WalkSpeed = 90
- local sport = Instance.new("SpotLight")
- sport.Face = "Front"
- sport.Range = 60
- sport.Parent = Wheel1
- end
- end)
- RAC.C0 = RAC.C0 * CFrame.new(0.6, 0, -0.4) * CFrame.Angles(0,214,-105.2)
- LAC.C0 = LAC.C0 * CFrame.new(0, 0, 0) * CFrame.Angles(0,0,105.2)
- RLC.C0 = RLC.C0 * CFrame.new(0, 0, 0) * CFrame.Angles(0,0,-200)
- LLC.C0 = LLC.C0 * CFrame.new(0, 0, 0) * CFrame.Angles(0,0,200)
- mouse.KeyDown:connect(function(key)
- if key == "w" and engine == true then
- end
- end)
- game:GetService('RunService').Stepped:Connect(function()
- table.foreach(Humanoid:GetPlayingAnimationTracks(), function(_, v)
- v:Stop()
- end)
- if Cha:FindFirstChild("Animate") then
- Cha:FindFirstChild("Animate"):Destroy()
- end
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement