Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #---------------------------------------------
- #---------------------------------------------
- #---------------------------------------------
- # SKRIPT OPTIONS
- # SKRIPT OPTIONS
- #---------------------------------------------
- options:
- version: 1.0.2
- chat: &e[L] &7&o(%player%) &f%{rp.%sender%}%&e: &a%message%
- chatglobal: &7[G] &7%prefix of player% &7%player%&7: &7%arg-1%
- prefix: &a&lFAZBEAR ENTERTAINMENT
- owner: Bonnie20402
- responsavel: &eLeft click to join!
- # MAPS AND TEXTURES
- # MAPS AND TEXTURES
- texturadefault: https://download.nodecdn.net/containers/nodecraft/minepack/17a046992b55d2ac08c4442fea920a95.zip
- fnaf1: roleplay-fnaf1
- textura1: https://download.nodecdn.net/containers/nodecraft/minepack/1e39af2c3b5175ca0c707470fae508f6.zip
- fnaf2: roleplay-fnaf2
- textura2: https://download.nodecdn.net/containers/nodecraft/minepack/b0f4c463620f25fe53c9c23c982141ff.zip
- fnaf3: roleplay-fnaf3
- textura3: https://download.nodecdn.net/containers/nodecraft/minepack/cf91a36c34af2abff3267bb01ea5441f.zip
- fnaf4: roleplay-fnaf4
- textura4: https://download.nodecdn.net/containers/nodecraft/minepack/bf2f0cc96bc634eca1ff02b0d5ba85cb.zip
- fnafsl: roleplay-fnafsl
- texturasl: https://download.nodecdn.net/containers/nodecraft/minepack/6fca7c8016f09eaa0c475a9cb79fe6e1.zip
- fnaf6: roleplay-fnaf6
- fnafucn: roleplay-ucn
- # GUI OPTIONS
- # GUI OPTIONS
- fnaf1name: &aFreddy Fazbear's Pizza &e1993 &7&o(FNAF1)
- fnaf2name: &aFreddy Fazbear's Pizza &e1987&7 (FNAF2)
- fnaf3name: &aFazbear Fright &7&o(FNAF 3)
- fnaf4name: &aFredbear Family Dinner &7&o(FNAF4)
- fnafslname: &aBaby's Circus World &7&o(Sister Location)
- # SECURITY
- # SECURITY
- ipdono: 95oops
- #---------------------------------------------
- #---------------------------------------------
- # SERVER BASIC EVENTS
- # SERVER BASIC EVENTS & COMMANDS
- #--------------------------------------------- # #
- #---------------------------------------------
- on first join:
- set {rp.%player%} to player's name
- set join message to "&e%player% &6joined for the first time!"
- on join:
- set {rp.%player%} to player's name
- set join message to "&e%player% &6joined the server!"
- wait 2 second
- send ""
- send "&cDEVELOPER MESSAGE: &cServer is based on FNAF. I have no intention to steal anyone's work. I just want to create my own fnaf server. %nl% &c&o- Bonnie20402 (AKA TugaG4mer)"
- send ""
- send "&aWelcome, %player% to {@prefix}"
- on quit:
- set quit message to "&e%player% &6left the server!"
- set {rp.%player%} to player's name
- command /check:
- permission: *
- permission message: §cOnly the owner may do this!
- trigger:
- set {_w1} to number of players in world "{@fnaf1}"
- set {_w2} to number of players in world "{@fnaf2}"
- set {_w3} to number of players in world "{@fnaf3}"
- set {_w4} to number of players in world "{@fnaf4}"
- set {_w5} to number of players in world "{@fnafsl}"
- set {_w6} to number of players in world "{@fnaf6}"
- set {_w7} to number of players in world "{@fnafucn}"
- set {_total} to number of players
- send "&a&L---==STRESS STATUS==---"
- send ""
- send "&a&oSERVER WORLDS:"
- send "&aFNAF1: &e%{_w1}%"
- send "&aFNAF2: &e%{_w2}%"
- send "&aFNAF3: &e%{_w3}%"
- send "&aFNAF4: &e%{_w4}%"
- send "&aFNAFSL: &e%{_w5}%"
- send "&aFNAF6: &e%{_w6}%"
- send "&aFNAFUCN: &e%{_w7}%" #
- send ""
- send "&a&oSERVER TOTAL PLAYERS: &e%{_total}%"
- send "&aCURRENT TPS: &e%tps%"
- command /texturepack [<text>]:
- aliases: /resourcepack, /texture, /resource, /pack
- trigger:
- if arg 1 is not set:
- send ""
- send "&c&lTEXTURE PACK DISCLAMER"
- send "&cNone of the texture packs were created by me. All the credits to the original owners"
- send ""
- send "&EUsage: /texture 1,2,3,4,sl,default"
- send "&eWe will inject the texture automatically."
- send "&cWARNING: In order to use Sister Location texture you must use minecraft 1.10+, or game will crash!"
- stop
- if arg 1 is "1":
- if player is in world "{@fnaf1}":
- send "&aRequesting..."
- wait 2 seconds
- send "&aTexture loading..."
- send resource pack from "{@textura1}" to player
- wait 4 seconds
- send "&aDONE! If the texture pack didn't automatically download, please make sure you have enabled &eserver resource packs&a."
- else:
- send "&aError: You must be in the&e fnaf 1 &amap in order to use this texture pack!"
- if arg 1 is "2":
- if player is in world "{@fnaf2}":
- send "&aRequesting..."
- wait 2 seconds
- send "&aTexture loading..."
- send resource pack from "{@textura2}" to player
- wait 4 seconds
- send "&aDONE! If the texture pack didn't automatically download, please make sure you have enabled &eserver resource packs&a."
- else:
- send "&aError: You must be in the&e fnaf 2 &amap in order to use this texture pack!"
- if arg 1 is "3":
- if player is in world "{@fnaf3}":
- send "&aRequesting..."
- wait 2 seconds
- send "&aTexture loading..."
- send resource pack from "{@textura3}" to player
- wait 7 seconds
- send "&aDONE! If the texture pack didn't automatically download, please make sure you have enabled &eserver resource packs&a."
- else:
- send "&aError: You must be in the&e fnaf 3 &amap in order to use this texture pack!"
- if arg 1 is "4":
- if player is in world "{@fnaf4}":
- send "&aRequesting..."
- wait 2 seconds
- send "&aTexture loading..."
- send resource pack from "{@textura4}" to player
- wait 7 seconds
- send "&aDONE! If the texture pack didn't automatically download, please make sure you have enabled &eserver resource packs&a."
- else:
- send "&aError: You must be in the&e fnaf 4 &amap in order to use this texture pack!"
- if arg 1 is "sl":
- if player is in world "{@fnafsl}":
- send "&aRequesting..."
- wait 2 seconds
- send "&aTexture loading..."
- send resource pack from "{@texturasl}" to player
- wait 7 seconds
- send "&aDONE! If the texture pack didn't automatically download, please make sure you have enabled &eserver resource packs&a."
- else:
- send "&aError: You must be in the&e sister location &amap in order to use this texture pack!"
- if arg 1 is "default" or "off":
- send "&aRequesting..."
- wait 2 seconds
- send "&aTexture loading..."
- send resource pack from "{@texturadefault}" to player
- wait 7 seconds
- send "&aDONE! If the texture pack didn't automatically download, please make sure you have enabled &eserver resource packs&a."
- command /nick [<text>]:
- aliases: /rp, /role, /roleplay, /name
- trigger:
- if arg 1 is not set:
- send "&aUsage format: /role (name)"
- send "&eBad words will get you banned from the server"
- send "&eUse /roleoff to turn roleplaying mode off"
- if arg 1 is set:
- if arg 1 contains "&":
- send "&eYou may not use color format in roleplay names"
- stop
- else:
- set {_impostorcheck::*} to all players
- if {_impostorcheck::*} contains arg-1:
- send "&cYou can't impersonate anyone."
- stop
- else:
- set {_rpcolor.%player%} to a random integer between 1 and 9
- if {_rpcolor.%player%} = 4:
- set {_rpcolor.%player%} to 9
- set {rp.%player%} to "§%{_rpcolor.%player%}%%arg-1%"
- send "&eYou role has been set to: %{rp.%player%}%"
- send "&eUse /roleoff to turn roleplaying mode off"
- command /roleoff:
- trigger:
- if {rp.%player%} = name of player:
- send "&eYou must have a role to use this command!"
- else:
- set {rp.%player%} to name of player
- send "&eYour role has been removed"
- #---------------------------------------------
- # SERVER CHAT
- # SERVER CHAT
- #--------------------------------------------- #
- on chat:
- cancel event
- send "{@chat}" to all players in world of player
- command /g [<text>]:
- trigger:
- if arg 1 is not set:
- send "&eUsage: /g (message)"
- send "&eGlobal chat won't use your role name."
- if arg 1 is set:
- broadcast "{@chatglobal}"
- #---------------------------------------------
- #---------------------------------------------
- # SERVER MOTD & tab
- # SERVER MOTD
- #--------------------------------------------- #
- #---------------------------------------------
- on server list ping:
- set motd to "&CFive nights at Freddy's: Roleplay &ev.{@version} %nl%&aPlay as your favourite aniamtronic!"
- every 30 minutes:
- loop all players:
- if loop-player has permission "vip.*":
- add 100 to money of loop-player
- send "&eCongrats! You've been &bVIP&e rewarded with &a$100!&e Keep playing!" to loop-player
- else:
- add 30 to money of loop-player
- send "&eCongrats! You've been &e rewarded with &a$100!&e Keep playing!" to loop-player
- #---------------------------------------------
- #---------------------------------------------
- # SERVER SCOREBOARD
- # SERVER SCOREBOARD
- #--------------------------------------------- #
- #---------------------------------------------
- every tick:
- loop all players:
- if {rp.%loop-player%} = loop-player's name:
- set loop-player tab name to "&e%prefix of loop-player% &f%loop-player%"
- stop
- else:
- set loop-player tab name to "&e[RolePlaying] &7%loop-player%"
- wait 1 second
- on command:
- if command = "baltop" or "balancetop" or "ebaltop" or "ebalancetop":
- cancel event
- send "&cThis command has been disabled for now. We will work on a better one in future updates!"
- on join:
- setup skoreboard for player
- while player is online:
- sb(player)
- function sb(p: player):
- set title of skoreboard {_p} to "{@prefix}"
- set slot 1 of skoreboard {_p} to "&aWelcome, &e%{_p}%"
- set slot 2 of skoreboard {_p} to "&aRole:&e %{rp.%{_p}%}%"
- set slot 3 of skoreboard {_p} to "&aMoney:&e %money of {_p}%"
- set slot 4 of skoreboard {_p} to "&aRank:&e %{_p}'s prefix%"
- set slot 6 of skoreboard {_p} to "&eversion {@version}"
- if {_p}'s world = "{@fnaf1}":
- set slot 5 of skoreboard {_p} to "&aRoleplay:&e Freddy Fazbear's Pizza 1993"
- if {_p}'s world = "{@fnaf2}":
- set slot 5 of skoreboard {_p} to "&aRoleplay:&e Freddy Fazbear's Pizza 1987"
- if {_p}'s world = "{@fnaf3}":
- set slot 5 of skoreboard {_p} to "&aRoleplay:&e Fazbear's Fright"
- if {_p}'s world = "{@fnaf4}":
- set slot 5 of skoreboard {_p} to "&aRoleplay:&e Fredbear's Family Dinner"
- if {_p}'s world = "{@fnafsl}":
- set slot 5 of skoreboard {_p} to "&aRoleplay:&e Baby's Circus World"
- if {_p}'s world = "{@fnaf6}":
- set slot 5 of skoreboard {_p} to "&aRoleplay:&e FNaF 6 Pizzaria"
- if {_p}'s world = "{@fnafucn}":
- set slot 5 of skoreboard {_p} to "&aRoleplay:&e Ultimate Custom Night"
- #--------------------------------------------- #
- #---------------------------------------------
- # server gui
- # server gui
- #--------------------------------------------- #
- #---------------------------------------------
- command /warp:
- aliases: /fnaf, /server, /maps, /worlds, /warp, /spawn
- trigger:
- set {_w1} to number of players in world "{@fnaf1}"
- set {_w2} to number of players in world "{@fnaf2}"
- set {_w3} to number of players in world "{@fnaf3}"
- set {_w4} to number of players in world "{@fnaf4}"
- set {_w5} to number of players in world "{@fnafsl}"
- set {_w6} to number of players in world "{@fnafucn}"
- create a gui with id "warp" with virtual chest with 3 rows named "&f&lROLEPLAY WORLD SELECT":
- make gui 10 with white wool named "{@fnaf1name}" with lore "", "&a&l ⚫ &7Join &e%{_w1}% &7other roleplayers!", "&a&l ⚫ &7Resource Pack: &e1.8+", "", and "{@responsavel}":
- IrFnaf1(player)
- close player's inventory
- make gui 12 with white wool named "{@fnaf2name}" with lore "", "&a&l ⚫ &7Join &e%{_w2}% &7other roleplayers!", "&a&l ⚫ &7Resource Pack: &e1.8+", "", and "{@responsavel}":
- IrFnaf2(player)
- close player's inventory
- make gui 14 with white wool named "{@fnaf3name}" with lore "", "&a&l ⚫ &7Join &e%{_w3}% &7other roleplayers!", "&a&l ⚫ &7Resource Pack: &e1.8+", "", and "{@responsavel}":
- IrFnaf3(player)
- close player's inventory
- make gui 16 with white wool named "{@fnaf4name}" with lore "", "&a&l ⚫ &7Join &e%{_w4}% &7other roleplayers!", "&a&l ⚫ &7Resource Pack: &e1.8+", "", and "{@responsavel}":
- IrFnaf4(player)
- close player's inventory
- make gui 13 with red wool named "{@fnafslname}" with lore "", "&a&l ⚫ &7Join &e%{_w5}% &7other roleplayers!", "&a&l ⚫ &7Resource Pack: &c1.10+", "", and "{@responsavel}":
- IrFnafSL(player)
- close player's inventory
- make gui 15 with blue wool named "{@fnafucnname}" with lore "", "&a&l ⚫ &7Join &e%{_w6}% &7other roleplayers!", "&a&l ⚫ &7Resource Pack: &caNo need", "", and "{@responsavel}":
- IrFnafUCN(player)
- close player's inventory
- open gui "warp" to player
- function IrFnaf1(p: player):
- teleport {_p} to {spawn.fnaf1}
- send {_p} title "{@prefix}" with subtitle "&eWelcome to Freddy Fazbear's Pizza, %{_p}%!" for 6 seconds
- send "" to {_p}
- send "{@prefix}" to {_p}
- send "" to {_p}
- send "&AYou teleported to: &EFreddy Fazbear Pizzaria" to {_p}
- send "&aTo apply the correct texture pack use: &e/texture 1" to {_p}
- send "&aTo get a role use: &e/role <name>" to {_p}
- send "&aWe hope you have fun" to {_p}
- send "" to {_p}
- function IrFnaf2(p: player):
- teleport {_p} to {spawn.fnaf2}
- send {_p} title "{@prefix}" with subtitle "&eWelcome to Freddy Fazbear's Pizza 2, %{_p}%!" for 6 seconds
- send "" to {_p}
- send "{@prefix}" to {_p}
- send "" to {_p}
- send "&AYou teleported to: &EFreddy Fazbear Pizzaria 2" to {_p}
- send "&aTo apply the correct texture pack use: &e/texture 2" to {_p}
- send "&aTo get a role use: &e/role <name>" to {_p}
- send "&aWe hope you have fun" to {_p}
- send "" to {_p}
- function IrFnaf3(p: player):
- teleport {_p} to {spawn.fnaf3}
- send {_p} title "{@prefix}" with subtitle "&eWelcome to Fazbear Fright, %{_p}%!" for 6 seconds
- send "" to {_p}
- send "{@prefix}" to {_p}
- send "" to {_p}
- send "&AYou teleported to: &EFazbear Fright" to {_p}
- send "&aTo apply the correct texture pack use: &e/texture 3" to {_p}
- send "&aTo get a role use: &e/role <name>" to {_p}
- send "&aWe hope you have fun" to {_p}
- send "" to {_p}
- function IrFnaf4(p: player):
- teleport {_p} to {spawn.fnaf4}
- send {_p} title "{@prefix}" with subtitle "&eWelcome to Fredbear Family Dinner, %{_p}%!" for 6 seconds
- send "" to {_p}
- send "{@prefix}" to {_p}
- send "" to {_p}
- send "&AYou teleported to: &EFredbear Family Dinner" to {_p}
- send "&aTo apply the correct texture pack use: &e/texture 4" to {_p}
- send "&aTo get a role use: &e/role <name>" to {_p}
- send "&aWe hope you have fun" to {_p}
- send "" to {_p}
- function IrFnafSL(p: player):
- teleport {_p} to {spawn.fnafsl}
- send {_p} title "{@prefix}" with subtitle "&eWelcome to Sister Location, %{_p}%!" for 6 seconds
- send "" to {_p}
- send "{@prefix}" to {_p}
- send "" to {_p}
- send "&AYou teleported to: &ESister Location" to {_p}
- send "&aTo apply the correct texture pack use: &e/texture sl &c&l1.10+ ONLY" to {_p}
- send "&aTo get a role use: &e/role <name>" to {_p}
- send "&aWe hope you have fun" to {_p}
- send "" to {_p}
- function IrFnafUCN(p: player):
- teleport {_p} to {spawn.fnafucn}
- send {_p} title "{@prefix}" with subtitle "&eWelcome to Ultimate Custom Night, %{_p}%!" for 6 seconds
- send "" to {_p}
- send "{@prefix}" to {_p}
- send "" to {_p}
- send "&AYou teleported to: &EUltimate Custom Night" to {_p}
- send "&aTo apply the correct texture pack use: &e/texture off" to {_p}
- send "&aTo get a role use: &e/role <name>" to {_p}
- send "&aWe hope you have fun" to {_p}
- send "" to {_p}
- #----------
- #_---------------
- # BAD SECURITY
- # LOOOOL
- #-----------------
- #_-------------------
- on connect:
- set {_name} to player's name
- if {_name} = "TugaG4mer":
- set {_ip} to player's ip
- if {_ip} = "{@ipdono}":
- stop
- else:
- kick player due to "{@prefix} &c&lSECURITY %nl%&cHonestly, why did you did this?%nl%&cYou think you're cool?%nl%&cYou think you're the best?%nl%&CWell my friend you just got IP BANNED, go play ROBLOX NOW :3"
- on command:
- if command = "pex" or "op" or "permissionsex" or "minecraft:op" or "permissionsex:pex" or "permissionsex:demote" or "permissionsex:promote":
- set {_antic} to player
- if {_antic} = player:
- set {_ip} to player's ip
- if {_ip} = "{@ipdono}":
- stop
- else:
- cancel event
- send "&cI'm sorry, but you do not have permission to perform this command. Please contact the server administrator if you believe that this is an error."
Advertisement
Add Comment
Please, Sign In to add comment