Advertisement
voidscriptbuilderr

FE figest god

Jul 11th, 2019
183
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 20.55 KB | None | 0 0
  1. --https://github.com/Mokiros/roblox-FE-compatibility
  2. if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
  3. local Player,game,owner = owner,game
  4. local RealPlayer = Player
  5. do
  6. print("FE Compatibility code V2 by Mokiros")
  7. local RealPlayer = RealPlayer
  8. script.Parent = RealPlayer.Character
  9.  
  10. --Fake event to make stuff like Mouse.KeyDown work
  11. local Disconnect_Function = function(this)
  12. this[1].Functions[this[2]] = nil
  13. end
  14. local Disconnect_Metatable = {__index={disconnect=Disconnect_Function,Disconnect=Disconnect_Function}}
  15. local FakeEvent_Metatable = {__index={
  16. Connect = function(this,f)
  17. local i = tostring(math.random(0,10000))
  18. while this.Functions[i] do
  19. i = tostring(math.random(0,10000))
  20. end
  21. this.Functions[i] = f
  22. return setmetatable({this,i},Disconnect_Metatable)
  23. end
  24. }}
  25. FakeEvent_Metatable.__index.connect = FakeEvent_Metatable.__index.Connect
  26. local function fakeEvent()
  27. return setmetatable({Functions={}},FakeEvent_Metatable)
  28. end
  29.  
  30. --Creating fake input objects with fake variables
  31. local FakeMouse = {Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent(),Button2Up=fakeEvent(),Button2Down=fakeEvent()}
  32. FakeMouse.keyUp = FakeMouse.KeyUp
  33. FakeMouse.keyDown = FakeMouse.KeyDown
  34. local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
  35. local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
  36. CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
  37. end}
  38. --Merged 2 functions into one by checking amount of arguments
  39. CAS.UnbindAction = CAS.BindAction
  40.  
  41. --This function will trigger the events that have been :Connect()'ed
  42. local function TriggerEvent(self,ev,...)
  43. for _,f in pairs(self[ev].Functions) do
  44. f(...)
  45. end
  46. end
  47. FakeMouse.TriggerEvent = TriggerEvent
  48. UIS.TriggerEvent = TriggerEvent
  49.  
  50. --Client communication
  51. local Event = Instance.new("RemoteEvent")
  52. Event.Name = "UserInput_Event"
  53. Event.OnServerEvent:Connect(function(plr,io)
  54. if plr~=RealPlayer then return end
  55. FakeMouse.Target = io.Target
  56. FakeMouse.Hit = io.Hit
  57. if not io.isMouse then
  58. local b = io.UserInputState == Enum.UserInputState.Begin
  59. if io.UserInputType == Enum.UserInputType.MouseButton1 then
  60. return FakeMouse:TriggerEvent(b and "Button1Down" or "Button1Up")
  61. end
  62. if io.UserInputType == Enum.UserInputType.MouseButton2 then
  63. return FakeMouse:TriggerEvent(b and "Button2Down" or "Button2Up")
  64. end
  65. for _,t in pairs(CAS.Actions) do
  66. for _,k in pairs(t.Keys) do
  67. if k==io.KeyCode then
  68. t.Function(t.Name,io.UserInputState,io)
  69. end
  70. end
  71. end
  72. FakeMouse:TriggerEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower())
  73. UIS:TriggerEvent(b and "InputBegan" or "InputEnded",io,false)
  74. end
  75. end)
  76. Event.Parent = NLS([==[local Event = script:WaitForChild("UserInput_Event")
  77. local Mouse = owner:GetMouse()
  78. local UIS = game:GetService("UserInputService")
  79. local input = function(io,RobloxHandled)
  80. if RobloxHandled then return end
  81. --Since InputObject is a client-side instance, we create and pass table instead
  82. Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState,Hit=Mouse.Hit,Target=Mouse.Target})
  83. end
  84. UIS.InputBegan:Connect(input)
  85. UIS.InputEnded:Connect(input)
  86.  
  87. local h,t
  88. --Give the server mouse data every second frame, but only if the values changed
  89. --If player is not moving their mouse, client won't fire events
  90. local HB = game:GetService("RunService").Heartbeat
  91. while true do
  92. if h~=Mouse.Hit or t~=Mouse.Target then
  93. h,t=Mouse.Hit,Mouse.Target
  94. Event:FireServer({isMouse=true,Target=t,Hit=h})
  95. end
  96. --Wait 2 frames
  97. for i=1,2 do
  98. HB:Wait()
  99. end
  100. end]==],script)
  101.  
  102. ----Sandboxed game object that allows the usage of client-side methods and services
  103. --Real game object
  104. local RealGame = game
  105.  
  106. --Metatable for fake service
  107. local FakeService_Metatable = {
  108. __index = function(self,k)
  109. local s = rawget(self,"_RealService")
  110. if s then
  111. return typeof(s[k])=="function"
  112. and function(_,...)return s[k](s,...)end or s[k]
  113. end
  114. end,
  115. __newindex = function(self,k,v)
  116. local s = rawget(self,"_RealService")
  117. if s then s[k]=v end
  118. end
  119. }
  120. local function FakeService(t,RealService)
  121. t._RealService = typeof(RealService)=="string" and RealGame:GetService(RealService) or RealService
  122. return setmetatable(t,FakeService_Metatable)
  123. end
  124.  
  125. --Fake game object
  126. local FakeGame = {
  127. GetService = function(self,s)
  128. return rawget(self,s) or RealGame:GetService(s)
  129. end,
  130. Players = FakeService({
  131. LocalPlayer = FakeService({GetMouse=function(self)return FakeMouse end},Player)
  132. },"Players"),
  133. UserInputService = FakeService(UIS,"UserInputService"),
  134. ContextActionService = FakeService(CAS,"ContextActionService"),
  135. RunService = FakeService({
  136. _btrs = {},
  137. RenderStepped = RealGame:GetService("RunService").Heartbeat,
  138. BindToRenderStep = function(self,name,_,fun)
  139. self._btrs[name] = self.Heartbeat:Connect(fun)
  140. end,
  141. UnbindFromRenderStep = function(self,name)
  142. self._btrs[name]:Disconnect()
  143. end,
  144. },"RunService")
  145. }
  146. rawset(FakeGame.Players,"localPlayer",FakeGame.Players.LocalPlayer)
  147. FakeGame.service = FakeGame.GetService
  148. FakeService(FakeGame,game)
  149. --Changing owner to fake player object to support owner:GetMouse()
  150. game,owner = FakeGame,FakeGame.Players.LocalPlayer
  151. end
  152. game.Players.LocalPlayer.Character.Humanoid.WalkSpeed = 0
  153. game.Players.LocalPlayer.Character.Humanoid.JumpPower = 0
  154. for i=1,2,0.1 do
  155. wait(.1)
  156. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame+Vector3.new(0,1,0)
  157. for _,anim in pairs(game.Players.LocalPlayer.Character.Humanoid:GetPlayingAnimationTracks()) do
  158. anim:Stop()
  159. end
  160. end
  161. for _,part in pairs(game.Players.LocalPlayer.Character:GetChildren()) do
  162. if part.ClassName == "Accessory" or part.ClassName == "Shirt" or part.ClassName == "Pants" or part.ClassName == "ShirtGraphic" or part.ClassName == "BodyColors" then
  163. part:remove()
  164. end
  165. if part:IsA("BasePart") then
  166. part.Color = Color3.fromRGB(255, 204, 153)
  167. end
  168. end
  169.  
  170.  
  171. game.Players.LocalPlayer.Character.Head.Color = Color3.fromRGB(0,255,0)
  172.  
  173. game.Players.LocalPlayer.Character.Head.Mesh.Offset = Vector3.new(0,-0.75,-0.5)
  174. game.Players.LocalPlayer.Character.Head.Mesh.MeshId = "rbxassetid://785024366"
  175. game.Players.LocalPlayer.Character.Head.face.Texture = "rbxassetid://785492382"
  176. game.Players.LocalPlayer.Character.Head.Mesh.Scale = Vector3.new(13, 20, 13)
  177. local shirt = Instance.new("Shirt",game.Players.LocalPlayer.Character) shirt.ShirtTemplate = "rbxassetid://1037676911"
  178. local pants = Instance.new("Pants",game.Players.LocalPlayer.Character) pants.PantsTemplate = "rbxassetid://1010828432"
  179.  
  180. local fidget1 = Instance.new("Part",game.Players.LocalPlayer.Character) fidget1.Anchored = false fidget1.Size = Vector3.new(0,0,0) fidget1.Color = Color3.fromRGB(0,255,0) fidget1.CanCollide = false
  181. game.Players.LocalPlayer.Character.Head.Mesh:Clone().Parent = fidget1
  182. fidget1.Mesh.Scale = Vector3.new(3,4,3)
  183. fidget1.Mesh.Offset = Vector3.new(0,-1,-0.1)
  184. game.Players.LocalPlayer.Character.Head.face:Clone().Parent = fidget1
  185. fidget1.CFrame = game.Players.LocalPlayer.Character["Right Arm"].CFrame
  186. for i=1,3 do
  187. wait()
  188. fidget1.Position = fidget1.Position+Vector3.new(0,1,0)
  189. end
  190. local weld = Instance.new("Weld",fidget1) weld.Part0 = fidget1 weld.Part1= game.Players.LocalPlayer.Character["Right Arm"] weld.Name = "FidgetHip"
  191.  
  192. local fidget2 = Instance.new("Part",game.Players.LocalPlayer.Character) fidget2.Anchored = false fidget2.Size = Vector3.new(0,0,0) fidget2.Color = Color3.fromRGB(0,255,0) fidget2.CanCollide = false
  193. game.Players.LocalPlayer.Character.Head.Mesh:Clone().Parent = fidget2
  194. fidget2.Mesh.Scale = Vector3.new(3,4,3)
  195. fidget2.Mesh.Offset = Vector3.new(0,-1,-0.1)
  196. game.Players.LocalPlayer.Character.Head.face:Clone().Parent = fidget2
  197. fidget2.CFrame = game.Players.LocalPlayer.Character["Left Arm"].CFrame
  198. for i=1,3 do
  199. wait()
  200. fidget2.Position = fidget2.Position+Vector3.new(0,1,0)
  201. end
  202. local weld = Instance.new("Weld",fidget2) weld.Part0 = fidget2 weld.Part1= game.Players.LocalPlayer.Character["Left Arm"] weld.Name = "FidgetHip2"
  203.  
  204. local fidget3 = Instance.new("Part",game.Players.LocalPlayer.Character) fidget3.Anchored = false fidget3.Size = Vector3.new(0,0,0) fidget3.Color = Color3.fromRGB(0,255,0) fidget3.CanCollide = false
  205. game.Players.LocalPlayer.Character.Head.Mesh:Clone().Parent = fidget3
  206. fidget3.Mesh.Scale = Vector3.new(3,4,3)
  207. fidget3.Mesh.Offset = Vector3.new(0,-1,-0.1)
  208. game.Players.LocalPlayer.Character.Head.face:Clone().Parent = fidget3
  209. fidget3.CFrame = game.Players.LocalPlayer.Character["Right Leg"].CFrame
  210. for i=1,3 do
  211. wait()
  212. fidget3.Position = fidget3.Position+Vector3.new(0,1,0)
  213. end
  214. local weld = Instance.new("Weld",fidget3) weld.Part0 = fidget3 weld.Part1= game.Players.LocalPlayer.Character["Right Leg"] weld.Name = "FidgetHip3"
  215.  
  216. local fidget4 = Instance.new("Part",game.Players.LocalPlayer.Character) fidget4.Anchored = false fidget4.Size = Vector3.new(0,0,0) fidget4.Color = Color3.fromRGB(0,255,0) fidget4.CanCollide = false
  217. game.Players.LocalPlayer.Character.Head.Mesh:Clone().Parent = fidget4
  218. fidget4.Mesh.Scale = Vector3.new(3,4,3)
  219. fidget4.Mesh.Offset = Vector3.new(0,-1,-0.1)
  220. game.Players.LocalPlayer.Character.Head.face:Clone().Parent = fidget4
  221. fidget4.CFrame = game.Players.LocalPlayer.Character["Left Leg"].CFrame
  222. for i=1,3 do
  223. wait()
  224. fidget4.Position = fidget4.Position+Vector3.new(0,1,0)
  225. end
  226. local weld = Instance.new("Weld",fidget4) weld.Part0 = fidget4 weld.Part1= game.Players.LocalPlayer.Character["Left Leg"] weld.Name = "FidgetHip4"
  227.  
  228. game.Players.LocalPlayer.Character.Humanoid.WalkSpeed = 75
  229. game.Players.LocalPlayer.Character.Humanoid.MaxHealth = 333333333
  230. game.Players.LocalPlayer.Character.Humanoid.Health = 333333333
  231. game.Players.LocalPlayer.Character.Humanoid.JumpPower = 50
  232. rot = 0
  233. armrot = 0
  234. speed = 0.25
  235. armspeed = 0.25
  236. flying = nil
  237. flyingtornado1 = nil
  238. flyingtornado2 = nil
  239. tornado1 = nil
  240. tornado2 = nil
  241. fullspin = false
  242. counter = 0
  243. function fullrot()
  244.  
  245. local part = Instance.new("Part",game.Players.LocalPlayer.Character) part.Material = Enum.Material.Neon part.Color = Color3.fromRGB(0,255,0) part.Anchored = true part.Transparency = 0.9 part.CanCollide = false part.Shape = Enum.PartType.Cylinder part.Size = Vector3.new(math.huge,1,1)
  246. part.Name = "FullSpinC"
  247. part.CFrame = CFrame.new(game.Players.LocalPlayer.Character.HumanoidRootPart.Position)*CFrame.Angles(0,0,math.rad(90))
  248. game:GetService("Debris"):AddItem(part,1.5)
  249. for i=0.9,1,0.004 do
  250. wait()
  251. part.Size = part.Size+Vector3.new(0,2,2)
  252. part.Transparency = i
  253.  
  254. end
  255. part:remove()
  256. end
  257.  
  258. game:GetService("RunService").RenderStepped:connect(function()
  259.  
  260. for _,part in pairs(game.Players.LocalPlayer.Character:GetChildren()) do
  261. if part.Name == "Torso" or part.Name == "Right Leg" or part.Name == "Left Leg" or part.Name == "Right Arm" or part.Name == "Left Arm" then
  262. part.Color = Color3.fromRGB(255, 204, 153)
  263. end
  264. end
  265. game.Players.LocalPlayer.Character.Head.Color = Color3.fromRGB(0,255,0)
  266.  
  267.  
  268.  
  269.  
  270.  
  271. counter = counter+1
  272. if counter >= 10 then
  273. counter= 0
  274. if fullspin == true then
  275. fullrot()
  276. end
  277. end
  278. rot = rot+speed
  279. armrot = armrot+armspeed
  280. game.Players.LocalPlayer.Character.Head.CanCollide = false
  281. fidget1.FidgetHip.C0 = CFrame.new(fidget1.FidgetHip.C0.p)*CFrame.Angles(0,armrot,0)
  282. fidget2.FidgetHip2.C0 = CFrame.new(fidget2.FidgetHip2.C0.p)*CFrame.Angles(0,-armrot,0)
  283. for _,child in pairs(game.Players.LocalPlayer.Character:GetChildren()) do
  284. if child.Name == "FullSpinC" then
  285. child.CFrame = CFrame.new(game.Players.LocalPlayer.Character.HumanoidRootPart.Position)*CFrame.Angles(0,0,math.rad(90))
  286. end
  287. end
  288.  
  289. if flying ~= nil then
  290.  
  291. fidget3.FidgetHip3.C0 = CFrame.new(fidget3.FidgetHip3.C0.p)*CFrame.Angles(0,rot*2,0)
  292. fidget4.FidgetHip4.C0 = CFrame.new(fidget4.FidgetHip4.C0.p)*CFrame.Angles(0,-rot*2,0)
  293. flying.CFrame = CFrame.new(game.Players.LocalPlayer.Character.HumanoidRootPart.Position+Vector3.new(0,-3.5,0))
  294. end
  295. game.Players.LocalPlayer.Character.Torso.Neck.C0 = CFrame.new(game.Players.LocalPlayer.Character.Torso.Neck.C0.p)*CFrame.Angles(math.rad(90),0,rot)
  296. if fullspin == true then
  297.  
  298. game.Players.LocalPlayer.Character.HumanoidRootPart.RootJoint.C0 = game.Players.LocalPlayer.Character.HumanoidRootPart.RootJoint.C0*CFrame.Angles(0,0,rot*10)
  299. for _,child in pairs(game.Workspace:GetChildren()) do
  300. if child ~= game.Players.LocalPlayer.Character then
  301. for _,InChild in pairs(child:GetChildren()) do
  302. if InChild:IsA("BasePart") then
  303. if InChild.Position.X > game.Players.LocalPlayer.Character.HumanoidRootPart.Position.X-20 and InChild.Position.X < game.Players.LocalPlayer.Character.HumanoidRootPart.Position.X+20 then
  304. if InChild.Position.Z > game.Players.LocalPlayer.Character.HumanoidRootPart.Position.Z-20 and InChild.Position.Z < game.Players.LocalPlayer.Character.HumanoidRootPart.Position.Z+20 then
  305. for _,InChild2 in pairs(child:GetChildren()) do
  306. if InChild2.ClassName == "Humanoid" then
  307. InChild2.Health = InChild2.Health-2
  308. InChild.Velocity = game.Workspace.CurrentCamera.CFrame.lookVector*80
  309. end
  310. end
  311. end
  312. end
  313. end
  314. end
  315. end
  316. end
  317.  
  318. end
  319. if tornado1 ~= nil then
  320. local pos1 = game.Players.LocalPlayer.Character["Right Arm"].CFrame:toWorldSpace(CFrame.new(Vector3.new(0,-1,0))).p
  321. local pos2 = game.Players.LocalPlayer:GetMouse().Hit:toWorldSpace(CFrame.new(7.5,0,0)).p
  322. tornado1.Mesh.Scale = Vector3.new(15,(pos1-pos2).magnitude,15)
  323. tornado1.CFrame = CFrame.new((pos1+pos2)/2,pos1)*CFrame.Angles(math.rad(90),armrot*2,math.rad(180))
  324. for _,child in pairs(game.Workspace:GetChildren()) do
  325. if child ~= game.Players.LocalPlayer.Character then
  326. for _,InChild in pairs(child:GetChildren()) do
  327. if InChild:IsA("BasePart") then
  328. if (InChild.Position-pos2).magnitude < 7.5 then
  329. for _,InChild2 in pairs(child:GetChildren()) do
  330. if InChild2.ClassName == "Humanoid" then
  331. InChild2.Health = InChild2.Health-2
  332. InChild.Velocity = game.Workspace.CurrentCamera.CFrame.lookVector*80
  333. end
  334. end
  335. end
  336. end
  337. end
  338. end
  339. end
  340.  
  341.  
  342.  
  343. end
  344. if tornado2 ~= nil then
  345. local pos1 = game.Players.LocalPlayer.Character["Left Arm"].CFrame:toWorldSpace(CFrame.new(Vector3.new(0,-1,0))).p
  346. local pos2 = game.Players.LocalPlayer:GetMouse().Hit:toWorldSpace(CFrame.new(-7.5,0,0)).p
  347. tornado2.Mesh.Scale = Vector3.new(15,(pos1-pos2).magnitude,15)
  348. tornado2.CFrame = CFrame.new((pos1+pos2)/2,pos1)*CFrame.Angles(math.rad(90),armrot*2,math.rad(180))
  349.  
  350. for _,child in pairs(game.Workspace:GetChildren()) do
  351. if child ~= game.Players.LocalPlayer.Character then
  352. for _,InChild in pairs(child:GetChildren()) do
  353. if InChild:IsA("BasePart") then
  354. if (InChild.Position-pos2).magnitude < 10 then
  355. for _,InChild2 in pairs(child:GetChildren()) do
  356. if InChild2.ClassName == "Humanoid" then
  357. InChild2.Health = InChild2.Health-1
  358. InChild.Velocity = game.Workspace.CurrentCamera.CFrame.lookVector*80
  359. end
  360. end
  361. end
  362. end
  363. end
  364. end
  365. end
  366. end
  367.  
  368.  
  369. if flyingtornado1 ~= nil then
  370. local pos1 = game.Players.LocalPlayer.Character["Right Leg"].CFrame:toWorldSpace(CFrame.new(Vector3.new(0,-1,0))).p
  371. local cframe1 = game.Players.LocalPlayer.Character["Right Leg"].CFrame:toWorldSpace(CFrame.new(Vector3.new(0,-1,0)))
  372. local pos2 = game.Players.LocalPlayer.Character["Right Leg"].CFrame:toWorldSpace(CFrame.new(Vector3.new(7.5,0,0))).p-Vector3.new(0,4000,0)
  373.  
  374. local ray = Ray.new(pos1,cframe1:toWorldSpace(CFrame.new(Vector3.new(500,0,0))).p-Vector3.new(0,4000,0))
  375. local hit,position,normal = game.Workspace:FindPartOnRay(ray,game.Players.LocalPlayer.Character)
  376. if hit ~= nil then
  377. pos2 = position
  378. end
  379.  
  380. flyingtornado1.Mesh.Scale = Vector3.new(6,(pos1-pos2).magnitude,6)
  381. flyingtornado1.CFrame = CFrame.new((pos1+pos2)/2,pos1)*CFrame.Angles(math.rad(90),armrot*2,math.rad(180))
  382.  
  383. for _,child in pairs(game.Workspace:GetChildren()) do
  384. if child ~= game.Players.LocalPlayer.Character then
  385. for _,InChild in pairs(child:GetChildren()) do
  386. if InChild:IsA("BasePart") then
  387. if (InChild.Position-pos2).magnitude < 3 then
  388. for _,InChild2 in pairs(child:GetChildren()) do
  389. if InChild2.ClassName == "Humanoid" then
  390. InChild2.Health = InChild2.Health-1
  391. InChild.Velocity = game.Workspace.CurrentCamera.CFrame.lookVector*80
  392. end
  393. end
  394. end
  395. end
  396. end
  397. end
  398. end
  399. end
  400.  
  401. if flyingtornado2 ~= nil then
  402. local pos1 = game.Players.LocalPlayer.Character["Left Leg"].CFrame:toWorldSpace(CFrame.new(Vector3.new(0,-1,0))).p
  403. local cframe1 = game.Players.LocalPlayer.Character["Left Leg"].CFrame:toWorldSpace(CFrame.new(Vector3.new(0,-1,0)))
  404. local pos2 = game.Players.LocalPlayer.Character["Left Leg"].CFrame:toWorldSpace(CFrame.new(Vector3.new(-7.5,0,0))).p-Vector3.new(0,4000,0)
  405.  
  406. local ray = Ray.new(pos1,cframe1:toWorldSpace(CFrame.new(Vector3.new(-500,0,0))).p-Vector3.new(0,4000,0))
  407. local hit,position,normal = game.Workspace:FindPartOnRay(ray,game.Players.LocalPlayer.Character)
  408.  
  409. if hit ~= nil then
  410. pos2 = position
  411. end
  412.  
  413. flyingtornado2.Mesh.Scale = Vector3.new(6,(pos1-pos2).magnitude,6)
  414. flyingtornado2.CFrame = CFrame.new((pos1+pos2)/2,pos1)*CFrame.Angles(math.rad(90),armrot*2,math.rad(180))
  415.  
  416. for _,child in pairs(game.Workspace:GetChildren()) do
  417. if child ~= game.Players.LocalPlayer.Character then
  418. for _,InChild in pairs(child:GetChildren()) do
  419. if InChild:IsA("BasePart") then
  420. if (InChild.Position-pos2).magnitude < 3 then
  421. for _,InChild2 in pairs(child:GetChildren()) do
  422. if InChild2.ClassName == "Humanoid" then
  423. InChild2.Health = InChild2.Health-1
  424. InChild.Velocity = game.Workspace.CurrentCamera.CFrame.lookVector*80
  425. end
  426. end
  427. end
  428. end
  429. end
  430. end
  431. end
  432. end
  433.  
  434.  
  435.  
  436.  
  437.  
  438.  
  439. end)
  440. game:GetService("UserInputService").InputBegan:connect(function(key)
  441. if key.KeyCode == Enum.KeyCode.F then
  442. if flying == nil then
  443. flying = Instance.new("Part",game.Players.LocalPlayer.Character) flying.Transparency = 1 flying.Anchored = true flying.Size = Vector3.new(3,1,3)
  444. flyingtornado1 = Instance.new("Part",game.Players.LocalPlayer.Character) flyingtornado1.Color = Color3.fromRGB(200,255,200) flyingtornado1.Transparency = 0.5 flyingtornado1.CanCollide = false flyingtornado1.Anchored = true
  445. local mesh = Instance.new("SpecialMesh",flyingtornado1) mesh.MeshId = "rbxassetid://1040723301"
  446. flyingtornado2 = Instance.new("Part",game.Players.LocalPlayer.Character) flyingtornado2.Color = Color3.fromRGB(200,255,200) flyingtornado2.Transparency = 0.5 flyingtornado2.CanCollide = false flyingtornado2.Anchored = true
  447. local mesh = Instance.new("SpecialMesh",flyingtornado2) mesh.MeshId = "rbxassetid://1040723301"
  448.  
  449. else
  450. flying:remove()
  451. flying = nil
  452. flyingtornado1:remove()
  453. flyingtornado1 = nil
  454. flyingtornado2:remove()
  455. flyingtornado2 = nil
  456. end
  457. end
  458. if key.KeyCode == Enum.KeyCode.E then
  459. armspeed = 0.5
  460. tornado1 = Instance.new("Part",game.Players.LocalPlayer.Character) tornado1.Color = Color3.fromRGB(200,255,200) tornado1.Transparency = 0.5 tornado1.CanCollide = false tornado1.Anchored = true
  461. local mesh = Instance.new("SpecialMesh",tornado1) mesh.MeshId = "rbxassetid://1040723301"
  462. tornado2 = Instance.new("Part",game.Players.LocalPlayer.Character) tornado2.Color = Color3.fromRGB(200,255,200) tornado2.Transparency = 0.5 tornado2.CanCollide = false tornado2.Anchored = true
  463. local mesh = Instance.new("SpecialMesh",tornado2) mesh.MeshId = "rbxassetid://1040723301"
  464.  
  465. game.Players.LocalPlayer.Character.Torso["Right Shoulder"].C0 = game.Players.LocalPlayer.Character.Torso["Right Shoulder"].C0*CFrame.Angles(0,0,math.rad(90))
  466. game.Players.LocalPlayer.Character.Torso["Left Shoulder"].C0 = game.Players.LocalPlayer.Character.Torso["Left Shoulder"].C0*CFrame.Angles(0,0,math.rad(-90))
  467. end
  468. if key.KeyCode == Enum.KeyCode.R then
  469. if fullspin == false then
  470. fullspin = true
  471.  
  472. else
  473. fullspin = false
  474. end
  475. end
  476. end)
  477. game:GetService("UserInputService").InputEnded:connect(function(key)
  478.  
  479. if key.KeyCode == Enum.KeyCode.E then
  480. tornado1:remove()
  481. tornado2:remove()
  482. tornado1 = nil
  483. tornado2 = nil
  484. armspeed = 0.25
  485. game.Players.LocalPlayer.Character.Torso["Right Shoulder"].C0 = game.Players.LocalPlayer.Character.Torso["Right Shoulder"].C0*CFrame.Angles(0,0,math.rad(-90))
  486. game.Players.LocalPlayer.Character.Torso["Left Shoulder"].C0 = game.Players.LocalPlayer.Character.Torso["Left Shoulder"].C0*CFrame.Angles(0,0,math.rad(90))
  487. end
  488. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement