Advertisement
Guest User

Untitled

a guest
Jan 25th, 2020
76
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 19.45 KB | None | 0 0
  1.  
  2. function sandbox(var,func)
  3. local env = getfenv(func)
  4. local newenv = setmetatable({},{
  5. __index = function(self,k)
  6. if k=="script" then
  7. return var
  8. else
  9. return env[k]
  10. end
  11. end,
  12. })
  13. setfenv(func,newenv)
  14. return func
  15. end
  16. cors = {}
  17. mas = Instance.new("Model",game:GetService("Lighting"))
  18. Script0 = Instance.new("Script")
  19. Script1 = Instance.new("Script")
  20. LocalScript2 = Instance.new("LocalScript")
  21. Script3 = Instance.new("Script")
  22. NumberValue4 = Instance.new("NumberValue")
  23. ScreenGui5 = Instance.new("ScreenGui")
  24. LocalScript6 = Instance.new("LocalScript")
  25. Backpack7 = Instance.new("Backpack")
  26. TextButton8 = Instance.new("TextButton")
  27. TextLabel9 = Instance.new("TextLabel")
  28. TextLabel10 = Instance.new("TextLabel")
  29. Frame11 = Instance.new("Frame")
  30. Frame12 = Instance.new("Frame")
  31. TextButton13 = Instance.new("TextButton")
  32. TextBox14 = Instance.new("TextBox")
  33. NumberValue15 = Instance.new("NumberValue")
  34. Script0.Parent = mas
  35. Script1.Name = "Animations"
  36. Script1.Parent = Script0
  37. table.insert(cors,sandbox(Script1,function()
  38. game.Players.PlayerAdded:connect(function(plr)
  39. plr.CharacterAdded:connect(function(char)
  40. char:WaitForChild("Animate")
  41. char.Animate:Destroy()
  42. local a=script.Animate2:Clone()
  43. a.Parent=char
  44. end)
  45. end)
  46.  
  47.  
  48. end))
  49. LocalScript2.Name = "Animate2"
  50. LocalScript2.Parent = Script1
  51. table.insert(cors,sandbox(LocalScript2,function()
  52. function waitForChild(parent, childName)
  53. local child = parent:findFirstChild(childName)
  54. if child then return child end
  55. while true do
  56. child = parent.ChildAdded:wait()
  57. if child.Name==childName then return child end
  58. end
  59. end
  60.  
  61. -- ANIMATION
  62.  
  63. -- declarations
  64.  
  65. local Figure = script.Parent
  66. local Torso = waitForChild(Figure, "Torso")
  67. local RightShoulder = waitForChild(Torso, "Right Shoulder")
  68. local LeftShoulder = waitForChild(Torso, "Left Shoulder")
  69. local RightHip = waitForChild(Torso, "Right Hip")
  70. local LeftHip = waitForChild(Torso, "Left Hip")
  71. local Neck = waitForChild(Torso, "Neck")
  72. local Humanoid = waitForChild(Figure, "Humanoid")
  73. local pose = "Standing"
  74.  
  75. local toolAnim = "None"
  76. local toolAnimTime = 0
  77.  
  78. local jumpMaxLimbVelocity = 0.75
  79.  
  80. -- functions
  81.  
  82. function onRunning(speed)
  83. if speed>0 then
  84. pose = "Running"
  85. else
  86. pose = "Standing"
  87. end
  88. end
  89.  
  90. function onDied()
  91. pose = "Dead"
  92. end
  93.  
  94. function onJumping()
  95. pose = "Jumping"
  96. end
  97.  
  98. function onClimbing()
  99. pose = "Climbing"
  100. end
  101.  
  102. function onGettingUp()
  103. pose = "GettingUp"
  104. end
  105.  
  106. function onFreeFall()
  107. pose = "FreeFall"
  108. end
  109.  
  110. function onFallingDown()
  111. pose = "FallingDown"
  112. end
  113.  
  114. function onSeated()
  115. pose = "Seated"
  116. end
  117.  
  118. function onPlatformStanding()
  119. pose = "PlatformStanding"
  120. end
  121.  
  122. function onSwimming(speed)
  123. if speed>0 then
  124. pose = "Running"
  125. else
  126. pose = "Standing"
  127. end
  128. end
  129.  
  130. function moveJump()
  131. RightShoulder.MaxVelocity = jumpMaxLimbVelocity
  132. LeftShoulder.MaxVelocity = jumpMaxLimbVelocity
  133. RightShoulder:SetDesiredAngle(3.14)
  134. LeftShoulder:SetDesiredAngle(-3.14)
  135. RightHip:SetDesiredAngle(0)
  136. LeftHip:SetDesiredAngle(0)
  137. end
  138.  
  139.  
  140. -- same as jump for now
  141.  
  142. function moveFreeFall()
  143. RightShoulder.MaxVelocity = jumpMaxLimbVelocity
  144. LeftShoulder.MaxVelocity = jumpMaxLimbVelocity
  145. RightShoulder:SetDesiredAngle(3.14)
  146. LeftShoulder:SetDesiredAngle(-3.14)
  147. RightHip:SetDesiredAngle(0)
  148. LeftHip:SetDesiredAngle(0)
  149. end
  150.  
  151. function moveSit()
  152. RightShoulder.MaxVelocity = 0.15
  153. LeftShoulder.MaxVelocity = 0.15
  154. RightShoulder:SetDesiredAngle(3.14 /2)
  155. LeftShoulder:SetDesiredAngle(-3.14 /2)
  156. RightHip:SetDesiredAngle(3.14 /2)
  157. LeftHip:SetDesiredAngle(-3.14 /2)
  158. end
  159.  
  160. function getTool()
  161. for _, kid in ipairs(Figure:GetChildren()) do
  162. if kid.className == "Tool" then return kid end
  163. end
  164. return nil
  165. end
  166.  
  167. function getToolAnim(tool)
  168. for _, c in ipairs(tool:GetChildren()) do
  169. if c.Name == "toolanim" and c.className == "StringValue" then
  170. return c
  171. end
  172. end
  173. return nil
  174. end
  175.  
  176. function animateTool()
  177.  
  178. if (toolAnim == "None") then
  179. RightShoulder:SetDesiredAngle(1.57)
  180. return
  181. end
  182.  
  183. if (toolAnim == "Slash") then
  184. RightShoulder.MaxVelocity = 0.5
  185. RightShoulder:SetDesiredAngle(0)
  186. return
  187. end
  188.  
  189. if (toolAnim == "Lunge") then
  190. RightShoulder.MaxVelocity = 0.5
  191. LeftShoulder.MaxVelocity = 0.5
  192. RightHip.MaxVelocity = 0.5
  193. LeftHip.MaxVelocity = 0.5
  194. RightShoulder:SetDesiredAngle(1.57)
  195. LeftShoulder:SetDesiredAngle(1.0)
  196. RightHip:SetDesiredAngle(1.57)
  197. LeftHip:SetDesiredAngle(1.0)
  198. return
  199. end
  200. end
  201.  
  202. function move(time)
  203. local amplitude
  204. local frequency
  205.  
  206. if (pose == "Jumping") then
  207. moveJump()
  208. return
  209. end
  210.  
  211. if (pose == "FreeFall") then
  212. moveFreeFall()
  213. return
  214. end
  215.  
  216. if (pose == "Seated") then
  217. moveSit()
  218. return
  219. end
  220.  
  221. local climbFudge = 0
  222.  
  223. if (pose == "Running") then
  224. if (RightShoulder.CurrentAngle > 1.5 or RightShoulder.CurrentAngle < -1.5) then
  225. RightShoulder.MaxVelocity = jumpMaxLimbVelocity
  226. else
  227. RightShoulder.MaxVelocity = 0.15
  228. end
  229. if (LeftShoulder.CurrentAngle > 1.5 or LeftShoulder.CurrentAngle < -1.5) then
  230. LeftShoulder.MaxVelocity = jumpMaxLimbVelocity
  231. else
  232. LeftShoulder.MaxVelocity = 0.15
  233. end
  234. amplitude = 1
  235. frequency = 9
  236. elseif (pose == "Climbing") then
  237. RightShoulder.MaxVelocity = 0.5
  238. LeftShoulder.MaxVelocity = 0.5
  239. amplitude = 1
  240. frequency = 9
  241. climbFudge = 3.14
  242. else
  243. amplitude = 0.1
  244. frequency = 1
  245. end
  246.  
  247. desiredAngle = amplitude * math.sin(time*frequency)
  248.  
  249. RightShoulder:SetDesiredAngle(desiredAngle + climbFudge)
  250. LeftShoulder:SetDesiredAngle(desiredAngle - climbFudge)
  251. RightHip:SetDesiredAngle(-desiredAngle)
  252. LeftHip:SetDesiredAngle(-desiredAngle)
  253.  
  254.  
  255. local tool = getTool()
  256.  
  257. if tool then
  258.  
  259. animStringValueObject = getToolAnim(tool)
  260.  
  261. if animStringValueObject then
  262. toolAnim = animStringValueObject.Value
  263. -- message recieved, delete StringValue
  264. animStringValueObject.Parent = nil
  265. toolAnimTime = time + .3
  266. end
  267.  
  268. if time > toolAnimTime then
  269. toolAnimTime = 0
  270. toolAnim = "None"
  271. end
  272.  
  273. animateTool()
  274.  
  275.  
  276. else
  277. toolAnim = "None"
  278. toolAnimTime = 0
  279. end
  280. end
  281.  
  282.  
  283. -- connect events
  284.  
  285. Humanoid.Died:connect(onDied)
  286. Humanoid.Running:connect(onRunning)
  287. Humanoid.Jumping:connect(onJumping)
  288. Humanoid.Climbing:connect(onClimbing)
  289. Humanoid.GettingUp:connect(onGettingUp)
  290. Humanoid.FreeFalling:connect(onFreeFall)
  291. Humanoid.FallingDown:connect(onFallingDown)
  292. Humanoid.Seated:connect(onSeated)
  293. Humanoid.PlatformStanding:connect(onPlatformStanding)
  294. Humanoid.Swimming:connect(onSwimming)
  295. -- main program
  296.  
  297. local runService = game:service("RunService");
  298.  
  299. while Figure.Parent~=nil do
  300. local _, time = wait(0.1)
  301. move(time)
  302. end
  303.  
  304.  
  305. end))
  306. Script3.Name = "ClassicEngine/Chat"
  307. Script3.Parent = Script0
  308. table.insert(cors,sandbox(Script3,function()
  309. --Script made by EkoGam3.
  310.  
  311.  
  312.  
  313. c = script.ClassicChat:clone()
  314. c.Parent = game.StarterGui
  315. c.Year = script.Year.Value
  316. script:Destroy()
  317. end))
  318. NumberValue4.Name = "Year"
  319. NumberValue4.Parent = Script3
  320. NumberValue4.Value = 2012
  321. ScreenGui5.Name = "ClassicChat"
  322. ScreenGui5.Parent = Script3
  323. LocalScript6.Name = "ChatScript"
  324. LocalScript6.Parent = ScreenGui5
  325. table.insert(cors,sandbox(LocalScript6,function()
  326. --Script modified by EkoGam3.
  327. --Concept credit goes to Vermis.
  328.  
  329.  
  330.  
  331. local year = script.Parent:WaitForChild("Year").Value
  332.  
  333.  
  334.  
  335. --Code
  336.  
  337. if year == 2007 then
  338. script.Parent.ClickToChat.TextColor3 = Color3.new(0, 0, 0)
  339. script.Parent.ChatBar.BackgroundColor3 = Color3.new(255/255, 255/255, 255/255)
  340. end
  341.  
  342. local Chat = {
  343. ChatColors = {
  344. BrickColor.new("Bright red"),
  345. BrickColor.new("Bright blue"),
  346. BrickColor.new("Earth green"),
  347. BrickColor.new("Bright violet"),
  348. BrickColor.new("Bright orange"),
  349. BrickColor.new("Bright yellow"),
  350. BrickColor.new("Light reddish violet"),
  351. BrickColor.new("Brick yellow"),
  352. };
  353.  
  354. Gui = nil,
  355. Frame = nil,
  356. RenderFrame = nil,
  357. TapToChatLabel = nil,
  358. ClickToChatButton = nil,
  359. Templates = nil,
  360. EventListener = nil,
  361. MessageQueue = {},
  362.  
  363. Configuration = {
  364. FontSize = Enum.FontSize.Size12,
  365. NumFontSize = 12,
  366. HistoryLength = 20,
  367. Size = UDim2.new(0.38, 0, 0.20, 0),
  368. MessageColor = Color3.new(1, 1, 1),
  369. AdminMessageColor = Color3.new(1, 215/255, 0),
  370. XScale = 0.025,
  371. LifeTime = 45,
  372. Position = UDim2.new(0, 2, 0.05, 0),
  373. DefaultTweenSpeed = 0.15,
  374. };
  375.  
  376. CachedSpaceStrings_List = {},
  377. Messages_List = {},
  378. MessageThread = nil,
  379. TempSpaceLabel = nil,
  380. }
  381.  
  382. function GetNameValue(pName)
  383. local value = 0
  384. for index = 1, #pName do
  385. local cValue = string.byte(string.sub(pName, index, index))
  386. local reverseIndex = #pName - index + 1
  387. if #pName%2 == 1 then
  388. reverseIndex = reverseIndex - 1
  389. end
  390. if reverseIndex%4 >= 2 then
  391. cValue = -cValue
  392. end
  393. value = value + cValue
  394. end
  395. return value%8
  396. end
  397.  
  398. function Chat:ComputeChatColor(pName)
  399. return self.ChatColors[GetNameValue(pName) + 1].Color
  400. end
  401.  
  402. function Chat:UpdateQueue(field, diff)
  403. for i = #self.MessageQueue, 1, -1 do
  404. if self.MessageQueue[i] then
  405. for _, label in pairs(self.MessageQueue[i]) do
  406. if label and type(label) ~= "table" and type(label) ~= "number" then
  407. if label:IsA("TextLabel") or label:IsA("TextButton") then
  408. if diff then
  409. label.Position = label.Position - UDim2.new(0, 0, diff, 0)
  410. else
  411. if field == self.MessageQueue[i] then
  412. label.Position = UDim2.new(self.Configuration.XScale, 0, label.Position.Y.Scale - field["Message"].Size.Y.Scale , 0)
  413. else
  414. label.Position = UDim2.new(self.Configuration.XScale, 0, label.Position.Y.Scale - field["Message"].Size.Y.Scale, 0)
  415. end
  416. if label.Position.Y.Scale < -0.01 then
  417. label.Visible = false
  418. label:Destroy()
  419. end
  420. end
  421. end
  422. end
  423. end
  424. end
  425. end
  426. end
  427.  
  428. function Chat:ComputeSpaceString(pLabel)
  429. local nString = " "
  430. if not self.TempSpaceLabel then
  431. self.TempSpaceLabel = self.Templates.SpaceButton
  432. self.TempSpaceLabel.Size = UDim2.new(0, pLabel.AbsoluteSize.X, 0, pLabel.AbsoluteSize.Y);
  433. end
  434. self.TempSpaceLabel.Text = nString
  435. while self.TempSpaceLabel.TextBounds.X < pLabel.TextBounds.X do
  436. nString = nString .. " "
  437. self.TempSpaceLabel.Text = nString
  438. end
  439. nString = nString .. " "
  440. self.CachedSpaceStrings_List[pLabel.Text] = nString
  441. self.TempSpaceLabel.Text = ""
  442. return nString
  443. end
  444.  
  445.  
  446. function Chat:UpdateChat(cPlayer, message)
  447. local messageField = {["Player"] = cPlayer,["Message"] = message}
  448. if coroutine.status(Chat.MessageThread) == "dead" then
  449. table.insert(Chat.Messages_List, messageField)
  450. Chat.MessageThread = coroutine.create(function ()
  451. for i = 1, #Chat.Messages_List do
  452. local field = Chat.Messages_List[i]
  453. Chat:CreateMessage(field["Player"], field["Message"])
  454. end
  455. Chat.Messages_List = {}
  456. end)
  457. coroutine.resume(Chat.MessageThread)
  458. else
  459. table.insert(Chat.Messages_List, messageField)
  460. end
  461. end
  462.  
  463. function Chat:CreateMessage(cPlayer, message)
  464. local pName = cPlayer ~= nil and cPlayer.Name or "GAME"
  465. message = message:gsub("^%s*(.-)%s*$", "%1")
  466. self.MessageQueue[#self.MessageQueue] = (#self.MessageQueue > self.Configuration.HistoryLength) and nil or self.MessageQueue[#self.MessageQueue]
  467. local pLabel = self.Templates.pLabel:clone()
  468. pLabel.Name = pName;
  469. pLabel.Text = pName .. ";";
  470. pLabel.Parent = self.RenderFrame;
  471. pLabel.TextColor3 = (cPlayer.Neutral) and Chat:ComputeChatColor(pName) or cPlayer.TeamColor.Color
  472. local nString = self.CachedSpaceStrings_List[pName] or Chat:ComputeSpaceString(pLabel)
  473. local mLabel = self.Templates.mLabel:clone()
  474. mLabel.Name = pName .. " - message";
  475. mLabel.TextColor3 = Chat.Configuration.MessageColor;
  476. mLabel.Text = nString .. message;
  477. mLabel.Parent = self.RenderFrame;
  478. local heightField = mLabel.TextBounds.Y
  479. mLabel.Size = UDim2.new(1, 0, heightField/self.RenderFrame.AbsoluteSize.Y, 0)
  480. pLabel.Size = mLabel.Size
  481. local yPixels = self.RenderFrame.AbsoluteSize.Y
  482. local yFieldSize = mLabel.TextBounds.Y
  483. local queueField = {}
  484. queueField["Player"] = pLabel
  485. queueField["Message"] = mLabel
  486. queueField["SpawnTime"] = tick()
  487. table.insert(self.MessageQueue, 1, queueField)
  488. Chat:UpdateQueue(queueField)
  489. end
  490.  
  491. function Chat:CreateChatBar()
  492. self.ClickToChatButton = self.Gui:WaitForChild("ClickToChat")
  493. self.ChatBar = self.Gui:WaitForChild("ChatBar")
  494. local mouse = game.Players.LocalPlayer:GetMouse()
  495. mouse.KeyDown:connect(function (key)
  496. if key:byte() == 47 or key == "/" then
  497. self.ClickToChatButton.Visible = false
  498. if year > 2007 then
  499. self.ChatBar.BackgroundColor3 = Color3.new(255/255, 255/255, 255/255)
  500. end
  501. self.ChatBar:CaptureFocus()
  502. end
  503. end)
  504. self.ClickToChatButton.MouseButton1Click:connect(function ()
  505. self.ClickToChatButton.Visible = false
  506. if year > 2007 then
  507. self.ChatBar.BackgroundColor3 = Color3.new(255/255, 255/255, 255/255)
  508. end
  509. self.ChatBar:CaptureFocus()
  510. end)
  511. end
  512.  
  513. function Chat:PlayerChat(message)
  514. local m = Instance.new("StringValue")
  515. m.Name = "NewMessage"
  516. m.Value = message
  517. m.Parent = game.Players.LocalPlayer
  518. game:GetService("Debris"):AddItem(m, 2)
  519. end
  520.  
  521. function Chat:CreateGui()
  522. self.Gui = script.Parent
  523. self.Frame = self.Gui:WaitForChild("ChatFrame")
  524. self.RenderFrame = self.Frame:WaitForChild("ChatRenderFrame")
  525. self.Templates = self.Gui:WaitForChild("Templates")
  526. Chat:CreateChatBar()
  527. self.ChatBar.FocusLost:connect(function(enterPressed)
  528. if year > 2007 then
  529. self.ChatBar.BackgroundColor3 = Color3.new(64/255, 64/255, 64/255)
  530. end
  531. if enterPressed and self.ChatBar.Text ~= "" then
  532. local cText = self.ChatBar.Text
  533. if string.sub(self.ChatBar.Text, 1, 1) == "%" then
  534. cText = "(TEAM) " .. string.sub(cText, 2, #cText)
  535. end
  536. Chat:PlayerChat(cText)
  537. if self.ClickToChatButton then
  538. self.ClickToChatButton.Visible = true
  539. end
  540. self.ChatBar.Text = ""
  541. self.ClickToChatButton.Visible = true
  542. end
  543. end)
  544. end
  545.  
  546. function Chat:TrackPlayerChats()
  547. local function chatRegister(p)
  548. p.ChildAdded:connect(function (obj)
  549. if obj:IsA("StringValue") and obj.Name == "NewMessage" then
  550. if game.Players.LocalPlayer.Neutral or p.TeamColor == game.Players.LocalPlayer.TeamColor then
  551. Chat:UpdateChat(p, obj.Value)
  552. end
  553. end
  554. end)
  555. end
  556. for _,v in pairs(game.Players:GetPlayers()) do
  557. chatRegister(v)
  558. end
  559. game.Players.PlayerAdded:connect(chatRegister)
  560. end
  561.  
  562. function Chat:CullThread()
  563. Spawn(function ()
  564. while true do
  565. if #self.MessageQueue > 0 then
  566. for _, field in pairs(self.MessageQueue) do
  567. if field["SpawnTime"] and field["Player"] and field["Message"] and tick() - field["SpawnTime"] > self.Configuration.LifeTime then
  568. field["Player"].Visible = false
  569. field["Message"].Visible = false
  570. end
  571. end
  572. end
  573. wait(5)
  574. end
  575. end)
  576. end
  577.  
  578. function Chat:Initialize()
  579. Chat:CreateGui()
  580. Chat:TrackPlayerChats()
  581. self.MessageThread = coroutine.create(function () end)
  582. coroutine.resume(self.MessageThread)
  583. Chat:CullThread()
  584. end
  585.  
  586. Chat:Initialize()
  587. end))
  588. Backpack7.Name = "Templates"
  589. Backpack7.Parent = ScreenGui5
  590. TextButton8.Name = "SpaceButton"
  591. TextButton8.Parent = Backpack7
  592. TextButton8.Size = UDim2.new(0, 510, 0, 12)
  593. TextButton8.BackgroundColor = BrickColor.new("Oyster")
  594. TextButton8.BackgroundColor3 = Color3.new(0.698039, 0.698039, 0.698039)
  595. TextButton8.BackgroundTransparency = 1
  596. TextButton8.AutoButtonColor = false
  597. TextButton8.FontSize = Enum.FontSize.Size12
  598. TextButton8.Text = ""
  599. TextButton8.TextSize = 12
  600. TextLabel9.Name = "mLabel"
  601. TextLabel9.Parent = Backpack7
  602. TextLabel9.Position = UDim2.new(0, 0, 1, 0)
  603. TextLabel9.Size = UDim2.new(1, 0, 0.5, 0)
  604. TextLabel9.BackgroundColor = BrickColor.new("Oyster")
  605. TextLabel9.BackgroundColor3 = Color3.new(0.698039, 0.698039, 0.698039)
  606. TextLabel9.BackgroundTransparency = 1
  607. TextLabel9.BorderSizePixel = 0
  608. TextLabel9.FontSize = Enum.FontSize.Size12
  609. TextLabel9.Text = ""
  610. TextLabel9.TextSize = 12
  611. TextLabel9.TextWrap = true
  612. TextLabel9.TextWrapped = true
  613. TextLabel9.TextXAlignment = Enum.TextXAlignment.Left
  614. TextLabel9.TextYAlignment = Enum.TextYAlignment.Top
  615. TextLabel10.Name = "pLabel"
  616. TextLabel10.Parent = Backpack7
  617. TextLabel10.Position = UDim2.new(0, 0, 1, 0)
  618. TextLabel10.Size = UDim2.new(1, 0, 0.100000001, 0)
  619. TextLabel10.BackgroundColor = BrickColor.new("Oyster")
  620. TextLabel10.BackgroundColor3 = Color3.new(0.698039, 0.698039, 0.698039)
  621. TextLabel10.BackgroundTransparency = 1
  622. TextLabel10.BorderSizePixel = 0
  623. TextLabel10.ZIndex = 2
  624. TextLabel10.FontSize = Enum.FontSize.Size12
  625. TextLabel10.Text = "Player: "
  626. TextLabel10.TextSize = 12
  627. TextLabel10.TextStrokeColor3 = Color3.new(0.501961, 0.501961, 0.501961)
  628. TextLabel10.TextXAlignment = Enum.TextXAlignment.Left
  629. TextLabel10.TextYAlignment = Enum.TextYAlignment.Top
  630. Frame11.Name = "ChatFrame"
  631. Frame11.Parent = ScreenGui5
  632. Frame11.Position = UDim2.new(0, 5, 0, 10)
  633. Frame11.Size = UDim2.new(0, 500, 0, 120)
  634. Frame11.BackgroundColor = BrickColor.new("Oyster")
  635. Frame11.BackgroundColor3 = Color3.new(0.698039, 0.698039, 0.698039)
  636. Frame11.BackgroundTransparency = 1
  637. Frame11.BorderColor = BrickColor.new("Really black")
  638. Frame11.BorderColor3 = Color3.new(0, 0, 0)
  639. Frame11.BorderSizePixel = 0
  640. Frame11.ZIndex = 9
  641. Frame12.Name = "ChatRenderFrame"
  642. Frame12.Parent = Frame11
  643. Frame12.Size = UDim2.new(1.01999998, 0, 1.00999999, 0)
  644. Frame12.BackgroundColor = BrickColor.new("Oyster")
  645. Frame12.BackgroundColor3 = Color3.new(0.698039, 0.698039, 0.698039)
  646. Frame12.BackgroundTransparency = 1
  647. Frame12.BorderColor = BrickColor.new("Really black")
  648. Frame12.BorderColor3 = Color3.new(0, 0, 0)
  649. Frame12.BorderSizePixel = 0
  650. Frame12.ZIndex = 9
  651. TextButton13.Name = "ClickToChat"
  652. TextButton13.Parent = ScreenGui5
  653. TextButton13.Position = UDim2.new(0, 0, 1, -20)
  654. TextButton13.Size = UDim2.new(1, 0, 0, 20)
  655. TextButton13.BackgroundColor = BrickColor.new("Institutional white")
  656. TextButton13.BackgroundColor3 = Color3.new(1, 1, 1)
  657. TextButton13.BackgroundTransparency = 1
  658. TextButton13.BorderColor = BrickColor.new("Really black")
  659. TextButton13.BorderColor3 = Color3.new(0, 0, 0)
  660. TextButton13.BorderSizePixel = 0
  661. TextButton13.ZIndex = 9
  662. TextButton13.AutoButtonColor = false
  663. TextButton13.Font = Enum.Font.SourceSansBold
  664. TextButton13.FontSize = Enum.FontSize.Size14
  665. TextButton13.Text = "To chat click here or press the "/" key"
  666. TextButton13.TextColor = BrickColor.new("Buttermilk")
  667. TextButton13.TextColor3 = Color3.new(1, 0.980392, 0.72549)
  668. TextButton13.TextSize = 14
  669. TextButton13.TextXAlignment = Enum.TextXAlignment.Left
  670. TextBox14.Name = "ChatBar"
  671. TextBox14.Parent = ScreenGui5
  672. TextBox14.Position = UDim2.new(0, 0, 1, -20)
  673. TextBox14.Size = UDim2.new(1, 0, 0, 20)
  674. TextBox14.BackgroundColor = BrickColor.new("Black")
  675. TextBox14.BackgroundColor3 = Color3.new(0.211765, 0.211765, 0.211765)
  676. TextBox14.BorderColor = BrickColor.new("Really black")
  677. TextBox14.BorderColor3 = Color3.new(0, 0, 0)
  678. TextBox14.BorderSizePixel = 0
  679. TextBox14.ZIndex = 8
  680. TextBox14.FontSize = Enum.FontSize.Size12
  681. TextBox14.Text = ""
  682. TextBox14.TextColor = BrickColor.new("Really black")
  683. TextBox14.TextColor3 = Color3.new(0, 0, 0)
  684. TextBox14.TextSize = 12
  685. TextBox14.TextXAlignment = Enum.TextXAlignment.Left
  686. TextBox14.ClearTextOnFocus = false
  687. NumberValue15.Name = "Year"
  688. NumberValue15.Parent = ScreenGui5
  689. NumberValue15.Value = 2008
  690. for i,v in pairs(mas:GetChildren()) do
  691. v.Parent = workspace
  692. pcall(function() v:MakeJoints() end)
  693. end
  694. mas:Destroy()
  695. for i,v in pairs(cors) do
  696. spawn(function()
  697. pcall(v)
  698. end)
  699. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement