SHOW:
|
|
- or go back to the newest paste.
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 = game:GetService("Players").LocalPlayer | |
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 = Player:GetMouse() | |
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 | ||
87 | ||
88 | --workspace.ayyman:Remove() (Run this after each use of the guillotine) | |
89 | - | NiggaKilla = "XTheShowcaserX" -- Person who is going to kill the victim |
89 | + | NiggaKilla = "zXzGamePROzXz" -- Person who is going to kill the victim |
90 | - | Victim = "StarzoZero" -- Person who gonna die xd |
90 | + | Victim = "Name" -- Person who gonna die xd |
91 | game.Players[Victim].Character.Humanoid.WalkSpeed = 0 | |
92 | game.Players[Victim].Character.Humanoid.JumpPower = 0 | |
93 | game:GetObjects("rbxassetid://1064951471")[1].Parent = game.Workspace | |
94 | -- Lib Func -- | |
95 | loadstring(game:GetObjects("rbxassetid://1064957068")[1].Source)() -- Realistic Blood | |
96 | loadstring(game:GetObjects("rbxassetid://1064956088")[1].Source)() -- Guillotine Script Main | |
97 | -- Lib Func -- | |
98 | wait(.5) | |
99 | game.Workspace[Victim].HumanoidRootPart.CFrame = CFrame.new(105.919, 2046.955, -40.277) | |
100 | game.Workspace[NiggaKilla].HumanoidRootPart.CFrame = CFrame.new(109.305, 2045.6, -34.156) | |
101 | ||
102 | --Gui version | |
103 | ||
104 | local BitchHoldUp = Instance.new("ScreenGui") | |
105 | local Opener = Instance.new("Frame") | |
106 | local Open = Instance.new("TextButton") | |
107 | local DaGui = Instance.new("Frame") | |
108 | local Frame = Instance.new("Frame") | |
109 | local Close = Instance.new("TextButton") | |
110 | local Username = Instance.new("TextBox") | |
111 | local VanDaPlayer = Instance.new("TextButton") | |
112 | local TextLabel = Instance.new("TextLabel") | |
113 | ||
114 | -- asd | |
115 | ||
116 | BitchHoldUp.Name = "BitchHoldUp" | |
117 | BitchHoldUp.Parent = game.CoreGui | |
118 | ||
119 | Opener.Name = "Opener" | |
120 | Opener.Parent = BitchHoldUp | |
121 | Opener.BackgroundColor3 = Color3.new(0, 0, 0) | |
122 | Opener.BackgroundTransparency = 0.5 | |
123 | Opener.Position = UDim2.new(0, 19, 0, 564) | |
124 | Opener.Size = UDim2.new(0, 224, 0, 40) | |
125 | ||
126 | Open.Name = "Open" | |
127 | Open.Parent = Opener | |
128 | Open.BackgroundColor3 = Color3.new(0, 0, 0) | |
129 | Open.BackgroundTransparency = 0.5 | |
130 | Open.Size = UDim2.new(0, 224, 0, 40) | |
131 | Open.Font = Enum.Font.SciFi | |
132 | Open.FontSize = Enum.FontSize.Size42 | |
133 | Open.Text = "Open" | |
134 | Open.TextColor3 = Color3.new(0, 1, 1) | |
135 | Open.TextSize = 42 | |
136 | ||
137 | DaGui.Name = "DaGui" | |
138 | DaGui.Parent = BitchHoldUp | |
139 | DaGui.BackgroundColor3 = Color3.new(0, 0, 0) | |
140 | DaGui.BackgroundTransparency = 0.5 | |
141 | DaGui.Draggable = true | |
142 | DaGui.Position = UDim2.new(0, 0, 0, 311) | |
143 | DaGui.Size = UDim2.new(0, 343, 0, 197) | |
144 | DaGui.Visible = false | |
145 | ||
146 | Frame.Parent = DaGui | |
147 | Frame.BackgroundColor3 = Color3.new(1, 0, 0.0156863) | |
148 | Frame.Position = UDim2.new(0, 313, 0, 0) | |
149 | Frame.Size = UDim2.new(0, 30, 0, 26) | |
150 | ||
151 | Close.Name = "Close" | |
152 | Close.Parent = Frame | |
153 | Close.BackgroundColor3 = Color3.new(1, 0, 0.0156863) | |
154 | Close.Size = UDim2.new(0, 30, 0, 26) | |
155 | Close.Font = Enum.Font.SciFi | |
156 | Close.FontSize = Enum.FontSize.Size14 | |
157 | Close.Text = "X" | |
158 | Close.TextColor3 = Color3.new(1, 1, 1) | |
159 | Close.TextSize = 14 | |
160 | Close.TextStrokeTransparency = 5 | |
161 | ||
162 | Username.Name = "Username" | |
163 | Username.Parent = DaGui | |
164 | Username.BackgroundColor3 = Color3.new(0, 0, 0) | |
165 | Username.BackgroundTransparency = 0.5 | |
166 | Username.Position = UDim2.new(0, 72, 0, 76) | |
167 | Username.Size = UDim2.new(0, 200, 0.0999999866, 24) | |
168 | Username.Font = Enum.Font.SciFi | |
169 | Username.FontSize = Enum.FontSize.Size18 | |
170 | Username.Text = "Username" | |
171 | Username.TextColor3 = Color3.new(0, 1, 1) | |
172 | Username.TextSize = 18 | |
173 | ||
174 | VanDaPlayer.Name = "VanDaPlayer" | |
175 | VanDaPlayer.Parent = DaGui | |
176 | VanDaPlayer.BackgroundColor3 = Color3.new(0, 0, 0) | |
177 | VanDaPlayer.BackgroundTransparency = 0.5 | |
178 | VanDaPlayer.Position = UDim2.new(0.0199999996, 90, 0.00999999978, 138) | |
179 | VanDaPlayer.Size = UDim2.new(0, 150, 0, 26) | |
180 | VanDaPlayer.Font = Enum.Font.SciFi | |
181 | VanDaPlayer.FontSize = Enum.FontSize.Size14 | |
182 | VanDaPlayer.Text = "Van Player" | |
183 | VanDaPlayer.TextColor3 = Color3.new(0, 1, 1) | |
184 | VanDaPlayer.TextSize = 14 | |
185 | ||
186 | TextLabel.Parent = DaGui | |
187 | TextLabel.BackgroundColor3 = Color3.new(0, 0, 0) | |
188 | TextLabel.BackgroundTransparency = 0.5 | |
189 | TextLabel.Position = UDim2.new(0, 48, 0, 22) | |
190 | TextLabel.Size = UDim2.new(0, 246, 0, 19) | |
191 | TextLabel.TextScaled = true | |
192 | TextLabel.Font = Enum.Font.SciFi | |
193 | TextLabel.FontSize = Enum.FontSize.Size18 | |
194 | TextLabel.Text = "Van Player Gui by Hopeless (Talha)" | |
195 | TextLabel.TextColor3 = Color3.new(0, 1, 1) | |
196 | TextLabel.TextSize = 17 | |
197 | ||
198 | Open.MouseButton1Down:connect(function() | |
199 | DaGui.Visible = true | |
200 | Opener.Visible = false | |
201 | ||
202 | end) | |
203 | ||
204 | Close.MouseButton1Down:connect(function() | |
205 | DaGui.Visible = false | |
206 | Opener.Visible = true | |
207 | end) | |
208 | ||
209 | VanDaPlayer.MouseButton1Down:connect(function() | |
210 | Victim = Username.Text -- Person who gonna die xd | |
211 | game.Players[Victim].Character.Humanoid.WalkSpeed = 0 | |
212 | game.Players[Victim].Character.Humanoid.JumpPower = 0 | |
213 | game:GetObjects("rbxassetid://1064951471")[1].Parent = game.Workspace | |
214 | -- Lib Func -- | |
215 | loadstring(game:GetObjects("rbxassetid://1064957068")[1].Source)() -- Realistic Blood | |
216 | loadstring(game:GetObjects("rbxassetid://1064956088")[1].Source)() -- Guillotine Script Main | |
217 | -- Lib Func -- | |
218 | wait(.5) | |
219 | game.Workspace[keji_d].HumanoidRootPart.CFrame = CFrame.new(105.919, 2046.955, -40.277) | |
220 | - | game.Workspace[game.Players.StarzoZero.Name].HumanoidRootPart.CFrame = CFrame.new(109.305, 2045.6, -34.156) |
220 | + | game.Workspace[game.Players.zXzGamePROzXz.Name].HumanoidRootPart.CFrame = CFrame.new(109.305, 2045.6, -34.156) |
221 | end) | |
222 | ||
223 | -- I like to asd a lot |