Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- This script has been converted to FE by iPxter
- if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
- local Player,Mouse,mouse,UserInputService,ContextActionService = owner
- do
- print("FE Compatibility code by Mokiros | Translated to FE by iPxter")
- script.Parent = Player.Character
- --RemoteEvent for communicating
- local Event = Instance.new("RemoteEvent")
- Event.Name = "UserInput_Event"
- --Fake event to make stuff like Mouse.KeyDown work
- local function fakeEvent()
- local t = {_fakeEvent=true,Connect=function(self,f)self.Function=f end}
- t.connect = t.Connect
- return t
- end
- --Creating fake input objects with fake variables
- local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()}
- local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
- local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
- CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
- end}
- --Merged 2 functions into one by checking amount of arguments
- CAS.UnbindAction = CAS.BindAction
- --This function will trigger the events that have been :Connect()'ed
- local function te(self,ev,...)
- local t = m[ev]
- if t and t._fakeEvent and t.Function then
- t.Function(...)
- end
- end
- m.TrigEvent = te
- UIS.TrigEvent = te
- Event.OnServerEvent:Connect(function(plr,io)
- if plr~=Player then return end
- if io.isMouse then
- m.Target = io.Target
- m.Hit = io.Hit
- else
- local b = io.UserInputState == Enum.UserInputState.Begin
- if io.UserInputType == Enum.UserInputType.MouseButton1 then
- return m:TrigEvent(b and "Button1Down" or "Button1Up")
- end
- for _,t in pairs(CAS.Actions) do
- for _,k in pairs(t.Keys) do
- if k==io.KeyCode then
- t.Function(t.Name,io.UserInputState,io)
- end
- end
- end
- m:TrigEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower())
- UIS:TrigEvent(b and "InputBegan" or "InputEnded",io,false)
- end
- end)
- Event.Parent = NLS([==[
- local Player = owner
- local Event = script:WaitForChild("UserInput_Event")
- local UIS = game:GetService("UserInputService")
- local input = function(io,a)
- if a then return end
- --Since InputObject is a client-side instance, we create and pass table instead
- Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState})
- end
- UIS.InputBegan:Connect(input)
- UIS.InputEnded:Connect(input)
- local Mouse = owner
- local h,t
- --Give the server mouse data 30 times every second, but only if the values changed
- --If player is not moving their mouse, client won't fire events
- while wait(1/30) do
- if h~=Mouse.Hit or t~=Mouse.Target then
- h,t=Mouse.Hit,Mouse.Target
- Event:FireServer({isMouse=true,Target=t,Hit=h})
- end
- end]==],Player.Character)
- Mouse,mouse,UserInputService,ContextActionService = m,m,UIS,CAS
- end
- local Player = owner
- local Character = Player.Character
- local yeye = Instance.new("ScreenGui")
- local mhm = Instance.new("Frame")
- local Hitypical = Instance.new("TextButton")
- local hax = Instance.new("TextLabel")
- local asd = Instance.new("TextBox")
- local Close = Instance.new("TextButton")
- local Opener = Instance.new("Frame")
- local Open = Instance.new("TextButton")
- local debounce = false
- yeye.Name = "yeye"
- yeye.Parent = owner
- mhm.Name = "mhm"
- mhm.Parent = yeye
- mhm.BackgroundColor3 = Color3.new(0, 0, 0)
- mhm.BackgroundTransparency = 0.5
- mhm.Position = UDim2.new(0, 0, 0.292008191, 0)
- mhm.Size = UDim2.new(0, 320, 0, 191)
- mhm.Visible = false
- Hitypical.Name = "Hitypical"
- Hitypical.Parent = mhm
- Hitypical.BackgroundColor3 = Color3.new(0, 0, 0)
- Hitypical.BackgroundTransparency = 0.5
- Hitypical.Position = UDim2.new(0.186669305, 0, 0.712777793, 0)
- Hitypical.Size = UDim2.new(0, 200, 0, 29)
- Hitypical.Font = Enum.Font.SciFi
- Hitypical.FontSize = Enum.FontSize.Size28
- Hitypical.Text = "kill player"
- Hitypical.TextColor3 = Color3.new(0, 1, 1)
- Hitypical.TextSize = 27
- hax.Name = "hax"
- hax.Parent = mhm
- hax.BackgroundColor3 = Color3.new(0, 0, 0)
- hax.BackgroundTransparency = 0.5
- hax.Position = UDim2.new(0, 0, 0.129015952, 0)
- hax.Size = UDim2.new(0, 314, 0, 43)
- hax.Font = Enum.Font.SciFi
- hax.FontSize = Enum.FontSize.Size24
- hax.Text = "Death Note"
- hax.TextColor3 = Color3.new(0, 1, 1)
- hax.TextSize = 19
- asd.Name = "asd"
- asd.Parent = mhm
- asd.BackgroundColor3 = Color3.new(0, 0, 0)
- asd.BackgroundTransparency = 0.5
- asd.Position = UDim2.new(0.186669305, 0, 0.418627203, 0)
- asd.Size = UDim2.new(0, 200, 0, 44)
- asd.Font = Enum.Font.SciFi
- asd.FontSize = Enum.FontSize.Size28
- asd.Text = "Username"
- asd.TextColor3 = Color3.new(0, 1, 1)
- asd.TextSize = 28
- Close.Name = "Close"
- Close.Parent = mhm
- Close.BackgroundColor3 = Color3.new(1, 0, 0)
- Close.BackgroundTransparency = 0.40000000596046
- Close.Position = UDim2.new(0.9375, 0, 0, 0)
- Close.Size = UDim2.new(0, 20, 0, 17)
- Close.Font = Enum.Font.SourceSans
- Close.FontSize = Enum.FontSize.Size14
- Close.Text = ""
- Close.TextSize = 14
- Opener.Name = "Opener"
- Opener.Parent = yeye
- Opener.BackgroundColor3 = Color3.new(0, 0, 0)
- Opener.BackgroundTransparency = 0.5
- Opener.Position = UDim2.new(0, 0, 0.497950822, 0)
- Opener.Size = UDim2.new(0, 173, 0, 30)
- Open.Name = "Open"
- Open.Parent = Opener
- Open.BackgroundColor3 = Color3.new(0, 0, 0)
- Open.BackgroundTransparency = 0.5
- Open.Size = UDim2.new(0, 173, 0, 30)
- Open.Font = Enum.Font.SciFi
- Open.FontSize = Enum.FontSize.Size24
- Open.Text = "Open"
- Open.TextColor3 = Color3.new(0, 1, 1)
- Open.TextSize = 20
- Open.MouseButton1Down:connect(function()
- mhm.Visible = true
- Opener.Visible = false
- end)
- Close.MouseButton1Down:connect(function()
- mhm.Visible = false
- Opener.Visible = true
- end)
- Hitypical.MouseButton1Down:connect(function()
- --[[
- Created by Talha/Perry. Please do not leak thanks.
- --]]
- game.Lighting.OutdoorAmbient = Color3.new(127, 127, 127)
- local victim = game.Players.LocalPlayer.PlayerGui.yeye.mhm.asd.Text -- victim
- -- xd
- ---yiowh45 = game:GetObjects("rbxassetid://1008107388")[1] -- Place
- --yiowh45.Parent = workspace
- local lmao = Instance.new("Sound")
- lmao.Parent = workspace
- lmao.Volume = 1
- lmao.SoundId = "http://www.roblox.com/asset/?id=154906412"
- lmao.Looped = true
- lmao.Pitch = 1
- lmao:Play()
- local cam = workspace.CurrentCamera
- -----workspace.asdfghjm.Van:MakeJoints()
- -----workspace.asdfghjm.Van["KZ CV-150"].RW:MakeJoints()
- -----workspace.asdfghjm.Van["KZ CV-150"].LW:MakeJoints()
- -----workspace.asdfghjm.Van["KZ CV-150"].Body:MakeJoints()
- --game.Players[victim].Character.Humanoid.WalkSpeed = 1
- --game.Players[victim].Character.Humanoid.JumpPower = 1
- cam.CameraSubject = game.Players[victim].Character.Humanoid
- cam.CameraType = "Follow"
- wait(5)
- --workspace[victim].HumanoidRootPart.CFrame = game.--workspace.asdfghjm.Van["KZ CV-150"].Body.Lmao.CFrame
- --cam.CameraSubject = --workspace.asdfghjm.nuuuuu
- --workspace[victim].HumanoidRootPart.CFrame = --workspace.asdfghjm.Chair.Sit.CFrame
- game.Players[victim].Character.Humanoid.WalkSpeed = 0
- game.Players[victim].Character.Humanoid.JumpPower = 0
- wait(23)
- local asd = Instance.new("Sound")
- asd.Parent = workspace
- asd.SoundId = "rbxassetid://181369669"
- asd.Looped = false
- asd.Volume = 10
- asd.Pitch = 1
- asd:Play()
- for i = 0,15,5 do
- ----workspace.asdfghjm.hmmhm:TranslateBy(Vector3.new(0,0,-1))
- wait()
- end
- 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
- wait(3)
- game.Players[victim].Character.Humanoid.Health = 0
- asd:Remove()
- wait(2)
- lmao:Remove()
- --workspace.asdfghjm:Remove()-- Objects
- cam.CameraSubject = game.Players.LocalPlayer.Character.Humanoid
- cam.CameraType = "Custom"
- end)
- warn([[Gui script Edited by Mrmark9
- Please do not leak this script.]])
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement