Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- Converted using Mokiros's Model to Script plugin
- -- Converted string size: 12737
- local genv={}
- local Scripts = {
- function() function onTouched(hit)
- local human = hit.Parent:findFirstChild("Humanoid")
- if (human ~= nil) then
- human.Health = human.Health - 5 -- Change the amount to change the damage.
- end
- end
- script.Parent.Touched:connect(onTouched) end;
- function() name="NPC"
- robo=script.Parent:clone()
- while true do
- wait(15)
- if script.Parent.NPC.Health<1 then
- robot=robo:clone()
- robot.Parent=script.Parent.Parent
- robot:makeJoints()
- script.Parent:remove()
- end
- end
- end;
- 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, "NPC")
- local pose = "Standing"
- local currentAnim = ""
- local currentAnimInstance = nil
- local currentAnimTrack = nil
- local currentAnimKeyframeHandler = nil
- local currentAnimSpeed = 1.0
- 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 = {}
- -- check for config values
- local config = script:FindFirstChild(name)
- if (config ~= nil) then
- -- print("Loading anims " .. name)
- 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
- return oldAnim
- end
- function setAnimationSpeed(speed)
- if speed ~= currentAnimSpeed then
- currentAnimSpeed = speed
- currentAnimTrack:AdjustSpeed(currentAnimSpeed)
- end
- end
- function keyFrameReachedFunc(frameName)
- if (frameName == "End") then
- -- 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
- -- Preload animations
- function playAnimation(animName, transitionTime, humanoid)
- 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
- -- 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
- 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)
- 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 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
- -- 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 = 15.0
- playAnimation("walk", 0.1, Humanoid)
- setAnimationSpeed(speed / scale)
- pose = "Running"
- else
- playAnimation("idle", 0.1, Humanoid)
- pose = "Standing"
- 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 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
- 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 moveSit()
- RightShoulder.MaxVelocity = 0.15
- LeftShoulder.MaxVelocity = 0.15
- RightShoulder:SetDesiredAngle(3.14 /2)
- LeftShoulder:SetDesiredAngle(-3.14 /2)
- RightHip:SetDesiredAngle(3.14 /2)
- LeftHip:SetDesiredAngle(-3.14 /2)
- 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 then
- 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
- script.msg.Changed:connect(function(msg)
- script.msg.Value = ""
- 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)
- -- main program
- local runService = game:service("RunService");
- -- print("bottom")
- -- initialize to idle
- playAnimation("idle", 0.1, Humanoid)
- pose = "Standing"
- while Figure.Parent~=nil do
- local _, time = wait(0.1)
- move(time)
- end
- end;
- function() --Responsible for regening a player's humanoid's health
- -- declarations
- local Figure = script.Parent
- local Head = Figure:WaitForChild("Head")
- local Humanoid = Figure:WaitForChild("NPC")
- 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;
- function() local larm = script.Parent:FindFirstChild("HumanoidRootPart")
- local rarm = script.Parent:FindFirstChild("HumanoidRootPart")
- function findNearestTorso(pos)
- local list = game.Workspace:children()
- local torso = nil
- local dist = 10000
- local temp = nil
- local human = nil
- local temp2 = nil
- for x = 1, #list do
- temp2 = list[x]
- if (temp2.className == "Model") and (temp2 ~= script.Parent) then
- temp = temp2:findFirstChild("HumanoidRootPart")
- human = temp2:findFirstChild("Humanoid")
- if (temp ~= nil) and (human ~= nil) and (human.Health > 0) then
- if (temp.Position - pos).magnitude < dist then
- torso = temp
- dist = (temp.Position - pos).magnitude
- end
- end
- end
- end
- return torso
- end
- while true do
- wait(math.random(1,5))
- local target = findNearestTorso(script.Parent.HumanoidRootPart.Position)
- if target ~= nil then
- script.Parent.NPC:MoveTo(target.Position, target)
- end
- end
- end;}local ActualScripts = {}
- function s(var)
- local func = table.remove(Scripts,1)
- setfenv(func,setmetatable({script=var,require=fake_require or require,global=genv},{
- __index = getfenv(func),
- }))
- table.insert(ActualScripts,coroutine.wrap(func))
- end
- Decode = function(str,t,props,classes,values,ICList,Model,CurPar,LastIns,split,RemoveAndSplit,InstanceList)
- local tonum,table_remove,inst,parnt,comma,table_foreach = tonumber,table.remove,Instance.new,"Parent",",",
- function(t,f)
- for a,b in pairs(t) do
- f(a,b)
- end
- end
- local Types = {
- Color3 = Color3.new,
- Vector3 = Vector3.new,
- Vector2 = Vector2.new,
- UDim = UDim.new,
- UDim2 = UDim2.new,
- CFrame = CFrame.new,
- Rect = Rect.new,
- NumberRange = NumberRange.new,
- BrickColor = BrickColor.new,
- PhysicalProperties = PhysicalProperties.new,
- NumberSequence = function(...)
- local a = {...}
- local t = {}
- repeat
- t[#t+1] = NumberSequenceKeypoint.new(table_remove(a,1),table_remove(a,1),table_remove(a,1))
- until #a==0
- return NumberSequence.new(t)
- end,
- ColorSequence = function(...)
- local a = {...}
- local t = {}
- repeat
- t[#t+1] = ColorSequenceKeypoint.new(table_remove(a,1),Color3.new(table_remove(a,1),table_remove(a,1),table_remove(a,1)))
- until #a==0
- return ColorSequence.new(t)
- end,
- number = tonumber,
- boolean = function(a)
- return a=="1"
- end
- }
- split = function(str,sep)
- if not str then return end
- local fields = {}
- local ConcatNext = false
- str:gsub(("([^%s]+)"):format(sep),function(c)
- if ConcatNext == true then
- fields[#fields] = fields[#fields]..sep..c
- ConcatNext = false
- else
- fields[#fields+1] = c
- end
- if c:sub(#c)=="\\" then
- c = fields[#fields]
- fields[#fields] = c:sub(1,#c-1)
- ConcatNext = true
- end
- end)
- return fields
- end
- RemoveAndSplit = function(t)
- return split(table_remove(t,1),comma)
- end
- t = split(str,";")
- props = RemoveAndSplit(t)
- classes = RemoveAndSplit(t)
- values = split(table_remove(t,1),'|')
- ICList = RemoveAndSplit(t)
- InstanceList = {}
- Model = inst"Model"
- CurPar = Model
- table_foreach(t,function(ct,c)
- if c=="n" or c=="p" then
- CurPar = c=="n" and LastIns or CurPar[parnt]
- else
- ct = split(c,"|")
- local class = classes[tonum(table_remove(ct,1))]
- if class=="UnionOperation" then
- LastIns = {UsePartColor="1"}
- else
- LastIns = inst(class)
- if LastIns:IsA"Script" then
- s(LastIns)
- elseif LastIns:IsA("ModuleScript") then
- ms(LastIns)
- end
- end
- local function SetProperty(LastIns,p,str,s)
- s = Types[typeof(LastIns[p])]
- if p=="CustomPhysicalProperties" then
- s = PhysicalProperties.new
- end
- if s then
- LastIns[p] = s(unpack(split(str,comma)))
- else
- LastIns[p] = str
- end
- end
- local UnionData
- table_foreach(ct,function(s,p,a,str)
- a = p:find":"
- p,str = props[tonum(p:sub(1,a-1))],values[tonum(p:sub(a+1))]
- if p=="UnionData" then
- UnionData = split(str," ")
- return
- end
- if class=="UnionOperation" then
- LastIns[p] = str
- return
- end
- SetProperty(LastIns,p,str)
- end)
- if UnionData then
- local LI_Data = LastIns
- LastIns = DecodeUnion(UnionData)
- table_foreach(LI_Data,function(p,str)
- SetProperty(LastIns,p,str)
- end)
- end
- table.insert(InstanceList,LastIns)
- LastIns[parnt] = CurPar
- end
- end)
- table_remove(ICList,1)
- table_foreach(ICList,function(a,b)
- b = split(b,">")
- InstanceList[tonum(b[1])][props[tonum(b[2])]] = InstanceList[tonum(b[3])]
- end)
- return Model:GetChildren()
- end
- local Objects = Decode('Name,Color,Transparency,Position,Orientation,Size,CanCollide,CFrame,Value,C0,C1,Part0,Part1,Rotation,PantsTemplate,ShirtTemplate,HealthDisplayDistance,NameDisplayDistance,Health,MaxHealth,HipHeight,Ju'
- ..'mpPower,WalkSpeed,HeadColor3,LeftArmColor3,RightArmColor3,LeftLegColor3,RightLegColor3,TorsoColor3,BottomSurface,TopSurface,MeshId,MeshType,Texture,AnimationId,Scale,TextureId;Part,Model,MeshPart,Atta'
- ..'chment,Vector3Value,Motor6D,Pants,Shirt,Humanoid,Script,BodyColors,SpecialMesh,Decal,Weld,StringValue,Animation,NumberValue,Accessory;Part|Felipe| |LeftFoot|0.945,0.9058,0.7803|1|98.8964,0.1677,8.9512'
- ..'|0,90.04,0|1.0006,0.3354,1.0002|0|LeftAnkleRigAttachment|-0.0091,0.0324,0.0001|-0.0091,0.0324,0.0001,1,0,0,0,1,0,0,0,1|OriginalSize|LeftAnkle|-0.0039,-0.7102,0.0003,1,0,0,0,1,0,0,0,1|LeftHand|1,0.8,0.'
- ..'6|98.8975,2.1668,9.9546|0.9992,0.3352,1.0002|LeftWristRigAttachment|-0.0004,0.0579,-0.0155|-0.0004,0.0579,-0.0155,1,0,0,0,1,0,0,0,1|LeftGripAttachment|-0.0109,-0.1687,-0.0155|-90,-0,0|-90,-0,-0|-0.010'
- ..'9,-0.1687,-0.0155,1,0,-0,0,0,1,0,-1,0|LeftWrist|-0.0017,-0.6823,-0.0099,1,0,0,0,1,0,0,0,1|LeftLowerArm|98.8919,2.907,9.9533|1.0002,1.2656,1.0002|LeftElbowRigAttachment|-0.0017,0.1229,-0.0099|-0.0017,0'
- ..'.1229,-0.0099,1,0,0,0,1,0,0,0,1|-0.0017,-0.6823,-0.0099|LeftElbow|-0.0017,-0.2632,-0.0095,1,0,0,0,1,0,0,0,1|LeftLowerLeg|98.8963,0.9103,8.9564|1.0002,1.4896,1.0003|LeftKneeRigAttachment|-0.0039,0.2898'
- ..',0.0003|-0.0039,0.2898,0.0003,1,0,0,0,1,0,0,0,1|-0.0039,-0.7102,0.0003|LeftKnee|-0.0039,-0.2645,0.0005,1,0,0,0,1,0,0,0,1|LeftUpperArm|98.8915,3.293,9.9533|1.0002,1.3955,1.0002|LeftShoulderRigAttachmen'
- ..'t|0.2479,0.4567,-0.0095|0.2479,0.4567,-0.0095,1,0,0,0,1,0,0,0,1|-0.0017,-0.2632,-0.0095|LeftShoulderAttachment|-0.0121,0.7097,-0.0095|-0.0121,0.7097,-0.0095,1,0,0,0,1,0,0,0,1|LeftShoulder|-1.2496,0.55'
- ..'64,-0.0156,1,0,0,0,1,0,0,0,1|LeftUpperLeg|98.8961,1.4646,8.9564|1.0002,1.5362,1.0009|LeftHipRigAttachment|-0.0039,0.4851,0.0006|-0.0039,0.4851,0.0006,1,0,0,0,1,0,0,0,1|-0.0039,-0.2645,0.0005|LeftHip|-'
- ..'0.5046,-0.2431,0.0012,1,0,0,0,1,0,0,0,1|LowerTorso|0.2,0.345,0.5098|98.8952,2.1928,8.4557|2.0001,0.4,1.0002|RootRigAttachment|0.0002,0.133,-0.0143|0.0002,0.133,-0.0143,1,0,0,0,1,0,0,0,1|WaistRigAttach'
- ..'ment|0.0002,0.5371,-0.0143|0.0002,0.5371,-0.0143,1,0,0,0,1,0,0,0,1|-0.5046,-0.2431,0.0012|RightHipRigAttachment|0.505,-0.2433,0.001|0.505,-0.2433,0.001,1,0,0,0,1,0,0,0,1|WaistFrontAttachment|0.0002,-0'
- ..'.0669,-0.5013|0.0002,-0.0669,-0.5013,1,0,0,0,1,0,0,0,1|WaistCenterAttachment|0.0002,-0.0669,-0.0143|0.0002,-0.0669,-0.0143,1,0,0,0,1,0,0,0,1|WaistBackAttachment|0.0002,-0.0669,0.4908|0.0002,-0.0669,0.'
- ..'4908,1,0,0,0,1,0,0,0,1|Root|Pants|http://www.roblox.com/asset/?id=161777997|RightFoot|98.8957,0.1677,7.9596|RightAnkleRigAttachment|0.009,0.0318,0.0001|0.009,0.0318,0.0001,1,0,0,0,1,0,0,0,1|RightAnkle'
- ..'|0.0038,-0.7108,0.0002,1,0,0,0,1,0,0,0,1|RightHand|98.8952,2.1669,6.9563|RightWristRigAttachment|0.0008,0.0581,-0.0155|0.0008,0.0581,-0.0155,1,0,0,0,1,0,0,0,1|RightGripAttachment|0.0108,-0.1687,-0.015'
- ..'5|0.0108,-0.1687,-0.0155,1,0,-0,0,0,1,0,-1,0|RightWrist|0.0021,-0.6821,-0.0099,1,0,0,0,1,0,0,0,1|RightLowerArm|98.8897,2.907,6.9576|0.0021,-0.6821,-0.0099|RightElbowRigAttachment|0.0021,0.1229,-0.0099'
- ..'|0.0021,0.1229,-0.0099,1,0,0,0,1,0,0,0,1|RightElbow|0.0021,-0.2632,-0.0095,1,0,0,0,1,0,0,0,1|RightLowerLeg|98.8956,0.9103,7.9544|RightKneeRigAttachment|0.0038,0.2892,0.0001|0.0038,0.2892,0.0001,1,0,0,'
- ..'0,1,0,0,0,1|0.0038,-0.7108,0.0002|RightKnee|0.0038,-0.2651,0.0004,1,0,0,0,1,0,0,0,1|RightUpperArm|98.8892,3.2931,6.9576|RightShoulderRigAttachment|-0.2479,0.4568,-0.0095|-0.2479,0.4568,-0.0095,1,0,0,0'
- ..',1,0,0,0,1|0.0021,-0.2632,-0.0095|RightShoulderAttachment|0.0121,0.7097,-0.0095|0.0121,0.7097,-0.0095,1,0,0,0,1,0,0,0,1|RightShoulder|1.2503,0.5565,-0.0156,1,0,0,0,1,0,0,0,1|RightUpperLeg|98.8953,1.46'
- ..'46,7.9544|0.0038,0.4849,0.0004|0.0038,0.4849,0.0004,1,0,0,0,1,0,0,0,1|0.0038,-0.2651,0.0004|RightHip|Shirt|http://www.roblox.com/asset/?id=161205001|NPC|50|400|1.35|15|UpperTorso|98.8965,3.1934,8.4558'
- ..'|2.0002,1.6009,1.0005|0.0003,-0.4635,-0.0156|0.0003,-0.4635,-0.0156,1,0,0,0,1,0,0,0,1|NeckRigAttachment|0.0003,0.806,-0.0156|0.0003,0.806,-0.0156,1,0,0,0,1,0,0,0,1|-1.2496,0.5564,-0.0156|1.2503,0.5565'
- ..',-0.0156|LeftCollarAttachment|-0.9997,0.8042,-0.0156|-0.9997,0.8042,-0.0156,1,0,0,0,1,0,0,0,1|RightCollarAttachment|1.0003,0.8042,-0.0156|1.0003,0.8042,-0.0156,1,0,0,0,1,0,0,0,1|BodyBackAttachment|0.0'
- ..'003,-0.2241,0.5231|0.0003,-0.2241,0.5231,1,0,0,0,1,0,0,0,1|BodyFrontAttachment|0.0003,-0.2241,-0.4987|0.0003,-0.2241,-0.4987,1,0,0,0,1,0,0,0,1|Waist|Damage Script|HumanoidRootPart|98.8809,2.3258,8.455'
- ..'4|2,2,1|Head|98.8771,4.5651,8.4555|1,1,1|0|http://www.roblox.com/asset?id=419776358|5|FaceCenterAttachment|0,0.0003,0.0038|-0.0001,-0.0001,-0.0001|0,0.0003,0.0038,1,0,-0.0001,-0.0001,1,0,0,-0.0001,1|-'
- ..'0.0001,-0.5657,0.0038|-0.0001,-0.5657,0.0038,1,0,0,0,1,0,0,0,1|FaceFrontAttachment|0,0,-0.5934|0,0,-0.5934,1,0,-0.0001,-0.0001,1,0,0,-0.0001,1|HairAttachment|0,0.5991,0.0038|0,0.5991,0.0038,1,0,-0.000'
- ..'1,-0.0001,1,0,0,-0.0001,1|HatAttachment|NeckAttachment|-0.0001,-0.5776,0.0038|-0.0001,-0.5776,0.0038,1,0,-0.0001,-0.0001,1,0,0,-0.0001,1|Neck|http://www.roblox.com/asset/?id=116685591|HeadWeld|0,0.5,0'
- ..',1,0,0,0,1,0,0,0,1|Respawn|Animate|msg|climb|ClimbAnim|http://www.roblox.com/asset/?id=507765644|fall|FallAnim|http://www.roblox.com/asset/?id=507767968|idle|Animation1|http://www.roblox.com/asset/?id'
- ..'=507766388|Weight|9|Animation2|http://www.roblox.com/asset/?id=507766666|jump|JumpAnim|http://www.roblox.com/asset/?id=507765000|run|RunAnim|http://www.roblox.com/asset/?id=5077677142|sit|SitAnim|http'
- ..'://www.roblox.com/asset/?id=507768133|swim|Swim|http://www.roblox.com/asset/?id=507784897|swimidle|SwimIdle|http://www.roblox.com/asset/?id=481825862|toolnone|ToolNoneAnim|http://www.roblox.com/asset/'
- ..'?id=507768375|walk|http://www.roblox.com/asset/?id=507777826|Health|Handle|98.8771,5.0651,8.4555|4,1,2|4,4,4|rbxassetid://4125549274|http://www.roblox.com/asset/?id=4125544592;0,6>12>17,6>13>3,11>12>1'
- ..'2,11>13>7,16>12>22,16>13>12,21>12>46,21>13>17,26>12>130,26>13>22,28>12>130,28>13>22,29>12>130,29>13>22,30>12>130,30>13>22,31>12>130,31>13>22,32>12>130,32>13>22,33>12>130,33>13>22,34>12>130,34>13>22,35'
- ..'>12>130,35>13>22,36>12>130,36>13>22,37>12>130,37>13>22,38>12>130,38>13>22,39>12>130,39>13>22,40>12>130,40>13>22,41>12>130,41>13>22,42>12>130,42>13>22,43>12>130,43>13>22,44>12>130,44>13>22,45>12>130,45'
- ..'>13>22,50>12>51,50>13>46,59>12>161,59>13>51,61>12>161,61>13>51,62>12>161,62>13>51,63>12>161,63>13>51,64>12>161,64>13>51,65>12>161,65>13>51,66>12>161,66>13>51,67>12>161,67>13>51,68>12>161,68>13>51,69>1'
- ..'2>161,69>13>51,70>12>161,70>13>51,71>12>161,71>13>51,72>12>161,72>13>51,73>12>161,73>13>51,74>12>161,74>13>51,75>12>161,75>13>51,76>12>161,76>13>51,77>12>161,77>13>51,78>12>161,78>13>51,83>12>94,83>13'
- ..'>80,88>12>89,88>13>84,93>12>99,93>13>89,98>12>123,98>13>94,103>12>130,103>13>99,105>12>130,105>13>99,106>12>130,106>13>99,107>12>130,107>13>99,108>12>130,108>13>99,109>12>130,109>13>99,110>12>130,110>'
- ..'13>99,111>12>130,111>13>99,112>12>130,112>13>99,113>12>130,113>13>99,114>12>130,114>13>99,115>12>130,115>13>99,116>12>130,116>13>99,117>12>130,117>13>99,118>12>130,118>13>99,119>12>130,119>13>99,120>1'
- ..'2>130,120>13>99,121>12>130,121>13>99,122>12>130,122>13>99,127>12>51,127>13>123,139>12>51,139>13>130,141>12>51,141>13>130,142>12>51,142>13>130,143>12>51,143>13>130,144>12>51,144>13>130,145>12>51,145>13'
- ..'>130,146>12>51,146>13>130,147>12>51,147>13>130,148>12>51,148>13>130,149>12>51,149>13>130,150>12>51,150>13>130,151>12>51,151>13>130,152>12>51,152>13>130,153>12>51,153>13>130,154>12>51,154>13>130,155>12'
- ..'>51,155>13>130,156>12>51,156>13>130,157>12>51,157>13>130,159>12>51,159>13>130,172>12>130,172>13>164,174>12>130,174>13>164,175>12>130,175>13>164,176>12>130,176>13>164,177>12>130,177>13>164,178>12>130,1'
- ..'78>13>164,179>12>130,179>13>164,180>12>130,180>13>164,182>12>130,182>13>164,183>12>130,183>13>164,184>12>130,184>13>164,185>12>130,185>13>164,186>12>130,186>13>164,187>12>130,187>13>164,188>12>130,188'
- ..'>13>164,189>12>130,189>13>164,190>12>130,190>13>164,191>12>130,191>13>164,192>12>130,192>13>164,193>12>164,193>13>223;2|1:2;n;2|1:3;n;3|1:4|2:5|3:6|4:7|5:8|6:9|7:10|2:5|2:5;n;4|1:11|4:12|8:13;5|1:14|9'
- ..':9;6|1:15|10:16|11:13;p;3|1:17|2:18|3:6|4:19|5:8|6:20|7:10|2:18|2:18;n;4|1:21|4:22|8:23;4|1:24|4:25|5:26|14:27|8:28;5|1:14|9:20;6|1:29|10:30|11:23;p;3|1:31|2:18|3:6|4:32|5:8|6:33|7:10|2:18|2:18;n;4|1:'
- ..'34|4:35|8:36;4|1:21|4:37|8:30;5|1:14|9:33;6|1:38|10:39|11:36;p;3|1:40|2:5|3:6|4:41|5:8|6:42|7:10|2:5|2:5;n;4|1:43|4:44|8:45;4|1:11|4:46|8:16;5|1:14|9:42;6|1:47|10:48|11:45;p;3|1:49|2:18|3:6|4:50|5:8|6'
- ..':51|7:10|2:18|2:18;n;4|1:52|4:53|8:54;4|1:34|4:55|8:39;4|1:56|4:57|8:58;6|1:59|10:60|11:54;5|1:14|9:51;6|1:59|10:60|11:54;6|1:59|10:60|11:54;6|1:59|10:60|11:54;6|1:59|10:60|11:54;6|1:59|10:60|11:54;6|'
- ..'1:59|10:60|11:54;6|1:59|10:60|11:54;6|1:59|10:60|11:54;6|1:59|10:60|11:54;6|1:59|10:60|11:54;6|1:59|10:60|11:54;6|1:59|10:60|11:54;6|1:59|10:60|11:54;6|1:59|10:60|11:54;6|1:59|10:60|11:54;6|1:59|10:60'
- ..'|11:54;6|1:59|10:60|11:54;6|1:59|10:60|11:54;p;3|1:61|2:5|3:6|4:62|5:8|6:63|7:10|2:5|2:5;n;4|1:64|4:65|8:66;4|1:43|4:67|8:48;5|1:14|9:63;6|1:68|10:69|11:66;p;3|1:70|2:71|3:6|4:72|5:8|6:73|2:71|2:71;n;'
- ..'4|1:74|4:75|8:76;4|1:77|4:78|8:79;4|1:64|4:80|8:69;4|1:81|4:82|8:83;4|1:84|4:85|8:86;4|1:87|4:88|8:89;4|1:90|4:91|8:92;6|1:93|11:76;5|1:14|9:73;6|1:93|11:76;6|1:93|11:76;6|1:93|11:76;6|1:93|11:76;6|1:'
- ..'93|11:76;6|1:93|11:76;6|1:93|11:76;6|1:93|11:76;6|1:93|11:76;6|1:93|11:76;6|1:93|11:76;6|1:93|11:76;6|1:93|11:76;6|1:93|11:76;6|1:93|11:76;6|1:93|11:76;6|1:93|11:76;6|1:93|11:76;p;7|1:94|15:95;3|1:96|'
- ..'2:5|3:6|4:97|5:8|6:9|7:10|2:5|2:5;n;4|1:98|4:99|8:100;5|1:14|9:9;6|1:101|10:102|11:100;p;3|1:103|2:18|3:6|4:104|5:8|6:20|7:10|2:18|2:18;n;4|1:105|4:106|8:107;4|1:108|4:109|5:26|14:27|8:110;5|1:14|9:20'
- ..';6|1:111|10:112|11:107;p;3|1:113|2:18|3:6|4:114|5:8|6:33|7:10|2:18|2:18;n;4|1:105|4:115|8:112;4|1:116|4:117|8:118;5|1:14|9:33;6|1:119|10:120|11:118;p;3|1:121|2:5|3:6|4:122|5:8|6:42|7:10|2:5|2:5;n;4|1:'
- ..'123|4:124|8:125;4|1:98|4:126|8:102;5|1:14|9:42;6|1:127|10:128|11:125;p;3|1:129|2:18|3:6|4:130|5:8|6:51|7:10|2:18|2:18;n;4|1:131|4:132|8:133;4|1:116|4:134|8:120;4|1:135|4:136|8:137;6|1:138|10:139|11:13'
- ..'3;5|1:14|9:51;6|1:138|10:139|11:133;6|1:138|10:139|11:133;6|1:138|10:139|11:133;6|1:138|10:139|11:133;6|1:138|10:139|11:133;6|1:138|10:139|11:133;6|1:138|10:139|11:133;6|1:138|10:139|11:133;6|1:138|10'
- ..':139|11:133;6|1:138|10:139|11:133;6|1:138|10:139|11:133;6|1:138|10:139|11:133;6|1:138|10:139|11:133;6|1:138|10:139|11:133;6|1:138|10:139|11:133;6|1:138|10:139|11:133;6|1:138|10:139|11:133;6|1:138|10:1'
- ..'39|11:133;p;3|1:140|2:5|3:6|4:141|5:8|6:63|7:10|2:5|2:5;n;4|1:81|4:142|8:143;4|1:123|4:144|8:128;5|1:14|9:63;6|1:145|10:83|11:143;p;8|1:146|16:147;9|1:148|17:149|18:149|19:150|20:150|21:151|22:10|23:1'
- ..'52;n;p;3|1:153|2:71|3:6|4:154|5:8|6:155|2:71|2:71;n;4|1:77|4:156|8:157;4|1:158|4:159|8:160;4|1:52|4:161|8:60;4|1:131|4:162|8:139;4|1:163|4:164|8:165;4|1:166|4:167|8:168;4|1:169|4:170|8:171;4|1:172|4:1'
- ..'73|8:174;6|1:175|10:79|11:157;5|1:14|9:155;6|1:175|10:79|11:157;6|1:175|10:79|11:157;6|1:175|10:79|11:157;6|1:175|10:79|11:157;6|1:175|10:79|11:157;6|1:175|10:79|11:157;6|1:175|10:79|11:157;6|1:175|10'
- ..':79|11:157;6|1:175|10:79|11:157;6|1:175|10:79|11:157;6|1:175|10:79|11:157;6|1:175|10:79|11:157;6|1:175|10:79|11:157;6|1:175|10:79|11:157;6|1:175|10:79|11:157;6|1:175|10:79|11:157;6|1:175|10:79|11:157;'
- ..'10|1:176;6|1:175|10:79|11:157;p;11|24:18|25:18|26:18|27:5|28:5|29:71;1|1:177|3:6|4:178|5:8|6:179|7:10;n;4|1:74;5|1:14|9:179;p;1|1:180|2:18|3:6|4:181|5:8|6:182|30:183|31:183|2:18|2:18;n;12|32:184|33:18'
- ..'5;4|1:186|4:187|5:188|14:188|8:189;4|1:158|4:190|8:191;4|1:192|4:193|5:188|14:188|8:194;4|1:195|4:196|5:188|14:188|8:197;4|1:198|4:196|5:188|14:188|8:197;4|1:199|4:200|5:188|14:188|8:201;6|1:202|10:16'
- ..'0|11:191;5|1:14|9:182;6|1:202|10:160|11:191;6|1:202|10:160|11:191;6|1:202|10:160|11:191;6|1:202|10:160|11:191;6|1:202|10:160|11:191;6|1:202|10:160|11:191;6|1:202|10:160|11:191;13|34:203;6|1:202|10:160'
- ..'|11:191;6|1:202|10:160|11:191;6|1:202|10:160|11:191;6|1:202|10:160|11:191;6|1:202|10:160|11:191;6|1:202|10:160|11:191;6|1:202|10:160|11:191;6|1:202|10:160|11:191;6|1:202|10:160|11:191;6|1:202|10:160|1'
- ..'1:191;6|1:202|10:160|11:191;14|1:204|10:205;p;10|1:206;10|1:207;n;15|1:208;15|1:209;n;16|1:210|35:211;p;15|1:212;n;16|1:213|35:214;p;15|1:215;n;16|1:216|35:217;n;17|1:218|9:219;p;16|1:220|35:221;n;17|'
- ..'1:218|9:6;p;p;15|1:222;n;16|1:223|35:224;p;15|1:225;n;16|1:226|35:227;p;15|1:228;n;16|1:229|35:230;p;15|1:231;n;16|1:232|35:233;p;15|1:234;n;16|1:235|35:236;p;15|1:237;n;16|1:238|35:239;p;15|1:240;n;1'
- ..'6|1:226|35:241;p;p;10|1:242;10;18|1:2;n;1|1:243|4:244|5:8|6:245|7:10|30:183|31:183;n;12|36:246|32:247|37:248|33:185;5|1:14|9:245;p;p;p;p;')
- for _,Object in pairs(Objects) do
- Object.Parent = script and script.Parent==workspace and script or workspace
- end
- for _,f in pairs(ActualScripts) do f() end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement