Advertisement
xxtheadmincreatorxx

Stuff

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