Advertisement
ANDILOL

Untitled

Jul 11th, 2019
117
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 23.31 KB | None | 0 0
  1. local LandArt = Instance.new("ScreenGui")
  2. local Main = Instance.new("ImageLabel")
  3. local Bar = Instance.new("ImageLabel")
  4. local Tab = Instance.new("ImageButton")
  5. local Title = Instance.new("TextLabel")
  6. local Box = Instance.new("ScrollingFrame")
  7. local back = Instance.new("ImageLabel")
  8. local Swastika = Instance.new("TextButton")
  9. local back_2 = Instance.new("ImageLabel")
  10. local Penis = Instance.new("TextButton")
  11. local back_3 = Instance.new("ImageLabel")
  12. local Cru = Instance.new("TextButton")
  13. local back_4 = Instance.new("ImageLabel")
  14. local Cross = Instance.new("TextButton")
  15. local back_5 = Instance.new("ImageLabel")
  16. local Target = Instance.new("TextButton")
  17. local back_6 = Instance.new("ImageLabel")
  18. local Sword = Instance.new("TextButton")
  19.  
  20. local dragging
  21. local dragInput
  22. local dragStart
  23. local startPos
  24.  
  25. local function update(input)
  26. local delta = input.Position - dragStart
  27. Main:TweenPosition(UDim2.new(startPos.X.Scale, startPos.X.Offset + delta.X, startPos.Y.Scale, startPos.Y.Offset + delta.Y),'Out','Linear',0.08,true)
  28. end
  29. Bar.InputBegan:Connect(function(input)
  30. if input.UserInputType == Enum.UserInputType.MouseButton1 then
  31. dragging = true
  32. dragStart = input.Position
  33. startPos = Main.Position
  34.  
  35. repeat wait() until input.UserInputState == Enum.UserInputState.End
  36. dragging = false
  37. end
  38. end)
  39. Bar.InputChanged:Connect(function(input)
  40. if input.UserInputType == Enum.UserInputType.MouseMovement then
  41. dragInput = input
  42. end
  43. end)
  44. game:GetService("UserInputService").InputChanged:Connect(function(input)
  45. if input == dragInput and dragging then
  46. update(input)
  47. end
  48. end)
  49.  
  50. local newtween = function(obj,props,speed,...)
  51. local info = TweenInfo.new(speed,...);
  52. local tween = game:GetService("TweenService"):Create(obj,info,props);
  53. return tween:Play();
  54. end;
  55.  
  56. LandArt.Name = "LandArt"
  57. LandArt.Parent = game.CoreGui
  58.  
  59. Main.Name = "Main"
  60. Main.Parent = LandArt
  61. Main.BackgroundColor3 = Color3.new(1, 1, 1)
  62. Main.BackgroundTransparency = 1
  63. Main.BorderSizePixel = 0
  64. Main.ClipsDescendants = true
  65. Main.Position = UDim2.new(0.42480886, 0, 0.164619163, 0)
  66. Main.Size = UDim2.new(0, 176, 0, 201)
  67. Main.Image = "rbxassetid://3448254722"
  68. Main.ImageColor3 = Color3.new(0.937255, 0.937255, 0.937255)
  69. Main.ScaleType = Enum.ScaleType.Slice
  70. Main.SliceCenter = Rect.new(16, 16, 284, 284)
  71.  
  72. Bar.Name = "Bar"
  73. Bar.Parent = Main
  74. Bar.BackgroundColor3 = Color3.new(0.341176, 0.294118, 1)
  75. Bar.BackgroundTransparency = 1
  76. Bar.BorderSizePixel = 0
  77. Bar.Position = UDim2.new(0, 0, 0, -1)
  78. Bar.Size = UDim2.new(1, 0, 0, 40)
  79. Bar.Image = "rbxassetid://3448498647"
  80. Bar.ImageColor3 = Color3.new(1, 0.631373, 0.486275)
  81. Bar.ScaleType = Enum.ScaleType.Slice
  82. Bar.SliceCenter = Rect.new(16, 16, 284, 284)
  83.  
  84. Tab.Name = "Tab"
  85. Tab.Parent = Bar
  86. Tab.BackgroundColor3 = Color3.new(1, 1, 1)
  87. Tab.BackgroundTransparency = 1
  88. Tab.BorderSizePixel = 0
  89. Tab.Position = UDim2.new(0.781000018, 0, 0.170000002, 0)
  90. Tab.Size = UDim2.new(0, 30, 0, 30)
  91. Tab.Image = "rbxassetid://3443997946"
  92.  
  93. Title.Name = "Title"
  94. Title.Parent = Bar
  95. Title.BackgroundColor3 = Color3.new(1, 1, 1)
  96. Title.BackgroundTransparency = 1
  97. Title.BorderSizePixel = 0
  98. Title.Position = UDim2.new(0.0454545543, 0, 0, 0)
  99. Title.Size = UDim2.new(0.501231134, 0, 1, 0)
  100. Title.Font = Enum.Font.GothamSemibold
  101. Title.Text = "Preset Art"
  102. Title.TextColor3 = Color3.new(1, 1, 1)
  103. Title.TextSize = 16
  104.  
  105. Box.Name = "Box"
  106. Box.Parent = Main
  107. Box.BackgroundColor3 = Color3.new(1, 1, 1)
  108. Box.BackgroundTransparency = 0.99000000953674
  109. Box.BorderSizePixel = 0
  110. Box.Position = UDim2.new(0, 9,0, 42)
  111. Box.Selectable = false
  112. Box.Size = UDim2.new(0, 160,0, 153)
  113. Box.CanvasSize = UDim2.new(0, 0, 1.24000001, 0)
  114. Box.ScrollBarThickness = 0
  115. Box.ZIndex = 2
  116. Box.ClipsDescendants = true
  117.  
  118. back.Name = "back"
  119. back.Parent = Box
  120. back.BackgroundColor3 = Color3.new(1, 1, 1)
  121. back.BackgroundTransparency = 1
  122. back.BorderSizePixel = 0
  123. back.Size = UDim2.new(0, 158, 0, 38)
  124. back.Image = "rbxassetid://3448875532"
  125. back.ImageColor3 = Color3.new(1, 0.631373, 0.486275)
  126. back.ScaleType = Enum.ScaleType.Slice
  127. back.SliceCenter = Rect.new(10, 10, 290, 290)
  128.  
  129. Swastika.Name = "Swastika"
  130. Swastika.Parent = back
  131. Swastika.BackgroundColor3 = Color3.new(1, 1, 1)
  132. Swastika.BackgroundTransparency = 1
  133. Swastika.BorderSizePixel = 0
  134. Swastika.Size = UDim2.new(0, 158, 0, 38)
  135. Swastika.Font = Enum.Font.GothamSemibold
  136. Swastika.Text = "Swastika"
  137. Swastika.TextColor3 = Color3.new(1, 1, 1)
  138. Swastika.TextSize = 16
  139.  
  140. back_2.Name = "back"
  141. back_2.Parent = Box
  142. back_2.BackgroundColor3 = Color3.new(1, 1, 1)
  143. back_2.BackgroundTransparency = 1
  144. back_2.BorderSizePixel = 0
  145. back_2.Position = UDim2.new(0, 0, 0, 42)
  146. back_2.Size = UDim2.new(0, 158, 0, 38)
  147. back_2.Image = "rbxassetid://3448875532"
  148. back_2.ImageColor3 = Color3.new(1, 0.631373, 0.486275)
  149. back_2.ScaleType = Enum.ScaleType.Slice
  150. back_2.SliceCenter = Rect.new(10, 10, 290, 290)
  151.  
  152. Penis.Name = "Penis"
  153. Penis.Parent = back_2
  154. Penis.BackgroundColor3 = Color3.new(1, 1, 1)
  155. Penis.BackgroundTransparency = 1
  156. Penis.BorderSizePixel = 0
  157. Penis.Size = UDim2.new(0, 158, 0, 38)
  158. Penis.Font = Enum.Font.GothamSemibold
  159. Penis.Text = "Penis"
  160. Penis.TextColor3 = Color3.new(1, 1, 1)
  161. Penis.TextSize = 16
  162.  
  163. back_3.Name = "back"
  164. back_3.Parent = Box
  165. back_3.BackgroundColor3 = Color3.new(1, 1, 1)
  166. back_3.BackgroundTransparency = 1
  167. back_3.BorderSizePixel = 0
  168. back_3.Position = UDim2.new(0, 0, 0, 84)
  169. back_3.Size = UDim2.new(0, 158, 0, 38)
  170. back_3.Image = "rbxassetid://3448875532"
  171. back_3.ImageColor3 = Color3.new(1, 0.631373, 0.486275)
  172. back_3.ScaleType = Enum.ScaleType.Slice
  173. back_3.SliceCenter = Rect.new(10, 10, 290, 290)
  174.  
  175. Cru.Name = "Cru"
  176. Cru.Parent = back_3
  177. Cru.BackgroundColor3 = Color3.new(1, 1, 1)
  178. Cru.BackgroundTransparency = 1
  179. Cru.BorderSizePixel = 0
  180. Cru.Size = UDim2.new(0, 158, 0, 38)
  181. Cru.Font = Enum.Font.GothamSemibold
  182. Cru.Text = "Crucifix"
  183. Cru.TextColor3 = Color3.new(1, 1, 1)
  184. Cru.TextSize = 16
  185.  
  186. back_4.Name = "back"
  187. back_4.Parent = Box
  188. back_4.BackgroundColor3 = Color3.new(1, 1, 1)
  189. back_4.BackgroundTransparency = 1
  190. back_4.BorderSizePixel = 0
  191. back_4.Position = UDim2.new(0, 0, 0, 126)
  192. back_4.Size = UDim2.new(0, 158, 0, 38)
  193. back_4.Image = "rbxassetid://3448875532"
  194. back_4.ImageColor3 = Color3.new(1, 0.631373, 0.486275)
  195. back_4.ScaleType = Enum.ScaleType.Slice
  196. back_4.SliceCenter = Rect.new(10, 10, 290, 290)
  197.  
  198. Cross.Name = "Cross"
  199. Cross.Parent = back_4
  200. Cross.BackgroundColor3 = Color3.new(1, 1, 1)
  201. Cross.BackgroundTransparency = 1
  202. Cross.BorderSizePixel = 0
  203. Cross.Size = UDim2.new(0, 158, 0, 38)
  204. Cross.Font = Enum.Font.GothamSemibold
  205. Cross.Text = "Corss (X)"
  206. Cross.TextColor3 = Color3.new(1, 1, 1)
  207. Cross.TextSize = 16
  208.  
  209. back_5.Name = "back"
  210. back_5.Parent = Box
  211. back_5.BackgroundColor3 = Color3.new(1, 1, 1)
  212. back_5.BackgroundTransparency = 1
  213. back_5.BorderSizePixel = 0
  214. back_5.Position = UDim2.new(0, 0, 0, 168)
  215. back_5.Size = UDim2.new(0, 158, 0, 38)
  216. back_5.Image = "rbxassetid://3448875532"
  217. back_5.ImageColor3 = Color3.new(1, 0.631373, 0.486275)
  218. back_5.ScaleType = Enum.ScaleType.Slice
  219. back_5.SliceCenter = Rect.new(10, 10, 290, 290)
  220.  
  221. Target.Name = "Target"
  222. Target.Parent = back_5
  223. Target.BackgroundColor3 = Color3.new(1, 1, 1)
  224. Target.BackgroundTransparency = 1
  225. Target.BorderSizePixel = 0
  226. Target.Size = UDim2.new(0, 158, 0, 38)
  227. Target.Font = Enum.Font.GothamSemibold
  228. Target.Text = "Target"
  229. Target.TextColor3 = Color3.new(1, 1, 1)
  230. Target.TextSize = 16
  231.  
  232. back_6.Name = "back"
  233. back_6.Parent = Box
  234. back_6.BackgroundColor3 = Color3.new(1, 1, 1)
  235. back_6.BackgroundTransparency = 1
  236. back_6.BorderSizePixel = 0
  237. back_6.Position = UDim2.new(0, 0, 0, 210)
  238. back_6.Size = UDim2.new(0, 158, 0, 38)
  239. back_6.Image = "rbxassetid://3448875532"
  240. back_6.ImageColor3 = Color3.new(1, 0.631373, 0.486275)
  241. back_6.ScaleType = Enum.ScaleType.Slice
  242. back_6.SliceCenter = Rect.new(10, 10, 290, 290)
  243.  
  244. Sword.Name = "Sword"
  245. Sword.Parent = back_6
  246. Sword.BackgroundColor3 = Color3.new(1, 1, 1)
  247. Sword.BackgroundTransparency = 1
  248. Sword.BorderSizePixel = 0
  249. Sword.Size = UDim2.new(0, 158, 0, 38)
  250. Sword.Font = Enum.Font.GothamSemibold
  251. Sword.Text = "Sword"
  252. Sword.TextColor3 = Color3.new(1, 1, 1)
  253. Sword.TextSize = 16
  254.  
  255. -- tab button
  256.  
  257. local active = true
  258.  
  259.  
  260. Tab.MouseButton1Down:connect(function()
  261. if active then
  262. Main:TweenSize(UDim2.new(0,176,0,83), Enum.EasingDirection.In, Enum.EasingStyle.Sine, 0.3,true);
  263. Box.CanvasPosition = Vector2.new(0,0)
  264. for i = 1,6 do
  265. wait()
  266. Tab.Rotation = Tab.Rotation + 30
  267. end
  268. active = false
  269. else
  270. Main:TweenSize(UDim2.new(0,176,0,201), Enum.EasingDirection.In, Enum.EasingStyle.Sine, 0.3,true);
  271. for i = 1,6 do
  272. wait()
  273. Tab.Rotation = Tab.Rotation - 30
  274. end
  275. active = true
  276. end
  277. end)
  278.  
  279. --fade buttons
  280.  
  281. Swastika.MouseEnter:connect(function()
  282. newtween(back,{ImageColor3 = Color3.fromRGB(255,255,255)},0.3,Enum.EasingStyle.Sine,Enum.EasingDirection.In);
  283. newtween(Swastika,{TextColor3 = Color3.fromRGB(255,164,124)},0.3,Enum.EasingStyle.Sine,Enum.EasingDirection.In);
  284. end)
  285. Swastika.MouseButton1Down:connect(function()
  286. newtween(back,{ImageColor3 = Color3.fromRGB(230,230,230)},0.3,Enum.EasingStyle.Sine,Enum.EasingDirection.In);
  287. newtween(Swastika,{TextColor3 = Color3.fromRGB(255,161,124)},0.3,Enum.EasingStyle.Sine,Enum.EasingDirection.In);
  288. local Property;
  289. for _,UserProperty in pairs(workspace.Properties:GetChildren()) do
  290. if not UserProperty.Owner.Value then
  291. Property=UserProperty
  292. break
  293. end
  294. end
  295. game.Players.LocalPlayer.Character:MoveTo(Property.OriginSquare.Position)
  296. game.ReplicatedStorage.PropertyPurchasing.ClientPurchasedProperty:FireServer(Property,Property.OriginSquare.Position)
  297. wait(0.5)
  298. for __ba,a_ba in
  299. pairs(game:GetService("Workspace").Properties:GetChildren())do
  300. if a_ba:FindFirstChild("Owner")and
  301. a_ba.Owner.Value == game.Players.LocalPlayer then base=a_ba;square = a_ba.OriginSquare end end
  302. function makebase(__ba)
  303. local a_ba = game:GetService("ReplicatedStorage").PropertyPurchasing.ClientExpandedProperty;a_ba:FireServer(base,__ba)end;spos=square.Position
  304. makebase(CFrame.new(spos.X+40,spos.Y,spos.Z))
  305. makebase(CFrame.new(spos.X+80,spos.Y,spos.Z))
  306. makebase(CFrame.new(spos.X+80,spos.Y,spos.Z+80))
  307. makebase(CFrame.new(spos.X+80,spos.Y,spos.Z+40))
  308. makebase(CFrame.new(spos.X-40,spos.Y,spos.Z))
  309. makebase(CFrame.new(spos.X-80,spos.Y,spos.Z))
  310. makebase(CFrame.new(spos.X-80,spos.Y,spos.Z-80))
  311. makebase(CFrame.new(spos.X-80,spos.Y,spos.Z-40))
  312. makebase(CFrame.new(spos.X,spos.Y,spos.Z-40))
  313. makebase(CFrame.new(spos.X,spos.Y,spos.Z-80))
  314. makebase(CFrame.new(spos.X+40,spos.Y,spos.Z-80))
  315. makebase(CFrame.new(spos.X+80,spos.Y,spos.Z-80))
  316. makebase(CFrame.new(spos.X,spos.Y,spos.Z+40))
  317. makebase(CFrame.new(spos.X,spos.Y,spos.Z+80))
  318. makebase(CFrame.new(spos.X-40,spos.Y,spos.Z+80))
  319. makebase(CFrame.new(spos.X-80,spos.Y,spos.Z+80))
  320. end)
  321. Swastika.MouseButton1Up:connect(function()
  322. newtween(back,{ImageColor3 = Color3.fromRGB(255,255,255)},0.3,Enum.EasingStyle.Sine,Enum.EasingDirection.In);
  323. newtween(Swastika,{TextColor3 = Color3.fromRGB(255,161,124)},0.3,Enum.EasingStyle.Sine,Enum.EasingDirection.In);
  324. end)
  325. Swastika.MouseLeave:connect(function()
  326. newtween(back,{ImageColor3 = Color3.fromRGB(255,161,124)},0.3,Enum.EasingStyle.Sine,Enum.EasingDirection.In);
  327. newtween(Swastika,{TextColor3 = Color3.fromRGB(255,255,255)},0.3,Enum.EasingStyle.Sine,Enum.EasingDirection.In);
  328. end)
  329.  
  330. --
  331.  
  332. Penis.MouseEnter:connect(function()
  333. newtween(back_2,{ImageColor3 = Color3.fromRGB(255,255,255)},0.3,Enum.EasingStyle.Sine,Enum.EasingDirection.In);
  334. newtween(Penis,{TextColor3 = Color3.fromRGB(255,164,124)},0.3,Enum.EasingStyle.Sine,Enum.EasingDirection.In);
  335. end)
  336. Penis.MouseButton1Down:connect(function()
  337. newtween(back_2,{ImageColor3 = Color3.fromRGB(230,230,230)},0.3,Enum.EasingStyle.Sine,Enum.EasingDirection.In);
  338. newtween(Penis,{TextColor3 = Color3.fromRGB(255,161,124)},0.3,Enum.EasingStyle.Sine,Enum.EasingDirection.In);
  339. local Property;
  340. for _,UserProperty in pairs(workspace.Properties:GetChildren()) do
  341. if not UserProperty.Owner.Value then
  342. Property=UserProperty
  343. break
  344. end
  345. end
  346. game.Players.LocalPlayer.Character:MoveTo(Property.OriginSquare.Position)
  347. game.ReplicatedStorage.PropertyPurchasing.ClientPurchasedProperty:FireServer(Property,Property.OriginSquare.Position)
  348. wait(0.5)
  349. for __ba,a_ba in
  350. pairs(game:GetService("Workspace").Properties:GetChildren())do
  351. if a_ba:FindFirstChild("Owner")and
  352. a_ba.Owner.Value==game.Players.LocalPlayer then base=a_ba;square=a_ba.OriginSquare end end
  353. function makebase(__ba)
  354. local a_ba=game:GetService("ReplicatedStorage").PropertyPurchasing.ClientExpandedProperty;a_ba:FireServer(base,__ba)end;spos=square.Position
  355. makebase(CFrame.new(spos.X-40,spos.Y,spos.Z-40))
  356. makebase(CFrame.new(spos.X+40,spos.Y,spos.Z-40))
  357. makebase(CFrame.new(spos.X,spos.Y,spos.Z+40))
  358. makebase(CFrame.new(spos.X,spos.Y,spos.Z+80))
  359. end)
  360. Penis.MouseButton1Up:connect(function()
  361. newtween(back_2,{ImageColor3 = Color3.fromRGB(255,255,255)},0.3,Enum.EasingStyle.Sine,Enum.EasingDirection.In);
  362. newtween(Penis,{TextColor3 = Color3.fromRGB(255,161,124)},0.3,Enum.EasingStyle.Sine,Enum.EasingDirection.In);
  363. end)
  364. Penis.MouseLeave:connect(function()
  365. newtween(back_2,{ImageColor3 = Color3.fromRGB(255,161,124)},0.3,Enum.EasingStyle.Sine,Enum.EasingDirection.In);
  366. newtween(Penis,{TextColor3 = Color3.fromRGB(255,255,255)},0.3,Enum.EasingStyle.Sine,Enum.EasingDirection.In);
  367. end)
  368.  
  369. --
  370.  
  371. Cru.MouseEnter:connect(function()
  372. newtween(back_3,{ImageColor3 = Color3.fromRGB(255,255,255)},0.3,Enum.EasingStyle.Sine,Enum.EasingDirection.In);
  373. newtween(Cru,{TextColor3 = Color3.fromRGB(255,164,124)},0.3,Enum.EasingStyle.Sine,Enum.EasingDirection.In);
  374. end)
  375. Cru.MouseButton1Down:connect(function()
  376. newtween(back_3,{ImageColor3 = Color3.fromRGB(230,230,230)},0.3,Enum.EasingStyle.Sine,Enum.EasingDirection.In);
  377. newtween(Cru,{TextColor3 = Color3.fromRGB(255,161,124)},0.3,Enum.EasingStyle.Sine,Enum.EasingDirection.In);
  378. local Property;
  379. for _,UserProperty in pairs(workspace.Properties:GetChildren()) do
  380. if not UserProperty.Owner.Value then
  381. Property=UserProperty
  382. break
  383. end
  384. end
  385. game.Players.LocalPlayer.Character:MoveTo(Property.OriginSquare.Position)
  386. game.ReplicatedStorage.PropertyPurchasing.ClientPurchasedProperty:FireServer(Property,Property.OriginSquare.Position)
  387. wait(0.5)
  388. for __ba,a_ba in
  389. pairs(game:GetService("Workspace").Properties:GetChildren())do
  390. if a_ba:FindFirstChild("Owner")and
  391. a_ba.Owner.Value==game.Players.LocalPlayer then base=a_ba;square=a_ba.OriginSquare end end
  392. function makebase(__ba)
  393. local a_ba=game:GetService("ReplicatedStorage").PropertyPurchasing.ClientExpandedProperty;a_ba:FireServer(base,__ba)end;spos=square.Position
  394. makebase(CFrame.new(spos.X+40,spos.Y,spos.Z))
  395. makebase(CFrame.new(spos.X-40,spos.Y,spos.Z))
  396. makebase(CFrame.new(spos.X-80,spos.Y,spos.Z))
  397. makebase(CFrame.new(spos.X-40,spos.Y,spos.Z-40))
  398. makebase(CFrame.new(spos.X-40,spos.Y,spos.Z+40))
  399. end)
  400. Cru.MouseButton1Up:connect(function()
  401. newtween(back_3,{ImageColor3 = Color3.fromRGB(255,255,255)},0.3,Enum.EasingStyle.Sine,Enum.EasingDirection.In);
  402. newtween(Cru,{TextColor3 = Color3.fromRGB(255,161,124)},0.3,Enum.EasingStyle.Sine,Enum.EasingDirection.In);
  403. end)
  404. Cru.MouseLeave:connect(function()
  405. newtween(back_3,{ImageColor3 = Color3.fromRGB(255,161,124)},0.3,Enum.EasingStyle.Sine,Enum.EasingDirection.In);
  406. newtween(Cru,{TextColor3 = Color3.fromRGB(255,255,255)},0.3,Enum.EasingStyle.Sine,Enum.EasingDirection.In);
  407. end)
  408.  
  409. --
  410.  
  411. Cross.MouseEnter:connect(function()
  412. newtween(back_4,{ImageColor3 = Color3.fromRGB(255,255,255)},0.3,Enum.EasingStyle.Sine,Enum.EasingDirection.In);
  413. newtween(Cross,{TextColor3 = Color3.fromRGB(255,164,124)},0.3,Enum.EasingStyle.Sine,Enum.EasingDirection.In);
  414. end)
  415. Cross.MouseButton1Down:connect(function()
  416. newtween(back_4,{ImageColor3 = Color3.fromRGB(230,230,230)},0.3,Enum.EasingStyle.Sine,Enum.EasingDirection.In);
  417. newtween(Cross,{TextColor3 = Color3.fromRGB(255,161,124)},0.3,Enum.EasingStyle.Sine,Enum.EasingDirection.In);
  418. local Property;
  419. for _,UserProperty in pairs(workspace.Properties:GetChildren()) do
  420. if not UserProperty.Owner.Value then
  421. Property=UserProperty
  422. break
  423. end
  424. end
  425. game.Players.LocalPlayer.Character:MoveTo(Property.OriginSquare.Position)
  426. game.ReplicatedStorage.PropertyPurchasing.ClientPurchasedProperty:FireServer(Property,Property.OriginSquare.Position)
  427. wait(0.5)
  428. for __ba,a_ba in
  429. pairs(game:GetService("Workspace").Properties:GetChildren())do
  430. if a_ba:FindFirstChild("Owner")and
  431. a_ba.Owner.Value==game.Players.LocalPlayer then base=a_ba;square=a_ba.OriginSquare end end
  432. function makebase(__ba)
  433. local a_ba=game:GetService("ReplicatedStorage").PropertyPurchasing.ClientExpandedProperty;a_ba:FireServer(base,__ba)end;spos=square.Position
  434. makebase(CFrame.new(spos.X+40,spos.Y,spos.Z-40))
  435. makebase(CFrame.new(spos.X-40,spos.Y,spos.Z+40))
  436. makebase(CFrame.new(spos.X-80,spos.Y,spos.Z+80))
  437. makebase(CFrame.new(spos.X+80,spos.Y,spos.Z+80))
  438. makebase(CFrame.new(spos.X+40,spos.Y,spos.Z+40))
  439. makebase(CFrame.new(spos.X+80,spos.Y,spos.Z-80))
  440. makebase(CFrame.new(spos.X-40,spos.Y,spos.Z-40))
  441. makebase(CFrame.new(spos.X-80,spos.Y,spos.Z-80))
  442.  
  443. end)
  444. Cross.MouseButton1Up:connect(function()
  445. newtween(back_4,{ImageColor3 = Color3.fromRGB(255,255,255)},0.3,Enum.EasingStyle.Sine,Enum.EasingDirection.In);
  446. newtween(Cross,{TextColor3 = Color3.fromRGB(255,161,124)},0.3,Enum.EasingStyle.Sine,Enum.EasingDirection.In);
  447. end)
  448. Cross.MouseLeave:connect(function()
  449. newtween(back_4,{ImageColor3 = Color3.fromRGB(255,161,124)},0.3,Enum.EasingStyle.Sine,Enum.EasingDirection.In);
  450. newtween(Cross,{TextColor3 = Color3.fromRGB(255,255,255)},0.3,Enum.EasingStyle.Sine,Enum.EasingDirection.In);
  451. end)
  452.  
  453. --
  454.  
  455. Target.MouseEnter:connect(function()
  456. newtween(back_5,{ImageColor3 = Color3.fromRGB(255,255,255)},0.3,Enum.EasingStyle.Sine,Enum.EasingDirection.In);
  457. newtween(Target,{TextColor3 = Color3.fromRGB(255,164,124)},0.3,Enum.EasingStyle.Sine,Enum.EasingDirection.In);
  458. end)
  459. Target.MouseButton1Down:connect(function()
  460. newtween(back_5,{ImageColor3 = Color3.fromRGB(230,230,230)},0.3,Enum.EasingStyle.Sine,Enum.EasingDirection.In);
  461. newtween(Target,{TextColor3 = Color3.fromRGB(255,161,124)},0.3,Enum.EasingStyle.Sine,Enum.EasingDirection.In);
  462. local Property;
  463. for _,UserProperty in pairs(workspace.Properties:GetChildren()) do
  464. if not UserProperty.Owner.Value then
  465. Property=UserProperty
  466. break
  467. end
  468. end
  469. game.Players.LocalPlayer.Character:MoveTo(Property.OriginSquare.Position)
  470. game.ReplicatedStorage.PropertyPurchasing.ClientPurchasedProperty:FireServer(Property,Property.OriginSquare.Position)
  471. wait(0.5)
  472. for __ba,a_ba in
  473. pairs(game:GetService("Workspace").Properties:GetChildren())do
  474. if a_ba:FindFirstChild("Owner")and
  475. a_ba.Owner.Value==game.Players.LocalPlayer then base=a_ba;square=a_ba.OriginSquare end end
  476. function makebase(__ba)
  477. local a_ba=game:GetService("ReplicatedStorage").PropertyPurchasing.ClientExpandedProperty;a_ba:FireServer(base,__ba)end;spos=square.Position
  478. makebase(CFrame.new(spos.X,spos.Y,spos.Z+80))
  479. makebase(CFrame.new(spos.X+40,spos.Y,spos.Z+80))
  480. makebase(CFrame.new(spos.X+80,spos.Y,spos.Z+80))
  481. makebase(CFrame.new(spos.X-80,spos.Y,spos.Z+80))
  482. makebase(CFrame.new(spos.X-40,spos.Y,spos.Z+80))
  483. makebase(CFrame.new(spos.X-40,spos.Y,spos.Z-80))
  484. makebase(CFrame.new(spos.X-80,spos.Y,spos.Z-80))
  485. makebase(CFrame.new(spos.X+80,spos.Y,spos.Z+80))
  486. makebase(CFrame.new(spos.X+80,spos.Y,spos.Z+40))
  487. makebase(CFrame.new(spos.X-80,spos.Y,spos.Z+40))
  488. makebase(CFrame.new(spos.X+80,spos.Y,spos.Z-40))
  489. makebase(CFrame.new(spos.X+80,spos.Y,spos.Z+40))
  490. makebase(CFrame.new(spos.X+80,spos.Y,spos.Z-80))
  491. makebase(CFrame.new(spos.X+80,spos.Y,spos.Z))
  492. makebase(CFrame.new(spos.X-80,spos.Y,spos.Z))
  493. makebase(CFrame.new(spos.X-80,spos.Y,spos.Z-40))
  494. makebase(CFrame.new(spos.X,spos.Y,spos.Z-80))
  495. makebase(CFrame.new(spos.X+40,spos.Y,spos.Z-80))
  496.  
  497. end)
  498. Target.MouseButton1Up:connect(function()
  499. newtween(back_5,{ImageColor3 = Color3.fromRGB(255,255,255)},0.3,Enum.EasingStyle.Sine,Enum.EasingDirection.In);
  500. newtween(Target,{TextColor3 = Color3.fromRGB(255,161,124)},0.3,Enum.EasingStyle.Sine,Enum.EasingDirection.In);
  501. end)
  502. Target.MouseLeave:connect(function()
  503. newtween(back_5,{ImageColor3 = Color3.fromRGB(255,161,124)},0.3,Enum.EasingStyle.Sine,Enum.EasingDirection.In);
  504. newtween(Target,{TextColor3 = Color3.fromRGB(255,255,255)},0.3,Enum.EasingStyle.Sine,Enum.EasingDirection.In);
  505. end)
  506.  
  507. --
  508.  
  509. Sword.MouseEnter:connect(function()
  510. newtween(back_6,{ImageColor3 = Color3.fromRGB(255,255,255)},0.3,Enum.EasingStyle.Sine,Enum.EasingDirection.In);
  511. newtween(Sword,{TextColor3 = Color3.fromRGB(255,164,124)},0.3,Enum.EasingStyle.Sine,Enum.EasingDirection.In);
  512. end)
  513. Sword.MouseButton1Down:connect(function()
  514. newtween(back_6,{ImageColor3 = Color3.fromRGB(230,230,230)},0.3,Enum.EasingStyle.Sine,Enum.EasingDirection.In);
  515. newtween(Sword,{TextColor3 = Color3.fromRGB(255,161,124)},0.3,Enum.EasingStyle.Sine,Enum.EasingDirection.In);
  516. local Property;
  517. for _,UserProperty in pairs(workspace.Properties:GetChildren()) do
  518. if not UserProperty.Owner.Value then
  519. Property=UserProperty
  520. break
  521. end
  522. end
  523. game.Players.LocalPlayer.Character:MoveTo(Property.OriginSquare.Position)
  524. game.ReplicatedStorage.PropertyPurchasing.ClientPurchasedProperty:FireServer(Property,Property.OriginSquare.Position)
  525. wait(0.5)
  526. for __ba,a_ba in
  527. pairs(game:GetService("Workspace").Properties:GetChildren())do
  528. if a_ba:FindFirstChild("Owner")and
  529. a_ba.Owner.Value==game.Players.LocalPlayer then base=a_ba;square=a_ba.OriginSquare end end
  530. function makebase(__ba)
  531. local a_ba=game:GetService("ReplicatedStorage").PropertyPurchasing.ClientExpandedProperty;a_ba:FireServer(base,__ba)end;spos=square.Position
  532. makebase(CFrame.new(spos.X+40,spos.Y,spos.Z+40))
  533. makebase(CFrame.new(spos.X+80,spos.Y,spos.Z+40))
  534. makebase(CFrame.new(spos.X+40,spos.Y,spos.Z+80))
  535. makebase(CFrame.new(spos.X+80,spos.Y,spos.Z+80))
  536. makebase(CFrame.new(spos.X+40,spos.Y,spos.Z))
  537. makebase(CFrame.new(spos.X,spos.Y,spos.Z+40))
  538. makebase(CFrame.new(spos.X,spos.Y,spos.Z+40))
  539. makebase(CFrame.new(spos.X,spos.Y,spos.Z-40))
  540. makebase(CFrame.new(spos.X-40,spos.Y,spos.Z))
  541. makebase(CFrame.new(spos.X,spos.Y,spos.Z-80))
  542. makebase(CFrame.new(spos.X-80,spos.Y,spos.Z))
  543. makebase(CFrame.new(spos.X-40,spos.Y,spos.Z-40))
  544. makebase(CFrame.new(spos.X-80,spos.Y,spos.Z-80))
  545. end)
  546. Sword.MouseButton1Up:connect(function()
  547. newtween(back_6,{ImageColor3 = Color3.fromRGB(255,255,255)},0.3,Enum.EasingStyle.Sine,Enum.EasingDirection.In);
  548. newtween(Sword,{TextColor3 = Color3.fromRGB(255,161,124)},0.3,Enum.EasingStyle.Sine,Enum.EasingDirection.In);
  549. end)
  550. Sword.MouseLeave:connect(function()
  551. newtween(back_6,{ImageColor3 = Color3.fromRGB(255,161,124)},0.3,Enum.EasingStyle.Sine,Enum.EasingDirection.In);
  552. newtween(Sword,{TextColor3 = Color3.fromRGB(255,255,255)},0.3,Enum.EasingStyle.Sine,Enum.EasingDirection.In);
  553. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement