Advertisement
Migas3456

communism gui(not made by me)

Dec 19th, 2017
240
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 8.73 KB | None | 0 0
  1. -- Objects
  2.  
  3. local a = Instance.new("ScreenGui")
  4. local Frame = Instance.new("Frame")
  5. local hi = Instance.new("TextBox")
  6. local ImageLabel = Instance.new("ImageLabel")
  7. local grabby = Instance.new("TextButton")
  8. local Frame_2 = Instance.new("Frame")
  9.  
  10. -- Properties
  11.  
  12. a.Name = "a"
  13. a.Parent = game.Players.LocalPlayer.PlayerGui
  14.  
  15. Frame.Parent = a
  16. Frame.BackgroundColor3 = Color3.new(1, 0, 0)
  17. Frame.Draggable = true
  18. Frame.Position = UDim2.new(0, 0, 0.191699609, 0)
  19. Frame.Size = UDim2.new(0.428571433, 0, 0.816205561, 0)
  20.  
  21. hi.Name = "hi"
  22. hi.Parent = Frame
  23. hi.BackgroundColor3 = Color3.new(1, 1, 1)
  24. hi.BackgroundTransparency = 1
  25. hi.Position = UDim2.new(0, 0, 0.0266343821, 0)
  26. hi.Size = UDim2.new(0.999587119, 0, 0.0935960561, 0)
  27. hi.Font = Enum.Font.Cartoon
  28. hi.Text = "communism"
  29. hi.TextColor3 = Color3.new(0, 0, 0)
  30. hi.TextScaled = true
  31. hi.TextSize = 14
  32. hi.TextWrapped = true
  33.  
  34. ImageLabel.Parent = Frame
  35. ImageLabel.BackgroundColor3 = Color3.new(1, 1, 1)
  36. ImageLabel.BackgroundTransparency = 1
  37. ImageLabel.Position = UDim2.new(0, 0, 0.121065378, 0)
  38. ImageLabel.Size = UDim2.new(0.333195716, 0, 0.232445523, 0)
  39. ImageLabel.Image = "rbxassetid://1084430222"
  40.  
  41. grabby.Name = "grabby"
  42. grabby.Parent = Frame
  43. grabby.BackgroundColor3 = Color3.new(0.701961, 0, 0)
  44. grabby.BorderColor3 = Color3.new(0.207843, 0, 0)
  45. grabby.Position = UDim2.new(0, 0, 0.358353525, 0)
  46. grabby.Size = UDim2.new(0.333195716, 0, 0.10895884, 0)
  47. grabby.Font = Enum.Font.Cartoon
  48. grabby.Text = "Grab knife"
  49. grabby.TextSize = 14
  50.  
  51. grabby.MouseButton1Click:connect(function()
  52. plr = game.Players.LocalPlayer
  53. char = plr.Character
  54. torso = char.Torso
  55. head = char.Head
  56. hed = char.Head
  57. neck = torso.Neck
  58. mouse = plr:GetMouse()
  59. larm = char["Left Arm"]
  60. rarm = char["Right Arm"]
  61. lleg = char["Left Leg"]
  62. rleg = char["Right Leg"]
  63. local Player = game:service("Players").LocalPlayer
  64. local Char = Player.Character
  65. local mouse = Player:GetMouse()
  66. local Humanoid = Char:findFirstChild("Humanoid")
  67. local Torso = Char:findFirstChild("Torso")
  68. head.face:Destroy()
  69. ypcall(function()
  70. local shirt = Char:FindFirstChild("Shirt") or Instance.new("Shirt", Char)
  71. local pants = Char:FindFirstChild("Pants") or Instance.new("Pants", Char)
  72. shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=181769528"
  73. pants.PantsTemplate = "http://www.roblox.com/asset/?id=167384966"
  74. end)
  75. Humanoid.MaxHealth = math.huge
  76. wait()
  77. Humanoid.Health = math.huge
  78. for i, v in pairs(char:GetChildren()) do
  79. if v:IsA("Hat") then
  80. v.Handle.Transparency = 1
  81. v:Destroy()
  82. end
  83. end
  84. char["Body Colors"].HeadColor = BrickColor.new("Nougat")
  85. char["Body Colors"].TorsoColor = BrickColor.new("Nougat")
  86. char["Body Colors"].LeftArmColor = BrickColor.new("Nougat")
  87. char["Body Colors"].RightArmColor = BrickColor.new("Nougat")
  88. local Head = Char.Head
  89. local ra = Char:findFirstChild("Right Arm")
  90. local la = Char:findFirstChild("Left Arm")
  91. local rl = Char:findFirstChild("Right Leg")
  92. local ll = Char:findFirstChild("Left Leg")
  93. local rs = Torso:findFirstChild("Right Shoulder")
  94. local ls = Torso:findFirstChild("Left Shoulder")
  95. local rh = Torso:findFirstChild("Right Hip")
  96. local lh = Torso:findFirstChild("Left Hip")
  97. local neck = Torso:findFirstChild("Neck")
  98. local rp = Char:findFirstChild("HumanoidRootPart")
  99. rp.Archivable = true
  100. local rj = rp:findFirstChild("RootJoint")
  101. rj.Archivable = true
  102. local animate = Char:findFirstChild("Animate")
  103. local rootpart = Char:findFirstChild("HumanoidRootPart")
  104. local Camera = workspace.CurrentCamera
  105. local CF = CFrame.new
  106. local components = CF().components
  107. rootpart.CanCollide = false
  108. Humanoid:findFirstChild("Animator"):Destroy()
  109. local debounce = false
  110. function Random(num)
  111. local section = num % 1 * 3
  112. local secondary = 0.5 * math.pi * (section % 1)
  113. if section < 1 then
  114. return 1, 1 - math.cos(secondary), 1 - math.sin(secondary)
  115. elseif section < 2 then
  116. return 1 - math.sin(secondary), 1, 1 - math.cos(secondary)
  117. else
  118. return 1 - math.cos(secondary), 1 - math.sin(secondary), 1
  119. end
  120. end
  121. local txtfag = Instance.new("BillboardGui", head)
  122. txtfag.Adornee = suckadick
  123. txtfag.Name = "kys nigga"
  124. txtfag.Size = UDim2.new(2, 0, 1.2, 0)
  125. txtfag.StudsOffset = Vector3.new(-5, 3, 0)
  126. local textfag = Instance.new("TextLabel", txtfag)
  127. textfag.Size = UDim2.new(6, 0, 1, 0)
  128. textfag.FontSize = "Size8"
  129. textfag.TextScaled = true
  130. textfag.TextTransparency = 0
  131. textfag.BackgroundTransparency = 1
  132. textfag.TextTransparency = 0
  133. textfag.TextStrokeTransparency = 0
  134. textfag.Font = "SciFi"
  135. textfag.TextStrokeColor3 = Color3.new(0, 1, 0)
  136. textfag.Text = "420"
  137. v = Instance.new("Part")
  138. v.Name = "ColorBrick"
  139. v.Parent = part
  140. v.FormFactor = "Symmetric"
  141. v.Anchored = true
  142. v.CanCollide = false
  143. v.BottomSurface = "Smooth"
  144. v.TopSurface = "Smooth"
  145. v.Size = Vector3.new(10, 5, 3)
  146. v.Transparency = 0.7
  147. v.CFrame = head.CFrame
  148. v.BrickColor = BrickColor.new("Really black")
  149. v.Transparency = 1
  150. textfag.TextColor3 = v.BrickColor.Color
  151. textfag.TextStrokeColor3 = Color3.new(0, 0, 0)
  152. v.Shape = "Block"
  153. game:GetService("RunService").RenderStepped:connect(function()
  154. textfag.TextColor = BrickColor.new(Random(tick()))
  155. end)
  156. sine = 100
  157. angle = 100
  158. anglespeed = 100
  159. local anim = false
  160. local walking = false
  161. local sprinting = false
  162. local superspeed = false
  163. local superspeed2 = false
  164. local debounce = false
  165. function Lerp(a, b, c)
  166. return a + (b - a) * c
  167. end
  168. function phaseclone()
  169. Char.Archivable = true
  170. local Clone1 = Char:Clone()
  171. Clone1.Parent = game.Workspace
  172. for i, v in pairs(Clone1:GetChildren()) do
  173. if v.ClassName == "BodyColors" then
  174. B = "Really red"
  175. v.HeadColor = BrickColor.new(B)
  176. v.LeftArmColor = BrickColor.new(B)
  177. v.RightArmColor = BrickColor.new(B)
  178. v.TorsoColor = BrickColor.new(B)
  179. v.LeftLegColor = BrickColor.new(B)
  180. v.RightLegColor = BrickColor.new(B)
  181. elseif not v:IsA("Part") then
  182. v:Destroy()
  183. end
  184. if v.ClassName ~= "Part" or v.Name == "HumanoidRootPart" then
  185. v:Destroy()
  186. end
  187. if v:IsA("Part") then
  188. v.Transparency = 0.5
  189. v.TopSurface = "Smooth"
  190. v.BottomSurface = "Smooth"
  191. v.LeftSurface = "Smooth"
  192. v.RightSurface = "Smooth"
  193. Bl = "New Yeller"
  194. v.BrickColor = BrickColor.new(Bl)
  195. v.Anchored = true
  196. v.CanCollide = false
  197. end
  198. end
  199. for i, v in pairs(Clone1:GetChildren()) do
  200. if v:FindFirstChild("roblox") then
  201. v.roblox:Destroy()
  202. end
  203. if v:FindFirstChild("face") then
  204. v.face:Destroy()
  205. end
  206. if v.Name == "Part" or v.Name == "Hold" or v.Name == "Circle" then
  207. v:Remove()
  208. end
  209. end
  210. wait(0.3)
  211. for i = 1, 5 do
  212. for _, v in pairs(Clone1:GetChildren()) do
  213. if v:IsA("Part") then
  214. v.Transparency = 0.5 + i / 5
  215. wait()
  216. end
  217. end
  218. end
  219. Clone1:Destroy()
  220. end
  221. function ctlerp(c1, c2, al)
  222. local com1 = {
  223. c1:components()
  224. }
  225. local com2 = {
  226. c2:components()
  227. }
  228. for i, v in pairs(com1) do
  229. com1[i] = Lerp(v, com2[i], al)
  230. end
  231. return CF(unpack(com1))
  232. end
  233. do
  234. local QuaternionFromCFrame = function(cf)
  235. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  236. local trace = m00 + m11 + m22
  237. if trace > 0 then
  238. local s = math.sqrt(1 + trace)
  239. local recip = 0.5 / s
  240. return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  241. else
  242. local i = 0
  243. if m00 < m11 then
  244. i = 1
  245. end
  246. if m22 > (i == 0 and m00 or m11) then
  247. i = 2
  248. end
  249. if i == 0 then
  250. local s = math.sqrt(m00 - m11 - m22 + 1)
  251. local recip = 0.5 / s
  252. return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  253. elseif i == 1 then
  254. local s = math.sqrt(m11 - m22 - m00 + 1)
  255. local recip = 0.5 / s
  256. return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  257. elseif i == 2 then
  258. local s = math.sqrt(m22 - m00 - m11 + 1)
  259. local recip = 0.5 / s
  260. return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  261. end
  262. end
  263. end
  264. local function QuaternionToCFrame(px, py, pz, x, y, z, w)
  265. local xs, ys, zs = x + x, y + y, z + z
  266. local wx, wy, wz = w * xs, w * ys, w * zs
  267. local xx = x * xs
  268. local xy = x * ys
  269. local xz = x * zs
  270. local yy = y * ys
  271. local yz = y * zs
  272. local zz = z * zs
  273. return CF(px, py, pz, 1 - (yy + zz), xy - wz, xz + wy, xy + wz, 1 - (xx + zz), yz - wx, xz - wy, yz + wx, 1 - (xx + yy))
  274. end ction(key)
  275. if key == "e" and animpose == "Idle" then
  276. SmokeDamage()
  277. smoke()
  278. end
  279. end
  280. end)
  281.  
  282. Frame_2.Parent = a
  283. Frame_2.BackgroundColor3 = Color3.new(0.0941177, 0.0941177, 0.0941177)
  284. Frame_2.Position = UDim2.new(-0.571428537, 0, 0.191699609, 0)
  285. Frame_2.Size = UDim2.new(1, 0, 0.0395256914, 0)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement