Advertisement
ghostteen14

Untitled

May 13th, 2019
149
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 14.53 KB | None | 0 0
  1. if game:GetService("RunService"):IsClient() then error("Please run as a server script. Use h/ instead of hl/.") end
  2. print("FE Compatibility: by WaverlyCole & Mokiros")
  3. InternalData = {}
  4. do
  5. script.Parent = owner.Character
  6. local Event = Instance.new("RemoteEvent")
  7. Event.Name = "UserInput"
  8. local function NewFakeEvent()
  9. local Fake = {fakeEvent=true,Connect=function(self,Func)self.Function=Func end}Fake.connect = Fake.Connect
  10. return Fake
  11. end
  12. local Mouse = {Target=nil,Hit=CFrame.new(),KeyUp=NewFakeEvent(),KeyDown=NewFakeEvent(),Button1Up=NewFakeEvent(),Button1Down=NewFakeEvent()}
  13. local UserInputService = {InputBegan=NewFakeEvent(),InputEnded=NewFakeEvent()}
  14. local ContextActionService = {Actions={},BindAction = function(self,actionName,Func,touch,...)
  15. self.Actions[actionName] = Func and {Name=actionName,Function=Func,Keys={...}} or nil
  16. end};ContextActionService.UnBindAction = ContextActionService.BindAction
  17. local function TriggerEvent(self,Event,...)
  18. local Trigger = Mouse[Event]
  19. if Trigger and Trigger.fakeEvent and Trigger.Function then
  20. Trigger.Function(...)
  21. end
  22. end
  23. Mouse.TrigEvent = TriggerEvent
  24. UserInputService.TrigEvent = TriggerEvent
  25. Event.OnServerEvent:Connect(function(FiredBy,Input)
  26. if FiredBy.Name ~= owner.Name then end
  27. if Input.MouseEvent then
  28. Mouse.Target = Input.Target
  29. Mouse.Hit = Input.Hit
  30. else
  31. local Begin = Input.UserInputState == Enum.UserInputState.Begin
  32. if Input.UserInputType == Enum.UserInputType.MouseButton1 then
  33. return Mouse:TrigEvent(Begin and "Button1Down" or "Button1Up")
  34. end
  35. for _,Action in pairs(ContextActionService.Actions) do
  36. for _,Key in pairs(Action.Keys) do
  37. if Key==Input.KeyCode then
  38. Action.Function(Action.Name,Input.UserInputState,Input)
  39. end
  40. end
  41. end
  42. Mouse:TrigEvent(Begin and "KeyDown" or "KeyUp",Input.KeyCode.Name:lower())
  43. UserInputService:TrigEvent(Begin and "InputBegan" or "InputEnded",Input,false)
  44. end
  45. end)
  46. InternalData["Mouse"] = Mouse
  47. InternalData["ContextActionService"] = ContextActionService
  48. InternalData["UserInputService"] = UserInputService
  49. Event.Parent = NLS([[
  50. local Player = owner
  51. local Event = script:WaitForChild("UserInput")
  52. local UserInputService = game:GetService("UserInputService")
  53. local Mouse = Player:GetMouse()
  54. local Input = function(Input,gameProcessedEvent)
  55. if gameProcessedEvent then return end
  56. Event:FireServer({KeyCode=Input.KeyCode,UserInputType=Input.UserInputType,UserInputState=Input.UserInputState})
  57. end
  58. UserInputService.InputBegan:Connect(Input)
  59. UserInputService.InputEnded:Connect(Input)
  60. local Hit,Target
  61. while wait(1/30) do
  62. if Hit ~= Mouse.Hit or Target ~= Mouse.Target then
  63. Hit,Target = Mouse.Hit,Mouse.Target
  64. Event:FireServer({["MouseEvent"]=true,["Target"]=Target,["Hit"]=Hit})
  65. end
  66. end
  67. ]],owner.Character)
  68. end
  69. RealGame = game;game = setmetatable({},{
  70. __index = function (self,Index)
  71. local Sandbox = function (Thing)
  72. if Thing:IsA("Player") then
  73. local RealPlayer = Thing
  74. return setmetatable({},{
  75. __index = function (self,Index)
  76. local Type = type(RealPlayer[Index])
  77. if Type == "function" then
  78. if Index:lower() == "getmouse" or Index:lower() == "mouse" then
  79. return function (self)
  80. return InternalData["Mouse"]
  81. end
  82. end
  83. return function (self,...)
  84. return RealPlayer[Index](RealPlayer,...)
  85. end
  86. else
  87. if Index == "PlrObj" then
  88. return RealPlayer
  89. end
  90. return RealPlayer[Index]
  91. end
  92. end;
  93. __tostring = function(self)
  94. return RealPlayer.Name
  95. end
  96. })
  97. end
  98. end
  99. if RealGame[Index] then
  100. local Type = type(RealGame[Index])
  101. if Type == "function" then
  102. if Index:lower() == "getservice" or Index:lower() == "service" then
  103. return function (self,Service)
  104. if Service:lower() == "players" then
  105. return setmetatable({},{
  106. __index = function (self2,Index2)
  107. local RealService = RealGame:GetService(Service)
  108. local Type2 = type(Index2)
  109. if Type2 == "function" then
  110. return function (self,...)
  111. return RealService[Index2](RealService,...)
  112. end
  113. else
  114. if Index2:lower() == "localplayer" then
  115. return Sandbox(owner)
  116. end
  117. return RealService[Index2]
  118. end
  119. end;
  120. __tostring = function(self)
  121. return RealGame:GetService(Service).Name
  122. end
  123. })
  124. elseif Service:lower() == "contextactionservice" then
  125. return InternalData["ContextActionService"]
  126. elseif Service:lower() == "contextactionservice" then
  127. return InternalData["UserInputService"]
  128. elseif Service:lower() == "runservice" then
  129. return setmetatable({},{
  130. __index = function(self2,Index2)
  131. local RealService = RealGame:GetService(Service)
  132. local Type2 = type(Index2)
  133. if Type2 == "function" then
  134. return function (self,...)
  135. return RealService[Index2](RealService,...)
  136. end
  137. else
  138. if Index2:lower() == "bindtorenderstep" then
  139. return function (self,Name,Priority,Function)
  140. return RealGame:GetService("RunService").Stepped:Connect(Function)
  141. end
  142. end
  143. if Index2:lower() == "renderstepped" then
  144. return RealService["Stepped"]
  145. end
  146. return RealService[Index2]
  147. end
  148. end
  149. })
  150. else
  151. return RealGame:GetService(Service)
  152. end
  153. end
  154. end
  155. return function (self,...)
  156. return RealGame[Index](RealGame,...)
  157. end
  158. else
  159. if game:GetService(Index) then
  160. return game:GetService(Index)
  161. end
  162. return RealGame[Index]
  163. end
  164. else
  165. return nil
  166. end
  167. end
  168. });Game = game;owner = game:GetService("Players").LocalPlayer;script = {}
  169. print("Complete! Running...")
  170. if game.Players.LocalPlayer.PlayerGui:FindFirstChild('ufo') then
  171. game.Players.LocalPlayer.PlayerGui.ufo:Destroy()
  172. if game.Workspace:FindFirstChild('ufoparthaha') then
  173. game.Workspace.ufoparthaha:Destroy()
  174. end
  175. end
  176. wait()
  177. local VanGui = Instance.new("ScreenGui")
  178. local Van = Instance.new("Frame")
  179. local idk = Instance.new("TextBox")
  180. local dsa = Instance.new("TextButton")
  181.  
  182. VanGui.Name = "ufo"
  183. VanGui.Parent = game.Players.LocalPlayer.PlayerGui
  184.  
  185. Van.Name = "ufo"
  186. Van.Parent = VanGui
  187. Van.BackgroundColor3 = Color3.new(0.235294, 0.235294, 0.235294)
  188. Van.BorderColor3 = Color3.new(0, 0, 0)
  189. Van.Position = UDim2.new(0, 5, 0.8, 0)
  190. Van.Size = UDim2.new(0, 200, 0, 45)
  191.  
  192. idk.Name = "idk"
  193. idk.Parent = Van
  194. idk.BackgroundColor3 = Color3.new(0.235294, 0.235294, 0.235294)
  195. idk.BorderColor3 = Color3.new(0, 0, 0)
  196. idk.Size = UDim2.new(1, 0, 0, 20)
  197. idk.Font = Enum.Font.SciFi
  198. idk.FontSize = Enum.FontSize.Size14
  199. idk.Text = "Username"
  200. idk.TextColor3 = Color3.new(1, 1, 1)
  201. idk.TextScaled = true
  202. idk.TextStrokeTransparency = 0
  203. idk.TextWrapped = true
  204.  
  205. dsa.Name = "dsa"
  206. dsa.Parent = Van
  207. dsa.BackgroundColor3 = Color3.new(0.235294, 0.235294, 0.235294)
  208. dsa.BorderColor3 = Color3.new(0, 0, 0)
  209. dsa.Position = UDim2.new(0, 0, 1, -25)
  210. dsa.Size = UDim2.new(1, 0, 0, 25)
  211. dsa.Font = Enum.Font.SciFi
  212. dsa.FontSize = Enum.FontSize.Size14
  213. dsa.Text = "UFO"
  214. dsa.TextColor3 = Color3.new(1, 1, 1)
  215. dsa.TextScaled = true
  216. dsa.TextStrokeTransparency = 0
  217. dsa.TextWrapped = true
  218.  
  219.  
  220. dsa.MouseButton1Click:connect(function()
  221. Victim = idk.Text
  222. if game.Players:FindFirstChild(Victim) and game.Workspace:FindFirstChild('ufoparthaha') == nil then
  223.  
  224. local u1 = Instance.new('Part')
  225. u1.Name = 'ufoparthaha'
  226. u1.Parent = game.Workspace
  227. u1.Material = Enum.Material.DiamondPlate
  228. u1.Anchored = true
  229. u1.Size = Vector3.new(20,3,20)
  230. u1.CFrame = CFrame.new(0,50,0)
  231. local u2 = Instance.new('SpecialMesh')
  232. u2.Parent = u1
  233. u2.MeshType = Enum.MeshType.Sphere
  234. local u3 = Instance.new('Part')
  235. u3.Parent = u1
  236. u3.Material = Enum.Material.SmoothPlastic
  237. u3.Anchored = true
  238. u3.Size = Vector3.new(15,10,15)
  239. u3.CFrame = CFrame.new(0,54,0)
  240. u3.Transparency = 0.6
  241. u3.BrickColor = BrickColor.new('Cyan')
  242. local u4 = Instance.new('SpecialMesh')
  243. u4.Parent = u3
  244. local u5 = Instance.new('Part')
  245. u5.Parent = u1
  246. u5.Material = Enum.Material.Neon
  247. u5.Anchored = true
  248. u5.Size = Vector3.new(5,1,5)
  249. u5.CFrame = CFrame.new(0,49,0)
  250. u5.Transparency = 0.7
  251. u5.BrickColor = BrickColor.new('Toothpaste')
  252. u5.CanCollide = false
  253. local u6 = Instance.new('Part')
  254. u6.CFrame = CFrame.new(0,5,0)
  255. u6.Parent = u1
  256. u6.Anchored = true
  257. u6.CanCollide = false
  258. u6.Transparency = 1
  259. local u7 = Instance.new('Part')
  260. u7.CFrame = CFrame.new(0,8,0)
  261. u7.Parent = u1
  262. u7.Anchored = true
  263. u7.CanCollide = false
  264. u7.Transparency = 1
  265. local u8 = Instance.new('Part')
  266. u8.CFrame = CFrame.new(0,11,0)
  267. u8.Parent = u1
  268. u8.Anchored = true
  269. u8.CanCollide = false
  270. u8.Transparency = 1
  271. local u9 = Instance.new('Part')
  272. u9.CFrame = CFrame.new(0,14,0)
  273. u9.Parent = u1
  274. u9.Anchored = true
  275. u9.CanCollide = false
  276. u9.Transparency = 1
  277. local u10 = Instance.new('Part')
  278. u10.CFrame = CFrame.new(0,17,0)
  279. u10.Parent = u1
  280. u10.Anchored = true
  281. u10.CanCollide = false
  282. u10.Transparency = 1
  283. local u11 = Instance.new('Part')
  284. u11.CFrame = CFrame.new(0,20,0)
  285. u11.Parent = u1
  286. u11.Anchored = true
  287. u11.CanCollide = false
  288. u11.Transparency = 1
  289. local u12 = Instance.new('Part')
  290. u12.CFrame = CFrame.new(0,23,0)
  291. u12.Parent = u1
  292. u12.Anchored = true
  293. u12.CanCollide = false
  294. u12.Transparency = 1
  295. local u13 = Instance.new('Part')
  296. u13.CFrame = CFrame.new(0,26,0)
  297. u13.Parent = u1
  298. u13.Anchored = true
  299. u13.CanCollide = false
  300. u13.Transparency = 1
  301. local u14 = Instance.new('Part')
  302. u14.CFrame = CFrame.new(0,29,0)
  303. u14.Parent = u1
  304. u14.Anchored = true
  305. u14.CanCollide = false
  306. u14.Transparency = 1
  307. local u15 = Instance.new('Part')
  308. u15.CFrame = CFrame.new(0,32,0)
  309. u15.Parent = u1
  310. u15.Anchored = true
  311. u15.CanCollide = false
  312. u15.Transparency = 1
  313. local u16 = Instance.new('Part')
  314. u16.CFrame = CFrame.new(0,35,0)
  315. u16.Parent = u1
  316. u16.Anchored = true
  317. u16.CanCollide = false
  318. u16.Transparency = 1
  319. local u17 = Instance.new('Part')
  320. u17.CFrame = CFrame.new(0,38,0)
  321. u17.Parent = u1
  322. u17.Anchored = true
  323. u17.CanCollide = false
  324. u17.Transparency = 1
  325. local u18 = Instance.new('Part')
  326. u18.CFrame = CFrame.new(0,41,0)
  327. u18.Parent = u1
  328. u18.Anchored = true
  329. u18.CanCollide = false
  330. u18.Transparency = 1
  331. local u19 = Instance.new('Part')
  332. u19.CFrame = CFrame.new(0,44,0)
  333. u19.Parent = u1
  334. u19.Anchored = true
  335. u19.CanCollide = false
  336. u19.Transparency = 1
  337. local u20 = Instance.new('Part')
  338. u20.CFrame = CFrame.new(0,47,0)
  339. u20.Parent = u1
  340. u20.Anchored = true
  341. u20.CanCollide = false
  342. u20.Transparency = 1
  343. local u21 = Instance.new('Part')
  344. u21.CFrame = CFrame.new(0,50,0)
  345. u21.Parent = u1
  346. u21.Anchored = true
  347. u21.CanCollide = false
  348. u21.Transparency = 1
  349. local u22 = Instance.new('Part')
  350. u22.CFrame = CFrame.new(0,53,0)
  351. u22.Parent = u1
  352. u22.Anchored = true
  353. u22.CanCollide = false
  354. u22.Transparency = 1
  355. local u23 = Instance.new('Part')
  356. u23.CFrame = CFrame.new(0,54,0)
  357. u23.Parent = u1
  358. u23.Anchored = true
  359. u23.CanCollide = false
  360. u23.Transparency = 1
  361. function tractordown()
  362. for i=1, 47 do
  363. local cf = u5.CFrame
  364. u5.Size = u5.Size + Vector3.new(0,1,0)
  365. u5.CFrame = cf - Vector3.new(0,0.5,0)
  366. wait()
  367. end
  368. end
  369. function tractorup()
  370. for i=1, 47 do
  371. local cf = u5.CFrame
  372. u5.Size = u5.Size - Vector3.new(0,1,0)
  373. u5.CFrame = cf + Vector3.new(0,0.5,0)
  374. wait()
  375. end
  376. end
  377. function MoveX(model, Position)
  378. model.CFrame = model.CFrame + Vector3.new(Position,0,0)
  379. for _,part in pairs (model:GetChildren()) do
  380. if part.ClassName == "Part" then
  381. part.CFrame = part.CFrame + Vector3.new(Position,0,0)
  382. end
  383. end
  384. end
  385. function MoveSpawn(model, PLAYERPOS)
  386. model.CFrame = model.CFrame + PLAYERPOS + Vector3.new(300,-5,0)
  387. for _,part in pairs (model:GetChildren()) do
  388. if part.ClassName == "Part" then
  389. part.CFrame = part.CFrame + PLAYERPOS + Vector3.new(300,-5,0)
  390. end
  391. end
  392. end
  393. if game.Players:FindFirstChild(Victim) ~= nil then
  394. game.Players[Victim].Character.HumanoidRootPart.Anchored = true
  395. game.Players[Victim].Character.Humanoid.WalkSpeed = 0
  396. game.Players[Victim].Character.Humanoid.JumpPower = 0
  397. MoveSpawn(u1,game.Players[Victim].Character.HumanoidRootPart.Position)
  398. end
  399. for i=1,100 do
  400. MoveX(u1,-3)
  401. wait()
  402. end
  403. tractordown()
  404. game.Players[Victim].Character.Head.face.Texture = "rbxassetid://629925029"
  405. SCREAM = Instance.new("Sound")
  406. SCREAM.Parent = game.Players[Victim].Character.Head
  407. SCREAM.SoundId = "rbxassetid://138167455"
  408. SCREAM:Play()
  409. game.Players[Victim].Character.HumanoidRootPart.CFrame = u6.CFrame
  410. wait(0.1)
  411. game.Players[Victim].Character.HumanoidRootPart.CFrame = u7.CFrame
  412. wait(0.1)
  413. game.Players[Victim].Character.HumanoidRootPart.CFrame = u8.CFrame
  414. wait(0.1)
  415. game.Players[Victim].Character.HumanoidRootPart.CFrame = u9.CFrame
  416. wait(0.1)
  417. game.Players[Victim].Character.HumanoidRootPart.CFrame = u10.CFrame
  418. wait(0.1)
  419. game.Players[Victim].Character.HumanoidRootPart.CFrame = u11.CFrame
  420. wait(0.1)
  421. game.Players[Victim].Character.HumanoidRootPart.CFrame = u12.CFrame
  422. wait(0.1)
  423. game.Players[Victim].Character.HumanoidRootPart.CFrame = u13.CFrame
  424. wait(0.1)
  425. game.Players[Victim].Character.HumanoidRootPart.CFrame = u14.CFrame
  426. wait(0.1)
  427. game.Players[Victim].Character.HumanoidRootPart.CFrame = u15.CFrame
  428. wait(0.1)
  429. game.Players[Victim].Character.HumanoidRootPart.CFrame = u16.CFrame
  430. wait(0.1)
  431. game.Players[Victim].Character.HumanoidRootPart.CFrame = u17.CFrame
  432. wait(0.1)
  433. game.Players[Victim].Character.HumanoidRootPart.CFrame = u18.CFrame
  434. wait(0.1)
  435. game.Players[Victim].Character.HumanoidRootPart.CFrame = u19.CFrame
  436. wait(0.1)
  437. game.Players[Victim].Character.HumanoidRootPart.CFrame = u20.CFrame
  438. wait(0.1)
  439. game.Players[Victim].Character.HumanoidRootPart.CFrame = u21.CFrame
  440. wait(0.1)
  441. game.Players[Victim].Character.HumanoidRootPart.CFrame = u22.CFrame
  442. wait(0.1)
  443. game.Players[Victim].Character.HumanoidRootPart.CFrame = u23.CFrame
  444. tractorup()
  445. for i=1,50 do
  446. MoveX(u1,-3)
  447. if game.Players[Victim] ~= nil then
  448. game.Players[Victim].Character.HumanoidRootPart.CFrame = u23.CFrame
  449. end
  450. wait(.05)
  451. end
  452. wait(0.5)
  453. game.Players[Victim].Character.HumanoidRootPart.CFrame = u21.CFrame
  454. game.Players[Victim].Character.Humanoid.Health = 0
  455. game.Players[Victim].Character.HumanoidRootPart.Anchored = false
  456. for i=1,50 do
  457. MoveX(u1,-3)
  458. wait()
  459. end
  460. u1:Destroy()
  461. end
  462. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement