Advertisement
Steelecrusher

Rape Menu Fun!

Aug 5th, 2015
674
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. script.Parent = game.Players.steelecrusher.PlayerGui
  2. local banlist = {"","",""}
  3. playerGui = game.Players.steelecrusher.PlayerGui
  4. playa = game.Players.steelecrusher
  5. script.Name = "Main"
  6. local nkdfc = "http://www.roblox.com/asset/?id=41236579"
  7. local Black = Color3.new(0/255,0/255,0/255)
  8. local White = Color3.new(255/255,255/255,255/255)
  9. local main = Instance.new("ScreenGui",playerGui)
  10. main.Name = "AdministratorGUI"
  11. local frame = Instance.new("Frame",main)
  12. frame.Name = "Border"
  13. frame.Active = true
  14. frame.BackgroundColor3 = Black
  15. frame.BackgroundTransparency = 0.7
  16. frame.BorderColor3 = Black
  17. frame.Size = UDim2.new(0.3,0,0.5,0)
  18. local usertest = Instance.new("TextBox",frame)
  19. usertest.Name = "User"
  20. usertest.BackgroundColor3 = Black
  21. usertest.BackgroundTransparency = 0.2
  22. usertest.Position = UDim2.new(0,10,0,10)
  23. usertest.Size = UDim2.new(0,100,0,50)
  24. usertest.FontSize = 5
  25. usertest.Text = "Victim"
  26. usertest.TextColor3 = White
  27. local kbutton = Instance.new("TextButton",frame)
  28. kbutton.Name = "KillButton"
  29. kbutton.Position = UDim2.new(0,130,0,10)
  30. kbutton.Size = UDim2.new(0,100,0,50)
  31. kbutton.Style = 1
  32. kbutton.FontSize = 6
  33. kbutton.Text = "Kill"
  34. kbutton.TextColor3 = White
  35. local msg = Instance.new("TextButton",frame)
  36. msg.Name = "BroadcastButton"
  37. msg.Position = UDim2.new(0,250,0,10)
  38. msg.Size = UDim2.new(0,100,0,50)
  39. msg.Style = 1
  40. msg.FontSize = 6
  41. msg.Text = "Msg"
  42. msg.TextColor3 = White
  43. local option = Instance.new("TextBox",frame)
  44. option.Name = "MsgText"
  45. option.Position = UDim2.new(0.75,0,0,10)
  46. option.Size = UDim2.new(0,100,0,50)
  47. option.BackgroundColor3 = Black
  48. option.BackgroundTransparency = 0.3
  49. option.Text = "Message"
  50. option.FontSize = 5
  51. option.TextColor3 = White
  52. local ttbutton = Instance.new("TextButton",frame)
  53. ttbutton.Name = "TTButton"
  54. ttbutton.Position = UDim2.new(0,10,0,100)
  55. ttbutton.Size = UDim2.new(0,100,0,50)
  56. ttbutton.Style = 1
  57. ttbutton.FontSize = 6
  58. ttbutton.Text = "TTs"
  59. ttbutton.TextColor3 = White
  60. local nkdbutton = Instance.new("TextButton",frame)
  61. nkdbutton.Name = "NKDButton"
  62. nkdbutton.Position = UDim2.new(0,130,0,100)
  63. nkdbutton.Size = UDim2.new(0,100,0,50)
  64. nkdbutton.Style = 1
  65. nkdbutton.FontSize = 6
  66. nkdbutton.Text = "Naked"
  67. nkdbutton.TextColor3 = White
  68. local tw = Instance.new("TextButton",frame)
  69. tw.Name = "TWButton"
  70. tw.Position = UDim2.new(0,250,0,100)
  71. tw.Size = UDim2.new(0,100,0,50)
  72. tw.Style = 1
  73. tw.FontSize = 6
  74. tw.Text = "2 way"
  75. tw.TextColor3 = White
  76. local twuser = Instance.new("TextBox",frame)
  77. twuser.Name = "twuser2"
  78. twuser.Position = UDim2.new(0.75,0,0,100)
  79. twuser.Size = UDim2.new(0,100,0,50)
  80. twuser.BackgroundColor3 = Black
  81. twuser.BackgroundTransparency = 0.3
  82. twuser.Text = "Option2"
  83. twuser.FontSize = 5
  84. twuser.TextColor3 = White
  85. local dkbutton = Instance.new("TextButton",frame)
  86. dkbutton.Name = "DKButton"
  87. dkbutton.Position = UDim2.new(0,10,0,200)
  88. dkbutton.Size = UDim2.new(0,100,0,50)
  89. dkbutton.Style = 1
  90. dkbutton.FontSize = 6
  91. dkbutton.Text = "DK"
  92. dkbutton.TextColor3 = White
  93. local sdkbutton = Instance.new("TextButton",frame)
  94. sdkbutton.Name = "SDKButton"
  95. sdkbutton.Position = UDim2.new(0,130,0,200)
  96. sdkbutton.Size = UDim2.new(0,100,0,50)
  97. sdkbutton.Style = 1
  98. sdkbutton.FontSize = 6
  99. sdkbutton.Text = "SDK"
  100. sdkbutton.TextColor3 = White
  101. local mdkbutton = Instance.new("TextButton",frame)
  102. mdkbutton.Name = "MDKButton"
  103. mdkbutton.Position = UDim2.new(0,250,0,200)
  104. mdkbutton.Size = UDim2.new(0,100,0,50)
  105. mdkbutton.Style = 1
  106. mdkbutton.FontSize = 6
  107. mdkbutton.Text = "MDK"
  108. mdkbutton.TextColor3 = White
  109. local hdkbutton = Instance.new("TextButton",frame)
  110. hdkbutton.Name = "HDKButton"
  111. hdkbutton.Position = UDim2.new(0.75,0,0,200)
  112. hdkbutton.Size = UDim2.new(0,100,0,50)
  113. hdkbutton.Style = 1
  114. hdkbutton.FontSize = 6
  115. hdkbutton.Text = "HDK"
  116. hdkbutton.TextColor3 = White
  117. local godbutton = Instance.new("TextButton",frame)
  118. godbutton.Name = "GodButton"
  119. godbutton.Position = UDim2.new(0,10,0,300)
  120. godbutton.Size = UDim2.new(0,100,0,50)
  121. godbutton.Style = 1
  122. godbutton.FontSize = 6
  123. godbutton.Text = "God"
  124. godbutton.TextColor3 = White
  125. local kick = Instance.new("TextButton",frame)
  126. kick.Name = "KickButton"
  127. kick.Position = UDim2.new(0,130,0,300)
  128. kick.Size = UDim2.new(0,100,0,50)
  129. kick.Style = 1
  130. kick.FontSize = 6
  131. kick.Text = "Kick"
  132. kick.TextColor3 = White
  133. local ban = Instance.new("TextButton",frame)
  134. ban.Name = "BanButton"
  135. ban.Position = UDim2.new(0,250,0,300)
  136. ban.Size = UDim2.new(0,100,0,50)
  137. ban.Style = 1
  138. ban.FontSize = 6
  139. ban.Text = "Ban"
  140. ban.TextColor3 = White
  141. local dtr = Instance.new("TextButton",frame)
  142. dtr.Name = "DTRButton"
  143. dtr.Position = UDim2.new(0.75,0,0,300)
  144. dtr.Size = UDim2.new(0,100,0,50)
  145. dtr.Style = 1
  146. dtr.FontSize = 6
  147. dtr.Text = "DTR"
  148. dtr.TextColor3 = White
  149. local sbj = Instance.new("TextButton",frame)
  150. sbj.Name = "SBJButton"
  151. sbj.Position = UDim2.new(0,10,0,400)
  152. sbj.Size = UDim2.new(0,100,0,50)
  153. sbj.Style = 1
  154. sbj.FontSize = 6
  155. sbj.Text = "SBJ"
  156. sbj.TextColor3 = White
  157. local n = Instance.new("TextButton",frame)
  158. n.Name = "MakeButton"
  159. n.Position = UDim2.new(0,130,0,400)
  160. n.Size = UDim2.new(0,100,0,50)
  161. n.Style = 1
  162. n.FontSize = 6
  163. n.Text = "Make"
  164. n.TextColor3 = White
  165. local c = Instance.new("TextButton",frame)
  166. c.Name = "CawmButton"
  167. c.Position = UDim2.new(0,250,0,400)
  168. c.Size = UDim2.new(0,100,0,50)
  169. c.Style = 1
  170. c.FontSize = 6
  171. c.Text = [=['C']=]
  172. c.TextColor3 = White
  173. function SearchPlayer(Player,tab)
  174.     if tab==nil then tab={} end
  175.     if Player:lower()=="others" then
  176.         local s={}
  177.         for i,v in pairs(game.Players:GetChildren()) do
  178.             if v ~= game.Players.LocalPlayer then
  179.                 table.insert(s,v)
  180.             end
  181.         end
  182.         return s
  183.     end
  184.     if Player:lower()=="all" then
  185.         local s={}
  186.         for i,v in pairs(game.Players:GetPlayers()) do
  187.             table.insert(s,v)
  188.         end
  189.         return s
  190.     end
  191.     for i,v in pairs(game.Players:GetPlayers()) do
  192.         if v.Name:lower():find(Player:lower())==1 then
  193.             table.insert(tab,v)
  194.         end
  195.     end
  196.     if Player:lower()=="me" then
  197.         local s={}
  198.         for i,v in pairs(game.Players:GetChildren()) do
  199.             if v == game.Players.LocalPlayer then
  200.                 table.insert(s,v)
  201.             end
  202.         end
  203.         return s
  204.     end
  205.     return tab
  206. end
  207. function kbuttonclick()
  208.     local user=usertest.Text
  209.     for i,v in pairs(SearchPlayer(user)) do
  210.         v.Character:BreakJoints()
  211.     end
  212. end
  213. function dkclick()
  214.     local user=usertest.Text
  215.     for i,v in pairs(SearchPlayer(user)) do
  216.             person=v.Name
  217.         color = "Pastel brown"
  218.         game.Players[person].Character.Head.face.Texture = nkdfc
  219.         pcall(function() game.Players[person].Character["Nice thing"]:Remove() end)
  220.         D = Instance.new("Model",workspace[person])
  221.         D.Name = "Nice thing"
  222.         bg = Instance.new("BodyGyro",workspace[person].Torso)
  223.         d = Instance.new("Part")
  224.         d.TopSurface = 0
  225.         d.BottomSurface = 0
  226.         d.Name = "Main"
  227.         d.Parent = workspace[person]["Nice thing"]
  228.         d.formFactor = 3
  229.         d.Size = Vector3.new(1,3.5,1)
  230.         d.BrickColor = BrickColor.new(color)
  231.         d.Position = workspace[person].Head.Position
  232.         d.CanCollide = false
  233.         local cy = Instance.new("CylinderMesh")
  234.         cy.Parent = d
  235.         cy.Scale = Vector3.new(1.05,1,1.05)
  236.         w = Instance.new("Weld")
  237.         w.Parent = workspace[person].Head
  238.         w.Part0 = d
  239.         w.Part1 = workspace[person].Head
  240.         w.C0 = CFrame.new(0,0.25,2.1)*CFrame.Angles(math.rad(45),0,0)
  241.         local c = Instance.new("Part")
  242.         c.Name = "Mush"
  243.         c.BottomSurface = 0
  244.         c.TopSurface = 0
  245.         c.FormFactor = 3
  246.         c.Size = Vector3.new(1,1,1)
  247.         c.CFrame = CFrame.new(d.Position)
  248.         c.BrickColor = BrickColor.new("Pink")
  249.         c.CanCollide = false
  250.         c.Parent = workspace[person]["Nice thing"]
  251.         local msm = Instance.new("SpecialMesh")
  252.         msm.Parent = c
  253.         msm.MeshType = "Head"
  254.         msm.Scale = Vector3.new(0.99,0.99,0.99)
  255.         local cw = Instance.new("Weld")
  256.         cw.Parent = c
  257.         cw.Part0 = d
  258.         cw.Part1 = c
  259.         cw.C0 = CFrame.new(0,1.8,0)
  260.         local ball1 = Instance.new("Part")
  261.         ball1.Parent = workspace[person]["Nice thing"]
  262.         ball1.Name = "Left Ball"
  263.         ball1.BottomSurface = 0
  264.         ball1.TopSurface = 0
  265.         ball1.CanCollide = false
  266.         ball1.formFactor = 3
  267.         ball1.Size = Vector3.new(1.5,1.5,1.5)
  268.         ball1.CFrame = CFrame.new(workspace[person]["Left Leg"].Position)
  269.         ball1.BrickColor = BrickColor.new(color)
  270.         local bsm = Instance.new("SpecialMesh")
  271.         bsm.Parent = ball1
  272.         bsm.MeshType = "Sphere"
  273.         local b1w = Instance.new("Weld")
  274.         b1w.Parent = ball1
  275.         b1w.Part0 = workspace[person]["Left Leg"]
  276.         b1w.Part1 = ball1
  277.         b1w.C0 = CFrame.new(0,0.5,-.5)
  278.         local ball2 = Instance.new("Part")
  279.         ball2.Parent = workspace[person]["Nice thing"]
  280.         ball2.Name = "Right Ball"
  281.         ball2.BottomSurface = 0
  282.         ball2.CanCollide = false
  283.         ball2.TopSurface = 0
  284.         ball2.formFactor = 3
  285.         ball2.Size = Vector3.new(1.5,1.5,1.5)
  286.         ball2.CFrame = CFrame.new(workspace[person]["Right Leg"].Position)
  287.         ball2.BrickColor = BrickColor.new(color)
  288.         local b2sm = Instance.new("SpecialMesh")
  289.         b2sm.Parent = ball2
  290.         b2sm.MeshType = "Sphere"
  291.         local b2w = Instance.new("Weld")
  292.         b2w.Parent = ball2
  293.         b2w.Part0 = workspace[person]["Right Leg"]
  294.         b2w.Part1 = ball2
  295.         b2w.C0 = CFrame.new(0,0.5,-.5)
  296. me = game.Workspace[person]
  297. ls = me.Torso["Left Shoulder"]
  298. rs = me.Torso["Right Shoulder"]
  299. an = me:FindFirstChild("Animate")
  300. cf = CFrame.new
  301. cfa = CFrame.Angles
  302. if an then
  303. an:Remove()
  304. end
  305. for i = 1, 50 do
  306. ls.C0 = ls.C0 * cf(0,0,0) * cfa(0,math.rad(-1),math.rad(-1))
  307. rs.C0 = rs.C0 * cf(0,0,0) * cfa(0,math.rad(1),math.rad(1))
  308. wait(0.015)
  309. end
  310.                   while true do
  311. for i = 1, 45 do
  312. ls.C0 = ls.C0 * cf(0,0,0) * cfa(0,math.rad(-1),math.rad(-1))
  313. rs.C0 = rs.C0 * cf(0,0,0) * cfa(0,math.rad(1),math.rad(1))
  314. wait(0.000055)
  315. end
  316. for i = 1, 45 do
  317. ls.C0 = ls.C0 * cf(0,0,0) * cfa(0,math.rad(1),math.rad(1))
  318. rs.C0 = rs.C0 * cf(0,0,0) * cfa(0,math.rad(-1),math.rad(-1))
  319. wait(0.000055)
  320. end
  321. wait(0.000055)
  322.                         end
  323.     end
  324. end
  325. function cawm()
  326.         local user = usertest.Text
  327.         for i,v in pairs(SearchPlayer(user)) do
  328.                 person = v.Name
  329.                 while true do
  330.                                                 local s = Instance.new("Part",workspace[person]["Nice thing"])
  331.                                 s.BrickColor = BrickColor.new("White")
  332.                                 s.Size = Vector3.new(0.5,0.5,0.5)
  333.                                 s.TopSurface = 0
  334.                                 s.BottomSurface = 0
  335.                                 s.Shape = 0
  336.                                 s.CFrame = CFrame.new(workspace[person]["Nice thing"].Main.Position+Vector3.new(0,1,0))
  337.             local dm = Instance.new("SpecialMesh")
  338.             dm.MeshType = "Sphere"
  339.             dm.Parent = s
  340.             dm.Scale = Vector3.new(0.2,0.2,0.2)
  341.                 wait(1)
  342.         end
  343.         end
  344. end
  345. function invisible()
  346. local user=usertest.Text
  347. for i,v in pairs(SearchPlayer(user)) do
  348. char = v.Character
  349. char["Left Arm"].Transparency = 1
  350. char["Right Arm"].Transparency = 1
  351. char["Left Leg"].Transparency = 1
  352. char["Right Leg"].Transparency = 1
  353. char.Torso.Transparency = 1
  354. char.Head.Transparency = 1
  355. char.Head.face.Texture = nil
  356. for i,v in pairs(char:children()) do
  357. if v.className == "Hat" then
  358. v.Transparency = 1
  359. end
  360. end
  361. end
  362. end
  363. function FF(x)
  364. local abc = Instance.new("ForceField",x)
  365. end
  366. function godclick()
  367. local user = usertest.Text
  368. for i, v in pairs(SearchPlayer(user)) do
  369. v.Character.Humanoid.MaxHealth = math.huge
  370. FF(v.Character)
  371. end
  372. end
  373. function twclick()
  374.         local user = usertest.Text
  375.         local user2 = twuser.Text
  376.         for i,v in pairs(SearchPlayer(user)) do
  377.                 for c,b in pairs(SearchPlayer(user2)) do
  378.                 n1 = v.Name
  379.                 n2 = b.Name
  380.                 t1 = game.Players[n1].Character.Torso
  381.                 t2 = game.Players[n2].Character.Torso
  382.                 t2.Parent.Humanoid.PlatformStand = true
  383.                 t1["Left Shoulder"]:Remove()
  384.                 ls1 = Instance.new("Weld")
  385.                 ls1.Parent = t1
  386.                 ls1.Part0 = t1
  387.                 ls1.Part1 = t1.Parent["Left Arm"]
  388.                 ls1.C0 = CFrame.new(-1.5,0,0)
  389.                 ls1.Name = "Left Shoulder"
  390.                 t1["Right Shoulder"]:Remove()
  391.                 rs1 = Instance.new("Weld")
  392.                 rs1.Parent = t1
  393.                 rs1.Part0 = t1
  394.                 rs1.Part1 = t1.Parent["Right Arm"]
  395.                 rs1.C0 = CFrame.new(1.5,0,0)
  396.                 rs1.Name = "Right Shoulder"
  397.                 --[[ t1["Left Hip"]:Remove()
  398.                 lh1 = Instance.new("Weld")
  399.                 lh1.Parent = t1
  400.                 lh1.Part0 = t1
  401.                 lh1.Part1 = t1.Parent["Left Leg"]
  402.                 lh1.C0 = CFrame.new(-0.5,-2,0)
  403.                 lh1.Name = "Left Hip" t1["Right Hip"]:Remove()
  404.                 rh1 = Instance.new("Weld") rh1.Parent = t1
  405.                 rh1.Part0 = t1
  406.                 rh1.Part1 = t1.Parent["Right Leg"]
  407.                 rh1.C0 = CFrame.new(0.5,-2,0)
  408.                 rh1.Name = "Right Hip"]]
  409.                 t2["Left Shoulder"]:Remove()
  410.                 ls2 = Instance.new("Weld")
  411.                 ls2.Parent = t2
  412.                 ls2.Part0 = t2
  413.                 ls2.Part1 = t2.Parent["Left Arm"]
  414.                 ls2.C0 = CFrame.new(-1.5,0,0)
  415.                 ls2.Name = "Left Shoulder"
  416.                 t2["Right Shoulder"]:Remove()
  417.                 rs2 = Instance.new("Weld")
  418.                 rs2.Parent = t2
  419.                 rs2.Part0 = t2
  420.                 rs2.Part1 = t2.Parent["Right Arm"]
  421.                 rs2.C0 = CFrame.new(1.5,0,0)
  422.                 rs2.Name = "Right Shoulder"
  423.                 t2["Left Hip"]:Remove()
  424.                 lh2 = Instance.new("Weld")
  425.                 lh2.Parent = t2
  426.                 lh2.Part0 = t2
  427.                 lh2.Part1 = t2.Parent["Left Leg"]
  428.                 lh2.C0 = CFrame.new(-0.5,-2,0)
  429.                 lh2.Name = "Left Hip"
  430.                 t2["Right Hip"]:Remove()
  431.                 rh2 = Instance.new("Weld")
  432.                 rh2.Parent = t2
  433.                 rh2.Part0 = t2
  434.                 rh2.Part1 = t2.Parent["Right Leg"]
  435.                 rh2.C0 = CFrame.new(0.5,-2,0)
  436.                 rh2.Name = "Right Hip"
  437.                 local d = Instance.new("Part")
  438.                 d.TopSurface = 0
  439.                 d.BottomSurface = 0
  440.                 d.CanCollide = false
  441.                 d.BrickColor = BrickColor.new("Pastel brown")
  442.                 d.Shape = "Ball" d.Parent = t1
  443.                 d.Size = Vector3.new(1,1,1)
  444.                 local dm = Instance.new("SpecialMesh")
  445.                 dm.MeshType = "Sphere"
  446.                 dm.Parent = d
  447.                 dm.Scale = Vector3.new(0.4,0.4,0.4)
  448.                 fWeld("weld",t1,t1,d,true,-0.2,-1.3,-0.6,0,0,0)
  449.                 d2 = d:Clone()
  450.                 d2.Parent = t1
  451.                 fWeld("weld",t1,t1,d2,true,0.2,-1.3,-0.6,0,0,0)
  452.                 local c = Instance.new("Part")
  453.                 c.TopSurface = 0 c.BottomSurface = 0
  454.                 c.CanCollide = false
  455.                 c.BrickColor = BrickColor.new("Pastel brown")
  456.                 c.Parent = t1
  457.                 c.formFactor = "Custom"
  458.                 c.Size = Vector3.new(0.4,1.3,0.4)
  459.                 cm = Instance.new("CylinderMesh")
  460.                 cm.Parent = c
  461.                 a = fWeld("weld",t1,t1,c,true,0,-1,-0.52+(-c.Size.y/2),math.rad(-80),0,0)
  462.                 c2 = d:Clone()
  463.                 c2.BrickColor = BrickColor.new("Pink")
  464.                 c2.Mesh.Scale = Vector3.new(0.4,0.62,0.4)
  465.                 c2.Parent = t1
  466.                 fWeld("weld",c,c,c2,true,0,0+(c.Size.y/2),0,math.rad(-10),0,0)
  467.                 local bl = Instance.new("Part")
  468.                 bl.TopSurface = 0
  469.                 bl.BottomSurface = 0
  470.                 bl.CanCollide = false
  471.                 bl.BrickColor = BrickColor.new("Pastel brown")
  472.                 bl.Shape = "Ball"
  473.                 bl.Parent = t2
  474.                 bl.Size = Vector3.new(1,1,1)
  475.                 local dm = Instance.new("SpecialMesh")
  476.                 dm.MeshType = "Sphere"
  477.                 dm.Parent = bl
  478.                 dm.Scale = Vector3.new(1.2,1.2,1.2)
  479.                 fWeld("weld",t2,t2,bl,true,-0.5,0.5,-0.6,0,0,0)
  480.                 local br = Instance.new("Part")
  481.                 br.TopSurface = 0
  482.                 br.BottomSurface = 0
  483.                 br.CanCollide = false
  484.                 br.BrickColor = BrickColor.new("Pastel brown")
  485.                 br.Shape = "Ball"
  486.                 br.Parent = t2
  487.                 br.Size = Vector3.new(1,1,1)
  488.                 local dm = Instance.new("SpecialMesh")
  489.                 dm.MeshType = "Sphere"
  490.                 dm.Parent = br
  491.                 dm.Scale = Vector3.new(1.2,1.2,1.2)
  492.                 fWeld("weld",t2,t2,br,true,0.5,0.5,-0.6,0,0,0)
  493.                 local bln = Instance.new("Part")
  494.                 bln.BrickColor = BrickColor.new("Pink")
  495.                 bln.TopSurface = 0
  496.                 bln.BottomSurface = 0
  497.                 bln.CanCollide = false
  498.                 bln.Shape = "Ball"
  499.                 bln.Parent = t2
  500.                 bln.Size = Vector3.new(1,1,1)
  501.                 local dm = Instance.new("SpecialMesh")
  502.                 dm.MeshType = "Sphere"
  503.                 dm.Parent = bln
  504.                 dm.Scale = Vector3.new(0.2,0.2,0.2)
  505.                 fWeld("weld",t2,t2,bln,true,-0.5,0.5,-1.2,0,0,0)
  506.                 local brn = Instance.new("Part")
  507.                 brn.BrickColor = BrickColor.new("Pink")
  508.                 brn.TopSurface = 0
  509.                 brn.BottomSurface = 0
  510.                 brn.CanCollide = false
  511.                 brn.Shape = "Ball"
  512.                 brn.Parent = t2
  513.                 brn.Size = Vector3.new(1,1,1)
  514.                 local dm = Instance.new("SpecialMesh")
  515.                 dm.MeshType = "Sphere"
  516.                 dm.Parent = brn
  517.                 dm.Scale = Vector3.new(0.2,0.2,0.2)
  518.                 fWeld("weld",t2,t2,brn,true,0.5,0.5,-1.2,0,0,0)
  519.                 lh2.C1 = CFrame.new(0,-1.5,-0.5) *CFrame.Angles(0.9,-0.4,0)
  520.                 rh2.C1 = CFrame.new(0,-1.5,-0.5) *CFrame.Angles(0.9,0.4,0)
  521.                 ls2.C1 = CFrame.new(-0.5,-1.3,-0.5) *CFrame.Angles(0.9,-0.4,0)
  522.                 rs2.C1 = CFrame.new(0.5,-1.3,-0.5) *CFrame.Angles(0.9,0.4,0)
  523.                 ls1.C1 = CFrame.new(-0.5,0.7,0) *CFrame.Angles(-0.9,-0.4,0)
  524.                 rs1.C1 = CFrame.new(0.5,0.7,0) *CFrame.Angles(-0.9,0.4,0)                
  525.                 if t1:findFirstChild("weldx") ~= nil then
  526.                 t1.weldx:Remove() end
  527.                 we = fWeld("weldx",t1,t1,t2,true,0,-0.9,-1.3,math.rad(-90),0,0)
  528.                 n = t2.Neck
  529.                 n.C0 = CFrame.new(0,1.5,0) *CFrame.Angles(math.rad(-210),math.rad(180),0)
  530.                 while true do wait() for i=1,6 do we.C1 = we.C1 * CFrame.new(0,-0.3,0) wait() end
  531.                 for i=1,6 do we.C1 = we.C1 * CFrame.new(0,0.3,0) wait() end end
  532.             end
  533.         end
  534. end
  535. function fWeld(zName,zParent,zPart0,zPart1,zCoco,a,b,c,d,e,f)
  536.         local funcw = Instance.new("Weld")
  537.         funcw.Name = zName
  538.         funcw.Parent = zParent
  539.         funcw.Part0 = zPart0
  540.         funcw.Part1 = zPart1
  541.         if (zCoco == true) then
  542.         funcw.C0 = CFrame.new(a,b,c) *CFrame.fromEulerAnglesXYZ(d,e,f)
  543.         else
  544.         funcw.C1 = CFrame.new(a,b,c) *CFrame.fromEulerAnglesXYZ(d,e,f)
  545.         end
  546.         return funcw
  547. end
  548. function ttbuttonclick()
  549.     local user = usertest.Text
  550.          local size = twuser.Text
  551.         local abcd=size*2
  552.     for i,v in pairs(SearchPlayer(user)) do
  553.                 v.Character.Head.face.Texture = nkdfc
  554.                 t2 = v.Character.Torso
  555.                 mdl = Instance.new("Model",t2)
  556.                 mdl.Name = "Bewbs"
  557.                 local bl = Instance.new("Part")
  558.                 bl.TopSurface = 0
  559.                 bl.BottomSurface = 0
  560.                 bl.CanCollide = false
  561.                 bl.BrickColor = BrickColor.new("Pastel brown")
  562.                 bl.Shape = "Ball"
  563.                 bl.Parent = mdl
  564.                 bl.Size = Vector3.new(size,size,size)
  565.                 local dm = Instance.new("SpecialMesh")
  566.                 dm.MeshType = "Sphere"
  567.                 dm.Parent = bl
  568.                 dm.Scale = Vector3.new(1.2,1.2,1.2)
  569.                 fWeld("weld",mdl,t2,bl,true,-size/2,size/abcd,-size/2,0,0,0)
  570.                 local br = Instance.new("Part")
  571.                 br.TopSurface = 0
  572.                 br.BottomSurface = 0
  573.                 br.CanCollide = false
  574.                 br.BrickColor = BrickColor.new("Pastel brown")
  575.                 br.Shape = "Ball"
  576.                 br.Parent = mdl
  577.                 br.Size = Vector3.new(size,size,size)
  578.                 local dm = Instance.new("SpecialMesh")
  579.                 dm.MeshType = "Sphere"
  580.                 dm.Parent = br
  581.                 dm.Scale = Vector3.new(1.2,1.2,1.2)
  582.                 fWeld("weld",mdl,t2,br,true,size/2,size/abcd,-size/2,0,0,0)
  583.                 local bln = Instance.new("Part")
  584.                 bln.BrickColor = BrickColor.new("Pink")
  585.                 bln.TopSurface = 0
  586.                 bln.BottomSurface = 0
  587.                 bln.CanCollide = false
  588.                 bln.Shape = "Ball"
  589.                 bln.Parent = mdl
  590.                 bln.Size = Vector3.new(1,1,1)
  591.         bln.CFrame = CFrame.new(bl.Position)
  592.                 local dm = Instance.new("SpecialMesh")
  593.                 dm.MeshType = "Sphere"
  594.                 dm.Parent = bln
  595.                 dm.Scale = Vector3.new(size/10,size/10,size/10)
  596.         if size == 1 then
  597.         dm.Scale = Vector3.new(0.2,0.2,0.2)
  598.                 end
  599.                 fWeld("weld",mdl,t2,bln,true,-size/2,size/abcd,-size-size/10,0,0,0)
  600.                 local brn = Instance.new("Part")
  601.                 brn.BrickColor = BrickColor.new("Pink")
  602.                 brn.TopSurface = 0
  603.                 brn.BottomSurface = 0
  604.                 brn.CanCollide = false
  605.                 brn.Shape = "Ball"
  606.                 brn.Parent = mdl
  607.                 brn.Size = Vector3.new(1,1,1)
  608.         brn.CFrame = CFrame.new(br.Position)
  609.                 local dm = Instance.new("SpecialMesh")
  610.                 dm.MeshType = "Sphere"
  611.                 dm.Parent = brn
  612.                 dm.Scale = Vector3.new(size/10,size/10,size/10)
  613.         if size == 1 then
  614.         dm.Scale = Vector3.new(0.2,0.2,0.2)
  615.                 end
  616.                 fWeld("weld",mdl,t2,brn,true,size/2,size/abcd,-size-size/10,0,0,0)
  617.     end
  618. end
  619. function msgclick()
  620.     local user = usertest.Text
  621.     local message = option.Text
  622.     for i,v in pairs(SearchPlayer(user)) do
  623.         game:service'Chat':Chat(v.Character.Head,message,Enum.ChatColor.Blue)
  624.     end
  625. end
  626. function nkdbuttonclick()
  627.         nkdclr = BrickColor.new("Pastel brown")
  628.         local user = usertest.Text
  629.         for i,v in pairs(SearchPlayer(user)) do
  630.                 v.Character["Left Arm"].BrickColor = nkdclr
  631.                 v.Character["Right Arm"].BrickColor = nkdclr
  632.                 v.Character["Left Leg"].BrickColor = nkdclr
  633.                 v.Character["Right Leg"].BrickColor = nkdclr
  634.                 v.Character.Head.BrickColor = nkdclr
  635.                 v.Character.Torso.BrickColor = nkdclr
  636.                 v.Character.Head.face.Texture = nkdfc
  637.                 if v.Character.Torso.roblox then
  638.                     v.Character.Torso.roblox:Destroy()
  639.                 end
  640.                 if v.Character.Shirt then
  641.                         v.Character.Shirt:Destroy()
  642.                 end
  643.                 if v.Character.Pants then
  644.                         v.Character.Pants:Destroy()
  645.                 end
  646.                 if v.Character["Body Colors"] then
  647.                         local bc = v.Character["Body Colors"]
  648.                         bc.TorsoColor = nkdclr
  649.                         bc.LeftArmColor = nkdclr
  650.                         bc.LeftLegColor = nkdclr
  651.                         bc.RightArmColor = nkdclr
  652.                         bc.RightLegColor = nkdclr
  653.                         bc.HeadColor = nkdclr
  654.                 end
  655.                 if v.Character["Shirt Graphic"] then
  656.                         v.Character["Shirt Graphic"]:Destroy()
  657.                         v.Character.Torso.roblox:Destroy()
  658.                 end
  659.                 v.Character["Left Arm"].BrickColor = nkdclr
  660.                 v.Character["Right Arm"].BrickColor = nkdclr
  661.                 v.Character["Left Leg"].BrickColor = nkdclr
  662.                 v.Character["Right Leg"].BrickColor = nkdclr
  663.                 v.Character.Head.BrickColor = nkdclr
  664.                 v.Character.Torso.BrickColor = nkdclr
  665.                 v.Character.Head.face.Texture = nkdfc
  666.         end
  667. end
  668. function sdkclick()
  669. local user=usertest.Text
  670. for i,v in pairs(SearchPlayer(user)) do
  671.         person=v.Name
  672.         game.Players[person].Character.Head.face.Texture = nkdfc
  673.         color = "Pastel brown"
  674.         pcall(function() game.Players[person].Character["Nice thing"]:Remove() end)
  675.         D = Instance.new("Model",workspace[person])
  676.         D.Name = "Nice thing"
  677.         bg = Instance.new("BodyGyro",workspace[person].Torso)
  678.         d = Instance.new("Part")
  679.         d.TopSurface = 0
  680.         d.BottomSurface = 0
  681.         d.Name = "Main"
  682.         d.Parent = workspace[person]["Nice thing"]
  683.         d.formFactor = 3
  684.         d.Size = Vector3.new(0.6,2.5,0.6)
  685.         d.BrickColor = BrickColor.new(color)
  686.         d.Position = workspace[person].Head.Position
  687.         d.CanCollide = false
  688.         local cy = Instance.new("CylinderMesh")
  689.         cy.Parent = d
  690.         w = Instance.new("Weld")
  691.         w.Parent = workspace[person].Head
  692.         w.Part0 = d
  693.         w.Part1 = workspace[person].Head
  694.         w.C0 = CFrame.new(0,0.25,2.1)*CFrame.Angles(math.rad(45),0,0)
  695.         local c = Instance.new("Part")
  696.         c.Name = "Mush"
  697.         c.BottomSurface = 0
  698.         c.TopSurface = 0
  699.         c.FormFactor = 3
  700.         c.Size = Vector3.new(0.6,0.6,0.6)
  701.         c.CFrame = CFrame.new(d.Position)
  702.         c.BrickColor = BrickColor.new("Pink")
  703.         c.CanCollide = false
  704.         c.Parent = workspace[person]["Nice thing"]
  705.         local msm = Instance.new("SpecialMesh")
  706.         msm.Parent = c
  707.         msm.MeshType = "Sphere"
  708.         local cw = Instance.new("Weld")
  709.         cw.Parent = c
  710.         cw.Part0 = d
  711.         cw.Part1 = c
  712.         cw.C0 = CFrame.new(0,1.3,0)
  713.         local ball1 = Instance.new("Part")
  714.         ball1.Parent = workspace[person]["Nice thing"]
  715.         ball1.Name = "Left Ball"
  716.         ball1.BottomSurface = 0
  717.         ball1.TopSurface = 0
  718.         ball1.CanCollide = false
  719.         ball1.formFactor = 3
  720.         ball1.Size = Vector3.new(1,1,1)
  721.         ball1.CFrame = CFrame.new(workspace[person]["Left Leg"].Position)
  722.         ball1.BrickColor = BrickColor.new(color)
  723.         local bsm = Instance.new("SpecialMesh")
  724.         bsm.Parent = ball1
  725.         bsm.MeshType = "Sphere"
  726.         local b1w = Instance.new("Weld")
  727.         b1w.Parent = ball1
  728.         b1w.Part0 = workspace[person]["Left Leg"]
  729.         b1w.Part1 = ball1
  730.         b1w.C0 = CFrame.new(0,0.5,-.5)
  731.         local ball2 = Instance.new("Part")
  732.         ball2.Parent = workspace[person]["Nice thing"]
  733.         ball2.Name = "Right Ball"
  734.         ball2.BottomSurface = 0
  735.         ball2.CanCollide = false
  736.         ball2.TopSurface = 0
  737.         ball2.formFactor = 3
  738.         ball2.Size = Vector3.new(1,1,1)
  739.         ball2.CFrame = CFrame.new(workspace[person]["Right Leg"].Position)
  740.         ball2.BrickColor = BrickColor.new(color)
  741.         local b2sm = Instance.new("SpecialMesh")
  742.         b2sm.Parent = ball2
  743.         b2sm.MeshType = "Sphere"
  744.         local b2w = Instance.new("Weld")
  745.         b2w.Parent = ball2
  746.         b2w.Part0 = workspace[person]["Right Leg"]
  747.         b2w.Part1 = ball2
  748.         b2w.C0 = CFrame.new(0,0.5,-.5)
  749.                   while true do
  750.                                 local s = Instance.new("Part",workspace[person]["Nice thing"])
  751.                                 s.BrickColor = BrickColor.new("White")
  752.                                 s.Size = Vector3.new(1,1,1)
  753.                                 s.TopSurface = 0
  754.                                 s.BottomSurface = 0
  755.                                 s.Shape = 0
  756.                                 s.Position = workspace[person]["Nice thing"].Mush.Position
  757.             local dm = Instance.new("SpecialMesh")
  758.             dm.MeshType = "Sphere"
  759.             dm.Parent = s
  760.             dm.Scale = Vector3.new(0.2,0.2,0.2)  
  761.                                 wait(1)
  762.                         end
  763. end
  764. end
  765. function mdkclick()
  766.     local user=usertest.Text
  767.     for i,v in pairs(SearchPlayer(user)) do
  768.                     t1 = v.Character.Torso
  769.                 t1.Parent.Head.face.Texture = nkdfc
  770.                 local mdl = Instance.new("Model",t1)
  771.                 mdl.Name = "MiniDK"
  772.                 local d = Instance.new("Part")
  773.         d.TopSurface = 0
  774.         d.BottomSurface = 0
  775.                 d.CanCollide = false
  776.                 d.BrickColor = BrickColor.new("Pastel brown")
  777.                 d.Shape = "Ball"
  778.                                 d.Parent = mdl
  779.                 d.Size = Vector3.new(1,1,1)
  780.                 local dm = Instance.new("SpecialMesh")
  781.                 dm.MeshType = "Sphere"
  782.                 dm.Parent = d
  783.                 dm.Scale = Vector3.new(0.4,0.4,0.4)
  784.                 fWeld("weld",t1,t1,d,true,-0.2,-1.3,-0.6,0,0,0)
  785.                 d2 = d:Clone()
  786.                 d2.Parent = mdl
  787.                 fWeld("weld",t1,t1,d2,true,0.2,-1.3,-0.6,0,0,0)
  788.                 local c = Instance.new("Part")
  789.                 c.TopSurface = 0 c.BottomSurface = 0
  790.                 c.CanCollide = false
  791.                 c.BrickColor = BrickColor.new("Pastel brown")
  792.                 c.Parent = mdl
  793.                 c.formFactor = "Custom"
  794.                 c.Size = Vector3.new(0.4,1.3,0.4)
  795.                 cm = Instance.new("CylinderMesh")
  796.                 cm.Parent = c
  797.                 a = fWeld("weld",t1,t1,c,true,0,-1,-0.52+(-c.Size.y/2),math.rad(-80),0,0)
  798.                 c2 = d:Clone()
  799.                 c2.BrickColor = BrickColor.new("Pink")
  800.                 c2.Mesh.Scale = Vector3.new(0.4,0.62,0.4)
  801.                 c2.Parent = mdl
  802.                 fWeld("weld",c,c,c2,true,0,0+(c.Size.y/2),0,math.rad(-10),0,0)
  803.                                 local d = Instance.new("Part")
  804.                 d.TopSurface = 0
  805.                 d.BottomSurface = 0
  806.                 d.CanCollide = false
  807.                 d.BrickColor = BrickColor.new("Pastel brown")
  808.                 d.Shape = "Ball" d.Parent = mdl
  809.                 d.Size = Vector3.new(1,1,1)
  810.                 local dm = Instance.new("SpecialMesh")
  811.                 dm.MeshType = "Sphere"
  812.                 dm.Parent = d
  813.                 dm.Scale = Vector3.new(0.4,0.4,0.4)
  814.                 fWeld("weld",t1,t1,d,true,-0.2,-1.3,-0.6,0,0,0)
  815.                 d2 = d:Clone()
  816.                 d2.Parent = mdl
  817.                 fWeld("weld",t1,t1,d2,true,0.2,-1.3,-0.6,0,0,0)
  818.                 local c = Instance.new("Part")
  819.                 c.TopSurface = 0 c.BottomSurface = 0
  820.                 c.CanCollide = false
  821.                 c.BrickColor = BrickColor.new("Pastel brown")
  822.                 c.Parent = mdl
  823.                 c.formFactor = "Custom"
  824.                 c.Size = Vector3.new(0.4,1.3,0.4)
  825.                 cm = Instance.new("CylinderMesh")
  826.                 cm.Parent = c
  827.                 a = fWeld("weld",t1,t1,c,true,0,-1,-0.52+(-c.Size.y/2),math.rad(-80),0,0)
  828.                 c2 = d:Clone()
  829.                 c2.BrickColor = BrickColor.new("Pink")
  830.                 c2.Mesh.Scale = Vector3.new(0.4,0.62,0.4)
  831.                 c2.Parent = mdl
  832.                                          c2.Name = "Mush"
  833.                 fWeld("weld",c,c,c2,true,0,0+(c.Size.y/2),0,math.rad(-10),0,0)
  834.                                         while true do
  835.                                                 local s = Instance.new("Part",mdl)
  836.                                                 s.BrickColor = BrickColor.new("White")
  837.                                                 s.Size = Vector3.new(0.5,0.5,0.5)
  838.                                                 s.TopSurface = 0
  839.                                                 s.BottomSurface = 0
  840.                                                 s.Shape = 0
  841.                                                 s.Position = mdl.Mush.Position
  842.                                                 local dm = Instance.new("SpecialMesh")
  843.                                                 dm.MeshType = "Sphere"
  844.                                                 dm.Parent = s
  845.                                                 dm.Scale = Vector3.new(0.2,0.2,0.2)
  846.                                                 wait(1)
  847.                                         end
  848.     end
  849. end
  850. function kickclick()
  851.     local user=usertest.Text
  852.     for i,v in pairs(SearchPlayer(user)) do
  853.         if v ~= playa then
  854.             v:Remove()
  855.         end
  856.     end
  857. end
  858. function banclick()
  859.     local user=usertest.Text
  860.     for i,v in pairs(SearchPlayer(user)) do
  861.         if v ~= playa then
  862.             v:Remove()
  863.             table.insert(banlist,v)
  864.         end
  865.     end
  866. end
  867. function hdkclick()
  868. local user=usertest.Text
  869. for i,v in pairs(SearchPlayer(user)) do
  870.         person=v.Name
  871.         color = "Pastel brown"
  872.         v.Character.Head.face.Texture = nkdfc
  873.         pcall(function() v.Character["Nice thing"]:Remove() end)
  874.         D = Instance.new("Model",workspace[person])
  875.         D.Name = "Nice thing"
  876.         bg = Instance.new("BodyGyro",workspace[person].Torso)
  877.         d = Instance.new("Part")
  878.         d.TopSurface = 0
  879.         d.BottomSurface = 0
  880.         d.Name = "Main"
  881.         d.Parent = workspace[person]["Nice thing"]
  882.         d.formFactor = 3
  883.         d.Size = Vector3.new(1.5,4,1.5)
  884.         d.BrickColor = BrickColor.new(color)
  885.         d.Position = workspace[person].Head.Position
  886.         d.CanCollide = false
  887.         local cy = Instance.new("CylinderMesh")
  888.         cy.Parent = d
  889.         w = Instance.new("Weld")
  890.         w.Parent = workspace[person].Head
  891.         w.Part0 = d
  892.         w.Part1 = workspace[person].Head
  893.         w.C0 = CFrame.new(0,0.25,2.1)*CFrame.Angles(math.rad(45),0,0)
  894.         local c = Instance.new("Part")
  895.         c.Name = "Mush"
  896.         c.BottomSurface = 0
  897.         c.TopSurface = 0
  898.         c.FormFactor = 3
  899.         c.Size = Vector3.new(1.6,1.6,1.6)
  900.         c.CFrame = CFrame.new(d.Position)
  901.         c.BrickColor = BrickColor.new("Pink")
  902.         c.CanCollide = false
  903.         c.Parent = workspace[person]["Nice thing"]
  904.         local msm = Instance.new("SpecialMesh")
  905.         msm.Parent = c
  906.         msm.MeshType = "Sphere"
  907.         local cw = Instance.new("Weld")
  908.         cw.Parent = c
  909.         cw.Part0 = d
  910.         cw.Part1 = c
  911.         cw.C0 = CFrame.new(0,1.8,0)
  912.         local ball1 = Instance.new("Part")
  913.         ball1.Parent = workspace[person]["Nice thing"]
  914.         ball1.Name = "Left Ball"
  915.         ball1.BottomSurface = 0
  916.         ball1.TopSurface = 0
  917.         ball1.CanCollide = false
  918.         ball1.formFactor = 3
  919.         ball1.Size = Vector3.new(1.5,1.5,1.5)
  920.         ball1.CFrame = CFrame.new(workspace[person]["Left Leg"].Position)
  921.         ball1.BrickColor = BrickColor.new(color)
  922.         local bsm = Instance.new("SpecialMesh")
  923.         bsm.Parent = ball1
  924.         bsm.MeshType = "Sphere"
  925.         local b1w = Instance.new("Weld")
  926.         b1w.Parent = ball1
  927.         b1w.Part0 = workspace[person]["Left Leg"]
  928.         b1w.Part1 = ball1
  929.         b1w.C0 = CFrame.new(0,0.5,-1)
  930.         local ball2 = Instance.new("Part")
  931.         ball2.Parent = workspace[person]["Nice thing"]
  932.         ball2.Name = "Right Ball"
  933.         ball2.BottomSurface = 0
  934.         ball2.CanCollide = false
  935.         ball2.TopSurface = 0
  936.         ball2.formFactor = 3
  937.         ball2.Size = Vector3.new(1.5,1.5,1.5)
  938.         ball2.CFrame = CFrame.new(workspace[person]["Right Leg"].Position)
  939.         ball2.BrickColor = BrickColor.new(color)
  940.         local b2sm = Instance.new("SpecialMesh")
  941.         b2sm.Parent = ball2
  942.         b2sm.MeshType = "Sphere"
  943.         local b2w = Instance.new("Weld")
  944.         b2w.Parent = ball2
  945.         b2w.Part0 = workspace[person]["Right Leg"]
  946.         b2w.Part1 = ball2
  947.         b2w.C0 = CFrame.new(0,0.5,-1)
  948. me = game.Workspace[person]
  949. ls = me.Torso["Left Shoulder"]
  950. rs = me.Torso["Right Shoulder"]
  951. an = me:FindFirstChild("Animate")
  952. cf = CFrame.new
  953. cfa = CFrame.Angles
  954. if an then
  955. an:Remove()
  956. end
  957. for i = 1, 50 do
  958. ls.C0 = ls.C0 * cf(0,0,0) * cfa(0,math.rad(-1),math.rad(-1))
  959. rs.C0 = rs.C0 * cf(0,0,0) * cfa(0,math.rad(1),math.rad(1))
  960. wait(0.015)
  961. end
  962.                   while true do
  963. for i = 1, 45 do
  964. ls.C0 = ls.C0 * cf(0,0,0) * cfa(0,math.rad(-1),math.rad(-1))
  965. rs.C0 = rs.C0 * cf(0,0,0) * cfa(0,math.rad(1),math.rad(1))
  966. wait(0.000055)
  967. end
  968. for i = 1, 45 do
  969. ls.C0 = ls.C0 * cf(0,0,0) * cfa(0,math.rad(1),math.rad(1))
  970. rs.C0 = rs.C0 * cf(0,0,0) * cfa(0,math.rad(-1),math.rad(-1))
  971. wait(0.000055)
  972. end
  973. wait(0.000055)
  974.                         end
  975. end
  976. end
  977. function Status(player)
  978.     for i,v in pairs(banlist) do
  979.         if game.Players[v.Name] == game.Players[player.Name] then
  980.             player:Remove()
  981.         end
  982.     end
  983. end
  984. local Anchored = true
  985. local Base = Instance.new("Part")
  986. Base.Name = "Trunk"
  987. Base.formFactor = "Custom"
  988. Base.TopSurface = 0
  989. Base.BottomSurface = 0
  990. Base.Anchored = true
  991. Base.BrickColor = BrickColor.new("Pastel brown")
  992. local Leaves = Base:Clone()
  993. Leaves.Name = "Leaves"
  994. Leaves.CanCollide = false
  995. Leaves.BrickColor = BrickColor.new("Pink")
  996. local leafmesh = Instance.new("SpecialMesh")
  997. --[[leafmesh.MeshType = "FileMesh"
  998. leafmesh.MeshId = "http://www.roblox.com/asset/?id=1290033"
  999. leafmesh.TextureId = "http://www.roblox.com/asset/?id=2861779" ]]--
  1000. leafmesh.Parent = Leaves
  1001. leafmesh.Scale = Vector3.new(0.5, 0.5, 0.5)
  1002. local basemesh = Instance.new("CylinderMesh",Base)
  1003. local function Weld(x,y)
  1004.         local weld = Instance.new("Weld")
  1005.         weld.Part0 = x
  1006.         weld.Part1 = y
  1007.         local CJ = CFrame.new(x.Position)
  1008.         weld.C0 = x.CFrame:inverse() * CJ
  1009.         weld.C1 = y.CFrame:inverse() * CJ
  1010.         weld.Parent = x
  1011. end
  1012. -- get dot product of yz angles
  1013. local function dot(c1,c2)
  1014.         local m = CFrame.Angles(math.pi/2,0,0)
  1015.         return (c1*m).lookVector:Dot((c2*m).lookVector)
  1016. end
  1017. -- multiplier for various sizes of foliage
  1018. local leaf_mult = {
  1019.         Vector3.new(1.5,1.5,1.2);
  1020.         Vector3.new(1.5,1,1.5);
  1021.         Vector3.new(1.2,1.5,1.5);
  1022.         Vector3.new(1.5,1.5,1.5);
  1023. }
  1024. local function Branch(base,c)
  1025.         if c <= 0 then
  1026.                 -- if the complexity has run out, generate some foliage
  1027.                 local leaves = Leaves:Clone()
  1028.                 local vol = base.Size.x+base.Size.y+base.Size.z -- determine size based on branch size
  1029.                 leaves.Mesh.Scale = leaf_mult[math.random(1,#leaf_mult)]*math.random(2,4)/2
  1030.                 leaves.Size = leaves.Mesh.Scale*0.75
  1031.                 leaves.CFrame = base.CFrame * CFrame.new(0,base.Size.y/2,0) -- center foliage at top of branch
  1032.                 leaves.Parent = base.Parent
  1033.                 if not Anchored then
  1034.                         Weld(leaves,base)
  1035.                         leaves.Anchored = false
  1036.                 end
  1037.         else
  1038.                 -- otherwise, make some more branches
  1039.                 local pos = base.CFrame*CFrame.new(0,base.Size/2,0)
  1040.                 local height = base.Size.y
  1041.                 local width = base.Size.x
  1042.                 local nb = math.random(2,2) -- # of possible branches (2 seems to work fine for now)
  1043.                 local r = math.random(45,135) -- rotation of branches on y axis
  1044.                 -- branch split angle difference
  1045.                 -- the less complexity, the greater the possible angle
  1046.                 -- minimum: 20-75; maximum: 40-80
  1047.                 local da = math.random(20+55/c,40+40/c)
  1048.                 -- branch angle (overall angle of all branches)
  1049.                 local ba = math.random(-da/3,da/3)
  1050.                 -- ba+da/2 shouldn't be near or greater than 90 degrees
  1051.                 for i=0,nb-1 do -- for each branch
  1052.                         local branch = base:Clone()
  1053.                         branch.Name = "Branch"
  1054.                         local h = height*math.random(95,1015)/100 -- height .95 to 1.015 of original
  1055.                         -- make new cframe
  1056.                         -- move new to top of base, then apply branch angle (ba)
  1057.                         local new = branch.CFrame * CFrame.new(0,height/2,0) * CFrame.Angles(0,0,math.rad(ba))
  1058.                         -- next, rotate branch so that it faces away from others, also apply overall rotation (r)
  1059.                         -- also, apply the split angle (da)
  1060.                         -- finally, move branch upward by half it's size
  1061.                         new = new * CFrame.Angles(0,i*(math.pi*2/nb)+r,math.rad(da/2)) * CFrame.new(0,h/2,0)
  1062.                         -- determine width by branch's final angle; greater the angle, smaller the width
  1063.                         -- also shave off a bit of width for more dramatic change in size
  1064.                         -- a frustum cone mesh would really help here
  1065.                         local w = dot(new,branch.CFrame)*width*0.9
  1066.                         branch.Size = Vector3.new(w,h,w)
  1067.                         branch.CFrame = new
  1068.                         branch.Parent = base.Parent
  1069.                         if not Anchored then
  1070.                                 Weld(branch,base)
  1071.                                 branch.Anchored = false
  1072.                         end
  1073.                         -- create the next set of branches with one less complexity
  1074.                         Branch(branch,c-1)
  1075.                 end
  1076.         end
  1077. --        wait()        -- uncomment to generate slower
  1078. end
  1079. -- Main Function ----------------
  1080. function GenerateTree(location,complexity,width,height,anchor)
  1081. print(","..complexity..","..width..","..height)
  1082.         local tree = Instance.new("Model")
  1083.         tree.Name = "Tree"
  1084.         tree.Parent = workspace
  1085.         local base = Base:Clone()
  1086.         base.Parent = tree
  1087.         base.Size = Vector3.new(width,height,width)
  1088.         -- move up by half its height, and rotate randomly
  1089.         base.CFrame = CFrame.new(location) * CFrame.new(0,height/2,0) * CFrame.Angles(0,math.rad(math.random(1,360)),0)
  1090.         -- start branching
  1091.         if not Anchored then
  1092.                 Weld(base,anchor)
  1093.                 base.Anchored = false
  1094.         end
  1095.         Branch(base,complexity)
  1096.         return tree
  1097. end
  1098. function dtrclick()
  1099.     local user=usertest.Text
  1100.     for i,v in pairs(SearchPlayer(user)) do
  1101.         for c,b in pairs(v.Character:children()) do
  1102.            if b.ClassName == "Part" then
  1103.                 b.Anchored = true
  1104.                 b.Transparency = 1
  1105.            end
  1106.         end
  1107.         GenerateTree(v.Character.Torso.Position-Vector3.new(0,3,0),4,3,7,v.Character.Torso)
  1108.     end
  1109. end
  1110. function sbjclick()
  1111.     local user=usertest.Text
  1112.     for i,v in pairs(SearchPlayer(user)) do
  1113.         person = v.Name
  1114.         color = "Pastel brown"
  1115.                   repeat wait() until workspace[person]
  1116.                 workspace[person].Head.face.Texture = nkdfc
  1117.         pcall(function() game.Players[person].Character["Nice thing"]:Remove() end)
  1118.         D = Instance.new("Model",workspace[person])
  1119.         D.Name = "Nice thing"
  1120.         bg = Instance.new("BodyGyro",workspace[person].Torso)
  1121.         d = Instance.new("Part")
  1122.         d.TopSurface = 0
  1123.         d.BottomSurface = 0
  1124.         d.Name = "Main"
  1125.         d.Parent = workspace[person]["Nice thing"]
  1126.         d.formFactor = 3
  1127.         d.Size = Vector3.new(1,1,1)
  1128.         d.BrickColor = BrickColor.new(color)
  1129.         d.Position = workspace[person].Head.Position
  1130.         d.CanCollide = false
  1131.         local cy = Instance.new("CylinderMesh")
  1132.         cy.Parent = d
  1133.                   cy.Scale = Vector3.new(0.3,1,0.3)
  1134.         w = Instance.new("Weld")
  1135.         w.Parent = workspace[person].Head
  1136.         w.Part0 = d
  1137.         w.Part1 = workspace[person].Head
  1138.         w.C0 = CFrame.new(0,0.5,2.3)*CFrame.Angles(math.rad(55),0,0)
  1139.         local c = Instance.new("Part")
  1140.         c.Name = "Mush"
  1141.         c.BottomSurface = 0
  1142.         c.TopSurface = 0
  1143.         c.FormFactor = 3
  1144.         c.Size = Vector3.new(1,1,1)
  1145.         c.CFrame = CFrame.new(d.Position)
  1146.         c.BrickColor = BrickColor.new(color)
  1147.         c.CanCollide = false
  1148.         c.Parent = workspace[person]["Nice thing"]
  1149.         local msm = Instance.new("CylinderMesh")
  1150.         msm.Parent = c
  1151.                   msm.Scale = Vector3.new(0.3,1,0.3)
  1152.         local cw = Instance.new("Weld")
  1153.         cw.Parent = c
  1154.         cw.Part0 = d
  1155.         cw.Part1 = c
  1156.         cw.C0 = CFrame.new(0,0.78,0.3)*CFrame.Angles(math.rad(45),0,0)
  1157.         local c = Instance.new("Part")
  1158.         c.Name = "Mush"
  1159.         c.BottomSurface = 0
  1160.         c.TopSurface = 0
  1161.         c.FormFactor = 3
  1162.         c.Size = Vector3.new(1,1,1)
  1163.         c.CFrame = CFrame.new(d.Position)
  1164.         c.BrickColor = BrickColor.new(color)
  1165.         c.CanCollide = false
  1166.         c.Parent = workspace[person]["Nice thing"]
  1167.         local msm = Instance.new("CylinderMesh")
  1168.         msm.Parent = c
  1169.                   msm.Scale = Vector3.new(0.3,1,0.3)
  1170.         local cw = Instance.new("Weld")
  1171.         cw.Parent = c
  1172.         cw.Part0 = d
  1173.         cw.Part1 = c
  1174.         cw.C0 = CFrame.new(0,1.1,1.1)*CFrame.Angles(math.rad(90),0,0)
  1175.         local c = Instance.new("Part")
  1176.         c.Name = "Mush"
  1177.         c.BottomSurface = 0
  1178.         c.TopSurface = 0
  1179.         c.FormFactor = 3
  1180.         c.Size = Vector3.new(1,1,1)
  1181.         c.CFrame = CFrame.new(d.Position)
  1182.         c.BrickColor = BrickColor.new(color)
  1183.         c.CanCollide = false
  1184.         c.Parent = workspace[person]["Nice thing"]
  1185.         local msm = Instance.new("CylinderMesh")
  1186.         msm.Parent = c
  1187.                   msm.Scale = Vector3.new(0.3,0.5,0.3)
  1188.         local cw = Instance.new("Weld")
  1189.         cw.Parent = c
  1190.         cw.Part0 = d
  1191.         cw.Part1 = c
  1192.         cw.C0 = CFrame.new(0,0.97,1.7)*CFrame.Angles(math.rad(140),0,0)
  1193.         local c = Instance.new("Part")
  1194.         c.Name = "Mush"
  1195.         c.BottomSurface = 0
  1196.         c.TopSurface = 0
  1197.         c.FormFactor = 3
  1198.         c.Size = Vector3.new(1,1,1)
  1199.         c.CFrame = CFrame.new(d.Position)
  1200.         c.BrickColor = BrickColor.new("Pink")
  1201.         c.CanCollide = false
  1202.         c.Parent = workspace[person]["Nice thing"]
  1203.         local msm = Instance.new("SpecialMesh")
  1204.                   msm.Scale = Vector3.new(0.4,0.4,0.4)
  1205.         msm.Parent = c
  1206.         local cw = Instance.new("Weld")
  1207.         cw.Parent = c
  1208.         cw.Part0 = d
  1209.         cw.Part1 = c
  1210.         cw.C0 = CFrame.new(0,1,1.75)*CFrame.Angles(math.rad(140),0,0)
  1211.         local ball1 = Instance.new("Part")
  1212.         ball1.Parent = workspace[person]["Nice thing"]
  1213.         ball1.Name = "Left Ball"
  1214.         ball1.BottomSurface = 0
  1215.         ball1.TopSurface = 0
  1216.         ball1.CanCollide = false
  1217.         ball1.formFactor = 3
  1218.         ball1.Size = Vector3.new(1.5,1.5,1.5)
  1219.         ball1.CFrame = CFrame.new(workspace[person]["Left Leg"].Position)
  1220.         ball1.BrickColor = BrickColor.new(color)
  1221.         local bsm = Instance.new("SpecialMesh")
  1222.         bsm.Parent = ball1
  1223.         bsm.MeshType = "Sphere"
  1224.                   bsm.Scale = Vector3.new(0.3,0.3,0.3)
  1225.         local b1w = Instance.new("Weld")
  1226.         b1w.Parent = ball1
  1227.         b1w.Part0 = workspace[person]["Left Leg"]
  1228.         b1w.Part1 = ball1
  1229.         b1w.C0 = CFrame.new(0.3,1,-0.6)
  1230.         local ball2 = Instance.new("Part")
  1231.         ball2.Parent = workspace[person]["Nice thing"]
  1232.         ball2.Name = "Right Ball"
  1233.         ball2.BottomSurface = 0
  1234.         ball2.CanCollide = false
  1235.         ball2.TopSurface = 0
  1236.         ball2.formFactor = 3
  1237.         ball2.Size = Vector3.new(1.5,1.5,1.5)
  1238.         ball2.CFrame = CFrame.new(workspace[person]["Right Leg"].Position)
  1239.         ball2.BrickColor = BrickColor.new(color)
  1240.         local b2sm = Instance.new("SpecialMesh")
  1241.         b2sm.Parent = ball2
  1242.         b2sm.MeshType = "Sphere"
  1243.                   b2sm.Scale = Vector3.new(0.3,0.3,0.3)
  1244.         local b2w = Instance.new("Weld")
  1245.         b2w.Parent = ball2
  1246.         b2w.Part0 = workspace[person]["Right Leg"]
  1247.         b2w.Part1 = ball2
  1248.         b2w.C0 = CFrame.new(-0.3,1,-0.6)
  1249. ls = workspace[person].Torso["Left Shoulder"]
  1250. rs = workspace[person].Torso["Right Shoulder"]
  1251. an = workspace[person]:FindFirstChild("Animate")
  1252. cf = CFrame.new
  1253. cfa = CFrame.Angles
  1254. if an then
  1255. an:Remove()
  1256. end
  1257. for i = 1, 50 do
  1258. ls.C0 = ls.C0 * cf(0,0,0) * cfa(0,math.rad(-2),math.rad(-1))
  1259. rs.C0 = rs.C0 * cf(0,0,0) * cfa(0,math.rad(1),math.rad(2))
  1260. wait(0.015)
  1261. end
  1262.                   while true do
  1263.                                 local s = Instance.new("Part",workspace[person]["Nice thing"])
  1264.                                 s.Size = Vector3.new(1,1,1)
  1265.                                 s.CFrame = CFrame.new(d.Position)
  1266.                            s.Name = "Sp3rm"
  1267.                                 s.Shape = 0
  1268.                                 s.BrickColor = BrickColor.new("White")
  1269.                                 local sm = Instance.new("SpecialMesh",s)
  1270.                                 sm.Scale = Vector3.new(0.2,0.2,0.2)        
  1271.                                 sm.MeshType = "Sphere"
  1272.                                 wait(1)
  1273.                   end
  1274.     end
  1275. end
  1276. function nclick()
  1277.         local user=usertest.Text
  1278.         local name=twuser.Text
  1279.         for i,v in pairs(SearchPlayer(user)) do
  1280.                 for c,b in pairs(SearchPlayer(name)) do
  1281.                         v.CharacterAppearance = b.CharacterAppearance
  1282.                         v.Character:BreakJoints()
  1283.                 end
  1284.         end
  1285. end
  1286. msg.MouseButton1Click:connect(msgclick)
  1287. kbutton.MouseButton1Click:connect(kbuttonclick)
  1288. ttbutton.MouseButton1Click:connect(ttbuttonclick)
  1289. nkdbutton.MouseButton1Click:connect(nkdbuttonclick)
  1290. tw.MouseButton1Click:connect(twclick)
  1291. dkbutton.MouseButton1Click:connect(dkclick)
  1292. sdkbutton.MouseButton1Click:connect(sdkclick)
  1293. mdkbutton.MouseButton1Click:connect(mdkclick)
  1294. hdkbutton.MouseButton1Click:connect(hdkclick)
  1295. godbutton.MouseButton1Click:connect(godclick)
  1296. kick.MouseButton1Click:connect(kickclick)
  1297. ban.MouseButton1Click:connect(banclick)
  1298. dtr.MouseButton1Click:connect(dtrclick)
  1299. sbj.MouseButton1Click:connect(sbjclick)
  1300. n.MouseButton1Click:connect(nclick)
  1301. c.MouseButton1Click:connect(cawm)
  1302. game.Players.PlayerAdded:connect(Status)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement