Guest User

Untitled

a guest
Jan 1st, 2020
164
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
  2. local Player,Mouse,mouse,UserInputService,ContextActionService = owner
  3. local RealPlayer = Player
  4. 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
  5.  
  6.  
  7. local player = owner
  8. local Cha = player.Character
  9. local mouse = player:GetMouse()
  10. local henshine = false
  11. local RAC = Cha.Torso:WaitForChild("Right Shoulder")
  12. local LAC = Cha.Torso:WaitForChild("Left Shoulder")
  13. local RLC = Cha.Torso:WaitForChild("Right Hip")
  14. local LLC = Cha.Torso:WaitForChild("Left Hip")
  15. local Neck = Cha.Torso:WaitForChild("Neck")
  16. local RA = Cha:FindFirstChild("Right Arm")
  17. local LA = Cha:FindFirstChild("Left Arm")
  18. local Torso = Cha.Torso
  19. local Root = Cha.HumanoidRootPart
  20. local Head = Cha.Head
  21. local RL = Cha:FindFirstChild("Right Leg")
  22. local LL = Cha:FindFirstChild("Left Leg")
  23. local Humanoid = Cha.Humanoid
  24.  
  25. Humanoid.WalkSpeed = 0
  26. local SongDriver = Instance.new("Sound")
  27. SongDriver.Parent = Cha.Torso
  28. SongDriver.SoundId = "rbxassetid://3511300557"
  29. SongDriver.Volume = 15
  30.  
  31.  
  32. local wheel = true
  33.  
  34. Model0 = Instance.new("Model")
  35. MeshPart1 = Instance.new("Part")
  36. SpecialMesh2 = Instance.new("SpecialMesh")
  37. MeshPart3 = Instance.new("Part")
  38. SpecialMesh4 = Instance.new("SpecialMesh")
  39. MeshPart5 = Instance.new("Part")
  40. SpecialMesh6 = Instance.new("SpecialMesh")
  41. MeshPart7 = Instance.new("Part")
  42. SpecialMesh8 = Instance.new("SpecialMesh")
  43. Model0.Parent = Cha
  44. MeshPart1.Name = "1"
  45. MeshPart1.Parent = Model0
  46. MeshPart1.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  47. MeshPart1.Size = Vector3.new(7.60899353, 4.52809906, 18.8089981)
  48. MeshPart1.BrickColor = BrickColor.new("Really black")
  49. MeshPart1.Material = Enum.Material.Neon
  50. MeshPart1.brickColor = BrickColor.new("Really black")
  51. local weld23 = Instance.new("Weld")
  52. weld23.Part0 = Root
  53. weld23.Part1 = MeshPart1
  54. weld23.C1 = CFrame.new(0,0,0)
  55. weld23.Parent = MeshPart1
  56. SpecialMesh2.Parent = MeshPart1
  57. SpecialMesh2.MeshId = "rbxassetid://4564429740"
  58. SpecialMesh2.MeshType = Enum.MeshType.FileMesh
  59. MeshPart3.Name = "3"
  60. MeshPart3.Parent = Model0
  61. MeshPart3.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  62. MeshPart3.Size = Vector3.new(8.32899475, 4.90130043, 13.7426987)
  63. MeshPart3.BrickColor = BrickColor.new("Really black")
  64. MeshPart3.brickColor = BrickColor.new("Really black")
  65. local weld3 = Instance.new("Weld")
  66. weld3.Part0 = Root
  67. weld3.Part1 = MeshPart3
  68. weld3.C1 = CFrame.new(0,0,0)
  69. weld3.Parent = MeshPart3
  70. SpecialMesh4.Parent = MeshPart3
  71. SpecialMesh4.MeshId = "rbxassetid://4564437842"
  72. SpecialMesh4.MeshType = Enum.MeshType.FileMesh
  73. MeshPart5.Name = "2"
  74. MeshPart5.Parent = Model0
  75. MeshPart5.Color = Color3.new(1, 0, 0)
  76. MeshPart5.Size = Vector3.new(8.33399963, 4.59379959, 19.0807037)
  77. MeshPart5.BrickColor = BrickColor.new("Really red")
  78. MeshPart5.brickColor = BrickColor.new("Really red")
  79. local weld5 = Instance.new("Weld")
  80. weld5.Part0 = Root
  81. weld5.Part1 = MeshPart5
  82. weld5.C1 = CFrame.new(0,0,0)
  83. weld5.Parent = MeshPart5
  84. SpecialMesh6.Parent = MeshPart5
  85. SpecialMesh6.MeshId = "rbxassetid://4564431788"
  86. SpecialMesh6.MeshType = Enum.MeshType.FileMesh
  87. MeshPart7.Name = "4"
  88. MeshPart7.Parent = Model0
  89. MeshPart7.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  90. MeshPart7.Size = Vector3.new(8.21899414, 3.43040085, 18.7054062)
  91. MeshPart7.BrickColor = BrickColor.new("Really black")
  92. MeshPart7.brickColor = BrickColor.new("Really black")
  93. local weld7 = Instance.new("Weld")
  94. weld7.Part0 = Root
  95. weld7.Part1 = MeshPart7
  96. weld7.C1 = CFrame.new(0,0,0)
  97. weld7.Parent = MeshPart7
  98. SpecialMesh8.Parent = MeshPart7
  99. SpecialMesh8.MeshId = "rbxassetid://4564439599"
  100. SpecialMesh8.MeshType = Enum.MeshType.FileMesh
  101.  
  102. local Wheel = Instance.new("Part")
  103. Wheel.Parent = Cha.Torso
  104. Wheel.BrickColor = BrickColor.new("New Yeller")
  105. Wheel.CanCollide = false
  106. Wheel.Material = "Neon"
  107. local weld1 = Instance.new("Weld")
  108. weld1.Part0 = Root
  109. weld1.Part1 = Wheel
  110. weld1.C1 = CFrame.new(-1.8,1.7,-6)
  111. weld1.Parent = Wheel
  112. local Wheel1 = Instance.new("SpecialMesh")
  113. Wheel1.MeshType = "FileMesh"
  114. Wheel1.MeshId = "rbxassetid://3683259634"
  115. Wheel1.TextureId = "rbxassetid://560989240"
  116. Wheel1.Parent = Wheel
  117.  
  118. local Wheel1 = Instance.new("Part")
  119. Wheel1.Parent = Cha.Torso
  120. Wheel1.BrickColor = BrickColor.new("New Yeller")
  121. Wheel1.CanCollide = false
  122. Wheel1.Material = "Neon"
  123. local weld2 = Instance.new("Weld")
  124. weld2.Part0 = Root
  125. weld2.Part1 = Wheel1
  126. weld2.C1 = CFrame.new(-1.8,1.7,7.7)
  127. weld2.Parent = Wheel1
  128. local Wheel2 = Instance.new("SpecialMesh")
  129. Wheel2.MeshType = "FileMesh"
  130. Wheel2.MeshId = "rbxassetid://3683259634"
  131. Wheel2.TextureId = "rbxassetid://560989240"
  132. Wheel2.Parent = Wheel1
  133. local engine = false
  134.  
  135. mouse.KeyDown:connect(function(key)
  136. if key == "f" and engine == false then
  137. local start = Instance.new("Sound")
  138. start.Parent = Cha.Torso
  139. start.SoundId = "rbxassetid://140685060"
  140. start.Volume = 10
  141. start:Play()
  142. wait(1)
  143. Humanoid.WalkSpeed = 90
  144. local sport = Instance.new("SpotLight")
  145. sport.Face = "Front"
  146. sport.Range = 60
  147. sport.Parent = Wheel1
  148. local Engine = Instance.new("Sound")
  149. Engine.Parent = Cha.Torso
  150. Engine.SoundId = "rbxassetid://3163347496"
  151. Engine.Volume = 0.4
  152. Engine.Looped = true
  153. Engine:Play()
  154. end
  155. end)
  156.  
  157.  
  158. RAC.C0 = RAC.C0 * CFrame.new(0.6, 0, -0.4) * CFrame.Angles(0,214,-105.2)
  159. LAC.C0 = LAC.C0 * CFrame.new(0, 0, 0) * CFrame.Angles(0,0,105.2)
  160.  
  161.  
  162. RLC.C0 = RLC.C0 * CFrame.new(0, 0, 0) * CFrame.Angles(0,0,-200)
  163. LLC.C0 = LLC.C0 * CFrame.new(0, 0, 0) * CFrame.Angles(0,0,200)
  164.  
  165.  
  166. mouse.KeyDown:connect(function(key)
  167. if key == "w" and engine == true then
  168. end
  169. end)
  170.  
  171.  
  172. game:GetService('RunService').Stepped:Connect(function()
  173. table.foreach(Humanoid:GetPlayingAnimationTracks(), function(_, v)
  174. v:Stop()
  175. end)
  176. if Cha:FindFirstChild("Animate") then
  177. Cha:FindFirstChild("Animate"):Destroy()
  178. end
  179. end)
Advertisement
Add Comment
Please, Sign In to add comment