Advertisement
NightGamingVN

cappy

Jan 3rd, 2020
84
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 23.09 KB | None | 0 0
  1. -- disapointted about myself
  2. -- pdn's vr headset by pdnghiaqoi [ marseio ]
  3. -- inspired from cj4's glasses
  4. -- use by saying something emotional
  5. script.Parent = workspace
  6. for i,v in pairs(owner.Character:GetChildren()) do
  7. if v:IsA("Accessory") and v.Name == "VRHeadset" then
  8. v:Destroy()
  9. end
  10. end
  11. Accessory0 = Instance.new("Accessory")
  12. Part1 = Instance.new("Part")
  13. SpecialMesh2 = Instance.new("SpecialMesh")
  14. Vector3Value3 = Instance.new("Vector3Value")
  15. Part4 = Instance.new("Part")
  16. SurfaceGui5 = Instance.new("SurfaceGui")
  17. Frame6 = Instance.new("Frame")
  18. TextLabel7 = Instance.new("TextLabel")
  19. TextLabel8 = Instance.new("TextLabel")
  20. TextLabel9 = Instance.new("TextLabel")
  21. Weld10 = Instance.new("Weld")
  22. CFrameValue11 = Instance.new("CFrameValue")
  23. Part12 = Instance.new("Part")
  24. Weld13 = Instance.new("Weld")
  25. CFrameValue14 = Instance.new("CFrameValue")
  26. Accessory0.Name = "VRHeadset"
  27. Accessory0.Parent = mas
  28. Accessory0.AttachmentPoint = CFrame.new(0, 0.300000012, 0.200000003, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  29. Accessory0.AttachmentPos = Vector3.new(0, 0.300000012, 0.200000003)
  30. Part1.Name = "Handle"
  31. Part1.Parent = Accessory0
  32. Part1.CFrame = CFrame.new(-0.00371899991, 0.438520014, -3.47649598, -0.999104917, 0.000209208141, 0.0422893129, -1.96854398e-06, 0.999987543, -0.00499352673, -0.042289827, -0.0049891402, -0.99909246)
  33. Part1.Orientation = Vector3.new(0.289999992, 177.580002, 0)
  34. Part1.Position = Vector3.new(-0.00371899991, 0.438520014, -3.47649598)
  35. Part1.Rotation = Vector3.new(179.710007, 2.42000008, -179.990005)
  36. Part1.Size = Vector3.new(1.4200002, 0.870000005, 1.40999985)
  37. Part1.Anchored = false
  38. Part1.BottomSurface = Enum.SurfaceType.Smooth
  39. Part1.CanCollide = false
  40. Part1.Locked = true
  41. Part1.TopSurface = Enum.SurfaceType.Smooth
  42. SpecialMesh2.Parent = Part1
  43. SpecialMesh2.MeshId = "http://www.roblox.com/asset/?id=397905188"
  44. SpecialMesh2.Scale = Vector3.new(0.819999993, 0.819999993, 0.819999993)
  45. SpecialMesh2.TextureId = "http://www.roblox.com/asset/?id=398121219 "
  46. SpecialMesh2.MeshType = Enum.MeshType.FileMesh
  47. Vector3Value3.Name = "OriginalSize"
  48. Vector3Value3.Parent = Part1
  49. Vector3Value3.Value = Vector3.new(1.4200002, 0.870000005, 1.40999985)
  50. Part4.Parent = Part1
  51. Part4.CFrame = CFrame.new(-0.0643479973, 0.424852014, -2.63531804, -0.999104917, 0.000209208141, 0.0422893129, -1.96854398e-06, 0.999987543, -0.00499352673, -0.042289827, -0.0049891402, -0.99909246)
  52. Part4.Orientation = Vector3.new(0.289999992, 177.580002, 0)
  53. Part4.Position = Vector3.new(-0.0643479973, 0.424852014, -2.63531804)
  54. Part4.Rotation = Vector3.new(179.710007, 2.42000008, -179.990005)
  55. Part4.Transparency = 1
  56. Part4.Size = Vector3.new(1.07000136, 0.510000348, 0.0500000007)
  57. Part4.Anchored = false
  58. Part4.BottomSurface = Enum.SurfaceType.Smooth
  59. Part4.CanCollide = false
  60. Part4.Material = Enum.Material.Neon
  61. Part4.TopSurface = Enum.SurfaceType.Smooth
  62. SurfaceGui5.Parent = Part4
  63. SurfaceGui5.CanvasSize = Vector2.new(200, 100)
  64. Frame6.Parent = SurfaceGui5
  65. Frame6.Size = UDim2.new(1, 0, 1, 0)
  66. Frame6.BackgroundColor = BrickColor.new("Institutional white")
  67. Frame6.BackgroundColor3 = Color3.new(1, 1, 1)
  68. Frame6.BackgroundTransparency = 1
  69. Frame6.ClipsDescendants = true
  70. TextLabel7.Name = "Eyes1"
  71. TextLabel7.Parent = Frame6
  72. TextLabel7.Size = UDim2.new(0.5, 0, 1, 0)
  73. TextLabel7.BackgroundColor = BrickColor.new("Institutional white")
  74. TextLabel7.BackgroundColor3 = Color3.new(1, 1, 1)
  75. TextLabel7.BackgroundTransparency = 1
  76. TextLabel7.Font = Enum.Font.SourceSans
  77. TextLabel7.FontSize = Enum.FontSize.Size14
  78. TextLabel7.Text = "O"
  79. TextLabel7.TextColor = BrickColor.new("Institutional white")
  80. TextLabel7.TextColor3 = Color3.new(1, 1, 1)
  81. TextLabel7.TextScaled = true
  82. TextLabel7.TextSize = 14
  83. TextLabel7.TextWrap = true
  84. TextLabel7.TextWrapped = true
  85. TextLabel8.Name = "Eyes2"
  86. TextLabel8.Parent = Frame6
  87. TextLabel8.Position = UDim2.new(0.5, 0, 0, 0)
  88. TextLabel8.Size = UDim2.new(0.5, 0, 1, 0)
  89. TextLabel8.BackgroundColor = BrickColor.new("Institutional white")
  90. TextLabel8.BackgroundColor3 = Color3.new(1, 1, 1)
  91. TextLabel8.BackgroundTransparency = 1
  92. TextLabel8.Font = Enum.Font.SourceSans
  93. TextLabel8.FontSize = Enum.FontSize.Size96
  94. TextLabel8.Text = "O"
  95. TextLabel8.TextColor = BrickColor.new("Institutional white")
  96. TextLabel8.TextColor3 = Color3.new(1, 1, 1)
  97. TextLabel8.TextScaled = true
  98. TextLabel8.TextSize = 100
  99. TextLabel8.TextWrap = true
  100. TextLabel8.TextWrapped = true
  101. TextLabel9.Name = "W"
  102. TextLabel9.Parent = Frame6
  103. TextLabel9.Position = UDim2.new(0.375, 0, 0.5, 0)
  104. TextLabel9.Visible = false
  105. TextLabel9.Size = UDim2.new(0.25, 0, 0.25, 0)
  106. TextLabel9.BackgroundColor = BrickColor.new("Institutional white")
  107. TextLabel9.BackgroundColor3 = Color3.new(1, 1, 1)
  108. TextLabel9.BackgroundTransparency = 1
  109. TextLabel9.Font = Enum.Font.SourceSans
  110. TextLabel9.FontSize = Enum.FontSize.Size60
  111. TextLabel9.Text = "W"
  112. TextLabel9.TextColor = BrickColor.new("Institutional white")
  113. TextLabel9.TextColor3 = Color3.new(1, 1, 1)
  114. TextLabel9.TextSize = 50
  115. TextLabel9.TextWrap = true
  116. TextLabel9.TextWrapped = true
  117. Weld10.Name = "qCFrameWeldThingy"
  118. Weld10.Parent = Part4
  119. Weld10.C1 = CFrame.new(-0.0250014737, 0.0178772807, 0.842910409, 0.999999046, 4.65661287e-10, 0, 4.65661287e-10, 1, -4.65661287e-09, 0, -4.65661287e-09, 0.999999046)
  120. Weld10.Part0 = Part1
  121. Weld10.Part1 = Part4
  122. Weld10.part1 = Part4
  123. CFrameValue11.Name = "qRelativeCFrameWeldValue"
  124. CFrameValue11.Parent = Part4
  125. CFrameValue11.Value = CFrame.new(-0.0250014737, 0.0178772807, 0.842910409, 0.999999046, 4.65661287e-10, 0, 4.65661287e-10, 1, -4.65661287e-09, 0, -4.65661287e-09, 0.999999046)
  126. Part12.Name = "Pos"
  127. Part12.Parent = Part1
  128. Part12.CFrame = CFrame.new(-0.00400000019, 0.43900001, 4.19000006, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  129. Part12.Position = Vector3.new(-0.00400000019, 0.43900001, 4.19000006)
  130. Part12.Transparency = 1
  131. Part12.Size = Vector3.new(0.0500000007, 0.0500000007, 0.0500000007)
  132. Part12.Anchored = false
  133. Part12.BottomSurface = Enum.SurfaceType.Smooth
  134. Part12.CanCollide = false
  135. Part12.Reflectance = 1
  136. Part12.TopSurface = Enum.SurfaceType.Smooth
  137. Weld13.Name = "qCFrameWeldThingy"
  138. Weld13.Parent = Part12
  139. Weld13.C1 = CFrame.new(0.000281000277, -0.000479996204, -7.66649628, -0.999104917, 0.000209208141, 0.0422893129, -1.96854398e-06, 0.999987543, -0.00499352673, -0.042289827, -0.0049891402, -0.99909246)
  140. Weld13.Part0 = Part1
  141. Weld13.Part1 = Part12
  142. Weld13.part1 = Part12
  143. CFrameValue14.Name = "qRelativeCFrameWeldValue"
  144. CFrameValue14.Parent = Part12
  145. CFrameValue14.Value = CFrame.new(0.000281000277, -0.000479996204, -7.66649628, -0.999104917, 0.000209208141, 0.0422893129, -1.96854398e-06, 0.999987543, -0.00499352673, -0.042289827, -0.0049891402, -0.99909246)
  146. if owner.Character == nil then owner.CharacterAdded:wait() end
  147. Accessory0.Parent = owner.Character
  148. -- frame preparing
  149. hat = Accessory0
  150. handle = Part1
  151. frame = Frame6
  152. eyes1 = TextLabel7
  153. eyes2 = TextLabel8
  154. w = TextLabel9
  155. pos = Part12
  156. local remote = Instance.new("RemoteEvent")
  157. remote.Name = "VR"
  158. -- other variable
  159. local emotion = "normal"
  160. local e1 = "O"
  161. local e2 = "O"
  162. local default = "X"
  163. local visible = false
  164. TS = game:GetService("TweenService")
  165. Status = "Normal"
  166. Throwing = false
  167. Swapped = false
  168. DoNot = false
  169. Connection = nil
  170. Character = {
  171. Owner = nil;
  172. Captured = nil;
  173. IsPlayer = false;
  174. }
  175. local words = {
  176. {word = "rawr"; emotion = "x3"};
  177. {word = "0w0"; emotion = "0w0"};
  178. {word = "uwu"; emotion = "uwu"};
  179. {word = "owo"; emotion = "0w0"};
  180. {word = "ovo"; emotion = "0w0"};
  181. {word = "uvu"; emotion = "uwu"};
  182. {word = "uw u"; emotion = "uwu"};
  183. {word = "u wu"; emotion = "uwu"};
  184. {word = "u w u"; emotion = "uwu"};
  185. {word = "!"; emotion = "!"};
  186. {word = "nice"; emotion = "happy"};
  187. {word = "cool"; emotion = "happy"};
  188. {word = "joy"; emotion = "happy"};
  189. {word = "wow"; emotion = "happy"};
  190. {word = "incredible"; emotion = "happy"};
  191. {word = "fun"; emotion = "happy"};
  192. {word = "laugh"; emotion = "happy"};
  193. {word = "ok"; emotion = "happy"};
  194. {word = "good"; emotion = "happy"};
  195. {word = "same"; emotion = "happy"};
  196. {word = "gg"; emotion = "happy"};
  197. {word = "why"; emotion = "xd"};
  198. {word = "idk"; emotion = "U"};
  199. {word = "confus"; emotion = "U"};
  200. {word = "idek"; emotion = "U"};
  201. {word = "hm"; emotion = "U"};
  202. {word = "think"; emotion = "U"};
  203. {word = "died"; emotion = "X"};
  204. {word = "dead"; emotion = "X"};
  205. {word = "cj4"; emotion = "X"};
  206. {word = "sunglass"; emotion = "happy"};
  207. {word = "superior"; emotion = "happy"};
  208. {word = "great"; emotion = "happy"};
  209. {word = "xd"; emotion = "happy"};
  210. {word = "lol"; emotion = "happy"};
  211. {word = "lmao"; emotion = "happy"};
  212. {word = ":)"; emotion = "happy"};
  213. {word = ":]"; emotion = "happy"};
  214. {word = ":>"; emotion = "happy"};
  215. {word = "rofl"; emotion = "happy"};
  216. {word = "hi"; emotion = "happy"};
  217. {word = "cute"; emotion = "happy"};
  218. {word = "hello"; emotion = "happy"};
  219. {word = "ey"; emotion = "happy"};
  220. {word = "sad"; emotion = "sad"};
  221. {word = ":("; emotion = "sad"};
  222. {word = ":["; emotion = "sad"};
  223. {word = ":<"; emotion = "sad"};
  224. {word = "aw"; emotion = "sad"};
  225. {word = ":eyes:"; emotion = "eyes"};
  226. {word = "wha"; emotion = "eyes"};
  227. {word = "how"; emotion = "eyes"};
  228. {word = "when"; emotion = "eyes"};
  229. {word = "happiness"; emotion = "happy"};
  230. {word = "trust"; emotion = ">"};
  231. {word = "wink"; emotion = ">"};
  232. {word = "wonk"; emotion = ">"};
  233. {word = "excuse"; emotion = "!"};
  234. {word = "damn"; emotion = "<"};
  235. {word = "angr"; emotion = "<"};
  236. {word = "anger"; emotion = "<"};
  237. {word = "fat"; emotion = "<"};
  238. {word = "eek"; emotion = "<"};
  239. {word = "yuck"; emotion = "xd"};
  240. {word = "bad"; emotion = "<"};
  241. {word = "heck"; emotion = "<"};
  242. {word = "hecc"; emotion = "<"};
  243. {word = "suck"; emotion = "<"};
  244. {word = "succ"; emotion = "<"};
  245. {word = "skid"; emotion = "<"};
  246. {word = "kiddo"; emotion = "<"};
  247. {word = "rage"; emotion = "<"};
  248. {word = "big no"; emotion = "<"};
  249. {word = "ha"; emotion = "happy"};
  250. {word = "roar"; emotion = "x3"};
  251. }
  252. -- loop
  253. spawn(function()
  254. while wait() do
  255. pcall(function()
  256. eyes1.Text = e1
  257. w.Visible = visible
  258. eyes2.Text = e2
  259. end)
  260. end
  261. end)
  262. spawn(function()
  263. while wait() do
  264. pcall(function()
  265. if Accessory0.Parent ~= owner.Character and DoNot == false then
  266. wait()
  267. recreate()
  268. end
  269. end)
  270. end
  271. end)
  272. spawn(function()
  273. while true do
  274. pcall(function()
  275. wait(math.random(15,25))
  276. blink()
  277. end)
  278. end
  279. end)
  280. --
  281. local a = NLS([[
  282. print("pdn's vr headset by pdnghiaqoi [ marseio ]")
  283. local remote = script:WaitForChild("VR")
  284. local cache = false
  285. game:GetService("UserInputService").InputBegan:Connect(function(i,g)
  286. if not g then
  287. if i.UserInputType == Enum.UserInputType.Keyboard then
  288. if i.KeyCode == Enum.KeyCode.E then
  289. remote:FireServer()
  290. end
  291. end
  292. end
  293. end)
  294. remote.OnClientEvent:Connect(function(head)
  295. workspace.CurrentCamera.CameraSubject = head
  296. end)
  297. ]],owner.PlayerGui)
  298. -- functions
  299. spawn(function()
  300. while wait(0.01) do
  301. if Status == "Throw" and hat.Parent == script then
  302. handle.CFrame = handle.CFrame * CFrame.fromEulerAnglesXYZ(0,.75,0,0)
  303. end
  304. end
  305. end)
  306. spawn(function()
  307. Connection = handle.Touched:Connect(function(a)
  308. if a.Parent:IsA("Model") and a.Parent:FindFirstChild("Humanoid") then
  309. if game:GetService("Players"):GetPlayerFromCharacter(a.Parent) ~= owner then
  310. if Throwing == true then
  311. Status = "Swapped"
  312. Throwing = false
  313. Swapped = true
  314. Character.Captured = a.Parent
  315. local e = game:GetService("Players"):GetPlayerFromCharacter(Character.Captured)
  316. if not e then
  317. owner.Character = a.Parent
  318. Character.IsPlayer = false
  319. else
  320. Character.IsPlayer = e
  321. e.Character = nil
  322. Character.Captured.Parent = workspace
  323. owner.Character = Character.Captured
  324. end
  325. handle.Anchored = false
  326. if a.Parent:FindFirstChild("Head") then
  327. handle.CFrame = a.Parent:FindFirstChild("Head").CFrame
  328. end
  329. remote:FireClient(owner,a.Parent)
  330. hat.Parent = Character.Captured
  331. DoNot = false
  332. end
  333. end
  334. end
  335. end)
  336. end)
  337. function throw(player,head)
  338. wait()
  339. if not player == owner then return end
  340. local position = pos.Position
  341. Throwing = true
  342. DoNot = true
  343. hat.Parent = script
  344. handle.Anchored = true
  345. handle.CanCollide = false
  346. handle.CFrame = head.CFrame
  347. spawn(function()
  348. local d = CFrame.new(pos.Position.X,pos.Position.Y,pos.Position.Z)
  349. for i=0,1,0.05 do if Swapped == true or hat.Parent ~= script then break end
  350. d = d * CFrame.fromEulerAnglesXYZ(0,.75,0,0)
  351. handle.CFrame = handle.CFrame:lerp(d,i)
  352. wait()
  353. end
  354. if Swapped == true or hat.Parent ~= script then return nil end
  355. Status = "Throw"
  356. end)
  357. wait(4)
  358. if Swapped == true or hat.Parent ~= script then return nil end
  359. Throwing = false
  360. spawn(function()
  361. Status = "ComingBack"
  362. for i=0,1,0.05 do if Swapped == true or hat.Parent ~= script then break end
  363. local e = CFrame.new(head.Position.X,head.Position.Y,head.Position.Z) * CFrame.fromEulerAnglesXYZ(0,.75,0,0)
  364. handle.CFrame = handle.CFrame:lerp(e,i)
  365. wait()
  366. end
  367. if Swapped == true or hat.Parent ~= script then return nil end
  368. handle.Anchored = false
  369. handle.CFrame = head.CFrame
  370. hat.Parent = player.Character
  371. Status = "Normal"
  372. DoNot = false
  373. end)
  374. end
  375. function deswap()
  376. if Character.Captured then
  377. DoNot = true
  378. local pos = pos.CFrame
  379. owner:LoadCharacter()
  380. owner.Character:FindFirstChild("HumanoidRootPart").CFrame = pos
  381. DoNot = false
  382. Character.Captured = false
  383. Character.IsPlayer = false
  384. Swapped = false
  385. Throwing = false
  386. Status = "Normal"
  387. end
  388. end
  389. remote.Parent = a
  390. remote.OnServerEvent:Connect(function(player)
  391. if Status == "Normal" and player.Character:FindFirstChild("Head") then
  392. throw(player,player.Character:FindFirstChild("Head"))
  393. elseif Status == "Swapped" then
  394. deswap()
  395. end
  396. end)
  397. -- emotion loop
  398. spawn(function()
  399. while wait() do
  400. if emotion == "blink" then
  401. e1 = "-"
  402. visible = false
  403. e2 = "-"
  404. end
  405. if emotion == "normal" then
  406. e1 = "O"
  407. visible = false
  408. e2 = "O"
  409. end
  410. if emotion == "happy" then
  411. e1 = "^"
  412. visible = false
  413. e2 = "^"
  414. end
  415. if emotion == "uwu" then
  416. e1 = "U"
  417. visible = true
  418. e2 = "U"
  419. end
  420. if emotion == "stare" then
  421. e1 = "0"
  422. visible = false
  423. e2 = "0"
  424. end
  425. if emotion == "0w0" then
  426. e1 = "O"
  427. visible = true
  428. e2 = "O"
  429. end
  430. if emotion == "sad" then
  431. e1 = ";"
  432. visible = false
  433. e2 = ";"
  434. end
  435. if emotion == "xd" then
  436. e1 = ">"
  437. visible = false
  438. e2 = "<"
  439. end
  440. if emotion == "X" then
  441. e1 = "X"
  442. visible = false
  443. e2 = "X"
  444. end
  445. if emotion == "x3" then
  446. e1 = "X"
  447. visible = false
  448. e2 = "3"
  449. end
  450. if emotion == "U" then
  451. e1 = "U"
  452. visible = false
  453. e2 = "U"
  454. end
  455. if emotion == "!" then
  456. e1 = "!"
  457. visible = false
  458. e2 = "!"
  459. end
  460. if emotion == ">" then
  461. e1 = ">"
  462. visible = false
  463. e2 = "O"
  464. end
  465. if emotion == "<" then
  466. e1 = "<"
  467. visible = false
  468. e2 = "<"
  469. end
  470. end
  471. end)
  472. -- functions
  473. function recreate()
  474. if owner.Character == nil or Status ~= "Normal" then return end
  475. for i,v in pairs(owner.Character:GetChildren()) do
  476. if v:IsA("Accessory") and v.Name == "VRHeadset" then
  477. v:Destroy()
  478. end
  479. end
  480. Accessory0 = Instance.new("Accessory")
  481. Part1 = Instance.new("Part")
  482. SpecialMesh2 = Instance.new("SpecialMesh")
  483. Vector3Value3 = Instance.new("Vector3Value")
  484. Part4 = Instance.new("Part")
  485. SurfaceGui5 = Instance.new("SurfaceGui")
  486. Frame6 = Instance.new("Frame")
  487. TextLabel7 = Instance.new("TextLabel")
  488. TextLabel8 = Instance.new("TextLabel")
  489. TextLabel9 = Instance.new("TextLabel")
  490. Weld10 = Instance.new("Weld")
  491. CFrameValue11 = Instance.new("CFrameValue")
  492. Part12 = Instance.new("Part")
  493. Weld13 = Instance.new("Weld")
  494. CFrameValue14 = Instance.new("CFrameValue")
  495. Accessory0.Name = "VRHeadset"
  496. Accessory0.Parent = mas
  497. Accessory0.AttachmentPoint = CFrame.new(0, 0.300000012, 0.200000003, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  498. Accessory0.AttachmentPos = Vector3.new(0, 0.300000012, 0.200000003)
  499. Part1.Name = "Handle"
  500. Part1.Parent = Accessory0
  501. Part1.CFrame = CFrame.new(-0.00371899991, 0.438520014, -3.47649598, -0.999104917, 0.000209208141, 0.0422893129, -1.96854398e-06, 0.999987543, -0.00499352673, -0.042289827, -0.0049891402, -0.99909246)
  502. Part1.Orientation = Vector3.new(0.289999992, 177.580002, 0)
  503. Part1.Position = Vector3.new(-0.00371899991, 0.438520014, -3.47649598)
  504. Part1.Rotation = Vector3.new(179.710007, 2.42000008, -179.990005)
  505. Part1.Size = Vector3.new(1.4200002, 0.870000005, 1.40999985)
  506. Part1.Anchored = false
  507. Part1.BottomSurface = Enum.SurfaceType.Smooth
  508. Part1.CanCollide = false
  509. Part1.Locked = true
  510. Part1.TopSurface = Enum.SurfaceType.Smooth
  511. SpecialMesh2.Parent = Part1
  512. SpecialMesh2.MeshId = "http://www.roblox.com/asset/?id=397905188"
  513. SpecialMesh2.Scale = Vector3.new(0.819999993, 0.819999993, 0.819999993)
  514. SpecialMesh2.TextureId = "http://www.roblox.com/asset/?id=398121219 "
  515. SpecialMesh2.MeshType = Enum.MeshType.FileMesh
  516. Vector3Value3.Name = "OriginalSize"
  517. Vector3Value3.Parent = Part1
  518. Vector3Value3.Value = Vector3.new(1.4200002, 0.870000005, 1.40999985)
  519. Part4.Parent = Part1
  520. Part4.CFrame = CFrame.new(-0.0643479973, 0.424852014, -2.63531804, -0.999104917, 0.000209208141, 0.0422893129, -1.96854398e-06, 0.999987543, -0.00499352673, -0.042289827, -0.0049891402, -0.99909246)
  521. Part4.Orientation = Vector3.new(0.289999992, 177.580002, 0)
  522. Part4.Position = Vector3.new(-0.0643479973, 0.424852014, -2.63531804)
  523. Part4.Rotation = Vector3.new(179.710007, 2.42000008, -179.990005)
  524. Part4.Transparency = 1
  525. Part4.Size = Vector3.new(1.07000136, 0.510000348, 0.0500000007)
  526. Part4.Anchored = false
  527. Part4.BottomSurface = Enum.SurfaceType.Smooth
  528. Part4.CanCollide = false
  529. Part4.Material = Enum.Material.Neon
  530. Part4.TopSurface = Enum.SurfaceType.Smooth
  531. SurfaceGui5.Parent = Part4
  532. SurfaceGui5.CanvasSize = Vector2.new(200, 100)
  533. Frame6.Parent = SurfaceGui5
  534. Frame6.Size = UDim2.new(1, 0, 1, 0)
  535. Frame6.BackgroundColor = BrickColor.new("Institutional white")
  536. Frame6.BackgroundColor3 = Color3.new(1, 1, 1)
  537. Frame6.BackgroundTransparency = 1
  538. Frame6.ClipsDescendants = true
  539. TextLabel7.Name = "Eyes1"
  540. TextLabel7.Parent = Frame6
  541. TextLabel7.Size = UDim2.new(0.5, 0, 1, 0)
  542. TextLabel7.BackgroundColor = BrickColor.new("Institutional white")
  543. TextLabel7.BackgroundColor3 = Color3.new(1, 1, 1)
  544. TextLabel7.BackgroundTransparency = 1
  545. TextLabel7.Font = Enum.Font.SourceSans
  546. TextLabel7.FontSize = Enum.FontSize.Size14
  547. TextLabel7.Text = "O"
  548. TextLabel7.TextColor = BrickColor.new("Institutional white")
  549. TextLabel7.TextColor3 = Color3.new(1, 1, 1)
  550. TextLabel7.TextScaled = true
  551. TextLabel7.TextSize = 14
  552. TextLabel7.TextWrap = true
  553. TextLabel7.TextWrapped = true
  554. TextLabel8.Name = "Eyes2"
  555. TextLabel8.Parent = Frame6
  556. TextLabel8.Position = UDim2.new(0.5, 0, 0, 0)
  557. TextLabel8.Size = UDim2.new(0.5, 0, 1, 0)
  558. TextLabel8.BackgroundColor = BrickColor.new("Institutional white")
  559. TextLabel8.BackgroundColor3 = Color3.new(1, 1, 1)
  560. TextLabel8.BackgroundTransparency = 1
  561. TextLabel8.Font = Enum.Font.SourceSans
  562. TextLabel8.FontSize = Enum.FontSize.Size96
  563. TextLabel8.Text = "O"
  564. TextLabel8.TextColor = BrickColor.new("Institutional white")
  565. TextLabel8.TextColor3 = Color3.new(1, 1, 1)
  566. TextLabel8.TextScaled = true
  567. TextLabel8.TextSize = 100
  568. TextLabel8.TextWrap = true
  569. TextLabel8.TextWrapped = true
  570. TextLabel9.Name = "W"
  571. TextLabel9.Parent = Frame6
  572. TextLabel9.Position = UDim2.new(0.375, 0, 0.5, 0)
  573. TextLabel9.Visible = false
  574. TextLabel9.Size = UDim2.new(0.25, 0, 0.25, 0)
  575. TextLabel9.BackgroundColor = BrickColor.new("Institutional white")
  576. TextLabel9.BackgroundColor3 = Color3.new(1, 1, 1)
  577. TextLabel9.BackgroundTransparency = 1
  578. TextLabel9.Font = Enum.Font.SourceSans
  579. TextLabel9.FontSize = Enum.FontSize.Size60
  580. TextLabel9.Text = "W"
  581. TextLabel9.TextColor = BrickColor.new("Institutional white")
  582. TextLabel9.TextColor3 = Color3.new(1, 1, 1)
  583. TextLabel9.TextSize = 50
  584. TextLabel9.TextWrap = true
  585. TextLabel9.TextWrapped = true
  586. Weld10.Name = "qCFrameWeldThingy"
  587. Weld10.Parent = Part4
  588. Weld10.C1 = CFrame.new(-0.0250014737, 0.0178772807, 0.842910409, 0.999999046, 4.65661287e-10, 0, 4.65661287e-10, 1, -4.65661287e-09, 0, -4.65661287e-09, 0.999999046)
  589. Weld10.Part0 = Part1
  590. Weld10.Part1 = Part4
  591. Weld10.part1 = Part4
  592. CFrameValue11.Name = "qRelativeCFrameWeldValue"
  593. CFrameValue11.Parent = Part4
  594. CFrameValue11.Value = CFrame.new(-0.0250014737, 0.0178772807, 0.842910409, 0.999999046, 4.65661287e-10, 0, 4.65661287e-10, 1, -4.65661287e-09, 0, -4.65661287e-09, 0.999999046)
  595. Part12.Name = "Pos"
  596. Part12.Parent = Part1
  597. Part12.CFrame = CFrame.new(-0.00400000019, 0.43900001, 4.19000006, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  598. Part12.Position = Vector3.new(-0.00400000019, 0.43900001, 4.19000006)
  599. Part12.Transparency = 1
  600. Part12.Size = Vector3.new(0.0500000007, 0.0500000007, 0.0500000007)
  601. Part12.Anchored = false
  602. Part12.BottomSurface = Enum.SurfaceType.Smooth
  603. Part12.CanCollide = false
  604. Part12.Reflectance = 1
  605. Part12.TopSurface = Enum.SurfaceType.Smooth
  606. Weld13.Name = "qCFrameWeldThingy"
  607. Weld13.Parent = Part12
  608. Weld13.C1 = CFrame.new(0.000281000277, -0.000479996204, -7.66649628, -0.999104917, 0.000209208141, 0.0422893129, -1.96854398e-06, 0.999987543, -0.00499352673, -0.042289827, -0.0049891402, -0.99909246)
  609. Weld13.Part0 = Part1
  610. Weld13.Part1 = Part12
  611. Weld13.part1 = Part12
  612. CFrameValue14.Name = "qRelativeCFrameWeldValue"
  613. CFrameValue14.Parent = Part12
  614. CFrameValue14.Value = CFrame.new(0.000281000277, -0.000479996204, -7.66649628, -0.999104917, 0.000209208141, 0.0422893129, -1.96854398e-06, 0.999987543, -0.00499352673, -0.042289827, -0.0049891402, -0.99909246)
  615. Accessory0.Parent = owner.Character
  616. hat = Accessory0
  617. handle = Part1
  618. frame = Frame6
  619. eyes1 = TextLabel7
  620. eyes2 = TextLabel8
  621. w = TextLabel9
  622. pos = Part12
  623. if Connection then Connection:Disconnect() end
  624. Connection = handle.Touched:Connect(function(a)
  625. if a.Parent:IsA("Model") and a.Parent:FindFirstChild("Humanoid") then
  626. if game:GetService("Players"):GetPlayerFromCharacter(a.Parent) ~= owner then
  627. if Throwing == true then
  628. Status = "Swapped"
  629. Throwing = false
  630. Swapped = true
  631. Character.Captured = a.Parent
  632. local e = game:GetService("Players"):GetPlayerFromCharacter(Character.Captured)
  633. if not e then
  634. owner.Character = a.Parent
  635. Character.IsPlayer = false
  636. else
  637. Character.IsPlayer = e
  638. e.Character = nil
  639. Character.Captured.Parent = workspace
  640. owner.Character = Character.Captured
  641. end
  642. handle.Anchored = false
  643. if a.Parent:FindFirstChild("Head") then
  644. handle.CFrame = a.Parent:FindFirstChild("Head").CFrame
  645. end
  646. remote:FireClient(owner,a.Parent)
  647. hat.Parent = Character.Captured
  648. DoNot = false
  649. end
  650. end
  651. end
  652. end)
  653. end
  654. function blink()
  655. spawn(function()
  656. emotion = "blink"
  657. wait(1)
  658. emotion = "normal"
  659. end)
  660. end
  661. function change(emo)
  662. spawn(function()
  663. emotion = emo
  664. wait(math.random(7,15))
  665. emotion = "normal"
  666. end)
  667. end
  668.  
  669. -- owner event
  670. owner.CharacterAdded:Connect(function()
  671. wait()
  672. recreate()
  673. end)
  674. owner.Chatted:Connect(function(msg)
  675. local chat = game:GetService("Chat")
  676. local message = chat:FilterStringAsync(msg,owner,owner)
  677. if message:sub(1,3) ~= "/e " then
  678. chat:Chat(Part4,message,3)
  679. end
  680. for i,v in pairs(words) do
  681. if string.match(tostring(msg):lower(), v.word) then
  682. change(v.emotion)
  683. return
  684. end
  685. end
  686. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement