Advertisement
Guest User

Untitled

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