Advertisement
pasterultimate22

[FE] GUI

Jul 22nd, 2018
351
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 13.23 KB | None | 0 0
  1. -- Made by JackMcJagger15
  2.  
  3. local RandomGUI = Instance.new("ScreenGui")
  4. local Main = Instance.new("Frame")
  5. local TopBar = Instance.new("Frame")
  6. local ShadowBar = Instance.new("Frame")
  7. local ButtonPlace = Instance.new("Frame")
  8. local WeridAttract = Instance.new("TextButton")
  9. local HumanMine = Instance.new("TextButton")
  10. local UFO = Instance.new("TextButton")
  11. local Exit = Instance.new("TextButton")
  12. local Credit = Instance.new("TextLabel")
  13. local Target = Instance.new("TextBox")
  14. local Directions = Instance.new("TextLabel")
  15.  
  16. -- Properties
  17.  
  18. RandomGUI.Name = "RandomGUI"
  19. RandomGUI.Parent = game.CoreGui
  20.  
  21. Main.Name = "Main"
  22. Main.Parent = RandomGUI
  23. Main.BackgroundColor3 = Color3.new(0.211765, 0.211765, 0.211765)
  24. Main.BorderSizePixel = 0
  25. Main.Position = UDim2.new(0.377737224, 0, 0.365612656, 0)
  26. Main.Size = UDim2.new(0, 338, 0, 209)
  27. Main.Active = true
  28. Main.Selectable = true
  29. Main.Draggable = true
  30.  
  31. TopBar.Name = "TopBar"
  32. TopBar.Parent = Main
  33. TopBar.BackgroundColor3 = Color3.new(0.137255, 0.137255, 0.137255)
  34. TopBar.BorderSizePixel = 0
  35. TopBar.Size = UDim2.new(0, 338, 0, 25)
  36.  
  37. ShadowBar.Name = "ShadowBar"
  38. ShadowBar.Parent = Main
  39. ShadowBar.BackgroundColor3 = Color3.new(0.0862745, 0.0862745, 0.0862745)
  40. ShadowBar.BorderSizePixel = 0
  41. ShadowBar.Position = UDim2.new(0, 0, 0.119617224, 0)
  42. ShadowBar.Size = UDim2.new(0, 338, 0, 12)
  43.  
  44. ButtonPlace.Name = "ButtonPlace"
  45. ButtonPlace.Parent = Main
  46. ButtonPlace.BackgroundColor3 = Color3.new(0.266667, 0.266667, 0.266667)
  47. ButtonPlace.BorderSizePixel = 0
  48. ButtonPlace.Position = UDim2.new(0.0632226616, 0, 0.228048906, 0)
  49. ButtonPlace.Size = UDim2.new(0, 154, 0, 144)
  50.  
  51. WeridAttract.Name = "WeridAttract"
  52. WeridAttract.Parent = ButtonPlace
  53. WeridAttract.BackgroundColor3 = Color3.new(0.129412, 0.129412, 0.129412)
  54. WeridAttract.BorderSizePixel = 0
  55. WeridAttract.Position = UDim2.new(0.149350643, 0, 0.0972222239, 0)
  56. WeridAttract.Size = UDim2.new(0, 107, 0, 31)
  57. WeridAttract.Font = Enum.Font.Cartoon
  58. WeridAttract.Text = "Weird Attract"
  59. WeridAttract.TextColor3 = Color3.new(1, 1, 1)
  60. WeridAttract.TextSize = 14
  61.  
  62. HumanMine.Name = "HumanMine"
  63. HumanMine.Parent = ButtonPlace
  64. HumanMine.BackgroundColor3 = Color3.new(0.129412, 0.129412, 0.129412)
  65. HumanMine.BorderSizePixel = 0
  66. HumanMine.Position = UDim2.new(0.149350643, 0, 0.395833343, 0)
  67. HumanMine.Size = UDim2.new(0, 107, 0, 31)
  68. HumanMine.Font = Enum.Font.Cartoon
  69. HumanMine.Text = "Human Mine"
  70. HumanMine.TextColor3 = Color3.new(1, 1, 1)
  71. HumanMine.TextSize = 14
  72.  
  73. UFO.Name = "UFO"
  74. UFO.Parent = ButtonPlace
  75. UFO.BackgroundColor3 = Color3.new(0.129412, 0.129412, 0.129412)
  76. UFO.BorderSizePixel = 0
  77. UFO.Position = UDim2.new(0.149350643, 0, 0.701388836, 0)
  78. UFO.Size = UDim2.new(0, 107, 0, 31)
  79. UFO.Font = Enum.Font.Cartoon
  80. UFO.Text = "UFO Of Death"
  81. UFO.TextColor3 = Color3.new(1, 1, 1)
  82. UFO.TextSize = 14
  83.  
  84. Exit.Name = "Exit"
  85. Exit.Parent = Main
  86. Exit.BackgroundColor3 = Color3.new(1, 1, 1)
  87. Exit.BackgroundTransparency = 1
  88. Exit.Position = UDim2.new(0.913743496, 0, 0, 0)
  89. Exit.Size = UDim2.new(0, 29, 0, 26)
  90. Exit.Font = Enum.Font.Cartoon
  91. Exit.Text = "X"
  92. Exit.TextColor3 = Color3.new(1, 1, 1)
  93. Exit.TextSize = 14
  94.  
  95. Credit.Name = "Credit"
  96. Credit.Parent = Main
  97. Credit.BackgroundColor3 = Color3.new(1, 1, 1)
  98. Credit.BackgroundTransparency = 1
  99. Credit.Position = UDim2.new(0, 0, 0.0143540669, 0)
  100. Credit.Size = UDim2.new(0, 200, 0, 22)
  101. Credit.Font = Enum.Font.Cartoon
  102. Credit.Text = "Cool FE GUI By JackMcJagger15"
  103. Credit.TextColor3 = Color3.new(1, 1, 1)
  104. Credit.TextSize = 14
  105.  
  106. Target.Name = "Target"
  107. Target.Parent = Main
  108. Target.BackgroundColor3 = Color3.new(0.129412, 0.129412, 0.129412)
  109. Target.BorderSizePixel = 0
  110. Target.Position = UDim2.new(0.557692289, 0, 0.746411443, 0)
  111. Target.Size = UDim2.new(0, 136, 0, 30)
  112. Target.Font = Enum.Font.Cartoon
  113. Target.Text = "Target"
  114. Target.TextColor3 = Color3.new(1, 1, 1)
  115. Target.TextSize = 14
  116.  
  117. Directions.Name = "Directions"
  118. Directions.Parent = Main
  119. Directions.BackgroundColor3 = Color3.new(1, 1, 1)
  120. Directions.BackgroundTransparency = 1
  121. Directions.BorderSizePixel = 0
  122. Directions.Position = UDim2.new(0.57100594, 0, 0.229665071, 0)
  123. Directions.Size = UDim2.new(0, 132, 0, 101)
  124. Directions.Font = Enum.Font.Cartoon
  125. Directions.Text = "To use weird attract type a name into the TARGET Box and press the button. To use Human Mine just press the button and wait for someone to touch you."
  126. Directions.TextColor3 = Color3.new(1, 1, 1)
  127. Directions.TextScaled = true
  128. Directions.TextSize = 14
  129. Directions.TextWrapped = true
  130. Directions.TextXAlignment = Enum.TextXAlignment.Left
  131. Directions.TextYAlignment = Enum.TextYAlignment.Top
  132.  
  133. function GetPlayer(String)
  134. local Found = {}
  135. local strl = String:lower()
  136. if strl == "all" then
  137. for i,v in pairs(game.Players:GetPlayers()) do
  138. table.insert(Found,v)
  139. end
  140. elseif strl == "others" then
  141. for i,v in pairs(game.Players:GetPlayers()) do
  142. if v.Name ~= game.Players.LocalPlayer.Name then
  143. table.insert(Found,v)
  144. end
  145. end
  146. else
  147. for i,v in pairs(game.Players:GetPlayers()) do
  148. if v.Name:lower():sub(1, #String) == String:lower() then
  149. table.insert(Found,v)
  150. end
  151. end
  152. end
  153. return Found
  154. end
  155.  
  156. Exit.MouseButton1Click:connect(function()
  157. RandomGUI:Destroy()
  158. end)
  159.  
  160. local sigh = true
  161. WeridAttract.MouseButton1Click:connect(function()
  162. if sigh == true then
  163. sigh = false
  164. WeridAttract.Text = "Respawn"
  165. WeridAttract.BackgroundColor3 = Color3.fromRGB(140, 0, 0)
  166. for i,v in pairs(GetPlayer(Target.Text))do
  167. local player=game.Players.LocalPlayer.Character
  168. player.Humanoid:Remove()
  169. Instance.new('Humanoid',player)
  170. wait(.5)
  171. player:BreakJoints()
  172.  
  173. local b1 = Instance.new("RocketPropulsion")
  174. b1.Parent = game.Players.LocalPlayer.Character["Left Arm"]
  175. b1.Target = game.Players[v.Name].Character.Head
  176. b1.TurnP = 10
  177. b1.MaxThrust = 500
  178. b1.MaxSpeed = 10
  179. b1.ThrustP = 2500
  180. b1.CartoonFactor = 5
  181. b1:Fire()
  182.  
  183. local b2 = Instance.new("RocketPropulsion")
  184. b2.Parent = game.Players.LocalPlayer.Character["Right Arm"]
  185. b2.Target = game.Players[v.Name].Character.Head
  186. b2.TurnP = 10
  187. b2.MaxThrust = 500
  188. b2.MaxSpeed = 10
  189. b2.ThrustP = 2500
  190. b2.CartoonFactor = 5
  191. b2:Fire()
  192.  
  193. local b3 = Instance.new("RocketPropulsion")
  194. b3.Parent = game.Players.LocalPlayer.Character["Right Leg"]
  195. b3.Target = game.Players[v.Name].Character.Head
  196. b3.TurnP = 10
  197. b3.MaxThrust = 500
  198. b3.MaxSpeed = 10
  199. b3.ThrustP = 2500
  200. b3.CartoonFactor = 5
  201. b3:Fire()
  202.  
  203. local b4 = Instance.new("RocketPropulsion")
  204. b4.Parent = game.Players.LocalPlayer.Character["Left Leg"]
  205. b4.Target = game.Players[v.Name].Character.Head
  206. b4.TurnP = 10
  207. b4.MaxThrust = 500
  208. b4.MaxSpeed = 10
  209. b4.ThrustP = 2500
  210. b4.CartoonFactor = 5
  211. b4:Fire()
  212.  
  213. local b5 = Instance.new("RocketPropulsion")
  214. b5.Parent = game.Players.LocalPlayer.Character["Head"]
  215. b5.Target = game.Players[v.Name].Character.Head
  216. b5.TurnP = 10
  217. b5.MaxThrust = 500
  218. b5.MaxSpeed = 10
  219. b5.ThrustP = 2500
  220. b5.CartoonFactor = 5
  221. b5:Fire()
  222.  
  223. local b6 = Instance.new("RocketPropulsion")
  224. b6.Parent = game.Players.LocalPlayer.Character["Torso"]
  225. b6.Target = game.Players[v.Name].Character.Head
  226. b6.TurnP = 10
  227. b6.MaxThrust = 500
  228. b6.MaxSpeed = 10
  229. b6.ThrustP = 2500
  230. b6.CartoonFactor = 5
  231. b6:Fire()
  232. end
  233. else
  234. sigh = true
  235. WeridAttract.Text = "Weird Attract"
  236. WeridAttract.BackgroundColor3 = Color3.fromRGB(33, 33, 33)
  237. local LP = game.Players.LocalPlayer
  238. local mod = Instance.new('Model', workspace) mod.Name = 'new '..LP.Name
  239. local hum = Instance.new('Humanoid', mod)
  240. local ins = Instance.new('Part', mod) ins.Name = 'Torso' ins.CanCollide = false ins.Transparency = 1
  241. LP.Character = mod
  242. end
  243. end)
  244.  
  245. local fa = false
  246. local cam = workspace.CurrentCamera
  247. local cam1 = 0
  248. local cam2 = 0
  249. local cam3 = 0
  250. local k1 = false
  251. local k2 = false
  252. local k3 = false
  253. local k4 = false
  254. local k5 = false
  255. local k6 = false
  256. cs = 2
  257. function movecam()
  258. local fc = game:GetService('Players').LocalPlayer.Character:FindFirstChild('xFC')
  259. if fa == false then
  260. repeat
  261. if game:GetService('Players').LocalPlayer.Character:FindFirstChild('xFC') then
  262. local fp = fc.Position
  263. fc.CFrame = CFrame.new(Vector3.new(fp.X,fp.Y+cam3,fp.Z),cam.CFrame.p)*CFrame.new(cam2,0,cam1)
  264. fa = true
  265. end
  266. game:GetService('RunService').RenderStepped:Wait()
  267. until not game:GetService('Players').LocalPlayer.Character:FindFirstChild('xFC')
  268. fa = false
  269. end
  270. end
  271. function kp1(inputObject, gameProcessedEvent)
  272. if not gameProcessedEvent and game:GetService('Players').LocalPlayer.Character and game:GetService('Players').LocalPlayer.Character:FindFirstChild('xFC') then
  273. if inputObject.KeyCode == Enum.KeyCode.W or inputObject.KeyCode == Enum.KeyCode.Up then
  274. k1 = true
  275. cam1 = cs end
  276. if inputObject.KeyCode == Enum.KeyCode.S or inputObject.KeyCode == Enum.KeyCode.Down then
  277. k2 = true
  278. cam1 = (cs*-1) end
  279. if inputObject.KeyCode == Enum.KeyCode.A or inputObject.KeyCode == Enum.KeyCode.Left then
  280. k3 = true
  281. cam2 = cs end
  282. if inputObject.KeyCode == Enum.KeyCode.D or inputObject.KeyCode == Enum.KeyCode.Right then
  283. k4 = true
  284. cam2 = (cs*-1) end
  285. if inputObject.KeyCode == Enum.KeyCode.E or inputObject.KeyCode == Enum.KeyCode.Space then
  286. k5 = true
  287. cam3 = cs end
  288. if inputObject.KeyCode == Enum.KeyCode.Q or inputObject.KeyCode == Enum.KeyCode.LeftControl then
  289. k6 = true
  290. cam3 = (cs*-1) end
  291. end
  292. end
  293. game:GetService("UserInputService").InputBegan:connect(kp1)
  294. function kp2(inputObject, gameProcessedEvent)
  295. if not gameProcessedEvent and game:GetService('Players').LocalPlayer.Character and game:GetService('Players').LocalPlayer.Character:FindFirstChild('xFC') then
  296. if inputObject.KeyCode == Enum.KeyCode.W or inputObject.KeyCode == Enum.KeyCode.Up then
  297. k1 = false
  298. if k2 == false then
  299. cam1 = 0
  300. end
  301. end
  302. if inputObject.KeyCode == Enum.KeyCode.S or inputObject.KeyCode == Enum.KeyCode.Down then
  303. k2 = false
  304. if k1 == false then
  305. cam1 = 0
  306. end
  307. end
  308. if inputObject.KeyCode == Enum.KeyCode.A or inputObject.KeyCode == Enum.KeyCode.Left then
  309. k3= false
  310. if k4== false then
  311. cam2 = 0
  312. end
  313. end
  314. if inputObject.KeyCode == Enum.KeyCode.D or inputObject.KeyCode == Enum.KeyCode.Right then
  315. k4 = false
  316. if k3 == false then
  317. cam2 = 0
  318. end
  319. end
  320. if inputObject.KeyCode == Enum.KeyCode.E or inputObject.KeyCode == Enum.KeyCode.Space then
  321. k5 = false
  322. if k6 == false then
  323. cam3 = 0
  324. end
  325. end
  326. if inputObject.KeyCode == Enum.KeyCode.Q or inputObject.KeyCode == Enum.KeyCode.LeftControl then
  327. k6 = false
  328. if k5 == false then
  329. cam3 = 0
  330. end
  331. end
  332. end
  333. end
  334. game:GetService("UserInputService").InputEnded:connect(kp2)
  335. function FC()
  336. if not game:GetService('Players').LocalPlayer.Character:FindFirstChild('xFC') then
  337. game:GetService('Players').LocalPlayer.PlayerScripts.ControlScript.Disabled = true
  338. local fc = Instance.new('Part',game:GetService('Players').LocalPlayer.Character)
  339. fc.CanCollide = false
  340. fc.Anchored = true
  341. fc.Transparency = 1
  342. fc.Size = Vector3.new(1,1,1)
  343. fc.Name = 'xFC'
  344. fc.CFrame = game:GetService('Players').LocalPlayer.Character.Head.CFrame
  345. local cam = workspace.CurrentCamera
  346. cam.CameraSubject = fc
  347. cam.CameraType = 'Custom'
  348. movecam()
  349. end end
  350. function UFC()
  351. game:GetService('Players').LocalPlayer.PlayerScripts.ControlScript.Disabled = false
  352. if game:GetService('Players').LocalPlayer.Character:FindFirstChild('xFC') then
  353. game:GetService('Players').LocalPlayer.Character:FindFirstChild('xFC'):Destroy()
  354. local cam = workspace.CurrentCamera
  355. cam.CameraSubject = game:GetService('Players').LocalPlayer.Character.Humanoid
  356. cam.CameraType = 'Custom'
  357. end end
  358.  
  359. local toggle = false
  360. local active = true
  361. UFO.MouseButton1Click:connect(function()
  362. if active == true then
  363. active = false
  364. UFO.Text = "Stop"
  365. UFO.BackgroundColor3 = Color3.fromRGB(140, 0, 0)
  366. game:GetService('RunService').Stepped:connect(function()
  367. if game.Players.LocalPlayer.Character.Humanoid.RigType == Enum.HumanoidRigType.R6 then
  368. game.Players.LocalPlayer.Character.Head.CanCollide = false
  369. game.Players.LocalPlayer.Character.Torso.CanCollide = false
  370. game.Players.LocalPlayer.Character["Left Leg"].CanCollide = false
  371. game.Players.LocalPlayer.Character["Right Leg"].CanCollide = false
  372. else
  373. if game.Players.LocalPlayer.Character.Humanoid.RigType == Enum.HumanoidRigType.R15 then
  374. game.Players.LocalPlayer.Character.Head.CanCollide = false
  375. game.Players.LocalPlayer.Character.UpperTorso.CanCollide = false
  376. game.Players.LocalPlayer.Character.LowerTorso.CanCollide = false
  377. game.Players.LocalPlayer.Character.HumanoidRootPart.CanCollide = false
  378. end
  379. end
  380. end)
  381. local a1 = Instance.new("BodyThrust")
  382. a1.Parent = game.Players.LocalPlayer.Character.HumanoidRootPart
  383. a1.Force = Vector3.new(1500,0,1500)
  384. a1.Location = game.Players.LocalPlayer.Character.HumanoidRootPart.Position
  385. local a2 = Instance.new("BodyPosition")
  386. a2.Parent = game.Players.LocalPlayer.Character.HumanoidRootPart
  387. a2.P = 100000
  388. a2.MaxForce = Vector3.new(1021231,123210,1123120)
  389. -- loop
  390. toggle = false
  391. spawn(function()
  392. while toggle == false do
  393. a2.Position = game.Workspace.Camera.CameraSubject.Position
  394. wait()
  395. end
  396. end)
  397. FC()
  398. else
  399. active = true
  400. UFO.Text = "UFO Of Death"
  401. UFO.BackgroundColor3 = Color3.fromRGB(33, 33, 33)
  402. game.Players.LocalPlayer.Character.HumanoidRootPart.BodyThrust:Destroy()
  403. wait(1)
  404. game.Players.LocalPlayer.Character.HumanoidRootPart.BodyPosition:Destroy()
  405. UFC()
  406. toggle = true
  407. end
  408. end)
  409.  
  410. HumanMine.MouseButton1Click:connect(function()
  411. local a1 = Instance.new("BodyThrust")
  412. a1.Parent = game.Players.LocalPlayer.Character.HumanoidRootPart
  413. a1.Force = Vector3.new(8000,0,8000)
  414. a1.Location = game.Players.LocalPlayer.Character.HumanoidRootPart.Position
  415. wait(.1)
  416. game.Players.LocalPlayer.Character.Torso.Anchored = true
  417. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement