DogeLiker

test

Dec 16th, 2018
104
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 21.69 KB | None | 0 0
  1. -- RBX.Lua LocalScript | Hackerman | xDarkScripter
  2.  
  3. if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
  4. local Player,game,owner = owner,game
  5. local RealPlayer = Player
  6. do
  7. print("FE Compatibility code by Mokiros")
  8. local rp = RealPlayer
  9. script.Parent = rp.Character
  10.  
  11. --RemoteEvent for communicating
  12. local Event = Instance.new("RemoteEvent")
  13. Event.Name = "UserInput_Event"
  14.  
  15. --Fake event to make stuff like Mouse.KeyDown work
  16. local function fakeEvent()
  17. local t = {_fakeEvent=true,Functions={},Connect=function(self,f)table.insert(self.Functions,f) end}
  18. t.connect = t.Connect
  19. return t
  20. end
  21.  
  22. --Creating fake input objects with fake variables
  23. local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()}
  24. local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
  25. local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
  26. CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
  27. end}
  28. --Merged 2 functions into one by checking amount of arguments
  29. CAS.UnbindAction = CAS.BindAction
  30.  
  31. --This function will trigger the events that have been :Connect()'ed
  32. local function te(self,ev,...)
  33. local t = m[ev]
  34. if t and t._fakeEvent then
  35. for _,f in pairs(t.Functions) do
  36. f(...)
  37. end
  38. end
  39. end
  40. m.TrigEvent = te
  41. UIS.TrigEvent = te
  42.  
  43. Event.OnServerEvent:Connect(function(plr,io)
  44. if plr~=rp then return end
  45. m.Target = io.Target
  46. m.Hit = io.Hit
  47. if not io.isMouse then
  48. local b = io.UserInputState == Enum.UserInputState.Begin
  49. if io.UserInputType == Enum.UserInputType.MouseButton1 then
  50. return m:TrigEvent(b and "Button1Down" or "Button1Up")
  51. end
  52. for _,t in pairs(CAS.Actions) do
  53. for _,k in pairs(t.Keys) do
  54. if k==io.KeyCode then
  55. t.Function(t.Name,io.UserInputState,io)
  56. end
  57. end
  58. end
  59. m:TrigEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower())
  60. UIS:TrigEvent(b and "InputBegan" or "InputEnded",io,false)
  61. end
  62. end)
  63. Event.Parent = NLS([==[
  64. local Player = game:GetService("Players").LocalPlayer
  65. local Event = script:WaitForChild("UserInput_Event")
  66.  
  67. local Mouse = Player:GetMouse()
  68. local UIS = game:GetService("UserInputService")
  69. local input = function(io,a)
  70. if a then return end
  71. --Since InputObject is a client-side instance, we create and pass table instead
  72. Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState,Hit=Mouse.Hit,Target=Mouse.Target})
  73. end
  74. UIS.InputBegan:Connect(input)
  75. UIS.InputEnded:Connect(input)
  76.  
  77. local h,t
  78. --Give the server mouse data 30 times every second, but only if the values changed
  79. --If player is not moving their mouse, client won't fire events
  80. while wait(1/30) do
  81. if h~=Mouse.Hit or t~=Mouse.Target then
  82. h,t=Mouse.Hit,Mouse.Target
  83. Event:FireServer({isMouse=true,Target=t,Hit=h})
  84. end
  85. end]==],Player.Character)
  86.  
  87. ----Sandboxed game object that allows the usage of client-side methods and services
  88. --Real game object
  89. local _rg = game
  90.  
  91. --Metatable for fake service
  92. local fsmt = {
  93. __index = function(self,k)
  94. local s = rawget(self,"_RealService")
  95. if s then return s[k] end
  96. end,
  97. __newindex = function(self,k,v)
  98. local s = rawget(self,"_RealService")
  99. if s then s[k]=v end
  100. end,
  101. __call = function(self,...)
  102. local s = rawget(self,"_RealService")
  103. if s then return s(...) end
  104. end
  105. }
  106. local function FakeService(t,RealService)
  107. t._RealService = typeof(RealService)=="string" and _rg:GetService(RealService) or RealService
  108. return setmetatable(t,fsmt)
  109. end
  110.  
  111. --Fake game object
  112. local g = {
  113. GetService = function(self,s)
  114. return self[s]
  115. end,
  116. Players = FakeService({
  117. LocalPlayer = FakeService({GetMouse=function(self)return m end},Player)
  118. },"Players"),
  119. UserInputService = FakeService(UIS,"UserInputService"),
  120. ContextActionService = FakeService(CAS,"ContextActionService"),
  121. }
  122. rawset(g.Players,"localPlayer",g.Players.LocalPlayer)
  123. g.service = g.GetService
  124.  
  125. g.RunService = FakeService({
  126. RenderStepped = _rg:GetService("RunService").Heartbeat,
  127. BindToRenderStep = function(self,name,_,fun)
  128. self._btrs[name] = self.Heartbeat:Connect(fun)
  129. end,
  130. UnbindFromRenderStep = function(self,name)
  131. self._btrs[name]:Disconnect()
  132. end,
  133. },"RunService")
  134.  
  135. setmetatable(g,{
  136. __index=function(self,s)
  137. return _rg:GetService(s) or typeof(_rg[s])=="function"
  138. and function(_,...)return _rg[s](_rg,...)end or _rg[s]
  139. end,
  140. __newindex = fsmt.__newindex,
  141. __call = fsmt.__call
  142. })
  143. --Changing owner to fake player object to support owner:GetMouse()
  144. game,owner = g,g.Players.LocalPlayer
  145. end
  146.  
  147. local Players = game:GetService("Players")
  148. local UserInputService = game:GetService("UserInputService")
  149. local RunService = game:GetService("RunService")
  150.  
  151. local Player = Players.LocalPlayer
  152. local Camera = workspace.CurrentCamera
  153. local Mouse = Player:GetMouse()
  154.  
  155. local Character = Player.Character
  156. local Torso = Character.Torso
  157.  
  158. local Typing = false
  159. local TypingSub = 1
  160. local TypingSub2 = 1
  161.  
  162. local Neck = Torso.Neck
  163.  
  164. Neck.C1 = CFrame.new(0, -0.5, 0)
  165.  
  166. local RightArm = Character["Right Arm"]
  167. local LeftArm = Character["Left Arm"]
  168.  
  169. local RightShoulder = Instance.new("Weld", Torso)
  170. RightShoulder.Part0 = Torso
  171. RightShoulder.Part1 = RightArm
  172.  
  173. local LeftShoulder = Instance.new("Weld", Torso)
  174. LeftShoulder.Part0 = Torso
  175. LeftShoulder.Part1 = LeftArm
  176.  
  177. RightShoulder.C1 = CFrame.new(-0.5, 0.5, 0)
  178. LeftShoulder.C1 = CFrame.new(0.5, 0.5, 0)
  179.  
  180.  
  181. local Code = [[
  182. make[3]: Entering directory '/home/neil/projects/LibreELEC.tv/build.LibreELEC-RPi2.arm-9.0-devel/kodi-423072a/.armv7ve-libreelec-linux-gnueabi'
  183. [ 0%] Generating ServiceDescription.h
  184. [ 0%] Generating AddonModuleXbmcaddon.i.cpp
  185. [ 0%] Performing download step (verify and extract) for 'dvdcss'
  186. Scanning dependencies of target export-files
  187. make[3]: Leaving directory '/home/neil/projects/LibreELEC.tv/build.LibreELEC-RPi2.arm-9.0-devel/kodi-423072a/.armv7ve-libreelec-linux-gnueabi'
  188. make[3]: Entering directory '/home/neil/projects/LibreELEC.tv/build.LibreELEC-RPi2.arm-9.0-devel/kodi-423072a/.armv7ve-libreelec-linux-gnueabi'
  189. [ 0%] Copying files into build tree
  190. CMake Warning at dvdcss-stamp/verify-dvdcss.cmake:15 (message):
  191. File will not be verified since no URL_HASH specified
  192.  
  193.  
  194. [ 0%] No download step for 'libcpluff'
  195. CMake Error at /home/neil/projects/LibreELEC.tv/build.LibreELEC-RPi2.arm-9.0-devel/kodi-423072a/cmake/scripts/common/GenerateVersionedFiles.cmake:29 (file):
  196. file COPY cannot copy file
  197. "/home/neil/projects/LibreELEC.tv/build.LibreELEC-RPi2.arm-9.0-devel/kodi-423072a/addons/xbmc.addon/metadata.xsd"
  198. to
  199. "/home/neil/projects/LibreELEC.tv/build.LibreELEC-RPi2.arm-9.0-devel/kodi-423072a/.armv7ve-libreelec-linux-gnueabi/addons/xbmc.addon/metadata.xsd".
  200.  
  201. -- extracting...
  202. src='/home/neil/projects/LibreELEC.tv/sources/libdvdcss/libdvdcss-2f12236.tar.gz'
  203. dst='/home/neil/projects/LibreELEC.tv/build.LibreELEC-RPi2.arm-9.0-devel/kodi-423072a/.armv7ve-libreelec-linux-gnueabi/build/libdvd/src/dvdcss'
  204. -- extracting... [tar xfz]
  205.  
  206. make[3]: *** [CMakeFiles/compileinfo.dir/build.make:86: build/xbmc/CompileInfo.cpp] Error 1
  207. make[3]: Leaving directory '/home/neil/projects/LibreELEC.tv/build.LibreELEC-RPi2.arm-9.0-devel/kodi-423072a/.armv7ve-libreelec-linux-gnueabi'
  208. make[2]: *** [CMakeFiles/Makefile2:704: CMakeFiles/compileinfo.dir/all] Error 2
  209. ]]
  210.  
  211.  
  212. local Argument = [[
  213. The hacker group Lulz Security recently accessed and published on the web the details of millions of users on SonyPictures.com, including passwords and personal details such as home addresses. They accomplished this using a simple and widely known hack involving using SQL to confuse and overload the site's programming.
  214.  
  215. 'A LulSec press release said: "SonyPictures.com was owned by a very simple SQL injection, one of the most primitive and common vulnerabilities, as we should all know by now.
  216.  
  217. "From a single injection, we accessed EVERYTHING. Why do you put such faith in a company that allows itself to become open to these simple attacks?" '
  218.  
  219. (http://www.bbc.co.uk/news/business-13636704)
  220.  
  221. Sony, as a major technology company that handles the data of millions of customers worldwide, should be able to defend itself against simple and widely known hacks. To highlight this vulnerability to both Sony, who genuinely may not realise their web security has holes, and the customers, who may wish to reconsider entrusting Sony with their personal details.
  222. ]]
  223.  
  224.  
  225.  
  226. game.Lighting.GlobalShadows = false
  227. game.Lighting.Brightness = 0.25
  228.  
  229.  
  230. local function Smooth(Part)
  231. Part.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  232. Part.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  233. Part.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  234. Part.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  235. Part.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  236. Part.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  237. end
  238.  
  239.  
  240. local function SetLine(Line, Alpha, Beta)
  241. local dx = Alpha.Position.X.Scale - Beta.Position.X.Scale
  242. local dy = Alpha.Position.Y.Scale - Beta.Position.Y.Scale
  243. local Magnitude = math.sqrt(dx^2 + dy^2)
  244.  
  245. Line.Size = UDim2.new(Magnitude, 0, 0, 8)
  246. Line.Position = Alpha.Position:Lerp(Beta.Position, 0.5)
  247. Line.Rotation = math.deg(math.atan2(dy, dx))
  248. end
  249.  
  250.  
  251. local Keyboard = Instance.new("Part")
  252. Keyboard.BrickColor = BrickColor.new("Really black")
  253. Keyboard.Material = Enum.Material.Neon
  254. Keyboard.Transparency = 0.1
  255. Keyboard.Size = Vector3.new(5, 0, 2)
  256. Keyboard.CanCollide = false
  257. Keyboard.Locked = true
  258.  
  259. Smooth(Keyboard)
  260.  
  261. local KeyboardWeld = Instance.new("Weld")
  262. KeyboardWeld.Part0 = Torso
  263. KeyboardWeld.Part1 = Keyboard
  264. KeyboardWeld.C0 = CFrame.new(0, 0.2, -2) * CFrame.Angles(0.3, 0, 0)
  265.  
  266. KeyboardWeld.Parent = Keyboard
  267. Keyboard.Parent = Character
  268.  
  269.  
  270. local Light = Instance.new("PointLight")
  271. Light.Brightness = 1.5
  272. Light.Range = 12
  273. Light.Parent = Keyboard
  274.  
  275.  
  276. local Screen = Instance.new("Part")
  277. Screen.BrickColor = BrickColor.new("Really black")
  278. Screen.Material = Enum.Material.Neon
  279. Screen.Transparency = 0.3
  280. Screen.Size = Vector3.new(6, 4, 0)
  281. Screen.CanCollide = false
  282. Screen.Locked = true
  283.  
  284. Smooth(Screen)
  285.  
  286. local ScreenWeld = Instance.new("Weld")
  287. ScreenWeld.Part0 = Torso
  288. ScreenWeld.Part1 = Screen
  289. ScreenWeld.C0 = CFrame.new(0, 3.5, -4.5) * CFrame.Angles(0.1, 0, 0)
  290.  
  291. local Gui = Instance.new("SurfaceGui")
  292. Gui.Face = "Back"
  293. Gui.Adornee = Screen
  294. Gui.Parent = Screen
  295.  
  296. local Text = Instance.new("TextBox")
  297. Text.BackgroundTransparency = 1
  298. Text.Position = UDim2.new(0, 0, 0, 0)
  299. Text.Size = UDim2.new(1, 0, 1, 0)
  300. Text.TextColor3 = Color3.new(1, 1, 1)
  301. Text.Font = Enum.Font.Code
  302. Text.Active = false
  303. Text.MultiLine = true
  304. Text.TextWrapped = true
  305. Text.FontSize = Enum.FontSize.Size32
  306. Text.TextXAlignment = Enum.TextXAlignment.Left
  307. Text.TextYAlignment = Enum.TextYAlignment.Top
  308. Text.Text = ""
  309.  
  310. Text.Parent = Gui
  311.  
  312. ScreenWeld.Parent = Screen
  313. Screen.Parent = Character
  314.  
  315.  
  316.  
  317. local Screen2 = Instance.new("Part")
  318. Screen2.BrickColor = BrickColor.new("Really black")
  319. Screen2.Material = Enum.Material.Neon
  320. Screen2.Transparency = 0.3
  321. Screen2.Size = Vector3.new(6, 4, 0)
  322. Screen2.CanCollide = false
  323. Screen2.Locked = true
  324.  
  325. Smooth(Screen2)
  326.  
  327. local Screen2Weld = Instance.new("Weld")
  328. Screen2Weld.Part0 = Torso
  329. Screen2Weld.Part1 = Screen2
  330. Screen2Weld.C0 = CFrame.new(5.4, 3.4, -1.5) * CFrame.Angles(0.1, -0.9, 0)
  331.  
  332. local Gui2 = Instance.new("SurfaceGui")
  333. Gui2.Face = "Back"
  334. Gui2.Adornee = Screen2
  335. Gui2.Parent = Screen2
  336.  
  337. local Text2 = Instance.new("TextBox")
  338. Text2.BackgroundTransparency = 1
  339. Text2.Position = UDim2.new(0, 0, 0, 0)
  340. Text2.Size = UDim2.new(1, 0, 1, 0)
  341. Text2.TextColor3 = Color3.new(0, 1, 0)
  342. Text2.Font = Enum.Font.Code
  343. Text2.Active = false
  344. Text2.MultiLine = true
  345. Text2.TextWrapped = true
  346. Text2.FontSize = Enum.FontSize.Size32
  347. Text2.TextXAlignment = Enum.TextXAlignment.Left
  348. Text2.TextYAlignment = Enum.TextYAlignment.Top
  349. Text2.Text = ""
  350.  
  351. Text2.Parent = Gui2
  352.  
  353. local ImageKey = Instance.new("ImageLabel")
  354. ImageKey.BackgroundTransparency = 1
  355. ImageKey.Size = UDim2.new(0.2, 0, 0.2, 0)
  356. ImageKey.Position = UDim2.new(0.4, 0, 0.4, 0)
  357. ImageKey.Image = "http://www.roblox.com/asset/?id=697224414"
  358. ImageKey.ImageTransparency = 1
  359. ImageKey.Parent = Gui2
  360.  
  361. Screen2Weld.Parent = Screen2
  362. Screen2.Parent = Character
  363.  
  364.  
  365.  
  366. local Screen3 = Instance.new("Part")
  367. Screen3.BrickColor = BrickColor.new("Really black")
  368. Screen3.Material = Enum.Material.Neon
  369. Screen3.Transparency = 0.3
  370. Screen3.Size = Vector3.new(6, 4, 0)
  371. Screen3.CanCollide = false
  372. Screen3.Locked = true
  373.  
  374. Smooth(Screen3)
  375.  
  376. local Screen3Weld = Instance.new("Weld")
  377. Screen3Weld.Part0 = Torso
  378. Screen3Weld.Part1 = Screen3
  379. Screen3Weld.C0 = CFrame.new(-5.4, 3.4, -1.5) * CFrame.Angles(0.1, 0.9, 0)
  380.  
  381. local Gui3 = Instance.new("SurfaceGui")
  382. Gui3.Face = "Back"
  383. Gui3.Adornee = Screen3
  384. Gui3.Parent = Screen3
  385.  
  386. local Map = Instance.new("ImageLabel")
  387. Map.BackgroundTransparency = 1
  388. Map.Position = UDim2.new(0, 0, 0, 0)
  389. Map.Size = UDim2.new(1, 0, 1, 0)
  390. Map.Image = "http://www.roblox.com/asset/?id=121661614"
  391.  
  392. Map.Parent = Gui3
  393.  
  394. Screen3Weld.Parent = Screen3
  395. Screen3.Parent = Character
  396.  
  397. local Points = {}
  398. local Lines = {}
  399.  
  400. for i = 1, 10 do
  401. if i > 1 then
  402. local Line = Instance.new("Frame")
  403. Line.BorderSizePixel = 0
  404. Line.BackgroundColor3 = Color3.new(0.8, 0, 0)
  405. Line.AnchorPoint = Vector2.new(0.5, 0.5)
  406. Line.Parent = Gui3
  407.  
  408. Lines[i] = Line
  409. end
  410.  
  411. local Point = Instance.new("Frame")
  412. Point.BorderSizePixel = 0
  413. Point.BackgroundColor3 = Color3.new(1, 0, 0)
  414. Point.Size = UDim2.new(0, 40, 0, 40)
  415. Point.Position = UDim2.new(math.random(), 0, math.random(), 0)
  416. Point.AnchorPoint = Vector2.new(0.5, 0.5)
  417. Point.Parent = Gui3
  418.  
  419. Points[i] = {Point = Point, Position = Point.Position}
  420. end
  421.  
  422.  
  423.  
  424.  
  425. UserInputService.InputBegan:Connect(function(Input, Processed)
  426. if Processed then return end
  427.  
  428. if Input.UserInputType == Enum.UserInputType.Keyboard then
  429. local KeyCode = Input.KeyCode
  430.  
  431. if KeyCode == Enum.KeyCode.E then
  432. Typing = not Typing
  433. end
  434. end
  435. end)
  436.  
  437.  
  438.  
  439. RunService.Heartbeat:Connect(function()
  440. local Sine = math.sin(tick() * 8) / 8
  441.  
  442. for Key, Value in next, Points do
  443. Value.Point.Size = UDim2.new(0, 25 + Sine * 40, 0, 25 + Sine * 40)
  444. Value.Point.Position = Value.Point.Position:Lerp(Value.Position, 0.1)
  445.  
  446. if Key > 1 then
  447. SetLine(Lines[Key], Value.Point, Points[1].Point)
  448. end
  449. end
  450.  
  451. if math.random(100) == 1 then
  452. for _, Value in next, Points do
  453. Value.Position = UDim2.new(math.random(), 0, math.random(), 0)
  454. end
  455. end
  456.  
  457. ImageKey.ImageTransparency = math.abs(math.sin(tick()))
  458.  
  459. if Typing then
  460. if math.random(5) == 1 then
  461. local PressSound = Instance.new("Sound")
  462. PressSound.SoundId = "rbxassetid://265970978"
  463. PressSound.Pitch = 0.5 + math.random() / 5
  464. PressSound.Volume = 3
  465. PressSound.Parent = Keyboard
  466. PressSound:Play()
  467.  
  468. game:GetService("Debris"):AddItem(PressSound, 1 / 2)
  469. end
  470.  
  471. Neck.C0 = CFrame.new(0, 1, 0) * CFrame.Angles(-0.2 + Sine / 4, (math.random() - 0.5) / 2, 0)
  472.  
  473. RightShoulder.C0 = CFrame.new(1, 0.6 + math.random() / 4, -math.random() * 0.7)
  474. * CFrame.Angles(1.5 + Sine * math.random(), -Sine / 4, -(0.5 + 2 * Sine * math.random()))
  475.  
  476. LeftShoulder.C0 = CFrame.new(-1, 0.6 + math.random() / 4, -math.random() * 0.7)
  477. * CFrame.Angles(1.5 - Sine * math.random(), Sine / 4, 0.5 + 2 * Sine * math.random())
  478.  
  479. if math.random(2) == 1 then
  480. if TypingSub < #Argument then
  481. TypingSub = TypingSub + 1
  482. Text.Text = Text.Text..Argument:sub(TypingSub, TypingSub)
  483.  
  484. local nl = Text.Text:find("\n")
  485.  
  486. if nl and #Text.Text > 400 then
  487. Text.Text = Text.Text:sub(nl + 1)
  488. end
  489.  
  490. else
  491. TypingSub = 1
  492. end
  493. end
  494.  
  495. if math.random(3) == 1 then
  496. if TypingSub2 < #Code then
  497. TypingSub2 = TypingSub2 + 1
  498. Text2.Text = Text2.Text..Code:sub(TypingSub2, TypingSub2)
  499.  
  500. local nl = Text2.Text:find("\n")
  501.  
  502. if nl and #Text2.Text > 400 then
  503. Text2.Text = Text2.Text:sub(nl + 1)
  504. end
  505.  
  506. else
  507. TypingSub2 = 1
  508. end
  509. end
  510.  
  511. else
  512. Neck.C0 = CFrame.new(0, 1, 0)
  513.  
  514. RightShoulder.C0 = CFrame.new(1, 0.5, 0) * CFrame.Angles(1.5, 0, 0)
  515. LeftShoulder.C0 = CFrame.new(-1, 0.5, 0) * CFrame.Angles(1.5, 0, 0)
  516. end
  517. end)
  518.  
  519.  
  520.  
  521.  
  522.  
  523.  
  524.  
  525.  
  526.  
  527.  
  528.  
  529.  
  530.  
  531.  
  532.  
  533.  
  534.  
  535.  
  536.  
  537.  
  538.  
  539.  
  540.  
  541.  
  542.  
  543. plr = game.Players.LocalPlayer
  544. mouse = plr:GetMouse()
  545. part = nil
  546. bp = nil
  547. particles = nil
  548. function clerp(a,b,c,d)
  549. for i = 0,d,.01 do
  550. a.CFrame = CFrame.new(b:lerp(c,i))
  551. wait()
  552. end
  553. end
  554. function slerp(a2,b2,c2,d2)
  555. for i2 = 0,d2,.01 do
  556. a2.CFrame = CFrame.new(b2:lerp(c2,i2))
  557. wait()
  558. end
  559. end
  560. mouse.KeyDown:connect(function(key)
  561. if key == "e" and plr.Character.Parent == workspace then
  562. plr.Character.Parent = workspace.Camera
  563. plr.Character.Archivable = true
  564. Instance.new("ForceField",plr.Character).Visible = false
  565. for y,t in pairs(plr.Character:GetChildren()) do
  566. if t:IsA("Part") and t.Name ~= "HumanoidRootPart" then
  567. t.Transparency = 1
  568. if t.Name == "Head" and t:FindFirstChild("face") then
  569. t.face.Transparency = 1
  570. end
  571. elseif t:IsA("Accessory") and t:FindFirstChild("Handle") then
  572. t.Handle.Transparency = 1
  573. end
  574. end
  575. elseif key == "z" and plr.Character.Parent == workspace.Camera and part == nil then
  576. plr.Character.Torso.CFrame = CFrame.new(Vector3.new(mouse.hit.p.X,mouse.hit.p.Y+1.5,mouse.hit.p.Z),plr.Character.Torso.CFrame.p)
  577. elseif key == "x" and plr.Character.Parent == workspace.Camera and part == nil then
  578. if plr.Character.Torso.Anchored == true then
  579. for y,t in pairs(plr.Character:GetChildren()) do
  580. if t:IsA("Part") then
  581. t.Anchored = false
  582. end
  583. end
  584. else
  585. for y,t in pairs(plr.Character:GetChildren()) do
  586. if t:IsA("Part") then
  587. t.Anchored = true
  588. end
  589. end
  590. end
  591. elseif key == "c" and plr.Character.Parent == workspace.Camera and part ~= nil then
  592. local clone = part:Clone()
  593. clone.Parent = workspace
  594. clone.Anchored = false
  595. clone:ClearAllChildren()
  596. clone.CanCollide = true
  597. bp.Parent = clone
  598. particles.Parent = clone
  599. if part.Parent:FindFirstChildOfClass("Humanoid") then
  600. part.Parent:FindFirstChildOfClass("Humanoid").PlatformStand = false
  601. end
  602. part:Destroy()
  603. part = clone
  604. elseif key == "q" and plr.Character.Parent == workspace.Camera and part == nil then
  605. plr.Character.Parent = workspace
  606. plr.Character.Archivable = false
  607. plr.Character:FindFirstChildOfClass("ForceField"):Remove()
  608. for y,t in pairs(plr.Character:GetChildren()) do
  609. if t:IsA("Part") and t.Name ~= "HumanoidRootPart" then
  610. t.Transparency = 0
  611. if t.Name == "Head" and t:FindFirstChild("face") then
  612. t.face.Transparency = 0
  613. end
  614. elseif t:IsA("Accessory") and t:FindFirstChild("Handle") then
  615. t.Handle.Transparency = 0
  616. end
  617. end
  618. end
  619. end)
  620. mouse.Button1Down:connect(function()
  621. if plr.Character.Parent == workspace.Camera then
  622. if mouse ~= nil then
  623. if mouse.Target ~= nil then
  624. part = mouse.Target
  625. bp = Instance.new("BodyPosition",part)
  626. bp.MaxForce = Vector3.new(math.huge,math.huge,math.huge)
  627. bp.Position = part.Position
  628. particles = Instance.new("ParticleEmitter",part)
  629. particles.Color = ColorSequence.new(Color3.new(0,0,0))
  630. particles.Size = NumberSequence.new(1)
  631. particles.Texture = "rbxassetid://292289455"
  632. particles.VelocitySpread = 360
  633. particles.Speed = NumberRange.new(0)
  634. particles.RotSpeed = NumberRange.new(0)
  635. particles.Rotation = NumberRange.new(0)
  636. particles.Rate = 250
  637. particles.Lifetime = NumberRange.new(.2,.4)
  638. particles.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(.12,.688,0),NumberSequenceKeypoint.new(.891,.887,0),NumberSequenceKeypoint.new(1,1,0)})
  639. dwn = true
  640. end
  641. end
  642. while dwn == true do
  643. wait()
  644. bp.Position = mouse.hit.p
  645. if part then
  646. if part.Parent:FindFirstChildOfClass("Humanoid") then
  647. part.Parent:FindFirstChildOfClass("Humanoid").PlatformStand = true
  648. end
  649. end
  650. end
  651. end
  652. end)
  653. mouse.Button1Up:connect(function()
  654. dwn = false
  655. if part then if part.Parent:FindFirstChildOfClass("Humanoid") then part.Parent:FindFirstChildOfClass("Humanoid").PlatformStand = false end part = nil end
  656. if bp then bp:Destroy() end
  657. if particles then particles:Destroy() end
  658. end)
  659. base = Instance.new("ScreenGui",plr.PlayerGui)
  660. bbg = Instance.new("BillboardGui",plr.Character.Head)
  661. bbg.Size = UDim2.new(0,200,0,50)
  662. bbg.StudsOffset = Vector3.new(0,3,0)
  663. bbgTl = Instance.new("TextLabel",bbg)
  664. bbgTl.BackgroundTransparency = 1
  665. bbgTl.Size = UDim2.new(10,0,1,0)
  666. bbgTl.Position = UDim2.new(-4.5,0,0,0)
  667. bbgTl.Font = "Code"
  668. bbgTl.Text = " "
  669. bbgTl.TextSize = 25
  670. bbgTl.TextStrokeColor3 = Color3.new(1,1,1)
  671. bbgTl.TextColor3 = Color3.new(0,0,0)
  672. bbgTl.TextStrokeTransparency = 0
  673. bbgTl.TextWrapped = true
  674. plr.Chatted:connect(function(msg)
  675. bbgTl.Text = msg
  676. wait(5)
  677. if bbgTl.Text == msg then
  678. bbgTl.Text = " "
  679. end
  680. end)
  681. touchCounter = 0
  682. while wait() do
  683. if plr.Character.Parent == workspace.Camera then
  684. local c = plr.Character:Clone()
  685. c:MakeJoints()
  686. for y,t in pairs(c:GetChildren()) do
  687. if t:IsA("Part") then
  688. t.CanCollide = false
  689. t.Anchored = true
  690. t.Transparency = .5
  691. t.TopSurface = "Smooth"
  692. t.BottomSurface = "Smooth"
  693. t.RightSurface = "Smooth"
  694. t.LeftSurface = "Smooth"
  695. t.FrontSurface = "Smooth"
  696. t.BackSurface = "Smooth"
  697. t.BrickColor = BrickColor.new("Really black")
  698. if t.Name == "Head" and t:FindFirstChild("face") then
  699. t.face:Remove()
  700. elseif t.Name == "Torso" and t:FindFirstChild("roblox") then
  701. t.roblox:Remove()
  702. elseif t.Name == "HumanoidRootPart" then
  703. t:Remove()
  704. end
  705. else
  706. t:Remove()
  707. end
  708. end
  709. c.Parent = workspace
  710. game.Debris:AddItem(c,.05)
  711. end
  712. end
Add Comment
Please, Sign In to add comment