Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- Put these stats inside another script that holds everything
- -- Saturation is how much food
- local Food = {
- ["Berry"] = {
- ["Hunger"] = 6,
- ["Thirst"] = 4,
- ["Health"] = 3
- }
- ["Turkey"] = {
- ["Hunger"] = 45,
- ["Thirst"] = 0,
- ["Health"] = 6
- }
- ["Herb"] = {
- ["Hunger"] = 3,
- ["Thirst"] = 1,
- ["Health"] = 25
- }
- ["Flesh"] = {
- ["Hunger"] = 15,
- ["Thirst"] = 2,
- ["Health"] = -15
- }
- }
- repeat
- wait()
- until script.Parent.Parent
- repeat
- wait()
- until script.Parent.Parent.Character
- local User = script.Parent.Parent
- local mouse = User:GetMouse()
- mouse.Button1Down:connect(function()
- if mouse.Target then
- Tar = mouse.Target
- if Tar.Name == "Berry" then
- end
- end
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement