Advertisement
Awooslayer699

windows xd (require this u epic noob)

Apr 18th, 2019
70
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. print("hello welcome to windows.exe xdd. this is made by mrfunnylaughs4")
  2. warn([[the functions are:
  3. click - throw a windows dart that will "shutdown" players
  4. E - restart their explorer.exe xdd
  5. R - bsod them
  6. T - make them stop responding
  7. Y - bust a person with a windows laptop
  8. U - give a person a fresh virus xd
  9. P - spam somebody's mailbox
  10. F - throw a computer at somebody xddddd
  11. G - let me just add chilledwindows.exe in this game
  12. H - shoot some lazers out of the laptop
  13. J - suck a player into a screen xd]])
  14. wait(1)
  15.  
  16. local plr = game:GetService("Players").LocalPlayer
  17. attacking = false
  18. walking = false
  19. local mouse = plr:GetMouse()
  20. repeat wait() until plr.Character
  21. local char = plr.Character
  22. local oldarmc1 = char.Torso["Left Shoulder"].C0
  23. local oldarmc2 = char.Torso["Right Shoulder"].C0
  24. for i,v in pairs(char:GetDescendants()) do
  25. if v:IsA("Accessory") then
  26. v:Destroy()
  27. end
  28. end
  29. local glasses = Instance.new("Accessory")
  30. glasses.Name = "BillGatesGlasses"
  31. glasses.AttachmentPos = Vector3.new(0, 0.3, 0.25)
  32. glasses.Parent = char.Head
  33. local part = Instance.new("Part", glasses)
  34. part.Name = "Handle"
  35. part.Size = Vector3.new(1, 0.4, 1)
  36. part.CFrame = char.HumanoidRootPart.CFrame * CFrame.new(0, 1, 0)
  37. local mesh = Instance.new("SpecialMesh", part)
  38. mesh.MeshType = "FileMesh"
  39. mesh.MeshId = "http://www.roblox.com/asset/?id=11419729"
  40. mesh.TextureId = "rbxassetid://167447118"
  41. glasses.Parent = char
  42. local hair = Instance.new("Accessory")
  43. hair.Name = "BillGatesHair"
  44. hair.AttachmentPos = Vector3.new(0.01, 0.1, 0)
  45. hair.Parent = char.Head
  46. local part2 = Instance.new("Part", hair)
  47. part2.Name = "Handle"
  48. part2.Size = Vector3.new(1, 0.8, 1)
  49. part2.CFrame = char.HumanoidRootPart.CFrame * CFrame.new(0, 1, 0)
  50. local mesh2 = Instance.new("SpecialMesh", part2)
  51. mesh2.MeshType = "FileMesh"
  52. mesh2.MeshId = "http://www.roblox.com/asset/?id=12259089"
  53. mesh2.TextureId = "http://www.roblox.com/asset/?id=12864575"
  54. hair.Parent = char
  55. char.Head:WaitForChild("face").Texture = "http://www.roblox.com/asset/?id=1540974968"
  56.  
  57. char.Humanoid.Running:Connect(function(speed)
  58. if speed > 0 then
  59. walking = true
  60. else
  61. walking = false
  62. end
  63. end)
  64.  
  65. mouse.Button1Down:Connect(function()
  66. if attacking == false and walking == false then
  67. attacking = true
  68. local torso = char.Torso
  69. torso.Anchored = true
  70. spawn(function()
  71. for i = 0, 1.6, 0.1 do
  72. torso["Left Shoulder"].C0 = torso["Left Shoulder"].C0:lerp(torso["Left Shoulder"].C0 * CFrame.Angles(0, 0, -0.09), i)
  73. game:GetService("RunService").RenderStepped:Wait()
  74. end
  75. for i = 1.6, 0 , -0.1 do
  76. torso["Left Shoulder"].C0 = torso["Left Shoulder"].C0:lerp(torso["Left Shoulder"].C0 * CFrame.Angles(0, 0, -0.09), i)
  77. game:GetService("RunService").RenderStepped:Wait()
  78. end
  79. end)
  80. for i = 0, 1.6, 0.1 do
  81. torso["Right Shoulder"].C0 = torso["Right Shoulder"].C0:lerp(torso["Right Shoulder"].C0 * CFrame.Angles(0, 0, 0.09), i)
  82. game:GetService("RunService").RenderStepped:Wait()
  83. end
  84. for i = 1.6, 0 , -0.1 do
  85. torso["Right Shoulder"].C0 = torso["Right Shoulder"].C0:lerp(torso["Right Shoulder"].C0 * CFrame.Angles(0, 0, 0.09), i)
  86. game:GetService("RunService").RenderStepped:Wait()
  87. end
  88. local dart = Instance.new("Part", workspace)
  89. dart.Anchored = true
  90. dart.Size = Vector3.new(1.7, 0.2, 0.2)
  91. dart.BrickColor = BrickColor.new("Bright blue")
  92. dart.CFrame = char["Left Arm"].CFrame * CFrame.Angles(0, math.rad(90), math.pi / 4.1) * CFrame.new(0, -1, 0)
  93. local dart2 = Instance.new("Part", workspace)
  94. dart2.Anchored = true
  95. dart2.Size = Vector3.new(1.7, 0.2, 0.2)
  96. dart2.BrickColor = BrickColor.new("Bright blue")
  97. dart2.CFrame = char["Right Arm"].CFrame * CFrame.Angles(0, math.rad(90), math.pi / 4.1) * CFrame.new(0, -1, 0)
  98. wait(0.5)
  99. spawn(function()
  100. dart.Touched:Connect(function(hit)
  101. if hit.Parent:FindFirstChild("Head") then
  102. hit.Parent.Head:Destroy()
  103. local shutdown = Instance.new("Sound", hit.Parent)
  104. shutdown.SoundId = "rbxassetid://784747919"
  105. shutdown.Volume = 1
  106. shutdown:Play()
  107. end
  108. end)
  109. for i = 1, 100 do
  110. dart.CFrame = dart.CFrame * CFrame.new(-1, -0.01, 0)
  111. game:GetService("RunService").RenderStepped:Wait()
  112. end
  113. dart:Destroy()
  114. end)
  115. spawn(function()
  116. dart2.Touched:Connect(function(hit)
  117. if hit.Parent:FindFirstChild("Head") then
  118. hit.Parent.Head:Destroy()
  119. local shutdown = Instance.new("Sound", hit.Parent)
  120. shutdown.SoundId = "rbxassetid://784747919"
  121. shutdown.Volume = 1
  122. shutdown:Play()
  123. end
  124. end)
  125. for i = 1, 100 do
  126. dart2.CFrame = dart2.CFrame * CFrame.new(-1, -0.01, 0)
  127. game:GetService("RunService").RenderStepped:Wait()
  128. end
  129. dart2:Destroy()
  130. end)
  131. local start1 = torso["Left Shoulder"].C0
  132. spawn(function()
  133. for i = 1.6, 0, -0.1 do
  134. torso["Left Shoulder"].C0 = oldarmc1:lerp(start1, i*i)
  135. game:GetService("RunService").RenderStepped:Wait()
  136. end
  137. end)
  138. local start2 = torso["Right Shoulder"].C0
  139. for i = 1.6, 0, -0.1 do
  140. torso["Right Shoulder"].C0 = oldarmc2:lerp(start2, i*i)
  141. game:GetService("RunService").RenderStepped:Wait()
  142. end
  143. attacking = false
  144. torso.Anchored = false
  145. end
  146. end)
  147.  
  148. game:GetService("UserInputService").InputBegan:Connect(function(input, isTyping)
  149. if isTyping == false then
  150. if input.KeyCode == Enum.KeyCode.E then
  151. local tar = mouse.Target
  152. if tar and tar.Parent:FindFirstChild("Head") and not tar.Parent:FindFirstChild("Head"):FindFirstChild("restartwhoops") then
  153. if tar.Parent:FindFirstChild("Humanoid") then
  154. tar.Parent.Humanoid.DisplayDistanceType = "None"
  155. end
  156. for i,v in pairs(tar.Parent:GetChildren()) do
  157. if v:IsA("BasePart") then
  158. v.Anchored = true
  159. end
  160. end
  161. local sound = Instance.new("Sound", tar.Parent:FindFirstChild("Head"))
  162. sound.SoundId = "rbxassetid://489390072"
  163. sound.Volume = 5
  164. sound:Play()
  165. local billboard = Instance.new("BillboardGui", tar.Parent.Head)
  166. billboard.Size = UDim2.new(0, 200, 0, 50)
  167. billboard.StudsOffset = Vector3.new(0, 2, 0)
  168. billboard.Adornee = tar.Parent.Head
  169. billboard.Name = "restartwhoops"
  170. billboard.MaxDistance = 100
  171. local text = Instance.new("TextLabel", billboard)
  172. text.BackgroundTransparency = 1
  173. text.Size = UDim2.new(10, 0, 1, 0)
  174. text.Position = UDim2.new(-4.5, 0, 0, 0)
  175. text.Font = "Cartoon"
  176. text.TextSize = 30
  177. text.TextStrokeTransparency = 1
  178. text.TextWrapped = true
  179. local text2 = "Restarting Explorer.EXE..."
  180. local texttypetimes = string.len(text2)
  181. spawn(function()
  182. for i = 1, texttypetimes, 1 do
  183. text.Text = string.sub(text2, 1, i)
  184. wait(0.05)
  185. end
  186. end)
  187. wait(10)
  188. if tar.Parent then
  189. for i,v in pairs(tar.Parent:GetChildren()) do
  190. if v:IsA("BasePart") then
  191. v.Anchored = false
  192. end
  193. end
  194. end
  195. local text3 = "Explorer.EXE has fully restarted."
  196. local texttypetimes2 = string.len(text3)
  197. for i = 1, texttypetimes2, 1 do
  198. text.Text = string.sub(text3, 1, i)
  199. wait(0.05)
  200. end
  201. wait(2)
  202. if tar.Parent then
  203. if tar.Parent:FindFirstChild("Humanoid") then
  204. tar.Parent.Humanoid.DisplayDistanceType = "Viewer"
  205. end
  206. end
  207. billboard:Destroy()
  208. end
  209. end
  210. if input.KeyCode == Enum.KeyCode.R then
  211. local tar = mouse.Target
  212. if tar and tar.Parent then
  213. if tar.Parent:FindFirstChild("Head") and not tar.Parent:FindFirstChild("Head"):FindFirstChild("youjustgotbsodxdd") then
  214. local part = Instance.new("Part", tar.Parent)
  215. part.Name = "bsodbrick"
  216. part.Size = tar.Parent.Head.Size
  217. part.Anchored = true
  218. part.CFrame = tar.Parent.Head.CFrame
  219. part.CanCollide = false
  220. part.Transparency = 1
  221. part.Locked = true
  222. local player = game:GetService("Players"):GetPlayerFromCharacter(tar.Parent)
  223. if player then
  224. local gui = Instance.new("ScreenGui", player.PlayerGui)
  225. gui.Name = "blindness"
  226. local image = Instance.new("ImageLabel", gui)
  227. image.Size = UDim2.new(1, 0, 1, 0)
  228. image.BorderSizePixel = 0
  229. image.Image = "http://www.roblox.com/asset/?id=739681017"
  230. for i,v in pairs(tar.Parent:GetChildren()) do
  231. if v:IsA("Part") then
  232. if v.Name ~= "bsodbrick" then
  233. v:Destroy()
  234. end
  235. end
  236. end
  237. end
  238. if tar.Parent then
  239. for i,v in pairs(tar.Parent:GetChildren()) do -- part that errors
  240. if v:IsA("BasePart") then
  241. if v.Name ~= "bsodbrick" then
  242. v:Destroy()
  243. end
  244. end
  245. end
  246. end
  247. local sound = Instance.new("Sound", part)
  248. sound.SoundId = "rbxassetid://160715357"
  249. sound.Volume = 5
  250. sound:Play()
  251. local billboard = Instance.new("BillboardGui", part)
  252. billboard.Adornee = part
  253. billboard.Size = UDim2.new(0, 70, 0, 70)
  254. billboard.StudsOffset = Vector3.new(10, 20, 0)
  255. billboard.Name = "youjustgotbsodxdd"
  256. billboard.MaxDistance = 50
  257. local text = Instance.new("ImageLabel", billboard)
  258. text.Size = UDim2.new(5, 0, 5, 0)
  259. text.BorderSizePixel = 0
  260. text.Position = UDim2.new(-2.5, 0, 0, 0)
  261. text.Image = "http://www.roblox.com/asset/?id=739681017"
  262. end
  263. end
  264. end
  265. if input.KeyCode == Enum.KeyCode.T then
  266. local tar = mouse.Target
  267. if tar and tar.Parent:FindFirstChild("Head") and not tar.Parent:FindFirstChild("Head"):FindFirstChild("norespondxd") then
  268. if tar.Parent:FindFirstChild("Humanoid") then
  269. tar.Parent.Humanoid.DisplayDistanceType = "None"
  270. end
  271. local billboard = Instance.new("BillboardGui", tar.Parent.Head)
  272. billboard.Size = UDim2.new(0, 200, 0, 50)
  273. billboard.StudsOffset = Vector3.new(0, 2, 0)
  274. billboard.Adornee = tar.Parent.Head
  275. billboard.Name = "norespondxd"
  276. billboard.MaxDistance = 100
  277. local text = Instance.new("TextLabel", billboard)
  278. text.BackgroundTransparency = 1
  279. text.Size = UDim2.new(10, 0, 1, 0)
  280. text.Position = UDim2.new(-4.5, 0, 0, 0)
  281. text.Font = "Cartoon"
  282. text.TextSize = 30
  283. text.TextStrokeTransparency = 1
  284. text.TextWrapped = true
  285. text.Text = tar.Parent.Name.." has stopped working."
  286. local sound = Instance.new("Sound", tar.Parent)
  287. sound.SoundId = "rbxassetid://669574849"
  288. sound.Volume = 5
  289. sound:Play()
  290. spawn(function()
  291. repeat
  292. if tar.Parent then
  293. for i,v in pairs(tar.Parent:GetChildren()) do
  294. if v:IsA("BasePart") then
  295. v.Anchored = true
  296. end
  297. end
  298. end
  299. wait(0.1)
  300. if tar.Parent then
  301. for i,v in pairs(tar.Parent:GetChildren()) do
  302. if v:IsA("BasePart") then
  303. v.Anchored = false
  304. end
  305. end
  306. end
  307. wait()
  308. until not tar.Parent
  309. end)
  310. end
  311. end
  312. if input.KeyCode == Enum.KeyCode.Y and attacking == false then
  313. attacking = true
  314. local pcmodel = Instance.new("Model", workspace)
  315. pcmodel.Name = "this is a good windows pc xdd"
  316. local base = Instance.new("Part", pcmodel)
  317. base.Name = "Bottom"
  318. base.BrickColor = BrickColor.new("Black")
  319. base.Size = Vector3.new(8.1, 0.4, 6.3)
  320. base.TopSurface = "Smooth"
  321. base.BottomSurface = "Smooth"
  322. pcmodel.PrimaryPart = base
  323. local screen = Instance.new("Part", pcmodel)
  324. screen.Name = "ScreenHolder"
  325. screen.BrickColor = BrickColor.new("Black")
  326. screen.Size = Vector3.new(8.1, 5.2, 0.4)
  327. screen.TopSurface = "Smooth"
  328. screen.BottomSurface = "Smooth"
  329. local weld = Instance.new("Weld", pcmodel)
  330. weld.Name = "BaseToScreenHolder"
  331. weld.Part0 = base
  332. weld.Part1 = screen
  333. weld.C1 = CFrame.new(0, -3.6, 2.95) * CFrame.Angles(math.rad(20), 0, 0)
  334. local screen2 = Instance.new("Part", pcmodel)
  335. screen2.Name = "Screen"
  336. screen2.BrickColor = BrickColor.new("Really black")
  337. screen2.Size = Vector3.new(7.5, 4.5, 0.1)
  338. screen2.TopSurface = "Smooth"
  339. screen2.BottomSurface = "Smooth"
  340. local weld2 = Instance.new("Weld", pcmodel)
  341. weld2.Name = "ScreenHolderToScreen"
  342. weld2.Part0 = screen
  343. weld2.Part1 = screen2
  344. weld2.C1 = CFrame.new(0, 0, -0.2)
  345. pcmodel:SetPrimaryPartCFrame(CFrame.new(mouse.Hit.p) + Vector3.new(0, 100, 0))
  346. local sound = Instance.new("Sound", pcmodel)
  347. sound.SoundId = "rbxassetid://587166970"
  348. sound.Volume = 2
  349. sound:Play()
  350. base.Touched:Connect(function(hit)
  351. if hit.Parent:FindFirstChild("Head") then
  352. hit.Parent.Head.Position = hit.Parent.Head.Position + Vector3.new(0, 1, 0)
  353. end
  354. end)
  355. screen.Touched:Connect(function(hit)
  356. if hit.Parent:FindFirstChild("Head") then
  357. hit.Parent.Head.Position = hit.Parent.Head.Position + Vector3.new(0, 1, 0)
  358. end
  359. end)
  360. screen2.Touched:Connect(function(hit)
  361. if hit.Parent:FindFirstChild("Head") then
  362. hit.Parent.Head.Position = hit.Parent.Head.Position + Vector3.new(0, 1, 0)
  363. end
  364. end)
  365. spawn(function()
  366. wait(4)
  367. attacking = false
  368. end)
  369. end
  370. if input.KeyCode == Enum.KeyCode.U then
  371. local tar = mouse.Target
  372. if tar and tar.Parent:FindFirstChild("Head") and not tar.Parent:FindFirstChild("Head"):FindFirstChild("virusaffect") then
  373. if tar.Parent:FindFirstChild("Humanoid") then
  374. tar.Parent.Humanoid:Destroy()
  375. else
  376. local bodyforce = Instance.new("BodyForce", tar.Parent.Head)
  377. bodyforce.Force = Vector3.new(0, -500000, 0)
  378. end
  379. local billboard = Instance.new("BillboardGui", tar.Parent.Head)
  380. billboard.Size = UDim2.new(0, 200, 0, 50)
  381. billboard.StudsOffset = Vector3.new(0, 2, 0)
  382. billboard.Adornee = tar.Parent.Head
  383. billboard.Name = "virusaffect"
  384. billboard.MaxDistance = 100
  385. local text = Instance.new("TextLabel", billboard)
  386. text.BackgroundTransparency = 1
  387. text.Size = UDim2.new(10, 0, 1, 0)
  388. text.Position = UDim2.new(-4.5, 0, 0, 0)
  389. text.Font = "Cartoon"
  390. text.TextSize = 30
  391. text.TextStrokeTransparency = 1
  392. text.TextWrapped = true
  393. text.Text = "This user is affected by a virus."
  394. local sound = Instance.new("Sound", tar.Parent)
  395. sound.SoundId = "rbxassetid://575266163"
  396. sound.Volume = 5
  397. sound:Play()
  398. end
  399. end
  400. if input.KeyCode == Enum.KeyCode.P then
  401. local tar = mouse.Target
  402. if tar and tar.Parent:FindFirstChild("Head") and not tar.Parent:FindFirstChild("Head"):FindFirstChild("mailaffect") then
  403. if tar.Parent:FindFirstChild("Humanoid") then
  404. tar.Parent.Humanoid.DisplayDistanceType = "None"
  405. end
  406. local billboard = Instance.new("BillboardGui", tar.Parent.Head)
  407. billboard.Size = UDim2.new(0, 200, 0, 50)
  408. billboard.StudsOffset = Vector3.new(0, 2, 0)
  409. billboard.Adornee = tar.Parent.Head
  410. billboard.Name = "mailaffect"
  411. billboard.MaxDistance = 100
  412. local text = Instance.new("TextLabel", billboard)
  413. text.BackgroundTransparency = 1
  414. text.Size = UDim2.new(10, 0, 1, 0)
  415. text.Position = UDim2.new(-4.5, 0, 0, 0)
  416. text.Font = "Cartoon"
  417. text.TextSize = 30
  418. text.TextStrokeTransparency = 1
  419. text.TextWrapped = true
  420. text.Text = "This user is being spammed with mail."
  421. local sound = Instance.new("Sound", tar.Parent)
  422. sound.SoundId = "rbxassetid://651986414"
  423. sound.Volume = 5
  424. sound:Play()
  425. local player = game:GetService("Players"):GetPlayerFromCharacter(tar.Parent)
  426. if player then
  427. local emails = {
  428. "l0lz u spammd xd",
  429. "soz i need to sp4m u",
  430. "lol need caffeine? click on this ad then!",
  431. "your ded lel",
  432. "sorry but we have to break up",
  433. "i'm hungry can i eat ur pizzer xd",
  434. "why did u listn to bill gatz",
  435. "please stop already",
  436. "commit get spammed by mail lolz",
  437. "wow i hope u are havin good dayz xddd",
  438. "GIVE MEE FOODZ",
  439. "oops, your system crashed. you lost your data, but you had protegent",
  440. "A problem has been detected and windows has been shut down to prevent damage.",
  441. "BYE BXLOLXDDDD EROERLOL",
  442. "rofl u got hit by titannic",
  443. "goodbye young sir"
  444. }
  445. for i = 1, 20 do
  446. local gui = Instance.new("ScreenGui", player.PlayerGui)
  447. gui.Name = "Mail "..i
  448. local text = Instance.new("TextLabel", gui)
  449. text.Size = UDim2.new(0.213, 0, 0.332, 0)
  450. local r = Random.new()
  451. text.Position = UDim2.new(r:NextNumber(0, 0.81), 0, r:NextNumber(0, 0.71), 0)
  452. text.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  453. text.Text = emails[math.random(1, 16)]
  454. text.TextScaled = true
  455. wait()
  456. end
  457. end
  458. end
  459. end
  460. if input.KeyCode == Enum.KeyCode.F and attacking == false and walking == false then
  461. attacking = true
  462. local torso = char.Torso
  463. torso.Anchored = true
  464. local pcmodel = Instance.new("Model")
  465. pcmodel.Name = "this is a good windows pc xdd"
  466. local base = Instance.new("Part", pcmodel)
  467. base.Name = "Bottom"
  468. base.BrickColor = BrickColor.new("Black")
  469. base.Size = Vector3.new(8.1, 0.4, 6.3)
  470. base.TopSurface = "Smooth"
  471. base.BottomSurface = "Smooth"
  472. pcmodel.PrimaryPart = base
  473. local screen = Instance.new("Part", pcmodel)
  474. screen.Name = "ScreenHolder"
  475. screen.BrickColor = BrickColor.new("Black")
  476. screen.Size = Vector3.new(8.1, 5.2, 0.4)
  477. screen.TopSurface = "Smooth"
  478. screen.BottomSurface = "Smooth"
  479. local weld = Instance.new("Weld", pcmodel)
  480. weld.Name = "BaseToScreenHolder"
  481. weld.Part0 = base
  482. weld.Part1 = screen
  483. weld.C1 = CFrame.new(0, -3.6, 2.95) * CFrame.Angles(math.rad(20), 0, 0)
  484. local screen2 = Instance.new("Part", pcmodel)
  485. screen2.Name = "Screen"
  486. screen2.BrickColor = BrickColor.new("Really black")
  487. screen2.Size = Vector3.new(7.5, 4.5, 0.1)
  488. screen2.TopSurface = "Smooth"
  489. screen2.BottomSurface = "Smooth"
  490. local weld2 = Instance.new("Weld", pcmodel)
  491. weld2.Name = "ScreenHolderToScreen"
  492. weld2.Part0 = screen
  493. weld2.Part1 = screen2
  494. weld2.C1 = CFrame.new(0, 0, -0.2)
  495. spawn(function()
  496. for i = 0, 1.6, 0.2 do
  497. torso["Right Shoulder"].C0 = torso["Right Shoulder"].C0:lerp(torso["Right Shoulder"].C0 * CFrame.Angles(0, 0, 0.31), i)
  498. game:GetService("RunService").RenderStepped:Wait()
  499. end
  500. for i = 1.4, 0, -0.2 do
  501. torso["Right Shoulder"].C0 = torso["Right Shoulder"].C0:lerp(torso["Right Shoulder"].C0 * CFrame.Angles(0, 0, 0.31), i)
  502. game:GetService("RunService").RenderStepped:Wait()
  503. end
  504. end)
  505. for i = 0, 1.6, 0.2 do
  506. torso["Left Shoulder"].C0 = torso["Left Shoulder"].C0:lerp(torso["Left Shoulder"].C0 * CFrame.Angles(0, 0, -0.31), i)
  507. game:GetService("RunService").RenderStepped:Wait()
  508. end
  509. for i = 1.4, 0, -0.2 do
  510. torso["Left Shoulder"].C0 = torso["Left Shoulder"].C0:lerp(torso["Left Shoulder"].C0 * CFrame.Angles(0, 0, -0.31), i)
  511. game:GetService("RunService").RenderStepped:Wait()
  512. end
  513. pcmodel.Parent = char
  514. pcmodel:SetPrimaryPartCFrame(char.HumanoidRootPart.CFrame * CFrame.new(0, 2.2, 3.5) * CFrame.Angles(0, math.pi, 0))
  515. pcmodel.PrimaryPart.Anchored = true
  516. wait(0.3)
  517. spawn(function()
  518. for i = 0, 1.6, 0.2 do
  519. torso["Right Shoulder"].C0 = torso["Right Shoulder"].C0:lerp(torso["Right Shoulder"].C0 * CFrame.Angles(0, 0, -0.31), i)
  520. game:GetService("RunService").RenderStepped:Wait()
  521. end
  522. local start1 = torso["Right Shoulder"].C0
  523. for i = 1.4, 0, -0.2 do
  524. torso["Right Shoulder"].C0 = oldarmc2:lerp(start1, i*i)
  525. game:GetService("RunService").RenderStepped:Wait()
  526. end
  527. end)
  528. spawn(function()
  529. for i = 0, 1.6, 0.2 do
  530. torso["Left Shoulder"].C0 = torso["Left Shoulder"].C0:lerp(torso["Left Shoulder"].C0 * CFrame.Angles(0, 0, -0.31), i)
  531. game:GetService("RunService").RenderStepped:Wait()
  532. end
  533. local start2 = torso["Left Shoulder"].C0
  534. for i = 1.4, 0, -0.2 do
  535. torso["Left Shoulder"].C0 = oldarmc1:lerp(start2, i*i)
  536. game:GetService("RunService").RenderStepped:Wait()
  537. end
  538. end)
  539. pcmodel.PrimaryPart.Anchored = false
  540. local vel = pcmodel.PrimaryPart.CFrame.LookVector
  541. pcmodel.PrimaryPart.Velocity = vel * -150 + Vector3.new(0, 50, 0)
  542. pcmodel.PrimaryPart.Touched:Connect(function(hit)
  543. if hit.Parent:FindFirstChild("Head") and hit.Parent:IsA("Model") and hit.Parent.Name ~= plr.Name and not hit.Parent:FindFirstChild("isattracted") then
  544. local value = Instance.new("BoolValue", hit.Parent)
  545. value.Name = "isattracted"
  546. value.Value = true
  547. local sound = Instance.new("Sound", hit.Parent)
  548. sound.SoundId = "rbxassetid://575266163"
  549. sound.Volume = 5
  550. sound:Play()
  551. repeat
  552. wait(0.2)
  553. if hit.Parent and pcmodel then
  554. hit.Parent:SetPrimaryPartCFrame(pcmodel.PrimaryPart.CFrame * CFrame.new(0, 4.7, 0))
  555. end
  556. until not hit.Parent or not pcmodel
  557. end
  558. end)
  559. wait(0.3)
  560. pcmodel.Parent = workspace
  561. torso.Anchored = false
  562. attacking = false
  563. end
  564. if input.KeyCode == Enum.KeyCode.G and attacking == false then
  565. attacking = true
  566. local running = true
  567. spawn(function()
  568. repeat wait()
  569. if workspace:FindFirstChild("Baseplate") then
  570. workspace.Baseplate.Transparency = 1
  571. workspace.Baseplate.CanCollide = false
  572. end
  573. if workspace:FindFirstChild("Base") then
  574. workspace.Base.Transparency = 1
  575. workspace.Base.CanCollide = false
  576. end
  577. until running == false
  578. end)
  579. local newbase = Instance.new("Part", workspace)
  580. newbase.Anchored = true
  581. newbase.Size = Vector3.new(512, 20, 512)
  582. newbase.CFrame = CFrame.new(0, -10, 0)
  583. newbase.BrickColor = BrickColor.new("Bright green")
  584. newbase.Material = Enum.Material.Grass
  585. local sound = Instance.new("Sound", char)
  586. sound.SoundId = "rbxassetid://1120289188"
  587. sound.Volume = 2
  588. sound:Play()
  589. wait(3.8)
  590. local turn = 1
  591. for i = 1, 50 do
  592. wait(0.1)
  593. if turn == 1 then
  594. turn = 2
  595. newbase.CFrame = CFrame.Angles(math.rad(20), 0, 0)
  596. end
  597. if i == 49 then
  598. i = 50
  599. else
  600. wait(0.1)
  601. if turn == 2 then
  602. turn = 1
  603. newbase.CFrame = CFrame.Angles(math.rad(-20), 0, 0)
  604. end
  605. end
  606. end
  607. newbase.CFrame = CFrame.Angles(0, 0, 0)
  608. sound:Destroy()
  609. running = false
  610. attacking = false
  611. end
  612. if input.KeyCode == Enum.KeyCode.H and attacking == false and walking == false then
  613. attacking = true
  614. local torso = char.Torso
  615. torso.Anchored = true
  616. local pcmodel = Instance.new("Model")
  617. pcmodel.Name = "this is a good windows pc xdd"
  618. local base = Instance.new("Part", pcmodel)
  619. base.Name = "Bottom"
  620. base.BrickColor = BrickColor.new("Black")
  621. base.Size = Vector3.new(8.1, 0.4, 6.3)
  622. base.TopSurface = "Smooth"
  623. base.BottomSurface = "Smooth"
  624. pcmodel.PrimaryPart = base
  625. local screen = Instance.new("Part", pcmodel)
  626. screen.Name = "ScreenHolder"
  627. screen.BrickColor = BrickColor.new("Black")
  628. screen.Size = Vector3.new(8.1, 5.2, 0.4)
  629. screen.TopSurface = "Smooth"
  630. screen.BottomSurface = "Smooth"
  631. local weld = Instance.new("Weld", pcmodel)
  632. weld.Name = "BaseToScreenHolder"
  633. weld.Part0 = base
  634. weld.Part1 = screen
  635. weld.C1 = CFrame.new(0, -3.6, 2.95) * CFrame.Angles(math.rad(20), 0, 0)
  636. local screen2 = Instance.new("Part", pcmodel)
  637. screen2.Name = "Screen"
  638. screen2.BrickColor = BrickColor.new("Really black")
  639. screen2.Size = Vector3.new(7.5, 4.5, 0.1)
  640. screen2.TopSurface = "Smooth"
  641. screen2.BottomSurface = "Smooth"
  642. local weld2 = Instance.new("Weld", pcmodel)
  643. weld2.Name = "ScreenHolderToScreen"
  644. weld2.Part0 = screen
  645. weld2.Part1 = screen2
  646. weld2.C1 = CFrame.new(0, 0, -0.2)
  647. for i = 0, 1.6, 0.1 do
  648. torso["Right Shoulder"].C0 = torso["Right Shoulder"].C0:lerp(torso["Right Shoulder"].C0 * CFrame.Angles(0, 0, 0.061), i)
  649. game:GetService("RunService").RenderStepped:Wait()
  650. end
  651. for i = 1.6, 0 , -0.1 do
  652. torso["Right Shoulder"].C0 = torso["Right Shoulder"].C0:lerp(torso["Right Shoulder"].C0 * CFrame.Angles(0, 0, 0.061), i)
  653. game:GetService("RunService").RenderStepped:Wait()
  654. end
  655. char["Right Arm"].Anchored = true
  656. pcmodel.Parent = char
  657. pcmodel:SetPrimaryPartCFrame(char["Right Arm"].CFrame * CFrame.new(3, 0, -0.5) * CFrame.Angles(math.pi / 2, 0, math.pi))
  658. pcmodel.PrimaryPart.Anchored = true
  659. local sound = Instance.new("Sound", char)
  660. sound.SoundId = "rbxassetid://1650786609"
  661. sound.Volume = 1
  662. sound:Play()
  663. wait(0.3)
  664. local shoot = true
  665. spawn(function()
  666. repeat wait(0.05)
  667. local shootinfo = Ray.new(screen2.CFrame.p, (mouse.Hit.p - char["Right Arm"].CFrame.p).Unit * 300)
  668. local part, location = workspace:FindPartOnRay(shootinfo,char, false, true)
  669. local from = (screen2.CFrame.p - location).Magnitude
  670. local winshoot = Instance.new("Part", pcmodel)
  671. winshoot.Name = "windowslazer"
  672. local number = math.random(1, 4)
  673. if number == 1 then
  674. winshoot.BrickColor = BrickColor.new("Bright red")
  675. elseif number == 2 then
  676. winshoot.BrickColor = BrickColor.new("Bright green")
  677. elseif number == 3 then
  678. winshoot.BrickColor = BrickColor.new("Bright blue")
  679. end
  680. winshoot.Material = Enum.Material.Neon
  681. winshoot.Transparency = 0.5
  682. winshoot.Anchored = true
  683. winshoot.CanCollide = false
  684. winshoot.Size = Vector3.new(0.1, 0.1, from)
  685. winshoot.CFrame = CFrame.new((screen2.CFrame).p, mouse.Hit.p) * CFrame.new(0, 0, -from / 2)
  686. winshoot.Touched:Connect(function(hit)
  687. if hit.Parent:FindFirstChild("Head") then
  688. hit.Parent.Head.Position = hit.Parent.Head.Position + Vector3.new(0, 0.1, 0)
  689. end
  690. end)
  691. spawn(function()
  692. wait(0.2)
  693. winshoot:Destroy()
  694. end)
  695. until shoot == false
  696. end)
  697. wait(6)
  698. sound:Destroy()
  699. shoot = false
  700. pcmodel:Destroy()
  701. char["Right Arm"].Anchored = false
  702. for i = 0, 1.6, 0.1 do
  703. torso["Right Shoulder"].C0 = torso["Right Shoulder"].C0:lerp(torso["Right Shoulder"].C0 * CFrame.Angles(0, 0, -0.061), i)
  704. game:GetService("RunService").RenderStepped:Wait()
  705. end
  706. local start1 = torso["Right Shoulder"].C0
  707. for i = 1.4, 0, -0.2 do
  708. torso["Right Shoulder"].C0 = oldarmc2:lerp(start1, i*i)
  709. game:GetService("RunService").RenderStepped:Wait()
  710. end
  711. torso.Anchored = false
  712. attacking = false
  713. end
  714. if input.KeyCode == Enum.KeyCode.J and attacking == false then
  715. local tar = mouse.Target
  716. if tar and tar.Parent and tar.Parent:FindFirstChild("Head") then
  717. attacking = true
  718. local pcmodel = Instance.new("Model")
  719. pcmodel.Name = "this is a good windows pc xdd"
  720. local base = Instance.new("Part", pcmodel)
  721. base.Name = "Bottom"
  722. base.BrickColor = BrickColor.new("Black")
  723. base.Size = Vector3.new(8.1, 0.4, 6.3)
  724. base.TopSurface = "Smooth"
  725. base.BottomSurface = "Smooth"
  726. pcmodel.PrimaryPart = base
  727. local screen = Instance.new("Part", pcmodel)
  728. screen.Name = "ScreenHolder"
  729. screen.BrickColor = BrickColor.new("Black")
  730. screen.Size = Vector3.new(8.1, 5.2, 0.4)
  731. screen.TopSurface = "Smooth"
  732. screen.BottomSurface = "Smooth"
  733. local weld = Instance.new("Weld", pcmodel)
  734. weld.Name = "BaseToScreenHolder"
  735. weld.Part0 = base
  736. weld.Part1 = screen
  737. weld.C1 = CFrame.new(0, -3.6, 2.95) * CFrame.Angles(math.rad(20), 0, 0)
  738. local screen2 = Instance.new("Part", pcmodel)
  739. screen2.Name = "Screen"
  740. screen2.BrickColor = BrickColor.new("Really black")
  741. screen2.Size = Vector3.new(7.5, 4.5, 0.1)
  742. screen2.TopSurface = "Smooth"
  743. screen2.BottomSurface = "Smooth"
  744. local weld2 = Instance.new("Weld", pcmodel)
  745. weld2.Name = "ScreenHolderToScreen"
  746. weld2.Part0 = screen
  747. weld2.Part1 = screen2
  748. weld2.C1 = CFrame.new(0, 0, -0.2)
  749. pcmodel.Parent = workspace
  750. pcmodel:SetPrimaryPartCFrame(tar.Parent.Head.CFrame * CFrame.new(0, -1.5, 4) * CFrame.Angles(math.rad(-70), 0, 0))
  751. pcmodel.PrimaryPart.Anchored = true
  752. tar.Parent.Head.Anchored = true
  753. wait(0.7)
  754. local shutdown = Instance.new("Sound", tar.Parent)
  755. shutdown.SoundId = "rbxassetid://784747919"
  756. shutdown.Volume = 1
  757. shutdown:Play()
  758. for i = 1, 50 do
  759. tar.Parent.Head.CFrame = tar.Parent.Head.CFrame * CFrame.new(0, -0.1, 0)
  760. game:GetService("RunService").RenderStepped:Wait()
  761. end
  762. shutdown.Ended:Wait()
  763. if tar.Parent then
  764. tar.Parent:Destroy()
  765. end
  766. wait(0.4)
  767. pcmodel:Destroy()
  768. attacking = false
  769. end
  770. end
  771. if input.KeyCode == Enum.KeyCode.K and attacking == false then
  772. local tar = mouse.Target
  773. if tar and tar.Parent and tar.Parent:FindFirstChild("Head") then
  774. attacking = true
  775. local pcmodel = Instance.new("Model")
  776. pcmodel.Name = "this is a good windows pc xdd"
  777. local base = Instance.new("Part", pcmodel)
  778. base.Name = "Bottom"
  779. base.BrickColor = BrickColor.new("Black")
  780. base.Size = Vector3.new(8.1, 0.4, 6.3)
  781. base.TopSurface = "Smooth"
  782. base.BottomSurface = "Smooth"
  783. pcmodel.PrimaryPart = base
  784. local screen = Instance.new("Part", pcmodel)
  785. screen.Name = "ScreenHolder"
  786. screen.BrickColor = BrickColor.new("Black")
  787. screen.Size = Vector3.new(8.1, 5.2, 0.4)
  788. screen.TopSurface = "Smooth"
  789. screen.BottomSurface = "Smooth"
  790. local weld = Instance.new("Weld", pcmodel)
  791. weld.Name = "BaseToScreenHolder"
  792. weld.Part0 = base
  793. weld.Part1 = screen
  794. weld.C1 = CFrame.new(0, -3.6, 2.95) * CFrame.Angles(math.rad(20), 0, 0)
  795. local screen2 = Instance.new("Part", pcmodel)
  796. screen2.Name = "Screen"
  797. screen2.BrickColor = BrickColor.new("Really black")
  798. screen2.Size = Vector3.new(7.5, 4.5, 0.1)
  799. screen2.TopSurface = "Smooth"
  800. screen2.BottomSurface = "Smooth"
  801. local weld2 = Instance.new("Weld", pcmodel)
  802. weld2.Name = "ScreenHolderToScreen"
  803. weld2.Part0 = screen
  804. weld2.Part1 = screen2
  805. weld2.C1 = CFrame.new(0, 0, -0.2)
  806. pcmodel.Parent = workspace
  807. pcmodel:SetPrimaryPartCFrame(tar.Parent.Head.CFrame * CFrame.new(0, -1.5, 4) * CFrame.Angles(math.rad(-70), 0, 0))
  808. pcmodel.PrimaryPart.Anchored = true
  809. tar.Parent.Head.Anchored = true
  810. wait(0.7)
  811. local shutdown = Instance.new("Sound", tar.Parent)
  812. shutdown.SoundId = "rbxassetid://784747919"
  813. shutdown.Volume = 1
  814. shutdown:Play()
  815. for i = 1, 50 do
  816. if tar.Parent then
  817. tar.Parent.Head.CFrame = tar.Parent.Head.CFrame * CFrame.new(0, -0.1, 0)
  818. game:GetService("RunService").RenderStepped:Wait()
  819. end
  820. end
  821. wait(2.4)
  822. local sound = Instance.new("Sound", pcmodel)
  823. sound.SoundId = "rbxassetid://587166970"
  824. sound.Volume = 2
  825. sound:Play()
  826. if tar.Parent.PrimaryPart == nil then
  827. tar.Parent.PrimaryPart = tar.Parent.Head
  828. end
  829. tar.Parent:SetPrimaryPartCFrame(tar.Parent.Head.CFrame * CFrame.new(0, 10, 0))
  830. tar.Parent.Head.Anchored = false
  831. local t2 = Instance.new("BodyForce", tar.Parent.Head)
  832. t2.Force = Vector3.new(0, 600000, 0)
  833. local t = Instance.new("BodyThrust", tar.Parent.Head)
  834. t.Force = Vector3.new(0, 0, -200000)
  835. wait(0.5)
  836. t:Destroy()
  837. t2:Destroy()
  838. wait(3)
  839. attacking = false
  840. end
  841. end
  842. if input.KeyCode == Enum.KeyCode.L and attacking == false and walking == false then
  843. attacking = true
  844. local torso = char.Torso
  845. torso.Anchored = true
  846. for i = 0, 1.6, 0.1 do
  847. torso["Right Shoulder"].C0 = torso["Right Shoulder"].C0:lerp(torso["Right Shoulder"].C0 * CFrame.Angles(0, 0, 0.061), i)
  848. game:GetService("RunService").RenderStepped:Wait()
  849. end
  850. for i = 1.6, 0 , -0.1 do
  851. torso["Right Shoulder"].C0 = torso["Right Shoulder"].C0:lerp(torso["Right Shoulder"].C0 * CFrame.Angles(0, 0, 0.061), i)
  852. game:GetService("RunService").RenderStepped:Wait()
  853. end
  854. char["Right Arm"].Anchored = true
  855. local sound = Instance.new("Sound", char)
  856. sound.SoundId = "rbxassetid://987728667"
  857. sound.Volume = 2
  858. sound:Play()
  859. spawn(function()
  860. for i = 1, 10 do
  861. game:GetService("RunService").RenderStepped:Wait()
  862. local shootinfo = Ray.new(char["Right Arm"].CFrame.p, (mouse.Hit.p - char["Right Arm"].CFrame.p).Unit * 300)
  863. local part, location = workspace:FindPartOnRay(shootinfo,char, false, true)
  864. local from = (char["Right Arm"].CFrame.p - location).Magnitude
  865. local winshoot = Instance.new("Part", char)
  866. winshoot.Name = "windowslazer"
  867. local number = math.random(1, 4)
  868. if number == 1 then
  869. winshoot.BrickColor = BrickColor.new("Bright red")
  870. elseif number == 2 then
  871. winshoot.BrickColor = BrickColor.new("Bright green")
  872. elseif number == 3 then
  873. winshoot.BrickColor = BrickColor.new("Bright blue")
  874. end
  875. winshoot.Material = Enum.Material.Neon
  876. winshoot.Transparency = 0.5
  877. winshoot.Anchored = true
  878. winshoot.CanCollide = false
  879. winshoot.Size = Vector3.new(0.1, 0.1, from * 2)
  880. winshoot.CFrame = CFrame.new((char["Right Arm"].CFrame).p, mouse.Hit.p) * CFrame.new(0, 0, -from)
  881. spawn(function()
  882. repeat game:GetService("RunService").RenderStepped:Wait()
  883. if winshoot then
  884. winshoot.CFrame = winshoot.CFrame * CFrame.new(2, 0, 0)
  885. end
  886. if winshoot then
  887. winshoot.CFrame = winshoot.CFrame * CFrame.new(-2, 0, 0)
  888. end
  889. until not winshoot
  890. end)
  891. winshoot.Touched:Connect(function(hit)
  892. if hit.Parent:FindFirstChild("Head") then
  893. hit.Parent.Head.Position = hit.Parent.Head.Position + Vector3.new(0, 0.1, 0)
  894. end
  895. end)
  896. spawn(function()
  897. wait(0.2)
  898. winshoot:Destroy()
  899. end)
  900. end
  901. end)
  902. wait(0.6)
  903. char["Right Arm"].Anchored = false
  904. for i = 0, 1.6, 0.1 do
  905. torso["Right Shoulder"].C0 = torso["Right Shoulder"].C0:lerp(torso["Right Shoulder"].C0 * CFrame.Angles(0, 0, -0.061), i)
  906. game:GetService("RunService").RenderStepped:Wait()
  907. end
  908. local start1 = torso["Right Shoulder"].C0
  909. for i = 1.4, 0, -0.2 do
  910. torso["Right Shoulder"].C0 = oldarmc2:lerp(start1, i*i)
  911. game:GetService("RunService").RenderStepped:Wait()
  912. end
  913. wait(0.2)
  914. torso.Anchored = false
  915. attacking = false
  916. end
  917. end
  918. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement