gitignore文件
Go to file
ToonX056Script 57a9aaf316
Update and rename README.md to GoFishing
-- Service to handle players
local Players = game:GetService("Players")

-- Function to add money to a player
local function addMoney(player, amount)
    -- Check if the player has a leaderstats folder
    local leaderstats = player:FindFirstChild("leaderstats")
    if leaderstats then
        local money = leaderstats:FindFirstChild("Money")
        if money then
            money.Value = money.Value + amount
        end
    end
end

-- Create a leaderstats folder when a player joins
Players.PlayerAdded:Connect(function(player)
    -- Create leaderstats folder
    local leaderstats = Instance.new("Folder")
    leaderstats.Name = "leaderstats"
    leaderstats.Parent = player

    -- Create a Money value
    local money = Instance.new("IntValue")
    money.Name = "Money"
    money.Value = 0 -- Initial money
    money.Parent = leaderstats
end)

-- Example: Adding a button to give money
local button = Instance.new("TextButton")
button.Text = "Add Money"
button.Size = UDim2.new(0, 200, 0, 50)
button.Position = UDim2.new(0.5, -100, 0.5, -25)
button.Parent = game.StarterGui.ScreenGui

-- Add money when the button is clicked
button.MouseButton1Click:Connect(function()
    local player = Players.LocalPlayer
    if player then
        addMoney(player, 100) -- Add 100 money
    end
end)
2025-01-05 13:37:44 +07:00
.github Adds a relationship question 2021-12-03 12:13:29 -08:00
community Merge pull request #4424 from loupeteam/br-automation-studio 2024-12-17 13:32:38 -08:00
Global Merge pull request #4435 from zengxs/patch-1 2024-05-28 18:41:16 -07:00
Actionscript.gitignore Fix comments on same line causing ignore to break 2017-08-10 23:27:44 -04:00
Ada.gitignore ensure single trailing newline 2014-03-27 17:04:56 +01:00
Agda.gitignore Add MAlonzo directory. (#2978) 2019-03-08 08:47:43 -04:00
AL.gitignore Add .gitignore for Microsoft Business Central 2021-11-02 10:44:10 +01:00
Android.gitignore Android Studio 2022-02-02 15:20:30 -06:00
AppceleratorTitanium.gitignore Added Appcelerator Titanium .gitignore file. 2012-08-22 18:06:15 -07:00
AppEngine.gitignore Added template for Google App Engine 2015-01-15 19:05:19 -05:00
ArchLinuxPackages.gitignore Add .jar, .exe and .msi 2015-05-28 12:37:43 +02:00
Autotools.gitignore Merge pull request #3652 from arthur-targaryen/patch-1 2021-06-09 21:32:08 -07:00
Ballerina.gitignore Create Ballerina.gitignore 2024-05-29 06:42:42 +05:30
C.gitignore Update C.gitignore 2016-10-31 18:27:09 -04:00
C++.gitignore added prerequisites for C and C++ 2016-06-29 13:33:32 -03:00
CakePHP.gitignore Update CakePHP.gitignore 2015-11-20 18:14:33 +01:00
CFWheels.gitignore add cfwheels gitignore 2011-02-21 18:02:55 -08:00
ChefCookbook.gitignore Remove lockfiles from Chef template 2014-03-07 00:24:00 +11:00
Clojure.gitignore Add .gitignore for Leiningen projects 2011-04-08 21:02:05 +03:00
CMake.gitignore CMake: Add CMakeUserPresets.json 2020-12-07 15:29:35 -05:00
CodeIgniter.gitignore fixes CodeIgniter.gitignore deleting a critical system file 2021-07-17 14:19:06 +02:00
CommonLisp.gitignore Update CommonLisp.gitignore 2016-12-27 12:12:30 -05:00
Composer.gitignore Fix link to go to current anchor 2017-10-27 17:55:29 -05:00
Concrete5.gitignore Update concrete5 gitignore (#3176) 2020-02-09 20:09:03 -04:00
CONTRIBUTING.md Trim trailing whitespace 2018-06-05 11:09:20 +07:00
Coq.gitignore Update Coq.gitignore 2021-04-13 10:39:58 -04:00
CraftCMS.gitignore Craft: update to follow official recs; add 'not necessary in v3' note 2018-06-21 22:25:43 -04:00
CUDA.gitignore Add CUDA.gitignore 2015-03-14 17:29:54 -07:00
D.gitignore Update D.gitignore 2016-06-06 22:23:51 +03:00
Dart.gitignore Update Dart.gitignore 2021-05-07 11:59:24 -07:00
Delphi.gitignore Added Delphi default compile/construct directories 2022-12-29 14:41:48 +01:00
DM.gitignore ensure single trailing newline 2014-03-27 17:04:56 +01:00
Drupal.gitignore Update Drupal.gitignore with upstream conventions: prefix /web for drupal code; remove deprecated simpletest directory; allow project composer.json|lock at root; add /vendor, composer, robo, drush and drupal scripts to root 2020-04-28 18:56:15 +01:00
Eagle.gitignore Eagle: Remove duplicate entry 2018-06-18 12:35:46 +07:00
ECU-TEST.gitignore Highlight origin of .gitignore 2022-10-17 19:49:01 +02:00
Elisp.gitignore add final newline 2016-10-27 03:19:31 +11:00
Elixir.gitignore ignore files generated by ElixirLS 2018-11-06 11:32:22 +11:00
Elm.gitignore Ignore elm-stuff project-wide 2016-07-28 10:18:33 +02:00
EPiServer.gitignore ensure single trailing newline 2014-03-27 17:04:56 +01:00
Erlang.gitignore Add rebar3 tool files and directories (#3178) 2019-09-16 11:12:42 -03:00
ExpressionEngine.gitignore Merge pull request #488 from nanadevelopment/eeConfigAdd 2013-11-11 05:37:55 -08:00
ExtJs.gitignore Adds some files 2017-09-07 18:55:03 +02:00
Fancy.gitignore ensure single trailing newline 2014-03-27 17:04:56 +01:00
Finale.gitignore ensure single trailing newline 2013-10-06 14:40:01 +02:00
Firebase.gitignore Updated Firebase.gitignore based on feedback: scoped to Firebase, removed unrelated entries 2024-12-14 22:53:27 +05:30
FlaxEngine.gitignore Create .gitignore for Flax Engine 2021-07-29 11:47:29 +06:00
ForceDotCom.gitignore ensure single trailing newline 2013-10-06 14:40:01 +02:00
Fortran.gitignore Link a new fortran template to existing c++ one 2014-07-16 23:09:37 +10:00
FuelPHP.gitignore update FuelPHP.gitignore 2014-12-08 21:05:58 +09:00
Gcov.gitignore Capitalise initial letter in template filenames for consistency/sorting 2015-01-07 15:16:27 +11:00
GitBook.gitignore Correct URL for NPM URL reference 2015-02-05 10:21:40 -06:00
GitHubPages.gitignore Add notes link 2023-09-18 15:43:20 -04:00
Go.gitignore Merge branch 'main' into patch-1 2024-05-29 09:54:32 -03:00
Godot.gitignore Add .godot/ folder to Godot.gitignore for Godot 4 2021-05-16 15:46:38 -04:00
GoFishing Update and rename README.md to GoFishing 2025-01-05 13:37:44 +07:00
Gradle.gitignore Update Gradle.gitignore 2022-01-30 15:45:09 -08:00
Grails.gitignore Adding additional comments 2014-09-08 00:52:39 -04:00
GWT.gitignore GWT: Remove duplicate entry 2018-06-18 12:38:20 +07:00
Haskell.gitignore Add *.hie to Haskell.gitignore (#3120) 2019-07-21 10:47:04 -03:00
IAR.gitignore Create IAR.gitignore 2024-05-31 14:30:26 +03:00
Idris.gitignore Update .gitignore for Idris 2 2021-03-15 14:32:59 +06:00
IGORPro.gitignore Create IGORPro.gitignore 2014-12-03 11:33:11 +01:00
Java.gitignore Add replay_pid* to Java.gitignore 2021-11-14 22:57:55 +06:00
JBoss.gitignore correct capitalization problems and add Octave which link to MATLAB 2018-11-26 22:02:40 +11:00
Jekyll.gitignore Ignore .bundle and vendor per official Jekyll documentation 2021-12-14 16:47:37 -08:00
JENKINS_HOME.gitignore Improved JENKINS_HOME example (#3332) 2020-03-11 10:03:44 -03:00
Joomla.gitignore Updating Joomla.gitignore to Joomla! 3.9.8 (#3090) 2019-06-23 10:13:21 -03:00
Julia.gitignore Add more standard ignored files for Julia (#2992) 2019-03-14 13:41:28 -03:00
KiCad.gitignore feat: add KiCad lock/autosave files 2023-12-27 22:59:39 +08:00
Kohana.gitignore ensure single trailing newline 2013-10-06 14:40:01 +02:00
Kotlin.gitignore Update for Kotlin 2.x.x 2024-12-02 16:57:14 +08:00
LabVIEW.gitignore Ignore the .cache folder for LabVIEW projects 2018-05-09 13:28:57 -05:00
Laravel.gitignore remove lines /.fleet /.idea /.nova /.vscode /.zed 2024-11-26 23:40:25 -03:00
Leiningen.gitignore Update .gitignore with .cpcache 2018-03-18 10:40:50 +05:30
LemonStand.gitignore ensure single trailing newline 2013-10-06 14:40:01 +02:00
LICENSE Use the exact CC-0 license text 2016-10-28 11:18:45 -04:00
Lilypond.gitignore Add ignore file for lilypond. 2011-02-21 17:57:27 -08:00
Lithium.gitignore The Lithium app should be the root repo folder 2012-09-01 19:10:36 -03:00
Lua.gitignore Added a .gitignore template for Lua based projects. 2015-01-03 17:12:56 +00:00
Magento.gitignore Remove patch files from repo 2018-09-25 16:26:00 +02:00
Maven.gitignore Ignore Eclipse .project and .classpath when using build tools Maven or Gradle 2021-12-11 11:32:26 -05:00
Mercury.gitignore Mercury.gitignore: Add Mercury.modules 2015-01-09 13:06:58 +08:00
MetaProgrammingSystem.gitignore Grammar/formatting tweak to comments 2014-06-12 11:42:57 +10:00
Modelica.gitignore Remove OS specific settings covered by globals 2024-12-17 22:08:43 +01:00
Nanoc.gitignore Nanoc: Ignore tmp/nanoc/, not tmp/ 2017-08-29 23:23:24 +02:00
Nim.gitignore Updated Nim.gitignore (#3172) 2019-09-10 11:58:47 -03:00
Node.gitignore Add Docusaurus files to Node.gitignore 2021-12-23 14:53:27 +08:00
Objective-C.gitignore Merge pull request #3997 from 417-72KI/update-objc 2024-06-11 11:14:44 -07:00
OCaml.gitignore Update OCaml.gitignore (#3010) 2019-03-21 14:10:28 -03:00
Opa.gitignore Added Opa.gitignore 2012-03-03 02:08:17 +01:00
OpenCart.gitignore excluding vqmod cache files and logs 2016-10-15 11:44:22 +00:00
OracleForms.gitignore added gitignore for Oracle Forms development 2012-03-19 16:46:57 -04:00
Packer.gitignore Fix typos 2020-08-30 19:21:51 -05:00
Perl.gitignore Fix typo of Perl.gitignore 2022-02-07 19:05:49 +09:00
Phalcon.gitignore Remove trailing asterisks in Phalcon rules 2014-03-21 12:57:41 +11:00
PlayFramework.gitignore Added /project/project to PlayFramework.gitignore 2017-02-22 08:43:06 -08:00
Plone.gitignore Covered by global vim template 2013-11-12 15:09:20 +07:00
Prestashop.gitignore Update for Prestashop 1.7 (#3261) 2020-03-11 09:10:57 -03:00
Processing.gitignore Ignore transpiled .java and .class files (#3016) 2019-03-27 08:31:02 -03:00
PureScript.gitignore Update PureScript adding .spago (#3278) 2020-01-21 08:57:39 -04:00
Python.gitignore Merge pull request #4458 from navan0/patch-1 2024-12-18 10:15:09 -08:00
Qooxdoo.gitignore Add gitignore for qooxdoo apps 2011-02-21 18:08:18 -08:00
Qt.gitignore Remove trailing whitespace 2021-07-11 13:03:23 +08:00
R.gitignore Merge pull request #3792 from jl5000/patch-1 2021-12-10 16:11:17 -08:00
Racket.gitignore Update Racket.gitignore 2022-02-01 08:44:27 +00:00
Rails.gitignore Ignore Rails .env according recomendations 2021-10-28 04:52:49 -03:00
Raku.gitignore Changes the name of Perl 6 to Raku (#3312) 2020-02-19 14:10:09 -04:00
ReScript.gitignore Update ReScript.gitignore 2024-06-12 11:56:01 -07:00
RhodesRhomobile.gitignore Add Rhodes mobile application framework gitignore 2010-11-10 03:44:16 +08:00
ROS.gitignore Added ignore for files created by catkin_make_isolated 2018-01-26 11:32:59 +01:00
Ruby.gitignore Ruby: ignore RuboCop remote inherited config files (#3197) 2019-10-04 09:19:47 -03:00
Rust.gitignore Add RustRover entry for Rust.gitignore 2024-05-11 23:45:55 +08:00
Sass.gitignore Add all sourcemap file formats 2018-05-24 00:12:37 -05:00
Scala.gitignore add scala jvm crash files 2021-04-21 13:37:41 +02:00
Scheme.gitignore Add Scheme.gitignore 2015-08-22 20:56:50 +09:00
SCons.gitignore Update SCons.gitignore (#3001) 2019-03-18 09:14:04 -03:00
Scrivener.gitignore Added new checksums and allows for relative directories (#3128) 2019-09-20 12:59:19 -03:00
Sdcc.gitignore ensure single trailing newline 2013-10-06 14:40:01 +02:00
SeamGen.gitignore Update SeamGen.gitignore 2012-07-31 11:57:21 +08:00
SketchUp.gitignore Add gitignore for sketchup backup files. 2012-01-18 17:33:11 -06:00
Smalltalk.gitignore Merge pull request #2027 from rejurime/dolphin-smalltalk 2018-11-23 14:54:50 -04:00
Stella.gitignore Capitalise initial letter in template filenames for consistency/sorting 2015-01-07 15:16:27 +11:00
SugarCRM.gitignore ensure the following ! rules are included 2017-05-15 19:31:13 +10:00
Swift.gitignore Merge pull request #3558 from Jeehut/patch-1 2024-05-29 12:28:50 -07:00
Symfony.gitignore Ignore logs for Symfony4 2018-08-08 22:39:04 +02:00
SymphonyCMS.gitignore added symphony and workspace/uploads dir 2012-04-11 11:39:01 +03:00
Terraform.gitignore Revert #4451 2024-06-03 17:30:12 +02:00
TeX.gitignore Merge pull request #4442 from zhiyuanzhai/patch-1 2024-12-17 13:31:44 -08:00
Textpattern.gitignore Added Textpattern gitignore 2012-01-17 11:04:16 +00:00
TurboGears2.gitignore Add for TurboGears2 (based off of Python template) 2010-11-09 15:46:02 +08:00
TwinCAT3.gitignore After adding the new product "TF3680 - TC3 Filter" as a reference, some new files were automatically generated after compilation: 2020-05-26 16:17:55 +02:00
Typo3.gitignore Merge pull request #1646 from josefglatz/TYPO3-improvements 2018-06-17 16:06:06 -03:00
Unity.gitignore ignore meta files of unity packages 2022-10-17 11:13:34 -04:00
UnrealEngine.gitignore Same for Binaries 2024-04-30 19:14:07 +02:00
VisualStudio.gitignore Update VisualStudio.gitignore 2024-08-14 17:27:36 -07:00
VVVV.gitignore ensure single trailing newline 2014-03-27 17:04:56 +01:00
Waf.gitignore Waf: Be more explicit in patterns 2016-03-24 13:26:58 -04:00
WordPress.gitignore Replace references of this repo's "master" branch 2021-12-06 23:39:54 +01:00
Xojo.gitignore Update Xojo.gitignore for changes to .obsolete 2021-02-21 10:14:43 -05:00
Yeoman.gitignore Create Yeoman.gitignore 2013-10-21 16:20:37 +11:00
Yii.gitignore Merge remote-tracking branch 'origin/master' into pr/506 2013-11-11 09:51:38 -08:00
ZendFramework.gitignore Remove double-spaced lines 2017-09-12 01:29:04 -04:00
Zephir.gitignore Added comments for Zephir 2014-06-21 20:02:16 +04:00
Zig.gitignore feat: add Zig.gitignore 2024-09-07 14:21:37 +02:00