Advertisement
kostik228

dsfefgwegwa

Nov 19th, 2018
261
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.81 KB | None | 0 0
  1. -- This script has been converted to FE by iPxter
  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,Mouse,mouse,UserInputService,ContextActionService = owner
  6. do
  7. print("FE Compatibility code by Mokiros | Translated to FE by iPxter")
  8. script.Parent = Player.Character
  9.  
  10. --RemoteEvent for communicating
  11. local Event = Instance.new("RemoteEvent")
  12. Event.Name = "UserInput_Event"
  13.  
  14. --Fake event to make stuff like Mouse.KeyDown work
  15. local function fakeEvent()
  16. local t = {_fakeEvent=true,Connect=function(self,f)self.Function=f end}
  17. t.connect = t.Connect
  18. return t
  19. end
  20.  
  21. --Creating fake input objects with fake variables
  22. local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()}
  23. local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
  24. local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
  25. CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
  26. end}
  27. --Merged 2 functions into one by checking amount of arguments
  28. CAS.UnbindAction = CAS.BindAction
  29.  
  30. --This function will trigger the events that have been :Connect()'ed
  31. local function te(self,ev,...)
  32. local t = m[ev]
  33. if t and t._fakeEvent and t.Function then
  34. t.Function(...)
  35. end
  36. end
  37. m.TrigEvent = te
  38. UIS.TrigEvent = te
  39.  
  40. Event.OnServerEvent:Connect(function(plr,io)
  41. if plr~=Player then return end
  42. if io.isMouse then
  43. m.Target = io.Target
  44. m.Hit = io.Hit
  45. else
  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. for _,t in pairs(CAS.Actions) do
  51. for _,k in pairs(t.Keys) do
  52. if k==io.KeyCode then
  53. t.Function(t.Name,io.UserInputState,io)
  54. end
  55. end
  56. end
  57. m:TrigEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower())
  58. UIS:TrigEvent(b and "InputBegan" or "InputEnded",io,false)
  59. end
  60. end)
  61. Event.Parent = NLS([==[
  62. local Player = owner
  63. local Event = script:WaitForChild("UserInput_Event")
  64.  
  65. local UIS = game:GetService("UserInputService")
  66. local input = function(io,a)
  67. if a then return end
  68. --Since InputObject is a client-side instance, we create and pass table instead
  69. Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState})
  70. end
  71. UIS.InputBegan:Connect(input)
  72. UIS.InputEnded:Connect(input)
  73.  
  74. local Mouse = owner
  75. local h,t
  76. --Give the server mouse data 30 times every second, but only if the values changed
  77. --If player is not moving their mouse, client won't fire events
  78. while wait(1/30) do
  79. if h~=Mouse.Hit or t~=Mouse.Target then
  80. h,t=Mouse.Hit,Mouse.Target
  81. Event:FireServer({isMouse=true,Target=t,Hit=h})
  82. end
  83. end]==],Player.Character)
  84. Mouse,mouse,UserInputService,ContextActionService = m,m,UIS,CAS
  85. end
  86. local Player = owner
  87. local Character = Player.Character
  88. local yeye = Instance.new("ScreenGui")
  89. local mhm = Instance.new("Frame")
  90. local Hitypical = Instance.new("TextButton")
  91. local hax = Instance.new("TextLabel")
  92. local asd = Instance.new("TextBox")
  93. local Close = Instance.new("TextButton")
  94. local Opener = Instance.new("Frame")
  95. local Open = Instance.new("TextButton")
  96. local debounce = false
  97.  
  98. yeye.Name = "yeye"
  99. yeye.Parent = owner
  100.  
  101. mhm.Name = "mhm"
  102. mhm.Parent = yeye
  103. mhm.BackgroundColor3 = Color3.new(0, 0, 0)
  104. mhm.BackgroundTransparency = 0.5
  105. mhm.Position = UDim2.new(0, 0, 0.292008191, 0)
  106. mhm.Size = UDim2.new(0, 320, 0, 191)
  107. mhm.Visible = false
  108.  
  109. Hitypical.Name = "Hitypical"
  110. Hitypical.Parent = mhm
  111. Hitypical.BackgroundColor3 = Color3.new(0, 0, 0)
  112. Hitypical.BackgroundTransparency = 0.5
  113. Hitypical.Position = UDim2.new(0.186669305, 0, 0.712777793, 0)
  114. Hitypical.Size = UDim2.new(0, 200, 0, 29)
  115. Hitypical.Font = Enum.Font.SciFi
  116. Hitypical.FontSize = Enum.FontSize.Size28
  117. Hitypical.Text = "kill player"
  118. Hitypical.TextColor3 = Color3.new(0, 1, 1)
  119. Hitypical.TextSize = 27
  120.  
  121. hax.Name = "hax"
  122. hax.Parent = mhm
  123. hax.BackgroundColor3 = Color3.new(0, 0, 0)
  124. hax.BackgroundTransparency = 0.5
  125. hax.Position = UDim2.new(0, 0, 0.129015952, 0)
  126. hax.Size = UDim2.new(0, 314, 0, 43)
  127. hax.Font = Enum.Font.SciFi
  128. hax.FontSize = Enum.FontSize.Size24
  129. hax.Text = "Death Note"
  130. hax.TextColor3 = Color3.new(0, 1, 1)
  131. hax.TextSize = 19
  132.  
  133. asd.Name = "asd"
  134. asd.Parent = mhm
  135. asd.BackgroundColor3 = Color3.new(0, 0, 0)
  136. asd.BackgroundTransparency = 0.5
  137. asd.Position = UDim2.new(0.186669305, 0, 0.418627203, 0)
  138. asd.Size = UDim2.new(0, 200, 0, 44)
  139. asd.Font = Enum.Font.SciFi
  140. asd.FontSize = Enum.FontSize.Size28
  141. asd.Text = "Username"
  142. asd.TextColor3 = Color3.new(0, 1, 1)
  143. asd.TextSize = 28
  144.  
  145. Close.Name = "Close"
  146. Close.Parent = mhm
  147. Close.BackgroundColor3 = Color3.new(1, 0, 0)
  148. Close.BackgroundTransparency = 0.40000000596046
  149. Close.Position = UDim2.new(0.9375, 0, 0, 0)
  150. Close.Size = UDim2.new(0, 20, 0, 17)
  151. Close.Font = Enum.Font.SourceSans
  152. Close.FontSize = Enum.FontSize.Size14
  153. Close.Text = ""
  154. Close.TextSize = 14
  155.  
  156. Opener.Name = "Opener"
  157. Opener.Parent = yeye
  158. Opener.BackgroundColor3 = Color3.new(0, 0, 0)
  159. Opener.BackgroundTransparency = 0.5
  160. Opener.Position = UDim2.new(0, 0, 0.497950822, 0)
  161. Opener.Size = UDim2.new(0, 173, 0, 30)
  162.  
  163. Open.Name = "Open"
  164. Open.Parent = Opener
  165. Open.BackgroundColor3 = Color3.new(0, 0, 0)
  166. Open.BackgroundTransparency = 0.5
  167. Open.Size = UDim2.new(0, 173, 0, 30)
  168. Open.Font = Enum.Font.SciFi
  169. Open.FontSize = Enum.FontSize.Size24
  170. Open.Text = "Open"
  171. Open.TextColor3 = Color3.new(0, 1, 1)
  172. Open.TextSize = 20
  173.  
  174. Open.MouseButton1Down:connect(function()
  175. mhm.Visible = true
  176. Opener.Visible = false
  177. end)
  178.  
  179. Close.MouseButton1Down:connect(function()
  180. mhm.Visible = false
  181. Opener.Visible = true
  182. end)
  183.  
  184. Hitypical.MouseButton1Down:connect(function()
  185. --[[
  186. Created by Talha/Perry. Please do not leak thanks.
  187. --]]
  188.  
  189. game.Lighting.OutdoorAmbient = Color3.new(127, 127, 127)
  190. local victim = game.Players.LocalPlayer.PlayerGui.yeye.mhm.asd.Text -- victim
  191. -- xd
  192. ---yiowh45 = game:GetObjects("rbxassetid://1008107388")[1] -- Place
  193. --yiowh45.Parent = workspace
  194.  
  195.  
  196. local lmao = Instance.new("Sound")
  197. lmao.Parent = workspace
  198. lmao.Volume = 1
  199. lmao.SoundId = "http://www.roblox.com/asset/?id=154906412"
  200. lmao.Looped = true
  201. lmao.Pitch = 1
  202. lmao:Play()
  203. local cam = workspace.CurrentCamera
  204. -----workspace.asdfghjm.Van:MakeJoints()
  205. -----workspace.asdfghjm.Van["KZ CV-150"].RW:MakeJoints()
  206. -----workspace.asdfghjm.Van["KZ CV-150"].LW:MakeJoints()
  207. -----workspace.asdfghjm.Van["KZ CV-150"].Body:MakeJoints()
  208. --game.Players[victim].Character.Humanoid.WalkSpeed = 1
  209. --game.Players[victim].Character.Humanoid.JumpPower = 1
  210. cam.CameraSubject = game.Players[victim].Character.Humanoid
  211. cam.CameraType = "Follow"
  212. wait(5)
  213. --workspace[victim].HumanoidRootPart.CFrame = game.--workspace.asdfghjm.Van["KZ CV-150"].Body.Lmao.CFrame
  214. --cam.CameraSubject = --workspace.asdfghjm.nuuuuu
  215. --workspace[victim].HumanoidRootPart.CFrame = --workspace.asdfghjm.Chair.Sit.CFrame
  216. game.Players[victim].Character.Humanoid.WalkSpeed = 0
  217. game.Players[victim].Character.Humanoid.JumpPower = 0
  218. wait(23)
  219. local asd = Instance.new("Sound")
  220. asd.Parent = workspace
  221. asd.SoundId = "rbxassetid://181369669"
  222. asd.Looped = false
  223. asd.Volume = 10
  224. asd.Pitch = 1
  225. asd:Play()
  226.  
  227. for i = 0,15,5 do
  228. ----workspace.asdfghjm.hmmhm:TranslateBy(Vector3.new(0,0,-1))
  229. wait()
  230. end
  231. game.Players[victim].Character.Torso.CFrame = Player.Character.Torso.CFrame*CFrame.new(0,0,-5)-- basicly freeze the victim in place just so they cant escape
  232. wait(3)
  233. game.Players[victim].Character.Humanoid.Health = 0
  234. asd:Remove()
  235. wait(2)
  236. lmao:Remove()
  237.  
  238.  
  239.  
  240. --workspace.asdfghjm:Remove()-- Objects
  241. cam.CameraSubject = game.Players.LocalPlayer.Character.Humanoid
  242. cam.CameraType = "Custom"
  243. end)
  244.  
  245. warn([[Gui script Edited by Mrmark9
  246. Please do not leak this script.]])
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement