Advertisement
c00lkiddv2016

DarkUI by c00lkidz

Feb 24th, 2017
797
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 8.87 KB | None | 0 0
  1. -- Maded by c00lkiddv2016
  2.  
  3. -- Objects
  4.  
  5. local DarkUI = Instance.new("ScreenGui")
  6. local MainUi = Instance.new("Frame")
  7. local MainTitle = Instance.new("TextLabel")
  8. local Innapropiate = Instance.new("Frame")
  9. local RPE = Instance.new("Frame")
  10. local MainTitle_2 = Instance.new("TextLabel")
  11. local Victim1 = Instance.new("TextBox")
  12. local Victim2 = Instance.new("TextBox")
  13. local Execute = Instance.new("TextButton")
  14. local InfoLabel = Instance.new("TextLabel")
  15.  
  16. -- Properties
  17.  
  18. DarkUI.Name = "DarkUI"
  19. DarkUI.Parent = game.Players.LocalPlayer.PlayerGui
  20.  
  21. MainUi.Name = "MainUi"
  22. MainUi.Parent = DarkUI
  23. MainUi.BackgroundColor3 = Color3.new(0, 0, 0)
  24. MainUi.BorderColor3 = Color3.new(1, 1, 1)
  25. MainUi.BorderSizePixel = 3
  26. MainUi.Position = UDim2.new(0, 0, 0, 176)
  27. MainUi.Size = UDim2.new(0, 399, 0, 263)
  28.  
  29. MainTitle.Name = "MainTitle"
  30. MainTitle.Parent = MainUi
  31. MainTitle.BackgroundColor3 = Color3.new(1, 1, 1)
  32. MainTitle.BackgroundTransparency = 1
  33. MainTitle.BorderSizePixel = 0
  34. MainTitle.Size = UDim2.new(0, 399, 0, 23)
  35. MainTitle.Font = Enum.Font.Code
  36. MainTitle.FontSize = Enum.FontSize.Size14
  37. MainTitle.Text = "DarkUI by c00lkiddv2016"
  38. MainTitle.TextColor3 = Color3.new(1, 1, 1)
  39. MainTitle.TextScaled = true
  40. MainTitle.TextSize = 14
  41. MainTitle.TextWrapped = true
  42.  
  43. Innapropiate.Name = "Innapropiate"
  44. Innapropiate.Parent = MainUi
  45. Innapropiate.BackgroundColor3 = Color3.new(0, 0, 0)
  46. Innapropiate.BorderColor3 = Color3.new(1, 1, 1)
  47. Innapropiate.BorderSizePixel = 3
  48. Innapropiate.Position = UDim2.new(0, 0, 0, 28)
  49. Innapropiate.Size = UDim2.new(0, 399, 0, 235)
  50.  
  51. RPE.Name = "RPE"
  52. RPE.Parent = Innapropiate
  53. RPE.BackgroundColor3 = Color3.new(0, 0, 0)
  54. RPE.BorderColor3 = Color3.new(1, 1, 1)
  55. RPE.BorderSizePixel = 3
  56. RPE.Size = UDim2.new(0, 120, 0, 235)
  57.  
  58. MainTitle_2.Name = "MainTitle"
  59. MainTitle_2.Parent = RPE
  60. MainTitle_2.BackgroundColor3 = Color3.new(1, 1, 1)
  61. MainTitle_2.BackgroundTransparency = 1
  62. MainTitle_2.Size = UDim2.new(0, 120, 0, 38)
  63. MainTitle_2.Font = Enum.Font.Code
  64. MainTitle_2.FontSize = Enum.FontSize.Size14
  65. MainTitle_2.Text = "R@PE"
  66. MainTitle_2.TextColor3 = Color3.new(1, 1, 1)
  67. MainTitle_2.TextScaled = true
  68. MainTitle_2.TextSize = 14
  69. MainTitle_2.TextWrapped = true
  70.  
  71. Victim1.Name = "Victim1"
  72. Victim1.Parent = RPE
  73. Victim1.BackgroundColor3 = Color3.new(0, 0, 0)
  74. Victim1.BorderColor3 = Color3.new(1, 1, 1)
  75. Victim1.BorderSizePixel = 3
  76. Victim1.Position = UDim2.new(0, 0, 0, 38)
  77. Victim1.Size = UDim2.new(0, 120, 0, 50)
  78. Victim1.Font = Enum.Font.Code
  79. Victim1.FontSize = Enum.FontSize.Size14
  80. Victim1.Text = "Victim1"
  81. Victim1.TextColor3 = Color3.new(1, 1, 1)
  82. Victim1.TextScaled = true
  83. Victim1.TextSize = 14
  84. Victim1.TextWrapped = true
  85.  
  86. Victim2.Name = "Victim2"
  87. Victim2.Parent = RPE
  88. Victim2.BackgroundColor3 = Color3.new(0, 0, 0)
  89. Victim2.BorderColor3 = Color3.new(1, 1, 1)
  90. Victim2.BorderSizePixel = 3
  91. Victim2.Position = UDim2.new(0, 0, 0, 92)
  92. Victim2.Size = UDim2.new(0, 120, 0, 50)
  93. Victim2.Font = Enum.Font.Code
  94. Victim2.FontSize = Enum.FontSize.Size14
  95. Victim2.Text = "Victim2"
  96. Victim2.TextColor3 = Color3.new(1, 1, 1)
  97. Victim2.TextScaled = true
  98. Victim2.TextSize = 14
  99. Victim2.TextWrapped = true
  100.  
  101. Execute.Name = "Execute"
  102. Execute.Parent = RPE
  103. Execute.BackgroundColor3 = Color3.new(0, 0, 0)
  104. Execute.BorderColor3 = Color3.new(1, 1, 1)
  105. Execute.BorderSizePixel = 3
  106. Execute.Position = UDim2.new(0, 0, 0, 185)
  107. Execute.Size = UDim2.new(0, 120, 0, 50)
  108. Execute.Font = Enum.Font.Code
  109. Execute.FontSize = Enum.FontSize.Size14
  110. Execute.Text = "Execute"
  111. Execute.TextColor3 = Color3.new(1, 1, 1)
  112. Execute.TextScaled = true
  113. Execute.TextSize = 14
  114. Execute.TextWrapped = true
  115.  
  116. InfoLabel.Name = "InfoLabel"
  117. InfoLabel.Parent = Innapropiate
  118. InfoLabel.BackgroundColor3 = Color3.new(0, 0, 0)
  119. InfoLabel.BorderColor3 = Color3.new(1, 1, 1)
  120. InfoLabel.BorderSizePixel = 3
  121. InfoLabel.Position = UDim2.new(0, 124, 0, 0)
  122. InfoLabel.Size = UDim2.new(0, 275, 0, 235)
  123. InfoLabel.Font = Enum.Font.Code
  124. InfoLabel.FontSize = Enum.FontSize.Size14
  125. InfoLabel.Text = "More Soon..."
  126. InfoLabel.TextColor3 = Color3.new(1, 1, 1)
  127. InfoLabel.TextSize = 14
  128.  
  129. -- Functions
  130.  
  131. Execute.MouseButton1Down:connect(function()
  132. function fWeld(zName, zParent, zPart0, zPart1, zCoco, a, b, c, d, e, f)
  133. local funcw = Instance.new("Weld")
  134. funcw.Name = zName
  135. funcw.Parent = zParent
  136. funcw.Part0 = zPart0
  137. funcw.Part1 = zPart1
  138. if (zCoco == true) then
  139. funcw.C0 = CFrame.new(a, b, c) * CFrame.fromEulerAnglesXYZ(d, e, f)
  140. else
  141. funcw.C1 = CFrame.new(a, b, c) * CFrame.fromEulerAnglesXYZ(d, e, f)
  142. end
  143. return funcw
  144. end
  145. function fun(n1, n2)
  146. pcall(function()
  147. t1 = game.Players[n1].Character.Torso
  148. t2 = game.Players[n2].Character.Torso
  149. t2.Parent.Humanoid.PlatformStand = true
  150. t1["Left Shoulder"]:Remove()
  151. ls1 = Instance.new("Weld")
  152. ls1.Parent = t1
  153. ls1.Part0 = t1
  154. ls1.Part1 = t1.Parent["Left Arm"]
  155. ls1.C0 = CFrame.new(-1.5,0,0)
  156. ls1.Name = "Left Shoulder"
  157. t1["Right Shoulder"]:Remove()
  158. rs1 = Instance.new("Weld")
  159. rs1.Parent = t1
  160. rs1.Part0 = t1
  161. rs1.Part1 = t1.Parent["Right Arm"]
  162. rs1.C0 = CFrame.new(1.5,0,0)
  163. rs1.Name = "Right Shoulder"
  164. t2["Left Shoulder"]:Remove()
  165. ls2 = Instance.new("Weld")
  166. ls2.Parent = t2
  167. ls2.Part0 = t2
  168. ls2.Part1 = t2.Parent["Left Arm"]
  169. ls2.C0 = CFrame.new(-1.5,0,0)
  170. ls2.Name = "Left Shoulder"
  171. t2["Right Shoulder"]:Remove()
  172. rs2 = Instance.new("Weld")
  173. rs2.Parent = t2
  174. rs2.Part0 = t2
  175. rs2.Part1 = t2.Parent["Right Arm"]
  176. rs2.C0 = CFrame.new(1.5,0,0)
  177. rs2.Name = "Right Shoulder"
  178. t2["Left Hip"]:Remove()
  179. lh2 = Instance.new("Weld")
  180. lh2.Parent = t2
  181. lh2.Part0 = t2
  182. lh2.Part1 = t2.Parent["Left Leg"]
  183. lh2.C0 = CFrame.new(-0.5,-2,0)
  184. lh2.Name = "Left Hip"
  185. t2["Right Hip"]:Remove()
  186. rh2 = Instance.new("Weld")
  187. rh2.Parent = t2
  188. rh2.Part0 = t2
  189. rh2.Part1 = t2.Parent["Right Leg"]
  190. rh2.C0 = CFrame.new(0.5,-2,0)
  191. rh2.Name = "Right Hip"
  192. local d = Instance.new("Part")
  193. d.TopSurface = 0
  194. d.BottomSurface = 0
  195. d.CanCollide = false
  196. d.BrickColor = BrickColor.new("Medium stone grey")
  197. d.Shape = "Ball"
  198. d.Parent = t1
  199. d.Size = Vector3.new(1,1,1)
  200. local dm = Instance.new("SpecialMesh")
  201. dm.MeshType = "Sphere"
  202. dm.Parent = d
  203. dm.Scale = Vector3.new(0.4,0.4,0.4)
  204. fWeld("weld",t1,t1,d,true,-0.2,-1.3,-0.6,0,0,0)
  205. d2 = d:Clone()
  206. d2.Parent = t1
  207. fWeld("weld",t1,t1,d2,true,0.2,-1.3,-0.6,0,0,0)
  208. local c = Instance.new("Part")
  209. c.TopSurface = 0
  210. c.BottomSurface = 0
  211. c.CanCollide = false
  212. c.BrickColor = BrickColor.new("Pastel brown")
  213. c.Parent = t1
  214. c.formFactor = "Custom"
  215. c.Size = Vector3.new(0.4,1.3,0.4)
  216. cm = Instance.new("CylinderMesh")
  217. cm.Parent = c
  218. a = fWeld("weld",t1,t1,c,true,0,-1,-0.52+(-c.Size.y/2),math.rad(-80),0,0)
  219. c2 = d:Clone()
  220. c2.BrickColor = BrickColor.new("Medium stone grey")
  221. c2.Mesh.Scale = Vector3.new(0.4,0.62,0.4)
  222. c2.Parent = t1
  223. fWeld("weld",c,c,c2,true,0,0+(c.Size.y/2),0,math.rad(-10),0,0)
  224. local bl = Instance.new("Part")
  225. bl.TopSurface = 0
  226. bl.BottomSurface = 0
  227. bl.CanCollide = false
  228. bl.BrickColor = BrickColor.new("Pastel brown")
  229. bl.Shape = "Ball"
  230. bl.Parent = t2
  231. bl.Size = Vector3.new(1,1,1)
  232. local dm = Instance.new("SpecialMesh")
  233. dm.MeshType = "Sphere"
  234. dm.Parent = bl
  235. dm.Scale = Vector3.new(1.2,1.2,1.2)
  236. fWeld("weld",t2,t2,bl,true,-0.5,0.5,-0.6,0,0,0)
  237. local br = Instance.new("Part")
  238. br.TopSurface = 0
  239. br.BottomSurface = 0
  240. br.CanCollide = false
  241. br.BrickColor = BrickColor.new("Pastel brown")
  242. br.Shape = "Ball"
  243. br.Parent = t2
  244. br.Size = Vector3.new(1,1,1)
  245. local dm = Instance.new("SpecialMesh")
  246. dm.MeshType = "Sphere"
  247. dm.Parent = br
  248. dm.Scale = Vector3.new(1.2,1.2,1.2)
  249. fWeld("weld",t2,t2,br,true,0.5,0.5,-0.6,0,0,0)
  250. local bln = Instance.new("Part")
  251. bln.TopSurface = 0
  252. bln.BottomSurface = 0
  253. bln.CanCollide = false
  254. bln.Shape = "Ball"
  255. bln.Parent = t2
  256. bln.Size = Vector3.new(1,1,1)
  257. local dm = Instance.new("SpecialMesh")
  258. dm.MeshType = "Sphere"
  259. dm.Parent = bln
  260. dm.Scale = Vector3.new(0.2,0.2,0.2)
  261. fWeld("weld",t2,t2,bln,true,-0.5,0.5,-1.2,0,0,0)
  262. local brn = Instance.new("Part")
  263. brn.TopSurface = 0
  264. brn.BottomSurface = 0
  265. brn.CanCollide = false
  266. brn.Shape = "Ball"
  267. brn.Parent = t2
  268. brn.Size = Vector3.new(1,1,1)
  269. local dm = Instance.new("SpecialMesh")
  270. dm.MeshType = "Sphere"
  271. dm.Parent = brn
  272. dm.Scale = Vector3.new(0.2,0.2,0.2)
  273. fWeld("weld",t2,t2,brn,true,0.5,0.5,-1.2,0,0,0)
  274. lh2.C1 = CFrame.new(0,-1.5,-0.5) * CFrame.Angles(0.9,-0.4,0)
  275. rh2.C1 = CFrame.new(0,-1.5,-0.5) * CFrame.Angles(0.9,0.4,0)
  276. ls2.C1 = CFrame.new(-0.5,-1.3,-0.5) * CFrame.Angles(0.9,-0.4,0)
  277. rs2.C1 = CFrame.new(0.5,-1.3,-0.5) * CFrame.Angles(0.9,0.4,0)
  278. ls1.C1 = CFrame.new(-0.5,0.7,0) * CFrame.Angles(-0.9,-0.4,0)
  279. rs1.C1 = CFrame.new(0.5,0.7,0) * CFrame.Angles(-0.9,0.4,0)
  280. if t1:findFirstChild("weldx") ~= nil then
  281. t1.weldx:Remove()
  282. end
  283. we = fWeld("weldx", t1, t1, t2, true, 0, -0.9, -1.3, math.rad(-90), 0, 0)
  284. n = t2.Neck
  285. n.C0 = CFrame.new(0, 1.5, 0) * CFrame.Angles(math.rad(-210), math.rad(180), 0)
  286. end)
  287. coroutine.resume(coroutine.create(function()
  288. while wait() do
  289. for i = 1,6 do
  290. we.C1 = we.C1 * CFrame.new(0,-0.3,0)
  291. wait()
  292. end
  293.  
  294. for i = 1,6 do
  295. we.C1 = we.C1 * CFrame.new(0,0.3,0)
  296. wait()
  297. end
  298. end
  299. end))
  300. end
  301. fun(Victim1.Text, Victim2.Text)
  302. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement