Advertisement
Basykung7845

Test

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