SHOW:
|
|
- or go back to the newest paste.
1 | - | --By Rufus14 |
1 | + | --https://github.com/Mokiros/roblox-FE-compatibility |
2 | if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end | |
3 | local Player,game,owner = owner,game | |
4 | local RealPlayer = Player | |
5 | do print("FE Compatibility code V2 by Mokiros")local RealPlayer=RealPlayer;script.Parent=RealPlayer.Character;local a=function(b)b[1].f[b[2]]=nil end;local c={__index={disconnect=a,Disconnect=a}}local d={__index={Connect=function(b,e)local f=tostring(math.random(0,10000))while b.f[f]do f=tostring(math.random(0,10000))end;b.f[f]=e;return setmetatable({b,f},c)end}}d.__index.connect=d.__index.Connect;local function g()return setmetatable({f={}},d)end;local h={Hit=CFrame.new(),KeyUp=g(),KeyDown=g(),Button1Up=g(),Button1Down=g(),Button2Up=g(),Button2Down=g()}h.keyUp=h.KeyUp;h.keyDown=h.KeyDown;local i={InputBegan=g(),InputEnded=g()}local CAS={Actions={},BindAction=function(self,j,k,l,...)CAS.Actions[j]=k and{Name=j,Function=k,Keys={...}}or nil end}CAS.UnbindAction=CAS.BindAction;local function m(self,n,...)for o,e in pairs(self[n].f)do e(...)end end;h.T=m;i.T=m;local p=Instance.new("RemoteEvent")p.Name="UserInput_Event"p.OnServerEvent:Connect(function(q,r)if q~=RealPlayer then return end;h.Target=r.e;h.Hit=r.d;if not r.f then local s=r.c==Enum.UserInputState.Begin;if r.b==Enum.UserInputType.MouseButton1 then return h:T(s and"Button1Down"or"Button1Up")end;if r.b==Enum.UserInputType.MouseButton2 then return h:T(s and"Button2Down"or"Button2Up")end;for o,t in pairs(CAS.Actions)do for o,u in pairs(t.Keys)do if u==r.a then t.Function(t.Name,r.c,r)end end end;h:T(s and"KeyDown"or"KeyUp",r.a.Name:lower())i:T(s and"InputBegan"or"InputEnded",r,false)end end)p.Parent=NLS([==[local a=script:WaitForChild("UserInput_Event")local b=owner:GetMouse()local c=game:GetService("UserInputService")local d=function(e,f)if f then return end;a:FireServer({a=e.KeyCode,b=e.UserInputType,c=e.UserInputState,d=b.Hit,e=b.Target})end;c.InputBegan:Connect(d)c.InputEnded:Connect(d)local g,h;local i=game:GetService("RunService").Heartbeat;while true do if g~=b.Hit or h~=b.Target then g,h=b.Hit,b.Target;a:FireServer({f=1,Target=h,d=g})end;for j=1,2 do i:Wait()end end]==],script)local v=game;local w={__index=function(self,u)local x=rawget(self,"_RealService")if x then return typeof(x[u])=="function"and function(o,...)return x[u](x,...)end or x[u]end end,__newindex=function(self,u,y)local x=rawget(self,"_RealService")if x then x[u]=y end end}local function z(t,A)t._RealService=typeof(A)=="string"and v:GetService(A)or A;return setmetatable(t,w)end;local B={GetService=function(self,x)return rawget(self,x)or v:GetService(x)end,Players=z({LocalPlayer=z({GetMouse=function(self)return h end},Player)},"Players"),UserInputService=z(i,"UserInputService"),ContextActionService=z(CAS,"ContextActionService"),RunService=z({_btrs={},RenderStepped=v:GetService("RunService").Heartbeat,BindToRenderStep=function(self,j,o,k)self._btrs[j]=self.Heartbeat:Connect(k)end,UnbindFromRenderStep=function(self,j)self._btrs[j]:Disconnect()end},"RunService")}rawset(B.Players,"localPlayer",B.Players.LocalPlayer)B.service=B.GetService;z(B,game)game,owner=B,B.Players.LocalPlayer end --By Rufus14 | |
6 | use = false | |
7 | mouse = game.Players.LocalPlayer:GetMouse() | |
8 | function usecancer(key) | |
9 | if key == "q" and not use then | |
10 | use = true | |
11 | game.Players.LocalPlayer.Character.Humanoid.WalkSpeed = 0 | |
12 | game.Players.LocalPlayer.Character.Humanoid.JumpPower = 0 | |
13 | local rhandclone = game.Players.LocalPlayer.Character.Torso["Right Shoulder"]:Clone() | |
14 | local rhandweld = Instance.new("Weld", game.Players.LocalPlayer.Character.Torso) | |
15 | rhandweld.Part0 = game.Players.LocalPlayer.Character.Torso | |
16 | rhandweld.Part1 = game.Players.LocalPlayer.Character["Right Arm"] | |
17 | rhandweld.C0 = CFrame.new(1.5, 0, 0, 1, -1.6395192e-43, 0, -1.6395192e-43, 1, 0, 0, 0, 1) | |
18 | local lhandclone = game.Players.LocalPlayer.Character.Torso["Left Shoulder"]:Clone() | |
19 | local lhandweld = Instance.new("Weld", game.Players.LocalPlayer.Character.Torso) | |
20 | lhandweld.Part0 = game.Players.LocalPlayer.Character.Torso | |
21 | lhandweld.Part1 = game.Players.LocalPlayer.Character["Left Arm"] | |
22 | lhandweld.C0 = CFrame.new(-1.5, 0, 0, 1, -1.6395192e-43, 0, -1.6395192e-43, 1, 0, 0, 0, 1) | |
23 | local llegclone = game.Players.LocalPlayer.Character.Torso["Left Hip"]:Clone() | |
24 | game.Players.LocalPlayer.Character.Torso["Left Hip"]:Remove() | |
25 | local llegweld = Instance.new("Weld", game.Players.LocalPlayer.Character.Torso) | |
26 | llegweld.Part0 = game.Players.LocalPlayer.Character.Torso | |
27 | llegweld.Part1 = game.Players.LocalPlayer.Character["Left Leg"] | |
28 | llegweld.C0 = CFrame.new(-0.5, -1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0) * CFrame.new(0,-1,0) | |
29 | local rlegclone = game.Players.LocalPlayer.Character.Torso["Right Hip"]:Clone() | |
30 | game.Players.LocalPlayer.Character.Torso["Right Hip"]:Remove() | |
31 | local rlegweld = Instance.new("Weld", game.Players.LocalPlayer.Character.Torso) | |
32 | rlegweld.Part0 = game.Players.LocalPlayer.Character.Torso | |
33 | rlegweld.Part1 = game.Players.LocalPlayer.Character["Right Leg"] | |
34 | rlegweld.C0 = CFrame.new(0.5, -1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0) * CFrame.new(0,-1,0) | |
35 | local rootjointclone = game.Players.LocalPlayer.Character.HumanoidRootPart.RootJoint:Clone() | |
36 | game.Players.LocalPlayer.Character.HumanoidRootPart.RootJoint:Remove() | |
37 | local humanoidrootpart = Instance.new("Weld", game.Players.LocalPlayer.Character.Torso) | |
38 | humanoidrootpart.Part0 = game.Players.LocalPlayer.Character.HumanoidRootPart | |
39 | humanoidrootpart.Part1 = game.Players.LocalPlayer.Character.Torso | |
40 | local heed = game.Players.LocalPlayer.Character.Torso["Neck"]:Clone() | |
41 | local headweld = Instance.new("Weld", game.Players.LocalPlayer.Character.Torso) | |
42 | headweld.Part0 = game.Players.LocalPlayer.Character.Torso | |
43 | headweld.Part1 = game.Players.LocalPlayer.Character.Head | |
44 | headweld.C0 = headweld.C0 * CFrame.new(0,1.5,0) | |
45 | game.Players.LocalPlayer.Character.Torso.Neck:Remove() | |
46 | --Converted with ttyyuu12345's model to script plugin v4 | |
47 | function sandbox(var,func) | |
48 | local env = getfenv(func) | |
49 | local newenv = setmetatable({},{ | |
50 | __index = function(self,k) | |
51 | if k=="script" then | |
52 | return var | |
53 | else | |
54 | return env[k] | |
55 | end | |
56 | end, | |
57 | }) | |
58 | setfenv(func,newenv) | |
59 | return func | |
60 | end | |
61 | cors = {} | |
62 | mas = Instance.new("Model",game:GetService("Lighting")) | |
63 | Part0 = Instance.new("Part") | |
64 | SpecialMesh1 = Instance.new("SpecialMesh") | |
65 | Part0.Name = "Boom" | |
66 | Part0.Parent = mas | |
67 | Part0.CanCollide = false | |
68 | Part0.FormFactor = Enum.FormFactor.Custom | |
69 | Part0.Size = Vector3.new(3.20000005, 1.60000002, 1.20000005) | |
70 | Part0.CFrame = CFrame.new(-16.690012, 0.800000012, -10.2300053, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
71 | Part0.BottomSurface = Enum.SurfaceType.Smooth | |
72 | Part0.TopSurface = Enum.SurfaceType.Smooth | |
73 | Part0.Position = Vector3.new(-16.690012, 0.800000012, -10.2300053) | |
74 | SpecialMesh1.Parent = Part0 | |
75 | SpecialMesh1.MeshId = "http://www.roblox.com/asset/?id=192488915 " | |
76 | SpecialMesh1.TextureId = "http://www.roblox.com/asset/?id=192488947 " | |
77 | SpecialMesh1.MeshType = Enum.MeshType.FileMesh | |
78 | for i,v in pairs(mas:GetChildren()) do | |
79 | v.Parent = game:GetService("Players").LocalPlayer.Character | |
80 | pcall(function() v:MakeJoints() end) | |
81 | end | |
82 | mas:Destroy() | |
83 | for i,v in pairs(cors) do | |
84 | spawn(function() | |
85 | pcall(v) | |
86 | end) | |
87 | end | |
88 | Part0:BreakJoints() | |
89 | local wld = Instance.new("Weld", Part0) | |
90 | wld.Part0 = game.Players.LocalPlayer.Character["Left Arm"] | |
91 | wld.Part1 = Part0 | |
92 | wld.C0 = CFrame.new(0.225064278, -0.775242805, -0.270078659, 8.88173761e-16, 2.98022265e-08, -1, 0.342021018, 0.939692378, 2.80049246e-08, 0.939692378, -0.342021018, -1.01929869e-08) | |
93 | for i = 0,1 , 0.03 do | |
94 | humanoidrootpart.C0 = humanoidrootpart.C0:lerp(CFrame.new(0, 0.973434448, 0.354300976, 1, -2.65673535e-22, 5.23747954e-22, 4.28783692e-22, 0.939692736, -0.342019916, -4.01296546e-22, 0.342019886, 0.939692736):inverse(),i) | |
95 | rlegweld.C0 = rlegweld.C0:lerp(CFrame.new(0.5, -0.926598787, -0.83039999, 1, 7.05192424e-23, -5.83027784e-22, -2.65673535e-22, 0.939692736, -0.342019886, 5.23747954e-22, 0.342019916, 0.939692736),i) | |
96 | llegweld.C0 = llegweld.C0:lerp(CFrame.new(-0.5, -1.81264472, 0.689083576, 1, 5.40176254e-22, -2.30443007e-22, -2.65673535e-22, 0.766044974, 0.64278698, 5.23747954e-22, -0.64278698, 0.766044974),i) | |
97 | lhandweld.C0 = lhandweld.C0:lerp(CFrame.new(-1.5, -0.19437933, -0.533704281, 1, -1.33141268e-22, -5.71985801e-22, -2.65673535e-22, 0.76604414, -0.642788053, 5.23747954e-22, 0.642788053, 0.76604414),i) | |
98 | rhandweld.C0 = rhandweld.C0:lerp(CFrame.new(1.5, -0.0814247131, 0.431622028, 1, 5.40176607e-22, -2.30442275e-22, -2.65673535e-22, 0.76604414, 0.642788053, 5.23747954e-22, -0.642788053, 0.76604414),i) | |
99 | game:GetService("RunService").RenderStepped:wait() | |
100 | end | |
101 | Part0.CanCollide = true | |
102 | wld:destroy() | |
103 | for i = 0,1 , 0.03 do | |
104 | humanoidrootpart.C0 = humanoidrootpart.C0:lerp(CFrame.new(0,0,0):inverse(),i) | |
105 | rlegweld.C0 = rlegweld.C0:lerp(CFrame.new(0.5, -1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0) * CFrame.new(0,-1,0),i) | |
106 | llegweld.C0 = llegweld.C0:lerp(CFrame.new(-0.5, -1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0) * CFrame.new(0,-1,0),i) | |
107 | lhandweld.C0 = lhandweld.C0:lerp(CFrame.new(-1.5, 0, 0, 1, -1.6395192e-43, 0, -1.6395192e-43, 1, 0, 0, 0, 1),i) | |
108 | rhandweld.C0 = rhandweld.C0:lerp(CFrame.new(1.5, 0, 0, 1, -1.6395192e-43, 0, -1.6395192e-43, 1, 0, 0, 0, 1),i) | |
109 | game:GetService("RunService").RenderStepped:wait() | |
110 | end | |
111 | game.Chat:Chat(game.Players.LocalPlayer.Character.Head,"Hmmmm...","Green") | |
112 | wait(2.5) | |
113 | game.Chat:Chat(game.Players.LocalPlayer.Character.Head,"What can i put...?","Green") | |
114 | wait(1) | |
115 | --Converted with ttyyuu12345's model to script plugin v4 | |
116 | function sandbox(var,func) | |
117 | local env = getfenv(func) | |
118 | local newenv = setmetatable({},{ | |
119 | __index = function(self,k) | |
120 | if k=="script" then | |
121 | return var | |
122 | else | |
123 | return env[k] | |
124 | end | |
125 | end, | |
126 | }) | |
127 | setfenv(func,newenv) | |
128 | return func | |
129 | end | |
130 | cors = {} | |
131 | mas = Instance.new("Model",game:GetService("Lighting")) | |
132 | local Sound00 = Instance.new("Sound") | |
133 | Sound00.Parent = Part0 | |
134 | Sound00.Volume = 8 | |
135 | local cancermath = math.random(1,6) | |
136 | if cancermath == 1 then | |
137 | Sound00.SoundId = "rbxassetid://373993398" | |
138 | Sound00.TimePosition = 17 | |
139 | end | |
140 | if cancermath == 2 then | |
141 | Sound00.SoundId = "rbxassetid://492792214" | |
142 | end | |
143 | if cancermath == 3 then | |
144 | Sound00.SoundId = "rbxassetid://540221031" | |
145 | end | |
146 | if cancermath == 4 then | |
147 | Sound00.SoundId = "rbxassetid://322494550" | |
148 | end | |
149 | if cancermath == 5 then | |
150 | Sound00.SoundId = "rbxassetid://1177220749" | |
151 | end | |
152 | if cancermath == 6 then | |
153 | Sound00.SoundId = "rbxassetid://1176654481" | |
154 | Sound00.TimePosition = 8 | |
155 | end | |
156 | for i,v in pairs(mas:GetChildren()) do | |
157 | v.Parent = game:GetService("Players").LocalPlayer.Character | |
158 | pcall(function() v:MakeJoints() end) | |
159 | end | |
160 | mas:Destroy() | |
161 | for i,v in pairs(cors) do | |
162 | spawn(function() | |
163 | pcall(v) | |
164 | end) | |
165 | end | |
166 | Sound00:Play() | |
167 | wait(3.8) | |
168 | local Sound020 = Instance.new("Sound") | |
169 | Sound020.Parent = game.Players.LocalPlayer.Character.Head | |
170 | Sound020.Volume = 10 | |
171 | Sound020.SoundId = "rbxassetid://1093102664" | |
172 | Sound020.PlaybackSpeed = 1.2 | |
173 | Sound020:Play() | |
174 | for i = 0,1 , 0.5 do | |
175 | headweld.C0 = headweld.C0:lerp(CFrame.new(-0.0875797272, 1.45040846, -0.104373932, 0.76604414, -0.21984598, 0.604023337, -4.04873002e-22, 0.939692855, 0.342019469, -0.642788053, -0.262001961, 0.719846249),i) | |
176 | wait() | |
177 | end | |
178 | game.Chat:Chat(game.Players.LocalPlayer.Character.Head,"what the fuck","Red") | |
179 | wait(2) | |
180 | local Sound020 = Instance.new("Sound") | |
181 | Sound020.Parent = game.Players.LocalPlayer.Character.Head | |
182 | Sound020.Volume = 10 | |
183 | Sound020.SoundId = "rbxassetid://393884633" | |
184 | Sound020:Play() | |
185 | game.Chat:Chat(game.Players.LocalPlayer.Character.Head,"AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA","Red") | |
186 | for i = 1,200 do | |
187 | humanoidrootpart.C0 = CFrame.new(0,0,0) * CFrame.new(math.random(-1,1),math.random(-1,1),math.random(-1,1)) | |
188 | humanoidrootpart.C0 = humanoidrootpart.C0 * CFrame.fromEulerAnglesXYZ(math.random(-1,1),math.random(-1,1),math.random(-1,1)) | |
189 | wait() | |
190 | end | |
191 | humanoidrootpart.C0 = CFrame.new(0,0,0) | |
192 | game.Chat:Chat(game.Players.LocalPlayer.Character.Head,"Im ending my life","Red") | |
193 | --Converted with ttyyuu12345's model to script plugin v4 | |
194 | function sandbox(var,func) | |
195 | local env = getfenv(func) | |
196 | local newenv = setmetatable({},{ | |
197 | __index = function(self,k) | |
198 | if k=="script" then | |
199 | return var | |
200 | else | |
201 | return env[k] | |
202 | end | |
203 | end, | |
204 | }) | |
205 | setfenv(func,newenv) | |
206 | return func | |
207 | end | |
208 | cors = {} | |
209 | mas = Instance.new("Model",game:GetService("Lighting")) | |
210 | wheniseeuagain = Instance.new("Sound") | |
211 | wheniseeuagain.Parent = mas | |
212 | wheniseeuagain.SoundId = "rbxassetid://456197860" | |
213 | wheniseeuagain.TimePosition = 98 | |
214 | wheniseeuagain.Volume = 9999999999999999 | |
215 | for i,v in pairs(mas:GetChildren()) do | |
216 | v.Parent = game:GetService("Players").LocalPlayer.Character | |
217 | pcall(function() v:MakeJoints() end) | |
218 | end | |
219 | mas:Destroy() | |
220 | for i,v in pairs(cors) do | |
221 | spawn(function() | |
222 | pcall(v) | |
223 | end) | |
224 | end | |
225 | wheniseeuagain:Play() | |
226 | wait(2) | |
227 | for i = 0,1 , 0.1 do | |
228 | lhandweld.C0 = lhandweld.C0:lerp(CFrame.new(-1.44952965, 0.867795706, 0.0211362839, 0.499998987, -0.866025984, 5.23747954e-22, -0.866025984, -0.499998987, -3.13253081e-22, 5.33158749e-22, -2.96953094e-22, -1),i) | |
229 | rhandweld.C0 = rhandweld.C0:lerp(CFrame.new(1.4404583, 1.32009363, 0, 0.642788053, 0.76604414, 5.23747954e-22, 0.76604414, -0.642788053, -3.13253081e-22, 9.66932434e-23, 6.0256937e-22, -1),i) | |
230 | headweld.C0 = headweld.C0:lerp(CFrame.new(-0.0170650482, 1.50495195, 0.11660099, 0.998444736, -0.0544946194, -0.0117676482, 0.0533289872, 0.995090902, -0.083368212, 0.0162529964, 0.082611002, 0.996449351),i) | |
231 | game:GetService("RunService").RenderStepped:wait() | |
232 | end | |
233 | wait(1) | |
234 | Sound020:Play() | |
235 | for i = 0,1 , 0.1 do | |
236 | lhandweld.C0 = lhandweld.C0:lerp(CFrame.new(-1.30448723, 1.37236357, 0.0211362839, 0.342019916, -0.939692736, 5.23747954e-22, -0.939692736, -0.342019886, -3.13253081e-22, 4.73493854e-22, -3.85023394e-22, -1),i) | |
237 | rhandweld.C0 = rhandweld.C0:lerp(CFrame.new(1.43943405, 0.869103909, 0, 0.866025567, 0.499999762, 5.23747954e-22, 0.499999762, -0.866025567, -3.13253081e-22, 2.9695264e-22, 5.33159001e-22, -1),i) | |
238 | headweld.C0 = headweld.C0:lerp(CFrame.new(0.117767334, 1.41633081, 0.11660099, 0.799132466, 0.597886562, -0.0626025945, -0.60093534, 0.797312498, -0.0562996715, 0.0162530094, 0.082611002, 0.996449411),i) | |
239 | game:GetService("RunService").RenderStepped:wait() | |
240 | end | |
241 | for i = 0,1 , 0.03 do | |
242 | rlegweld.C0 = rlegweld.C0:lerp(CFrame.new(0.975958347, -2.06729031, 0, 0.905177712, -0.425033659, 8.83524214e-27, 0.425034732, 0.905179977, 4.223007e-27, -1.05518035e-26, 3.02922588e-28, 1.0000025),i) | |
243 | llegweld.C0 = llegweld.C0:lerp(CFrame.new(-0.901434898, -1.97289896, 0, 0.896831989, 0.442371875, -3.88750654e-27, -0.442372978, 0.896834254, 5.09510506e-27, 4.69530011e-27, -3.35739201e-27, 1.0000025),i) | |
244 | rhandweld.C0 = rhandweld.C0:lerp(CFrame.new(1.98829222, 0.555973053, 0, -0.0983736441, -0.995149612, 6.86624532e-27, 0.995152056, -0.0983738229, 1.33999472e-26, -1.25618211e-26, 9.13816473e-27, 1.0000025),i) | |
245 | lhandweld.C0 = lhandweld.C0:lerp(CFrame.new(-1.80910063, 0.148392916, 0, 0.586558223, 0.80990839, -5.84135723e-26, -0.809910417, 0.586559713, -6.21380681e-26, -1.6509281e-26, 8.28998148e-26, 1.0000025),i) | |
246 | humanoidrootpart.C0 = humanoidrootpart.C0:lerp(CFrame.new(0, -2.50004101, 2.00000429, 1, -4.90253133e-27, 8.98669496e-27, 8.98670343e-27, 1.77323375e-06, -1, 4.90251553e-27, 1, 1.77323375e-06),i) | |
247 | game:GetService("RunService").RenderStepped:wait() | |
248 | end | |
249 | --[[--Converted with ttyyuu12345's model to script plugin v4 | |
250 | function sandbox(var,func) | |
251 | local env = getfenv(func) | |
252 | local newenv = setmetatable({},{ | |
253 | __index = function(self,k) | |
254 | if k=="script" then | |
255 | return var | |
256 | else | |
257 | return env[k] | |
258 | end | |
259 | end, | |
260 | }) | |
261 | setfenv(func,newenv) | |
262 | return func | |
263 | end | |
264 | cors = {} | |
265 | mas = Instance.new("Model",game:GetService("Lighting")) | |
266 | Sound0 = Instance.new("Sound") | |
267 | Sound0.Parent = mas | |
268 | Sound0.SoundId = "rbxassetid://" | |
269 | Sound0.TimePosition = 0 | |
270 | for i,v in pairs(mas:GetChildren()) do | |
271 | v.Parent = game:GetService("Players").LocalPlayer.Character | |
272 | pcall(function() v:MakeJoints() end) | |
273 | end | |
274 | mas:Destroy() | |
275 | for i,v in pairs(cors) do | |
276 | spawn(function() | |
277 | pcall(v) | |
278 | end) | |
279 | end | |
280 | Sound0:Play()--]] | |
281 | end | |
282 | end | |
283 | mouse.KeyDown:connect(usecancer) |