Advertisement
Basykung7845

Test

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