zXzGamePROzXz

Hackerman

Jan 26th, 2019
129
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 21.84 KB | None | 0 0
  1. if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
  2. local Player,game,owner = owner,game
  3. local RealPlayer = Player
  4. do
  5. print("FE Compatibility code by Mokiros, Edited by StarzoZero")
  6. local rp = RealPlayer
  7. script.Parent = rp.Character
  8.  
  9. --RemoteEvent for communicating
  10. local Event = Instance.new("RemoteEvent")
  11. Event.Name = "UserInput_Event"
  12.  
  13. --Fake event to make stuff like Mouse.KeyDown work
  14. local function fakeEvent()
  15. local t = {_fakeEvent=true,Functions={},Connect=function(self,f)table.insert(self.Functions,f) end}
  16. t.connect = t.Connect
  17. return t
  18. end
  19.  
  20. --Creating fake input objects with fake variables
  21. local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent(),Button2Up=fakeEvent(),Button2Down=fakeEvent()}
  22. local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
  23. local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
  24. CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
  25. end}
  26. --Merged 2 functions into one by checking amount of arguments
  27. CAS.UnbindAction = CAS.BindAction
  28.  
  29. --This function will trigger the events that have been :Connect()'ed
  30. local function te(self,ev,...)
  31. local t = m[ev]
  32. if t and t._fakeEvent then
  33. for _,f in pairs(t.Functions) do
  34. f(...)
  35. end
  36. end
  37. end
  38. m.TrigEvent = te
  39. UIS.TrigEvent = te
  40.  
  41. Event.OnServerEvent:Connect(function(plr,io)
  42. if plr~=rp then return end
  43. m.Target = io.Target
  44. m.Hit = io.Hit
  45. if not io.isMouse then
  46. local b = io.UserInputState == Enum.UserInputState.Begin
  47. if io.UserInputType == Enum.UserInputType.MouseButton1 then
  48. return m:TrigEvent(b and "Button1Down" or "Button1Up")
  49. end
  50. if io.UserInputType == Enum.UserInputType.MouseButton2 then
  51. return m:TrigEvent(b and "Button2Down" or "Button2Up")
  52. end
  53. for _,t in pairs(CAS.Actions) do
  54. for _,k in pairs(t.Keys) do
  55. if k==io.KeyCode then
  56. t.Function(t.Name,io.UserInputState,io)
  57. end
  58. end
  59. end
  60. m:TrigEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower())
  61. UIS:TrigEvent(b and "InputBegan" or "InputEnded",io,false)
  62. end
  63. end)
  64. Event.Parent = NLS([==[
  65. local Player = game:GetService("Players").LocalPlayer
  66. local Event = script:WaitForChild("UserInput_Event")
  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. local h,t
  77. --Give the server mouse data 30 times every second, but only if the values changed
  78. --If player is not moving their mouse, client won't fire events
  79. while wait(1/30) do
  80. if h~=Mouse.Hit or t~=Mouse.Target then
  81. h,t=Mouse.Hit,Mouse.Target
  82. Event:FireServer({isMouse=true,Target=t,Hit=h})
  83. end
  84. end]==],Player.Character)
  85.  
  86. ----Sandboxed game object that allows the usage of client-side methods and services
  87. --Real game object
  88. local _rg = game
  89.  
  90. --Metatable for fake service
  91. local fsmt = {
  92. __index = function(self,k)
  93. local s = rawget(self,"_RealService")
  94. if s then
  95. return typeof(s[k])=="function"
  96. and function(_,...)return s[k](s,...)end or s[k]
  97. end
  98. end,
  99. __newindex = function(self,k,v)
  100. local s = rawget(self,"_RealService")
  101. if s then s[k]=v end
  102. end
  103. }
  104. local function FakeService(t,RealService)
  105. t._RealService = typeof(RealService)=="string" and _rg:GetService(RealService) or RealService
  106. return setmetatable(t,fsmt)
  107. end
  108.  
  109. --Fake game object
  110. local g = {
  111. GetService = function(self,s)
  112. return rawget(self,s) or _rg:GetService(s)
  113. end,
  114. Players = FakeService({
  115. LocalPlayer = FakeService({GetMouse=function(self)return m end},Player)
  116. },"Players"),
  117. UserInputService = FakeService(UIS,"UserInputService"),
  118. ContextActionService = FakeService(CAS,"ContextActionService"),
  119. RunService = FakeService({
  120. _btrs = {},
  121. RenderStepped = _rg:GetService("RunService").Heartbeat,
  122. BindToRenderStep = function(self,name,_,fun)
  123. self._btrs[name] = self.Heartbeat:Connect(fun)
  124. end,
  125. UnbindFromRenderStep = function(self,name)
  126. self._btrs[name]:Disconnect()
  127. end,
  128. },"RunService")
  129. }
  130. rawset(g.Players,"localPlayer",g.Players.LocalPlayer)
  131. g.service = g.GetService
  132. FakeService(g,game)
  133. --Changing owner to fake player object to support owner:GetMouse()
  134. game,owner = g,g.Players.LocalPlayer
  135. end
  136.  
  137. -- RBX.Lua LocalScript | Hackerman | xDarkScripter
  138.  
  139.  
  140. local Players = game:GetService("Players")
  141. local UserInputService = game:GetService("UserInputService")
  142. local RunService = game:GetService("RunService")
  143.  
  144. local Player = Players.LocalPlayer
  145. local Camera = workspace.CurrentCamera
  146. local Mouse = Player:GetMouse()
  147.  
  148. local Character = Player.Character
  149. local Torso = Character.Torso
  150.  
  151. local Typing = false
  152. local TypingSub = 1
  153. local TypingSub2 = 1
  154.  
  155. local Neck = Torso.Neck
  156.  
  157. Neck.C1 = CFrame.new(0, -0.5, 0)
  158.  
  159. local RightArm = Character["Right Arm"]
  160. local LeftArm = Character["Left Arm"]
  161.  
  162. local RightShoulder = Instance.new("Weld", Torso)
  163. RightShoulder.Part0 = Torso
  164. RightShoulder.Part1 = RightArm
  165.  
  166. local LeftShoulder = Instance.new("Weld", Torso)
  167. LeftShoulder.Part0 = Torso
  168. LeftShoulder.Part1 = LeftArm
  169.  
  170. RightShoulder.C1 = CFrame.new(-0.5, 0.5, 0)
  171. LeftShoulder.C1 = CFrame.new(0.5, 0.5, 0)
  172.  
  173.  
  174. local Code = [[
  175. error-261 resolved0
  176. error-340903-3455-34-5-749353230935-3095-234-9102-33-34-3-2349-02394-02934-0-2
  177. error-934-03---04966-049-5060-609-4-604-60945-9604--09-60459-045-694-43
  178. error--5-96-450---45096-4056-09-04-596-049-0956-094-0956-049-59-096-49-564-5-4506-9-045-69-094-69-04
  179. error-606904-596-00-45-69-05-96090-54-6904956094596-0495-0-9-049-49-095-96096-49
  180. error-324--9053-95-09-09-6-94056-3094-2934-092-209-409-34490-2
  181. error--4305--0906-59-0694-5064-95-394-034-93-4955-05496-239-2309-069-40965-34923043-39
  182. error-055-330904-023904-02934-09429034-09-09-29-3049-23094-0293-9-4092-3094-20934-02
  183. error-350-395-09-595-0394-509-34095-09-0304590-09-395-485-405-35093-45093495-039405
  184. error--59034-50-3095-039-09-5903-495-039-509-03094-5093-4059-03945-904-3095-3590-
  185. error-3-09-3950-39-50394-59-3409-093-09-095-0349-509359-3095-0395-093-4095-03945-0934-5
  186. error--350-0-04569-096-6409-694-06-409-0496-049-69-49-6904-9506-49069-495-6
  187. end
  188.  
  189.  
  190.  
  191.  
  192. ]]
  193.  
  194.  
  195. local Argument = [[
  196. -Enagaging Aero Power-dislocating hacks-error:3366-revamping error.Value.Deleted
  197. error-kill:PenguinFred-False-Shutdown-True-error
  198. error=3990-390-030-80-359-305934----3485-34503-409-0964-5049-345
  199. error--456-459640---95-96--96-5456-045-090-4095-05946-
  200. error-5-64560460985645640689-46-45-6-4305-34509-359-039-4905-093-409-09-509-340
  201. localscript=true-4-54-5-3345--3405934-5-03945-09-09-394-509
  202. error-34-3-45-3-93-09-50-340-30459-95-03495---3495-039049-3-59-359-0395-
  203. fixed-true-error-4309584-684-9-6-495-0-9-0496-099-6049-609-4-96-49-
  204. error-340903-3455-34-5-749353230935-3095-234-9102-33-34-3-2349-02394-02934-0-2
  205. error-934-03---04966-049-5060-609-4-604-60945-9604--09-60459-045-694-43
  206. error--5-96-450---45096-4056-09-04-596-049-0956-094-0956-049-59-096-49-564-5-4506-9-045-69-094-69-04
  207. error-606904-596-00-45-69-05-96090-54-6904956094596-0495-0-9-049-49-095-96096-49
  208. error-324--9053-95-09-09-6-94056-3094-2934-092-209-409-34490-2
  209. error--4305--0906-59-0694-5064-95-394-034-93-4955-05496-239-2309-069-40965-34923043-39
  210. error-055-330904-023904-02934-09429034-09-09-29-3049-23094-0293-9-4092-3094-20934-02
  211. error-350-395-09-595-0394-509-34095-09-0304590-09-395-485-405-35093-45093495-039405
  212. error--59034-50-3095-039-09-5903-495-039-509-03094-5093-4059-03945-904-3095-3590-
  213. error-3-09-3950-39-50394-59-3409-093-09-095-0349-509359-3095-0395-093-4095-03945-0934-5
  214. error--350-0-04569-096-6409-694-06-409-0496-049-69-49-6904-9506-49069-495-6
  215. ]]
  216.  
  217.  
  218.  
  219. game.Lighting.GlobalShadows = false
  220. game.Lighting.Brightness = 0.25
  221.  
  222.  
  223. local function Smooth(Part)
  224. Part.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  225. Part.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  226. Part.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  227. Part.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  228. Part.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  229. Part.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  230. end
  231.  
  232.  
  233. local function SetLine(Line, Alpha, Beta)
  234. local dx = Alpha.Position.X.Scale - Beta.Position.X.Scale
  235. local dy = Alpha.Position.Y.Scale - Beta.Position.Y.Scale
  236. local Magnitude = math.sqrt(dx^2 + dy^2)
  237.  
  238. Line.Size = UDim2.new(Magnitude, 0, 0, 8)
  239. Line.Position = Alpha.Position:Lerp(Beta.Position, 0.5)
  240. Line.Rotation = math.deg(math.atan2(dy, dx))
  241. end
  242.  
  243.  
  244. local Keyboard = Instance.new("Part")
  245. Keyboard.BrickColor = BrickColor.new("Really black")
  246. Keyboard.Material = Enum.Material.Neon
  247. Keyboard.Transparency = 0.1
  248. Keyboard.Size = Vector3.new(5, 0, 2)
  249. Keyboard.CanCollide = false
  250. Keyboard.Locked = true
  251.  
  252. Smooth(Keyboard)
  253.  
  254. local KeyboardWeld = Instance.new("Weld")
  255. KeyboardWeld.Part0 = Torso
  256. KeyboardWeld.Part1 = Keyboard
  257. KeyboardWeld.C0 = CFrame.new(0, 0.2, -2) * CFrame.Angles(0.3, 0, 0)
  258.  
  259. KeyboardWeld.Parent = Keyboard
  260. Keyboard.Parent = Character
  261.  
  262.  
  263. local Light = Instance.new("PointLight")
  264. Light.Brightness = 1.5
  265. Light.Range = 12
  266. Light.Parent = Keyboard
  267.  
  268.  
  269. local Screen = Instance.new("Part")
  270. Screen.BrickColor = BrickColor.new("Really black")
  271. Screen.Material = Enum.Material.Neon
  272. Screen.Transparency = 0.3
  273. Screen.Size = Vector3.new(6, 4, 0)
  274. Screen.CanCollide = false
  275. Screen.Locked = true
  276.  
  277. Smooth(Screen)
  278.  
  279. local ScreenWeld = Instance.new("Weld")
  280. ScreenWeld.Part0 = Torso
  281. ScreenWeld.Part1 = Screen
  282. ScreenWeld.C0 = CFrame.new(0, 3.5, -4.5) * CFrame.Angles(0.1, 0, 0)
  283.  
  284. local Gui = Instance.new("SurfaceGui")
  285. Gui.Face = "Back"
  286. Gui.Adornee = Screen
  287. Gui.Parent = Screen
  288.  
  289. local Text = Instance.new("TextBox")
  290. Text.BackgroundTransparency = 1
  291. Text.Position = UDim2.new(0, 0, 0, 0)
  292. Text.Size = UDim2.new(1, 0, 1, 0)
  293. Text.TextColor3 = Color3.new(1, 1, 1)
  294. Text.Font = Enum.Font.Code
  295. Text.Active = false
  296. Text.MultiLine = true
  297. Text.TextWrapped = true
  298. Text.FontSize = Enum.FontSize.Size32
  299. Text.TextXAlignment = Enum.TextXAlignment.Left
  300. Text.TextYAlignment = Enum.TextYAlignment.Top
  301. Text.Text = ""
  302.  
  303. Text.Parent = Gui
  304.  
  305. ScreenWeld.Parent = Screen
  306. Screen.Parent = Character
  307.  
  308.  
  309.  
  310. local Screen2 = Instance.new("Part")
  311. Screen2.BrickColor = BrickColor.new("Really black")
  312. Screen2.Material = Enum.Material.Neon
  313. Screen2.Transparency = 0.3
  314. Screen2.Size = Vector3.new(6, 4, 0)
  315. Screen2.CanCollide = false
  316. Screen2.Locked = true
  317.  
  318. Smooth(Screen2)
  319.  
  320. local Screen2Weld = Instance.new("Weld")
  321. Screen2Weld.Part0 = Torso
  322. Screen2Weld.Part1 = Screen2
  323. Screen2Weld.C0 = CFrame.new(5.4, 3.4, -1.5) * CFrame.Angles(0.1, -0.9, 0)
  324.  
  325. local Gui2 = Instance.new("SurfaceGui")
  326. Gui2.Face = "Back"
  327. Gui2.Adornee = Screen2
  328. Gui2.Parent = Screen2
  329.  
  330. local Text2 = Instance.new("TextBox")
  331. Text2.BackgroundTransparency = 1
  332. Text2.Position = UDim2.new(0, 0, 0, 0)
  333. Text2.Size = UDim2.new(1, 0, 1, 0)
  334. Text2.TextColor3 = Color3.new(0, 1, 0)
  335. Text2.Font = Enum.Font.Code
  336. Text2.Active = false
  337. Text2.MultiLine = true
  338. Text2.TextWrapped = true
  339. Text2.FontSize = Enum.FontSize.Size32
  340. Text2.TextXAlignment = Enum.TextXAlignment.Left
  341. Text2.TextYAlignment = Enum.TextYAlignment.Top
  342. Text2.Text = ""
  343.  
  344. Text2.Parent = Gui2
  345.  
  346. local ImageKey = Instance.new("ImageLabel")
  347. ImageKey.BackgroundTransparency = 1
  348. ImageKey.Size = UDim2.new(0.2, 0, 0.2, 0)
  349. ImageKey.Position = UDim2.new(0.4, 0, 0.4, 0)
  350. ImageKey.Image = "http://www.roblox.com/asset/?id=697224414"
  351. ImageKey.ImageTransparency = 1
  352. ImageKey.Parent = Gui2
  353.  
  354. Screen2Weld.Parent = Screen2
  355. Screen2.Parent = Character
  356.  
  357.  
  358.  
  359. local Screen3 = Instance.new("Part")
  360. Screen3.BrickColor = BrickColor.new("Really black")
  361. Screen3.Material = Enum.Material.Neon
  362. Screen3.Transparency = 0.3
  363. Screen3.Size = Vector3.new(6, 4, 0)
  364. Screen3.CanCollide = false
  365. Screen3.Locked = true
  366.  
  367. Smooth(Screen3)
  368.  
  369. local Screen3Weld = Instance.new("Weld")
  370. Screen3Weld.Part0 = Torso
  371. Screen3Weld.Part1 = Screen3
  372. Screen3Weld.C0 = CFrame.new(-5.4, 3.4, -1.5) * CFrame.Angles(0.1, 0.9, 0)
  373.  
  374. local Gui3 = Instance.new("SurfaceGui")
  375. Gui3.Face = "Back"
  376. Gui3.Adornee = Screen3
  377. Gui3.Parent = Screen3
  378.  
  379. local Map = Instance.new("ImageLabel")
  380. Map.BackgroundTransparency = 1
  381. Map.Position = UDim2.new(0, 0, 0, 0)
  382. Map.Size = UDim2.new(1, 0, 1, 0)
  383. Map.Image = "http://www.roblox.com/asset/?id=121661614"
  384.  
  385. Map.Parent = Gui3
  386.  
  387. Screen3Weld.Parent = Screen3
  388. Screen3.Parent = Character
  389.  
  390. local Points = {}
  391. local Lines = {}
  392.  
  393. for i = 1, 10 do
  394. if i > 1 then
  395. local Line = Instance.new("Frame")
  396. Line.BorderSizePixel = 0
  397. Line.BackgroundColor3 = Color3.new(0.8, 0, 0)
  398. Line.AnchorPoint = Vector2.new(0.5, 0.5)
  399. Line.Parent = Gui3
  400.  
  401. Lines[i] = Line
  402. end
  403.  
  404. local Point = Instance.new("Frame")
  405. Point.BorderSizePixel = 0
  406. Point.BackgroundColor3 = Color3.new(1, 0, 0)
  407. Point.Size = UDim2.new(0, 40, 0, 40)
  408. Point.Position = UDim2.new(math.random(), 0, math.random(), 0)
  409. Point.AnchorPoint = Vector2.new(0.5, 0.5)
  410. Point.Parent = Gui3
  411.  
  412. Points[i] = {Point = Point, Position = Point.Position}
  413. end
  414.  
  415.  
  416.  
  417.  
  418. UserInputService.InputBegan:Connect(function(Input, Processed)
  419. if Processed then return end
  420.  
  421. if Input.UserInputType == Enum.UserInputType.Keyboard then
  422. local KeyCode = Input.KeyCode
  423.  
  424. if KeyCode == Enum.KeyCode.E then
  425. Typing = not Typing
  426. end
  427. end
  428. end)
  429.  
  430.  
  431.  
  432. RunService.Heartbeat:Connect(function()
  433. local Sine = math.sin(tick() * 8) / 8
  434.  
  435. for Key, Value in next, Points do
  436. Value.Point.Size = UDim2.new(0, 25 + Sine * 40, 0, 25 + Sine * 40)
  437. Value.Point.Position = Value.Point.Position:Lerp(Value.Position, 0.1)
  438.  
  439. if Key > 1 then
  440. SetLine(Lines[Key], Value.Point, Points[1].Point)
  441. end
  442. end
  443.  
  444. if math.random(100) == 1 then
  445. for _, Value in next, Points do
  446. Value.Position = UDim2.new(math.random(), 0, math.random(), 0)
  447. end
  448. end
  449.  
  450. ImageKey.ImageTransparency = math.abs(math.sin(tick()))
  451.  
  452. if Typing then
  453. if math.random(5) == 1 then
  454. local PressSound = Instance.new("Sound")
  455. PressSound.SoundId = "rbxassetid://265970978"
  456. PressSound.Pitch = 0.5 + math.random() / 5
  457. PressSound.Volume = 3
  458. PressSound.Parent = Keyboard
  459. PressSound:Play()
  460.  
  461. game:GetService("Debris"):AddItem(PressSound, 1 / 2)
  462. end
  463.  
  464. Neck.C0 = CFrame.new(0, 1, 0) * CFrame.Angles(-0.2 + Sine / 4, (math.random() - 0.5) / 2, 0)
  465.  
  466. RightShoulder.C0 = CFrame.new(1, 0.6 + math.random() / 4, -math.random() * 0.7)
  467. * CFrame.Angles(1.5 + Sine * math.random(), -Sine / 4, -(0.5 + 2 * Sine * math.random()))
  468.  
  469. LeftShoulder.C0 = CFrame.new(-1, 0.6 + math.random() / 4, -math.random() * 0.7)
  470. * CFrame.Angles(1.5 - Sine * math.random(), Sine / 4, 0.5 + 2 * Sine * math.random())
  471.  
  472. if math.random(2) == 1 then
  473. if TypingSub < #Argument then
  474. TypingSub = TypingSub + 1
  475. Text.Text = Text.Text..Argument:sub(TypingSub, TypingSub)
  476.  
  477. local nl = Text.Text:find("\n")
  478.  
  479. if nl and #Text.Text > 400 then
  480. Text.Text = Text.Text:sub(nl + 1)
  481. end
  482.  
  483. else
  484. TypingSub = 1
  485. end
  486. end
  487.  
  488. if math.random(3) == 1 then
  489. if TypingSub2 < #Code then
  490. TypingSub2 = TypingSub2 + 1
  491. Text2.Text = Text2.Text..Code:sub(TypingSub2, TypingSub2)
  492.  
  493. local nl = Text2.Text:find("\n")
  494.  
  495. if nl and #Text2.Text > 400 then
  496. Text2.Text = Text2.Text:sub(nl + 1)
  497. end
  498.  
  499. else
  500. TypingSub2 = 1
  501. end
  502. end
  503.  
  504. else
  505. Neck.C0 = CFrame.new(0, 1, 0)
  506.  
  507. RightShoulder.C0 = CFrame.new(1, 0.5, 0) * CFrame.Angles(1.5, 0, 0)
  508. LeftShoulder.C0 = CFrame.new(-1, 0.5, 0) * CFrame.Angles(1.5, 0, 0)
  509. end
  510. end)
  511.  
  512.  
  513.  
  514.  
  515.  
  516.  
  517.  
  518.  
  519.  
  520.  
  521.  
  522.  
  523.  
  524.  
  525.  
  526.  
  527.  
  528.  
  529.  
  530.  
  531.  
  532.  
  533.  
  534.  
  535.  
  536. plr = game.Players.LocalPlayer
  537. mouse = plr:GetMouse()
  538. part = nil
  539. bp = nil
  540. particles = nil
  541. function clerp(a,b,c,d)
  542. for i = 0,d,.01 do
  543. a.CFrame = CFrame.new(b:lerp(c,i))
  544. wait()
  545. end
  546. end
  547. function slerp(a2,b2,c2,d2)
  548. for i2 = 0,d2,.01 do
  549. a2.CFrame = CFrame.new(b2:lerp(c2,i2))
  550. wait()
  551. end
  552. end
  553. mouse.KeyDown:connect(function(key)
  554. if key == "e" and plr.Character.Parent == workspace then
  555. plr.Character.Parent = workspace.Camera
  556. plr.Character.Archivable = true
  557. Instance.new("ForceField",plr.Character).Visible = false
  558. for y,t in pairs(plr.Character:GetChildren()) do
  559. if t:IsA("Part") and t.Name ~= "HumanoidRootPart" then
  560. t.Transparency = 1
  561. if t.Name == "Head" and t:FindFirstChild("face") then
  562. t.face.Transparency = 1
  563. end
  564. elseif t:IsA("Accessory") and t:FindFirstChild("Handle") then
  565. t.Handle.Transparency = 1
  566. end
  567. end
  568. elseif key == "z" and plr.Character.Parent == workspace.Camera and part == nil then
  569. 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)
  570. elseif key == "x" and plr.Character.Parent == workspace.Camera and part == nil then
  571. if plr.Character.Torso.Anchored == true then
  572. for y,t in pairs(plr.Character:GetChildren()) do
  573. if t:IsA("Part") then
  574. t.Anchored = false
  575. end
  576. end
  577. else
  578. for y,t in pairs(plr.Character:GetChildren()) do
  579. if t:IsA("Part") then
  580. t.Anchored = true
  581. end
  582. end
  583. end
  584. elseif key == "c" and plr.Character.Parent == workspace.Camera and part ~= nil then
  585. local clone = part:Clone()
  586. clone.Parent = workspace
  587. clone.Anchored = false
  588. clone:ClearAllChildren()
  589. clone.CanCollide = true
  590. bp.Parent = clone
  591. particles.Parent = clone
  592. if part.Parent:FindFirstChildOfClass("Humanoid") then
  593. part.Parent:FindFirstChildOfClass("Humanoid").PlatformStand = false
  594. end
  595. part:Destroy()
  596. part = clone
  597. elseif key == "q" and plr.Character.Parent == workspace.Camera and part == nil then
  598. plr.Character.Parent = workspace
  599. plr.Character.Archivable = false
  600. plr.Character:FindFirstChildOfClass("ForceField"):Remove()
  601. for y,t in pairs(plr.Character:GetChildren()) do
  602. if t:IsA("Part") and t.Name ~= "HumanoidRootPart" then
  603. t.Transparency = 0
  604. if t.Name == "Head" and t:FindFirstChild("face") then
  605. t.face.Transparency = 0
  606. end
  607. elseif t:IsA("Accessory") and t:FindFirstChild("Handle") then
  608. t.Handle.Transparency = 0
  609. end
  610. end
  611. end
  612. end)
  613. mouse.Button1Down:connect(function()
  614. if plr.Character.Parent == workspace.Camera then
  615. if mouse ~= nil then
  616. if mouse.Target ~= nil then
  617. part = mouse.Target
  618. bp = Instance.new("BodyPosition",part)
  619. bp.MaxForce = Vector3.new(math.huge,math.huge,math.huge)
  620. bp.Position = part.Position
  621. particles = Instance.new("ParticleEmitter",part)
  622. particles.Color = ColorSequence.new(Color3.new(0,0,0))
  623. particles.Size = NumberSequence.new(1)
  624. particles.Texture = "rbxassetid://292289455"
  625. particles.VelocitySpread = 360
  626. particles.Speed = NumberRange.new(0)
  627. particles.RotSpeed = NumberRange.new(0)
  628. particles.Rotation = NumberRange.new(0)
  629. particles.Rate = 250
  630. particles.Lifetime = NumberRange.new(.2,.4)
  631. particles.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(.12,.688,0),NumberSequenceKeypoint.new(.891,.887,0),NumberSequenceKeypoint.new(1,1,0)})
  632. dwn = true
  633. end
  634. end
  635. while dwn == true do
  636. wait()
  637. bp.Position = mouse.hit.p
  638. if part then
  639. if part.Parent:FindFirstChildOfClass("Humanoid") then
  640. part.Parent:FindFirstChildOfClass("Humanoid").PlatformStand = true
  641. end
  642. end
  643. end
  644. end
  645. end)
  646. mouse.Button1Up:connect(function()
  647. dwn = false
  648. if part then if part.Parent:FindFirstChildOfClass("Humanoid") then part.Parent:FindFirstChildOfClass("Humanoid").PlatformStand = false end part = nil end
  649. if bp then bp:Destroy() end
  650. if particles then particles:Destroy() end
  651. end)
  652. base = Instance.new("ScreenGui",plr.PlayerGui)
  653. bbg = Instance.new("BillboardGui",plr.Character.Head)
  654. bbg.Size = UDim2.new(0,200,0,50)
  655. bbg.StudsOffset = Vector3.new(0,3,0)
  656. bbgTl = Instance.new("TextLabel",bbg)
  657. bbgTl.BackgroundTransparency = 1
  658. bbgTl.Size = UDim2.new(10,0,1,0)
  659. bbgTl.Position = UDim2.new(-4.5,0,0,0)
  660. bbgTl.Font = "Code"
  661. bbgTl.Text = " "
  662. bbgTl.TextSize = 25
  663. bbgTl.TextStrokeColor3 = Color3.new(1,1,1)
  664. bbgTl.TextColor3 = Color3.new(0,0,0)
  665. bbgTl.TextStrokeTransparency = 0
  666. bbgTl.TextWrapped = true
  667. plr.Chatted:connect(function(msg)
  668. bbgTl.Text = msg
  669. wait(5)
  670. if bbgTl.Text == msg then
  671. bbgTl.Text = " "
  672. end
  673. end)
  674. touchCounter = 0
  675. while wait() do
  676. if plr.Character.Parent == workspace.Camera then
  677. local c = plr.Character:Clone()
  678. c:MakeJoints()
  679. for y,t in pairs(c:GetChildren()) do
  680. if t:IsA("Part") then
  681. t.CanCollide = false
  682. t.Anchored = true
  683. t.Transparency = .5
  684. t.TopSurface = "Smooth"
  685. t.BottomSurface = "Smooth"
  686. t.RightSurface = "Smooth"
  687. t.LeftSurface = "Smooth"
  688. t.FrontSurface = "Smooth"
  689. t.BackSurface = "Smooth"
  690. t.BrickColor = BrickColor.new("Really black")
  691. if t.Name == "Head" and t:FindFirstChild("face") then
  692. t.face:Remove()
  693. elseif t.Name == "Torso" and t:FindFirstChild("roblox") then
  694. t.roblox:Remove()
  695. elseif t.Name == "HumanoidRootPart" then
  696. t:Remove()
  697. end
  698. else
  699. t:Remove()
  700. end
  701. end
  702. c.Parent = workspace
  703. game.Debris:AddItem(c,.05)
  704. end
  705. end
Add Comment
Please, Sign In to add comment