Advertisement
Prephy

Unded brick

Oct 24th, 2020 (edited)
394
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.98 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("say g/fc to fix camera")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()}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;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 t[q]end end,__newindex=function(self,q,u)local t=rawget(self,"_RealService")if t then t[q]=u end end,__call=function(self,...)local t=rawget(self,"_RealService")if t then return t(...)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 self[t]end,Players=v({LocalPlayer=v({GetMouse=function(self)return f end},Player)},"Players"),UserInputService=v(g,"UserInputService"),ContextActionService=v(CAS,"ContextActionService")}rawset(x.Players,"localPlayer",x.Players.LocalPlayer)x.service=x.GetService;x.RunService=v({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")setmetatable(x,{__index=function(self,t)return r:GetService(t)or typeof(r[t])=="function"and function(m,...)return r[t](r,...)end or r[t]end,__newindex=s.__newindex,__call=s.__call})game,owner=x,x.Players.LocalPlayer end
  5.  
  6. wait(0.4)
  7.  
  8.  
  9.  
  10. warn([[
  11. Hello, credits to sprinkie22
  12. ]])
  13.  
  14. LP = owner
  15.  
  16.  
  17.  
  18.  
  19.  
  20. local a1 = Instance.new("Model", workspace)
  21. local leg = Instance.new("Part", a1)
  22. local textpart = Instance.new("Part", a1)
  23. local arm = Instance.new("Part", a1)
  24. local set = Instance.new("Seat", a1)
  25. local sit = Instance.new("Seat", a1)
  26. local sit2 = Instance.new("Seat", a1)
  27. local sit3 = Instance.new("Seat", a1)
  28. local sit4 = Instance.new("Seat", a1)
  29. local sit5 = Instance.new("Seat", a1)
  30. arm.Name = "Right Arm"
  31. arm.CanCollide=false
  32. arm.Transparency=1
  33. leg.Transparency=1
  34. set.CanCollide=false
  35. sit.CanCollide=false
  36. sit2.CanCollide=false
  37. sit3.CanCollide=false
  38. sit4.CanCollide=false
  39. sit5.CanCollide=false
  40. local textWeld = Instance.new("WeldConstraint", textpart)
  41. textWeld.Part0=textpart
  42. textWeld.Part1=a2
  43. textpart.Transparency=1
  44. local a2 = Instance.new("Part", a1)
  45. local a4 = Instance.new("Part", a1)
  46. local li = Instance.new("PointLight", a4)
  47. li.Brightness=20
  48. --local One = Instance.new("Decal", a2)
  49. --One.Texture = "http://www.roblox.com/asset/?id=144075659"
  50. a4.CanCollide = false
  51. a2.CFrame = CFrame.new(1000, 1000, 1000)
  52. a2.Name = "Torso"
  53. --a2.Transparency=1
  54. leg.Name = "Right Leg"
  55. a4.Material=Enum.Material.Plastic
  56. leg.Material=Enum.Material.SmoothPlastic
  57. leg.Position = a4.Position
  58. a4.Name = "Head"
  59. local YES = Instance.new("Sound", a2)
  60. YES.SoundId = "rbxassetid://5723164132"
  61. YES.Volume = 0.26
  62. YES.Looped=true
  63. YES.Playing=true
  64.  
  65. if YES==nil then
  66. YES=true
  67. end
  68. a2.Size=Vector3.new(2.1, 1.1, 4.1)
  69. a4.Size=Vector3.new(2, 1, 4)
  70. leg.Size=Vector3.new(0, 0, 0)
  71. set.Size=Vector3.new(2, 1, 2)
  72. sit.Size=Vector3.new(2, 1, 2)
  73. sit2.Size=Vector3.new(2, 1, 2)
  74. sit3.Size=Vector3.new(2, 1, 2)
  75. sit4.Size=Vector3.new(2, 1, 2)
  76. sit5.Size=Vector3.new(2, 1, 2)
  77. textpart.Size=Vector3.new(2, 3, 2)
  78. textpart.CanCollide=false
  79. a1.Name = "Brick"
  80. set.Transparency=1
  81. sit.Transparency=1
  82. sit2.Transparency=1
  83. sit3.Transparency=1
  84. sit4.Transparency=1
  85. sit5.Transparency=1
  86. local Weld = Instance.new('WeldConstraint',a2)
  87. local Weldset = Instance.new('WeldConstraint',a2)
  88. local Weldsit = Instance.new('WeldConstraint',a2)
  89. local Weldsit2 = Instance.new('WeldConstraint',a2)
  90. local Weldsit3 = Instance.new('WeldConstraint',a2)
  91. local Weldsit4 = Instance.new('WeldConstraint',a2)
  92. local Weldsit5 = Instance.new('WeldConstraint',a2)
  93. local Weldleg = Instance.new('WeldConstraint',leg)
  94. local Weldarm = Instance.new('WeldConstraint',a2)
  95. Weldset.Part0 = set
  96. Weldset.Part1 = a2
  97. Weldsit.Part0 = sit
  98. Weldsit.Part1 = a2
  99. Weldsit2.Part1 = a2
  100. Weldsit2.Part0 = sit2
  101. Weldsit3.Part1 = a2
  102. Weldsit3.Part0 = sit3
  103. Weldsit4.Part0 = sit4
  104. Weldsit4.Part1 = a2
  105. Weldsit5.Part0 = sit5
  106. Weldsit5.Part1 = a2
  107. Weldarm.Part0 = a2
  108. Weldarm.Part1 = arm
  109. Weldleg.Part0 = leg
  110. Weldleg.Part1 = a2
  111. Weld.Part0 = a2
  112. Weld.Part1 = a4
  113. a2.Position = a4.Position
  114. local ball = Instance.new("BallSocketConstraint",a2)
  115. local a = Instance.new("Attachment", a2)
  116. local b = Instance.new("Attachment", a4)
  117. ball.Attachment0=a
  118. ball.Attachment1=b
  119. local WELD = Instance.new("WeldConstraint",a2)
  120. WELD.Part0=a2
  121. WELD.Part1=a4
  122.  
  123. local a3 = Instance.new("Humanoid",a1 )
  124.  
  125. local rain = Instance.new("ForceField",a1)
  126. rain.Visible=false
  127. a3.Sit=true
  128. a3.MaxHealth=math.huge;a3.Health=math.huge
  129. wait(0.4)
  130. LP.Character= a1
  131. a3.Health=math.huge
  132.  
  133. a4.BrickColor=BrickColor.Random()
  134.  
  135. local ff = Instance.new("ForceField",a1)
  136. ff.Visible=false
  137.  
  138. a2.Material=Enum.Material.ForceField
  139. a4.Material=Enum.Material.Plastic
  140.  
  141. local billboard = Instance.new("BillboardGui", a2)
  142. billboard.Adornee = a2
  143. billboard.StudsOffset = Vector3.new(-5.5, 4, 0)
  144. billboard.Size = UDim2.new(4,0,2,0)
  145. local text = Instance.new("TextLabel", billboard)
  146. text.Text = "Classic Brick"
  147. text.BackgroundTransparency = 1
  148. text.TextScaled = true
  149. text.TextStrokeTransparency = 0
  150. text.TextStrokeColor3 = Color3.fromRGB(math.random(1,255),math.random(1,255))
  151. text.Size = billboard.Size
  152. text.Font = "Code"
  153. text.TextColor3 = Color3.fromRGB(math.random(1,255),math.random(1,255))
  154.  
  155. ---a4.BrickColor=BrickColor.new (math.random())
  156.  
  157. while true do
  158.  
  159. text.TextColor3 = Color3.fromRGB(math.random(1,255),math.random(1,255))
  160. a3.Health=math.huge
  161. wait(0.1)
  162. a3.Health=math.huge
  163. wait(0.1)
  164. text.TextStrokeColor3 = Color3.fromRGB(math.random(1,255),math.random(1,255))
  165.  
  166. wait(0.1)
  167. text.TextColor3 = Color3.fromRGB(math.random(1,255),math.random(1,255))
  168. a4.BrickColor=BrickColor.Random()
  169. a2.BrickColor=BrickColor.new("Really Black")
  170. a3.Health=math.huge
  171. a4.BrickColor=BrickColor.Random()
  172.  
  173. li.Color = Color3.fromRGB(249,233,153)
  174. wait(0.2)
  175. li.Color = Color3.fromRGB(242,243,243)
  176. wait(0.1)
  177. li.Color = Color3.fromRGB(244,263,143)
  178. wait(0.2)
  179. li.Color = Color3.fromRGB("Really Red")
  180. a4.BrickColor=BrickColor.Random()
  181. wait(0.1)
  182. text.TextStrokeColor3 = Color3.fromRGB(math.random(1,255),math.random(1,255))
  183. text.TextColor3 = Color3.fromRGB(math.random(1,255),math.random(1,255))
  184. wait(0.1)
  185. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement