Advertisement
Guest User

Untitled

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