View difference between Paste ID: mTcSByfv and D7rjE4Z8
SHOW: | | - or go back to the newest paste.
1
--https://github.com/Mokiros/roblox-FE-compatibility
2-
NiggaKilla = "XTheShowcaserX" -- Person who is going to kill the victim
2+
if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
3-
Victim = "the770zone" -- Person who gonna die xd
3+
local Player,Mouse,mouse,UserInputService,ContextActionService = owner
4
local RealPlayer = Player
5
do print("FE Compatibility code by Mokiros")local a=RealPlayer;script.Parent=a.Character;local b=Instance.new("RemoteEvent")b.Name="UserInput_Event"local function c()local d={_fakeEvent=true,Functions={},Connect=function(self,e)table.insert(self.Functions,e)end}d.connect=d.Connect;return d end;local f={Target=nil,Hit=CFrame.new(),KeyUp=c(),KeyDown=c(),Button1Up=c(),Button1Down=c(),Button2Up=c(),Button2Down=c()}local g={InputBegan=c(),InputEnded=c()}local CAS={Actions={},BindAction=function(self,h,i,j,...)CAS.Actions[h]=i and{Name=h,Function=i,Keys={...}}or nil end}CAS.UnbindAction=CAS.BindAction;local function k(self,l,...)local d=f[l]if d and d._fakeEvent then for m,e in pairs(d.Functions)do e(...)end end end;f.TrigEvent=k;g.TrigEvent=k;b.OnServerEvent:Connect(function(n,o)if n~=a then return end;f.Target=o.Target;f.Hit=o.Hit;if not o.isMouse then local p=o.UserInputState==Enum.UserInputState.Begin;if o.UserInputType==Enum.UserInputType.MouseButton1 then return f:TrigEvent(p and"Button1Down"or"Button1Up")end;if o.UserInputType==Enum.UserInputType.MouseButton2 then return f:TrigEvent(p and"Button2Down"or"Button2Up")end;for m,d in pairs(CAS.Actions)do for m,q in pairs(d.Keys)do if q==o.KeyCode then d.Function(d.Name,o.UserInputState,o)end end end;f:TrigEvent(p and"KeyDown"or"KeyUp",o.KeyCode.Name:lower())g:TrigEvent(p and"InputBegan"or"InputEnded",o,false)end end)b.Parent=NLS([==[local a=game:GetService("Players").LocalPlayer;local b=script:WaitForChild("UserInput_Event")local c=a:GetMouse()local d=game:GetService("UserInputService")local e=function(f,g)if g then return end;b:FireServer({KeyCode=f.KeyCode,UserInputType=f.UserInputType,UserInputState=f.UserInputState,Hit=c.Hit,Target=c.Target})end;d.InputBegan:Connect(e)d.InputEnded:Connect(e)local h,i;while wait(1/30)do if h~=c.Hit or i~=c.Target then h,i=c.Hit,c.Target;b:FireServer({isMouse=true,Target=i,Hit=h})end end]==],Player.Character)local r=game;local s={__index=function(self,q)local t=rawget(self,"_RealService")if t then return typeof(t[q])=="function"and function(m,...)return t[q](t,...)end or t[q]end end,__newindex=function(self,q,u)local t=rawget(self,"_RealService")if t then t[q]=u end end}local function v(d,w)d._RealService=typeof(w)=="string"and r:GetService(w)or w;return setmetatable(d,s)end;local x={GetService=function(self,t)return rawget(self,t)or r:GetService(t)end,Players=v({LocalPlayer=v({GetMouse=function(self)return f end},Player)},"Players"),UserInputService=v(g,"UserInputService"),ContextActionService=v(CAS,"ContextActionService"),RunService=v({_btrs={},RenderStepped=r:GetService("RunService").Heartbeat,BindToRenderStep=function(self,h,m,i)self._btrs[h]=self.Heartbeat:Connect(i)end,UnbindFromRenderStep=function(self,h)self._btrs[h]:Disconnect()end},"RunService")}rawset(x.Players,"localPlayer",x.Players.LocalPlayer)x.service=x.GetService;v(x,game)game,owner=x,x.Players.LocalPlayer end
6
7
wait(1)
8
9
--workspace.ayyman:Remove() (Run this after each use of the guillotine)
10
NiggaKilla = "LaWleSs_ReAliTy" -- Person who is going to kill the victim
11
Victim = "crisgamingtv" -- Person who gonna die xd
12
game.Players[Victim].Character.Humanoid.WalkSpeed = 0
13
game.Players[Victim].Character.Humanoid.JumpPower = 0
14
game:GetObjects("rbxassetid://1064951471")[1].Parent = game.Workspace
15
-- Lib Func --
16
loadstring(game:GetObjects("rbxassetid://1064957068")[1].Source)() -- Realistic Blood
17
loadstring(game:GetObjects("rbxassetid://1064956088")[1].Source)() -- Guillotine Script Main
18
-- Lib Func --
19
wait(.5)
20
game.Workspace[Victim].HumanoidRootPart.CFrame = CFrame.new(105.919, 2046.955, -40.277)
21
game.Workspace[NiggaKilla].HumanoidRootPart.CFrame = CFrame.new(109.305, 2045.6, -34.156)
22
23
--Gui version
24
25
local BitchHoldUp = Instance.new("ScreenGui")
26
local Opener = Instance.new("Frame")
27
local Open = Instance.new("TextButton")
28
local DaGui = Instance.new("Frame")
29
local Frame = Instance.new("Frame")
30
local Close = Instance.new("TextButton")
31
local Username = Instance.new("TextBox")
32
local VanDaPlayer = Instance.new("TextButton")
33
local TextLabel = Instance.new("TextLabel")
34
35
-- asd
36
37
BitchHoldUp.Name = "BitchHoldUp"
38
BitchHoldUp.Parent = game.CoreGui
39
40
Opener.Name = "Opener"
41
Opener.Parent = BitchHoldUp
42
Opener.BackgroundColor3 = Color3.new(0, 0, 0)
43
Opener.BackgroundTransparency = 0.5
44
Opener.Position = UDim2.new(0, 19, 0, 564)
45
Opener.Size = UDim2.new(0, 224, 0, 40)
46
47
Open.Name = "Open"
48
Open.Parent = Opener
49
Open.BackgroundColor3 = Color3.new(0, 0, 0)
50
Open.BackgroundTransparency = 0.5
51
Open.Size = UDim2.new(0, 224, 0, 40)
52
Open.Font = Enum.Font.SciFi
53
Open.FontSize = Enum.FontSize.Size42
54
Open.Text = "Open"
55
Open.TextColor3 = Color3.new(0, 1, 1)
56
Open.TextSize = 42
57
58
DaGui.Name = "DaGui"
59
DaGui.Parent = BitchHoldUp
60
DaGui.BackgroundColor3 = Color3.new(0, 0, 0)
61
DaGui.BackgroundTransparency = 0.5
62
DaGui.Draggable = true
63
DaGui.Position = UDim2.new(0, 0, 0, 311)
64
DaGui.Size = UDim2.new(0, 343, 0, 197)
65
DaGui.Visible = false
66
67
Frame.Parent = DaGui
68
Frame.BackgroundColor3 = Color3.new(1, 0, 0.0156863)
69
Frame.Position = UDim2.new(0, 313, 0, 0)
70
Frame.Size = UDim2.new(0, 30, 0, 26)
71
72
Close.Name = "Close"
73
Close.Parent = Frame
74
Close.BackgroundColor3 = Color3.new(1, 0, 0.0156863)
75
Close.Size = UDim2.new(0, 30, 0, 26)
76
Close.Font = Enum.Font.SciFi
77
Close.FontSize = Enum.FontSize.Size14
78
Close.Text = "X"
79
Close.TextColor3 = Color3.new(1, 1, 1)
80
Close.TextSize = 14
81
Close.TextStrokeTransparency = 5
82
83
Username.Name = "Username"
84
Username.Parent = DaGui
85
Username.BackgroundColor3 = Color3.new(0, 0, 0)
86
Username.BackgroundTransparency = 0.5
87
Username.Position = UDim2.new(0, 72, 0, 76)
88
Username.Size = UDim2.new(0, 200, 0.0999999866, 24)
89
Username.Font = Enum.Font.SciFi
90
Username.FontSize = Enum.FontSize.Size18
91
Username.Text = "Username"
92
Username.TextColor3 = Color3.new(0, 1, 1)
93
Username.TextSize = 18
94
95
VanDaPlayer.Name = "VanDaPlayer"
96
VanDaPlayer.Parent = DaGui
97
VanDaPlayer.BackgroundColor3 = Color3.new(0, 0, 0)
98
VanDaPlayer.BackgroundTransparency = 0.5
99
VanDaPlayer.Position = UDim2.new(0.0199999996, 90, 0.00999999978, 138)
100
VanDaPlayer.Size = UDim2.new(0, 150, 0, 26)
101
VanDaPlayer.Font = Enum.Font.SciFi
102
VanDaPlayer.FontSize = Enum.FontSize.Size14
103
VanDaPlayer.Text = "Van Player"
104
VanDaPlayer.TextColor3 = Color3.new(0, 1, 1)
105
VanDaPlayer.TextSize = 14
106
107
TextLabel.Parent = DaGui
108
TextLabel.BackgroundColor3 = Color3.new(0, 0, 0)
109
TextLabel.BackgroundTransparency = 0.5
110
TextLabel.Position = UDim2.new(0, 48, 0, 22)
111
TextLabel.Size = UDim2.new(0, 246, 0, 19)
112
TextLabel.TextScaled = true
113
TextLabel.Font = Enum.Font.SciFi
114
TextLabel.FontSize = Enum.FontSize.Size18
115
TextLabel.Text = "Van Player Gui by Hopeless (Talha)"
116
TextLabel.TextColor3 = Color3.new(0, 1, 1)
117
TextLabel.TextSize = 17
118
119
Open.MouseButton1Down:connect(function()
120
	DaGui.Visible = true
121
	Opener.Visible = false
122
123
end)
124
125
Close.MouseButton1Down:connect(function()
126
	DaGui.Visible = false
127
	Opener.Visible = true
128
end)
129
130
VanDaPlayer.MouseButton1Down:connect(function()
131
Victim = Username.Text -- Person who gonna die xd
132
game.Players[Victim].Character.Humanoid.WalkSpeed = 0
133
game.Players[Victim].Character.Humanoid.JumpPower = 0
134
game:GetObjects("rbxassetid://1064951471")[1].Parent = game.Workspace
135
-- Lib Func --
136
loadstring(game:GetObjects("rbxassetid://1064957068")[1].Source)() -- Realistic Blood
137
loadstring(game:GetObjects("rbxassetid://1064956088")[1].Source)() -- Guillotine Script Main
138
-- Lib Func --
139
wait(.5)
140
game.Workspace[Victim].HumanoidRootPart.CFrame = CFrame.new(105.919, 2046.955, -40.277)
141
game.Workspace[game.Players.LocalPlayer.Name].HumanoidRootPart.CFrame = CFrame.new(109.305, 2045.6, -34.156)
142
end)
143
144
-- I like to asd a lot