zXzGamePROzXz

Untitled

Feb 9th, 2019
137
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,game,owner = owner,game
  3. local RealPlayer = Player
  4. do
  5. print("FE Compatibility code by Mokiros, Edited by StarzoZero")
  6. local rp = RealPlayer
  7. script.Parent = rp.Character
  8.  
  9. --RemoteEvent for communicating
  10. local Event = Instance.new("RemoteEvent")
  11. Event.Name = "UserInput_Event"
  12.  
  13. --Fake event to make stuff like Mouse.KeyDown work
  14. local function fakeEvent()
  15. local t = {_fakeEvent=true,Functions={},Connect=function(self,f)table.insert(self.Functions,f) end}
  16. t.connect = t.Connect
  17. return t
  18. end
  19.  
  20. --Creating fake input objects with fake variables
  21. local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent(),Button2Up=fakeEvent(),Button2Down=fakeEvent()}
  22. local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
  23. local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
  24. CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
  25. end}
  26. --Merged 2 functions into one by checking amount of arguments
  27. CAS.UnbindAction = CAS.BindAction
  28.  
  29. --This function will trigger the events that have been :Connect()'ed
  30. local function te(self,ev,...)
  31. local t = m[ev]
  32. if t and t._fakeEvent then
  33. for _,f in pairs(t.Functions) do
  34. f(...)
  35. end
  36. end
  37. end
  38. m.TrigEvent = te
  39. UIS.TrigEvent = te
  40.  
  41. Event.OnServerEvent:Connect(function(plr,io)
  42. if plr~=rp then return end
  43. m.Target = io.Target
  44. m.Hit = io.Hit
  45. if not io.isMouse then
  46. local b = io.UserInputState == Enum.UserInputState.Begin
  47. if io.UserInputType == Enum.UserInputType.MouseButton1 then
  48. return m:TrigEvent(b and "Button1Down" or "Button1Up")
  49. end
  50. if io.UserInputType == Enum.UserInputType.MouseButton2 then
  51. return m:TrigEvent(b and "Button2Down" or "Button2Up")
  52. end
  53. for _,t in pairs(CAS.Actions) do
  54. for _,k in pairs(t.Keys) do
  55. if k==io.KeyCode then
  56. t.Function(t.Name,io.UserInputState,io)
  57. end
  58. end
  59. end
  60. m:TrigEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower())
  61. UIS:TrigEvent(b and "InputBegan" or "InputEnded",io,false)
  62. end
  63. end)
  64. Event.Parent = NLS([==[
  65. local Player = game:GetService("Players").LocalPlayer
  66. local Event = script:WaitForChild("UserInput_Event")
  67. local Mouse = Player:GetMouse()
  68. local UIS = game:GetService("UserInputService")
  69. local input = function(io,a)
  70. if a then return end
  71. --Since InputObject is a client-side instance, we create and pass table instead
  72. Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState,Hit=Mouse.Hit,Target=Mouse.Target})
  73. end
  74. UIS.InputBegan:Connect(input)
  75. UIS.InputEnded:Connect(input)
  76. local h,t
  77. --Give the server mouse data 30 times every second, but only if the values changed
  78. --If player is not moving their mouse, client won't fire events
  79. while wait(1/30) do
  80. if h~=Mouse.Hit or t~=Mouse.Target then
  81. h,t=Mouse.Hit,Mouse.Target
  82. Event:FireServer({isMouse=true,Target=t,Hit=h})
  83. end
  84. end]==],Player.Character)
  85.  
  86. ----Sandboxed game object that allows the usage of client-side methods and services
  87. --Real game object
  88. local _rg = game
  89.  
  90. --Metatable for fake service
  91. local fsmt = {
  92. __index = function(self,k)
  93. local s = rawget(self,"_RealService")
  94. if s then
  95. return typeof(s[k])=="function"
  96. and function(_,...)return s[k](s,...)end or s[k]
  97. end
  98. end,
  99. __newindex = function(self,k,v)
  100. local s = rawget(self,"_RealService")
  101. if s then s[k]=v end
  102. end
  103. }
  104. local function FakeService(t,RealService)
  105. t._RealService = typeof(RealService)=="string" and _rg:GetService(RealService) or RealService
  106. return setmetatable(t,fsmt)
  107. end
  108.  
  109. --Fake game object
  110. local g = {
  111. GetService = function(self,s)
  112. return rawget(self,s) or _rg:GetService(s)
  113. end,
  114. Players = FakeService({
  115. LocalPlayer = FakeService({GetMouse=function(self)return m end},Player)
  116. },"Players"),
  117. UserInputService = FakeService(UIS,"UserInputService"),
  118. ContextActionService = FakeService(CAS,"ContextActionService"),
  119. RunService = FakeService({
  120. _btrs = {},
  121. RenderStepped = _rg:GetService("RunService").Heartbeat,
  122. BindToRenderStep = function(self,name,_,fun)
  123. self._btrs[name] = self.Heartbeat:Connect(fun)
  124. end,
  125. UnbindFromRenderStep = function(self,name)
  126. self._btrs[name]:Disconnect()
  127. end,
  128. },"RunService")
  129. }
  130. rawset(g.Players,"localPlayer",g.Players.LocalPlayer)
  131. g.service = g.GetService
  132. FakeService(g,game)
  133. --Changing owner to fake player object to support owner:GetMouse()
  134. game,owner = g,g.Players.LocalPlayer
  135. end
  136. -- BY Samurai#3475
  137. -- ok dont be butthurt i didn't really make it it's just a fucking remake that works the same I believe
  138. -- Farewell Infortality.
  139. -- Version: 2.82
  140. -- Instances:
  141. local main = Instance.new("ScreenGui")
  142. local top = Instance.new("Frame")
  143. local back = Instance.new("Frame")
  144. local kill = Instance.new("TextButton")
  145. local btools = Instance.new("TextButton")
  146. local top_2 = Instance.new("TextLabel")
  147. local naked = Instance.new("TextButton")
  148. local credits = Instance.new("TextLabel")
  149. local hatless = Instance.new("TextButton")
  150. local sink = Instance.new("TextButton")
  151. local nuke = Instance.new("TextButton")
  152. local kick = Instance.new("TextButton")
  153. local target = Instance.new("TextBox")
  154. local queue = Instance.new("TextLabel")
  155. local nolimbs = Instance.new("TextButton")
  156. --Properties:
  157. main.Name = "main"
  158. main.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui")
  159.  
  160. top.Name = "top"
  161. top.Parent = main
  162. top.Draggable = true
  163. top.Active = true
  164. top.BackgroundColor3 = Color3.new(0.188235, 0.188235, 0.188235)
  165. top.BackgroundTransparency = 0.30000001192093
  166. top.BorderColor3 = Color3.new(0.117647, 0.117647, 0.117647)
  167. top.Position = UDim2.new(0.612145662, 0, 0.311965823, 0)
  168. top.Size = UDim2.new(0, 291, 0, 30)
  169.  
  170. back.Name = "back"
  171. back.Parent = top
  172. back.BackgroundColor3 = Color3.new(0.188235, 0.188235, 0.188235)
  173. back.BackgroundTransparency = 0.30000001192093
  174. back.BorderColor3 = Color3.new(0.117647, 0.117647, 0.117647)
  175. back.BorderSizePixel = 0
  176. back.Position = UDim2.new(-0.00343642617, 0, 1, 0)
  177. back.Size = UDim2.new(0, 293, 0, 293)
  178.  
  179. kill.Name = "kill"
  180. kill.Parent = top
  181. kill.BackgroundColor3 = Color3.new(0.67451, 0.67451, 0.67451)
  182. kill.BackgroundTransparency = 0.5
  183. kill.BorderSizePixel = 0
  184. kill.Position = UDim2.new(0.0206185561, 0, 1.76666665, 0)
  185. kill.Size = UDim2.new(0, 134, 0, 40)
  186. kill.Font = Enum.Font.SourceSansLight
  187. kill.Text = "Kill"
  188. kill.TextColor3 = Color3.new(1, 1, 1)
  189. kill.TextSize = 23
  190.  
  191. btools.Name = "btools"
  192. btools.Parent = top
  193. btools.BackgroundColor3 = Color3.new(0.67451, 0.67451, 0.67451)
  194. btools.BackgroundTransparency = 0.5
  195. btools.BorderSizePixel = 0
  196. btools.Position = UDim2.new(0.525773168, 0, 1.76666665, 0)
  197. btools.Size = UDim2.new(0, 131, 0, 40)
  198. btools.Font = Enum.Font.SourceSansLight
  199. btools.Text = "Rtools"
  200. btools.TextColor3 = Color3.new(1, 1, 1)
  201. btools.TextSize = 23
  202.  
  203. top_2.Name = "top"
  204. top_2.Parent = top
  205. top_2.BackgroundColor3 = Color3.new(1, 1, 1)
  206. top_2.BackgroundTransparency = 1
  207. top_2.Position = UDim2.new(0.154639184, 0, -0.333333343, 0)
  208. top_2.Size = UDim2.new(0, 200, 0, 50)
  209. top_2.Font = Enum.Font.SourceSansLight
  210. top_2.Text = "Harked"
  211. top_2.TextColor3 = Color3.new(1, 1, 1)
  212. top_2.TextSize = 45
  213.  
  214. naked.Name = "naked"
  215. naked.Parent = top
  216. naked.BackgroundColor3 = Color3.new(0.67451, 0.67451, 0.67451)
  217. naked.BackgroundTransparency = 0.5
  218. naked.BorderSizePixel = 0
  219. naked.Position = UDim2.new(0.0206185561, 0, 3.56217241, 0)
  220. naked.Size = UDim2.new(0, 134, 0, 40)
  221. naked.Font = Enum.Font.SourceSansLight
  222. naked.Text = "Naked"
  223. naked.TextColor3 = Color3.new(1, 1, 1)
  224. naked.TextSize = 23
  225.  
  226. credits.Name = "credits"
  227. credits.Parent = top
  228. credits.BackgroundColor3 = Color3.new(1, 1, 1)
  229. credits.BackgroundTransparency = 1
  230. credits.Position = UDim2.new(0, 0, 1, 0)
  231. credits.Size = UDim2.new(0, 291, 0, 23)
  232. credits.Font = Enum.Font.SourceSansLight
  233. credits.Text = "Commands/Scripts by Dong , UI by Unverified"
  234. credits.TextColor3 = Color3.new(1, 1, 1)
  235. credits.TextSize = 17
  236. credits.TextWrapped = true
  237.  
  238. hatless.Name = "hatless"
  239. hatless.Parent = top
  240. hatless.BackgroundColor3 = Color3.new(0.67451, 0.67451, 0.67451)
  241. hatless.BackgroundTransparency = 0.5
  242. hatless.BorderSizePixel = 0
  243. hatless.Position = UDim2.new(0.0206185561, 0, 5.39550591, 0)
  244. hatless.Size = UDim2.new(0, 134, 0, 40)
  245. hatless.Font = Enum.Font.SourceSansLight
  246. hatless.Text = "Ball"
  247. hatless.TextColor3 = Color3.new(1, 1, 1)
  248. hatless.TextSize = 23
  249.  
  250. sink.Name = "sink"
  251. sink.Parent = top
  252. sink.BackgroundColor3 = Color3.new(0.67451, 0.67451, 0.67451)
  253. sink.BackgroundTransparency = 0.5
  254. sink.BorderSizePixel = 0
  255. sink.Position = UDim2.new(0.525773168, 0, 5.39550591, 0)
  256. sink.Size = UDim2.new(0, 131, 0, 40)
  257. sink.Font = Enum.Font.SourceSansLight
  258. sink.Text = "Ragdoll"
  259. sink.TextColor3 = Color3.new(1, 1, 1)
  260. sink.TextSize = 23
  261.  
  262. nuke.Name = "nuke"
  263. nuke.Parent = top
  264. nuke.BackgroundColor3 = Color3.new(0.67451, 0.67451, 0.67451)
  265. nuke.BackgroundTransparency = 0.5
  266. nuke.BorderSizePixel = 0
  267. nuke.Position = UDim2.new(0.525773168, 0, 7.1955061, 0)
  268. nuke.Size = UDim2.new(0, 131, 0, 40)
  269. nuke.Font = Enum.Font.SourceSansLight
  270. nuke.Text = "Clear Queue"
  271. nuke.TextColor3 = Color3.new(1, 1, 1)
  272. nuke.TextSize = 23
  273.  
  274. kick.Name = "kick"
  275. kick.Parent = top
  276. kick.BackgroundColor3 = Color3.new(0.67451, 0.67451, 0.67451)
  277. kick.BackgroundTransparency = 0.5
  278. kick.BorderSizePixel = 0
  279. kick.Position = UDim2.new(0.0206185561, 0, 7.1955061, 0)
  280. kick.Size = UDim2.new(0, 134, 0, 40)
  281. kick.Font = Enum.Font.SourceSansLight
  282. kick.Text = "Kick"
  283. kick.TextColor3 = Color3.new(1, 1, 1)
  284. kick.TextSize = 23
  285.  
  286. target.Name = "target"
  287. target.Parent = top
  288. target.BackgroundColor3 = Color3.new(0.67451, 0.67451, 0.67451)
  289. target.BackgroundTransparency = 0.40000000596046
  290. target.Position = UDim2.new(0.0206185561, 0, 8.86666584, 0)
  291. target.Size = UDim2.new(0, 278, 0, 33)
  292. target.Font = Enum.Font.SourceSans
  293. target.Text = ""
  294. target.TextColor3 = Color3.new(1, 1, 1)
  295. target.TextSize = 23
  296.  
  297. queue.Name = "queue"
  298. queue.Parent = top
  299. queue.BackgroundColor3 = Color3.new(1, 1, 1)
  300. queue.BackgroundTransparency = 1
  301. queue.Position = UDim2.new(0.15463917, 0, 10.0333328, 0)
  302. queue.Size = UDim2.new(0, 201, 0, 23)
  303. queue.Font = Enum.Font.SourceSans
  304. queue.Text = "Replication Queue: 0"
  305. queue.TextColor3 = Color3.new(1, 0, 0.0156863)
  306. queue.TextSize = 20
  307. queue.TextWrapped = true
  308.  
  309. nolimbs.Name = "nolimbs"
  310. nolimbs.Parent = top
  311. nolimbs.BackgroundColor3 = Color3.new(0.67451, 0.67451, 0.67451)
  312. nolimbs.BackgroundTransparency = 0.5
  313. nolimbs.BorderSizePixel = 0
  314. nolimbs.Position = UDim2.new(0.525773168, 0, 3.56217265, 0)
  315. nolimbs.Size = UDim2.new(0, 131, 0, 40)
  316. nolimbs.Font = Enum.Font.SourceSansLight
  317. nolimbs.Text = "Box"
  318. nolimbs.TextColor3 = Color3.new(1, 1, 1)
  319. nolimbs.TextSize = 23
  320.  
  321. -- SLAVE'S WORK --
  322.  
  323. for i,slaves in pairs(game:GetDescendants()) do
  324. if slaves.Name == "DestroySegway" then
  325. print("no u")
  326.  
  327. kill.MouseButton1Down:connect(function()
  328. if string.lower(target.Text) == "all" then
  329. for i,c in pairs(game.Players:GetPlayers()) do
  330. ohok = c.Character["Head"]
  331. slaves:FireServer(ohok, {Value = ohok})
  332. end
  333. else
  334. if game.Players:FindFirstChild(target.Text) then
  335. if game.Players:FindFirstChild(target.Text).Character then
  336. slaves:FireServer(game.Players:FindFirstChild(target.Text).Character.Head, {Value = game.Players:FindFirstChild(target.Text).Character.Head}) else
  337. print("nibba who this")
  338.  
  339. end
  340.  
  341.  
  342. end
  343.  
  344. end
  345. end)
  346.  
  347. btools.MouseButton1Down:connect(function()
  348. local Tool = Instance.new("Tool",game.Players.LocalPlayer.Backpack)
  349. local Equipped = false
  350.  
  351. Tool.RequiresHandle = false
  352. Tool.Name = "Destroy Tool"
  353. local Field = Instance.new("SelectionBox",game.Workspace)
  354. local Mouse = game.Players.LocalPlayer:GetMouse()
  355. Field.LineThickness = 0.1
  356.  
  357. Tool.Equipped:connect(function()
  358. Equipped = true
  359.  
  360. while Equipped == true do
  361. if Mouse.Target ~= nil then
  362. Field.Adornee = Mouse.Target
  363.  
  364. else
  365. Field.Adornee = nil
  366. end
  367. wait()
  368. end
  369. end)
  370.  
  371.  
  372. Tool.Unequipped:connect(function()
  373. Equipped = false
  374. Field.Adornee = nil
  375. end)
  376.  
  377. Tool.Activated:connect(function()
  378. if Mouse.Target ~= nil then
  379. slaves:FireServer(Mouse.Target, {Value = Mouse.Target})
  380. local AttemptTarget = Mouse.Target
  381. while AttemptTarget ~= nil do
  382. AttemptTarget.Velocity = Vector3.new(0,-1000000000000000,0)
  383. AttemptTarget.CanCollide = false
  384. wait()
  385. end
  386.  
  387. end
  388. end)
  389. end)
  390.  
  391. naked.MouseButton1Down:connect(function()
  392. if string.lower(target.Text) == "all" then
  393. for i,c in pairs(game.Players:GetPlayers()) do
  394. ohok = c.Character.Shirt
  395. ohoka = c.Character.Pants
  396. slaves:FireServer(ohok, {Value = ohok})
  397. slaves:FireServer(ohoka, {Value = ohoka})
  398. end
  399. else
  400. slaves:FireServer(game.Players:FindFirstChild(target.Text).Character.Shirt, {Value = game.Players:FindFirstChild(target.Text).Character.Shirt})
  401. slaves:FireServer(game.Players:FindFirstChild(target.Text).Character.Pants, {Value = game.Players:FindFirstChild(target.Text).Character.Pants})
  402. end
  403. end)
  404.  
  405. nolimbs.MouseButton1Down:connect(function()
  406. if string.lower(target.Text) == "all" then
  407. for i,c in pairs(game.Players:GetPlayers()) do
  408. ohok = c.Character["Head"].Mesh
  409. ohok = c.Character["Right Arm"]
  410. ohoka = c.Character["Left Arm"]
  411. ohokb = c.Character["Right Leg"]
  412. ohokc = c.Character["Left Leg"]
  413. slaves:FireServer(ohok, {Value = ohok})
  414. slaves:FireServer(ohoka, {Value = ohoka})
  415. slaves:FireServer(ohokb, {Value = ohokb})
  416. slaves:FireServer(ohokc, {Value = ohokc})
  417. end
  418. else
  419. slaves:FireServer(game.Players:FindFirstChild(target.Text).Character["Head"].Mesh, {Value = game.Players:FindFirstChild(target.Text).Character["Head"].Mesh})
  420. slaves:FireServer(game.Players:FindFirstChild(target.Text).Character["Right Arm"], {Value = game.Players:FindFirstChild(target.Text).Character["Right Arm"]})
  421. slaves:FireServer(game.Players:FindFirstChild(target.Text).Character["Right Leg"], {Value = game.Players:FindFirstChild(target.Text).Character["Right Leg"]})
  422. slaves:FireServer(game.Players:FindFirstChild(target.Text).Character["Left Arm"], {Value = game.Players:FindFirstChild(target.Text).Character["Left Arm"]})
  423. slaves:FireServer(game.Players:FindFirstChild(target.Text).Character["Left Leg"], {Value = game.Players:FindFirstChild(target.Text).Character["Left Leg"]})
  424. end
  425. end)
  426.  
  427. hatless.MouseButton1Down:connect(function()
  428. if string.lower(target.Text) == "all" then
  429. for i,x in pairs(game.Players:GetPlayers()) do
  430. for i,c in pairs(x.Character:GetChildren()) do
  431. if c:IsA("Accessory") then
  432. ohok = c
  433. slaves:FireServer(ohok, {Value = ohok})
  434.  
  435. end
  436. end
  437. end
  438. else
  439. for i, hats in pairs(game.Players:FindFirstChild(target.Text).Character:GetChildren()) do
  440. if hats:IsA("Accessory") then
  441. slaves:FireServer(hats, {Value = hats })
  442. end
  443. end
  444. end
  445. end)
  446.  
  447. sink.MouseButton1Down:connect(function()
  448. if string.lower(target.Text) == "all" then
  449. for i,c in pairs(game.Players:GetPlayers()) do
  450. ohok = c.Character.HumanoidRootPart
  451. slaves:FireServer(ohok, {Value = ohok})
  452. end
  453. else
  454. slaves:FireServer(game.Players:FindFirstChild(target.Text).Character["HumanoidRootPart"], {Value = game.Players:FindFirstChild(target.Text).Character["HumanoidRootPart"]})
  455. end
  456. end)
  457.  
  458. kick.MouseButton1Down:connect(function()
  459. if string.lower(target.Text) == "all" then
  460. for i,c in pairs(game.Players:GetPlayers()) do
  461. ohok = c
  462. slaves:FireServer(ohok, {Value = ohok})
  463. end
  464. else
  465. slaves:FireServer(game.Players:FindFirstChild(target.Text), {Value = game.Players:FindFirstChild(target.Text)})
  466. end
  467. end)
  468.  
  469. nuke.MouseButton1Down:connect(function()
  470. for i,c in pairs(game.Workspace:GetChildren()) do
  471. ohok = c
  472. slaves:FireServer(ohok, {Value = ohok})
  473. end
  474. end)
  475.  
  476. end
  477. end
Add Comment
Please, Sign In to add comment