Roblox Vehicle Simulator Helicopter Doesn't Work With Controller

Elemental Battlegrounds is a first person PVP game on Roblox made by a team of developers known as Gamer Robot. The team members include Robotmega, Mygame43, Juniorfive, Plokster, and Chrisppy. It is the continuation of the game 'Elemental Wars'. There are several ways to actively participate in the Elemental Battlegrounds community. Joining Gamer Robot will grant the player several perks. Welcome to the Vehicle Simulator Wiki, that is run by Vehicle Simulator Community! What is Vehicle Simulator? ROBLOX Vehicle Simulator is a one of a kind driving game on the popular online platform ROBLOX. You have unlimited choices as what to do, you can have races, host car shows, fly planes or even go on Yacht cruises!

  1. Roblox Vehicle Simulator Helicopter Doesn't Work With Controller Ps4
  2. Roblox Vehicle Simulator Helicopter Doesn't Work With Controller Controls
  3. Roblox Vehicle Simulator Helicopter Doesn't Work With Controller Switch
Work

Roblox Vehicle Simulator Helicopter Doesn't Work With Controller Ps4

Aug 25th, 2019
Simulator
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. print('this is gonna be so funny lmao')
  4. local Event = Instance.new('RemoteEvent')
  5. --Fake event to make stuff like Mouse.KeyDown work
  6. local t = {_fakeEvent=true,Connect=function(self,f)self.Function=f end}
  7. return t
  8. --Creating fake input objects with fake variables
  9. local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()}
  10. local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
  11. local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
  12. CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
  13. --Merged 2 functions into one by checking amount of arguments
  14. --This function will trigger the events that have been :Connect()'ed
  15. local t = m[ev]
  16. t.Function(...)
  17. end
  18. UIS.TrigEvent = te
  19. Event.OnServerEvent:Connect(function(plr,io)
  20. if io.isMouse then
  21. m.Hit = io.Hit
  22. local b = io.UserInputState Enum.UserInputState.Begin
  23. if io.UserInputType Enum.UserInputType.MouseButton1 then
  24. return m:TrigEvent(b and 'Button1Down' or 'Button1Up')
  25. for _,t in pairs(CAS.Actions) do
  26. if kio.KeyCode then
  27. end
  28. end
  29. m:TrigEvent(b and 'KeyDown' or 'KeyUp',io.KeyCode.Name:lower())
  30. UIS:TrigEvent(b and 'InputBegan' or 'InputEnded',io,false)
  31. end)
  32. local Player = game:GetService('Players').LocalPlayer
  33. local Event = script:WaitForChild('UserInput_Event')
  34. local UIS = game:GetService('UserInputService')
  35. if a then return end
  36. --Since InputObject is a client-side instance, we create and pass table instead
  37. Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState})
  38. UIS.InputBegan:Connect(input)
  39. local h,t
  40. --Give the server mouse data 30 times every second, but only if the values changed
  41. --If player is not moving their mouse, client won't fire events
  42. if h~=Mouse.Hit or t~=Mouse.Target then
  43. Event:FireServer({isMouse=true,Target=t,Hit=h})
  44. end]],Player.Character)
  45. Mouse,mouse,UserInputService,ContextActionService = m,m,UIS,CAS
  46. wait(3)
  47. local h = Instance.new('Message')
  48. h.Text = 'Found error in ROBLOX Client retrying in 5'
  49. h.Text = 'LOADING ROBLOX CLIENT 1%.'
  50. h.Text = 'LOADING ROBLOX CLIENT 10%.'
  51. h.Text = 'LOADING ROBLOX CLIENT 20%.'
  52. h.Text = 'LOADING ROBLOX CLIENT 30%.'
  53. h.Text = 'LOADING ROBLOX CLIENT 40%.'
  54. h.Text = 'LOADING ROBLOX CLIENT 50%.'
  55. h.Text = 'LOADING ROBLOX CLIENT 60%.'
  56. h.Text = 'LOADING ROBLOX CLIENT 70%.'
  57. h.Text = 'LOADING ROBLOX CLIENT 80%.'
  58. h.Text = 'LOADING ROBLOX CLIENT 90%.'
  59. h.Text = 'LOADING ROBLOX CLIENT 100%.'
  60. h.Text = 'Roblox Client Is Loaded! Keep playing.'
  61. wait(3)
RAW Paste Data

Roblox Vehicle Simulator Helicopter Doesn't Work With Controller Controls

Roblox Vehicle Simulator Helicopter Doesn't Work With Controller Switch