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 & Mokiros")
- InternalData = {}
- do
- script.Parent = owner.Character
- local Event = Instance.new("RemoteEvent")
- Event.Name = "UserInput"
- local function NewFakeEvent()
- local Fake = {fakeEvent=true,Connect=function(self,Func)self.Function=Func end}Fake.connect = Fake.Connect
- return Fake
- end
- local Mouse = {Target=nil,Hit=CFrame.new(),KeyUp=NewFakeEvent(),KeyDown=NewFakeEvent(),Button1Up=NewFakeEvent(),Button1Down=NewFakeEvent()}
- local UserInputService = {InputBegan=NewFakeEvent(),InputEnded=NewFakeEvent()}
- local ContextActionService = {Actions={},BindAction = function(self,actionName,Func,touch,...)
- self.Actions[actionName] = Func and {Name=actionName,Function=Func,Keys={...}} or nil
- end};ContextActionService.UnBindAction = ContextActionService.BindAction
- local function TriggerEvent(self,Event,...)
- local Trigger = Mouse[Event]
- if Trigger and Trigger.fakeEvent and Trigger.Function then
- Trigger.Function(...)
- end
- end
- Mouse.TrigEvent = TriggerEvent
- UserInputService.TrigEvent = TriggerEvent
- Event.OnServerEvent:Connect(function(FiredBy,Input)
- if FiredBy.Name ~= owner.Name then end
- if Input.MouseEvent then
- Mouse.Target = Input.Target
- Mouse.Hit = Input.Hit
- else
- local Begin = Input.UserInputState == Enum.UserInputState.Begin
- if Input.UserInputType == Enum.UserInputType.MouseButton1 then
- return Mouse:TrigEvent(Begin and "Button1Down" or "Button1Up")
- end
- for _,Action in pairs(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
- Mouse:TrigEvent(Begin and "KeyDown" or "KeyUp",Input.KeyCode.Name:lower())
- UserInputService:TrigEvent(Begin and "InputBegan" or "InputEnded",Input,false)
- end
- end)
- InternalData["Mouse"] = Mouse
- InternalData["ContextActionService"] = ContextActionService
- InternalData["UserInputService"] = UserInputService
- Event.Parent = NLS([[
- local Player = owner
- 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
- UserInputService.InputBegan:Connect(Input)
- UserInputService.InputEnded:Connect(Input)
- local Hit,Target
- while wait(1/30) do
- if Hit ~= Mouse.Hit or Target ~= Mouse.Target then
- Hit,Target = Mouse.Hit,Mouse.Target
- Event:FireServer({["MouseEvent"]=true,["Target"]=Target,["Hit"]=Hit})
- end
- end
- ]],owner.Character)
- end
- RealGame = game;game = setmetatable({},{
- __index = function (self,Index)
- local Sandbox = function (Thing)
- if Thing:IsA("Player") then
- local RealPlayer = Thing
- return setmetatable({},{
- __index = function (self,Index)
- local Type = type(RealPlayer[Index])
- if Type == "function" then
- if Index:lower() == "getmouse" or Index:lower() == "mouse" then
- return function (self)
- return InternalData["Mouse"]
- end
- end
- return function (self,...)
- return RealPlayer[Index](RealPlayer,...)
- end
- else
- return RealPlayer[Index]
- end
- end;
- __tostring = function(self)
- return RealPlayer.Name
- end
- })
- end
- end
- if RealGame[Index] then
- local Type = type(RealGame[Index])
- if Type == "function" then
- if Index:lower() == "getservice" or Index:lower() == "service" then
- return function (self,Service)
- if Service:lower() == "players" then
- return setmetatable({},{
- __index = function (self2,Index2)
- local RealService = RealGame:GetService(Service)
- local Type2 = type(Index2)
- if Type2 == "function" then
- return function (self,...)
- return RealService[Index2](RealService,...)
- end
- else
- if Index2:lower() == "localplayer" then
- return Sandbox(owner)
- end
- return RealService[Index2]
- end
- end;
- __tostring = function(self)
- return RealGame:GetService(Service).Name
- end
- })
- elseif Service:lower() == "contextactionservice" then
- return InternalData["ContextActionService"]
- elseif Service:lower() == "contextactionservice" then
- return InternalData["UserInputService"]
- elseif Service:lower() == "runservice" then
- return setmetatable({},{
- __index = function(self2,Index2)
- local RealService = RealGame:GetService(Service)
- local Type2 = type(Index2)
- if Type2 == "function" then
- return function (self,...)
- return RealService[Index2](RealService,...)
- end
- else
- if Index2:lower() == "bindtorenderstep" then
- return function (self,Name,Priority,Function)
- return RealGame:GetService("RunService").Stepped:Connect(Function)
- end
- end
- if Index2:lower() == "renderstepped" then
- return RealService["Stepped"]
- end
- return RealService[Index2]
- end
- end
- })
- else
- return RealGame:GetService(Service)
- end
- end
- end
- return function (self,...)
- return RealGame[Index](RealGame,...)
- end
- else
- if game:GetService(Index) then
- return game:GetService(Index)
- end
- return RealGame[Index]
- end
- else
- return nil
- end
- end
- });Game = game;owner = game:GetService("Players").LocalPlayer
- print("Complete! Running...")
- local s = Instance.new("Sound")
- s.Name = "Arrived"
- s.SoundId = "http://www.roblox.com/asset/?id=1963047976"
- s.Volume = 100
- s.Looped = false
- s.archivable = false
- s.Parent = game.Workspace
- wait(10)
- s:play()
- Player=game:GetService("Players").LocalPlayer
- Character=Player.Character
- PlayerGui=Player.PlayerGui
- Backpack=Player.Backpack
- Torso=Character.Torso
- Head=Character.Head
- Humanoid=Character.Humanoid
- m=Instance.new('Model',Character)
- LeftArm=Character["Left Arm"]
- LeftLeg=Character["Left Leg"]
- RightArm=Character["Right Arm"]
- RightLeg=Character["Right Leg"]
- LS=Torso["Left Shoulder"]
- LH=Torso["Left Hip"]
- RS=Torso["Right Shoulder"]
- RH=Torso["Right Hip"]
- Face = Head.face
- Neck=Torso.Neck
- it=Instance.new
- attacktype=1
- vt=Vector3.new
- cf=CFrame.new
- euler=CFrame.fromEulerAnglesXYZ
- angles=CFrame.Angles
- cloaked=false
- necko=cf(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
- necko2=cf(0, -0.5, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
- LHC0=cf(-1,-1,0,-0,-0,-1,0,1,0,1,0,0)
- LHC1=cf(-0.5,1,0,-0,-0,-1,0,1,0,1,0,0)
- RHC0=cf(1,-1,0,0,0,1,0,1,0,-1,-0,-0)
- RHC1=cf(0.5,1,0,0,0,1,0,1,0,-1,-0,-0)
- RootPart=Character.HumanoidRootPart
- RootJoint=RootPart.RootJoint
- RootCF=euler(-1.57,0,3.14)
- attack = false
- wait(2)
- function clerp(a,b,t)
- local qa = {QuaternionFromCFrame(a)}
- local qb = {QuaternionFromCFrame(b)}
- local ax, ay, az = a.x, a.y, a.z
- local bx, by, bz = b.x, b.y, b.z
- local _t = 1-t
- return QuaternionToCFrame(_t*ax + t*bx, _t*ay + t*by, _t*az + t*bz,QuaternionSlerp(qa, qb, t))
- end
- local l = game.Lighting
- local sky = Instance.new("Sky",l)
- sky.CelestialBodiesShown = false
- sky.SkyboxBk = "http://www.roblox.com/asset/?id=190477248"
- sky.SkyboxDn = "http://www.roblox.com/asset/?id=190477222"
- sky.SkyboxFt = "http://www.roblox.com/asset/?id=190477200"
- sky.SkyboxLf = "http://www.roblox.com/asset/?id=190477185"
- sky.SkyboxRt = "http://www.roblox.com/asset/?id=190477166"
- sky.SkyboxUp = "http://www.roblox.com/asset/?id=190477146"
- sky.StarCount = 3000
- sky.Name = "GreenSpace"
- CV="Maroon"
- Player = game.Players.LocalPlayer
- char = Player.Character
- local txt = Instance.new("BillboardGui", Character)
- txt.Adornee = Character .Head
- txt.Name = "_status"
- txt.Size = UDim2.new(2, 0, 1.2, 0)
- txt.StudsOffset = Vector3.new(-9, 8, 0)
- local text = Instance.new("TextLabel", txt)
- text.Size = UDim2.new(10, 0, 7, 0)
- text.FontSize = "Size24"
- text.TextScaled = true
- text.TextTransparency = 0
- text.BackgroundTransparency = 1
- text.TextTransparency = 0
- text.TextStrokeTransparency = 0
- text.Font = "Bodoni"
- text.TextStrokeColor3 = Color3.new(70,0,0)
- v=Instance.new("Part")
- v.Name = "ColorBrick"
- v.Parent=Player.Character
- v.FormFactor="Symmetric"
- v.Anchored=true
- v.CanCollide=false
- v.BottomSurface="Smooth"
- v.TopSurface="Smooth"
- v.Size=Vector3.new(10,5,3)
- v.Transparency=1
- v.CFrame=Character.Torso.CFrame
- v.BrickColor=BrickColor.new(CV)
- v.Transparency=1
- text.TextColor3 = Color3.new(0,0,0)
- v.Shape="Block"
- text.Text = ""
- -----------------------------------------
- -------------------Shirt And Pants---------------------
- Character.Shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=607785311"
- Character.Pants.PantsTemplate = "http://www.roblox.com/asset/?id=451216658"
- -------------------------------------------------------
- function QuaternionFromCFrame(cf)
- local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
- local trace = m00 + m11 + m22
- if trace > 0 then
- local s = math.sqrt(1 + trace)
- local recip = 0.5/s
- return (m21-m12)*recip, (m02-m20)*recip, (m10-m01)*recip, s*0.5
- else
- local i = 0
- if m11 > m00 then
- i = 1
- end
- if m22 > (i == 0 and m00 or m11) then
- i = 2
- end
- if i == 0 then
- local s = math.sqrt(m00-m11-m22+1)
- local recip = 0.5/s
- return 0.5*s, (m10+m01)*recip, (m20+m02)*recip, (m21-m12)*recip
- elseif i == 1 then
- local s = math.sqrt(m11-m22-m00+1)
- local recip = 0.5/s
- return (m01+m10)*recip, 0.5*s, (m21+m12)*recip, (m02-m20)*recip
- elseif i == 2 then
- local s = math.sqrt(m22-m00-m11+1)
- local recip = 0.5/s return (m02+m20)*recip, (m12+m21)*recip, 0.5*s, (m10-m01)*recip
- end
- end
- end
- spawn (function()
- wait(1 / 60)
- Effects = { }music=false
- local Player = game:GetService("Players").localPlayer
- local Character = Player.Character
- local Humanoid = Character:FindFirstChildOfClass("Humanoid")
- local Mouse = Player:GetMouse()
- local LeftArm = Character["Left Arm"]
- local RightArm = Character["Right Arm"]
- local LeftLeg = Character["Left Leg"]
- local RightLeg = Character["Right Leg"]
- local Head = Character.Head
- local Torso = Character.Torso
- local Camera = workspace.CurrentCamera
- local RootPart = Character.HumanoidRootPart
- local RootJoint = RootPart.RootJoint
- local attack = false
- local Anim = 'Idle'
- local attacktype = 1
- local delays = false
- local play = true
- local targetted = nil
- local Torsovelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude
- local velocity = RootPart.Velocity.y
- local sine = 0
- local change = 1
- local doe = 0
- local Create = LoadLibrary("RbxUtility").Create
- Humanoid.WalkSpeed = 35
- local m = Create("Model"){
- Parent = Character,
- Name = "WeaponModel",
- }
- local function FindHumanoid(Part)local humanoid=nil if Part.Parent then if Part.Parent~=Player.Character and Part.Parent:FindFirstChildOfClass("Humanoid")~=nil then humanoid=Part.Parent:FindFirstChildOfClass("Humanoid")else if Part.Parent.Parent then if Part.Parent.Parent:FindFirstChildOfClass("Humanoid")and Part.Parent.Parent~=Player.Character then humanoid=Part.Parent.Parent:FindFirstChildOfClass("Humanoid")end end end end if humanoid==Humanoid then humanoid=nil end return humanoid end
- Humanoid.Animator.Parent = nil
- Character.Animate.Parent = nil
- if Character:FindFirstChild("Health")then Character.Health.Parent = nil end
- function CreateBeam(Parent,isReversed)local p=Instance.new("Beam",Parent)local a0=Instance.new("Attachment",Parent)local a1=Instance.new("Attachment",Parent)if isReversed then p.Attachment0=a1 p.Attachment1=a0 else p.Attachment0=a0 p.Attachment1=a1 end return a0,a1,p end
- function CTE(Part)Part.Size=Vector3.new()Part.Transparency=1 Part.CanCollide=false Part.Anchored=true local j=Instance.new("BodyVelocity",Part)j.MaxForce=Vector3.new(1/0,1/0,1/0)j.Velocity=Vector3.new(0,0,0)end
- function RingE(pos,siz,tim,dsiz,seg,wid,z,col,w)local IDK=.7
- local p=Instance.new("Part",workspace)if col==nil then col=ColorSequence.new(Color3.new())end if z==nil then z=0 end
- CTE(p)p.CFrame=pos
- local a0,a1,b=CreateBeam(p)a0.Position=Vector3.new(0,0,-dsiz)a1.Position=-a0.Position b.Texture="rbxassetid://1251856844"b.Color=col
- local b2=Instance.new("Beam",b.Parent)b2.Attachment0=a1 b2.Attachment1=a0 b2.Texture="rbxassetid://1251856844"b2.Color=col
- b.CurveSize0=math.abs(a0.Position.Z)*2 *IDK b.CurveSize1=math.abs(a0.Position.Z)*2 *IDK b2.CurveSize0=-math.abs(a0.Position.Z)*2 *IDK b2.CurveSize1=math.abs(a0.Position.Z)*2 *IDK
- b.Segments=seg b2.Segments=seg b.ZOffset=z b2.ZOffset=z b.Width0=wid b.Width1=wid b2.Width0=wid b2.Width1=wid spawn(function()
- for i=1,tim do if p.Parent then
- a0.Position=a0.Position-Vector3.new(0,0,siz)a1.Position=a1.Position+Vector3.new(0,0,siz)b.CurveSize0=(a1.Position.Z*2)*IDK b.CurveSize1=-(a1.Position.Z*2)*IDK
- b2.CurveSize0=-(a1.Position.Z*2)*IDK b2.CurveSize1=(a1.Position.Z*2)*IDK
- if w~=nil then b.Width0=b.Width0+w b.Width1=b.Width0 b2.Width0=b.Width0 b2.Width1=b.Width0 end b.Transparency=NumberSequence.new(i/tim)b2.Transparency=NumberSequence.new(i/tim)swait()
- end end p:Destroy()
- end)
- end
- --Script made by Pedrorb03
- growingList = {}
- degrowingList = {}
- torso = Instance.new("Part") torso.Size = Vector3.new(0,0,0) torso.CanCollide = false
- torso.Anchored = true
- local mesh = Instance.new("SpecialMesh",torso) mesh.MeshId = "rbxassetid://1198391230" mesh.TextureId = "rbxassetid://681973439" mesh.Scale = Vector3.new(0.01,0.01,0.01)
- arm = Instance.new("Part") arm.Size = Vector3.new(0,0,0) arm.CanCollide = false
- arm.Anchored = true
- local mesh = Instance.new("SpecialMesh",arm) mesh.MeshId = "rbxassetid://1198392540" mesh.TextureId = "rbxassetid://681973439" mesh.Scale = Vector3.new(0.02,0.02,0.02)
- leg1 = Instance.new("Part") leg1.Size = Vector3.new(0,0,0) leg1.CanCollide = false
- leg1.Anchored = true
- local mesh = Instance.new("SpecialMesh",leg1) mesh.MeshId = "rbxassetid://1198394446" mesh.TextureId = "rbxassetid://681973439" mesh.Scale = Vector3.new(0.01,0.01,0.01)
- leg2 = Instance.new("Part") leg2.Size = Vector3.new(0,0,0) leg2.CanCollide = false
- leg2.Anchored = true
- local mesh = Instance.new("SpecialMesh",leg2) mesh.MeshId = "rbxassetid://1198393506" mesh.TextureId = "rbxassetid://681973439" mesh.Scale = Vector3.new(0.02,0.02,0.02)
- headd = Instance.new("Part") headd.Size = Vector3.new(1,1,1) headd.CanCollide = false
- local mesh = Instance.new("SpecialMesh",headd) mesh.Scale = Vector3.new(1.25,1.25,1.25) mesh.MeshType = Enum.MeshType.Head
- headd.BrickColor = BrickColor.new("White")
- game:GetService("RunService").RenderStepped:connect(function()
- for _,grow in pairs(growingList) do
- local cframe = grow.CFrame
- grow.Size = grow.Size+Vector3.new(1,1,1)
- grow.Transparency = grow.Transparency+0.04
- end
- for _,degrow in pairs(degrowingList) do
- local cframe = degrow.CFrame
- degrow.Size = degrow.Size-Vector3.new(1,1,1)
- degrow.Transparency = degrow.Transparency+0.04
- end
- end)
- Basesong = Instance.new("Sound")
- hair = Instance.new("Part",game.Players.LocalPlayer.Character) hair.Size = Vector3.new(1,1,1) hair.CanCollide = false
- beforesong = Basesong:Clone()
- beforesong.Parent = game.Players.LocalPlayer.Character
- beforesong.Looped = false
- beforesong.Volume = 3
- beforesong.SoundId = "rbxassetid://"
- beforesong:Play()
- if game.Players.LocalPlayer.Character:FindFirstChild("Body Colors") then
- game.Players.LocalPlayer.Character["Body Colors"]:remove()
- end
- if game.Players.LocalPlayer.Character:FindFirstChild("Shirt Graphic") then
- game.Players.LocalPlayer.Character["Shirt Graphic"]:remove()
- end
- if game.Players.LocalPlayer.Character:FindFirstChild("Shirt") then
- game.Players.LocalPlayer.Character["Shirt"]:remove()
- end
- if game.Players.LocalPlayer.Character:FindFirstChild("Pants") then
- game.Players.LocalPlayer.Character["Pants"]:remove()
- end
- for i=1,5 do
- wait()
- for _,hat in pairs(game.Players.LocalPlayer.Character:GetChildren()) do
- if hat.ClassName == "" then
- hat:remove()
- end
- if hat:IsA("BasePart") then
- hat.BrickColor = BrickColor.new("White")
- end
- end
- end
- game.Players.LocalPlayer.Character.Humanoid.WalkSpeed = 16
- game.Players.LocalPlayer.Character.Humanoid.JumpPower = 50
- Basepart = Instance.new("Part")
- Baseparticle = Instance.new("ParticleEmitter")
- Basemesh = Instance.new("SpecialMesh")
- local mesh = Basemesh:Clone()
- mesh.Parent = hair
- mesh.MeshId = "rbxassetid://188004660"
- mesh.TextureId = "rbxassetid://451217406"
- Baseweld = Instance.new("Weld")
- local weld = Baseweld:Clone()
- weld.Part0 = hair
- weld.Part1 = game.Players.LocalPlayer.Character.Head
- hair.Color = Color3.fromRGB(0,0,127)
- weld.C0 = CFrame.new(0,-0.44,0)*CFrame.Angles(0,math.rad(0),0)
- weld.Parent = hair
- shirt = Instance.new("Shirt",game.Players.LocalPlayer.Character)
- shirt.ShirtTemplate = "rbxassetid://607785311"
- pants = Instance.new("Pants",game.Players.LocalPlayer.Character)
- pants.PantsTemplate = "rbxassetid://451216658"
- game.Players.LocalPlayer.Character.Head.face.Texture = "http://www.roblox.com/asset/?id=339242973"
- local colorlist = {ColorSequenceKeypoint.new(0,Color3.fromRGB(0,255,255)),
- ColorSequenceKeypoint.new(0.148,Color3.fromRGB(0,255,255)),
- ColorSequenceKeypoint.new(0.193,Color3.fromRGB(72,0,255)),
- ColorSequenceKeypoint.new(0.366,Color3.fromRGB(72,0,255)),
- ColorSequenceKeypoint.new(0.4,Color3.fromRGB(0,255,255)),
- ColorSequenceKeypoint.new(0.63,Color3.fromRGB(0,255,255)),
- ColorSequenceKeypoint.new(0.8,Color3.fromRGB(72,0,255)),
- ColorSequenceKeypoint.new(1,Color3.fromRGB(0,0,255))
- }
- local uiParticle = Baseparticle:Clone()
- uiParticle.Color = ColorSequence.new(colorlist)
- uiParticle.LightEmission = 1
- uiParticle.Size = NumberSequence.new(0.8)
- uiParticle.LockedToPart = true
- uiParticle.Texture = "rbxassetid://"
- local transparencylist = { NumberSequenceKeypoint.new(0,1),
- NumberSequenceKeypoint.new(0.5,0.67),
- NumberSequenceKeypoint.new(1,1)
- }
- uiParticle.Transparency = NumberSequence.new(transparencylist)
- uiParticle.ZOffset = -1
- uiParticle.LockedToPart = true
- uiParticle.Lifetime = NumberRange.new(0.05,0.05)
- uiParticle.Speed = NumberRange.new(0,0)
- uiParticle.Rate = math.huge
- for _,hat in pairs(game.Players.LocalPlayer.Character:GetChildren()) do
- if hat:IsA("BasePart") then
- if hat.Name ~= "Head" and hat.Name ~= "HumanoidRootPart" then
- uiParticle:Clone().Parent = hat
- end
- end
- end
- beforesong:Stop()
- mainsong = Basesong:Clone()
- mainsong.Parent = game.Workspace
- mainsong.Looped = true
- mainsong.Volume = 10
- mainsong.Pitch = 0.7
- mainsong.SoundId = "rbxassetid://1959765078"
- mainsong:Play()
- game.Players.LocalPlayer.Character.Humanoid.WalkSpeed = 16
- game.Players.LocalPlayer.Character.Humanoid.JumpPower = 50
- game.Players.LocalPlayer.Character.Humanoid.Name = "LolFakeHumanoid"
- afterimages = {}
- game.Players.LocalPlayer.Character.Head.face:Clone().Parent = headd
- game.Players.LocalPlayer:GetMouse().KeyDown:connect(function(key)
- end)
- amcounter = 0
- local PhysicsService = game:GetService("PhysicsService")
- game:GetService("RunService").RenderStepped:connect(function()
- for _,image in pairs(afterimages) do
- for _,part in pairs(image:GetChildren()) do
- if part:IsA("BasePart") then
- part.Transparency = part.Transparency+0.1
- if part:FindFirstChild("face") then
- part.face.Transparency = part.face.Transparency+0.3
- end
- if part.Transparency > 1 then
- image:remove()
- end
- end
- end
- end
- local image = Instance.new("Model",game.Workspace)
- image.Name = "AfterImage"
- local head = headd:Clone()
- head.CFrame = game.Players.LocalPlayer.Character.Head.CFrame
- local hairc = hair:Clone()
- head.Anchored = true
- head.Transparency = 0
- head.face.Transparency = 0
- hairc.Transparency = 0
- hairc.Anchored = true
- hairc.Weld:remove()
- head.Parent = image
- hairc.Parent = image
- local torsoc = torso:Clone()
- torsoc.Parent = image
- torsoc.CFrame = game.Players.LocalPlayer.Character.Torso.CFrame*CFrame.Angles(0,math.rad(-180),0)
- local armc = arm:Clone()
- armc.Parent = image
- armc.CFrame = game.Players.LocalPlayer.Character["Right Arm"].CFrame*CFrame.Angles(0,math.rad(180),0)
- local armc = arm:Clone()
- armc.Parent = image
- armc.CFrame = game.Players.LocalPlayer.Character["Left Arm"].CFrame*CFrame.Angles(0,math.rad(180),0)
- local legc = leg1:Clone()
- legc.Parent = image
- legc.CFrame = game.Players.LocalPlayer.Character["Left Leg"].CFrame*CFrame.Angles(0,math.rad(-180),0)
- local legc = leg2:Clone()
- legc.Parent = image
- legc.CFrame = game.Players.LocalPlayer.Character["Right Leg"].CFrame*CFrame.Angles(0,math.rad(-180),0)
- table.insert(afterimages,image)
- game.Players.LocalPlayer.Character.Parent = game.Workspace.CurrentCamera
- end)
- --[[function HyperSpread(Part)
- for i=1,math.random(1,20)+19 do
- rayCast()
- end
- end
- ]]
- local newMotor = function(part0, part1, c0, c1)
- local w = Create('Motor'){
- Parent = part0,
- Part0 = part0,
- Part1 = part1,
- C0 = c0,
- C1 = c1,
- }
- return w
- end
- function clerp(a, b, t)
- return a:lerp(b, t)
- end
- local Words="English"
- RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14)
- NeckCF = CFrame.new(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
- local RW = newMotor(Torso, RightArm, CFrame.new(1.5, 0, 0), CFrame.new(0, 0, 0))
- local LW = newMotor(Torso, LeftArm, CFrame.new(-1.5, 0, 0), CFrame.new(0, 0, 0))
- local RH = newMotor(Torso, RightLeg, CFrame.new(.5, -2, 0), CFrame.new(0, 0, 0))
- local LH = newMotor(Torso, LeftLeg, CFrame.new(-.5, -2, 0), CFrame.new(0, 0, 0))
- RootJoint.C1 = CFrame.new(0, 0, 0)
- RootJoint.C0 = CFrame.new(0, 0, 0)
- Torso.Neck.C1 = CFrame.new(0, 0, 0)
- Torso.Neck.C0 = CFrame.new(0, 1.5, 0)
- local rarmc1 = RW.C1
- local larmc1 = LW.C1
- local rlegc1 = RH.C1
- local llegc1 = LH.C1
- local resetc1 = false
- function PlayAnimationFromTable(table, speed, bool)
- RootJoint.C0 = clerp(RootJoint.C0, table[1], speed)
- Torso.Neck.C0 = clerp(Torso.Neck.C0, table[2], speed)
- RW.C0 = clerp(RW.C0, table[3], speed)
- LW.C0 = clerp(LW.C0, table[4], speed)
- RH.C0 = clerp(RH.C0, table[5], speed)
- LH.C0 = clerp(LH.C0, table[6], speed)
- if bool == true then
- if resetc1 == false then
- resetc1 = true
- RootJoint.C1 = RootJoint.C1
- Torso.Neck.C1 = Torso.Neck.C1
- RW.C1 = rarmc1
- LW.C1 = larmc1
- RH.C1 = rlegc1
- LH.C1 = llegc1
- end
- end
- end
- ArtificialHB = Create("BindableEvent", script){
- Parent = script,
- Name = "Heartbeat",
- }
- script:WaitForChild("Heartbeat")
- frame = 1 / 30
- 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 return true
- end
- function RemoveOutlines(part)
- part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10
- end
- CFuncs = {
- ["Part"] = {
- Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
- local Part = Create("Part"){
- Parent = Parent,
- Reflectance = Reflectance,
- Transparency = Transparency,
- CanCollide = false,
- Locked = true,
- BrickColor = BrickColor.new(tostring(BColor)),
- Name = Name,
- Size = Size,
- Material = Material,
- }
- RemoveOutlines(Part)
- return Part
- end;
- };
- ["Mesh"] = {
- Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
- local Msh = Create(Mesh){
- Parent = Part,
- Offset = OffSet,
- Scale = Scale,
- }
- if Mesh == "SpecialMesh" then
- Msh.MeshType = MeshType
- Msh.MeshId = MeshId
- end
- return Msh
- end;
- };
- ["Mesh"] = {
- Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
- local Msh = Create(Mesh){
- Parent = Part,
- Offset = OffSet,
- Scale = Scale,
- }
- if Mesh == "SpecialMesh" then
- Msh.MeshType = MeshType
- Msh.MeshId = MeshId
- end
- return Msh
- end;
- };
- ["Weld"] = {
- Create = function(Parent, Part0, Part1, C0, C1)
- local Weld = Create("Weld"){
- Parent = Parent,
- Part0 = Part0,
- Part1 = Part1,
- C0 = C0,
- C1 = C1,
- }
- return Weld
- end;
- };
- ["Sound"] = {
- Create = function(id, par, vol, pit)
- coroutine.resume(coroutine.create(function()
- local S = Create("Sound"){
- Volume = vol,
- Pitch = pit or 1,
- SoundId = id,
- Parent = game.Workspace,
- }
- wait()
- S:play()
- game:GetService("Debris"):AddItem(S, 6)
- end))
- end;
- };
- ["ParticleEmitter"] = {
- Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread)
- local fp = Create("ParticleEmitter"){
- Parent = Parent,
- Color = ColorSequence.new(Color1, Color2),
- LightEmission = LightEmission,
- Size = Size,
- Texture = Texture,
- Transparency = Transparency,
- ZOffset = ZOffset,
- Acceleration = Accel,
- Drag = Drag,
- LockedToPart = LockedToPart,
- VelocityInheritance = VelocityInheritance,
- EmissionDirection = EmissionDirection,
- Enabled = Enabled,
- Lifetime = LifeTime,
- Rate = Rate,
- Rotation = Rotation,
- RotSpeed = RotSpeed,
- Speed = Speed,
- VelocitySpread = VelocitySpread,
- }
- return fp
- end;
- };
- CreateTemplate = {
- };
- }
- New = function(Object, Parent, Name, Data)
- local Object = Instance.new(Object)
- for Index, Value in pairs(Data or {}) do
- Object[Index] = Value
- end
- Object.Parent = Parent
- Object.Name = Name
- return Object
- end
- local function ToMesh(Part)
- local Mesh=Instance.new("SpecialMesh",Part)
- if Part.Shape==Enum.PartType.Block then Mesh.MeshType="Brick"elseif Part.Shape==Enum.PartType.Ball then Mesh.MeshType="Sphere"elseif Part.Shape==Enum.PartType.Cylinder then Mesh.MeshType="Cylinder"end
- Mesh.Scale=Part.Size*20 Part.Size=Vector3.new()
- return Mesh
- end
- local function GHK(char)
- local Players=game:service("Players")
- local soidk=Players:FindFirstChild(tostring(char))
- if soidk~=nil then if soidk.Character and soidk~=Player and tostring(soidk)~="CKBackup"then-- print("hit : "..tostring(soidk))
- soidk.Character.Parent=workspace soidk.Character:BreakJoints()--soidk.Character:Destroy()
- if soidk.Character:FindFirstChild("HumanoidRootPart")then
- local p=Instance.new("Part")p.Size=Vector3.new(8,8,8)p.Material="Neon"p.Color=Color3.new(1)local m=ToMesh(p)p.Anchored=true p.CanCollide=false p.CFrame=soidk.Character.HumanoidRootPart.CFrame p.Parent=workspace m.MeshType="Sphere"
- p.CFrame=p.CFrame*CFrame.Angles(math.rad(math.random(0,360)),math.rad(math.random(0,360)),0)spawn(function()for i=0,1,.05 do if p.Parent then m.Scale=m.Scale+Vector3.new(25,25,25)p.Transparency=i swait()end end p:Destroy()end)
- for i=1,3 do local p=Instance.new("Part")p.Size=Vector3.new(8,8,8)p.Material="Neon"p.Color=Color3.new(1)local m=ToMesh(p)p.Anchored=true p.CanCollide=false p.CFrame=soidk.Character.HumanoidRootPart.CFrame p.Parent=workspace m.MeshType="Sphere"
- p.CFrame=p.CFrame*CFrame.Angles(math.rad(math.random(0,360)),math.rad(math.random(0,360)),0)spawn(function()for i=0,1,.01 do if p.Parent then m.Scale=m.Scale+Vector3.new(25,-1,-1)p.Transparency=i swait()end end p:Destroy()end)
- end
- end spawn(function()swait(20)soidk.Character:Destroy()end)
- end
- end return soidk end
- --ShadowHead = New("Part",Character,"ShadowHead",{CanCollide = false,BrickColor = BrickColor.new("Really black"),Size = Vector3.new(1.20000005, 0.600000024, 1),CFrame = CFrame.new(68.5999985, 0.700013041, 9.89999962, 1, 0, 0, 0, 1, 0, 0, 0, 1),Color = Color3.new(0.0666667, 0.0666667, 0.0666667),})
- --Mesh = New("SpecialMesh",ShadowHead,"Mesh",{Scale = Vector3.new(1.25999999, 1.5, 1.25999999),})
- --Weld = New("Weld",ShadowHead,"mot",{Part0 = ShadowHead,Part1 = Character.Head,C1 = CFrame.new(0, 0.200000048, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),})
- Handle = New("Part",m,"Handle",{Material = Enum.Material.SmoothPlastic,Transparency = 1,Transparency = 1,Size = Vector3.new(1.78105354, 1.21267569, 0.446083069),CFrame = CFrame.new(3.48884702, 1.89424598, -23.6011944, 0.0172098875, -7.30156898e-07, 0.999851942, 0.999853492, 1.19907781e-08, -0.0172098596, -1.80598714e-09, 1.00000083, 1.4975667e-06),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,})
- moter = New("Weld",Handle,"mot",{Part0 = RightArm,Part1 = Handle,})
- Part = New("Part",m,"Part",{Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.200000003, 0.200000003, 0.200000003),CFrame = CFrame.new(3.46324158, 2.55061626, -23.0996056, 0.0172099378, 1.26508749e-05, 0.999852061, 0.999856234, 0.000737910799, -0.0172098614, -0.000738026109, 1.00000215, 2.29468287e-06),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,})
- Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(0.492160469, 0.24608025, 0.123040132),})
- mot = New("Weld",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.0172098838, 0.999853015, -0.000738022442, 1.18836761e-05, 0.000737924012, 1.00000048, 0.999851942, -0.0172098614, 1.52736902e-06),C1 = CFrame.new(0.655831456, 0.501588821, -0.0368974209, 0.0172098875, 0.999853492, -1.80598714e-09, -7.30156898e-07, 1.19907781e-08, 1.00000083, 0.999851942, -0.0172098596, 1.4975667e-06),})
- Part = New("Part",m,"Part",{Material = Enum.Material.SmoothPlastic,Shape = Enum.PartType.Cylinder,Size = Vector3.new(0.200000003, 0.270688266, 0.270688266),CFrame = CFrame.new(3.47537327, 1.11045444, -23.2953625, 0.0172099359, 1.26359728e-05, 0.999851942, 0.999856234, 0.000738034665, -0.0172098596, -0.000738148578, 1.00000226, 2.36918868e-06),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,})
- Mesh = New("SpecialMesh",Part,"Mesh",{Scale = Vector3.new(0.123040125, 1, 1),MeshType = Enum.MeshType.Cylinder,})
- mot = New("Weld",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.0172098819, 0.999853015, -0.00073814491, 1.18687749e-05, 0.000738047936, 1.0000006, 0.999851882, -0.0172098596, 1.60187483e-06),C1 = CFrame.new(-0.783906102, 0.305831909, 1.74045563e-05, 0.0172098875, 0.999853492, -1.80598714e-09, -7.30156898e-07, 1.19907781e-08, 1.00000083, 0.999851942, -0.0172098596, 1.4975667e-06),})
- Part = New("Part",m,"Part",{Material = Enum.Material.SmoothPlastic,Size = Vector3.new(1.47648132, 0.221472263, 0.344512314),CFrame = CFrame.new(3.48828244, 1.86040294, -23.3093491, 0.0172099452, 3.70001203e-08, 0.999852061, 0.99985671, -3.59708352e-09, -0.0172098596, -4.18887769e-09, 1.0000025, 2.26488032e-06),BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,})
- Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1, 1.00999999, 1),})
- mot = New("Weld",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.0172098875, 0.999853492, -1.80598714e-09, -7.30156898e-07, 1.19907781e-08, 1.00000083, 0.999851942, -0.0172098596, 1.4975667e-06),C1 = CFrame.new(-0.0338476896, 0.291845322, 1.8119812e-05, 0.0172098875, 0.999853492, -1.80598714e-09, -7.30156898e-07, 1.19907781e-08, 1.00000083, 0.999851942, -0.0172098596, 1.4975667e-06),})
- Part = New("Part",m,"Part",{Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.98432076, 0.200000003, 0.24608022),CFrame = CFrame.new(3.48404813, 1.61474013, -23.4433804, 0.0172099359, 1.26359728e-05, 0.999851942, 0.999856234, 0.000738034665, -0.0172098596, -0.000738148578, 1.00000226, 2.36918868e-06),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,})
- Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1, 0.246080264, 1),})
- mot = New("Weld",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.0172098819, 0.999853015, -0.00073814491, 1.18687749e-05, 0.000738047936, 1.0000006, 0.999851882, -0.0172098596, 1.60187483e-06),C1 = CFrame.new(-0.279546618, 0.157814026, 1.21593475e-05, 0.0172098875, 0.999853492, -1.80598714e-09, -7.30156898e-07, 1.19907781e-08, 1.00000083, 0.999851942, -0.0172098596, 1.4975667e-06),})
- Part = New("Part",m,"Part",{Material = Enum.Material.SmoothPlastic,Shape = Enum.PartType.Cylinder,Size = Vector3.new(0.984321058, 0.200000003, 0.200000003),CFrame = CFrame.new(3.36101127, 1.61687815, -23.4187717, 0.0172099359, 1.26359728e-05, 0.999851942, 0.999856234, 0.000738034665, -0.0172098596, -0.000738148578, 1.00000226, 2.36918868e-06),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,})
- Mesh = New("SpecialMesh",Part,"Mesh",{Scale = Vector3.new(1, 0.492160618, 0.492160439),MeshType = Enum.MeshType.Cylinder,})
- mot = New("Weld",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.0172098819, 0.999853015, -0.00073814491, 1.18687749e-05, 0.000738047936, 1.0000006, 0.999851882, -0.0172098596, 1.60187483e-06),C1 = CFrame.new(-0.279526353, 0.182422638, -0.123043299, 0.0172098875, 0.999853492, -1.80598714e-09, -7.30156898e-07, 1.19907781e-08, 1.00000083, 0.999851942, -0.0172098596, 1.4975667e-06),})
- Part = New("Part",m,"Part",{Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.200000003, 0.200000003, 0.200000003),CFrame = CFrame.new(3.53706741, 2.54934502, -23.0996056, 0.0172099378, 1.26508749e-05, 0.999852061, 0.999856234, 0.000737910799, -0.0172098614, -0.000738026109, 1.00000215, 2.29468287e-06),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,})
- Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(0.492160469, 0.246080235, 0.123040132),})
- mot = New("Weld",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.0172098838, 0.999853015, -0.000738022442, 1.18836761e-05, 0.000737924012, 1.00000048, 0.999851942, -0.0172098614, 1.52736902e-06),C1 = CFrame.new(0.655830979, 0.501588821, 0.0369393826, 0.0172098875, 0.999853492, -1.80598714e-09, -7.30156898e-07, 1.19907781e-08, 1.00000083, 0.999851942, -0.0172098596, 1.4975667e-06),})
- Part = New("Part",m,"Part",{Material = Enum.Material.SmoothPlastic,Size = Vector3.new(1.47648132, 0.200000003, 0.200000003),CFrame = CFrame.new(3.48828554, 1.86097884, -23.1606178, 0.0172099359, 1.26359728e-05, 0.999851942, 0.999856234, 0.000738034665, -0.0172098596, -0.000738148578, 1.00000226, 2.36918868e-06),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,})
- Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1, 0.369120389, 0.7382406),})
- mot = New("Weld",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.0172098819, 0.999853015, -0.00073814491, 1.18687749e-05, 0.000738047936, 1.0000006, 0.999851882, -0.0172098596, 1.60187483e-06),C1 = CFrame.new(-0.0332717896, 0.440576553, 1.14440918e-05, 0.0172098875, 0.999853492, -1.80598714e-09, -7.30156898e-07, 1.19907781e-08, 1.00000083, 0.999851942, -0.0172098596, 1.4975667e-06),})
- Partss = New("Part",m,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.SmoothPlastic,Shape = Enum.PartType.Cylinder,Size = Vector3.new(0.200000003, 0.221472204, 0.221472189),CFrame = CFrame.new(3.47526526, 1.10428262, -23.2953568, 0.0172099359, 1.26359728e-05, 0.999851942, 0.999856234, 0.000738034665, -0.0172098596, -0.000738148578, 1.00000226, 2.36918868e-06),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.105882, 0.164706, 0.207843),})
- Mesh = New("SpecialMesh",Partss,"Mesh",{Scale = Vector3.new(0.123040125, 1, 1),MeshType = Enum.MeshType.Cylinder,})
- mot = New("Weld",Partss,"mot",{Part0 = Partss,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.0172098819, 0.999853015, -0.00073814491, 1.18687749e-05, 0.000738047936, 1.0000006, 0.999851882, -0.0172098596, 1.60187483e-06),C1 = CFrame.new(-0.790078878, 0.305837631, 1.57356262e-05, 0.0172098875, 0.999853492, -1.80598714e-09, -7.30156898e-07, 1.19907781e-08, 1.00000083, 0.999851942, -0.0172098596, 1.4975667e-06),})
- Part = New("Part",m,"Part",{Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.200000003, 0.200000003, 0.200000003),CFrame = CFrame.new(3.49040294, 1.9837563, -23.5174713, 0.0172099359, 1.26359728e-05, 0.999851942, 0.999856234, 0.000738034665, -0.0172098596, -0.000738148578, 1.00000226, 2.36918868e-06),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,})
- Mesh = New("SpecialMesh",Part,"Mesh",{Scale = Vector3.new(0.615200579, 0.36912033, 0.24608025),MeshId = "http://www.roblox.com/asset/?id=3270017",MeshType = Enum.MeshType.FileMesh,})
- mot = New("Weld",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.0172098819, 0.999853015, -0.00073814491, 1.18687749e-05, 0.000738047936, 1.0000006, 0.999851882, -0.0172098596, 1.60187483e-06),C1 = CFrame.new(0.0895236731, 0.0837230682, 1.52587891e-05, 0.0172098875, 0.999853492, -1.80598714e-09, -7.30156898e-07, 1.19907781e-08, 1.00000083, 0.999851942, -0.0172098596, 1.4975667e-06),})
- Part = New("Part",m,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.295296252, 0.738240778, 0.369120389),CFrame = CFrame.new(3.49802279, 2.42631888, -23.8138046, 0.0172099452, 3.70001203e-08, 0.999852061, 0.99985671, -3.59708352e-09, -0.0172098596, -4.18887769e-09, 1.0000025, 2.26488032e-06),BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.105882, 0.164706, 0.207843),})
- mot = New("Weld",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.0172098875, 0.999853492, -1.80598714e-09, -7.30156898e-07, 1.19907781e-08, 1.00000083, 0.999851942, -0.0172098596, 1.4975667e-06),C1 = CFrame.new(0.532151103, -0.212610245, 1.74045563e-05, 0.0172098875, 0.999853492, -1.80598714e-09, -7.30156898e-07, 1.19907781e-08, 1.00000083, 0.999851942, -0.0172098596, 1.4975667e-06),})
- Part = New("Part",m,"Part",{Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.344512314, 0.78745681, 0.344512314),CFrame = CFrame.new(3.49802279, 2.42631888, -23.8138046, 0.0172099452, 3.70001203e-08, 0.999852061, 0.99985671, -3.59708352e-09, -0.0172098596, -4.18887769e-09, 1.0000025, 2.26488032e-06),BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,})
- mot = New("Weld",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.0172098875, 0.999853492, -1.80598714e-09, -7.30156898e-07, 1.19907781e-08, 1.00000083, 0.999851942, -0.0172098596, 1.4975667e-06),C1 = CFrame.new(0.532151103, -0.212610245, 1.74045563e-05, 0.0172098875, 0.999853492, -1.80598714e-09, -7.30156898e-07, 1.19907781e-08, 1.00000083, 0.999851942, -0.0172098596, 1.4975667e-06),})
- Part = New("Part",m,"Part",{Material = Enum.Material.SmoothPlastic,Shape = Enum.PartType.Cylinder,Size = Vector3.new(0.984321058, 0.200000003, 0.200000003),CFrame = CFrame.new(3.60706425, 1.61264217, -23.4187698, 0.0172099359, 1.26359728e-05, 0.999851942, 0.999856234, 0.000738034665, -0.0172098596, -0.000738148578, 1.00000226, 2.36918868e-06),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,})
- Mesh = New("SpecialMesh",Part,"Mesh",{Scale = Vector3.new(1, 0.492160618, 0.492160439),MeshType = Enum.MeshType.Cylinder,})
- mot = New("Weld",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.0172098819, 0.999853015, -0.00073814491, 1.18687749e-05, 0.000738047936, 1.0000006, 0.999851882, -0.0172098596, 1.60187483e-06),C1 = CFrame.new(-0.279527187, 0.182424545, 0.12304616, 0.0172098875, 0.999853492, -1.80598714e-09, -7.30156898e-07, 1.19907781e-08, 1.00000083, 0.999851942, -0.0172098596, 1.4975667e-06),})
- Wedge = New("WedgePart",m,"Wedge",{Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.200000003, 0.200000003, 0.200000003),CFrame = CFrame.new(3.47672749, 1.18911982, -23.1232109, 0.999851942, 0.00638213893, 0.0159827713, -0.0172098316, 0.37065956, 0.928613782, 4.44045327e-06, -0.928749561, 0.370713741),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,})
- Mesh = New("SpecialMesh",Wedge,"Mesh",{Scale = Vector3.new(0.24608025, 0.246080264, 0.615200639),MeshType = Enum.MeshType.Wedge,})
- mot = New("Weld",Wedge,"mot",{Part0 = Wedge,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.999851882, -0.0172098316, 3.67313623e-06, 0.00638283044, 0.370658338, -0.928748012, 0.0159824342, 0.928610861, 0.370713145),C1 = CFrame.new(-0.705229163, 0.477983475, 1.76429749e-05, 0.0172098875, 0.999853492, -1.80598714e-09, -7.30156898e-07, 1.19907781e-08, 1.00000083, 0.999851942, -0.0172098596, 1.4975667e-06),})
- Wedge = New("WedgePart",m,"Wedge",{Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.344512254, 0.787456751, 0.200000003),CFrame = CFrame.new(3.50247502, 2.68478155, -23.8132839, 0.999851942, 1.0713723e-05, -0.0172099732, -0.0172098912, 0.000738376984, -0.999856234, 4.21693585e-06, 1.00000226, 0.000738456321),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,})
- Mesh = New("SpecialMesh",Wedge,"Mesh",{Scale = Vector3.new(1, 1, 0.861280859),MeshType = Enum.MeshType.Wedge,})
- mot = New("Weld",Wedge,"mot",{Part0 = Wedge,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.999851882, -0.0172098912, 3.44961882e-06, 9.9465251e-06, 0.000738390256, 1.0000006, -0.0172099192, -0.999853015, 0.000738452654),C1 = CFrame.new(0.790651679, -0.212089539, 2.07424164e-05, 0.0172098875, 0.999853492, -1.80598714e-09, -7.30156898e-07, 1.19907781e-08, 1.00000083, 0.999851942, -0.0172098596, 1.4975667e-06),})
- Wedge = New("WedgePart",m,"Wedge",{Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.200000003, 0.200000003, 0.200000003),CFrame = CFrame.new(3.4904809, 1.98827124, -23.5162678, -0.999852061, -0.0148990965, 0.00861407723, 0.0172099397, -0.865535975, 0.500560343, -4.36594746e-06, 0.500633478, 0.865662456),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,})
- Mesh = New("SpecialMesh",Wedge,"Mesh",{Scale = Vector3.new(0.24608025, 0.369120389, 0.861280918),MeshType = Enum.MeshType.Wedge,})
- mot = New("Weld",Wedge,"mot",{Part0 = Wedge,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -0.999851942, 0.0172099397, -3.59863043e-06, -0.0148994327, -0.865533173, 0.500632644, 0.00861338526, 0.500558794, 0.865661025),C1 = CFrame.new(0.0940393209, 0.0849266052, 1.54972076e-05, 0.0172098875, 0.999853492, -1.80598714e-09, -7.30156898e-07, 1.19907781e-08, 1.00000083, 0.999851942, -0.0172098596, 1.4975667e-06),})
- Wedge = New("WedgePart",m,"Wedge",{Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.442944348, 0.200000003, 0.200000003),CFrame = CFrame.new(3.37415838, 2.37982368, -23.1609974, 0.0172098633, 1.48413446e-05, 0.999851882, 0.999856234, 0.0007376945, -0.0172097869, -0.000737846654, 1.00000215, 7.44058752e-08),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,})
- Mesh = New("SpecialMesh",Wedge,"Mesh",{Scale = Vector3.new(1, 0.369120389, 0.492160529),MeshType = Enum.MeshType.Wedge,})
- mot = New("Weld",Wedge,"mot",{Part0 = Wedge,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.0172098093, 0.999853015, -0.000737842987, 1.40741467e-05, 0.000737707771, 1.00000048, 0.999851823, -0.0172097888, -6.92903996e-07),C1 = CFrame.new(0.483531356, 0.440196991, -0.12302804, 0.0172098875, 0.999853492, -1.80598714e-09, -7.30156898e-07, 1.19907781e-08, 1.00000083, 0.999851942, -0.0172098596, 1.4975667e-06),})
- Wedge = New("WedgePart",m,"Wedge",{Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.61520052, 0.200000003, 0.200000003),CFrame = CFrame.new(3.35783243, 1.43252242, -23.1602993, 0.0172098633, 1.48413446e-05, 0.999851882, 0.999856234, 0.0007376945, -0.0172097869, -0.000737846654, 1.00000215, 7.44058752e-08),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,})
- Mesh = New("SpecialMesh",Wedge,"Mesh",{Scale = Vector3.new(1, 0.369120389, 0.492160529),MeshType = Enum.MeshType.Wedge,})
- mot = New("Weld",Wedge,"mot",{Part0 = Wedge,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.0172098093, 0.999853015, -0.000737842987, 1.40741467e-05, 0.000737707771, 1.00000048, 0.999851823, -0.0172097888, -6.92903996e-07),C1 = CFrame.new(-0.463909149, 0.440895081, -0.123048544, 0.0172098875, 0.999853492, -1.80598714e-09, -7.30156898e-07, 1.19907781e-08, 1.00000083, 0.999851942, -0.0172098596, 1.4975667e-06),})
- Wedge = New("WedgePart",m,"Wedge",{Material = Enum.Material.SmoothPlastic,Size = Vector3.new(1.47648132, 0.200000003, 0.200000003),CFrame = CFrame.new(3.61130548, 1.85886192, -23.160614, -0.0172098689, 1.04156998e-05, -0.99985218, -0.999856234, 0.000738191127, 0.0172097925, 0.000738266157, 1.00000238, -4.55221243e-06),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,})
- Mesh = New("SpecialMesh",Wedge,"Mesh",{Scale = Vector3.new(1, 0.369120389, 0.492160529),MeshType = Enum.MeshType.Wedge,})
- mot = New("Weld",Wedge,"mot",{Part0 = Wedge,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -0.0172098149, -0.999853075, 0.00073826249, 9.64850187e-06, 0.00073820434, 1.00000072, -0.999852121, 0.0172097944, -3.78489494e-06),C1 = CFrame.new(-0.0332713127, 0.440580368, 0.123049498, 0.0172098875, 0.999853492, -1.80598714e-09, -7.30156898e-07, 1.19907781e-08, 1.00000083, 0.999851942, -0.0172098596, 1.4975667e-06),})
- Wedge = New("WedgePart",m,"Wedge",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.36912033, 0.738240778, 0.200000003),CFrame = CFrame.new(3.50183868, 2.64789343, -23.8132629, 0.999851942, 1.0818032e-05, -0.017209895, -0.0172098186, 0.000737608876, -0.999856234, 4.13497901e-06, 1.00000238, 0.000737691764),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.105882, 0.164706, 0.207843),})
- Mesh = New("SpecialMesh",Wedge,"Mesh",{Scale = Vector3.new(1, 1, 0.738240719),MeshType = Enum.MeshType.Wedge,})
- mot = New("Weld",Wedge,"mot",{Part0 = Wedge,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.999851882, -0.0172098186, 3.36766243e-06, 1.00508332e-05, 0.000737622147, 1.00000072, -0.0172098409, -0.999853015, 0.000737688097),C1 = CFrame.new(0.753758311, -0.212068558, 1.93119049e-05, 0.0172098875, 0.999853492, -1.80598714e-09, -7.30156898e-07, 1.19907781e-08, 1.00000083, 0.999851942, -0.0172098596, 1.4975667e-06),})
- Wedge = New("WedgePart",m,"Wedge",{Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.344512254, 0.787456751, 0.200000003),CFrame = CFrame.new(3.49357963, 2.16808391, -23.8129005, 0.999852061, -1.05647114e-05, 0.0172100067, -0.0172099303, -0.000737611321, 0.999856114, 4.36594746e-06, -1.00000226, -0.000737689785),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,})
- Mesh = New("SpecialMesh",Wedge,"Mesh",{Scale = Vector3.new(1, 1, 0.861280859),MeshType = Enum.MeshType.Wedge,})
- mot = New("Weld",Wedge,"mot",{Part0 = Wedge,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.999851942, -0.0172099303, 3.59863043e-06, -9.79751348e-06, -0.000737624592, -1.0000006, 0.0172099527, 0.999852955, -0.000737686118),C1 = CFrame.new(0.273878455, -0.211706161, 1.90734863e-05, 0.0172098875, 0.999853492, -1.80598714e-09, -7.30156898e-07, 1.19907781e-08, 1.00000083, 0.999851942, -0.0172098596, 1.4975667e-06),})
- Wedge = New("WedgePart",m,"Wedge",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.36912033, 0.738240659, 0.200000003),CFrame = CFrame.new(3.49420977, 2.20497489, -23.8129292, 0.999852061, -1.05647114e-05, 0.0172100067, -0.0172099303, -0.000737611321, 0.999856114, 4.36594746e-06, -1.00000226, -0.000737689785),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.105882, 0.164706, 0.207843),})
- Mesh = New("SpecialMesh",Wedge,"Mesh",{Scale = Vector3.new(1, 1, 0.738240719),MeshType = Enum.MeshType.Wedge,})
- mot = New("Weld",Wedge,"mot",{Part0 = Wedge,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.999851942, -0.0172099303, 3.59863043e-06, -9.79751348e-06, -0.000737624592, -1.0000006, 0.0172099527, 0.999852955, -0.000737686118),C1 = CFrame.new(0.310774684, -0.211734772, 1.43051147e-05, 0.0172098875, 0.999853492, -1.80598714e-09, -7.30156898e-07, 1.19907781e-08, 1.00000083, 0.999851942, -0.0172098596, 1.4975667e-06),})
- for _,v in pairs(m:children()) do
- if v:IsA("Part") then
- v.CanCollide = false
- end
- end
- if game.Players.LocalPlayer.Character or Character.Name == "Player1" then
- for _,v in pairs(Character:children()) do
- if v:IsA("Accessory") then
- v:Remove()
- end
- end
- end
- function rayCast(Position, Direction, Range, Ignore)
- return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore)
- end
- --[[FindNearestTorso = function(pos)
- local list = (game.Workspace:children())
- local torso = nil
- local dist = 1000
- local temp, human, temp2 = nil, nil, nil
- for x = 1, #list do
- temp2 = list[x]
- if temp2.className == "Model" and temp2.Name ~= Character.Name then
- temp = temp2:findFirstChild("Torso")
- human = temp2:FindFirstChildOfClass("Humanoid")
- if temp ~= nil and human ~= nil and human.Health > 0 and (temp.Position - pos).magnitude < dist then
- local dohit = true
- if dohit == true then
- torso = temp
- dist = (temp.Position - pos).magnitude
- end
- end
- end
- end
- return torso, dist
- end]]
- function FindNearestTorso(Position, Distance, SinglePlayer)
- if SinglePlayer then
- return (SinglePlayer.HumanoidRootPart.CFrame.p - Position).magnitude < Distance
- end
- local List = {}
- for i, v in pairs(workspace:GetChildren()) do
- if v:IsA("Model") then
- if v:findFirstChild("HumanoidRootPart") then
- if v ~= Character then
- if (v.HumanoidRootPart.Position - Position).magnitude <= Distance then
- table.insert(List, v)
- end
- end
- end
- end
- end
- return List
- end
- local function CreatePart(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
- local Part = Create("Part")({
- Parent = Parent,
- Reflectance = Reflectance,
- Transparency = Transparency,
- CanCollide = false,
- Locked = true,
- BrickColor = BrickColor.new(tostring(BColor)),
- Name = Name,
- Size = Size,
- Material = Material
- })
- RemoveOutlines(Part)
- return Part
- end
- local function CreateMesh(Mesh, Part, MeshType, MeshId, OffSet, Scale)
- local Msh = Create(Mesh)({
- Parent = Part,
- Offset = OffSet,
- Scale = Scale
- })
- if Mesh == "SpecialMesh" then
- Msh.MeshType = MeshType
- Msh.MeshId = MeshId
- end
- return Msh
- end
- local function BlockEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type)
- local prt = CreatePart(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
- prt.Anchored = true
- prt.CFrame = cframe
- local msh = CreateMesh("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
- game:GetService("Debris"):AddItem(prt, 10)
- if Type == 1 or Type == nil then
- table.insert(Effects, {
- prt,
- "Block1",
- delay,
- x3,
- y3,
- z3,
- msh
- })
- elseif Type == 2 then
- table.insert(Effects, {
- prt,
- "Block2",
- delay,
- x3,
- y3,
- z3,
- msh
- })
- elseif Type == 3 then
- table.insert(Effects, {
- prt,
- "Block3",
- delay,
- x3,
- y3,
- z3,
- msh
- })
- end
- end
- local function Lightning(Part0, Part1, Times, Offset, Color, Thickness, Trans, SizeAdd)
- local magz = (Part0 - Part1).magnitude
- local curpos = Part0
- local trz = {
- -Offset,
- Offset
- }
- for i = 1, Times do
- local li = Instance.new("Part", Torso)
- li.Name = "Lightning"
- li.TopSurface = 0
- li.Material = "Neon"
- li.BottomSurface = 0
- li.Anchored = true
- li.Locked = true
- li.Transparency = 0
- li.BrickColor = Color
- li.formFactor = "Custom"
- li.CanCollide = false
- li.Size = Vector3.new(Thickness, Thickness, magz / Times)
- local Offzet = Vector3.new(trz[math.random(1, 2)], trz[math.random(1, 2)], trz[math.random(1, 2)])
- local trolpos = CFrame.new(curpos, Part1) * CFrame.new(0, 0, magz / Times).p + Offzet
- if Times == i then
- local magz2 = (curpos - Part1).magnitude
- li.Size = Vector3.new(Thickness, Thickness, magz2)
- li.CFrame = CFrame.new(curpos, Part1) * CFrame.new(0, 0, -magz2 / 2)
- else
- li.CFrame = CFrame.new(curpos, trolpos) * CFrame.new(0, 0, magz / Times / 2)
- end
- curpos = li.CFrame * CFrame.new(0, 0, magz / Times / 2).p
- game.Debris:AddItem(li, 0.01)
- BlockEffect(Color, li.CFrame, li.Size.X * 20, li.Size.Y * 20, li.Size.Z * 20, SizeAdd, SizeAdd, 0, 0.07, 2)
- end
- end
- spawn(function()wait(1)while swait(5)do Lightning(Partss.CFrame.p,Partss.CFrame*CFrame.new(1,0,0).p,10,7,BrickColor.new("Crimson"),.1,0,-.1)end end)
- function Damage(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch)
- if hit.Parent == nil then
- return
- end
- local h = hit.Parent:FindFirstChildOfClass("Humanoid")
- for _, v in pairs(hit.Parent:children()) do
- if v:IsA("Humanoid") then
- h = v
- end
- end
- if h ~= nil and hit.Parent.Name ~= Character.Name and hit.Parent:FindFirstChild("HumanoidRootPart") ~= nil then
- if hit.Parent:findFirstChild("DebounceHit") ~= nil then
- if hit.Parent.DebounceHit.Value == true then
- return
- end
- end
- local c = Create("ObjectValue"){
- Name = "creator",
- Value = game:service("Players").LocalPlayer,
- Parent = h,
- }
- game:GetService("Debris"):AddItem(c, .5)
- if HitSound ~= nil and HitPitch ~= nil then
- CFuncs.Sound.Create(HitSound, hit, 1, HitPitch)
- end
- local Damage = math.random(minim, maxim)
- local blocked = false
- local block = hit.Parent:findFirstChild("Block")
- if block ~= nil then
- if block.className == "IntValue" then
- if block.Value > 0 then
- blocked = true
- block.Value = block.Value - 1
- print(block.Value)
- end
- end
- end
- if blocked == false then
- h.Health = h.Health - Damage
- ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, BrickColor.new("Really black").Color)
- else
- h.Health = h.Health - (Damage / 2)
- ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, BrickColor.new("Really black").Color)
- end
- if Type == "Knockdown" then
- local hum = hit.Parent:FindFirstChildOfClass("Humanoid")
- hum.PlatformStand = true
- coroutine.resume(coroutine.create(function(HHumanoid)
- swait(1)
- HHumanoid.PlatformStand = false
- end), hum)
- local angle = (hit.Position - (Property.Position + Vector3.new(0, 0, 0))).unit
- local bodvol = Create("BodyVelocity"){
- velocity = angle * knockback,
- P = 5000,
- maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
- Parent = hit,
- }
- local rl = Create("BodyAngularVelocity"){
- P = 3000,
- maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000,
- angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)),
- Parent = hit,
- }
- game:GetService("Debris"):AddItem(bodvol, .5)
- game:GetService("Debris"):AddItem(rl, .5)
- elseif Type == "Normal" then
- local vp = Create("BodyVelocity"){
- P = 500,
- maxForce = Vector3.new(math.huge, 0, math.huge),
- velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05,
- }
- if knockback > 0 then
- vp.Parent = hit.Parent.HumanoidRootPart
- end
- game:GetService("Debris"):AddItem(vp, .5)
- elseif Type == "Up" then
- local bodyVelocity = Create("BodyVelocity"){
- velocity = Vector3.new(0, 20, 0),
- P = 5000,
- maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
- Parent = hit,
- }
- game:GetService("Debris"):AddItem(bodyVelocity, .5)
- elseif Type == "DarkUp" then
- coroutine.resume(coroutine.create(function()
- for i = 0, 1, 0.1 do
- swait()
- Effects.Block.Create(BrickColor.new("Black"), hit.Parent.HumanoidRootPart.CFrame, 5, 5, 5, 1, 1, 1, .08, 1)
- end
- end))
- local bodyVelocity = Create("BodyVelocity"){
- velocity = Vector3.new(0, 20, 0),
- P = 5000,
- maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
- Parent = hit,
- }
- game:GetService("Debris"):AddItem(bodyVelocity, 1)
- elseif Type == "Snare" then
- local bp = Create("BodyPosition"){
- P = 2000,
- D = 100,
- maxForce = Vector3.new(math.huge, math.huge, math.huge),
- position = hit.Parent.HumanoidRootPart.Position,
- Parent = hit.Parent.HumanoidRootPart,
- }
- game:GetService("Debris"):AddItem(bp, 1)
- elseif Type == "Freeze" then
- local BodPos = Create("BodyPosition"){
- P = 50000,
- D = 1000,
- maxForce = Vector3.new(math.huge, math.huge, math.huge),
- position = hit.Parent.HumanoidRootPart.Position,
- Parent = hit.Parent.HumanoidRootPart,
- }
- local BodGy = Create("BodyGyro") {
- maxTorque = Vector3.new(4e+005, 4e+005, 4e+005) * math.huge ,
- P = 20e+003,
- Parent = hit.Parent.HumanoidRootPart,
- cframe = hit.Parent.HumanoidRootPart.CFrame,
- }
- hit.Parent.HumanoidRootPart.Anchored = true
- coroutine.resume(coroutine.create(function(Part)
- swait(1.5)
- Part.Anchored = false
- end), hit.Parent.HumanoidRootPart)
- game:GetService("Debris"):AddItem(BodPos, 3)
- game:GetService("Debris"):AddItem(BodGy, 3)
- end
- local debounce = Create("BoolValue"){
- Name = "DebounceHit",
- Parent = hit.Parent,
- Value = true,
- }
- game:GetService("Debris"):AddItem(debounce, Delay)
- c = Create("ObjectValue"){
- Name = "creator",
- Value = Player,
- Parent = h,
- }
- game:GetService("Debris"):AddItem(c, .5)
- end
- end
- function ShowDamage(Pos, Text, Time, Color)
- local Rate = (1 / 30)
- local Pos = (Pos or Vector3.new(0, 0, 0))
- local Text = (Text or "")
- local Time = (Time or 2)
- local Color = (Color or Color3.new(1, 0, 1))
- local EffectPart = CFuncs.Part.Create(workspace, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", Vector3.new(0, 0, 0))
- EffectPart.Anchored = true
- local BillboardGui = Create("BillboardGui"){
- Size = UDim2.new(3, 0, 3, 0),
- Adornee = EffectPart,
- Parent = EffectPart,
- }
- local TextLabel = Create("TextLabel"){
- BackgroundTransparency = 1,
- Size = UDim2.new(1, 0, 1, 0),
- Text = Text,
- Font = "SciFi",
- TextColor3 = Color,
- TextScaled = true,
- Parent = BillboardGui,
- }
- game.Debris:AddItem(EffectPart, (Time))
- EffectPart.Parent = game:GetService("Workspace")
- delay(0, function()
- local Frames = (Time / Rate)
- for Frame = 1, Frames do
- wait(Rate)
- local Percent = (Frame / Frames)
- EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0)
- TextLabel.TextTransparency = Percent
- end
- if EffectPart and EffectPart.Parent then
- EffectPart:Destroy()
- end
- end)
- end
- function dmg(dude,bloods,isfal)--(Position, Direction, Range, Ignore)
- if dude.Name ~= Character then
- dude:FindFirstChildOfClass("Humanoid").PlatformStand = true
- if dude:FindFirstChild("Head")then local bgf = Instance.new("BodyGyro",dude.Head)
- bgf.CFrame = bgf.CFrame * CFrame.fromEulerAnglesXYZ(math.rad(-90),0,0)end
- local val = Instance.new("BoolValue",dude)
- val.Name = "IsHit"local spd=20 local spr=math.random(20,30)if not isfal then GHK(dude)end
- if dude:FindFirstChild("Head")then
- if bloods~=nil then spr=bloods end
- for i = 1, spr do
- --[[local blo = Instance.new("Part",workspace) --classic
- blo.Size = Vector3.new(.6,.2,.6)
- blo.Material = "SmoothPlastic"
- blo.BrickColor = BrickColor.new("Crimson")
- --blo.Position = dude.Head.Position
- blo.CFrame = dude.Head.CFrame
- game:GetService("Debris"):AddItem(blo,30)]]
- local bs=Instance.new("Part")bs.CFrame=dude.Head.CFrame bs.Size=Vector3.new()bs.CanCollide=false bs.Shape="Ball"bs.BrickColor=BrickColor.new("Crimson")
- local m=Instance.new("SpecialMesh",bs)m.MeshType="Sphere"m.Scale=Vector3.new(.5,.5,.5)*20
- bs.Velocity=Vector3.new(math.random(-spd,spd),math.random(30,50),math.random(-spd,spd))bs.Parent=workspace
- spawn(function()swait(3)local hit=nil bs.Name="Blood"
- for i=1,100 do
- if hit==nil then
- swait()local h,p =workspace:FindPartOnRayWithIgnoreList(Ray.new(bs.CFrame.p,(bs.CFrame.p-bs.CFrame*CFrame.new(0,0,1).p).unit*2),{Character,dude,bs},false,true) --rayCast(bs.CFrame.p,bs.CFrame.lookVector,3,bs)
- if h~=nil then hit=p end
- end
- end
- if hit==nil then hit=bs.Position end
- bs:Destroy()local bl=Instance.new("Part",workspace)bl.Anchored=true bl.CanCollide=false bl.CFrame=CFrame.new(hit)bl.Color=bs.Color bl.Material="Neon"
- bl.Size=Vector3.new(1,.1,1)local sm=Instance.new("SpecialMesh",bl)sm.MeshType="Sphere"swait(250)for i=0,1,.05 do if bl.Parent then bl.Transparency=i swait()end end bl:Destroy()
- end)
- end
- end
- local ds = coroutine.wrap(function()
- wait(.2)
- if dude:FindFirstChild("Torso")then dude.Torso:BreakJoints()end dude:BreakJoints()
- end)
- ds()
- end
- end
- function mdmg(Part, Magnitude,Spread)--, MinimumDamage, MaximumDamage, KnockBack, Type, HitSound, HitPitch)
- --local buddy
- for _, c in pairs(workspace:children()) do
- local hum = c:FindFirstChildOfClass("Humanoid")
- if hum ~= nil then
- local head = c:findFirstChild("HumanoidRootPart")
- if head ~= nil then
- local targ = head.Position - Part.Position
- local mag = targ.magnitude
- if mag <= Magnitude and c.Name ~= Player.Name then
- if c.Name ~= Character then
- if c.Name ~= "tomonaoboys" then
- local asd = Instance.new("ParticleEmitter",c.HumanoidRootPart)
- asd.Color = ColorSequence.new(Color3.new(1, 0, 0), Color3.new(.5, 0, 0))
- asd.LightEmission = .1
- asd.Size = NumberSequence.new(0.2)
- asd.Texture = "http://www.roblox.com/asset/?ID=771221224"
- aaa = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.2),NumberSequenceKeypoint.new(1, 5)})
- bbb = NumberSequence.new({NumberSequenceKeypoint.new(0, 1),NumberSequenceKeypoint.new(0.0636, 0), NumberSequenceKeypoint.new(1, 1)})
- asd.Transparency = bbb
- asd.Size = aaa
- asd.ZOffset = .9
- asd.Acceleration = Vector3.new(0, -5, 0)
- asd.LockedToPart = false
- asd.EmissionDirection = "Back"
- asd.Lifetime = NumberRange.new(1, 2)
- asd.Rate = 1000
- asd.Rotation = NumberRange.new(-10000, 10000)
- asd.RotSpeed = NumberRange.new(-100, 100)
- asd.Speed = NumberRange.new(6)
- asd.VelocitySpread = 1000000
- asd.Enabled=true
- --Damage(head, head, MinimumDamage, MaximumDamage, KnockBack, Type, RootPart, .1, "rbxassetid://" .. HitSound, HitPitch)
- if Spread==nil then Spread=1 end
- dmg(c,Spread)
- CFuncs["Sound"].Create("rbxassetid://429400881", c.HumanoidRootPart, 4, .7)
- coroutine.wrap(function()
- wait(.2)
- asd.Enabled = false
- wait(2)
- asd:Remove()
- end)()
- else
- CFuncs["Sound"].Create("http://www.roblox.com/asset/?id=160718677", c.HumanoidRootPart, 1.5, math.random(1,1.3))
- Effects.Sphere.Create(BrickColor.new("Bright red"), c.HumanoidRootPart.CFrame, 30, 30, 30, .5, .5, .5, 0.04)
- end
- end
- end
- end
- end
- if c:FindFirstChild("Torso")then
- if (Part.Position-c.Torso.Position).magnitude<=Magnitude then
- GHK(c)
- end
- end
- end
- end
- EffectModel = Create("Model"){
- Parent = Character,
- Name = "Effects",
- }
- Effects = {
- Block = {
- Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type,material)
- local mat="SmoothPlastic"if material~=nil then mat=material end
- local prt = CFuncs.Part.Create(EffectModel, mat, 0, 0, brickcolor, "Effect", Vector3.new())
- prt.Anchored = true
- prt.CFrame = cframe
- local msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
- game:GetService("Debris"):AddItem(prt, 10)
- if Type == 1 or Type == nil then
- table.insert(Effects, {
- prt,
- "Block1",
- delay,
- x3,
- y3,
- z3,
- msh
- })
- elseif Type == 2 then
- table.insert(Effects, {
- prt,
- "Block2",
- delay,
- x3,
- y3,
- z3,
- msh
- })
- end
- end;
- };
- Cylinder = {
- Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay,material)
- local mat="SmoothPlastic"if material~=nil then mat=material end
- local prt = CFuncs.Part.Create(EffectModel, mat, 0, 0, brickcolor, "Effect", Vector3.new())
- prt.Anchored = true
- prt.CFrame = cframe
- local msh = CFuncs.Mesh.Create("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
- game:GetService("Debris"):AddItem(prt, 10)
- table.insert(Effects, {
- prt,
- "Cylinder",
- delay,
- x3,
- y3,
- z3,
- msh
- })
- end;
- };
- Head = {
- Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
- local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
- prt.Anchored = true
- prt.CFrame = cframe
- local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Head", "nil", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
- game:GetService("Debris"):AddItem(prt, 10)
- table.insert(Effects, {
- prt,
- "Cylinder",
- delay,
- x3,
- y3,
- z3,
- msh
- })
- end;
- };
- Sphere = {
- Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
- local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
- prt.Anchored = true
- prt.CFrame = cframe
- local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
- game:GetService("Debris"):AddItem(prt, 10)
- table.insert(Effects, {
- prt,
- "Cylinder",
- delay,
- x3,
- y3,
- z3,
- msh
- })
- end;
- };
- Elect = {
- Create = function(cff, x, y, z)
- local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, BrickColor.new("Lime green"), "Part", Vector3.new(1, 1, 1))
- prt.Anchored = true
- prt.CFrame = cff * CFrame.new(math.random(-x, x), math.random(-y, y), math.random(-z, z))
- prt.CFrame = CFrame.new(prt.Position)
- game:GetService("Debris"):AddItem(prt, 2)
- local xval = math.random() / 2
- local yval = math.random() / 2
- local zval = math.random() / 2
- local msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(xval, yval, zval))
- table.insert(Effects, {
- prt,
- "Elec",
- 0.1,
- x,
- y,
- z,
- xval,
- yval,
- zval
- })
- end;
- };
- Ring = {
- Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
- local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
- prt.Anchored = true
- prt.CFrame = cframe
- local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://3270017", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
- game:GetService("Debris"):AddItem(prt, 10)
- table.insert(Effects, {
- prt,
- "Cylinder",
- delay,
- x3,
- y3,
- z3,
- msh
- })
- end;
- };
- Wave = {
- Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
- local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
- prt.Anchored = true
- prt.CFrame = cframe
- local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://20329976", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
- game:GetService("Debris"):AddItem(prt, 10)
- table.insert(Effects, {
- prt,
- "Cylinder",
- delay,
- x3,
- y3,
- z3,
- msh
- })
- end;
- };
- Break = {
- Create = function(brickcolor, cframe, x1, y1, z1)
- local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5))
- prt.Anchored = true
- prt.CFrame = cframe * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
- local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
- local num = math.random(10, 50) / 1000
- game:GetService("Debris"):AddItem(prt, 10)
- table.insert(Effects, {
- prt,
- "Shatter",
- num,
- prt.CFrame,
- math.random() - math.random(),
- 0,
- math.random(50, 100) / 100
- })
- end;
- };
- Fire = {
- Create = function(brickcolor, cframe, x1, y1, z1, delay)
- local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
- prt.Anchored = true
- prt.CFrame = cframe
- msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
- game:GetService("Debris"):AddItem(prt, 10)
- table.insert(Effects, {
- prt,
- "Fire",
- delay,
- 1,
- 1,
- 1,
- msh
- })
- end;
- };
- FireWave = {
- Create = function(brickcolor, cframe, x1, y1, z1)
- local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 1, brickcolor, "Effect", Vector3.new())
- prt.Anchored = true
- prt.CFrame = cframe
- msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
- local d = Create("Decal"){
- Parent = prt,
- Texture = "rbxassetid://26356434",
- Face = "Top",
- }
- local d = Create("Decal"){
- Parent = prt,
- Texture = "rbxassetid://26356434",
- Face = "Bottom",
- }
- game:GetService("Debris"):AddItem(prt, 10)
- table.insert(Effects, {
- prt,
- "FireWave",
- 1,
- 30,
- math.random(400, 600) / 100,
- msh
- })
- end;
- };
- Lightning = {
- Create = function(p0, p1, tym, ofs, col, th, tra, last)
- local magz = (p0 - p1).magnitude
- local curpos = p0
- local trz = {
- -ofs,
- ofs
- }
- for i = 1, tym do
- local li = CFuncs.Part.Create(EffectModel, "Neon", 0, tra or 0.4, col, "Ref", Vector3.new(th, th, magz / tym))
- local ofz = Vector3.new(trz[math.random(1, 2)], trz[math.random(1, 2)], trz[math.random(1, 2)])
- local trolpos = CFrame.new(curpos, p1) * CFrame.new(0, 0, magz / tym).p + ofz
- li.Material = "Neon"
- if tym == i then
- local magz2 = (curpos - p1).magnitude
- li.Size = Vector3.new(th, th, magz2)
- li.CFrame = CFrame.new(curpos, p1) * CFrame.new(0, 0, -magz2 / 2)
- table.insert(Effects, {
- li,
- "Disappear",
- last
- })
- else
- do
- do
- li.CFrame = CFrame.new(curpos, trolpos) * CFrame.new(0, 0, magz / tym / 2)
- curpos = li.CFrame * CFrame.new(0, 0, magz / tym / 2).p
- game.Debris:AddItem(li, 10)
- table.insert(Effects, {
- li,
- "Disappear",
- last
- })
- end
- end
- end
- end
- end
- };
- EffectTemplate = {
- };
- }
- function chatfunc(text)
- local chat = coroutine.wrap(function()
- if Character:FindFirstChild("TalkingBillBoard")~= nil then
- Character:FindFirstChild("TalkingBillBoard"):destroy()
- end
- local naeeym2 = Instance.new("BillboardGui",Character)
- naeeym2.Size = UDim2.new(0,100,0,40)
- naeeym2.StudsOffset = Vector3.new(0,3.5,0)
- naeeym2.Adornee = RootPart
- naeeym2.Name = "TalkingBillBoard"
- local tecks2 = Instance.new("TextLabel",naeeym2)
- tecks2.BackgroundTransparency = 1
- tecks2.BorderSizePixel = 0
- tecks2.Text = ""
- tecks2.Font = "Fantasy"
- tecks2.TextSize = 30
- tecks2.TextStrokeTransparency = 0
- tecks2.TextColor3 = Color3.new(.6,0,0)
- tecks2.TextStrokeColor3 = Color3.new(0,0,0)
- tecks2.Size = UDim2.new(1,0,0.5,0)
- local tecks3 = Instance.new("TextLabel",naeeym2)
- tecks3.BackgroundTransparency = 1
- tecks3.BorderSizePixel = 0
- tecks3.Text = ""
- tecks3.Font = "Fantasy"
- tecks3.TextSize = 30
- tecks3.TextStrokeTransparency = 0
- tecks3.TextColor3 = Color3.new(.6,0,0)
- tecks3.TextStrokeColor3 = Color3.new(0,0,0)
- tecks3.Size = UDim2.new(1,0,0.5,0)
- for i = 1,string.len(text),1 do
- CFuncs["Sound"].Create("http://www.roblox.com/asset/?id=", Character, 10, 5)
- tecks2.Text = string.sub(text,1,i)
- tecks3.Text = string.sub(text,1,i)
- wait(0.01)
- end
- wait(2)
- for i = 1, 50 do
- swait()
- tecks2.Position = tecks2.Position - UDim2.new(math.random(-.4,.4),math.random(-5,5),.05,math.random(-5,5))
- tecks2.Rotation = tecks2.Rotation - .8
- tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
- tecks2.TextTransparency = tecks2.TextTransparency + .04
- tecks3.Position = tecks2.Position - UDim2.new(math.random(-.4,.4),math.random(-5,5),.05,math.random(-5,5))
- tecks3.Rotation = tecks2.Rotation + .8
- tecks3.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
- tecks3.TextTransparency = tecks2.TextTransparency + .04
- end
- naeeym2:Destroy()
- end)
- chat()
- end
- function onChatted(msg)
- chatfunc(msg)
- end
- Player.Chatted:connect(function(msg)
- if msg=="Words:jp"then Words="Japanese"end
- if msg=="Words:en"then Words="English"end
- end)
- abss = Instance.new("BillboardGui",Character)
- abss.Size = UDim2.new(10,0,10,0)
- abss.Enabled = false
- imgl = Instance.new("ImageLabel",abss)
- imgl.Position = UDim2.new(0,0,0,0)
- imgl.Size = UDim2.new(1,0,1,0)
- imgl.Image = "rbxassetid://342199418"
- imgl.BackgroundTransparency = 1
- imgl.ImageColor3 = Color3.new(.9,0,0)
- img2 = Instance.new("ImageLabel",abss)
- img2.Position = UDim2.new(0,0,0,0)
- img2.Size = UDim2.new(1,0,1,0)
- img2.Image = "rbxassetid://342199418"
- img2.BackgroundTransparency = 1
- img2.ImageColor3 = Color3.new(.9,0,0)
- function attackone(target)
- attack = true
- Humanoid.WalkSpeed = 0
- if target then
- if targetted.Name ~= "hithere1025" then
- local partasdeff = Instance.new("ParticleEmitter",targetted.HumanoidRootPart)
- partasdeff.Color = ColorSequence.new(Color3.new(1, 0, 0), Color3.new(.5, 0, 0))
- partasdeff.LightEmission = .1
- partasdeff.Size = NumberSequence.new(0.2)
- partasdeff.Texture = "http://www.roblox.com/asset/?ID=771221224"
- aaa = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.2),NumberSequenceKeypoint.new(1, 5)})
- bbb = NumberSequence.new({NumberSequenceKeypoint.new(0, 1),NumberSequenceKeypoint.new(0.0636, 0), NumberSequenceKeypoint.new(1, 1)})
- partasdeff.Transparency = bbb
- partasdeff.Size = aaa
- partasdeff.ZOffset = .9
- partasdeff.Acceleration = Vector3.new(0, -5, 0)
- partasdeff.LockedToPart = false
- partasdeff.EmissionDirection = "Back"
- partasdeff.Lifetime = NumberRange.new(1, 2)
- partasdeff.Rate = 1000
- partasdeff.Rotation = NumberRange.new(-100, 100)
- partasdeff.RotSpeed = NumberRange.new(-100, 100)
- partasdeff.Speed = NumberRange.new(6)
- partasdeff.VelocitySpread = 10000
- partasdeff.Enabled=false
- for i = 0, 3, 0.4 do
- swait()
- PlayAnimationFromTable({
- CFrame.new(0, -0.433955967, -0.642794847, 1, 0, 0, 0, 0.76604414, 0.642788053, 0, -0.642788053, 0.76604414),
- CFrame.new(0, 1.50857329, 0.277411759, 1, 0, 0, 0, 0.76604414, -0.642788053, 0, 0.642788053, 0.76604414),
- CFrame.new(1.00000763, 1.37034774, -0.491282165, 0, 0, 1, 0.76604414, -0.642788053, 0, 0.642788053, 0.76604414, 0),
- CFrame.new(-1.00000763, 1.37034774, -0.491282165, 0, 0, -1, -0.76604414, -0.642788053, 0, -0.642788053, 0.76604414, 0),
- CFrame.new(0.5, -1.09861195, -1.12705588, 1, 0, 0, 0, 0.76604414, -0.642788053, 0, 0.642788053, 0.76604414),
- CFrame.new(-0.5, -2.00000405, 5.72204681e-06, 1, 0, 0, 0, 1.00000012, 0, 0, 0, 1.00000012),
- }, .3, false)
- moter.C0 = clerp(moter.C0, CFrame.new(0.011209704, -1.63770795, -0.318749219, -0.0172089972, -4.19956632e-06, -0.999852002, 0.999852061, 8.99471343e-06, -0.0172089972, 9.06549394e-06, -1.00000012, 4.04558159e-06) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3)
- end
- Effects.Block.Create(BrickColor.new("Bright red"), Partss.CFrame, 2, 2, 2, 0.9, 0.9, 0.9, 0.05)
- Effects.Block.Create(BrickColor.new("Deep orange"), Partss.CFrame, 2, 2, 2, 0.5, 0.5, 0.5, 0.05)
- CFuncs["Sound"].Create("rbxassetid://333430981", Character, 1, .5)
- if targetted:FindFirstChild("Head")then Lightning(Partss.CFrame.p,targetted.Head.CFrame.p,10,.3,BrickColor.new("Crimson"),.1,0,-.1)Lightning(Partss.CFrame.p,targetted.Head.CFrame.p,10,.3,BrickColor.new("Really black"),.1,0,-.1)end
- dmg(targetted)
- partasdeff.Enabled=true
- for i = 0, 6, 1 do
- swait()
- PlayAnimationFromTable({
- CFrame.new(0, -0.433955967, -0.642794847, 1, 0, 0, 0, 0.76604414, 0.642788053, 0, -0.642788053, 0.76604414),
- CFrame.new(0, 1.50857329, 0.277411759, 1, 0, 0, 0, 0.76604414, -0.642788053, 0, 0.642788053, 0.76604414),
- CFrame.new(1.00000763, 1.37034774, -0.491282165, 0, 0, 1, 0.76604414, -0.642788053, 0, 0.642788053, 0.76604414, 0),
- CFrame.new(-1.00000763, 1.37034774, -0.491282165, 0, 0, -1, -0.76604414, -0.642788053, 0, -0.642788053, 0.76604414, 0),
- CFrame.new(0.5, -1.09861195, -1.12705588, 1, 0, 0, 0, 0.76604414, -0.642788053, 0, 0.642788053, 0.76604414),
- CFrame.new(-0.5, -2.00000405, 5.72204681e-06, 1, 0, 0, 0, 1.00000012, 0, 0, 0, 1.00000012),
- }, .3, false)
- moter.C0 = clerp(moter.C0, CFrame.new(0.0112083517, -1.63770616, -0.318746239, -0.0172079317, -2.87033617e-06, -0.999851942, 0.999852002, 8.28504562e-06, -0.0172079336, 8.27014446e-06, -1.00000012, 2.72750913e-06) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3)
- end
- partasdeff.Enabled=false
- for i = 1, 3, 1 do
- swait()
- PlayAnimationFromTable({
- CFrame.new(0, -0.433955967, -0.642794847, 1, 0, 0, 0, 0.76604414, 0.642788053, 0, -0.642788053, 0.76604414),
- CFrame.new(0, 1.50857329, 0.277411759, 1, 0, 0, 0, 0.76604414, -0.642788053, 0, 0.642788053, 0.76604414),
- CFrame.new(1.00000763, 1.37034774, -0.491282165, 0, 0, 1, 0.76604414, -0.642788053, 0, 0.642788053, 0.76604414, 0),
- CFrame.new(-1.00000763, 1.37034774, -0.491282165, 0, 0, -1, -0.76604414, -0.642788053, 0, -0.642788053, 0.76604414, 0),
- CFrame.new(0.5, -1.09861195, -1.12705588, 1, 0, 0, 0, 0.76604414, -0.642788053, 0, 0.642788053, 0.76604414),
- CFrame.new(-0.5, -2.00000405, 5.72204681e-06, 1, 0, 0, 0, 1.00000012, 0, 0, 0, 1.00000012),
- }, .3, false)
- moter.C0 = clerp(moter.C0, CFrame.new(0.011209704, -1.63770795, -0.318749219, -0.0172089972, -4.19956632e-06, -0.999852002, 0.999852061, 8.99471343e-06, -0.0172089972, 9.06549394e-06, -1.00000012, 4.04558159e-06) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3)
- end
- coroutine.wrap(function()
- wait(2)
- partasdeff:Remove()
- end)()
- else
- sel = math.random(1,6)
- if Words=="English"then
- if sel == 1 then
- chatfunc("No no...i cant")
- elseif sel == 2 then
- chatfunc("i don't wanna hurt him")
- elseif sel == 3 then
- chatfunc("HEY!! Im not doing that")
- elseif sel == 4 then
- chatfunc("You are suppose to kill everyone but not him...")
- elseif sel == 5 then
- chatfunc("he's a good guy")
- elseif sel == 6 then
- chatfunc("killing him is not the way.")
- end
- else
- if sel == 1 then
- chatfunc("...")
- elseif sel == 2 then
- chatfunc("???···")
- elseif sel == 3 then
- chatfunc("??????????···")
- end
- end
- for i = 0, 5, 0.1 do
- swait()
- PlayAnimationFromTable({
- CFrame.new(0, 0, 0, 0.999999881, 5.04870979e-29, -4.21790838e-43, 5.04870979e-29, 1, -5.04870979e-29, -4.21790838e-43, -5.04870979e-29, 0.999999881) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-0.055980958, 1.49253583, -0.318915963, 0.999889553, 0.0107171191, -0.0102898544, -0.00218299939, 0.791040659, 0.611759722, 0.0146959936, -0.61166966, 0.790976703) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0- .4 * math.cos((sine) / 5), 0),
- CFrame.new(1.54004693, 0.0494250022, 1.90734852e-06, 0.997847795, -0.0655719861, 0, 0.0655719936, 0.997847855, 7.53468894e-22, -4.94064563e-23, -7.51847299e-22, 0.99999994) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-1.51232088, 0.0410207808, -3.73942044e-06, 0.998558879, 0.053665854, -2.33806347e-07, -0.0536658242, 0.998558939, -1.04548817e-05, -3.27600219e-07, 1.04523697e-05, 0.99999994) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(0.540300906, -1.99793804, -2.11055158e-06, 0.998698354, -0.0510031469, 6.26438805e-07, 0.0510031544, 0.998698473, -1.04335422e-05, -9.34800966e-08, 1.04519122e-05, 0.999999881) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-0.539562821, -1.99794102, -5.75710146e-09, 0.998630941, 0.0523070693, -1.67712614e-07, -0.0523070768, 0.99863106, -1.0458818e-05, -3.79587107e-07, 1.04532719e-05, 0.999999881) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- }, .3, false)
- moter.C0 = clerp(moter.C0, CFrame.new(0.0111967381, -1.6377008, -0.318754196, -0.0172117949, 0, -0.999851942, 0.999851942, 0, -0.0172117949, 0, -1, 0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3)
- end
- end
- else
- for i = 0, 3, 0.3 do
- swait()
- PlayAnimationFromTable({
- CFrame.new(0.0150662307, -4.88092428e-06, 0.0148906102, -0.01982099, -1.08002496e-12, 0.999803543, -4.46946984e-07, 1, -8.86181084e-09, -0.999803782, 3.27825546e-07, -0.0198209975) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-0.00189219415, 1.50098944, -0.129972562, 0.0201512501, 0.0765038878, -0.996864021, 0.0566192083, 0.995383799, 0.0775336027, 0.998202145, -0.0580037907, 0.0157258138) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(2.01696348, 0.389823437, -0.060955409, -0.000397110358, -0.999624014, -0.0274192169, 0.00981300231, 0.0274140034, -0.999576092, 0.999951839, -0.0006660074, 0.00979842618) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-1.64040112, 0.216884568, 1.93210121e-06, 0.962137103, 0.272578239, -7.02217221e-07, -0.272574633, 0.962141275, -9.83368591e-06, -2.00979412e-06, 9.69739631e-06, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(0.64369607, -1.98395038, 0.206737444, 0.19058302, -0.152998164, -0.969677031, 0.0664296299, 0.987527609, -0.142758414, 0.979424179, -0.0372077115, 0.198368743) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-0.641120076, -1.92643452, -0.0258421432, 0.848103583, 0.133398816, -0.51276207, -0.0662644878, 0.986892581, 0.147146463, 0.52567035, -0.0908175632, 0.845826566) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- }, .2, false)
- moter.C0 = clerp(moter.C0, CFrame.new(0.011209704, -1.63770795, -0.318749219, -0.0172089972, -4.19956632e-06, -0.999852002, 0.999852061, 8.99471343e-06, -0.0172089972, 9.06549394e-06, -1.00000012, 4.04558159e-06) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3)
- end
- Effects.Block.Create(BrickColor.new("Bright red"), Partss.CFrame, 2, 2, 2, 0.9, 0.9, 0.9, 0.05)
- Effects.Block.Create(BrickColor.new("Deep orange"), Partss.CFrame, 2, 2, 2, 0.5, 0.5, 0.5, 0.05)
- CFuncs["Sound"].Create("rbxassetid://1669280377", Character, 20, .3)
- local TP=Instance.new("Part")TP.CFrame=Mouse.Hit
- Lightning(Partss.CFrame.p,TP.CFrame.p,10,.3,BrickColor.new("Crimson"),.3,0,-.3)Lightning(Partss.CFrame.p,TP.CFrame.p,10,.3,BrickColor.new("Really black"),.5,0,-.5)
- mdmg(TP, 5 ,10)
- for i=0,3 do RingE(TP.CFrame*CFrame.Angles(math.rad(math.random(360)),math.rad(math.random(360)),math.rad(math.random(360))),.1+math.random(40)/100,30+math.random(70),0,30,3,0,ColorSequence.new(Color3.fromRGB(1,1,0)),-.05)end
- Effects.Block.Create(BrickColor.new("Bright red"), TP.CFrame, 2, 2, 2, 0.9, 0.9, 0.9, 0.05)
- Effects.Block.Create(BrickColor.new("Deep orange"), TP.CFrame, 2, 2, 2, 0.5, 0.5, 0.5, 0.05)
- for i = 0, 1, 0.3333 do
- swait()
- PlayAnimationFromTable({
- CFrame.new(0.0150662307, -4.88092428e-06, 0.0148906102, -0.01982099, -1.08002496e-12, 0.999803543, -4.46946984e-07, 1, -8.86181084e-09, -0.999803782, 3.27825546e-07, -0.0198209975) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-0.00189219415, 1.50098944, -0.129972562, 0.0201512501, 0.0765038878, -0.996864021, 0.0566192083, 0.995383799, 0.0775336027, 0.998202145, -0.0580037907, 0.0157258138) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(2.01696348, 0.389823437, -0.060955409, -0.000397110358, -0.999624014, -0.0274192169, 0.00981300231, 0.0274140034, -0.999576092, 0.999951839, -0.0006660074, 0.00979842618) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-1.64040112, 0.216884568, 1.93210121e-06, 0.962137103, 0.272578239, -7.02217221e-07, -0.272574633, 0.962141275, -9.83368591e-06, -2.00979412e-06, 9.69739631e-06, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(0.64369607, -1.98395038, 0.206737444, 0.19058302, -0.152998164, -0.969677031, 0.0664296299, 0.987527609, -0.142758414, 0.979424179, -0.0372077115, 0.198368743) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-0.641120076, -1.92643452, -0.0258421432, 0.848103583, 0.133398816, -0.51276207, -0.0662644878, 0.986892581, 0.147146463, 0.52567035, -0.0908175632, 0.845826566) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- }, .2, false)
- moter.C0 = clerp(moter.C0, CFrame.new(0.0112083517, -1.63770616, -0.318746239, -0.0172079317, -2.87033617e-06, -0.999851942, 0.999852002, 8.28504562e-06, -0.0172079336, 8.27014446e-06, -1.00000012, 2.72750913e-06) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3)
- end
- for i = 0, 2, 0.3 do
- swait()
- PlayAnimationFromTable({
- CFrame.new(0.0150662307, -4.88092428e-06, 0.0148906102, -0.01982099, -1.08002496e-12, 0.999803543, -4.46946984e-07, 1, -8.86181084e-09, -0.999803782, 3.27825546e-07, -0.0198209975) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-0.00189219415, 1.50098944, -0.129972562, 0.0201512501, 0.0765038878, -0.996864021, 0.0566192083, 0.995383799, 0.0775336027, 0.998202145, -0.0580037907, 0.0157258138) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(2.01696348, 0.389823437, -0.060955409, -0.000397110358, -0.999624014, -0.0274192169, 0.00981300231, 0.0274140034, -0.999576092, 0.999951839, -0.0006660074, 0.00979842618) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-1.64040112, 0.216884568, 1.93210121e-06, 0.962137103, 0.272578239, -7.02217221e-07, -0.272574633, 0.962141275, -9.83368591e-06, -2.00979412e-06, 9.69739631e-06, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(0.64369607, -1.98395038, 0.206737444, 0.19058302, -0.152998164, -0.969677031, 0.0664296299, 0.987527609, -0.142758414, 0.979424179, -0.0372077115, 0.198368743) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-0.641120076, -1.92643452, -0.0258421432, 0.848103583, 0.133398816, -0.51276207, -0.0662644878, 0.986892581, 0.147146463, 0.52567035, -0.0908175632, 0.845826566) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- }, .2, false)
- moter.C0 = clerp(moter.C0, CFrame.new(0.011209704, -1.63770795, -0.318749219, -0.0172089972, -4.19956632e-06, -0.999852002, 0.999852061, 8.99471343e-06, -0.0172089972, 9.06549394e-06, -1.00000012, 4.04558159e-06) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3)
- end
- end
- Humanoid.WalkSpeed = 35
- attack = false
- end
- function attacktwo()
- attack = true
- Humanoid.WalkSpeed = 0
- for i = 0, 3, 0.8 do
- swait()
- PlayAnimationFromTable({
- CFrame.new(0.0150662307, -4.88092428e-06, 0.0148906102, -0.01982099, -1.08002496e-12, 0.999803543, -4.46946984e-07, 1, -8.86181084e-09, -0.999803782, 3.27825546e-07, -0.0198209975) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-0.00189219415, 1.50098944, -0.129972562, 0.0201512501, 0.0765038878, -0.996864021, 0.0566192083, 0.995383799, 0.0775336027, 0.998202145, -0.0580037907, 0.0157258138) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(2.01696348, 0.389823437, -0.060955409, -0.000397110358, -0.999624014, -0.0274192169, 0.00981300231, 0.0274140034, -0.999576092, 0.999951839, -0.0006660074, 0.00979842618) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-1.64040112, 0.216884568, 1.93210121e-06, 0.962137103, 0.272578239, -7.02217221e-07, -0.272574633, 0.962141275, -9.83368591e-06, -2.00979412e-06, 9.69739631e-06, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(0.64369607, -1.98395038, 0.206737444, 0.19058302, -0.152998164, -0.969677031, 0.0664296299, 0.987527609, -0.142758414, 0.979424179, -0.0372077115, 0.198368743) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-0.641120076, -1.92643452, -0.0258421432, 0.848103583, 0.133398816, -0.51276207, -0.0662644878, 0.986892581, 0.147146463, 0.52567035, -0.0908175632, 0.845826566) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- }, .2, false)
- moter.C0 = clerp(moter.C0, CFrame.new(0.011209704, -1.63770795, -0.318749219, -0.0172089972, -4.19956632e-06, -0.999852002, 0.999852061, 8.99471343e-06, -0.0172089972, 9.06549394e-06, -1.00000012, 4.04558159e-06) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3)
- end
- for i=1, 122 do
- Effects.Block.Create(BrickColor.new("Bright red"), Partss.CFrame, 2, 2, 2, 0.9, 0.9, 0.9, 0.05)
- Effects.Block.Create(BrickColor.new("Deep orange"), Partss.CFrame, 2, 2, 2, 0.5, 0.5, 0.5, 0.05)
- CFuncs["Sound"].Create("rbxassetid://1669280377", Character, 10, .5)
- local TP=Instance.new("Part")TP.CFrame=Mouse.Hit
- Lightning(Partss.CFrame.p,TP.CFrame.p,10,.3,BrickColor.new("Crimson"),.3,0,-.3)Lightning(Partss.CFrame.p,TP.CFrame.p,10,.3,BrickColor.new("Really black"),.5,0,-.5)
- mdmg(TP, 5 ,10)
- for i=0,3 do RingE(TP.CFrame*CFrame.Angles(math.rad(math.random(360)),math.rad(math.random(360)),math.rad(math.random(360))),.1+math.random(40)/100,30+math.random(70),0,30,3,0,ColorSequence.new(Color3.fromRGB(1,1,0)),-.05)end
- Effects.Block.Create(BrickColor.new("Bright red"), TP.CFrame, 2, 2, 2, 0.9, 0.9, 0.9, 0.05)
- Effects.Block.Create(BrickColor.new("Deep orange"), TP.CFrame, 2, 2, 2, 0.5, 0.5, 0.5, 0.05)
- for i = 0, 1, 2.4 do
- swait()
- PlayAnimationFromTable({
- CFrame.new(0.0150662307, -4.88092428e-06, 0.0148906102, -0.01982099, -1.08002496e-12, 0.999803543, -4.46946984e-07, 1, -8.86181084e-09, -0.999803782, 3.27825546e-07, -0.0198209975) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-0.0879677385, 1.49240708, -0.127746791, 0.0201510563, -0.100440688, -0.994740784, 0.0566197298, 0.99346137, -0.0991647467, 0.998197258, -0.0543235913, 0.0257058665) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(2.03539443, 0.729742587, 0.0108130341, -0.00389442407, -0.967803538, 0.251676887, 0.0148300035, -0.251707017, -0.967689872, 0.999882519, -3.62247229e-05, 0.0153327845) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-1.64040112, 0.216884568, 1.93210121e-06, 0.962137103, 0.272578239, -7.02217221e-07, -0.272574633, 0.962141275, -9.83368591e-06, -2.00979412e-06, 9.69739631e-06, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(0.64369607, -1.98395038, 0.206737444, 0.19058302, -0.152998164, -0.969677031, 0.0664296299, 0.987527609, -0.142758414, 0.979424179, -0.0372077115, 0.198368743) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-0.641120076, -1.92643452, -0.0258421432, 0.848103583, 0.133398816, -0.51276207, -0.0662644878, 0.986892581, 0.147146463, 0.52567035, -0.0908175632, 0.845826566) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- }, .5, false)
- moter.C0 = clerp(moter.C0, CFrame.new(0.0112083517, -1.63770616, -0.318746239, -0.0172079317, -2.87033617e-06, -0.999851942, 0.999852002, 8.28504562e-06, -0.0172079336, 8.27014446e-06, -1.00000012, 2.72750913e-06) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3)
- end
- for i = 0, 2, 1.7 do
- swait()
- PlayAnimationFromTable({
- CFrame.new(0.0150662307, -4.88092428e-06, 0.0148906102, -0.01982099, -1.08002496e-12, 0.999803543, -4.46946984e-07, 1, -8.86181084e-09, -0.999803782, 3.27825546e-07, -0.0198209975) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-0.00189219415, 1.50098944, -0.129972562, 0.0201512501, 0.0765038878, -0.996864021, 0.0566192083, 0.995383799, 0.0775336027, 0.998202145, -0.0580037907, 0.0157258138) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(2.01696348, 0.389823437, -0.060955409, -0.000397110358, -0.999624014, -0.0274192169, 0.00981300231, 0.0274140034, -0.999576092, 0.999951839, -0.0006660074, 0.00979842618) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-1.64040112, 0.216884568, 1.93210121e-06, 0.962137103, 0.272578239, -7.02217221e-07, -0.272574633, 0.962141275, -9.83368591e-06, -2.00979412e-06, 9.69739631e-06, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(0.64369607, -1.98395038, 0.206737444, 0.19058302, -0.152998164, -0.969677031, 0.0664296299, 0.987527609, -0.142758414, 0.979424179, -0.0372077115, 0.198368743) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-0.641120076, -1.92643452, -0.0258421432, 0.848103583, 0.133398816, -0.51276207, -0.0662644878, 0.986892581, 0.147146463, 0.52567035, -0.0908175632, 0.845826566) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- }, .5, false)
- moter.C0 = clerp(moter.C0, CFrame.new(0.011209704, -1.63770795, -0.318749219, -0.0172089972, -4.19956632e-06, -0.999852002, 0.999852061, 8.99471343e-06, -0.0172089972, 9.06549394e-06, -1.00000012, 4.04558159e-06) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3)
- end
- end
- Humanoid.WalkSpeed = 35
- attack = false
- end
- local Grabbed = false
- function hedshoot()
- attack = true
- local grab = nil
- for i, v in pairs(FindNearestTorso(Torso.CFrame.p, 10)) do
- if v:FindFirstChild('HumanoidRootPart')and v:FindFirstChild("Head")then
- Grabbed = true
- --CFuncs["Sound"].Create("rbxassetid://492961938", v.HumanoidRootPart, 1, .8)
- grab = v
- end
- end
- Effects.Wave.Create(BrickColor.new("White"), RootPart.CFrame * CFrame.Angles(0,math.rad(90),math.rad(90)), .5, .5, .5, 1, .2, 1, 0.07)
- --CFuncs["Sound"].Create("http://www.roblox.com/asset/?id=721590903", RootPart, 1.5, .5)
- for i = 0, 1, 0.1 do
- swait()
- if Grabbed == true then
- grab:FindFirstChildOfClass("Humanoid").PlatformStand = true
- --GGyro.position = Partss.Position
- --GGyro.Parent = grab.Head
- grab.HumanoidRootPart.CFrame = Partss.CFrame * CFrame.Angles(0,math.rad(-90),0)
- end
- PlayAnimationFromTable({
- CFrame.new(0, 0.014960058, -0.00263785874, 0, 0, -1, 0.173647985, 0.984807849, 0, 0.984807849, -0.173647985, 0),
- CFrame.new(0.0756459087, 1.47367561, 0, 0, 0.173647985, 0.984807849, 0, 0.984807849, -0.173647985, -1, 0, 0),
- CFrame.new(1.61953926, 0.256342351, 0, 0.939692676, -0.342020601, 0, 0.342020601, 0.939692676, 0, 0, 0, 1),
- CFrame.new(-1.41317761, 0.492402643, 0.500001907, 0, 0.984807849, -0.173647985, 0, -0.173647985, -0.984807849, -1, 0, 0),
- CFrame.new(0.696965218, -2.03472972, 1.90734863e-06, 0.984807849, -0.173648134, 0, 0.173648164, 0.984807849, 0, 0, 0, 1),
- CFrame.new(-0.303041309, -2.03472829, -1.90734863e-06, 0.965925813, -0.258818924, 0, 0.258818924, 0.965925813, 0, 0, 0, 1),
- }, .3, false)
- RootPart.Velocity = RootPart.CFrame.lookVector * 90
- moter.C0 = clerp(moter.C0, CFrame.new(0.0111932121, -1.63769805, -0.318755955, -0.0172044784, -1.3951445e-05, -0.999852121, 0.999852002, 3.55020165e-06, -0.0172044784, 3.78862023e-06, -1.00000012, 1.38879986e-05) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3)
- end
- if Grabbed == true then
- Humanoid.WalkSpeed = 0
- for i = 0, 2, 0.1 do
- swait()
- if Grabbed == true then
- grab:FindFirstChildOfClass("Humanoid").PlatformStand = true
- --GGyro.position = Partss.Position
- --GGyro.Parent = grab.Head
- grab.HumanoidRootPart.CFrame = Partss.CFrame * CFrame.Angles(0,math.rad(-90),0)
- end
- PlayAnimationFromTable({
- CFrame.new(0, 0.00631189346, 0.102432251, 0, 0, -1, 0, 1, 0, 1, 0, 0),
- CFrame.new(0.0756477267, 1.47367513, 0, 0, 0.173647985, 0.984807849, 0, 0.984807849, -0.173647985, -1, 0, 0),
- CFrame.new(0.177449316, 0.626879215, -0.79883039, -0.163171932, 0.896216869, -0.412516981, -0.0593889691, -0.426284939, -0.902637362, -0.984808505, -0.122786134, 0.122783162),
- CFrame.new(-1.33671415, 0.478919148, 0.210226327, 0.254886955, 0.951251388, -0.173647881, -0.0449429974, -0.167731076, -0.984807849, -0.965925872, 0.258818924, -3.7422879e-07),
- CFrame.new(0.696966887, -2.03472996, 1.90734863e-06, 0.984807849, -0.173647985, 0, 0.173647985, 0.984807849, 0, 0, 0, 1),
- CFrame.new(-0.696959853, -1.96527123, -1.90734863e-06, 0.984807849, 0.173647985, 0, -0.173647985, 0.984807849, 0, 0, 0, 1),
- }, .1, false)
- moter.C0 = clerp(moter.C0, CFrame.new(0.0111932121, -1.63769805, -0.318755955, -0.0172044784, -1.3951445e-05, -0.999852121, 0.999852002, 3.55020165e-06, -0.0172044784, 3.78862023e-06, -1.00000012, 1.38879986e-05) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3)
- end
- if grab.Name ~= "MikeSchmidt90" then
- local partasdeff = Instance.new("ParticleEmitter",grab.HumanoidRootPart)
- partasdeff.Color = ColorSequence.new(Color3.new(1, 0, 0), Color3.new(.5, 0, 0))
- partasdeff.LightEmission = .1
- partasdeff.Size = NumberSequence.new(0.2)
- partasdeff.Texture = "http://www.roblox.com/asset/?ID=771221224"
- aaa = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.2),NumberSequenceKeypoint.new(1, 5)})
- bbb = NumberSequence.new({NumberSequenceKeypoint.new(0, 1),NumberSequenceKeypoint.new(0.0636, 0), NumberSequenceKeypoint.new(1, 1)})
- partasdeff.Transparency = bbb
- partasdeff.Size = aaa
- partasdeff.ZOffset = .9
- partasdeff.Acceleration = Vector3.new(0, -5, 0)
- partasdeff.LockedToPart = false
- partasdeff.EmissionDirection = "Back"
- partasdeff.Lifetime = NumberRange.new(1, 2)
- partasdeff.Rate = 1000
- partasdeff.Rotation = NumberRange.new(-100, 100)
- partasdeff.RotSpeed = NumberRange.new(-100, 100)
- partasdeff.Speed = NumberRange.new(10)
- partasdeff.VelocitySpread = 20
- partasdeff.Enabled=false
- sel = math.random(1,4)
- if Words=="English"then
- if sel == 1 then
- chatfunc("Deep inside where nothing's fine,I've lost my mind..")
- elseif sel == 2 then
- chatfunc("...")
- elseif sel == 3 then
- chatfunc("It sucks doesn't it feeling like you're not good enough.")
- elseif sel==4 then
- chatfunc("....")
- end
- else
- if sel == 1 then
- chatfunc("????????C:")
- elseif sel == 2 then
- chatfunc("????????????")
- elseif sel == 3 then
- chatfunc("?????????????????????")
- elseif sel==4 then
- chatfunc("???????????????")
- end
- end
- for i = 0, 2, 0.1 do
- swait()
- if Grabbed == true then
- grab:FindFirstChildOfClass("Humanoid").PlatformStand = true
- --GGyro.position = Partss.Position
- --GGyro.Parent = grab.Head
- grab.HumanoidRootPart.CFrame = Partss.CFrame * CFrame.Angles(0,math.rad(-90),0)
- end
- PlayAnimationFromTable({
- CFrame.new(0, 0.00631189346, 0.102432251, 0, 0, -1, 0, 1, 0, 1, 0, 0),
- CFrame.new(0.0756477267, 1.47367513, 0, 0, 0.173647985, 0.984807849, 0, 0.984807849, -0.173647985, -1, 0, 0),
- CFrame.new(0.177449316, 0.626879215, -0.79883039, -0.163171932, 0.896216869, -0.412516981, -0.0593889691, -0.426284939, -0.902637362, -0.984808505, -0.122786134, 0.122783162),
- CFrame.new(-1.33671415, 0.478919148, 0.210226327, 0.254886955, 0.951251388, -0.173647881, -0.0449429974, -0.167731076, -0.984807849, -0.965925872, 0.258818924, -3.7422879e-07),
- CFrame.new(0.696966887, -2.03472996, 1.90734863e-06, 0.984807849, -0.173647985, 0, 0.173647985, 0.984807849, 0, 0, 0, 1),
- CFrame.new(-0.696959853, -1.96527123, -1.90734863e-06, 0.984807849, 0.173647985, 0, -0.173647985, 0.984807849, 0, 0, 0, 1),
- }, .1, false)
- moter.C0 = clerp(moter.C0, CFrame.new(0.0111939851, -1.63769794, -0.31875661, -0.0172049776, -1.39437616e-05, -0.999852121, 0.999852002, 5.96046448e-06, -0.0172049757, 6.16908073e-06, -1, 1.38394535e-05) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3)
- end
- Effects.Block.Create(BrickColor.new("Bright red"), Partss.CFrame, 2, 2, 2, 0.9, 0.9, 0.9, 0.05)
- Effects.Block.Create(BrickColor.new("Deep orange"), Partss.CFrame, 2, 2, 2, 0.5, 0.5, 0.5, 0.05)
- CFuncs["Sound"].Create("rbxassetid://429400881", Character, 100, .3)
- dmg(grab)
- grab.Head.Velocity = grab.Head.CFrame.lookVector * -60
- partasdeff.Enabled=true
- for i = 0, 1, 0.1 do
- swait()
- PlayAnimationFromTable({
- CFrame.new(0.104281992, -1.37529127e-22, -0.179345995, 0.249840975, 5.92156003e-22, 0.968286872, -5.57068883e-22, 1, -4.67813147e-22, -0.968286872, -4.22523594e-22, 0.249840975) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-0.0791492164, 1.44711375, -0.0994036943, 0.0100336075, -0.292051941, -0.95634979, -0.000366999942, 0.956396878, -0.29207015, 0.999949574, 0.00328149647, 0.00948894024) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(1.95760894, 1.20200562, -0.275867403, 0.278526366, -0.669772983, 0.688351095, 0.0506580099, -0.705469668, -0.706927419, 0.959091723, 0.23176837, -0.162562534) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-1.58139038, 0.176945746, 5.27966768e-06, 0.939729631, 0.341920435, -3.69548798e-06, -0.341920793, 0.93972975, -6.50105221e-06, -5.81145287e-07, 6.40749931e-06, 1.00000048) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(0.569345832, -1.89868093, -0.00942828506, 0.266425997, -0.0769406706, -0.960779786, 0.0135936281, 0.997010291, -0.0760724545, 0.963760078, 0.00720720552, 0.266675085) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-0.849354744, -2.01616573, 0.241646215, 0.948664129, 0.308412433, 0.0701368451, -0.312046438, 0.948832989, 0.0484089628, -0.0516182035, -0.0678096861, 0.996362925) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- }, .3, false)
- moter.C0 = clerp(moter.C0, CFrame.new(0.0111932531, -1.63769579, -0.318755656, -0.0172050633, -1.61863863e-05, -0.999852121, 0.999851882, 5.15580177e-06, -0.017205067, 5.453825e-06, -1, 1.60960481e-05) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3)
- end
- partasdeff.Enabled=false
- for i = 0, 2.5, 0.1 do
- swait()
- PlayAnimationFromTable({
- CFrame.new(0.104281992, -1.37529127e-22, -0.179345995, 0.249840975, 5.92156003e-22, 0.968286872, -5.57068883e-22, 1, -4.67813147e-22, -0.968286872, -4.22523594e-22, 0.249840975) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-0.0791492164, 1.44711375, -0.0994036943, 0.0100336075, -0.292051941, -0.95634979, -0.000366999942, 0.956396878, -0.29207015, 0.999949574, 0.00328149647, 0.00948894024) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(1.94523025, 1.02494264, -0.272673488, 0.287940055, -0.795002162, 0.533912063, 0.0434400104, -0.546107173, -0.836588264, 0.956662774, 0.264080375, -0.122711219) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-1.58139038, 0.176945746, 5.27966768e-06, 0.939729631, 0.341920435, -3.69548798e-06, -0.341920793, 0.93972975, -6.50105221e-06, -5.81145287e-07, 6.40749931e-06, 1.00000048) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(0.569345832, -1.89868093, -0.00942828506, 0.266425997, -0.0769406706, -0.960779786, 0.0135936281, 0.997010291, -0.0760724545, 0.963760078, 0.00720720552, 0.266675085) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-0.849354744, -2.01616573, 0.241646215, 0.948664129, 0.308412433, 0.0701368451, -0.312046438, 0.948832989, 0.0484089628, -0.0516182035, -0.0678096861, 0.996362925) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- }, .2, false)
- moter.C0 = clerp(moter.C0, CFrame.new(0.0111939851, -1.63769794, -0.31875661, -0.0172049776, -1.39437616e-05, -0.999852121, 0.999852002, 5.96046448e-06, -0.0172049757, 6.16908073e-06, -1, 1.38394535e-05) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3)
- end
- coroutine.wrap(function()
- wait(2)
- partasdeff:Remove()
- end)()
- else
- grab:FindFirstChildOfClass("Humanoid").PlatformStand = false
- for i = 0, 3, 0.1 do
- swait()
- PlayAnimationFromTable({
- CFrame.new(0.104280457, -1.46030498e-22, -0.179343686, 0.249860913, 5.18448626e-22, 0.968281686, -5.82335151e-22, 1, -5.29395592e-22, -0.968281686, -3.70576914e-22, 0.249860913) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(0.00671941042, 1.48144531, -0.121562012, 0.0679168552, 0.388981611, -0.918738663, 0.158512011, 0.904961228, 0.394866198, 0.985018492, -0.172449201, -0.000196114182) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(1.5714488, -0.100437641, -0.219321564, 0.297819793, -0.653239965, -0.696118593, -0.0311920028, 0.722160041, -0.691022456, 0.954112411, 0.227513462, 0.194697708) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-1.5814501, 0.177012652, 5.41775626e-06, 0.939689815, 0.342028022, -2.68220901e-06, -0.342027992, 0.939689755, -6.1805149e-06, 4.17232513e-07, 6.72787428e-06, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(0.569012046, -1.89856982, -0.00933695585, 0.266445845, -0.0764764398, -0.960811257, 0.0135949478, 0.997046292, -0.075590536, 0.963754177, 0.00707861409, 0.266698539) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-0.849534154, -2.01595497, 0.241721377, 0.948572636, 0.308689058, 0.070150286, -0.312330276, 0.948733151, 0.0485308319, -0.0515729487, -0.067945078, 0.996355295) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- }, .1, false)
- moter.C0 = clerp(moter.C0, CFrame.new(0.0111981034, -1.63767779, -0.318741798, -0.0172085222, -1.4077872e-05, -0.999851882, 0.999851942, 7.4505806e-06, -0.0172085222, 7.68899918e-06, -1.00000012, 1.39512122e-05) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3)
- end
- sel = math.random(1,3)
- if Words=="English"then
- if sel == 1 then
- chatfunc(". . . ")
- elseif sel == 2 then
- chatfunc("What am I doing...?")
- elseif sel == 3 then
- chatfunc("I can't...")
- end
- else
- if sel == 1 then
- chatfunc(". . . ")
- elseif sel == 2 then
- chatfunc("????????????···?")
- elseif sel == 3 then
- chatfunc("????...")
- end
- end
- for i = 0, 5, 0.1 do
- swait()
- PlayAnimationFromTable({
- CFrame.new(0, 0, 0, 0.999999881, 5.04870979e-29, -4.21790838e-43, 5.04870979e-29, 1, -5.04870979e-29, -4.21790838e-43, -5.04870979e-29, 0.999999881) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-0.0399715528, 1.42130852, -0.217550665, 0.985933542, -0.136098281, -0.097015582, 0.166522697, 0.849608123, 0.500436008, 0.0143167432, -0.509551942, 0.860320628) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0- .4 * math.cos((sine) / 5), 0),
- CFrame.new(1.57258642, 0.0433240086, 3.83948304e-08, 0.990993857, -0.133906633, -2.60571618e-08, 0.133906662, 0.990993977, 5.96046341e-08, 1.78410318e-08, -6.25570422e-08, 0.999999881) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-0.693957031, 0.999676406, -0.811627388, 0.817211449, -0.569911301, -0.0858340934, -0.499626935, -0.626295447, -0.598442137, 0.287295371, 0.531934083, -0.796558976) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(0.540301144, -1.99792778, 1.70425119e-06, 0.998698354, -0.0510031469, 6.26438805e-07, 0.0510031544, 0.998698473, -1.04335422e-05, -9.34800966e-08, 1.04519122e-05, 0.999999881) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-0.539563119, -1.99793291, 1.9016752e-06, 0.998630941, 0.0523070693, -1.67712614e-07, -0.0523070768, 0.99863106, -1.0458818e-05, -3.79587107e-07, 1.04532719e-05, 0.999999881) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- }, .3, false)
- moter.C0 = clerp(moter.C0, CFrame.new(0.0111991819, -1.63769639, -0.318748534, -0.0172109455, -5.96046448e-08, -0.999852002, 0.999852061, -1.19209318e-07, -0.0172108412, 5.96046519e-08, -0.99999994, -1.19209275e-07) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3)
- end
- end
- end
- --GGyro.Parent = nil
- attack = false
- Grabbed = false
- Humanoid.WalkSpeed = 35
- end
- function moarblood()
- attack = true
- CFuncs["Sound"].Create("rbxassetid://1896865789", Character, 9, .8)
- RootPart.CFrame = targetted.HumanoidRootPart.CFrame * CFrame.new(0,0,4)
- local k = New("Part",LeftArm,"k",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.SmoothPlastic,Transparency = 1,Transparency = 1,Shape = Enum.PartType.Cylinder,Size = Vector3.new(0.200000003, 0.221472204, 0.221472189),CFrame = CFrame.new(4.93319941, -1.31948221, -45.7696877, 0.141969427, -5.55023435e-05, -0.989871144, 0.989874005, 1.80069164e-05, 0.141970903, 1.06166653e-05, -1.00000143, 5.59078326e-05),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.105882, 0.164706, 0.207843),})
- mot = New("Weld",k,"mot",{Part0 = k,Part1 = LeftArm,C0 = CFrame.new(0, 0, 0, 0.141969457, 0.989873946, 1.06166663e-05, -5.55023507e-05, 1.80069164e-05, -1.00000167, -0.989871264, 0.141970903, 5.59078399e-05),C1 = CFrame.new(6.67572021e-06, -1.40000057, -3.81469727e-06, 0.989870846, -0.14197053, -1.2531201e-06, 0.141970515, 0.989870906, 1.03843358e-05, -2.33842215e-07, -1.04570581e-05, 0.99999994),})
- wait(.5)
- for i = 0, 1.2, 0.1 do
- swait()
- PlayAnimationFromTable({
- CFrame.new(0, 0.00182705373, -0.0581560358, 1, 0, 0, 0, 0.996194661, 0.087155968, 0, -0.087155968, 0.996194661),
- CFrame.new(0, 1.52556372, -0.222143173, 1, 0, 0, 0, 0.939692795, 0.342019618, 0, -0.342019618, 0.939692795),
- CFrame.new(1.49999928, -1.34110451e-07, 1.58933972e-07, 0.99619478, -0.0871556178, -1.0595604e-07, 0.0871556178, 0.99619472, -3.35276127e-07, 1.35041773e-07, 3.27825546e-07, 1),
- CFrame.new(-1.50000119, 2.68220901e-07, 1.58934313e-07, 0.99619478, 0.0871556178, 1.0595604e-07, -0.0871556178, 0.99619472, -3.35276127e-07, -1.35041773e-07, 3.27825546e-07, 1),
- CFrame.new(0.499997675, -1.9992758, -0.116536342, 0.965925872, 0, -0.258818984, -0.02255762, 0.996194661, -0.0841862038, 0.257834077, 0.087155968, 0.962250173),
- CFrame.new(-0.50000006, -1.99927592, -0.116537228, 0.984807849, 0, 0.173647985, 0.0151344584, 0.996194661, -0.0858318806, -0.172987193, 0.087155968, 0.981060326),
- }, 1, false)
- moter.C0 = clerp(moter.C0, CFrame.new(0.0111978557, -1.63769853, -0.318748116, -0.0172083378, 3.06963921e-06, -0.999852002, 0.999851942, -2.01165676e-07, -0.0172083378, -2.4586916e-07, -1, -3.09944153e-06) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3)
- end
- if targetted.Name ~= "hithere1025" then
- local grab = nil
- for i, v in pairs(FindNearestTorso(Torso.CFrame.p, 7)) do
- if v:FindFirstChild('Head') then
- Grabbed = true
- --CFuncs["Sound"].Create("http://www.roblox.com/asset/?id=160718677", v.Head, 1, .8)
- grab = v
- end
- end
- Humanoid.WalkSpeed = 0
- for i = 0, 2, 0.1 do
- swait()
- if Grabbed == true then
- grab:FindFirstChildOfClass("Humanoid").PlatformStand = true
- --GGyro.position = Partss.Position
- --GGyro.Parent = grab.Head
- grab.Head.CFrame = k.CFrame * CFrame.Angles(0,math.rad(-90),0)
- end
- PlayAnimationFromTable({
- CFrame.new(0, 0.00182705373, -0.0581560358, 1, 0, 0, 0, 0.996194661, 0.087155968, 0, -0.087155968, 0.996194661),
- CFrame.new(0, 1.49941719, 0.0767186508, 1, 0, 0, 0, 0.996194661, -0.087155968, 0, 0.087155968, 0.996194661),
- CFrame.new(1.1733681, 1.00347483, -0.438556999, 0.834721148, 0.546610475, 0.0667646676, 0.395648003, -0.510977745, -0.763128042, -0.383018494, 0.663414538, -0.642789304),
- CFrame.new(-1.19234979, 1.02193367, -0.467352033, 0.879184604, -0.471780479, -0.0667649657, -0.349608243, -0.543515444, -0.763128519, 0.323741287, 0.694272459, -0.642788768),
- CFrame.new(0.499997675, -1.9992758, -0.116536342, 0.965925872, 0, -0.258818984, -0.02255762, 0.996194661, -0.0841862038, 0.257834077, 0.087155968, 0.962250173),
- CFrame.new(-0.50000006, -1.99927592, -0.116537228, 0.984807849, 0, 0.173647985, 0.0151344584, 0.996194661, -0.0858318806, -0.172987193, 0.087155968, 0.981060326),
- }, .3, false)
- moter.C0 = clerp(moter.C0, CFrame.new(0.0111928731, -1.63769662, -0.318741947, -0.0172089636, 8.2552433e-06, -0.999852061, 0.999852061, 7.4505806e-07, -0.0172089189, 5.66244125e-07, -1.00000012, -8.2552433e-06) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3)
- end
- if Grabbed == true then
- sel = math.random(1,3)
- if Words=="English"then
- if sel == 1 then
- chatfunc("No heavens here.")
- elseif sel == 2 then
- chatfunc("Get out from this world...")
- elseif sel == 3 then
- chatfunc("Now , what did you thought?")
- end
- else
- if sel == 1 then
- chatfunc("????????????")
- elseif sel == 2 then
- chatfunc("????????")
- elseif sel == 3 then
- chatfunc("???????????")
- end
- end --if targetted:FindFirstChild("Head")then
- if targetted:FindFirstChild("Head")then local partasdeff = Instance.new("ParticleEmitter",targetted.Head)
- partasdeff.Color = ColorSequence.new(Color3.new(1, 0, 0), Color3.new(.5, 0, 0))
- partasdeff.LightEmission = .1
- partasdeff.Size = NumberSequence.new(0.2)
- partasdeff.Texture = "http://www.roblox.com/asset/?ID=771221224"
- aaa = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.2),NumberSequenceKeypoint.new(1, 5)})
- bbb = NumberSequence.new({NumberSequenceKeypoint.new(0, 1),NumberSequenceKeypoint.new(0.0636, 0), NumberSequenceKeypoint.new(1, 1)})
- partasdeff.Transparency = bbb
- partasdeff.Size = aaa
- partasdeff.ZOffset = .9
- partasdeff.Acceleration = Vector3.new(0, -5, 0)
- partasdeff.LockedToPart = false
- partasdeff.EmissionDirection = "Back"
- partasdeff.Lifetime = NumberRange.new(1, 2)
- partasdeff.Rate = 1000
- partasdeff.Rotation = NumberRange.new(-100, 100)
- partasdeff.RotSpeed = NumberRange.new(-100, 100)
- partasdeff.Speed = NumberRange.new(6)
- partasdeff.VelocitySpread = 10000 partasdeff.Enabled=true
- partasdeff.Enabled=false spawn(function()swait(10)partasdeff.Enabled=false end)end
- for i = 0, 3, 0.1 do
- swait()
- if Grabbed == true then
- grab:FindFirstChildOfClass("Humanoid").PlatformStand = true
- --GGyro.position = Partss.Position
- --GGyro.Parent = grab.Head
- grab.Head.CFrame = k.CFrame * CFrame.Angles(0,math.rad(-90),0)
- end
- PlayAnimationFromTable({
- CFrame.new(0, 0, 0, 0.999999881, 5.04870979e-29, -4.21790838e-43, 5.04870979e-29, 1, -5.04870979e-29, -4.21790838e-43, -5.04870979e-29, 0.999999881) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-0.055980958, 1.49253583, -0.318915963, 0.999889553, 0.0107171191, -0.0102898544, -0.00218299939, 0.791040659, 0.611759722, 0.0146959936, -0.61166966, 0.790976703) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0- .4 * math.cos((sine) / 5), 0),
- CFrame.new(1.54004693, 0.0494250022, 1.90734852e-06, 0.997847795, -0.0655719861, 0, 0.0655719936, 0.997847855, 7.53468894e-22, -4.94064563e-23, -7.51847299e-22, 0.99999994) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-1.51232088, 0.0410207808, -3.73942044e-06, 0.998558879, 0.053665854, -2.33806347e-07, -0.0536658242, 0.998558939, -1.04548817e-05, -3.27600219e-07, 1.04523697e-05, 0.99999994) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(0.540300906, -1.99793804, -2.11055158e-06, 0.998698354, -0.0510031469, 6.26438805e-07, 0.0510031544, 0.998698473, -1.04335422e-05, -9.34800966e-08, 1.04519122e-05, 0.999999881) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-0.539562821, -1.99794102, -5.75710146e-09, 0.998630941, 0.0523070693, -1.67712614e-07, -0.0523070768, 0.99863106, -1.0458818e-05, -3.79587107e-07, 1.04532719e-05, 0.999999881) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- }, .3, false)
- moter.C0 = clerp(moter.C0, CFrame.new(0.0111928731, -1.63769662, -0.318741947, -0.0172089636, 8.2552433e-06, -0.999852061, 0.999852061, 7.4505806e-07, -0.0172089189, 5.66244125e-07, -1.00000012, -8.2552433e-06) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3)
- end
- grab.HumanoidRootPart.Transparency = 1
- dmg(grab)
- CFuncs["Sound"].Create("rbxassetid://429400881", grab.Head, 100, .4)
- --CFuncs["Sound"].Create("http://www.roblox.com/asset/?id=160718677", grab.Head, 1, .7)
- coroutine.wrap(function()
- wait(.4)
- --partasdeff.Enabled=false
- end)()
- for i = 0, 3.5, 0.1 do
- swait()
- PlayAnimationFromTable({
- CFrame.new(-0.203895777, -0.0966757089, 0.221102715, 0.860356927, 5.59592329e-22, -0.509691954, -9.74120787e-23, 1, 9.33471908e-22, 0.509691954, -7.53468894e-22, 0.860356927) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(0.0996288583, 1.46053851, -0.148588806, 0.834862471, 0.0359686315, 0.549282432, -0.0103890011, 0.998714745, -0.0496083908, -0.550360739, 0.0357096791, 0.83416307) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(1.70567894, 0.192227185, 0.324310064, 0.910149336, -0.402004361, -0.100104719, 0.41140601, 0.848634601, 0.332512379, -0.0487190783, -0.343819588, 0.937771142) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-1.40260935, 1.29555511, -0.560751677, 0.832364976, 0.188659444, 0.521130562, 0.370884001, -0.88832134, -0.2707977, 0.411842346, 0.418681324, -0.809378505) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(0.648186982, -1.97843516, -0.0881449506, 0.954305232, -0.129303262, -0.269411147, 0.107586049, 0.989748061, -0.0939371213, 0.278795511, 0.0606598109, 0.958432913) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-0.684103072, -2.02189779, 0.0673112273, 0.973016024, 0.108399175, -0.203689545, -0.109960191, 0.993929327, 0.00367253274, 0.202851087, 0.0188243091, 0.979028702) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- }, .3, false)
- moter.C0 = clerp(moter.C0, CFrame.new(0.0111928731, -1.63769662, -0.318741947, -0.0172089636, 8.2552433e-06, -0.999852061, 0.999852061, 7.4505806e-07, -0.0172089189, 5.66244125e-07, -1.00000012, -8.2552433e-06) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3)
- end
- end
- else
- Humanoid.WalkSpeed = 0
- for i = 0, 3, 0.1 do
- swait()
- PlayAnimationFromTable({
- CFrame.new(0.0246932413, -0.0966757834, -0.0092370566, 0.713696778, 5.59592329e-22, 0.700454772, -9.27150216e-22, 1, 1.45779223e-22, -0.700454772, -7.53468894e-22, 0.713696778) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(0.098094359, 1.53651738, -0.281765848, 0.593379974, 0.280785412, -0.754360616, -0.0276839901, 0.943748772, 0.329502523, 0.804446399, -0.174636483, 0.567774832) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(1.58677018, 0.143787161, 0.0495693758, 0.968102753, -0.250522822, -0.00394502282, 0.250228018, 0.965921044, 0.0662006512, -0.0127741396, -0.0650762022, 0.997798622) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-1.74332106, 0.446618229, -0.859300971, 0.795205951, 0.606264353, -0.0095520094, -0.0538869984, 0.0549720451, -0.997032762, -0.603940368, 0.793361068, 0.0763838589) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(0.648194611, -1.97843742, -0.088139981, 0.954304218, -0.129303336, -0.269414723, 0.107585981, 0.989748061, -0.0939367935, 0.278798997, 0.0606590137, 0.958431959) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-0.671899676, -2.02211809, 0.00866907835, 0.94230175, 0.108399026, -0.316728801, -0.108764999, 0.993929207, 0.0165804606, 0.316603303, 0.0188252106, 0.948371291) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- }, .2, false)
- moter.C0 = clerp(moter.C0, CFrame.new(0.0111978557, -1.63769853, -0.318748116, -0.0172083378, 3.06963921e-06, -0.999852002, 0.999851942, -2.01165676e-07, -0.0172083378, -2.4586916e-07, -1, -3.09944153e-06) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3)
- end
- sel = math.random(1,3)
- if sel == 1 then
- chatfunc("Aahhh...")
- elseif sel == 2 then
- chatfunc("Oh man, I thought you're enemy...")
- elseif sel == 3 then
- chatfunc("Sigh...")
- end
- for i = 0, 5, 0.1 do
- swait()
- PlayAnimationFromTable({
- CFrame.new(0, 0, 0, 0.999999881, 5.04870979e-29, -4.21790838e-43, 5.04870979e-29, 1, -5.04870979e-29, -4.21790838e-43, -5.04870979e-29, 0.999999881) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-0.0399715528, 1.42130852, -0.217550665, 0.985933542, -0.136098281, -0.097015582, 0.166522697, 0.849608123, 0.500436008, 0.0143167432, -0.509551942, 0.860320628) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0- .4 * math.cos((sine) / 5), 0),
- CFrame.new(1.57258642, 0.0433240086, 3.83948304e-08, 0.990993857, -0.133906633, -2.60571618e-08, 0.133906662, 0.990993977, 5.96046341e-08, 1.78410318e-08, -6.25570422e-08, 0.999999881) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-0.693957031, 0.999676406, -0.811627388, 0.817211449, -0.569911301, -0.0858340934, -0.499626935, -0.626295447, -0.598442137, 0.287295371, 0.531934083, -0.796558976) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(0.540301144, -1.99792778, 1.70425119e-06, 0.998698354, -0.0510031469, 6.26438805e-07, 0.0510031544, 0.998698473, -1.04335422e-05, -9.34800966e-08, 1.04519122e-05, 0.999999881) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-0.539563119, -1.99793291, 1.9016752e-06, 0.998630941, 0.0523070693, -1.67712614e-07, -0.0523070768, 0.99863106, -1.0458818e-05, -3.79587107e-07, 1.04532719e-05, 0.999999881) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- }, .3, false)
- moter.C0 = clerp(moter.C0, CFrame.new(0.0111991819, -1.63769639, -0.318748534, -0.0172109455, -5.96046448e-08, -0.999852002, 0.999852061, -1.19209318e-07, -0.0172108412, 5.96046519e-08, -0.99999994, -1.19209275e-07) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3)
- end
- end
- attack = false
- Grabbed = false
- k:Remove()
- Humanoid.WalkSpeed = 35
- end
- function painlessrain()
- attack = true
- sel = math.random(1,3)
- if Words=="English"then
- if sel == 1 then
- chatfunc("It's not the bullet that kills you,It's the whole..")
- elseif sel == 2 then
- chatfunc("Talk into my bullet hole..Tell me i'm fine.")
- elseif sel == 3 then
- chatfunc("Your Dead.")
- end
- else
- if sel == 1 then
- chatfunc("????????????????")
- elseif sel == 2 then
- chatfunc("????????????????????")
- elseif sel == 3 then
- chatfunc("??????????")
- end
- end
- Humanoid.WalkSpeed = 0
- local ref1 = New("Part",m,"ref",{Transparency = 1,Size = Vector3.new(.2,.2,.2),CFrame = Torso.CFrame,Anchored = true,CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,})
- coroutine.wrap(function()
- for i = 0, 1 do
- wait(.2)
- --CFuncs["Sound"].Create("http://www.roblox.com/asset/?id=160718677", RootPart, 1, 1.3)
- end
- end)()
- for i = 0, 4, 0.1 do
- swait()
- PlayAnimationFromTable({
- CFrame.new(-0.013760807, 0, 0.00454730028, 0.500000238, 0, 0.866025388, 0, 1, 0, -0.866025388, 0, 0.500000238),
- CFrame.new(0.010819382, 1.49999833, 0.00964166038, 0.500000238, 0, -0.866025388, 0, 1, 0, 0.866025388, 0, 0.500000238),
- CFrame.new(1.54018927, 0.669616818, -3.72918021e-06, 0.499999791, -0.866025686, 1.75833702e-06, 0.866025567, 0.499999732, -1.27693363e-06, 2.38418579e-07, 2.14576721e-06, 1.00000012),
- CFrame.new(-1.52901936, 0.888710737, 2.4381518e-06, 0.984807968, 0.173648, 4.17232513e-07, 0.173648, -0.984807789, 3.45977355e-06, 1.01327896e-06, -3.33786011e-06, -1.00000012),
- CFrame.new(0.500000119, -2.00000095, 0, 1.00000024, 0, 0, 0, 1, 0, 0, 0, 1.00000024),
- CFrame.new(-0.68507731, -1.96527267, 0.0673612207, 0.925416648, 0.163175583, 0.342020541, -0.173648059, 0.984807849, 6.55481983e-07, -0.336824358, -0.059391804, 0.939692676),
- }, .2, false)
- moter.C0 = clerp(moter.C0, CFrame.new(0.00354172289, -1.19249964, -0.318736732, -0.017209189, -1.8668361e-06, -0.999851942, 0.999851882, 1.90734863e-06, -0.0172091946, 1.93715096e-06, -1.00000012, 1.82725489e-06) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, math.rad(doe * 22)), 0.3)
- end
- for i = 0, 1.5, 0.1 do
- swait()
- PlayAnimationFromTable({
- CFrame.new(-0.013760807, 0, 0.00454730028, 0.500000238, 0, 0.866025388, 0, 1, 0, -0.866025388, 0, 0.500000238),
- CFrame.new(0.010819382, 1.49999833, 0.00964166038, 0.500000238, 0, -0.866025388, 0, 1, 0, 0.866025388, 0, 0.500000238),
- CFrame.new(1.54018927, 0.669616818, -3.72918021e-06, 0.499999791, -0.866025686, 1.75833702e-06, 0.866025567, 0.499999732, -1.27693363e-06, 2.38418579e-07, 2.14576721e-06, 1.00000012),
- CFrame.new(-1.52901936, 0.888710737, 2.4381518e-06, 0.984807968, 0.173648, 4.17232513e-07, 0.173648, -0.984807789, 3.45977355e-06, 1.01327896e-06, -3.33786011e-06, -1.00000012),
- CFrame.new(0.500000119, -2.00000095, 0, 1.00000024, 0, 0, 0, 1, 0, 0, 0, 1.00000024),
- CFrame.new(-0.68507731, -1.96527267, 0.0673612207, 0.925416648, 0.163175583, 0.342020541, -0.173648059, 0.984807849, 6.55481983e-07, -0.336824358, -0.059391804, 0.939692676),
- }, .2, false)
- moter.C0 = clerp(moter.C0, CFrame.new(0.0112083405, -1.63769615, -0.31873402, -0.0172121376, -2.89082527e-06, -0.999851882, 0.999851942, 4.58210707e-07, -0.0172121413, 5.06639481e-07, -1.00000012, 2.89082527e-06) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3)
- end
- for i = 0, 0 do
- Effects.Block.Create(BrickColor.new("Bright red"), Partss.CFrame, 2, 2, 2, 0.9, 0.9, 0.9, 0.05)
- Effects.Block.Create(BrickColor.new("Deep orange"), Partss.CFrame, 2, 2, 2, 0.5, 0.5, 0.5, 0.05)
- for i=0,15 do RingE(Partss.CFrame*CFrame.Angles(math.rad(math.random(360)),math.rad(math.random(360)),math.rad(math.random(360))),.1+math.random(40)/100,30+math.random(70),0,30,3,0,ColorSequence.new(Color3.fromRGB(255, 255, 0)),-.025)end
- CFuncs["Sound"].Create("rbxassetid://1669280377", Character, 20, .2)
- for i = 0, .5, 0.1 do
- swait()
- PlayAnimationFromTable({
- CFrame.new(0.033490371, -4.76837158e-07, -0.0274436511, -0.500000238, 0, -0.866025388, 0, 1, 0, 0.866025388, 0, -0.500000238),
- CFrame.new(-0.0390504077, 1.52660453, -0.19198662, 0.934456527, -0.171009883, 0.312324822, 0.0593909845, 0.939692736, 0.336823851, -0.351089597, -0.296197981, 0.888258457),
- CFrame.new(1.54018593, 0.669616103, -3.75895024e-06, 0.499999344, -0.866025925, 1.75833702e-06, 0.866025805, 0.499999285, -1.27693352e-06, 2.38418579e-07, 2.17556953e-06, 1.00000012),
- CFrame.new(-0.661082923, 0.549146414, -0.783065915, 0.264424562, -0.610265017, -0.746764064, -0.609933972, 0.493972659, -0.619654536, 0.74703449, 0.619328618, -0.241602808),
- CFrame.new(0.500003934, -2.00000095, 0, 1.00000024, 0, 0, 0, 1, 0, 0, 0, 1.00000024),
- CFrame.new(-0.685080409, -1.96527231, 0.0673582703, 0.925416648, 0.163175583, 0.342020541, -0.173648059, 0.984807849, 6.55481983e-07, -0.336824358, -0.059391804, 0.939692676),
- }, .4, false)
- moter.C0 = clerp(moter.C0, CFrame.new(0.0112046078, -1.63744116, -0.318734497, -0.0172122065, 2.46167183e-05, -0.999852002, 0.999850631, -0.00159030408, -0.0172121339, -0.00159040466, -0.999998927, 2.57790089e-06) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3)
- end
- for i = 0, .5, 0.1 do
- swait()
- PlayAnimationFromTable({
- CFrame.new(0.033490371, -4.76837158e-07, -0.0274436511, -0.500000238, 0, -0.866025388, 0, 1, 0, 0.866025388, 0, -0.500000238),
- CFrame.new(-0.0390504077, 1.52660453, -0.19198662, 0.934456527, -0.171009883, 0.312324822, 0.0593909845, 0.939692736, 0.336823851, -0.351089597, -0.296197981, 0.888258457),
- CFrame.new(1.54018593, 0.669616103, -3.75895024e-06, 0.499999344, -0.866025925, 1.75833702e-06, 0.866025805, 0.499999285, -1.27693352e-06, 2.38418579e-07, 2.17556953e-06, 1.00000012),
- CFrame.new(-0.661082923, 0.549146414, -0.783065915, 0.264424562, -0.610265017, -0.746764064, -0.609933972, 0.493972659, -0.619654536, 0.74703449, 0.619328618, -0.241602808),
- CFrame.new(0.500003934, -2.00000095, 0, 1.00000024, 0, 0, 0, 1, 0, 0, 0, 1.00000024),
- CFrame.new(-0.685080409, -1.96527231, 0.0673582703, 0.925416648, 0.163175583, 0.342020541, -0.173648059, 0.984807849, 6.55481983e-07, -0.336824358, -0.059391804, 0.939692676),
- }, .4, false)
- moter.C0 = clerp(moter.C0, CFrame.new(0.0112083405, -1.63769615, -0.31873402, -0.0172121376, -2.89082527e-06, -0.999851882, 0.999851942, 4.58210707e-07, -0.0172121413, 5.06639481e-07, -1.00000012, 2.89082527e-06) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3)
- end
- end
- attack = false
- Humanoid.WalkSpeed = 35
- wait(.4)
- for i = 0, 150 do
- swait(0.5)
- mdmg(ref1, 3)
- CFuncs["Sound"].Create("rbxassetid://", Character, .120, 5)
- ref1.Position = Mouse.hit.p+Vector3.new(math.random(-100,100)/100,0,math.random(-100,100)/100)
- ref1.CFrame = ref1.CFrame * CFrame.new(math.random(-.5,.5),0,math.random(-.5,.5))
- Effects.Cylinder.Create(BrickColor.new("Really black"), ref1.CFrame, 4, 9999, 4, -0.2, 0, -0.2, 0.05,"Neon")
- Effects.Cylinder.Create(BrickColor.new("Bright red"), ref1.CFrame, 8, 9999, 8, -0.4, 0, -0.4, 0.1,"Neon")
- end
- ref1:Remove()
- end
- function TargetSelect(person)
- local dd=coroutine.wrap(function()
- if targetted ~= person then
- targetted = person
- img2.Size = UDim2.new(1,0,1,0)
- img2.ImageTransparency = 0
- img2.Position = UDim2.new(0,0,0,0)
- for i = 0, 2, 0.1 do
- swait()
- img2.Size = img2.Size + UDim2.new(.05,0,.05,0)
- img2.Position = img2.Position + UDim2.new(-.025,0,-.025,0)
- img2.ImageTransparency = img2.ImageTransparency + 0.05
- end
- end
- end)
- dd()
- end
- function LockOn()
- local hum=FindHumanoid(Mouse.Target)
- if hum then
- if hum.Parent:FindFirstChild("Head")and hum.Parent:FindFirstChild("HumanoidRootPart")then
- TargetSelect(hum.Parent)
- CFuncs["Sound"].Create("rbxassetid://", Character, 1, .8)
- end
- end
- end
- function ofmoosic() -- 2 lazi hoh
- delays = true
- while wait() and kkk and kkk.Volume >= 0.02 do
- kkk.Volume = kkk.Volume - 0.05
- end
- wait(0.1)
- kkk.Pitch = 0
- kkk.PlaybackSpeed = 0
- play = false
- delays = false
- end
- function onmoosic()
- delays = true
- kkk.Pitch = 1
- kkk.PlaybackSpeed = 1
- while wait() and kkk and kkk.Volume <= 1.5 do
- kkk.Volume = kkk.Volume + 0.05
- end
- wait(0.1)
- play = true
- delays = false
- end
- Mouse.Button1Down:connect(function()
- if attack == false then
- attackone(targetted)
- end
- end)
- Mouse.KeyDown:connect(function(k)
- k = k:lower()
- if attack == false and k == 'q' then
- LockOn()
- end
- if k == 'z' and attack == false then
- hedshoot()
- elseif k == 'x' and attack == false and targetted ~= nil then
- moarblood()
- elseif k == 'g' and delays == false then
- delays = true
- chatfunc("Why...Why am i doing this.")
- delays = false
- elseif k == 'c' and attack == false then
- painlessrain()delays = false
- elseif k == 'v' and attack == false then
- attacktwo()
- elseif k == 'm' and play == true and delays == false then
- ofmoosic()
- elseif k == 'm' and play == false and delays == false then
- onmoosic()
- elseif k=="e"and attack == false then
- targetted=nil
- end
- end)
- kkk = Instance.new("Sound",Character)
- kkk.Volume = 100
- kkk.PlaybackSpeed = 1
- kkk.Pitch = 1
- kkk.SoundId = "rbxassetid://"
- kkk:Play()
- kkk.Name = "Arrived"
- kkk.Looped = false
- spawn(function()
- while swait()do
- if targetted~=nil then if targetted:FindFirstChild("HumanoidRootPart")==nil or targetted.Parent==nil then targetted=nil end end
- Humanoid.Name=""Humanoid.MaxHealth=1/0 Humanoid.Health=0/0 Humanoid.PlatformStand=false
- if Character:FindFirstChildOfClass("ForceField")then Character:FindFirstChildOfClass("ForceField").Visible=false else Instance.new("ForceField",Character).Name=""end
- end
- end)
- spawn(function()
- local bb=Instance.new("BillboardGui", Head )bb.AlwaysOnTop=true bb.Size=UDim2.new(1,0,1,0)bb.StudsOffset=Vector3.new(0,4.5,0)
- local t=Instance.new("TextLabel",bb)t.Size=UDim2.new(1,0,1,0)t.Text="Last Guest[Abuser Slayer]"t.TextColor3=Color3.new(255,0,0)t.TextStrokeTransparency=.5
- t.BackgroundTransparency=1 t.TextSize=30 t.Font="Garamond"
- while swait()do
- bb.StudsOffset=Vector3.new(math.random(-5,5)/50,4.5+ math.random(-5,5)/50,math.random(-5,130)/50)
- end
- end)
- coroutine.wrap(function()
- while true do
- swait()
- for i, v in pairs(Character.WeaponModel:GetChildren()) do
- if v:IsA("Part") then
- v.Anchored = false
- end
- end
- for i, v in pairs(Character:GetChildren()) do
- if v:IsA("Part") then
- v.Anchored = false
- elseif v:IsA("Accessory") then
- v.Handle.Anchored = false
- end
- end
- end
- end)()
- coroutine.wrap(function()
- while 1 do
- swait()
- if doe <= 360 then
- doe = doe + 2
- else
- doe = 0
- end
- end
- end)()
- while true do
- swait()
- for i, v in pairs(Character:GetChildren()) do
- if v:IsA("Part") then
- v.Material = "SmoothPlastic"
- elseif v:IsA("Accessory") then
- v:WaitForChild("Handle").Material = "SmoothPlastic"
- end
- end
- while true do
- swait()
- Character:FindFirstChildOfClass("Humanoid").MaxHealth = math.huge
- Character:FindFirstChildOfClass("Humanoid").Health = math.huge
- imgl.Rotation = imgl.Rotation + 3
- img2.Rotation = img2.Rotation + 3
- if targetted ~= nil then
- abss.Adornee = targetted:FindFirstChild("HumanoidRootPart") or targetted:FindFirstChild("UpperTorso")
- abss.Enabled = true
- elseif targetted == nil then
- abss.Adornee = nil
- abss.Enabled = false
- end
- while true and imgl.Rotation >= 360 do
- imgl.Rotation = 0
- img2.Rotation = 0
- end
- Torsovelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude
- velocity = RootPart.Velocity.y
- sine = sine + change
- local hit, pos = rayCast(RootPart.Position, (CFrame.new(RootPart.Position, RootPart.Position - Vector3.new(0, 1, 0))).lookVector, 4, Character)
- if RootPart.Velocity.y > 1 and hit == nil then
- Anim = "Jump"
- if attack == false then
- PlayAnimationFromTable({
- CFrame.new(0, 0, 0, 1, -2.21689355e-12, -5.11591203e-13, -2.21689355e-12, 1, 7.74860496e-07, -5.11591203e-13, 7.74860496e-07, 1.00000048) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-0.0579944476, 1.48445117, -0.000906195492, 0.999631822, -0.0259140469, -0.00804444961, 0.0262291897, 0.998776913, 0.0419151038, 0.0069484422, -0.0421099029, 0.999089062) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(1.68067598, 0.167780995, 5.50026158e-08, 0.965881884, -0.258982956, -3.41060513e-13, 0.258982956, 0.965881884, 4.47034836e-07, 8.49010675e-08, 3.16640808e-07, 1.00000024) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-1.67620921, 0.188169807, -3.04922651e-07, 0.95698452, 0.290146649, -2.61441073e-07, -0.290146649, 0.95698452, -1.0069979e-05, -2.89639524e-06, 1.04542296e-05, 1.00000024) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(0.537238836, -1.93797374, 0.176598221, 0.998698533, -0.0506777391, -0.00574572897, 0.0510024093, 0.992341697, 0.112511501, -6.35704041e-08, -0.112657718, 0.993634105) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-0.536944568, -1.94808352, 0.126473114, 0.998626292, 0.0520468242, 0.00521374354, -0.0523067154, 0.993665218, 0.0995327011, -3.84102691e-07, -0.099668026, 0.995023906) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- }, .3, false)
- moter.C0 = clerp(moter.C0, CFrame.new(0.0111988392, -1.63769972, -0.318750381, -0.0172117054, 0, -0.999851942, 0.999851942, 0, -0.0172116756, 0, -1, 0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3)
- end
- elseif RootPart.Velocity.y < -1 and hit == nil then
- Anim = "Fall"
- if attack == false then
- PlayAnimationFromTable({
- CFrame.new(0, -0.0646628663, 0.0399149321, 1, 0, 0, 0, 0.984807849, -0.173647985, 0, 0.173647985, 0.984807849),
- CFrame.new(0, 1.4913609, -0.128171027, 1, 0, 0, 0, 0.939692855, 0.342019796, 0, -0.342019796, 0.939692855),
- CFrame.new(1.55285025, 0.466259956, -9.26282269e-08, 0.766043842, -0.642788351, -6.46188241e-08, 0.642788291, 0.766043961, -7.4505806e-08, 1.04308128e-07, 1.49011612e-08, 1.00000012),
- CFrame.new(-1.5605253, 0.475036323, -2.10609159e-07, 0.766043842, 0.642788351, 6.46188241e-08, -0.642788291, 0.766043961, -7.4505806e-08, -1.04308128e-07, 1.49011612e-08, 1.00000012),
- CFrame.new(0.500000954, -1.9973948, -0.0180922765, 1, 0, 0, 0, 1.00000012, 0, 0, 0, 1.00000012),
- CFrame.new(-0.499999046, -1.30000043, -0.400000483, 1, 0, 0, 0, 0.939692855, 0.342019796, 0, -0.342019796, 0.939692855),
- }, .3, false)
- end
- elseif Torsovelocity < 1 and hit ~= nil then
- Anim = "Idle"
- if attack == false then
- change = 1
- PlayAnimationFromTable({
- CFrame.new(0, 0, 0, 1, -2.21689355e-12, -5.11591203e-13, -2.21689355e-12, 1, 7.74860496e-07, -5.11591203e-13, 7.74860496e-07, 1.00000048) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-0.0575585738, 1.52553558, -0.218724757, 0.985934377, -0.143356442, -0.0859283879, 0.166522771, 0.886584163, 0.431554198, 0.0143168001, -0.439792335, 0.897985697) * CFrame.new(0, -.05- .05 * math.cos((sine) / 55), 0- .05 * math.cos((sine) / 55)) * CFrame.Angles(math.rad(0 - 5 * math.cos((sine) / 55)), 0, 0),
- CFrame.new(1.54809988, 0.041232653, 1.35168499e-08, 0.996376455, -.5, -3.41060513e-13, 0.0850530341, 0.996376455, 4.47034836e-07, 2.78823862e-08, 3.26637689e-07, 1.00000024) * CFrame.new(0- 0.025 * math.cos((sine) / 45), 0, 0) * CFrame.Angles(0, 0, 0- 0.05 * math.cos((sine) / 45)),
- CFrame.new(-1.53598976, 0.0413191095, -1.86092848e-06, 0.995650649, .5, -2.61508148e-07, -0.0931649953, 0.995651186, -1.00695124e-05, -7.49969331e-07, 1.08217946e-05, 1.00000024) * CFrame.new(0+ 0.025 * math.cos((sine) / 45), 0, 0) * CFrame.Angles(0, 0, 0+ 0.05 * math.cos((sine) / 45)),
- CFrame.new(0.540300786, -1.99793816, -9.82598067e-07, 0.998698533, -0.0510031395, 6.36324955e-07, 0.0510031395, 0.998698533, -1.00461093e-05, -8.35937328e-08, 1.08393433e-05, 1.00000024) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-0.539563596, -1.99794078, 1.12228372e-06, 0.998635888, 0.0523072146, -1.77852357e-07, -0.0523072146, 0.998635888, -1.00715051e-05, -3.89727461e-07, 1.08406466e-05, 1.00000024) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- }, .3, false)
- moter.C0 = clerp(moter.C0, CFrame.new(0.0111980997, -1.6377027, -0.318750381, -0.0172109306, 0, -0.999851882, 0.999851882, 0, -0.0172109306, 0, -1, 0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3)
- end
- elseif Torsovelocity > 2 and hit ~= nil then
- Anim = "Walk"
- if attack == false then
- PlayAnimationFromTable({
- CFrame.new(0, 0, 0, 1, -2.21689355e-12, -5.11591203e-13, -2.21689355e-12, 1, 7.74860496e-07, -5.11591203e-13, 7.74860496e-07, 1.00000048) * CFrame.new(0, 0- .08 * math.cos((sine) / 100), 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-0.0595112406, 1.55331731, -0.0425721854, 0.999631822, -.7, -0.010953242, 0.0262294486, 0.987443328, 0.155781403, 0.00694842171, -0.156010598, 0.987731278) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(1.54809988, 0.041232653, 1.35168499e-08, 0, -.5, -3.41060513e-13, 0.0850530341, 0.996376455, 4.47034836e-07, 2.78823862e-08, 3.26637689e-07, 1.00000024) * CFrame.new(0, 0, 0- .5 * math.cos((sine) / 10)) * CFrame.Angles(math.rad(0 + 30 * math.cos((sine) / 10)), 0, 0),
- CFrame.new(-1.53598976, 0.0413191095, -1.86092848e-06, 0.995650649, 0.0931596532, -2.61508148e-07, -0.0931649953, 0.995651186, -1.00695124e-05, -7.49969331e-07, 1.08217946e-05, 1.00000024) * CFrame.new(0, 0, 0+ .5 * math.cos((sine) / 10)) * CFrame.Angles(math.rad(0 - 30 * math.cos((sine) / 10)), 0, 0),
- CFrame.new(0.540300786, -1.99793816, -9.82598067e-07, 0.998698533, -0.0510031395, 6.36324955e-07, 0.0510031395, 0.998698533, -1.00461093e-05, -8.35937328e-08, 1.08393433e-05, 1.00000024) * CFrame.new(0, 0, 0+ .5 * math.cos((sine) / 10)) * CFrame.Angles(math.rad(0 - 30 * math.cos((sine) / 10)), 0, 0),
- CFrame.new(-0.539563596, -1.99794078, 1.12228372e-06, 0.998635888, 0.0523072146, -1.77852357e-07, -0.0523072146, 0.998635888, -1.00715051e-05, -3.89727461e-07, 1.08406466e-05, 1.00000024) * CFrame.new(0, 0, 0- .5 * math.cos((sine) / 10)) * CFrame.Angles(math.rad(0 + 30 * math.cos((sine) / 10)), 0, 0),
- }, .3, false)
- moter.C0 = clerp(moter.C0, CFrame.new(0.0111980997, -1.6377027, -0.318750381, -0.0172109306, 0, -0.999851882, 0.999851882, 0, -0.0172109306, 0, -1, 0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3)
- end
- end
- if 0 < #Effects then
- for e = 1, #Effects do
- if Effects[e] ~= nil then
- local Thing = Effects[e]
- if Thing ~= nil then
- local Part = Thing[1]
- local Mode = Thing[2]
- local Delay = Thing[3]
- local IncX = Thing[4]
- local IncY = Thing[5]
- local IncZ = Thing[6]
- if Thing[2] == "Shoot" then
- local Look = Thing[1]
- local move = 30
- if Thing[8] == 3 then
- move = 10
- end
- local hit, pos = rayCast(Thing[4], Thing[1], move, m)
- if Thing[10] ~= nil then
- da = pos
- cf2 = CFrame.new(Thing[4], Thing[10].Position)
- cfa = CFrame.new(Thing[4], pos)
- tehCF = cfa:lerp(cf2, 0.2)
- Thing[1] = tehCF.lookVector
- end
- local mag = (Thing[4] - pos).magnitude
- Effects["Head"].Create(Torso.BrickColor, CFrame.new((Thing[4] + pos) / 2, pos) * CFrame.Angles(1.57, 0, 0), 1, mag * 5, 1, 0.5, 0, 0.5, 0.2)
- if Thing[8] == 2 then
- Effects["Ring"].Create(Torso.BrickColor, CFrame.new((Thing[4] + pos) / 2, pos) * CFrame.Angles(1.57, 0, 0) * CFrame.fromEulerAnglesXYZ(1.57, 0, 0), 1, 1, 0.1, 0.5, 0.5, 0.1, 0.1, 1)
- end
- Thing[4] = Thing[4] + Look * move
- Thing[3] = Thing[3] - 1
- if 2 < Thing[5] then
- Thing[5] = Thing[5] - 0.3
- Thing[6] = Thing[6] - 0.3
- end
- if hit ~= nil then
- Thing[3] = 0
- if Thing[8] == 1 or Thing[8] == 3 then
- Damage(hit, hit, Thing[5], Thing[6], Thing[7], "Normal", RootPart, 0, "", 1)
- else
- if Thing[8] == 2 then
- Damage(hit, hit, Thing[5], Thing[6], Thing[7], "Normal", RootPart, 0, "", 1)
- if (hit.Parent:FindFirstChildOfClass("Humanoid")) ~= nil or (hit.Parent.Parent:FindFirstChildOfClass("Humanoid")) ~= nil then
- ref = CFuncs.Part.Create(workspace, "Neon", 0, 1, BrickColor.new("Really red"), "Reference", Vector3.new())
- ref.Anchored = true
- ref.CFrame = CFrame.new(pos)
- CFuncs["Sound"].Create("1669280377", ref, 1, 1.2)
- game:GetService("Debris"):AddItem(ref, 0.2)
- Effects["Block"].Create(Torso.BrickColor, CFrame.new(ref.Position) * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)), 1, 1, 1, 10, 10, 10, 0.1, 2)
- Effects["Ring"].Create(BrickColor.new("Bright yellow"), CFrame.new(ref.Position) * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)), 1, 1, 0.1, 4, 4, 0.1, 0.1)
- MagnitudeDamage(ref, 15, Thing[5] / 1.5, Thing[6] / 1.5, 0, "Normal", "", 1)
- end
- end
- end
- ref = CFuncs.Part.Create(workspace, "Neon", 0, 1, BrickColor.new("Really red"), "Reference", Vector3.new())
- ref.Anchored = true
- ref.CFrame = CFrame.new(pos)
- Effects["Sphere"].Create(Torso.BrickColor, CFrame.new(pos), 5, 5, 5, 1, 1, 1, 0.07)
- game:GetService("Debris"):AddItem(ref, 1)
- end
- if Thing[3] <= 0 then
- table.remove(Effects, e)
- end
- end
- do
- do
- if Thing[2] == "FireWave" then
- if Thing[3] <= Thing[4] then
- Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(0, 1, 0)
- Thing[3] = Thing[3] + 1
- Thing[6].Scale = Thing[6].Scale + Vector3.new(Thing[5], 0, Thing[5])
- else
- Part.Parent = nil
- table.remove(Effects, e)
- end
- end
- if Thing[2] ~= "Shoot" and Thing[2] ~= "Wave" and Thing[2] ~= "FireWave" then
- if Thing[1].Transparency <= 1 then
- if Thing[2] == "Block1" then
- Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
- Mesh = Thing[7]
- Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
- Thing[1].Transparency = Thing[1].Transparency + Thing[3]
- else
- if Thing[2] == "Block2" then
- Thing[1].CFrame = Thing[1].CFrame
- Mesh = Thing[7]
- Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
- Thing[1].Transparency = Thing[1].Transparency + Thing[3]
- else
- if Thing[2] == "Fire" then
- Thing[1].CFrame = CFrame.new(Thing[1].Position) + Vector3.new(0, 0.2, 0)
- Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
- Thing[1].Transparency = Thing[1].Transparency + Thing[3]
- else
- if Thing[2] == "Cylinder" then
- Mesh = Thing[7]
- Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
- Thing[1].Transparency = Thing[1].Transparency + Thing[3]
- else
- if Thing[2] == "Blood" then
- Mesh = Thing[7]
- Thing[1].CFrame = Thing[1].CFrame * CFrame.new(0, 0.5, 0)
- Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
- Thing[1].Transparency = Thing[1].Transparency + Thing[3]
- else
- if Thing[2] == "Elec" then
- Mesh = Thing[10]
- Mesh.Scale = Mesh.Scale + Vector3.new(Thing[7], Thing[8], Thing[9])
- Thing[1].Transparency = Thing[1].Transparency + Thing[3]
- else
- if Thing[2] == "Disappear" then
- Thing[1].Transparency = Thing[1].Transparency + Thing[3]
- else
- if Thing[2] == "Shatter" then
- Thing[1].Transparency = Thing[1].Transparency + Thing[3]
- Thing[4] = Thing[4] * CFrame.new(0, Thing[7], 0)
- Thing[1].CFrame = Thing[4] * CFrame.fromEulerAnglesXYZ(Thing[6], 0, 0)
- Thing[6] = Thing[6] + Thing[5]
- end
- end
- end
- end
- end
- end
- end
- end
- else
- Part.Parent = nil
- table.remove(Effects, e)
- end
- end
- end
- end
- end
- end
- end
- end
- end
- end
- end)
- wait(.04)
- local sunRays = Instance.new("SunRaysEffect",game.Lighting)
- sunRays.Intensity = .25
- sunRays.Spread = 1
- local bloom = Instance.new("BloomEffect",game.Lighting)
- bloom.Intensity = .86
- bloom.Size = 74.67
- bloom.Threshold = .94
- --Converted with ttyyuu12345's model to script plugin v4
- function sandbox(var,func)
- local env = getfenv(func)
- local newenv = setmetatable({},{
- __index = function(self,k)
- if k=="script" then
- return var
- else
- return env[k]
- end
- end,
- })
- setfenv(func,newenv)
- return func
- end
- cors = {}
- mas = Instance.new("Model",game:GetService("Lighting"))
- Tool0 = Instance.new("Tool")
- LocalScript1 = Instance.new("LocalScript")
- Script2 = Instance.new("Script")
- Script3 = Instance.new("Script")
- Animation4 = Instance.new("Animation")
- Animation5 = Instance.new("Animation")
- LocalScript6 = Instance.new("LocalScript")
- UnionOperation7 = Instance.new("UnionOperation")
- Script8 = Instance.new("Script")
- Script9 = Instance.new("Script")
- Script10 = Instance.new("Script")
- SpecialMesh11 = Instance.new("SpecialMesh")
- SpecialMesh12 = Instance.new("SpecialMesh")
- Script13 = Instance.new("Script")
- Script14 = Instance.new("Script")
- Sound15 = Instance.new("Sound")
- Sound16 = Instance.new("Sound")
- Sound17 = Instance.new("Sound")
- Sound18 = Instance.new("Sound")
- Sound19 = Instance.new("Sound")
- Sound20 = Instance.new("Sound")
- Sound21 = Instance.new("Sound")
- Sound22 = Instance.new("Sound")
- Sound23 = Instance.new("Sound")
- Sound24 = Instance.new("Sound")
- Sound25 = Instance.new("Sound")
- Sound26 = Instance.new("Sound")
- Sound27 = Instance.new("Sound")
- Sound28 = Instance.new("Sound")
- Sound29 = Instance.new("Sound")
- Sound30 = Instance.new("Sound")
- Sound31 = Instance.new("Sound")
- Sound32 = Instance.new("Sound")
- SpecialMesh33 = Instance.new("SpecialMesh")
- SpecialMesh34 = Instance.new("SpecialMesh")
- SpecialMesh35 = Instance.new("SpecialMesh")
- SpecialMesh36 = Instance.new("SpecialMesh")
- ParticleEmitter37 = Instance.new("ParticleEmitter")
- Script38 = Instance.new("Script")
- Script39 = Instance.new("Script")
- Vector3Value40 = Instance.new("Vector3Value")
- Sound41 = Instance.new("Sound")
- BillboardGui42 = Instance.new("BillboardGui")
- ImageLabel43 = Instance.new("ImageLabel")
- Script44 = Instance.new("Script")
- BodyForce45 = Instance.new("BodyForce")
- LocalScript46 = Instance.new("LocalScript")
- Script47 = Instance.new("Script")
- Script48 = Instance.new("Script")
- Vector3Value49 = Instance.new("Vector3Value")
- Script50 = Instance.new("Script")
- LocalScript51 = Instance.new("LocalScript")
- BlurEffect52 = Instance.new("BlurEffect")
- Sound53 = Instance.new("Sound")
- DistortionSoundEffect54 = Instance.new("DistortionSoundEffect")
- UnionOperation55 = Instance.new("UnionOperation")
- Sound56 = Instance.new("Sound")
- Sound57 = Instance.new("Sound")
- ParticleEmitter58 = Instance.new("ParticleEmitter")
- ParticleEmitter59 = Instance.new("ParticleEmitter")
- ParticleEmitter60 = Instance.new("ParticleEmitter")
- ParticleEmitter61 = Instance.new("ParticleEmitter")
- Sound62 = Instance.new("Sound")
- ParticleEmitter63 = Instance.new("ParticleEmitter")
- ParticleEmitter64 = Instance.new("ParticleEmitter")
- ParticleEmitter65 = Instance.new("ParticleEmitter")
- ParticleEmitter66 = Instance.new("ParticleEmitter")
- ParticleEmitter67 = Instance.new("ParticleEmitter")
- ParticleEmitter68 = Instance.new("ParticleEmitter")
- Tool0.Name = "ShrekNade"
- Tool0.Parent = mas
- Tool0.ToolTip = "The most holiest grenade"
- LocalScript1.Name = "Local Gui"
- LocalScript1.Parent = Tool0
- table.insert(cors,sandbox(LocalScript1,function()
- local Tool = script.Parent;
- enabled = true
- function onButton1Down(mouse)
- if not enabled then
- return
- end
- enabled = false
- mouse.Icon = "rbxasset://textures\\GunWaitCursor.png"
- wait(3)
- mouse.Icon = "rbxasset://textures\\GunCursor.png"
- enabled = true
- end
- function onEquippedLocal(mouse)
- if mouse == nil then
- print("Mouse not found")
- return
- end
- mouse.Icon = "rbxasset://textures\\GunCursor.png"
- mouse.Button1Down:connect(function() onButton1Down(mouse) end)
- end
- Tool.Equipped:connect(onEquippedLocal)
- end))
- Script2.Name = "Welding"
- Script2.Parent = Tool0
- table.insert(cors,sandbox(Script2,function()
- function Weld(x,y)
- local W = Instance.new("Weld")
- W.Part0 = x
- W.Part1 = y
- local CJ = CFrame.new(x.Position)
- local C0 = x.CFrame:inverse()*CJ
- local C1 = y.CFrame:inverse()*CJ
- W.C0 = C0
- W.C1 = C1
- W.Parent = x
- end
- function Get(A)
- if A.className == "Part" then
- Weld(script.Parent.Handle, A)
- A.Anchored = false
- else
- local C = A:GetChildren()
- for i=1, #C do
- Get(C[i])
- end
- end
- end
- function Finale()
- Get(script.Parent)
- end
- script.Parent.Equipped:connect(Finale)
- script.Parent.Unequipped:connect(Finale)
- Finale()
- end))
- Script2.Disabled = true
- Script3.Name = "Weld"
- Script3.Parent = Tool0
- table.insert(cors,sandbox(Script3,function()
- local prev
- local parts = script.Parent:GetChildren()
- for i = 1,#parts do
- --remove any of the following parts that say "(parts[i].className == [className])" if you want to exclude that particular className type from the Weld
- if ((parts[i].className == "Part") or (parts[i].Name == "Handle") or (parts[i].className == "TrussPart") or (parts[i].className == "VehicleSeat") or (parts[i].className == "SkateboardPlatform")) then
- if (prev ~= nil) then
- local weld = Instance.new("Weld")
- weld.Part0 = prev
- weld.Part1 = parts[i]
- weld.C0 = prev.CFrame:inverse()
- weld.C1 = parts[i].CFrame:inverse()
- weld.Parent = prev
- parts[i].Anchored = false
- end
- prev = parts[i]
- end
- end
- wait(3)
- end))
- Script3.Disabled = true
- Animation4.Name = "PullPin"
- Animation4.Parent = Tool0
- Animation4.AnimationId = "http://www.roblox.com/asset/?id=88743592"
- Animation5.Name = "Throwing"
- Animation5.Parent = Tool0
- Animation5.AnimationId = "http://www.roblox.com/asset/?id=88743566"
- LocalScript6.Name = "Launcher"
- LocalScript6.Parent = Tool0
- table.insert(cors,sandbox(LocalScript6,function()
- print 'Hello world!'
- Tool = script.Parent
- thrown = true
- VELOCITY = 150
- local Pull_Pin
- local Pull_Pin
- function Nade()
- local model = Instance.new("Model")
- model.Name = "Nade"
- babacaca=Tool.Weld:clone()
- model.Parent = game.Workspace
- nade = Tool.Handle:clone()
- -- nade1 = Tool.Handle1:clone()
- -- nade2 = Tool.Handle2:clone()
- -- nade3 = Tool.Handle3:clone()
- -- nade4 = Tool.Handle4:clone()
- nade.Parent = model
- -- nade1.Parent = model
- -- nade2.Parent = model
- -- nade3.Parent = model
- -- nade4.Parent= model
- nade.CanCollide = true
- --nade1.CanCollide = true
- --nade2.CanCollide = true
- --nade3.CanCollide = true
- --nade4.CanCollide= true
- -- nade1.Transparency=1
- --nade2.Transparency=1
- -- nade4.Transparency=1
- babacaca.Parent=model
- babacaca.Disabled=false
- local script = Tool.NadeScript:clone()
- script.Disabled = false
- script.Parent = nade
- return model
- end
- function lob(mousepos)
- local vCharacter = Tool.Parent
- local vPlayer = game.Players:playerFromCharacter(vCharacter)
- local head = Tool:findFirstChild("Handle")
- if head == nil then return end
- local dir = mousepos - head.Position
- dir = computeDirection(dir)
- local launch = head.Position + 1 * dir
- local delta = mousepos - launch
- local dy = delta.y
- local new_delta = Vector3.new(delta.x, 0, delta.z)
- delta = new_delta
- local dx = delta.magnitude
- local unit_delta = delta.unit
- local g = (-9.81 * 5)
- local theta = computeLaunchAngle(dx, dy, g)
- local vy = math.sin(theta)
- local xz = math.cos(theta)
- local vx = unit_delta.x * xz
- local vz = unit_delta.z * xz
- local missile = Nade()
- missile.Handle.Position = launch
- missile.Handle.Velocity = Vector3.new(vx, vy, vz) * VELOCITY
- local creator_tag = Instance.new("ObjectValue")
- creator_tag.Value = vPlayer
- creator_tag.Name = "creator"
- creator_tag.Parent = missile.Handle
- script.Parent.Handle.Throw:play()
- script.Parent.Handle.Transparency=1
- script.Parent.Part.Transparency=1
- --script.Parent.Handle1.Transparency=1
- --script.Parent.Handle2.Transparency=1
- --script.Parent.Handle3.Transparency=1
- --script.Parent.Handle4.Transparency=1
- end
- function computeLaunchAngle(dx, dy, grav)
- -- http://en.wikipedia.org/wiki/Trajectory_of_a_projectile
- local g = math.abs(grav)
- local inRoot = (VELOCITY*VELOCITY*VELOCITY*VELOCITY) - (g * ((g*dx*dx) + (2*dy*VELOCITY*VELOCITY)))
- if inRoot <= 0 then
- return .25 * math.pi
- end
- local root = math.sqrt(inRoot)
- local inATan1 = ((VELOCITY*VELOCITY) + root) / (g*dx)
- local inATan2 = ((VELOCITY*VELOCITY) - root) / (g*dx)
- local answer1 = math.atan(inATan1)
- local answer2 = math.atan(inATan2)
- if answer1 < answer2 then return answer1 end
- return answer2
- end
- function computeDirection(vec)
- local lenSquared = vec.magnitude * vec.magnitude
- local invSqrt = 1 / math.sqrt(lenSquared)
- return Vector3.new(vec.x * invSqrt, vec.y * invSqrt, vec.z * invSqrt)
- end
- function onThrow()
- if thrown == true then return end
- thrown = true
- local character = Tool.Parent
- local humanoid = character.Humanoid
- if humanoid == nil then return end
- local targetPos = humanoid.TargetPoint
- Pull_Pin:Play()
- wait(.15)
- --Pull_pin() -- Pin will be pulled at the same time the anim shows the "pulling the pin" part.
- wait(.35)
- Throwing:Play()
- --Make_Nade()
- lob(targetPos)
- --wait(0)
- wait(.1)
- Throwing:Stop()
- Pull_Pin:Stop()
- wait(1)
- script.Parent.Handle.Transparency=0
- script.Parent.Part.Transparency=0
- thrown = false
- --script.Parent:Remove()
- end
- function onEquipped()
- local Pull = script.Parent.PullPin -- PULL PIN & THROW + ANIMATIONS!
- local Throw = script.Parent.Throwing
- Pull_Pin = script.Parent.Parent.Humanoid:LoadAnimation(Pull)
- Throwing = script.Parent.Parent.Humanoid:LoadAnimation(Throw)
- end
- function onUnequipped()
- end
- thrown = false
- Tool.Equipped:connect(onEquipped)
- Tool.Unequipped:connect(onUnequipped)
- Tool.Activated:connect(onThrow)
- end))
- UnionOperation7.Name = "Part"
- UnionOperation7.Parent = Tool0
- UnionOperation7.CFrame = CFrame.new(12.4100122, 1.19206595, 5.03996515, -0.0450061709, 0.998986602, 8.43462402e-08, 1.11329854e-07, -7.94161821e-08, 0.999999881, 0.998986423, 0.0450062901, -1.07642805e-07)
- UnionOperation7.Orientation = Vector3.new(-89.9700012, 141.919998, 125.5)
- UnionOperation7.Position = Vector3.new(12.4100122, 1.19206595, 5.03996515)
- UnionOperation7.Rotation = Vector3.new(-90, 0, -92.5799942)
- UnionOperation7.Color = Color3.new(0.388235, 0.372549, 0.384314)
- UnionOperation7.Size = Vector3.new(0.312499881, 0.049999997, 0.312499851)
- UnionOperation7.Anchored = true
- UnionOperation7.BrickColor = BrickColor.new("Dark stone grey")
- UnionOperation7.CanCollide = false
- UnionOperation7.Material = Enum.Material.SmoothPlastic
- UnionOperation7.brickColor = BrickColor.new("Dark stone grey")
- Script8.Name = "WELD"
- Script8.Parent = Tool0
- table.insert(cors,sandbox(Script8,function()
- -- Created by Quenty (@Quenty, follow me on twitter).
- -- Should work with only ONE copy, seamlessly with weapons, trains, et cetera.
- -- Parts should be ANCHORED before use. It will, however, store relatives values and so when tools are reparented, it'll fix them.
- --[[ INSTRUCTIONS
- - Place in the model
- - Make sure model is anchored
- - That's it. It will weld the model and all children.
- THIS SCRIPT SHOULD BE USED ONLY BY ITSELF. THE MODEL SHOULD BE ANCHORED.
- THIS SCRIPT SHOULD BE USED ONLY BY ITSELF. THE MODEL SHOULD BE ANCHORED.
- THIS SCRIPT SHOULD BE USED ONLY BY ITSELF. THE MODEL SHOULD BE ANCHORED.
- THIS SCRIPT SHOULD BE USED ONLY BY ITSELF. THE MODEL SHOULD BE ANCHORED.
- THIS SCRIPT SHOULD BE USED ONLY BY ITSELF. THE MODEL SHOULD BE ANCHORED.
- THIS SCRIPT SHOULD BE USED ONLY BY ITSELF. THE MODEL SHOULD BE ANCHORED.
- THIS SCRIPT SHOULD BE USED ONLY BY ITSELF. THE MODEL SHOULD BE ANCHORED.
- THIS SCRIPT SHOULD BE USED ONLY BY ITSELF. THE MODEL SHOULD BE ANCHORED.
- This script is designed to be used is a regular script. In a local script it will weld, but it will not attempt to handle ancestory changes.
- ]]
- --[[ DOCUMENTATION
- - Will work in tools. If ran more than once it will not create more than one weld. This is especially useful for tools that are dropped and then picked up again.
- - Will work in PBS servers
- - Will work as long as it starts out with the part anchored
- - Stores the relative CFrame as a CFrame value
- - Takes careful measure to reduce lag by not having a joint set off or affected by the parts offset from origin
- - Utilizes a recursive algorith to find all parts in the model
- - Will reweld on script reparent if the script is initially parented to a tool.
- - Welds as fast as possible
- ]]
- -- qPerfectionWeld.lua
- -- Created 10/6/2014
- -- Author: Quenty
- -- Version 1.0.3
- -- Updated 10/14/2014 - Updated to 1.0.1
- --- Bug fix with existing ROBLOX welds ? Repro by asimo3089
- -- Updated 10/14/2014 - Updated to 1.0.2
- --- Fixed bug fix.
- -- Updated 10/14/2014 - Updated to 1.0.3
- --- Now handles joints semi-acceptably. May be rather hacky with some joints. :/
- local NEVER_BREAK_JOINTS = false -- If you set this to true it will never break joints (this can create some welding issues, but can save stuff like hinges).
- local function CallOnChildren(Instance, FunctionToCall)
- -- Calls a function on each of the children of a certain object, using recursion.
- FunctionToCall(Instance)
- for _, Child in next, Instance:GetChildren() do
- CallOnChildren(Child, FunctionToCall)
- end
- end
- local function GetNearestParent(Instance, ClassName)
- -- Returns the nearest parent of a certain class, or returns nil
- local Ancestor = Instance
- repeat
- Ancestor = Ancestor.Parent
- if Ancestor == nil then
- return nil
- end
- until Ancestor:IsA(ClassName)
- return Ancestor
- end
- local function GetBricks(StartInstance)
- local List = {}
- -- if StartInstance:IsA("BasePart") then
- -- List[#List+1] = StartInstance
- -- end
- CallOnChildren(StartInstance, function(Item)
- if Item:IsA("BasePart") then
- List[#List+1] = Item;
- end
- end)
- return List
- end
- local function Modify(Instance, Values)
- -- Modifies an Instance by using a table.
- assert(type(Values) == "table", "Values is not a table");
- for Index, Value in next, Values do
- if type(Index) == "number" then
- Value.Parent = Instance
- else
- Instance[Index] = Value
- end
- end
- return Instance
- end
- local function Make(ClassType, Properties)
- -- Using a syntax hack to create a nice way to Make new items.
- return Modify(Instance.new(ClassType), Properties)
- end
- local Surfaces = {"TopSurface", "BottomSurface", "LeftSurface", "RightSurface", "FrontSurface", "BackSurface"}
- local HingSurfaces = {"Hinge", "Motor", "SteppingMotor"}
- local function HasWheelJoint(Part)
- for _, SurfaceName in pairs(Surfaces) do
- for _, HingSurfaceName in pairs(HingSurfaces) do
- if Part[SurfaceName].Name == HingSurfaceName then
- return true
- end
- end
- end
- return false
- end
- local function ShouldBreakJoints(Part)
- --- We do not want to break joints of wheels/hinges. This takes the utmost care to not do this. There are
- -- definitely some edge cases.
- if NEVER_BREAK_JOINTS then
- return false
- end
- if HasWheelJoint(Part) then
- return false
- end
- local Connected = Part:GetConnectedParts()
- if #Connected == 1 then
- return false
- end
- for _, Item in pairs(Connected) do
- if HasWheelJoint(Item) then
- return false
- elseif not Item:IsDescendantOf(script.Parent) then
- return false
- end
- end
- return true
- end
- local function WeldTogether(Part0, Part1, JointType, WeldParent)
- --- Weld's 2 parts together
- -- @param Part0 The first part
- -- @param Part1 The second part (Dependent part most of the time).
- -- @param [JointType] The type of joint. Defaults to weld.
- -- @param [WeldParent] Parent of the weld, Defaults to Part0 (so GC is better).
- -- @return The weld created.
- JointType = JointType or "Weld"
- local RelativeValue = Part1:FindFirstChild("qRelativeCFrameWeldValue")
- local NewWeld = Part1:FindFirstChild("qCFrameWeldThingy") or Instance.new(JointType)
- Modify(NewWeld, {
- Name = "qCFrameWeldThingy";
- Part0 = Part0;
- Part1 = Part1;
- C0 = CFrame.new();--Part0.CFrame:inverse();
- C1 = RelativeValue and RelativeValue.Value or Part1.CFrame:toObjectSpace(Part0.CFrame); --Part1.CFrame:inverse() * Part0.CFrame;-- Part1.CFrame:inverse();
- Parent = Part1;
- })
- if not RelativeValue then
- RelativeValue = Make("CFrameValue", {
- Parent = Part1;
- Name = "qRelativeCFrameWeldValue";
- Archivable = true;
- Value = NewWeld.C1;
- })
- end
- return NewWeld
- end
- local function WeldParts(Parts, MainPart, JointType, DoNotUnanchor)
- -- @param Parts The Parts to weld. Should be anchored to prevent really horrible results.
- -- @param MainPart The part to weld the model to (can be in the model).
- -- @param [JointType] The type of joint. Defaults to weld.
- -- @parm DoNotUnanchor Boolean, if true, will not unachor the model after cmopletion.
- for _, Part in pairs(Parts) do
- if ShouldBreakJoints(Part) then
- Part:BreakJoints()
- end
- end
- for _, Part in pairs(Parts) do
- if Part ~= MainPart then
- WeldTogether(MainPart, Part, JointType, MainPart)
- end
- end
- if not DoNotUnanchor then
- for _, Part in pairs(Parts) do
- Part.Anchored = false
- end
- MainPart.Anchored = false
- end
- end
- local function PerfectionWeld()
- local Tool = GetNearestParent(script, "Tool")
- local Parts = GetBricks(script.Parent)
- local PrimaryPart = Tool and Tool:FindFirstChild("Handle") and Tool.Handle:IsA("BasePart") and Tool.Handle or script.Parent:IsA("Model") and script.Parent.PrimaryPart or Parts[1]
- if PrimaryPart then
- WeldParts(Parts, PrimaryPart, "Weld", false)
- else
- warn("qWeld - Unable to weld part")
- end
- return Tool
- end
- local Tool = PerfectionWeld()
- if Tool and script.ClassName == "Script" then
- --- Don't bother with local scripts
- script.Parent.AncestryChanged:connect(function()
- PerfectionWeld()
- end)
- end
- -- Created by Quenty (@Quenty, follow me on twitter).
- end))
- Script9.Name = "NadeScript"
- Script9.Parent = Tool0
- table.insert(cors,sandbox(Script9,function()
- script.Parent.ParticleEmitter.Enabled=true
- wait(3)
- local dud = math.random(1,10)
- if dud == 10 then
- script.Parent.ParticleEmitter.Enabled=false
- script.Parent.Activate2.Enabled=false
- script.Parent.Activate.Enabled=false
- script.Parent.dud.Enabled=true
- script.Parent.Glow2.Enabled=false
- script.Parent.dudsound:play()
- wait(10)
- script.Parent.dud.Enabled=false
- wait(5)
- script.Parent:Remove()
- end
- script.Parent.Activate.Enabled=true
- script.LAAAAA:Play()
- script.Parent.zap.Enabled=true
- script.Parent.Glow2.Enabled=true
- wait(2)
- script.Parent.ParticleEmitter.Enabled=false
- script.Parent.Activate2.Enabled=true
- script.Parent.Activate.Enabled=false
- script.Parent.Anchored=true
- script.Parent.Transparency=1
- --script.LAAAAA:Stop()
- script.Shrek:Play()
- --IM FIRIN MA LASEOR!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
- a=script:GetChildren()
- for i=1,#a do
- if a[i].ClassName=="Sound" and a[i].Name~="LAAAAA" and a[i].Name~="Blam" and a[i].Name ~= "Shrek" then
- a[i]:Play()
- end
- end
- --big radius
- a=script.attract:Clone()
- a.Parent=script.Parent
- a.Disabled=false
- caca=script.magic:clone()
- caca.Parent=script.Parent
- caca.Enabled=true
- bc=Instance.new("Part")
- bc.TopSurface=0
- bc.BottomSurface=0
- bc.Anchored=false
- bc.CanCollide=false
- bc.formFactor="Custom"
- bc.Size=Vector3.new(1,1,1)
- bc.CFrame=CFrame.new(script.Parent.CFrame.p)*CFrame.fromEulerAnglesXYZ(math.pi/2,0,0)
- bc.Name="poop"
- bc.BrickColor=BrickColor.new "White"
- ac=script.MAMAMesh:clone()
- ac.Parent = bc
- bc.Parent=game.Workspace
- --end radius thing
- --baca
- --bacamaca
- ba=Instance.new("Part")
- ba.TopSurface=0
- ba.BottomSurface=0
- ba.Anchored=false
- ba.CanCollide=false
- ba.formFactor="Custom"
- ba.Size=Vector3.new(1,0.1,1)
- ba.CFrame=CFrame.new(script.Parent.CFrame.p)*CFrame.fromEulerAnglesXYZ(math.pi/2,0,0)
- ba.Name="Effect"
- ba.BrickColor=BrickColor.new "White"
- ao=script.RingMesh:clone()
- ao.Parent = ba
- ba.Parent=game.Workspace
- fo=Instance.new("BodyPosition")
- fo.maxForce= Vector3.new (99999999999999999,99999999999999999,99999999999999999)
- fo.position = ba.Position
- fo.Parent = ba
- aa=Instance.new("BodyAngularVelocity")
- aa.P=3000
- aa.maxTorque=aa.maxTorque*30
- aa.angularvelocity=Vector3.new(math.random(-70,70)/3,math.random(-70,70)/3,math.random(-70,70)/5)*100
- aa.Parent=ba
- -- spinning thing
- baa=Instance.new("Part")
- baa.TopSurface=0
- baa.BottomSurface=0
- baa.Anchored=false
- baa.CanCollide=false
- baa.formFactor="Custom"
- baa.Size=Vector3.new(1,0.1,1)
- baa.CFrame=CFrame.new(script.Parent.CFrame.p)*CFrame.fromEulerAnglesXYZ(math.pi/2,0,0)
- baa.Name="Effect"
- baa.BrickColor=BrickColor.new "White"
- aao=script.RingMesh:clone()
- aao.Parent = baa
- baa.Parent=game.Workspace
- foo=Instance.new("BodyPosition")
- foo.maxForce= Vector3.new (99999999999999999,99999999999999999,99999999999999999)
- foo.position = baa.Position
- foo.Parent = baa
- aaa=Instance.new("BodyAngularVelocity")
- aaa.P=3000
- aaa.maxTorque=aaa.maxTorque*30
- aaa.angularvelocity=Vector3.new(math.random(-70,70)/3,math.random(-70,70)/3,math.random(-70,70)/5)*100
- aaa.Parent=baa
- --spinning thing 2
- baaa=Instance.new("Part")
- baaa.TopSurface=0
- baaa.BottomSurface=0
- baaa.Anchored=false
- baaa.CanCollide=false
- baaa.formFactor="Custom"
- baaa.Size=Vector3.new(1,0.1,1)
- baaa.CFrame=CFrame.new(script.Parent.CFrame.p)*CFrame.fromEulerAnglesXYZ(math.pi/2,0,0)
- baaa.Name="Effect"
- baaa.BrickColor=BrickColor.new "White"
- aaao=script.RingMesh:clone()
- aaao.Parent = baaa
- baaa.Parent=game.Workspace
- fooo=Instance.new("BodyPosition")
- fooo.maxForce= Vector3.new (99999999999999999,99999999999999999,99999999999999999)
- fooo.position = baaa.Position
- fooo.Parent = baaa
- aaaa=Instance.new("BodyAngularVelocity")
- aaaa.P=3000
- aaaa.maxTorque=aaaa.maxTorque*30
- aaaa.angularvelocity=Vector3.new(math.random(-70,70)/3,math.random(-70,70)/3,math.random(-70,70)/5)*100
- aaaa.Parent=baaa
- --spinning thing 3
- c=Instance.new("Part")
- c.TopSurface=0
- c.BottomSurface=0
- c.Anchored=true
- c.CanCollide=false
- c.formFactor="Symmetric"
- c.Size=Vector3.new(1,1,1)
- c.CFrame=CFrame.new(script.Parent.CFrame.p)*CFrame.fromEulerAnglesXYZ(math.pi/2,0,0)
- c.Name="Effect"
- c.BrickColor=BrickColor.new "Lime green"
- o=script.MAMAMesh:clone()
- o.Parent = c
- c.Parent=game.Workspace
- q=Instance.new("Part")
- q.TopSurface=0
- q.BottomSurface=0
- q.Anchored=true
- q.CanCollide=false
- q.formFactor="Symmetric"
- q.Size=Vector3.new(1,1,1)
- q.CFrame=CFrame.new(script.Parent.CFrame.p)*CFrame.fromEulerAnglesXYZ(math.pi/2,0,0)
- q.Name="Effect2"
- q.BrickColor=BrickColor.new "Lime green"
- b=script.MAMAMesh:clone()
- b.Parent = q
- q.Parent=game.Workspace
- no =Instance.new ("PointLight")
- no.Range=60
- no.Brightness=9999999999999999999
- no.Parent=q
- e=Instance.new("Part")
- e.TopSurface=0
- e.BottomSurface=0
- e.Anchored=true
- e.CanCollide=false
- e.formFactor="Plate"
- e.Size=Vector3.new(20,.4,20)
- e.CFrame=CFrame.new(script.Parent.CFrame.p)*CFrame.fromEulerAnglesXYZ(math.pi/2,0,0)
- e.Name="Effect die!!!"
- e.BrickColor=BrickColor.new "White"
- r=script.RingMesh:clone()
- r.Parent=e
- e.Parent=game.Workspace
- coroutine.resume(coroutine.create(function(mesh) for l=1, 180 do aaao.Parent.Transparency=l/180 aaao.Scale=aaao.Scale+Vector3.new(20/l,20/l,0.1) wait() end aaao.Parent.Parent=nil end),aaao)
- coroutine.resume(coroutine.create(function(mesh) for l=1, 180 do aao.Parent.Transparency=l/180 aao.Scale=aao.Scale+Vector3.new(20/l,20/l,0.1) wait() end aao.Parent.Parent=nil end),aao)
- coroutine.resume(coroutine.create(function(mesh) for l=1, 180 do ao.Parent.Transparency=l/180 ao.Scale=ao.Scale+Vector3.new(20/l,20/l,0.1) wait() end ao.Parent.Parent=nil end),ao)
- coroutine.resume(coroutine.create(function(mesh) for l=1, 50 do o.Parent.Transparency=l/90 o.Scale=o.Scale+Vector3.new(20/l,20/l,1000) wait() end end),o)
- coroutine.resume(coroutine.create(function(mesh) for l=1, 50 do b.Parent.Transparency=l/50 b.Scale=b.Scale+Vector3.new(80/l,80/l,10) wait() end b.Parent.Parent=nil end),b)
- coroutine.resume(coroutine.create(function(mesh) for l=1, 60 do r.Parent.Transparency=l/60 r.Scale=r.Scale+Vector3.new(60/l,60/l,.02) wait() end r.Parent.Parent=nil end),r)
- coroutine.resume(coroutine.create(function(mesh) for l=1, 60 do ac.Parent.Transparency=l/20 ac.Scale=ac.Scale+Vector3.new(200/l,200/l,50) wait() end ac.Parent.Parent=nil end),ac)
- wait(1.4)
- coroutine.resume(coroutine.create(function(mesh) for l=1, 50 do o.Parent.Transparency=l/50 o.Scale=o.Scale+Vector3.new(-20/l,-20/l,30) wait() end o.Parent.Parent=nil end),o)
- spawn(function()
- script.Parent.IMFIRINMYLAZER.Enabled=true
- for i = 1,80 do
- script.Parent.IMFIRINMYLAZER.Size=NumberSequence.new(81-i)
- wait(0.1)
- end
- end)
- wait(3)
- wait(4)
- script.Parent.bigglow.Enabled=true
- wait(2)
- script.Parent.attract.Disabled=true
- script.Parent.superglow.Enabled=true
- script.Parent.holysmoke:Emit(20)
- for i=1,4 do
- a=script.Blam:Clone()
- a.Parent=script
- a:play()
- game:GetService("Debris"):AddItem(a,15)
- end
- for i = 1,55 do
- local puff = Instance.new("Part")
- script.Parent.Anchored=true
- script.ya:clone().Parent=puff
- puff.CanCollide = false
- puff.Anchored = false
- puff.Name = "smoke"
- puff.Transparency = 1
- puff.BrickColor = BrickColor.new("New Yeller")
- puff.formFactor = "Custom"
- puff.TopSurface = 0
- puff.BottomSurface = 0
- puff.Size = Vector3.new(4,4,4)
- game:GetService("Debris"):AddItem(puff,5)
- --[[ local erasee = script.smoke:clone()
- erasee.Parent = puff
- erasee.Enabled = true]]--
- local erase = script.Fade:clone()
- erase.Parent = puff
- erase.Disabled = false
- puff.Parent = game.Workspace
- --puff.Velocity= Vector3.new(math.random(0,800),math.random(-800,800),math.random(-800,800))
- puff.CFrame = script.Parent.CFrame + Vector3.new((math.random(-1,1)),(math.random(-1,1)),(math.random(-1,1)))
- local a = puff.Position
- local b = script.Parent.Position
- local dir = (a - b).unit
- puff.Velocity = dir * 50
- puff.Velocity = puff.Velocity+Vector3.new(0,math.random(20,150),0)
- end
- for i = 1,35 do
- local puff = Instance.new("Part")
- script.Parent.Anchored=true
- script.ya:clone().Parent=puff
- puff.CanCollide = false
- puff.Anchored = false
- puff.Name = "smoke2"
- puff.Transparency = 1
- puff.BrickColor = BrickColor.new("New Yeller")
- puff.formFactor = "Custom"
- puff.TopSurface = 0
- puff.BottomSurface = 0
- puff.Size = Vector3.new(4,4,4)
- game:GetService("Debris"):AddItem(puff,5)
- --[[ local erasee = script.smoke:clone()
- erasee.Parent = puff
- erasee.Enabled = true]]--
- local erase = script.Fade:clone()
- erase.Parent = puff
- erase.Disabled = false
- puff.Parent = game.Workspace
- --puff.Velocity= Vector3.new(math.random(-800,800),math.random(-800,800),math.random(-800,800))
- puff.CFrame = script.Parent.CFrame + Vector3.new((math.random(-1,1)),(math.random(-1,1)),(math.random(-1,1)))
- local a = puff.Position
- local b = script.Parent.Position
- local dir = (a - b).unit
- puff.Velocity = dir*0
- puff.Velocity = puff.Velocity+Vector3.new(math.random(-250,250),0,math.random(-250,250))
- end
- --[[for i = 1,25 do
- local puffa = Instance.new("Part")
- script.Parent.Anchored=true
- --script.ya:clone().Parent=puff
- puffa.CanCollide = false
- puffa.Anchored = false
- puffa.Name = "debris"
- puffa.Transparency = 0
- puffa.BrickColor = BrickColor.new("Brown")
- puffa.formFactor = "Custom"
- puffa.TopSurface = 0
- puffa.BottomSurface = 0
- puffa.Size = Vector3.new(math.random(0.6,3),math.random(0.6,3),math.random(0.6,3))
- game:GetService("Debris"):AddItem(puffa,5)
- puffa.Parent=game.Workspace
- puffa.CFrame = script.Parent.CFrame + Vector3.new((math.random(-1,1)),(math.random(-1,1)),(math.random(-1,1)))
- puffa.Velocity = puffa.Velocity+Vector3.new(math.random(-50,50),math.random(100,200),math.random(-50,50))
- puffa.RotVelocity = puffa.RotVelocity+Vector3.new(math.random(-50,50),math.random(100,200),math.random(-50,50))
- end]]--
- function onPlayerBlownUp2(part)
- local force = part:findFirstChild("BlackHole Influence")
- if force ~= nil then
- force:remove()
- end
- local force = part:findFirstChild("gotopos")
- if force ~= nil then
- force:remove()
- end
- if part.Anchored==false then
- local f = Instance.new("Fire")
- f.Parent = part
- f.Size = part:getMass()
- f.Heat = part:getMass()
- a=script.fireableno:Clone()
- a.Parent=f
- a.Disabled=false
- game:GetService("Debris"):AddItem(f,15)
- end
- end
- function onPlayerBlownUp3(part)
- local force = part:findFirstChild("BlackHole Influence")
- if force ~= nil then
- force:remove()
- end
- local force = part:findFirstChild("gotopos")
- if force ~= nil then
- force:remove()
- end
- end
- -- force removal
- local exp = Instance.new("Explosion")
- exp.BlastRadius = 180
- exp.BlastPressure = 000000
- exp.Position = script.Parent.Position
- exp.Parent = game.Workspace
- exp.Hit:connect(function(part) onPlayerBlownUp3(part) end)
- --
- script.Parent.Glow2.Enabled=false
- wait()
- script.DBExplode:Stop()
- script.Shrek:Stop()
- script.LAAAAA:Stop()
- script.Parent.Anchored=true
- script.Parent.Transparency=1
- local exp = Instance.new("Explosion")
- exp.BlastRadius = 180 --super wussy units
- exp.BlastPressure = 3500000 -- final bam
- exp.Position = script.Parent.Position
- exp.Parent = game.Workspace
- script.Parent.Anchored=true
- script.Parent.Transparency=1
- script.Parent.magic.Enabled=false
- exp.Hit:connect(function(part) onPlayerBlownUp2(part) end)
- script.Parent.Activate2.Enabled=false
- c=Instance.new("Part")
- c.TopSurface=0
- c.BottomSurface=0
- c.Anchored=true
- c.CanCollide=false
- c.formFactor="Symmetric"
- c.Size=Vector3.new(1,1,1)
- c.CFrame=CFrame.new(script.Parent.CFrame.p)*CFrame.fromEulerAnglesXYZ(math.pi/2,0,0)
- c.Name="Effect"
- c.BrickColor=BrickColor.new "Lime green"
- o=script.MAMAMesh:clone()
- o.Parent = c
- c.Parent=game.Workspace
- e=Instance.new("Part")
- e.TopSurface=0
- e.BottomSurface=0
- e.Anchored=true
- e.CanCollide=false
- e.formFactor="Plate"
- e.Size=Vector3.new(20,.4,20)
- e.CFrame=CFrame.new(script.Parent.CFrame.p)*CFrame.fromEulerAnglesXYZ(math.pi/2,0,0)
- e.Name="Effect die!!!"
- e.BrickColor=BrickColor.new "White"
- r=script.RingMesh:clone()
- r.Parent=e
- e.Parent=game.Workspace
- function onPlayerBlownUp(part)
- local force = part:findFirstChild("gotopos")
- if force ~= nil then
- force:remove()
- end
- if part.Anchored==false then
- local force = part:findFirstChild("BlackHole Influence")
- if force ~= nil then
- force:remove()
- end
- local b = part.Parent:findFirstChild("Humanoid")
- if b ~= nil then
- local a = game.Players:GetPlayerFromCharacter(b.Parent)
- if a~= nil then
- local lol = a.PlayerGui:findFirstChild("shake")
- if lol == nil then
- local ad = script.shake:Clone()
- ad.Parent=a.PlayerGui
- ad.Disabled=false
- local ad = script.Blur:Clone()
- ad.Disabled=false
- ad.Parent=a.PlayerGui
- end
- end
- end
- end
- end
- coroutine.resume(coroutine.create(function(mesh) for l=1, 60 do r.Parent.Transparency=l/60 r.Scale=r.Scale+Vector3.new(60/l,60/l,.02) wait() end r.Parent.Parent=nil end),r)
- coroutine.resume(coroutine.create(function(mesh) for l=1, 50 do o.Parent.Transparency=l/90 o.Scale=o.Scale+Vector3.new(20/l,20/l,1000) wait() end end),o)
- script.Parent.zap.Enabled=false
- local a = Instance.new("Explosion")
- a.Position=script.Parent.Position
- a.Parent=game.Workspace
- a.BlastPressure=0
- a.BlastRadius=1000
- script.light.Disabled=false
- a.Hit:connect(function(part) onPlayerBlownUp(part) end)
- script.Parent.Activate2.Enabled=false
- local i = 0
- local x = script.Parent.Position.x
- local y = script.Parent.Position.y
- local z = script.Parent.Position.z
- for i = 1, 30,1 do
- local ex = Instance.new("Explosion")
- ex.Parent = script.Parent
- ex.Name = "Brick"
- ex.BlastPressure = 250000
- ex.BlastRadius = 900
- ex.DestroyJointRadiusPercent = 0.2
- ex.Position=Vector3.new(100*math.cos(math.rad(i*12)) + x, y, 100*math.sin(math.rad(i*12)) + z)
- ex.Hit:connect(function(part) onPlayerBlownUp(part) end)
- --wait()
- end
- wait(1.4)
- script.Parent.bigglow.Enabled=false
- script.Parent.superglow.Enabled=false
- coroutine.resume(coroutine.create(function(mesh) for l=1, 50 do o.Parent.Transparency=l/50 o.Scale=o.Scale+Vector3.new(-20/l,-20/l,1000) wait() end o.Parent.Parent=nil end),o)
- wait(20)
- script.Parent.Parent:Remove()
- end))
- Script9.Disabled = true
- Script10.Name = "Fade"
- Script10.Parent = Script9
- table.insert(cors,sandbox(Script10,function()
- wait(3)
- a=script.Parent:FindFirstChild("Fire")
- if a ~= nil then
- a.Enabled=false
- end
- wait(2)
- script.Parent.Parent:remove()
- end))
- Script10.Disabled = true
- SpecialMesh11.Name = "TMesh"
- SpecialMesh11.Parent = Script9
- SpecialMesh11.MeshId = "http://www.roblox.com/asset/?id=1051557"
- SpecialMesh11.Scale = Vector3.new(12, 9, 12)
- SpecialMesh11.MeshType = Enum.MeshType.FileMesh
- SpecialMesh12.Name = "SpikeMesh"
- SpecialMesh12.Parent = Script9
- SpecialMesh12.MeshId = "http://www.roblox.com/asset/?id=1033714"
- SpecialMesh12.Scale = Vector3.new(7, 16, 7)
- SpecialMesh12.MeshType = Enum.MeshType.FileMesh
- Script13.Name = "Fade0"
- Script13.Parent = Script9
- table.insert(cors,sandbox(Script13,function()
- wait()
- script.Parent.BrickColor = BrickColor.new("New Yeller")
- script.Parent.Transparency = script.Parent.Transparency + 0.05
- script.Parent.Mesh0.Scale = script.Parent.Mesh0.Scale + Vector3.new(0.92,0.92,0)
- wait(.01)
- script.Parent.BrickColor = BrickColor.new("New Yeller")
- script.Parent.Transparency = script.Parent.Transparency + 0.0
- script.Parent.Mesh0.Scale = script.Parent.Mesh0.Scale + Vector3.new(0.92,0.92,0.)
- wait(.01)
- script.Parent.BrickColor = BrickColor.new("Deep orange")
- script.Parent.Transparency = script.Parent.Transparency + 0.0
- script.Parent.Mesh0.Scale = script.Parent.Mesh0.Scale + Vector3.new(0.92,0.92,0)
- wait(.1)
- script.Parent.BrickColor = BrickColor.new("Deep orange")
- script.Parent.Transparency = script.Parent.Transparency + 0.0
- script.Parent.Mesh0.Scale = script.Parent.Mesh0.Scale + Vector3.new(0.94,0.942,0.)
- wait(.1)
- wait(.01)
- script.Parent.BrickColor = BrickColor.new("Deep orange")
- script.Parent.Transparency = script.Parent.Transparency + 0.05
- script.Parent.Mesh0.Scale = script.Parent.Mesh0.Scale + Vector3.new(0.943,0.943,0.)
- wait(.01)
- script.Parent.BrickColor = BrickColor.new("Deep orange")
- script.Parent.Transparency = script.Parent.Transparency + 0.0
- script.Parent.Mesh0.Scale = script.Parent.Mesh0.Scale + Vector3.new(0.943,0.943,0.)
- wait(.01)
- script.Parent.BrickColor = BrickColor.new("White")
- script.Parent.Transparency = script.Parent.Transparency + 0.0
- script.Parent.Mesh0.Scale = script.Parent.Mesh0.Scale + Vector3.new(0.943,0.943,0.)
- wait(.1)
- script.Parent.BrickColor = BrickColor.new("White")
- script.Parent.Transparency = script.Parent.Transparency + 0.00
- script.Parent.Mesh0.Scale = script.Parent.Mesh0.Scale + Vector3.new(0.943,0.943,0.)
- wait(.1)
- script.Parent.BrickColor = BrickColor.new("White")
- script.Parent.Transparency = script.Parent.Transparency + 0.08
- script.Parent.Mesh0.Scale = script.Parent.Mesh0.Scale + Vector3.new(0.943,0.943,0.)
- wait(.1)
- for i = 1,150 do
- script.Parent.Transparency = script.Parent.Transparency + 0.005
- script.Parent.Mesh0.Scale = script.Parent.Mesh0.Scale + Vector3.new(0.641,0.641,0.1)
- wait()
- end
- wait(1)
- script.Parent:remove()
- end))
- Script13.Disabled = true
- Script14.Name = "light"
- Script14.Parent = Script9
- table.insert(cors,sandbox(Script14,function()
- print 'Hello world!'
- g=game.Lighting.Ambient.g
- b=game.Lighting.Ambient.b
- r=game.Lighting.Ambient.r
- local a = 1000/255
- game.Lighting.Ambient=Color3.new(r+a,g+a,b+a)
- wait(1)
- for i=1,100 do
- local a =10/255
- g=game.Lighting.Ambient.g
- b=game.Lighting.Ambient.b
- r=game.Lighting.Ambient.r
- game.Lighting.Ambient=Color3.new(r-a,g-a,b-a)
- wait(0.05)
- end
- end))
- Script14.Disabled = true
- Sound15.Name = "Abscond"
- Sound15.Parent = Script9
- Sound15.EmitterSize = 0
- Sound15.MinDistance = 0
- Sound15.SoundId = "http://www.roblox.com/asset/?id=2767090"
- Sound15.Volume = 1
- Sound16.Name = "Berserk"
- Sound16.Parent = Script9
- Sound16.EmitterSize = 0
- Sound16.MinDistance = 0
- Sound16.Pitch = 0.10000000149012
- Sound16.PlaybackSpeed = 0.10000000149012
- Sound16.SoundId = "http://www.roblox.com/asset/?id=2101137"
- Sound16.Volume = 1
- Sound17.Name = "Break"
- Sound17.Parent = Script9
- Sound17.EmitterSize = 0
- Sound17.MinDistance = 0
- Sound17.Pitch = 0.75
- Sound17.PlaybackSpeed = 0.75
- Sound17.SoundId = "http://www.roblox.com/asset/?id=3264793"
- Sound17.Volume = 1
- Sound18.Name = "Curse"
- Sound18.Parent = Script9
- Sound18.EmitterSize = 0
- Sound18.MinDistance = 0
- Sound18.Pitch = 0.40000000596046
- Sound18.PlaybackSpeed = 0.40000000596046
- Sound18.SoundId = "http://www.roblox.com/asset/?id=13775494"
- Sound18.Volume = 1
- Sound19.Name = "DBC"
- Sound19.Parent = Script9
- Sound19.EmitterSize = 0
- Sound19.MinDistance = 0
- Sound19.Pitch = 0.55000001192093
- Sound19.PlaybackSpeed = 0.55000001192093
- Sound19.SoundId = "http://www.roblox.com/asset/?id=2101137"
- Sound19.Volume = 1
- Sound20.Name = "DBCha"
- Sound20.Parent = Script9
- Sound20.EmitterSize = 0
- Sound20.MinDistance = 0
- Sound20.Pitch = 0.30000001192093
- Sound20.PlaybackSpeed = 0.30000001192093
- Sound20.SoundId = "http://www.roblox.com/asset/?id=2101137"
- Sound20.Volume = 1
- Sound21.Name = "DBExplode"
- Sound21.Parent = Script9
- Sound21.Pitch = 0.40000000596046
- Sound21.PlaybackSpeed = 0.40000000596046
- Sound21.SoundId = "rbxassetid://449865271"
- Sound21.Volume = 10
- Sound22.Name = "DCHHIT"
- Sound22.Parent = Script9
- Sound22.EmitterSize = 0
- Sound22.MinDistance = 0
- Sound22.Pitch = 0.5
- Sound22.PlaybackSpeed = 0.5
- Sound22.SoundId = "http://www.roblox.com/asset/?id=2801263"
- Sound22.Volume = 1
- Sound23.Name = "DS"
- Sound23.Parent = Script9
- Sound23.EmitterSize = 0
- Sound23.MinDistance = 0
- Sound23.Pitch = 0.69999998807907
- Sound23.PlaybackSpeed = 0.69999998807907
- Sound23.SoundId = "http://www.roblox.com/asset/?id=2691586"
- Sound23.Volume = 1
- Sound24.Name = "DSHit"
- Sound24.Parent = Script9
- Sound24.EmitterSize = 0
- Sound24.MinDistance = 0
- Sound24.Pitch = 1.5
- Sound24.PlaybackSpeed = 1.5
- Sound24.SoundId = "http://www.roblox.com/asset/?id=2101148"
- Sound24.Volume = 1
- Sound25.Name = "Defile"
- Sound25.Parent = Script9
- Sound25.EmitterSize = 0
- Sound25.MinDistance = 0
- Sound25.Pitch = 1.125
- Sound25.PlaybackSpeed = 1.125
- Sound25.SoundId = "http://www.roblox.com/asset/?id=3264923"
- Sound25.Volume = 1
- Sound26.Name = "Elec"
- Sound26.Parent = Script9
- Sound26.EmitterSize = 0
- Sound26.MinDistance = 0
- Sound26.Pitch = 0.69999998807907
- Sound26.PlaybackSpeed = 0.69999998807907
- Sound26.SoundId = "http://www.roblox.com/asset/?id=2800815"
- Sound26.Volume = 1
- Sound27.Name = "GB1"
- Sound27.Parent = Script9
- Sound27.EmitterSize = 0
- Sound27.MinDistance = 0
- Sound27.Pitch = 0.69999998807907
- Sound27.PlaybackSpeed = 0.69999998807907
- Sound27.SoundId = "http://www.roblox.com/asset?id=1369158"
- Sound27.Volume = 1
- Sound28.Name = "GB2"
- Sound28.Parent = Script9
- Sound28.EmitterSize = 0
- Sound28.MinDistance = 0
- Sound28.Pitch = 0.80000001192093
- Sound28.PlaybackSpeed = 0.80000001192093
- Sound28.SoundId = "http://www.roblox.com/asset/?id=2974000"
- Sound28.Volume = 1
- Sound29.Name = "GB3"
- Sound29.Parent = Script9
- Sound29.EmitterSize = 0
- Sound29.MinDistance = 0
- Sound29.Pitch = 0.20000000298023
- Sound29.PlaybackSpeed = 0.20000000298023
- Sound29.SoundId = "http://www.roblox.com/asset/?id=12222124"
- Sound29.Volume = 1
- Sound30.Name = "GB4"
- Sound30.Parent = Script9
- Sound30.EmitterSize = 0
- Sound30.MinDistance = 0
- Sound30.Pitch = 0.64999997615814
- Sound30.PlaybackSpeed = 0.64999997615814
- Sound30.SoundId = "http://www.roblox.com/asset/?id=2974249"
- Sound30.Volume = 1
- Sound31.Name = "Imbue"
- Sound31.Parent = Script9
- Sound31.EmitterSize = 0
- Sound31.MinDistance = 0
- Sound31.SoundId = "http://www.roblox.com/asset/?id=2785493"
- Sound31.Volume = 1
- Sound32.Name = "LAAAAA"
- Sound32.Parent = Script9
- Sound32.EmitterSize = 0
- Sound32.MinDistance = 0
- Sound32.SoundId = "rbxassetid://449865271"
- Sound32.Volume = 2
- SpecialMesh33.Name = "BlastMesh"
- SpecialMesh33.Parent = Script9
- SpecialMesh33.MeshId = "http://www.roblox.com/asset/?id=20329976"
- SpecialMesh33.Scale = Vector3.new(1, 0.100000001, 1)
- SpecialMesh33.MeshType = Enum.MeshType.FileMesh
- SpecialMesh34.Name = "CYMesh"
- SpecialMesh34.Parent = Script9
- SpecialMesh34.Scale = Vector3.new(12, 9, 12)
- SpecialMesh34.MeshType = Enum.MeshType.Cylinder
- SpecialMesh35.Name = "MAMAMesh"
- SpecialMesh35.Parent = Script9
- SpecialMesh35.MeshType = Enum.MeshType.Sphere
- SpecialMesh36.Name = "RingMesh"
- SpecialMesh36.Parent = Script9
- SpecialMesh36.MeshId = "http://www.roblox.com/asset/?id=3270017"
- SpecialMesh36.Scale = Vector3.new(0.100000001, 0.100000001, 0.100000001)
- SpecialMesh36.MeshType = Enum.MeshType.FileMesh
- ParticleEmitter37.Name = "magic"
- ParticleEmitter37.Parent = Script9
- ParticleEmitter37.Speed = NumberRange.new(0, 0)
- ParticleEmitter37.Color = ColorSequence.new(Color3.new(0, 1, 0),Color3.new(1, 1, 1))
- ParticleEmitter37.Enabled = false
- ParticleEmitter37.LightEmission = 10000
- ParticleEmitter37.Texture = "http://www.roblox.com/asset/?id=241650934"
- ParticleEmitter37.ZOffset = 3
- ParticleEmitter37.Size = NumberSequence.new(10,2.6875,0)
- ParticleEmitter37.Lifetime = NumberRange.new(0.5, 2)
- ParticleEmitter37.Rate = 10000000000
- ParticleEmitter37.RotSpeed = NumberRange.new(-280, 280)
- ParticleEmitter37.SpreadAngle = Vector2.new(360, 360)
- ParticleEmitter37.VelocitySpread = 360
- Script38.Name = "attractO"
- Script38.Parent = Script9
- table.insert(cors,sandbox(Script38,function()
- function onPlayerBlownUp(part, distance, creator)
- if part.Anchored==false then
- aa= script.gotopos:Clone()
- aa.Disabled=false
- aa.Value.Value=script.Parent.Position
- aa.Parent=part
- game:GetService("Debris"):AddItem(aa,10)
- local b = part.Parent:findFirstChild("Humanoid")
- local c = part.Parent:findFirstChild("Humanoid")
- if b == nil and c == nil then
- local a = math.random(1,7)
- if a == 1 then
- part:BreakJoints()
- end
- end
- end
- end
- local a = Instance.new("Explosion")
- a.Position=script.Parent.Position
- a.Parent=game.Workspace
- a.BlastPressure=0
- a.BlastRadius=200
- a.Hit:connect(function(part, distance) onPlayerBlownUp(part, distance) end)
- end))
- Script39.Name = "gotopos"
- Script39.Parent = Script38
- table.insert(cors,sandbox(Script39,function()
- print 'Hello world!'
- local b = script.Value.Value
- while true do
- wait(0.1)
- local a = script.Parent.Position
- local dir = (a - b).unit
- dir=dir*-1
- script.Parent.Velocity = dir*30
- end
- end))
- Script39.Disabled = true
- Vector3Value40.Parent = Script39
- Sound41.Name = "Blam"
- Sound41.Parent = Script9
- Sound41.EmitterSize = 0
- Sound41.MinDistance = 0
- Sound41.Pitch = 0.20000000298023
- Sound41.PlaybackSpeed = 0.20000000298023
- Sound41.SoundId = "http://www.roblox.com/asset?id=2248511"
- Sound41.Volume = 1
- BillboardGui42.Name = "smoke"
- BillboardGui42.Parent = Script9
- BillboardGui42.Enabled = false
- BillboardGui42.Size = UDim2.new(7.5, 0, 7.5, 0)
- ImageLabel43.Parent = BillboardGui42
- ImageLabel43.Position = UDim2.new(-3.5, 0, -3.5, 0)
- ImageLabel43.Size = UDim2.new(8, 0, 8, 0)
- ImageLabel43.BackgroundColor = BrickColor.new("Institutional white")
- ImageLabel43.BackgroundColor3 = Color3.new(1, 1, 1)
- ImageLabel43.BackgroundTransparency = 1
- ImageLabel43.BorderSizePixel = 0
- ImageLabel43.Image = "http://www.roblox.com/asset/?id=31727915"
- Script44.Parent = ImageLabel43
- table.insert(cors,sandbox(Script44,function()
- while true do
- script.Parent.Rotation = script.Parent.Rotation+1
- wait(0.1)
- end
- end))
- BodyForce45.Name = "ya"
- BodyForce45.Parent = Script9
- BodyForce45.Force = Vector3.new(0, 8790, 0)
- BodyForce45.force = Vector3.new(0, 8790, 0)
- LocalScript46.Name = "shake"
- LocalScript46.Parent = Script9
- table.insert(cors,sandbox(LocalScript46,function()
- local cam = game.Workspace.CurrentCamera
- for i=1,10 do
- wait()
- local cam_rot = cam.CoordinateFrame - cam.CoordinateFrame.p --* CFrame.fromEulerAnglesXYZ(math.random(-5, 5)/10, math.random(-5, 5)/5, 0)
- local cam_scroll = (cam.CoordinateFrame.p - cam.Focus.p).magnitude
- local x=math.random(-10, 10)/40
- local y = math.random(-10, 10)/40
- local ncf = CFrame.new(cam.Focus.p)*cam_rot*CFrame.fromEulerAnglesXYZ(x,y , 0)
- cam.CoordinateFrame = ncf*CFrame.new(0, 0, cam_scroll)
- wait()
- local cam_rot = cam.CoordinateFrame - cam.CoordinateFrame.p --* CFrame.fromEulerAnglesXYZ(math.random(-5, 5)/10, math.random(-5, 5)/5, 0)
- local cam_scroll = (cam.CoordinateFrame.p - cam.Focus.p).magnitude
- local xx=x*-1
- local yy = y*-1
- local ncf = CFrame.new(cam.Focus.p)*cam_rot*CFrame.fromEulerAnglesXYZ(xx,yy , 0)
- local p= cam_scroll*-1
- cam.CoordinateFrame = ncf*CFrame.new(0, 0, p)
- end
- for i=1,10 do
- wait()
- local cam_rot = cam.CoordinateFrame - cam.CoordinateFrame.p --* CFrame.fromEulerAnglesXYZ(math.random(-5, 5)/10, math.random(-5, 5)/5, 0)
- local cam_scroll = (cam.CoordinateFrame.p - cam.Focus.p).magnitude
- local x=math.random(-7, 7)/40
- local y = math.random(-7, 7)/40
- local ncf = CFrame.new(cam.Focus.p)*cam_rot*CFrame.fromEulerAnglesXYZ(x,y , 0)
- cam.CoordinateFrame = ncf*CFrame.new(0, 0, cam_scroll)
- wait()
- local cam_rot = cam.CoordinateFrame - cam.CoordinateFrame.p --* CFrame.fromEulerAnglesXYZ(math.random(-5, 5)/10, math.random(-5, 5)/5, 0)
- local cam_scroll = (cam.CoordinateFrame.p - cam.Focus.p).magnitude
- local xx=x*-1
- local yy = y*-1
- local ncf = CFrame.new(cam.Focus.p)*cam_rot*CFrame.fromEulerAnglesXYZ(xx,yy , 0)
- local p= cam_scroll*-1
- cam.CoordinateFrame = ncf*CFrame.new(0, 0, p)
- end
- for i=1,10 do
- wait()
- local cam_rot = cam.CoordinateFrame - cam.CoordinateFrame.p --* CFrame.fromEulerAnglesXYZ(math.random(-5, 5)/10, math.random(-5, 5)/5, 0)
- local cam_scroll = (cam.CoordinateFrame.p - cam.Focus.p).magnitude
- local x=math.random(-5, 5)/40
- local y = math.random(-5, 5)/40
- local ncf = CFrame.new(cam.Focus.p)*cam_rot*CFrame.fromEulerAnglesXYZ(x,y , 0)
- cam.CoordinateFrame = ncf*CFrame.new(0, 0, cam_scroll)
- wait()
- local cam_rot = cam.CoordinateFrame - cam.CoordinateFrame.p --* CFrame.fromEulerAnglesXYZ(math.random(-5, 5)/10, math.random(-5, 5)/5, 0)
- local cam_scroll = (cam.CoordinateFrame.p - cam.Focus.p).magnitude
- local xx=x*-1
- local yy = y*-1
- local ncf = CFrame.new(cam.Focus.p)*cam_rot*CFrame.fromEulerAnglesXYZ(xx,yy , 0)
- local p= cam_scroll*-1
- cam.CoordinateFrame = ncf*CFrame.new(0, 0, p)
- end
- for i=1,10 do
- wait()
- local cam_rot = cam.CoordinateFrame - cam.CoordinateFrame.p --* CFrame.fromEulerAnglesXYZ(math.random(-5, 5)/10, math.random(-5, 5)/5, 0)
- local cam_scroll = (cam.CoordinateFrame.p - cam.Focus.p).magnitude
- local x=math.random(-3, 3)/40
- local y = math.random(-3, 3)/40
- local ncf = CFrame.new(cam.Focus.p)*cam_rot*CFrame.fromEulerAnglesXYZ(x,y , 0)
- cam.CoordinateFrame = ncf*CFrame.new(0, 0, cam_scroll)
- wait()
- local cam_rot = cam.CoordinateFrame - cam.CoordinateFrame.p --* CFrame.fromEulerAnglesXYZ(math.random(-5, 5)/10, math.random(-5, 5)/5, 0)
- local cam_scroll = (cam.CoordinateFrame.p - cam.Focus.p).magnitude
- local xx=x*-1
- local yy = y*-1
- local ncf = CFrame.new(cam.Focus.p)*cam_rot*CFrame.fromEulerAnglesXYZ(xx,yy , 0)
- local p= cam_scroll*-1
- cam.CoordinateFrame = ncf*CFrame.new(0, 0, p)
- end
- for i=1,10 do
- wait()
- local cam_rot = cam.CoordinateFrame - cam.CoordinateFrame.p --* CFrame.fromEulerAnglesXYZ(math.random(-5, 5)/10, math.random(-5, 5)/5, 0)
- local cam_scroll = (cam.CoordinateFrame.p - cam.Focus.p).magnitude
- local x=math.random(-2, 2)/40
- local y = math.random(-2, 2)/40
- local ncf = CFrame.new(cam.Focus.p)*cam_rot*CFrame.fromEulerAnglesXYZ(x,y , 0)
- cam.CoordinateFrame = ncf*CFrame.new(0, 0, cam_scroll)
- wait()
- local cam_rot = cam.CoordinateFrame - cam.CoordinateFrame.p --* CFrame.fromEulerAnglesXYZ(math.random(-5, 5)/10, math.random(-5, 5)/5, 0)
- local cam_scroll = (cam.CoordinateFrame.p - cam.Focus.p).magnitude
- local xx=x*-1
- local yy = y*-1
- local ncf = CFrame.new(cam.Focus.p)*cam_rot*CFrame.fromEulerAnglesXYZ(xx,yy , 0)
- local p= cam_scroll*-1
- cam.CoordinateFrame = ncf*CFrame.new(0, 0, p)
- end
- for i=1,10 do
- wait()
- local cam_rot = cam.CoordinateFrame - cam.CoordinateFrame.p --* CFrame.fromEulerAnglesXYZ(math.random(-5, 5)/10, math.random(-5, 5)/5, 0)
- local cam_scroll = (cam.CoordinateFrame.p - cam.Focus.p).magnitude
- local x=math.random(-1, 1)/40
- local y = math.random(-1, 1)/40
- local ncf = CFrame.new(cam.Focus.p)*cam_rot*CFrame.fromEulerAnglesXYZ(x,y , 0)
- cam.CoordinateFrame = ncf*CFrame.new(0, 0, cam_scroll)
- wait()
- local cam_rot = cam.CoordinateFrame - cam.CoordinateFrame.p --* CFrame.fromEulerAnglesXYZ(math.random(-5, 5)/10, math.random(-5, 5)/5, 0)
- local cam_scroll = (cam.CoordinateFrame.p - cam.Focus.p).magnitude
- local xx=x*-1
- local yy = y*-1
- local ncf = CFrame.new(cam.Focus.p)*cam_rot*CFrame.fromEulerAnglesXYZ(xx,yy , 0)
- local p= cam_scroll*-1
- cam.CoordinateFrame = ncf*CFrame.new(0, 0, p)
- end
- for i=1,10 do
- wait()
- local cam_rot = cam.CoordinateFrame - cam.CoordinateFrame.p --* CFrame.fromEulerAnglesXYZ(math.random(-5, 5)/10, math.random(-5, 5)/5, 0)
- local cam_scroll = (cam.CoordinateFrame.p - cam.Focus.p).magnitude
- local x=math.random(-0.5, 0.5)/40
- local y = math.random(-0.5, 0.5)/40
- local ncf = CFrame.new(cam.Focus.p)*cam_rot*CFrame.fromEulerAnglesXYZ(x,y , 0)
- cam.CoordinateFrame = ncf*CFrame.new(0, 0, cam_scroll)
- wait()
- local cam_rot = cam.CoordinateFrame - cam.CoordinateFrame.p --* CFrame.fromEulerAnglesXYZ(math.random(-5, 5)/10, math.random(-5, 5)/5, 0)
- local cam_scroll = (cam.CoordinateFrame.p - cam.Focus.p).magnitude
- local xx=x*-1
- local yy = y*-1
- local ncf = CFrame.new(cam.Focus.p)*cam_rot*CFrame.fromEulerAnglesXYZ(xx,yy , 0)
- local p= cam_scroll*-1
- cam.CoordinateFrame = ncf*CFrame.new(0, 0, p)
- end
- for i=1,10 do
- wait()
- local cam_rot = cam.CoordinateFrame - cam.CoordinateFrame.p --* CFrame.fromEulerAnglesXYZ(math.random(-5, 5)/10, math.random(-5, 5)/5, 0)
- local cam_scroll = (cam.CoordinateFrame.p - cam.Focus.p).magnitude
- local x=math.random(-0.1, 0.1)/40
- local y = math.random(-0.1, 0.1)/40
- local ncf = CFrame.new(cam.Focus.p)*cam_rot*CFrame.fromEulerAnglesXYZ(x,y , 0)
- cam.CoordinateFrame = ncf*CFrame.new(0, 0, cam_scroll)
- wait()
- local cam_rot = cam.CoordinateFrame - cam.CoordinateFrame.p --* CFrame.fromEulerAnglesXYZ(math.random(-5, 5)/10, math.random(-5, 5)/5, 0)
- local cam_scroll = (cam.CoordinateFrame.p - cam.Focus.p).magnitude
- local xx=x*-1
- local yy = y*-1
- local ncf = CFrame.new(cam.Focus.p)*cam_rot*CFrame.fromEulerAnglesXYZ(xx,yy , 0)
- local p= cam_scroll*-1
- cam.CoordinateFrame = ncf*CFrame.new(0, 0, p)
- end
- for i=1,10 do
- wait()
- local cam_rot = cam.CoordinateFrame - cam.CoordinateFrame.p --* CFrame.fromEulerAnglesXYZ(math.random(-5, 5)/10, math.random(-5, 5)/5, 0)
- local cam_scroll = (cam.CoordinateFrame.p - cam.Focus.p).magnitude
- local x=math.random(-0.01, 0.01)/40
- local y = math.random(-0.01, 0.01)/40
- local ncf = CFrame.new(cam.Focus.p)*cam_rot*CFrame.fromEulerAnglesXYZ(x,y , 0)
- cam.CoordinateFrame = ncf*CFrame.new(0, 0, cam_scroll)
- wait()
- local cam_rot = cam.CoordinateFrame - cam.CoordinateFrame.p --* CFrame.fromEulerAnglesXYZ(math.random(-5, 5)/10, math.random(-5, 5)/5, 0)
- local cam_scroll = (cam.CoordinateFrame.p - cam.Focus.p).magnitude
- local xx=x*-1
- local yy = y*-1
- local ncf = CFrame.new(cam.Focus.p)*cam_rot*CFrame.fromEulerAnglesXYZ(xx,yy , 0)
- local p= cam_scroll*-1
- cam.CoordinateFrame = ncf*CFrame.new(0, 0, p)
- end
- for i=1,10 do
- wait()
- local cam_rot = cam.CoordinateFrame - cam.CoordinateFrame.p --* CFrame.fromEulerAnglesXYZ(math.random(-5, 5)/10, math.random(-5, 5)/5, 0)
- local cam_scroll = (cam.CoordinateFrame.p - cam.Focus.p).magnitude
- local x=math.random(-0.0025, 0.0025)/40
- local y = math.random(-0.0025, 0.0025)/40
- local ncf = CFrame.new(cam.Focus.p)*cam_rot*CFrame.fromEulerAnglesXYZ(x,y , 0)
- cam.CoordinateFrame = ncf*CFrame.new(0, 0, cam_scroll)
- wait()
- local cam_rot = cam.CoordinateFrame - cam.CoordinateFrame.p --* CFrame.fromEulerAnglesXYZ(math.random(-5, 5)/10, math.random(-5, 5)/5, 0)
- local cam_scroll = (cam.CoordinateFrame.p - cam.Focus.p).magnitude
- local xx=x*-1
- local yy = y*-1
- local ncf = CFrame.new(cam.Focus.p)*cam_rot*CFrame.fromEulerAnglesXYZ(xx,yy , 0)
- local p= cam_scroll*-1
- cam.CoordinateFrame = ncf*CFrame.new(0, 0, p)
- end
- script:remove()
- --script:remove()
- end))
- LocalScript46.Disabled = true
- Script47.Name = "attract"
- Script47.Parent = Script9
- table.insert(cors,sandbox(Script47,function()
- local hole = script.Parent
- local childList = {}
- local massConstant = 5.8 -- Generally a good value
- local mass = 40000 * massConstant
- -- This is basically a function that finds all unanchored parts and adds them to childList.
- -- Note: This should only be run once for each object
- function checkObject(obj)
- if (obj ~= hole) and (obj.className == "Part") then
- if (obj.Anchored == false) then
- table.insert(childList, 1, obj)
- end
- elseif (obj.className == "Model") or (obj.className == "Hat") or (obj.className == "Tool") or (obj == workspace) then
- local child = obj:GetChildren()
- for x = 1, #child do
- checkObject(child[x])
- end
- obj.ChildAdded:connect(checkObject)
- end
- end
- checkObject(workspace)
- print("Black Hole script loaded.")
- local n = 0
- while true do
- if n < #childList then
- n = n + 1
- if n % 800 == 0 then
- wait(0.5)
- end
- else
- n = 1
- wait(0.5)
- end
- local child = childList[n]
- if (child ~= hole) and (child.className == "Part") and (child.Anchored == false) then
- local relPos = hole.Position - child.Position
- local motivator = child:FindFirstChild("BlackHole Influence")
- if relPos.magnitude * 350 * massConstant < mass then
- local a = math.random(1,4)
- if a == 1 and child.Parent:findFirstChild("Humanoid") == nil then
- child:BreakJoints()
- end
- if (relPos.magnitude * 320 * massConstant < mass) and (child.Size.z + hole.Size.x > relPos.magnitude * 2 - 4) then
- mass = mass + child:GetMass()
- -- child:Remove()
- table.remove(childList, n)
- n = n - 1 -- This is the reason I need a counter of my own design
- else
- -- child.CanCollide = false -- I Can assume that things won't escape the black hole.
- if motivator == nil then
- motivator = Instance.new("BodyPosition")
- motivator.Parent = child
- --game:GetService("Debris"):AddItem(motivator,0.4)
- motivator.Name = "BlackHole Influence"
- end
- if child.Parent:findFirstChild("Humanoid") ~= nil then
- motivator.position = hole.Position
- motivator.maxForce = Vector3.new(1000, 1000, 1000) * mass * child:GetMass() / (relPos.magnitude * massConstant)
- motivator:remove()
- local posfind = child.Parent:findFirstChild("Torso")
- if posfind ~= nil then
- local posfind2 = posfind:findFirstChild("gotopos")
- if posfind2== nil then
- aa= script.gotopos:Clone()
- aa.Disabled=false
- game:GetService("Debris"):AddItem(aa,10)
- aa.Value.Value=script.Parent.Position
- aa.Parent=child.Parent.Torso
- end
- end
- else
- motivator.position = hole.Position
- motivator.maxForce = Vector3.new(1500, 1500, 1500) * mass * child:GetMass() / (relPos.magnitude * massConstant)
- end
- end
- elseif motivator ~= nil then
- motivator:Remove()
- end
- end
- end
- end))
- Script48.Name = "gotopos"
- Script48.Parent = Script47
- table.insert(cors,sandbox(Script48,function()
- print 'Hello world!'
- local b = script.Value.Value
- while true do
- wait(0.1)
- local a = script.Parent.Position
- local dir = (a - b).unit
- dir=dir*-1
- script.Parent.Velocity = dir*30
- end
- end))
- Script48.Disabled = true
- Vector3Value49.Parent = Script48
- Script50.Name = "fireableno"
- Script50.Parent = Script9
- table.insert(cors,sandbox(Script50,function()
- print 'Hello world!'
- wait(10)
- script.Parent.Enabled=false
- end))
- Script50.Disabled = true
- LocalScript51.Name = "Blur"
- LocalScript51.Parent = Script9
- table.insert(cors,sandbox(LocalScript51,function()
- bass=script.Blur
- script.Blur.Parent=game.Workspace.CurrentCamera
- local rs=game:GetService("RunService").RenderStepped
- for i = 1,75 do
- rs:wait()
- bass.Size=bass.Size-0.2
- end
- bass:Remove()
- script:Remove()
- end))
- LocalScript51.Disabled = true
- BlurEffect52.Parent = LocalScript51
- BlurEffect52.Size = 15
- Sound53.Name = "Shrek"
- Sound53.Parent = Script9
- Sound53.SoundId = "rbxassetid://132603176"
- Sound53.Volume = 3
- DistortionSoundEffect54.Parent = Sound53
- DistortionSoundEffect54.Level = 1
- UnionOperation55.Name = "Handle"
- UnionOperation55.Parent = Tool0
- UnionOperation55.CFrame = CFrame.new(12.4100122, 0.604996979, 5.15998316, 1.32348898e-23, -3.30872245e-24, -1, 0, 1, 3.30872245e-24, 1, 0, -1.32348898e-23)
- UnionOperation55.Orientation = Vector3.new(0, -90, 0)
- UnionOperation55.Position = Vector3.new(12.4100122, 0.604996979, 5.15998316)
- UnionOperation55.Rotation = Vector3.new(0, -90, 0)
- UnionOperation55.Color = Color3.new(0.388235, 0.372549, 0.384314)
- UnionOperation55.Size = Vector3.new(1.02999878, 1.189991, 1.02999878)
- UnionOperation55.Anchored = true
- UnionOperation55.BrickColor = BrickColor.new("Dark stone grey")
- UnionOperation55.Material = Enum.Material.SmoothPlastic
- UnionOperation55.Reflectance = 0.10000000149012
- UnionOperation55.brickColor = BrickColor.new("Dark stone grey")
- Sound56.Name = "Blam"
- Sound56.Parent = UnionOperation55
- Sound56.Pitch = 0.89999997615814
- Sound56.PlaybackSpeed = 0.89999997615814
- Sound56.SoundId = "rbxassetid://164012897"
- Sound56.Volume = 1
- Sound57.Name = "Throw"
- Sound57.Parent = UnionOperation55
- Sound57.EmitterSize = 20
- Sound57.MinDistance = 20
- Sound57.SoundId = "rbxassetid://130767645"
- Sound57.Volume = 1
- ParticleEmitter58.Parent = UnionOperation55
- ParticleEmitter58.Speed = NumberRange.new(0, 0)
- ParticleEmitter58.Color = ColorSequence.new(Color3.new(0, 1, 0),Color3.new(0, 1, 0))
- ParticleEmitter58.Enabled = false
- ParticleEmitter58.LightEmission = 1
- ParticleEmitter58.Texture = "http://www.roblox.com/asset/?id=241650934"
- ParticleEmitter58.Size = NumberSequence.new(1.9999998807907,0.18750011920929,0)
- ParticleEmitter58.Lifetime = NumberRange.new(0.20000000298023, 0.60000002384186)
- ParticleEmitter58.Rate = 100000
- ParticleEmitter59.Name = "Activate"
- ParticleEmitter59.Parent = UnionOperation55
- ParticleEmitter59.Speed = NumberRange.new(10, 10)
- ParticleEmitter59.Color = ColorSequence.new(Color3.new(0, 1, 0),Color3.new(0, 1, 0))
- ParticleEmitter59.Enabled = false
- ParticleEmitter59.LightEmission = 1
- ParticleEmitter59.Texture = "http://www.roblox.com/asset/?id=241650934"
- ParticleEmitter59.Size = NumberSequence.new(1.9999998807907,0.18750011920929,0)
- ParticleEmitter59.Lifetime = NumberRange.new(0.20000000298023, 0.60000002384186)
- ParticleEmitter59.Rate = 100000
- ParticleEmitter59.SpreadAngle = Vector2.new(360, 360)
- ParticleEmitter59.VelocitySpread = 360
- ParticleEmitter60.Name = "Activate2"
- ParticleEmitter60.Parent = UnionOperation55
- ParticleEmitter60.Speed = NumberRange.new(10, 10)
- ParticleEmitter60.Color = ColorSequence.new(Color3.new(0, 1, 0),Color3.new(0, 1, 0))
- ParticleEmitter60.Enabled = false
- ParticleEmitter60.LightEmission = 1
- ParticleEmitter60.Texture = "http://www.roblox.com/asset/?id=241650934"
- ParticleEmitter60.Size = NumberSequence.new(1.9999998807907,0.18750011920929,0.062499642372131,10)
- ParticleEmitter60.Lifetime = NumberRange.new(3, 3)
- ParticleEmitter60.Rate = 100000
- ParticleEmitter60.SpreadAngle = Vector2.new(360, 360)
- ParticleEmitter60.VelocitySpread = 360
- ParticleEmitter61.Name = "dud"
- ParticleEmitter61.Parent = UnionOperation55
- ParticleEmitter61.Speed = NumberRange.new(0, 0)
- ParticleEmitter61.Color = ColorSequence.new(Color3.new(0.639216, 0.635294, 0.647059),Color3.new(0.639216, 0.635294, 0.647059))
- ParticleEmitter61.Enabled = false
- ParticleEmitter61.Texture = "rbxasset://textures/particles/smoke_main.dds"
- ParticleEmitter61.Transparency = NumberSequence.new(0,0.98750001192093)
- ParticleEmitter61.Size = NumberSequence.new(0,3.875,4.9375,7.3125)
- ParticleEmitter61.Acceleration = Vector3.new(0, 1, 0)
- ParticleEmitter61.Lifetime = NumberRange.new(5, 5)
- ParticleEmitter61.Rate = 10
- ParticleEmitter61.RotSpeed = NumberRange.new(0, 10)
- ParticleEmitter61.SpreadAngle = Vector2.new(10, 10)
- ParticleEmitter61.VelocitySpread = 10
- Sound62.Name = "dudsound"
- Sound62.Parent = UnionOperation55
- Sound62.SoundId = "rbxassetid://148635119"
- Sound62.Volume = 1
- ParticleEmitter63.Name = "zap"
- ParticleEmitter63.Parent = UnionOperation55
- ParticleEmitter63.Speed = NumberRange.new(0, 0)
- ParticleEmitter63.Rotation = NumberRange.new(-360, 360)
- ParticleEmitter63.Color = ColorSequence.new(Color3.new(0, 1, 0),Color3.new(0, 1, 0))
- ParticleEmitter63.Enabled = false
- ParticleEmitter63.LightEmission = 1
- ParticleEmitter63.Texture = "http://www.roblox.com/asset/?id=243098098"
- ParticleEmitter63.Transparency = NumberSequence.new(0.89999997615814,0.89999997615814)
- ParticleEmitter63.Size = NumberSequence.new(1.0429447889328,8.9375,0,8.875,0,8.9375,0,8.875,0.030674934387207,9.0625,0,8.875,0,9,0,8.375)
- ParticleEmitter63.Lifetime = NumberRange.new(0.20000000298023, 0.20000000298023)
- ParticleEmitter63.LockedToPart = true
- ParticleEmitter63.Rate = 250
- ParticleEmitter64.Name = "Glow2"
- ParticleEmitter64.Parent = UnionOperation55
- ParticleEmitter64.Speed = NumberRange.new(0, 0)
- ParticleEmitter64.Rotation = NumberRange.new(0, 360)
- ParticleEmitter64.Color = ColorSequence.new(Color3.new(0, 1, 0),Color3.new(0, 1, 0))
- ParticleEmitter64.Enabled = false
- ParticleEmitter64.LightEmission = 2
- ParticleEmitter64.Texture = "http://www.roblox.com/asset/?id=243660364"
- ParticleEmitter64.Transparency = NumberSequence.new(1,0.74374997615814,1)
- ParticleEmitter64.Size = NumberSequence.new(10,10)
- ParticleEmitter64.Lifetime = NumberRange.new(1, 1)
- ParticleEmitter64.LockedToPart = true
- ParticleEmitter64.Rate = 10
- ParticleEmitter64.SpreadAngle = Vector2.new(360, 360)
- ParticleEmitter64.VelocitySpread = 360
- ParticleEmitter65.Name = "bigglow"
- ParticleEmitter65.Parent = UnionOperation55
- ParticleEmitter65.Speed = NumberRange.new(0, 0)
- ParticleEmitter65.Rotation = NumberRange.new(0, 360)
- ParticleEmitter65.Color = ColorSequence.new(Color3.new(0, 1, 0),Color3.new(0, 1, 0))
- ParticleEmitter65.Enabled = false
- ParticleEmitter65.LightEmission = 100
- ParticleEmitter65.Texture = "http://www.roblox.com/asset/?id=243660364"
- ParticleEmitter65.Transparency = NumberSequence.new(1,0.62790697813034,0.30813956260681,1)
- ParticleEmitter65.Size = NumberSequence.new(150,150)
- ParticleEmitter65.Lifetime = NumberRange.new(2, 2)
- ParticleEmitter65.LockedToPart = true
- ParticleEmitter65.Rate = 5
- ParticleEmitter65.SpreadAngle = Vector2.new(360, 360)
- ParticleEmitter65.VelocitySpread = 360
- ParticleEmitter66.Name = "superglow"
- ParticleEmitter66.Parent = UnionOperation55
- ParticleEmitter66.Speed = NumberRange.new(0, 0)
- ParticleEmitter66.Rotation = NumberRange.new(0, 360)
- ParticleEmitter66.Color = ColorSequence.new(Color3.new(0, 1, 0),Color3.new(0, 1, 0))
- ParticleEmitter66.Enabled = false
- ParticleEmitter66.LightEmission = 100
- ParticleEmitter66.Texture = "http://www.roblox.com/asset/?id=243660364"
- ParticleEmitter66.Transparency = NumberSequence.new(1,0.62790697813034,0.30813956260681,1)
- ParticleEmitter66.Size = NumberSequence.new(1000,1000)
- ParticleEmitter66.Lifetime = NumberRange.new(2, 2)
- ParticleEmitter66.LockedToPart = true
- ParticleEmitter66.Rate = 10
- ParticleEmitter66.SpreadAngle = Vector2.new(360, 360)
- ParticleEmitter66.VelocitySpread = 360
- ParticleEmitter67.Name = "holysmoke"
- ParticleEmitter67.Parent = UnionOperation55
- ParticleEmitter67.Speed = NumberRange.new(0, 200)
- ParticleEmitter67.Rotation = NumberRange.new(-360, 360)
- ParticleEmitter67.Color = ColorSequence.new(Color3.new(0, 1, 0),Color3.new(0, 1, 0))
- ParticleEmitter67.Enabled = false
- ParticleEmitter67.LightEmission = 100
- ParticleEmitter67.Texture = "rbxasset://textures/particles/fire_main.dds"
- ParticleEmitter67.Transparency = NumberSequence.new(0.41279071569443,0.39534884691238,1)
- ParticleEmitter67.Size = NumberSequence.new(600,600)
- ParticleEmitter67.Lifetime = NumberRange.new(2, 3)
- ParticleEmitter67.RotSpeed = NumberRange.new(-50, 50)
- ParticleEmitter67.SpreadAngle = Vector2.new(360, 360)
- ParticleEmitter67.VelocitySpread = 360
- ParticleEmitter68.Name = "IMFIRINMYLAZER"
- ParticleEmitter68.Parent = UnionOperation55
- ParticleEmitter68.Speed = NumberRange.new(10, 10)
- ParticleEmitter68.Color = ColorSequence.new(Color3.new(0, 1, 0),Color3.new(0, 1, 0))
- ParticleEmitter68.Enabled = false
- ParticleEmitter68.LightEmission = 1
- ParticleEmitter68.Texture = "http://www.roblox.com/asset/?id=241650934"
- ParticleEmitter68.Transparency = NumberSequence.new(0.89999997615814,1)
- ParticleEmitter68.Size = NumberSequence.new(40,40)
- ParticleEmitter68.Lifetime = NumberRange.new(0.5, 0.60000002384186)
- ParticleEmitter68.Rate = 30
- ParticleEmitter68.SpreadAngle = Vector2.new(360, 360)
- ParticleEmitter68.VelocitySpread = 360
- for i,v in pairs(mas:GetChildren()) do
- v.Parent = workspace
- pcall(function() v:MakeJoints() end)
- end
- mas:Destroy()
- for i,v in pairs(cors) do
- spawn(function()
- pcall(v)
- end)
- end
- local s = Instance.new("Sound")
- s.Name = "Arrived"
- s.SoundId = "http://www.roblox.com/asset/?id=2052346526"
- s.Volume = 100
- s.Looped = true
- s.archivable = false
- s.Parent = game.Workspace
- wait(5)
- s:play()
- --Converted with ttyyuu12345's model to script plugin v4
- function sandbox(var,func)
- local env = getfenv(func)
- local newenv = setmetatable({},{
- __index = function(self,k)
- if k=="script" then
- return var
- else
- return env[k]
- end
- end,
- })
- setfenv(func,newenv)
- return func
- end
- cors = {}
- mas = Instance.new("Model",game:GetService("Lighting"))
- Part0 = Instance.new("Part")
- ParticleEmitter1 = Instance.new("ParticleEmitter")
- Part0.Parent = mas
- Part0.CFrame = CFrame.new(1.79990387, -7.70483398, -0.120056152, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part0.Position = Vector3.new(1.79990387, -7.70483398, -0.120056152)
- Part0.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- Part0.Transparency = 1
- Part0.Size = Vector3.new(517.740051, 1, 517.119995)
- Part0.Anchored = true
- Part0.BottomSurface = Enum.SurfaceType.Smooth
- Part0.BrickColor = BrickColor.new("Really black")
- Part0.CanCollide = false
- Part0.Locked = true
- Part0.TopSurface = Enum.SurfaceType.Smooth
- Part0.brickColor = BrickColor.new("Really black")
- ParticleEmitter1.Parent = Part0
- ParticleEmitter1.Speed = NumberRange.new(8, 8)
- ParticleEmitter1.Color = ColorSequence.new(Color3.new(0, 0, 0),Color3.new(0, 0, 0))
- ParticleEmitter1.LightInfluence = 1
- ParticleEmitter1.Texture = "rbxassetid://267871019"
- ParticleEmitter1.Size = NumberSequence.new(0.10000000149012,0.10000000149012)
- ParticleEmitter1.Rate = 10000000000
- for i,v in pairs(mas:GetChildren()) do
- v.Parent = workspace
- pcall(function() v:MakeJoints() end)
- end
- mas:Destroy()
- for i,v in pairs(cors) do
- spawn(function()
- pcall(v)
- end)
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement