Advertisement
Createok

9/11 Example

Dec 6th, 2018
110
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 14.04 KB | None | 0 0
  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. Text4EndMessage = "RIP ROCOCKS 9/11" -- Change this to whatever you want the message to say after 9/11 xd
  88. -----------------------------------------------------------
  89. AMD = Instance.new("Model")
  90. AMD.Parent = game.Workspace
  91.  
  92. BASE = Instance.new("Part", AMD)
  93. BASE.Parent = game.Workspace
  94. BASE.Size = Vector3.new(98.17, 1, 127.15)
  95. BASE.Position = owner
  96. BASE.Anchored = true
  97. BASE.CanCollide = true
  98. BASE.TopSurface = "SmoothNoOutlines"
  99. BASE.BottomSurface = "SmoothNoOutlines"
  100. BASE.FrontSurface = "SmoothNoOutlines"
  101. BASE.LeftSurface = "SmoothNoOutlines"
  102. BASE.RightSurface = "SmoothNoOutlines"
  103. BASE.BrickColor = BrickColor.new("Earth green")
  104. Spawnxd = Instance.new("SpawnLocation", game.Workspace)
  105. Spawnxd.Position = BASE.Position + Vector3.new(10,1,0)
  106. Spawnxd.Neutral = true
  107. Spawnxd.Anchored = true
  108. Spawnxd.Transparency = 1
  109. Spawnxd.CanCollide = false
  110. WTC1 = Instance.new("Part", AMD)
  111. WTC1.Parent = game.Workspace
  112. WTC1.Size = Vector3.new(24.51, 92.53, 26.89)
  113. WTC1.Position = owner
  114. WTC1.Anchored = true
  115. WTC1.CanCollide = true
  116. WTC1.TopSurface = "SmoothNoOutlines"
  117. WTC1.BottomSurface = "SmoothNoOutlines"
  118. WTC1.FrontSurface = "SmoothNoOutlines"
  119. WTC1.LeftSurface = "SmoothNoOutlines"
  120. WTC1.RightSurface = "SmoothNoOutlines"
  121. WTC1.BrickColor = BrickColor.new("Medium stone grey")
  122. WTC2 = Instance.new("Part", AMD)
  123. WTC2.Parent = game.Workspace
  124. WTC2.Size = Vector3.new(24.51, 92.53, 26.89)
  125. WTC2.Position = owner
  126. WTC2.Anchored = true
  127. WTC2.CanCollide = true
  128. WTC2.TopSurface = "SmoothNoOutlines"
  129. WTC2.BottomSurface = "SmoothNoOutlines"
  130. WTC2.FrontSurface = "SmoothNoOutlines"
  131. WTC2.LeftSurface = "SmoothNoOutlines"
  132. WTC2.RightSurface = "SmoothNoOutlines"
  133. WTC2.BrickColor = BrickColor.new("Medium stone grey")
  134. WTC2P = Instance.new("Part", AMD)
  135. WTC2P.Parent = game.Workspace
  136. WTC2P.Size = Vector3.new(3.78, 41.41, 2.71)
  137. WTC2P.Position = owner
  138. WTC2P.Anchored = true
  139. WTC2P.CanCollide = true
  140. WTC2P.TopSurface = "SmoothNoOutlines"
  141. WTC2P.BottomSurface = "SmoothNoOutlines"
  142. WTC2P.FrontSurface = "SmoothNoOutlines"
  143. WTC2P.LeftSurface = "SmoothNoOutlines"
  144. WTC2P.RightSurface = "SmoothNoOutlines"
  145. WTC2P.BrickColor = BrickColor.new("Medium stone grey")
  146. SMP1 = Instance.new("Part", AMD)
  147. SMP1.Parent = game.Workspace
  148. SMP1.Size = Vector3.new(4, 1, 2)
  149. SMP1.Position = owner
  150. SMP1.Anchored = true
  151. SMP1.CanCollide = true
  152. SMP1.Transparency = 1
  153. SMP1.TopSurface = "SmoothNoOutlines"
  154. SMP1.BottomSurface = "SmoothNoOutlines"
  155. SMP1.FrontSurface = "SmoothNoOutlines"
  156. SMP1.LeftSurface = "SmoothNoOutlines"
  157. SMP1.RightSurface = "SmoothNoOutlines"
  158. BS = Instance.new("Smoke", SMP1)
  159. BS.Enabled = false
  160. BS.Size = 20
  161. BS.Color = Color3.new(0,0,0)
  162. BS.Opacity = 1
  163. BS.RiseVelocity = 20
  164. SMP2 = Instance.new("Part")
  165. SMP2.Parent = game.Workspace
  166. SMP2.Size = Vector3.new(4, 1, 2)
  167. SMP2.Position = owner
  168. SMP2.Anchored = true
  169. SMP2.CanCollide = true
  170. SMP2.Transparency = 1
  171. SMP2.TopSurface = "SmoothNoOutlines"
  172. SMP2.BottomSurface = "SmoothNoOutlines"
  173. SMP2.FrontSurface = "SmoothNoOutlines"
  174. SMP2.LeftSurface = "SmoothNoOutlines"
  175. SMP2.RightSurface = "SmoothNoOutlines"
  176. BZ = Instance.new("Smoke")
  177. BZ.Parent = SMP2
  178. BZ.Enabled = false
  179. BZ.Size = 20
  180. BZ.Color = Color3.new(0,0,0)
  181. BZ.Opacity = 1
  182. BZ.RiseVelocity = 20
  183. PLN1 = Instance.new("Part", AMD)
  184. PLN1.Parent = game.Workspace
  185. PLN1.Size = Vector3.new(4, 1, 2)
  186. PLN1.Position = owner
  187. PLN1.Anchored = true
  188. PLN1.CanCollide = true
  189. PLN1.Transparency = 1
  190. PLN1.Rotation = Vector3.new(-45, -90, 0)
  191. PLN1.TopSurface = "SmoothNoOutlines"
  192. PLN1.BottomSurface = "SmoothNoOutlines"
  193. PLN1.FrontSurface = "SmoothNoOutlines"
  194. PLN1.LeftSurface = "SmoothNoOutlines"
  195. PLN1.RightSurface = "SmoothNoOutlines"
  196. PLN1.BrickColor = BrickColor.new("Earth green")
  197. MESH1 = Instance.new("SpecialMesh", PLN1)
  198. MESH1.MeshId = "rbxassetid://441716520"
  199. MESH1.MeshType = "FileMesh"
  200. MESH1.Offset = Vector3.new(0, 0, -10)
  201. MESH1.Scale = Vector3.new(0.7, 0.7, 0.7)
  202. MESH1.TextureId = "rbxassetid://441716524"
  203. PLN2 = Instance.new("Part", AMD)
  204. PLN2.Parent = game.Workspace
  205. PLN2.Size = Vector3.new(4, 1, 2)
  206. PLN2.Position = owner
  207. PLN2.Anchored = true
  208. PLN2.CanCollide = true
  209. PLN2.Transparency = 1
  210. PLN2.Rotation = Vector3.new(-45, -90, 0)
  211. PLN2.TopSurface = "SmoothNoOutlines"
  212. PLN2.BottomSurface = "SmoothNoOutlines"
  213. PLN2.FrontSurface = "SmoothNoOutlines"
  214. PLN2.LeftSurface = "SmoothNoOutlines"
  215. PLN2.RightSurface = "SmoothNoOutlines"
  216. PLN2.BrickColor = BrickColor.new("Earth green")
  217. MESH2 = Instance.new("SpecialMesh", PLN2)
  218. MESH2.MeshId = "rbxassetid://441716520"
  219. MESH2.MeshType = "FileMesh"
  220. MESH2.Offset = Vector3.new(0, 0, -10)
  221. MESH2.Scale = Vector3.new(0.7, 0.7, 0.7)
  222. MESH2.TextureId = "rbxassetid://441716524"
  223.  
  224.  
  225. for _,v in pairs(game.Players:GetChildren()) do
  226. v.Character.HumanoidRootPart.CFrame = Spawnxd.CFrame
  227. end
  228.  
  229. wait(2)
  230. PLN1.Transparency = 0
  231. PLN1.Position = PLN1.Position + Vector3.new(4,0,0)
  232. wait(.05)
  233. PLN1.Position = PLN1.Position + Vector3.new(4,0,0)
  234. wait(.05)
  235. PLN1.Position = PLN1.Position + Vector3.new(4,0,0)
  236. wait(.05)
  237. PLN1.Position = PLN1.Position + Vector3.new(4,0,0)
  238. wait(.05)
  239. PLN1.Position = PLN1.Position + Vector3.new(4,0,0)
  240. wait(.05)
  241. PLN1.Position = PLN1.Position + Vector3.new(4,0,0)
  242. wait(.05)
  243. PLN1.Position = PLN1.Position + Vector3.new(4,0,0)
  244. wait(.05)
  245. PLN1.Position = PLN1.Position + Vector3.new(4,0,0)
  246. wait(.05)
  247. PLN1.Position = PLN1.Position + Vector3.new(4,0,0)
  248. wait(.05)
  249. PLN1.Position = PLN1.Position + Vector3.new(4,0,0)
  250. wait(.05)
  251. PLN1.Position = PLN1.Position + Vector3.new(4,0,0)
  252. wait(.05)
  253. PLN1.Position = PLN1.Position + Vector3.new(4,0,0)
  254. wait(.05)
  255. PLN1.Position = PLN1.Position + Vector3.new(4,0,0)
  256. wait(.05)
  257. PLN1.Position = PLN1.Position + Vector3.new(4,0,0)
  258. wait(.05)
  259. PLN1.Position = PLN1.Position + Vector3.new(4,0,0)
  260. wait(.05)
  261. PLN1.Transparency = 1
  262. BZ.Enabled = true
  263.  
  264. EXP1 = Instance.new('Sound')
  265. EXP1.Parent = game.Workspace
  266. EXP1.Looped = true
  267. EXP1.Name = "9/11"
  268. EXP1.Playing = true
  269. EXP1.SoundId = "rbxassetid://165969964"
  270. EXP1.Volume = 10
  271. EXP1.TimePosition = 0
  272. EXP1:Play()
  273. wait(3)
  274. EXP1:Stop()
  275. PLN2.Transparency = 0
  276. PLN2.Position = PLN2.Position + Vector3.new(4,0,0)
  277. wait(.05)
  278. PLN2.Position = PLN2.Position + Vector3.new(4,0,0)
  279. wait(.05)
  280. PLN2.Position = PLN2.Position + Vector3.new(4,0,0)
  281. wait(.05)
  282. PLN2.Position = PLN2.Position + Vector3.new(4,0,0)
  283. wait(.05)
  284. PLN2.Position = PLN2.Position + Vector3.new(4,0,0)
  285. wait(.05)
  286. PLN2.Position = PLN2.Position + Vector3.new(4,0,0)
  287. wait(.05)
  288. PLN2.Position = PLN2.Position + Vector3.new(4,0,0)
  289. wait(.05)
  290. PLN2.Position = PLN2.Position + Vector3.new(4,0,0)
  291. wait(.05)
  292. PLN2.Position = PLN2.Position + Vector3.new(4,0,0)
  293. wait(.05)
  294. PLN2.Position = PLN2.Position + Vector3.new(4,0,0)
  295. wait(.05)
  296. PLN2.Position = PLN2.Position + Vector3.new(4,0,0)
  297. wait(.05)
  298. PLN2.Position = PLN2.Position + Vector3.new(4,0,0)
  299. wait(.05)
  300. PLN2.Position = PLN2.Position + Vector3.new(4,0,0)
  301. wait(.05)
  302. PLN2.Position = PLN2.Position + Vector3.new(4,0,0)
  303. wait(.05)
  304. PLN2.Position = PLN2.Position + Vector3.new(4,0,0)
  305. wait(.05)
  306. PLN2.Position = PLN2.Position + Vector3.new(4,0,0)
  307. wait(.05)
  308. PLN2.Position = PLN2.Position + Vector3.new(4,0,0)
  309. wait(.05)
  310. PLN2.Position = PLN2.Position + Vector3.new(4,0,0)
  311. wait(.05)
  312. PLN2.Position = PLN2.Position + Vector3.new(4,0,0)
  313. wait(.05)
  314. PLN2.Position = PLN2.Position + Vector3.new(4,0,0)
  315. wait(.05)
  316. PLN2.Position = PLN2.Position + Vector3.new(4,0,0)
  317. wait(.05)
  318. PLN2.Position = PLN2.Position + Vector3.new(4,0,0)
  319. PLN2.Transparency = 1
  320. BS.Enabled = true
  321. EXP1:Play()
  322.  
  323. wait(3)
  324. EXP1:Stop()
  325. BZ.Size = 75
  326. asd = BZ.Parent:Clone()
  327. asd.Parent = game.Workspace
  328. asd.Position = asd.Position + Vector3.new(0, -40,0)
  329. WTC2P:Destroy()
  330.  
  331. WTC2.Size = WTC2.Size + Vector3.new(0,-7,0)
  332. WTC2.Position = WTC2.Position + Vector3.new(0,-7,0)
  333. wait(.1)
  334. EXP1:Play()
  335. WTC2.Size = WTC2.Size + Vector3.new(0,-7,0)
  336. WTC2.Position = WTC2.Position + Vector3.new(0,-7,0)
  337. wait(.1)
  338. WTC2.Size = WTC2.Size + Vector3.new(0,-7,0)
  339. WTC2.Position = WTC2.Position + Vector3.new(0,-7,0)
  340. wait(.1)
  341. EXP1:Play()
  342. WTC2.Size = WTC2.Size + Vector3.new(0,-7,0)
  343. WTC2.Position = WTC2.Position + Vector3.new(0,-7,0)
  344. wait(.1)
  345. WTC2.Size = WTC2.Size + Vector3.new(0,-7,0)
  346. WTC2.Position = WTC2.Position + Vector3.new(0,-7,0)
  347. wait(.1)
  348. WTC2.Size = WTC2.Size + Vector3.new(0,-7,0)
  349. WTC2.Position = WTC2.Position + Vector3.new(0,-7,0)
  350. wait(.1)
  351. EXP1:Play()
  352. WTC2.Size = WTC2.Size + Vector3.new(0,-7,0)
  353. WTC2.Position = WTC2.Position + Vector3.new(0,-7,0)
  354. wait(.1)
  355. WTC2.Size = WTC2.Size + Vector3.new(0,-7,0)
  356. WTC2.Position = WTC2.Position + Vector3.new(0,-7,0)
  357. wait(.1)
  358. WTC2.Size = WTC2.Size + Vector3.new(0,-7,0)
  359. WTC2.Position = WTC2.Position + Vector3.new(0,-7,0)
  360. wait(.1)
  361. WTC2.Size = WTC2.Size + Vector3.new(0,-7,0)
  362. WTC2.Position = WTC2.Position + Vector3.new(0,-7,0)
  363. wait(.1)
  364. WTC2.Size = WTC2.Size + Vector3.new(0,-7,0)
  365. WTC2.Position = WTC2.Position + Vector3.new(0,-7,0)
  366. wait(.1)
  367. EXP1:Play()
  368. WTC2.Size = WTC2.Size + Vector3.new(0,-7,0)
  369. WTC2.Position = WTC2.Position + Vector3.new(0,-7,0)
  370. wait(.1)
  371. WTC2.Size = WTC2.Size + Vector3.new(0,-7,0)
  372. WTC2.Position = WTC2.Position + Vector3.new(0,-7,0)
  373. wait(.1)
  374. WTC2.Size = WTC2.Size + Vector3.new(0,-7,0)
  375. WTC2.Position = WTC2.Position + Vector3.new(0,-7,0)
  376. wait(.1)
  377. EXP1:Play()
  378. WTC2:Destroy()
  379.  
  380. wait(1)
  381. BS.Size = 70
  382. asd1 = BS.Parent:Clone()
  383. asd1.Parent = game.Workspace
  384. asd1.Position = asd.Position + Vector3.new(0, -40,0)
  385. WTC1.Size = WTC1.Size + Vector3.new(0,-7,0)
  386. WTC1.Position = WTC1.Position + Vector3.new(0,-7,0)
  387. wait(.1)
  388. EXP1:Play()
  389. WTC1.Size = WTC1.Size + Vector3.new(0,-7,0)
  390. WTC1.Position = WTC1.Position + Vector3.new(0,-7,0)
  391. wait(.1)
  392. WTC1.Size = WTC1.Size + Vector3.new(0,-7,0)
  393. WTC1.Position = WTC1.Position + Vector3.new(0,-7,0)
  394. wait(.1)
  395. WTC1.Size = WTC1.Size + Vector3.new(0,-7,0)
  396. WTC1.Position = WTC1.Position + Vector3.new(0,-7,0)
  397. wait(.1)
  398. EXP1:Play()
  399. WTC1.Size = WTC1.Size + Vector3.new(0,-7,0)
  400. WTC1.Position = WTC1.Position + Vector3.new(0,-7,0)
  401. wait(.1)
  402. WTC1.Size = WTC1.Size + Vector3.new(0,-7,0)
  403. WTC1.Position = WTC1.Position + Vector3.new(0,-7,0)
  404. wait(.1)
  405. EXP1:Play()
  406. WTC1.Size = WTC1.Size + Vector3.new(0,-7,0)
  407. WTC1.Position = WTC1.Position + Vector3.new(0,-7,0)
  408. wait(.1)
  409. WTC1.Size = WTC1.Size + Vector3.new(0,-7,0)
  410. WTC1.Position = WTC1.Position + Vector3.new(0,-7,0)
  411. wait(.1)
  412. WTC1.Size = WTC1.Size + Vector3.new(0,-7,0)
  413. WTC1.Position = WTC1.Position + Vector3.new(0,-7,0)
  414. wait(.1)
  415. EXP1:Play()
  416. WTC1.Size = WTC1.Size + Vector3.new(0,-7,0)
  417. WTC1.Position = WTC1.Position + Vector3.new(0,-7,0)
  418. wait(.1)
  419. EXP1:Play()
  420. WTC1.Size = WTC1.Size + Vector3.new(0,-7,0)
  421. WTC1.Position = WTC1.Position + Vector3.new(0,-7,0)
  422. wait(.1)
  423. WTC1.Size = WTC1.Size + Vector3.new(0,-7,0)
  424. WTC1.Position = WTC1.Position + Vector3.new(0,-7,0)
  425. wait(.1)
  426. WTC1.Size = WTC1.Size + Vector3.new(0,-7,0)
  427. WTC1.Position = WTC1.Position + Vector3.new(0,-7,0)
  428. wait(.1)
  429. WTC1.Size = WTC1.Size + Vector3.new(0,-7,0)
  430. WTC1.Position = WTC1.Position + Vector3.new(0,-7,0)
  431. wait(.1)
  432. WTC1:Destroy()
  433. EXP1:Destroy()
  434.  
  435.  
  436. wait(5)
  437. o = Instance.new("Message", game.Workspace)
  438. o.Text = Text4EndMessage
  439. wait(2)
  440. o:Destroy()
  441. asd1:Destroy()
  442. asd:Destroy()
  443. SMP1:Destroy()
  444. SMP2:Destroy()
  445. AMD:Destroy()
  446. BASE:Destroy()
  447. Spawnxd:Destroy()
  448. PLN1:Destroy()
  449. PLN2:Destroy()
  450.  
  451. for _,c in pairs(game.Players:GetChildren()) do
  452. c.Character.Humanoid.Health = 0
  453. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement