Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if game:GetService("RunService"):IsClient()then error("Please run as a server script. Use h/ instead of hl/.")end;print("FE Compatibility by WaverlyCole & Fireboltofdeath");print("https://github.com/WaverlyCole/FE-Compatibility-VoidSb-")
- local Wrapper = {};Wrapper.Fake = {};Wrapper.Real = {};Wrapper.Data = {};
- local sGame = game;local sScript = script;local sOwner = owner;local sInstance = Instance;local sLoadLibrary = LoadLibrary
- Wrapper.Event = Instance.new("RemoteEvent");Wrapper.Event.Name = "UserInput";
- Wrapper.CreateObject = function(connections, index)
- local proxy = newproxy (true);local meta = getmetatable (proxy);
- local runbind = function (self, i, ...) connections[i]:Fire (...); end;
- while (#connections > 0) do connections[table.remove(connections, 1)] = Instance.new ('BindableEvent');end;
- meta.__index = function (self, i)
- if (i == 'TriggerEvent') then return runbind end;
- return connections[i] and connections[i].Event or index[i];
- end;
- meta.__newindex = index;meta.__metatable = false;return proxy
- end;
- Wrapper.Mouse = Wrapper.CreateObject({"KeyUp","KeyDown","Button1Down","Button1Up","Move","Button2Down","Button2Up"},{["Target"] = nil;["Hit"] = CFrame.new()})
- Wrapper.UserInputService = Wrapper.CreateObject({"InputBegan","InputEnded"},{})
- Wrapper.ContextActionService = {Actions={};BindAction = function(self,actionName,Func,touch,...)self.Actions[actionName] = Func and {Name=actionName,Function=Func,Keys={...}} or nil end;UnBindAction = function(self,actionName,Func,touch,...)self.Actions[actionName] = Func and {Name=actionName,Function=Func,Keys={...}} or nil end};
- Wrapper.Sandbox = function(...)
- local Unwrap = {...};
- for obi = 1,#Unwrap do
- local Object = Unwrap[obi];
- if (Wrapper.Fake[Object] == nil and Wrapper.Real[Object] == nil) then
- local Type = typeof(Object);local Replacement = Object;
- if (Type == "function") then
- Replacement = function(...)
- local IsRoblox = not (pcall(function() string.dump(Object) end))
- if IsRoblox then
- return Object(Wrapper.Unsandbox(...))
- end
- return Object(Wrapper.Sandbox(...))
- end
- elseif (Type == "table") then
- Replacement = {};
- setmetatable(Replacement, {
- __index = function(self, i)
- return Wrapper.Sandbox(Object[Wrapper.Unsandbox(i)])
- end,
- __newindex = function(self,i,v)
- Object[Wrapper.Unsandbox(i)] = Wrapper.Unsandbox(v)
- end;
- })
- elseif (Type == "Instance") then
- Replacement = newproxy(true);
- local Mt = getmetatable(Replacement);
- Mt.__namecall = function(self, ...)
- local Pack = {...};local Name = Pack[#Pack];table.remove(Pack, #Pack);
- local Rest = nil;pcall(function()Rest = Object[Name];end);
- for g, x in pairs (Wrapper.InstanceMT["GET"]) do
- if (Object:IsA(g) or g == "Global") then
- for t, v in pairs(x) do
- for str in string.gmatch(t .. ",", "(%w+),") do
- if (Name == str) then
- if typeof(v) == "function" then
- return Wrapper.Sandbox(v(Wrapper.Unsandbox(self), Wrapper.Unsandbox(unpack(Pack))))
- else
- return v;
- end
- end
- end
- end
- end
- end
- if (Rest == nil) then
- if Wrapper.Sandbox(sGame):GetService(unpack(Pack)) then return Wrapper.Sandbox(sGame):GetService(unpack(Pack))end;
- return Wrapper.Sandbox(Object[Name]);
- elseif (typeof(Rest) == "function") then
- return Wrapper.Sandbox(Rest(Wrapper.Unsandbox(self), Wrapper.Unsandbox(unpack(Pack))))
- end
- return Wrapper.Sandbox(Object[Name]);
- end
- Mt.__index = function(self, i)
- local Rest = nil;pcall(function()Rest = Object[i];end)
- for g, x in pairs (Wrapper.InstanceMT["GET"]) do
- if (Object:IsA(g) or g == "Global") then
- for t, v in pairs(x) do
- for str in string.gmatch(t .. ",", "(%w+),") do
- if (i == str) then
- if typeof(v) == "function" then
- return function(...)return Wrapper.Sandbox(v(Wrapper.Unsandbox(self), Wrapper.Unsandbox(...)))end;
- else
- return v;
- end
- end
- end
- end
- end
- end
- if (Object:IsA("Sound") and i == "PlaybackLoudness") then return Wrapper.SoundLoudness[Wrapper.Unsandbox(Object)];end;
- if (Rest == nil) then
- if Wrapper.Sandbox(sGame):GetService(i) then return Wrapper.Sandbox(sGame):GetService(i)end;
- return Wrapper.Sandbox(Object[i]);
- elseif (typeof(Rest) == "function") then
- local isService,Service = pcall(function() return sGame:GetService(i) end)
- if isService and Service then return Wrapper.Sandbox(Service) end
- return function(self, ...)
- return Wrapper.Sandbox(Rest(Wrapper.Unsandbox(self), Wrapper.Unsandbox(...)))
- end
- end
- return Wrapper.Sandbox(Object[i]);
- end
- Mt.__newindex = function(self, i, v)
- for g,x in pairs (Wrapper.InstanceMT["SET"]) do
- if (Object:IsA(g)) then
- for t, v in pairs(x) do
- for str in string.gmatch( t .. ",", "(%w+),") do
- if v(Wrapper.Unsandbox(self, i, v)) == true then
- Object[Wrapper.Unsandbox(i)] = Wrapper.Unsandbox(v);return
- end
- end
- end
- end
- end
- Object[Wrapper.Unsandbox(i)] = Wrapper.Unsandbox(v);
- end
- Mt.__tostring = function(self) return tostring(Object) end
- --elseif (Type == "") then -- Etc
- end
- Wrapper.Fake[Object] = Replacement;Wrapper.Real[Replacement] = Object;Unwrap[obi] = Replacement;
- else
- return Wrapper.Fake[Object] or Object;
- end
- end
- return unpack(Unwrap);
- end
- Wrapper.Unsandbox = function(...)
- local Unsandbox = {...};
- for i,v in pairs (Unsandbox) do Unsandbox[i] = Wrapper.Real[v] or Unsandbox[i]end;
- return unpack(Unsandbox)
- end
- Wrapper.Services = {
- ['contextactionservice'] = Wrapper.ContextActionService;
- ["userinputservice"] = Wrapper.UserInputService;
- }
- Wrapper.InstanceMT = {
- ["GET"] = {
- ["Global"] = {
- ["IsFake,isFake"] = function(self)return true;end;
- };
- ["Player"] = {
- ["mouse,Mouse,getMouse,GetMouse"] = function(self)return Wrapper.Mouse;end;
- };
- ["Players"] = {
- ["localPlayer,LocalPlayer"] = Wrapper.Sandbox(owner)
- };
- ["DataModel"] = {
- ["getService,GetService"] = function(self,service)
- if Wrapper.Services[service:lower()] then return Wrapper.Sandbox(Wrapper.Services[service:lower()])end;
- return Wrapper.Sandbox(sGame:GetService(service))
- end
- };
- ["RunService"] = {
- ["renderstepped,renderStepped,RenderStepped"] = sGame:GetService("RunService").Stepped;
- }
- };
- ["SET"] = {
- }
- }
- Wrapper.SoundLoudness = {};
- Wrapper.Event.OnServerEvent:Connect(function(FiredBy,Input)
- if FiredBy ~= sOwner then return end
- if Input.MouseEvent then
- Wrapper.Mouse.Target = Input.Target;Wrapper.Mouse.Hit = Input.Hit;Wrapper.Mouse:TriggerEvent("Move")
- elseif Input.Sound then
- if Wrapper.SoundLoudness[Input.Sound] then Wrapper.SoundLoudness[Input.Sound] = Input.Loudness end
- else
- local Begin = Input.UserInputState == Enum.UserInputState.Begin
- if Input.UserInputType == Enum.UserInputType.MouseButton1 then return Wrapper.Mouse:TriggerEvent(Begin and "Button1Down" or "Button1Up") end
- if Input.UserInputType == Enum.UserInputType.MouseButton2 then return Wrapper.Mouse:TriggerEvent(Begin and "Button2Down" or "Button2Up") end
- for _,Action in pairs(Wrapper.ContextActionService.Actions) do
- for _,Key in pairs(Action.Keys) do if Key==Input.KeyCode then Action.Function(Action.Name,Input.UserInputState,Input) end end
- end
- Wrapper.Mouse:TriggerEvent(Begin and "KeyDown" or "KeyUp",Input.KeyCode.Name:lower());Wrapper.UserInputService:TriggerEvent(Begin and "InputBegan" or "InputEnded",Input,false)
- end
- end);
- Wrapper.Event.Parent = NLS([[
- local Player = owner;local Sounds = {};local Event = script:WaitForChild("UserInput");local UserInputService = game:GetService("UserInputService");local Mouse = Player:GetMouse();
- local Input = function(Input,gameProcessedEvent)
- if gameProcessedEvent then return end;
- Event:FireServer({KeyCode=Input.KeyCode,UserInputType=Input.UserInputType,UserInputState=Input.UserInputState})
- end
- Event.OnClientEvent:connect(function(Args)
- if Args[1] == "NewSound" and Args[2]:IsA("Sound") then table.insert(Sounds,Args[2]) end
- end)
- UserInputService.InputBegan:Connect(Input);UserInputService.InputEnded:Connect(Input)
- local Hit,Target;while wait(1/30) do
- for x,Sound in pairs(Sounds) do if Sound.Parent then Event:FireServer({["Sound"]=Sound,["Loudness"]=Sound.PlaybackLoudness}) end; end;
- if Hit ~= Mouse.Hit or Target ~= Mouse.Target then
- Hit = Mouse.Hit;Target = Mouse.Target;Event:FireServer({["MouseEvent"]=true,["Target"]=Target,["Hit"]=Hit})
- end
- end]],sOwner.Character)
- Instance = {
- ["new"] = function(Type,Parent)
- local Real = sInstance.new(Type,Wrapper.Unsandbox(Parent))
- if Type:lower() == "sound" then
- if not Parent then
- Parent = sOwner.Character
- end
- Wrapper.SoundLoudness[Real] = 0;Wrapper.Event:FireClient(sOwner,{"NewSound",Real})
- end
- return Wrapper.Sandbox(Real)
- end
- }
- LoadLibrary = function(Library)
- if Library == "RbxUtility" then
- return setmetatable({},{
- __tostring = function() return "RbxUtility" end;
- __index = function(self, Index)
- if Index:lower() == "create" then
- return function(Type) return function(Data)
- Data = Data or {};local Inst = Instance.new(Type)
- for x,y in pairs(Data) do Inst[x] = y end
- return Inst
- end;end;
- end
- return sLoadLibrary(Library)[Index]
- end})
- end
- return sLoadLibrary(Library)
- end
- owner = Wrapper.Sandbox(owner);game = Wrapper.Sandbox(game)workspace = Wrapper.Sandbox(workspace)
- Game= game;Workspace = workspace;
- --//Paste script below this line.
- --[[Salvo_Starly[Salvy].Thingy_2018.8]]--
- --[[Project Name: R.U.N]]--
- wait(.2)
- plr=game.Players.LocalPlayer
- chr=plr.Character
- Head=chr.Head
- Root=chr.HumanoidRootPart
- Torso=chr.Torso
- RArm=chr["Right Arm"]
- LArm=chr["Left Arm"]
- RLeg=chr["Right Leg"]
- LLeg=chr["Left Leg"]
- RJ=Root.RootJoint
- Neck=Torso.Neck
- LS=Torso["Left Shoulder"]
- LH=Torso["Left Hip"]
- RS=Torso["Right Shoulder"]
- RH=Torso["Right Hip"]
- hum=chr:FindFirstChildOfClass("Humanoid")
- mouse=plr:GetMouse()
- died=false
- EatTime=110
- Siz=8
- BallMass=15000
- SSpeed=1.5
- Grow=8
- MinGrow=3.5
- MaxGrow=8
- GlV=25000
- create=LoadLibrary("RbxUtility").Create
- chr.Animate:Remove()
- hum.Animator:Remove()
- function clerp(a,b,t)
- return a:lerp(b,t)
- end
- local newMotor=function(name,p0,p1,c0,c1)
- local w=Instance.new('Motor',p0)
- w.Name=name
- w.Part0=p0
- w.Part1=p1
- w.C0=c0
- w.C1=c1
- return w
- end
- for _,c in pairs(Torso:children()) do
- if c:IsA("Motor") and c.Name~="Neck" then
- c:Remove()
- end
- end
- RJ.C0,RJ.C1=CFrame.new(0,0,0),CFrame.new(0,0,0)
- Neck.C0,Neck.C1=CFrame.new(0,1.5,0),CFrame.new(0,0,0)
- --[[RS.C0,RS.C1=CFrame.new(1.5,0,0),CFrame.new(0,0,0)
- LS.C0,LS.C1=CFrame.new(-1.5,0,0),CFrame.new(0,0,0)
- RH.C0,RH.C1=CFrame.new(.5,-2,0),CFrame.new(0,0,0)
- LH.C0,LH.C1=CFrame.new(-.5,-2,0),CFrame.new(0,0,0)]]
- local RS=newMotor("Right Shoulder",Torso, RArm, CFrame.new(1.5, 0, 0), CFrame.new(0, 0, 0))
- local LS=newMotor("Left Shoulder",Torso, LArm, CFrame.new(-1.5, 0, 0), CFrame.new(0, 0, 0))
- local RH=newMotor("Right Hip",Torso, RLeg, CFrame.new(.5, -2, 0), CFrame.new(0, 0, 0))
- local LH=newMotor("Left Hip",Torso, LLeg, CFrame.new(-.5, -2, 0), CFrame.new(0, 0, 0))
- function NoOutline(Part)
- Part.TopSurface,Part.BottomSurface,Part.LeftSurface,Part.RightSurface,Part.FrontSurface,Part.BackSurface=10,10,10,10,10,10
- end
- function rayCast(Position,Direction,Range,Ignore)
- return game:service("Workspace"):FindPartOnRay(Ray.new(Position,Direction.unit*(Range or 999.999)),Ignore)
- end
- ArtificialHB=create("BindableEvent"){
- Parent=script,
- Name="Heartbeat"}
- script:WaitForChild("Heartbeat")
- frame=0.0166666666666666667
- tf=0
- allowframeloss=false
- tossremainder=false
- lastframe=tick()
- script.Heartbeat:Fire()
- game:GetService("RunService").Heartbeat:connect(function(s,p)
- tf=tf+s
- if tf >=frame then
- if allowframeloss then
- script.Heartbeat:Fire()
- lastframe=tick()
- else
- for i=1,math.floor(tf/frame) do
- script.Heartbeat:Fire()
- end
- lastframe=tick()
- end
- if tossremainder then
- tf=0
- else
- tf=tf-frame*math.floor(tf/frame)
- end
- end
- end)
- function swait(num)
- if num==0 or num==nil then
- ArtificialHB.Event:wait()
- else
- for i=0,num do
- ArtificialHB.Event:wait()
- end
- end
- end
- function parts(Par,name,size,color,mat,ref,tra)
- local part=create("Part"){
- Parent=Par,
- Name=name,
- Size=size,
- CanCollide=false,
- Anchored=false,
- BrickColor=BrickColor.new(color),
- Material=mat,
- Reflectance=ref,
- Transparency=tra}
- --Position=Torso.Position}
- NoOutline(part)
- part:BreakJoints()
- return part
- end
- function meshs(Par,name,scale,mtype,id)
- local mesh=create("SpecialMesh"){
- Parent=Par,
- Name=name,
- Scale=scale,
- MeshType=mtype}
- if id~="" then
- mesh.MeshId="rbxassetid://"..id
- end
- return mesh
- end
- function welds(Par,name,p0,p1,c0,c1)
- local weld=create("Weld"){
- Parent=Par,
- Name=name,
- Part0=p0,
- Part1=p1,
- C0=c0,
- C1=c1}
- return weld
- end
- function sounds(Par,id,vol,pit)
- local sound=create("Sound"){
- Parent=Par,
- SoundId="rbxassetid://"..id,
- Volume=vol,
- PlaybackSpeed=pit,
- MaxDistance=66666666}
- sound:Play()
- game:GetService("Debris"):AddItem(sound,10)
- return sound
- end
- for _,v in pairs(chr:children()) do
- if v:IsA("BasePart")then
- v.Transparency=1
- elseif v:IsA("Accessory")then
- v.Handle.Transparency=1
- end
- end
- if Head:findFirstChild("face").Parent~=nil then
- Head:findFirstChild("face").Transparency=1
- end
- Infections={}
- --extremely lazy to use parts()
- i=create("Part"){
- Parent=chr,
- Color=Color3.new(math.random(0,1),math.random(0, 1),math.random(0, 1)),
- Locked=true,
- CFrame=Root.CFrame,
- Shape=0,
- Size=Vector3.new(8,8,8),
- Transparency=0.3,
- }
- NoOutline(i)
- Force=create("BodyForce"){
- Parent=i}
- Vepz=create("BodyVelocity"){
- maxForce=Vector3.new(math.huge,0,math.huge),
- P=10,
- velocity=Vector3.new(0,0,0)}
- Hin=create("Hint"){
- Parent=workspace,
- Text="Survive and kill the bawlz for win!"
- }
- iw=welds(i,"MainWeld",Root,i,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1))
- sounds(chr,"2767085",1,1)
- MainGui=create("ScreenGui"){
- Name="RUNGui",
- Parent=plr.PlayerGui,
- DisplayOrder=5
- }
- SizeLabel=create("TextLabel"){
- Parent=MainGui,
- AnchorPoint=Vector2.new(.5,.5),
- Position=UDim2.new(.5,0,.8,0),
- Size=UDim2.new(.06,0,.08,0),
- ZIndex=1,
- Text="Bawlz Size:",
- BackgroundColor3=BrickColor.new("Navy blue").Color,
- TextColor3=i.BrickColor.Color,
- BorderColor3=i.BrickColor.Color,
- Font="SourceSans",
- TextSize=18,
- --TextScaled=true,
- TextYAlignment="Top"
- }
- SizeN=create("TextLabel"){
- Parent=SizeLabel,
- AnchorPoint=Vector2.new(.5,.5),
- Position=UDim2.new(.5,0,.5,0),
- Size=UDim2.new(1,0,1,0),
- ZIndex=2,
- Text=Grow,
- BackgroundTransparency=1,
- TextColor3=i.BrickColor.Color,
- Font="SourceSans",
- TextSize=18,
- --TextScaled=true,
- TextYAlignment="Bottom"
- }
- MSizeN=create("TextLabel"){
- Parent=SizeLabel,
- AnchorPoint=Vector2.new(.5,.5),
- Position=UDim2.new(.5,0,1,0),
- Size=UDim2.new(1,0,1,0),
- ZIndex=2,
- Text="Max Size: "..MaxGrow,
- BackgroundTransparency=1,
- TextColor3=i.BrickColor.Color,
- Font="SourceSans",
- TextSize=18,
- --TextScaled=true,
- TextYAlignment="Bottom"
- }
- Infections[i]=true
- local s=create("Sound"){
- SoundId="rbxassetid://10722059",
- Volume=1,
- Parent=Root}
- function Join(Part0, Part1)
- local Connector=create("Weld"){
- C0=Part0.CFrame:inverse(),
- C1=Part1.CFrame:inverse(),
- Part0=Part0,
- Part1=Part1,
- Parent=Part0}
- coroutine.resume(coroutine.create(function()
- while Part1.Parent~=nil do
- swait()
- Connector.Parent=Part0
- Connector.Part0=Part0
- Connector.Part1=Part1
- end
- Connector:Remove()
- end))
- return Connector
- end
- function Eat(part,ir,s)
- part.CanCollide=false
- part.Anchored=true
- while (part.Position-ir.Position).magnitude>Siz/3 do
- part.CanCollide=false
- part:BreakJoints()
- local c={part.CFrame:components()}
- local v=part.Position+CFrame.new(part.Position,ir.Position).lookVector*SSpeed
- c[1]=v.X
- c[2]=v.Y
- c[3]=v.Z
- part.CFrame=CFrame.new(unpack(c))
- swait()
- end
- s:Play()
- local p=Join(ir,part)
- part.Anchored=false
- swait(EatTime)
- if MaxGrow<30 then
- MaxGrow=MaxGrow+.5
- else
- MaxGrow=30
- end
- if part.Parent~=nil then
- part:Remove()
- end
- end
- --Hit:IsDescendantOf
- i.Touched:connect(function(Hit)
- if not died then
- if Hit:GetMass()<BallMass and not Infections[Hit] and not string.match(Hit.Name,"Base") and Hit.Parent.Name~=plr.Name and Hit.Parent.Parent.Name~=plr.Name then
- Infections[Hit]=true
- Eat(Hit,i,s)
- end
- end
- end)
- mov=false
- mouse.Button1Down:connect(function()
- if not died then
- mov=true
- coroutine.resume(coroutine.create(function()
- while mov do
- swait()
- if i and Force then
- local force=(CFrame.new(i.Position,mouse.Hit.p).lookVector*GlV)
- i.BodyForce.force = Vector3.new(force.x,0,force.z)
- else
- Force=create("BodyForce"){
- Parent=i}
- end
- end
- if Force then
- Force.force=Vector3.new(0, 0, 0)
- end
- end))
- end
- end)
- mouse.Button1Up:connect(function()
- mov=false
- end)
- mouse.KeyDown:connect(function(k)
- k=k:lower()
- --stop
- if k=="q" and Vepz.Parent==nil then
- Vepz.Parent=i
- end
- --jump
- if not died then
- if k=="f" then
- local Veps=create("BodyVelocity"){
- maxForce=Vector3.new(0,math.huge,0),
- P=10,
- velocity=Vector3.new(0,100,0),
- Parent=i}
- game:GetService("Debris"):AddItem(Veps,.1)
- end
- --taunt
- if k=="t" then
- sounds(Root,"13378571",1,.5)
- end
- --change size
- if not mov then
- if k=="z" then
- if Grow<MaxGrow then
- Grow=Grow+.5
- GlV=GlV+2500
- else
- Grow=MaxGrow
- end
- elseif k=="x" then
- if Grow>MinGrow then
- Grow=Grow-.5
- GlV=GlV-2500
- else
- Grow=MinGrow
- end
- end
- --renew
- if k=="r" then
- i:Remove()
- end
- end
- end
- end)
- mouse.KeyUp:connect(function(k)
- k=k:lower()
- if k=="q" and Vepz.Parent~=nil then
- Vepz.Parent=nil
- end
- end)
- hum.Died:connect(function()
- died=true
- workspace.CurrentCamera.CameraSubject=hum
- game:GetService("Debris"):AddItem(Hin,.2)
- sounds(chr,"15632562",1,1.2)
- local info=TweenInfo.new(3,Enum.EasingStyle.Bounce,Enum.EasingDirection.Out,0,false)
- local tween=game:GetService("TweenService"):Create(i,info,{Size=Vector3.new(18,18,18)})
- tween:Play()
- i.Anchored=true
- for _,v in pairs(chr:children()) do
- if v:IsA("BasePart")then
- v.Anchored=true
- elseif v:IsA("Accessory")then
- v.Handle.Anchored=true
- end
- end
- local Hint=create("Hint"){
- Parent=workspace,
- Text="All bawlz died!"
- }
- coroutine.resume(coroutine.create(function()
- swait(170)
- sounds(chr,"13114759",1,0.7)
- Hint.Text="Game over!"
- end))
- game:GetService("Debris"):AddItem(Hint,5)
- for si=0,1,.005 do
- swait()
- i.Transparency=si
- end
- --chr:Remove()
- for _,v in pairs(chr:children()) do
- if v.ClassName~="Sound" then
- v:Remove()
- end
- end
- end)
- while not died do
- swait()
- if Hin.Parent==nil then
- Hin=create("Hint"){
- Parent=workspace,
- Text="Survive and kill the bawlz for win!"}
- end
- if i.Parent==nil then
- i=create("Part"){
- Parent=chr,
- Color=Color3.new(math.random(0,1),math.random(0, 1),math.random(0, 1)),
- Locked=true,
- CFrame=Root.CFrame,
- Shape=0,
- Size=Vector3.new(8,8,8),
- Transparency=0.3,
- }
- NoOutline(i)
- Force=create("BodyForce"){
- Parent=i}
- Vepz=create("BodyVelocity"){
- maxForce=Vector3.new(math.huge,0,math.huge),
- P=10,
- velocity=Vector3.new(0,0,0)}
- i.Touched:connect(function(Hit)
- if not died then
- if Hit:GetMass()<BallMass and not Infections[Hit] and not string.match(Hit.Name,"Base") and Hit.Parent.Name~=plr.Name and Hit.Parent.Parent.Name~=plr.Name then
- Infections[Hit]=true
- Eat(Hit,i,s)
- end
- end
- end)
- end
- i.Size=Vector3.new(Grow,Grow,Grow)
- iw.Parent=i
- iw.Part0=Root
- iw.Part1=i
- iw.C0=CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- iw.C1=CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- SizeN.Text=Grow
- MSizeN.Text="Max Size: "..MaxGrow
- workspace.CurrentCamera.CameraSubject=i
- hum.PlatformStand=true
- Neck.C0=clerp(Neck.C0,CFrame.new(0,0,0),.4)
- RS.C0=clerp(RS.C0,CFrame.new(0,0,0),.4)
- LS.C0=clerp(LS.C0,CFrame.new(0,0,0),.4)
- RH.C0=clerp(RH.C0,CFrame.new(0,0,0),.4)
- LH.C0=clerp(LH.C0,CFrame.new(0,0,0),.4)
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement