SHOW:
|
|
- or go back to the newest paste.
1 | -- Script | |
2 | ||
3 | --https://github.com/Mokiros/roblox-FE-compatibility | |
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 | local RealPlayer = Player | |
7 | 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 | |
8 | ||
9 | wait(1) | |
10 | ||
11 | ||
12 | --// Script made by Cronizete | |
13 | --// Please dont check the code its ugly | |
14 | --// Who ever has this and youre not the maker of this script then you just stole it unless I released it to the public or whatever but yeah | |
15 | --// Please, if you're going to showcase this. Make sure to give credits to me :D | |
16 | --// Anyways, enjoy the script!!!!!!!!!!!!!!! | |
17 | ||
18 | ||
19 | plr = game.Players.LocalPlayer | |
20 | char = plr.Character | |
21 | ff = Instance.new('ForceField', char) | |
22 | ff.Visible = false | |
23 | mouse = plr:GetMouse() | |
24 | human = char.Humanoid | |
25 | torso = char.Torso | |
26 | root = char.HumanoidRootPart | |
27 | lleg = char["Left Leg"] | |
28 | rleg = char["Right Leg"] | |
29 | larm = char["Left Arm"] | |
30 | rarm = char["Right Arm"] | |
31 | head = char.Head | |
32 | lshold = torso["Left Shoulder"] | |
33 | rshold = torso["Right Shoulder"] | |
34 | neck = torso.Neck | |
35 | lhip = torso["Left Hip"] | |
36 | rhip = torso["Right Hip"] | |
37 | lscf = lshold.C0 | |
38 | rscf = rshold.C0 | |
39 | ncf = neck.C0 | |
40 | lhcf = lhip.C0 | |
41 | rhcf = rhip.C0 | |
42 | rad = math.rad | |
43 | random = math.random | |
44 | sin = math.sin | |
45 | cos = math.cos | |
46 | floor = math.floor | |
47 | lsho = lshold.C0 | |
48 | rsho = rshold.C0 | |
49 | cd1 = true | |
50 | cd2 = true | |
51 | ||
52 | function harmlessexplo() | |
53 | sph = Instance.new('Part', char) | |
54 | sph.Anchored = true | |
55 | sph.CFrame = char.Torso.CFrame | |
56 | sph.CanCollide = false | |
57 | sph.Anchored = true | |
58 | sph.Transparency = 0 | |
59 | sph.Material = "Neon" | |
60 | sph.Shape = "Ball" | |
61 | sph.Size = Vector3.new(0.2,0.2,0.2) | |
62 | for i = 1,50 do | |
63 | wait() | |
64 | sph.Size = sph.Size + Vector3.new(4,4,4) | |
65 | sph.Transparency = sph.Transparency + 0.05 | |
66 | sph.CFrame = char.Torso.CFrame | |
67 | end | |
68 | sph:Destroy() | |
69 | end | |
70 | ||
71 | function entrance() | |
72 | ||
73 | for _,q in pairs(char:GetChildren()) do | |
74 | if q:IsA('Accessory') then | |
75 | q:Destroy() | |
76 | end | |
77 | ||
78 | a = Instance.new('CharacterMesh', game.Players.LocalPlayer.Character) | |
79 | a.MeshId = "279174949" | |
80 | a.BodyPart = "LeftArm" | |
81 | ||
82 | a = Instance.new('CharacterMesh', game.Players.LocalPlayer.Character) | |
83 | a.MeshId = "319336109" | |
84 | a.BodyPart = "LeftLeg" | |
85 | ||
86 | a = Instance.new('CharacterMesh', game.Players.LocalPlayer.Character) | |
87 | a.MeshId = "279174886" | |
88 | a.BodyPart = "RightArm" | |
89 | ||
90 | a = Instance.new('CharacterMesh', game.Players.LocalPlayer.Character) | |
91 | a.MeshId = "319336155" | |
92 | a.BodyPart = "RightLeg" | |
93 | ||
94 | a = Instance.new('CharacterMesh', game.Players.LocalPlayer.Character) | |
95 | a.MeshId = "376169183" | |
96 | a.BodyPart = "Torso" | |
97 | ||
98 | if q:IsA('Shirt') then | |
99 | q.ShirtTemplate = "rbxassetid://704100781" | |
100 | end | |
101 | ||
102 | if q:IsA('Pants') then | |
103 | q.PantsTemplate = "rbxassetid://704102680" | |
104 | end | |
105 | ||
106 | char["Left Arm"].BrickColor = BrickColor.new('Cyan') | |
107 | char["Right Arm"].BrickColor = BrickColor.new('Cyan') | |
108 | ||
109 | if q.Name ~= "HumanoidRootPart" and q:IsA('Part') then | |
110 | q.Transparency = 1 | |
111 | end | |
112 | end | |
113 | ||
114 | char.Humanoid.HipHeight = 60 | |
115 | wait(.05) | |
116 | char.Torso.Anchored = true | |
117 | ||
118 | sph = Instance.new('Part', char) | |
119 | sph.Anchored = true | |
120 | sph.CFrame = char.Torso.CFrame | |
121 | sph.CanCollide = false | |
122 | sph.Anchored = true | |
123 | sph.Transparency = 0 | |
124 | sph.Material = "Neon" | |
125 | sph.Shape = "Ball" | |
126 | sph.Size = Vector3.new(0.2,0.2,0.2) | |
127 | sp = Instance.new('SpecialMesh', sph) | |
128 | sp.MeshId = "http://www.roblox.com/Asset/?id=9982590" | |
129 | sp.Scale = Vector3.new(0.2,0.2,0.2) | |
130 | a = 0 | |
131 | ||
132 | for i = 1, 25 do | |
133 | sph.Color = Color3.new(math.random(1,255),math.random(1,255),math.random(1,255)) | |
134 | sp.Scale = sp.Scale + Vector3.new(0.3,0.3,0.3) | |
135 | sph.Rotation = Vector3.new( a, a, a) | |
136 | wait() | |
137 | a = a+3 | |
138 | end | |
139 | for _,e in pairs(char:GetChildren()) do | |
140 | if e:IsA('Accessory') then | |
141 | e.Handle.Transparency = 0 | |
142 | end | |
143 | if e.Name ~= "HumanoidRootPart" and e:IsA('Part') then | |
144 | e.Transparency = 0 | |
145 | end | |
146 | end | |
147 | for i = 1, 115 do | |
148 | sph.Color = Color3.new(math.random(1,255),math.random(1,255),math.random(1,255)) | |
149 | sph.Transparency = sph.Transparency + 0.01 | |
150 | sph.Rotation = Vector3.new( a, a, a) | |
151 | wait() | |
152 | a = a+15 | |
153 | end | |
154 | char.Torso.Anchored = false | |
155 | char.Humanoid.HipHeight = 0 | |
156 | end | |
157 | ||
158 | function chat(chatt) | |
159 | local text = Instance.new("BillboardGui", game.Players.LocalPlayer.Character) | |
160 | text.Size = UDim2.new(0,100,0,40) | |
161 | text.StudsOffset = Vector3.new(0,3,0) | |
162 | text.Adornee = game.Players.LocalPlayer.Character.Head | |
163 | text.Name = "1" | |
164 | local text1 = Instance.new("TextLabel",text) | |
165 | text1.BackgroundTransparency = 1 | |
166 | text1.TextStrokeTransparency = 1 | |
167 | text1.TextTransparency = 1 | |
168 | text1.BorderSizePixel = 0 | |
169 | text1.Text = chatt | |
170 | text1.Font = "Fantasy" | |
171 | text1.FontSize = "Size36" | |
172 | text1.TextStrokeTransparency = 0 | |
173 | text1.TextColor3 = Color3.new(1,1,1) | |
174 | text1.TextStrokeColor3 = Color3.new(0,0,0) | |
175 | text1.Size = UDim2.new(1,0,0.5,0) | |
176 | for i=1,15 do | |
177 | wait() | |
178 | text1.TextStrokeTransparency = text1.TextStrokeTransparency - 0.1 | |
179 | text1.TextTransparency = text1.TextTransparency - 0.1 | |
180 | end | |
181 | wait(1) | |
182 | for i=1,25 do | |
183 | wait() | |
184 | text1.TextStrokeTransparency = text1.TextStrokeTransparency + 0.1 | |
185 | text1.TextTransparency = text1.TextTransparency + 0.1 | |
186 | end | |
187 | end | |
188 | ||
189 | function explo() | |
190 | sph = Instance.new('Part', char) | |
191 | sph.Touched:connect(function(hit) | |
192 | if hit.Parent:FindFirstChild('Humanoid') then | |
193 | if hit.Parent.Name ~= plr.Name then | |
194 | hit.Parent:Destroy() | |
195 | else | |
196 | end | |
197 | end | |
198 | end) | |
199 | sph.Anchored = true | |
200 | sph.CFrame = char.Torso.CFrame | |
201 | sph.CanCollide = false | |
202 | sph.Anchored = true | |
203 | sph.Transparency = 0 | |
204 | sph.Material = "Neon" | |
205 | sph.Shape = "Ball" | |
206 | sph.Size = Vector3.new(0.2,0.2,0.2) | |
207 | for i = 1,50 do | |
208 | wait() | |
209 | sph.Size = sph.Size + Vector3.new(4,4,4) | |
210 | sph.Transparency = sph.Transparency + 0.03 | |
211 | sph.CFrame = char.Torso.CFrame | |
212 | end | |
213 | sph:Destroy() | |
214 | end | |
215 | ||
216 | --// Main script, don't touch if you don't know how to script or you might ruin the script. | |
217 | ||
218 | entrance() | |
219 | - | chat("Destroy!") |
219 | + | |
220 | mouse.Button1Down:connect(function() | |
221 | if cd1 then | |
222 | if mouse.Target.Parent:FindFirstChild('Humanoid') then | |
223 | cd1 = false | |
224 | local target = mouse.Target.Parent | |
225 | target:FindFirstChild('Torso').Anchored = true | |
226 | for i=0,1,0.1 do | |
227 | rshold.C0 = rshold.C0:lerp(CFrame.new(0.9,0.5,-0.1)*CFrame.Angles(rad(-90),rad(90),rad(-180)),i) | |
228 | wait() | |
229 | end | |
230 | chat("破壊する!") | |
231 | wait(.5) | |
232 | particle = Instance.new('Part', workspace) | |
233 | particle.Anchored = true | |
234 | particle.CFrame = target:FindFirstChild('Torso').CFrame | |
235 | particle.CanCollide = false | |
236 | particle.Anchored = true | |
237 | particle.Transparency = 1 | |
238 | particle.Size = Vector3.new(6.52, 10.36, 6.34) | |
239 | local pe = Instance.new("ParticleEmitter") | |
240 | pe.Acceleration = Vector3.new(7, 7, 7) | |
241 | pe.Lifetime = NumberRange.new(1, 4) | |
242 | pe.Rate = 500 | |
243 | pe.RotSpeed = NumberRange.new(7, 7) | |
244 | pe.LightEmission = 0.700 | |
245 | pe.Rotation = NumberRange.new(0, 0) | |
246 | pe.Size = NumberSequence.new({ | |
247 | NumberSequenceKeypoint.new(0, 1, 0), | |
248 | NumberSequenceKeypoint.new(1, 10, 0), | |
249 | NumberSequenceKeypoint.new(1, 10, 0) | |
250 | }) | |
251 | pe.Texture = "http://www.roblox.com/asset/?id=242996110" | |
252 | pe.Transparency = NumberSequence.new({ | |
253 | NumberSequenceKeypoint.new(0, 0, 0), | |
254 | NumberSequenceKeypoint.new(0.4, 0.3, 0), | |
255 | NumberSequenceKeypoint.new(1, 1, 1) | |
256 | }) | |
257 | pe.ZOffset = 5 | |
258 | pe.VelocitySpread = 360 | |
259 | pe.Parent = particle | |
260 | pe.Enabled = true | |
261 | wait(1) | |
262 | pe.Enabled = false | |
263 | target:Destroy() | |
264 | for i=0,1,0.1 do | |
265 | rshold.C0 = rshold.C0:lerp(rsho,i) | |
266 | wait() | |
267 | end | |
268 | wait(1) | |
269 | cd1 = true | |
270 | end | |
271 | end | |
272 | end) | |
273 | ||
274 | mouse.KeyDown:connect(function(key) | |
275 | if key == "t" then | |
276 | if cd1 then | |
277 | cd1 = false | |
278 | particle = Instance.new('Part', workspace) | |
279 | particle.Anchored = true | |
280 | particle.CFrame = char:FindFirstChild('Torso').CFrame | |
281 | particle.CanCollide = false | |
282 | particle.Anchored = true | |
283 | particle.Transparency = 1 | |
284 | particle.Size = Vector3.new(6.52, 10.36, 6.34) | |
285 | local pe = Instance.new("ParticleEmitter") | |
286 | pe.Acceleration = Vector3.new(7, 7, 7) | |
287 | pe.Lifetime = NumberRange.new(1, 4) | |
288 | pe.Rate = 500 | |
289 | pe.RotSpeed = NumberRange.new(7, 7) | |
290 | pe.LightEmission = 0.700 | |
291 | pe.Rotation = NumberRange.new(0, 0) | |
292 | pe.Size = NumberSequence.new({ | |
293 | NumberSequenceKeypoint.new(0, 1, 0), | |
294 | NumberSequenceKeypoint.new(1, 10, 0), | |
295 | NumberSequenceKeypoint.new(1, 10, 0) | |
296 | }) | |
297 | pe.Texture = "http://www.roblox.com/asset/?id=242996110" | |
298 | pe.Transparency = NumberSequence.new({ | |
299 | NumberSequenceKeypoint.new(0, 0, 0), | |
300 | NumberSequenceKeypoint.new(0.4, 0.3, 0), | |
301 | NumberSequenceKeypoint.new(1, 1, 1) | |
302 | }) | |
303 | pe.ZOffset = 5 | |
304 | pe.VelocitySpread = 360 | |
305 | pe.Parent = particle | |
306 | pe.Enabled = true | |
307 | wait(.3) | |
308 | char.Torso.CFrame = mouse.Hit | |
309 | pe.Enabled = false | |
310 | harmlessexplo() | |
311 | wait(3) | |
312 | cd1 = true | |
313 | end | |
314 | end | |
315 | ||
316 | if key == "q" then | |
317 | if cd2 then | |
318 | cd2 = false | |
319 | for i=0,1,0.1 do | |
320 | lshold.C0 = lshold.C0:lerp(CFrame.new(-1.3,0.7,-0.1)*CFrame.Angles(rad(25),-rad(20),-rad(90)),i) | |
321 | rshold.C0 = rshold.C0:lerp(CFrame.new(1.3,0.7,-0.1)*CFrame.Angles(rad(25),rad(20),rad(90)),i) | |
322 | wait() | |
323 | end | |
324 | ||
325 | local pe = Instance.new("ParticleEmitter") | |
326 | pe.Acceleration = Vector3.new(3, 3, 3) | |
327 | pe.Lifetime = NumberRange.new(0.1, 0.5) | |
328 | pe.Rate = 4000 | |
329 | pe.RotSpeed = NumberRange.new(0, 0) | |
330 | pe.LightEmission = 0.700 | |
331 | pe.Rotation = NumberRange.new(0, 0) | |
332 | pe.Size = NumberSequence.new({ | |
333 | NumberSequenceKeypoint.new(0, 1, 0), | |
334 | NumberSequenceKeypoint.new(0.1, 1, 0), | |
335 | NumberSequenceKeypoint.new(1, 1, 0) | |
336 | }) | |
337 | pe.Texture = "http://www.roblox.com/asset/?id=242996110" | |
338 | pe.Transparency = NumberSequence.new({ | |
339 | NumberSequenceKeypoint.new(0, 0, 0), | |
340 | NumberSequenceKeypoint.new(0.4, 0.3, 0), | |
341 | NumberSequenceKeypoint.new(1, 1, 1) | |
342 | }) | |
343 | pe.ZOffset = 5 | |
344 | pe.VelocitySpread = 360 | |
345 | pe.Parent = char["Right Arm"] | |
346 | pe1 = pe:Clone() | |
347 | pe1.Parent = char["Left Arm"] | |
348 | wait(.05) | |
349 | - | chat("A world like this must disappear!") |
349 | + | |
350 | ||
351 | wait(.05) | |
352 | ||
353 | for i= 1, 100 do | |
354 | char.Humanoid.HipHeight = char.Humanoid.HipHeight + 0.5 | |
355 | wait() | |
356 | end | |
357 | ||
358 | wait(.03) | |
359 | ||
360 | chat("このような世界が消えなければなりません!") | |
361 | wait(.07) | |
362 | explo() | |
363 | wait(.04) | |
364 | for i=0,1,0.1 do | |
365 | lshold.C0 = lshold.C0:lerp(lsho,i) | |
366 | rshold.C0 = rshold.C0:lerp(rsho,i) | |
367 | wait() | |
368 | end | |
369 | pe.Enabled = false | |
370 | pe1.Enabled = fasle | |
371 | char.Humanoid.HipHeight = 0 | |
372 | wait(5) | |
373 | cd2 = true | |
374 | end | |
375 | end | |
376 | end) | |
377 | ||
378 | while wait() do | |
379 | char.Humanoid.MaxHealth = 99999 | |
380 | char.Humanoid.Health = char.Humanoid.MaxHealth | |
381 | end |