SHOW:
|
|
- or go back to the newest paste.
| 1 | --void Script bbuilder fe script converter V2 | |
| 2 | ||
| 3 | if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
| |
| 4 | local Player,Mouse,mouse,UserInputService,ContextActionService = owner | |
| 5 | local RealPlayer = Player | |
| 6 | do print("FE Compatibility code by Mokiros")local a=RealPlayer;script.Parent=a.Character;local b=Instance.new("RemoteEvent")b.Name="UserInput_Event"local function c()local d={_fakeEvent=true,Functions={},Connect=function(self,e)table.insert(self.Functions,e)end}d.connect=d.Connect;return d end;local f={Target=nil,Hit=CFrame.new(),KeyUp=c(),KeyDown=c(),Button1Up=c(),Button1Down=c(),Button2Up=c(),Button2Down=c()}local g={InputBegan=c(),InputEnded=c()}local CAS={Actions={},BindAction=function(self,h,i,j,...)CAS.Actions[h]=i and{Name=h,Function=i,Keys={...}}or nil end}CAS.UnbindAction=CAS.BindAction;local function k(self,l,...)local d=f[l]if d and d._fakeEvent then for m,e in pairs(d.Functions)do e(...)end end end;f.TrigEvent=k;g.TrigEvent=k;b.OnServerEvent:Connect(function(n,o)if n~=a then return end;f.Target=o.Target;f.Hit=o.Hit;if not o.isMouse then local p=o.UserInputState==Enum.UserInputState.Begin;if o.UserInputType==Enum.UserInputType.MouseButton1 then return f:TrigEvent(p and"Button1Down"or"Button1Up")end;if o.UserInputType==Enum.UserInputType.MouseButton2 then return f:TrigEvent(p and"Button2Down"or"Button2Up")end;for m,d in pairs(CAS.Actions)do for m,q in pairs(d.Keys)do if q==o.KeyCode then d.Function(d.Name,o.UserInputState,o)end end end;f:TrigEvent(p and"KeyDown"or"KeyUp",o.KeyCode.Name:lower())g:TrigEvent(p and"InputBegan"or"InputEnded",o,false)end end)b.Parent=NLS([==[local a=game:GetService("Players").LocalPlayer;local b=script:WaitForChild("UserInput_Event")local c=a:GetMouse()local d=game:GetService("UserInputService")local e=function(f,g)if g then return end;b:FireServer({KeyCode=f.KeyCode,UserInputType=f.UserInputType,UserInputState=f.UserInputState,Hit=c.Hit,Target=c.Target})end;d.InputBegan:Connect(e)d.InputEnded:Connect(e)local h,i;while wait(1/30)do if h~=c.Hit or i~=c.Target then h,i=c.Hit,c.Target;b:FireServer({isMouse=true,Target=i,Hit=h})end end]==],Player.Character)local r=game;local s={__index=function(self,q)local t=rawget(self,"_RealService")if t then return typeof(t[q])=="function"and function(m,...)return t[q](t,...)end or t[q]end end,__newindex=function(self,q,u)local t=rawget(self,"_RealService")if t then t[q]=u end end}local function v(d,w)d._RealService=typeof(w)=="string"and r:GetService(w)or w;return setmetatable(d,s)end;local x={GetService=function(self,t)return rawget(self,t)or r:GetService(t)end,Players=v({LocalPlayer=v({GetMouse=function(self)return f end},Player)},"Players"),UserInputService=v(g,"UserInputService"),ContextActionService=v(CAS,"ContextActionService"),RunService=v({_btrs={},RenderStepped=r:GetService("RunService").Heartbeat,BindToRenderStep=function(self,h,m,i)self._btrs[h]=self.Heartbeat:Connect(i)end,UnbindFromRenderStep=function(self,h)self._btrs[h]:Disconnect()end},"RunService")}rawset(x.Players,"localPlayer",x.Players.LocalPlayer)x.service=x.GetService;v(x,game)game,owner=x,x.Players.LocalPlayer end
| |
| 7 | ||
| 8 | ------------------------------------------------------------------------------------------------------------------------ | |
| 9 | --I SCREAM, YOU SCREAM, WE ALL SCREAM, RUNNING AWAY IN A FUTILE ATTEMPT TO ESCAPE FROM THE INEVITABLE ARRIVAL OF DEATH-- | |
| 10 | ------------------------------------------------------------------------------------------------------------------------ | |
| 11 | --By CKbackup (Sugarie Saffron) -- | |
| 12 | --YT: https://www.youtube.com/channel/UC8n9FFz7e6Zo13ob_5F9MJw-- | |
| 13 | --Discord: Sugarie Saffron#4705 -- | |
| 14 | ---------------------------------------------------------------- | |
| 15 | ||
| 16 | print([[ | |
| 17 | --Ice Cream-- | |
| 18 | By CKbackup (Sugarie Saffron) | |
| 19 | YT: https://www.youtube.com/channel/UC8n9FFz7e6Zo13ob_5F9MJw | |
| 20 | Discord: Sugarie Saffron#4705 | |
| 21 | -------------------------------- | |
| 22 | As I've been demoted from my SB | |
| 23 | Mod rank in VSB, I don't see the | |
| 24 | need to hold this back any longer. | |
| 25 | ||
| 26 | Also, if the anims look weird or | |
| 27 | the weapon looks out of place, | |
| 28 | it's because it's actually modeled | |
| 29 | off a scaled rig with a package. | |
| 30 | It looks better with the Boy | |
| 31 | package. | |
| 32 | -------------------------------- | |
| 33 | (Keys) | |
| 34 | M - Mute/Play Music | |
| 35 | ||
| 36 | Click - Slash | |
| 37 | (Aerial Slash when jumping) | |
| 38 | Z - Freezing Bullet | |
| 39 | X - Thy Winter Shall Come Forth | |
| 40 | C - Blizzard o' Death | |
| 41 | ]]) | |
| 42 | ||
| 43 | wait(1/60) | |
| 44 | Effects = { }
| |
| 45 | local Player = game:service'Players'.localPlayer | |
| 46 | local chara = Player.Character | |
| 47 | local Humanoid = chara:FindFirstChildOfClass("Humanoid")
| |
| 48 | local Mouse = Player:GetMouse() | |
| 49 | local LeftArm = chara["Left Arm"] | |
| 50 | local RightArm = chara["Right Arm"] | |
| 51 | local LeftLeg = chara["Left Leg"] | |
| 52 | local RightLeg = chara["Right Leg"] | |
| 53 | local Head = chara.Head | |
| 54 | local Torso = chara.Torso | |
| 55 | local Camera = workspace.CurrentCamera | |
| 56 | local RootPart = chara.HumanoidRootPart | |
| 57 | local RootJoint = RootPart.RootJoint | |
| 58 | local attack = false | |
| 59 | local Anim = 'Idle' | |
| 60 | local attacktype = 1 | |
| 61 | local delays = false | |
| 62 | local play = true | |
| 63 | local targetted = nil | |
| 64 | local Torsovelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude | |
| 65 | local velocity = RootPart.Velocity.y | |
| 66 | local sine = 0 | |
| 67 | local change = 1 | |
| 68 | local doe = 0 | |
| 69 | local Create = LoadLibrary("RbxUtility").Create
| |
| 70 | local debby = game:GetService("Debris")
| |
| 71 | Humanoid.WalkSpeed = 16 | |
| 72 | ||
| 73 | Humanoid.Animator.Parent = nil | |
| 74 | chara.Animate.Parent = nil | |
| 75 | ||
| 76 | local newMotor = function(part0, part1, c0, c1) | |
| 77 | local w = Create('Motor'){
| |
| 78 | Parent = part0, | |
| 79 | Part0 = part0, | |
| 80 | Part1 = part1, | |
| 81 | C0 = c0, | |
| 82 | C1 = c1, | |
| 83 | } | |
| 84 | return w | |
| 85 | end | |
| 86 | ||
| 87 | function clerp(a, b, t) | |
| 88 | return a:lerp(b, t) | |
| 89 | end | |
| 90 | ||
| 91 | RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14) | |
| 92 | NeckCF = CFrame.new(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0) | |
| 93 | ||
| 94 | local RW = newMotor(Torso, RightArm, CFrame.new(1.5, 0, 0), CFrame.new(0, 0, 0)) | |
| 95 | local LW = newMotor(Torso, LeftArm, CFrame.new(-1.5, 0, 0), CFrame.new(0, 0, 0)) | |
| 96 | local RH = newMotor(Torso, RightLeg, CFrame.new(.5, -2, 0), CFrame.new(0, 0, 0)) | |
| 97 | local LH = newMotor(Torso, LeftLeg, CFrame.new(-.5, -2, 0), CFrame.new(0, 0, 0)) | |
| 98 | RootJoint.C1 = CFrame.new(0, 0, 0) | |
| 99 | RootJoint.C0 = CFrame.new(0, 0, 0) | |
| 100 | Torso.Neck.C1 = CFrame.new(0, 0, 0) | |
| 101 | Torso.Neck.C0 = CFrame.new(0, 1.5, 0) | |
| 102 | ||
| 103 | local rarmc1 = RW.C1 | |
| 104 | local larmc1 = LW.C1 | |
| 105 | local rlegc1 = RH.C1 | |
| 106 | local llegc1 = LH.C1 | |
| 107 | ||
| 108 | local resetc1 = false | |
| 109 | ||
| 110 | function PlayAnimationFromTable(table, speed, bool) | |
| 111 | RootJoint.C0 = clerp(RootJoint.C0, table[1], speed) | |
| 112 | Torso.Neck.C0 = clerp(Torso.Neck.C0, table[2], speed) | |
| 113 | RW.C0 = clerp(RW.C0, table[3], speed) | |
| 114 | LW.C0 = clerp(LW.C0, table[4], speed) | |
| 115 | RH.C0 = clerp(RH.C0, table[5], speed) | |
| 116 | LH.C0 = clerp(LH.C0, table[6], speed) | |
| 117 | if bool == true then | |
| 118 | if resetc1 == false then | |
| 119 | resetc1 = true | |
| 120 | RootJoint.C1 = RootJoint.C1 | |
| 121 | Torso.Neck.C1 = Torso.Neck.C1 | |
| 122 | LW.C1 = larmc1 | |
| 123 | RW.C1 = rarmc1 | |
| 124 | RH.C1 = rlegc1 | |
| 125 | LH.C1 = llegc1 | |
| 126 | end | |
| 127 | end | |
| 128 | end | |
| 129 | ||
| 130 | ArtificialHB = Instance.new("BindableEvent", script)
| |
| 131 | ArtificialHB.Name = "Heartbeat" | |
| 132 | script:WaitForChild("Heartbeat")
| |
| 133 | frame = 0.03333333333333 | |
| 134 | tf = 0 | |
| 135 | allowframeloss = false | |
| 136 | tossremainder = false | |
| 137 | lastframe = tick() | |
| 138 | script.Heartbeat:Fire() | |
| 139 | game:GetService("RunService").Heartbeat:connect(function(s, p)
| |
| 140 | tf = tf + s | |
| 141 | if tf >= frame then | |
| 142 | if allowframeloss then | |
| 143 | script.Heartbeat:Fire() | |
| 144 | lastframe = tick() | |
| 145 | else | |
| 146 | for i = 1, math.floor(tf / frame) do | |
| 147 | script.Heartbeat:Fire() | |
| 148 | end | |
| 149 | lastframe = tick() | |
| 150 | end | |
| 151 | if tossremainder then | |
| 152 | tf = 0 | |
| 153 | else | |
| 154 | tf = tf - frame * math.floor(tf / frame) | |
| 155 | end | |
| 156 | end | |
| 157 | end) | |
| 158 | function swait(num) | |
| 159 | if num == 0 or num == nil then | |
| 160 | ArtificialHB.Event:wait() | |
| 161 | else | |
| 162 | for i = 0, num do | |
| 163 | ArtificialHB.Event:wait() | |
| 164 | end | |
| 165 | end | |
| 166 | end | |
| 167 | ||
| 168 | function RemoveOutlines(part) | |
| 169 | part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10 | |
| 170 | end | |
| 171 | ||
| 172 | function so(id,par,pit,vol) | |
| 173 | local sou = Instance.new("Sound", par or workspace)
| |
| 174 | if par == chara then | |
| 175 | sou.Parent = chara.Torso | |
| 176 | end | |
| 177 | sou.Volume = vol | |
| 178 | sou.Pitch = pit or 1 | |
| 179 | sou.SoundId = "rbxassetid://" .. id | |
| 180 | sou.PlayOnRemove = true | |
| 181 | sou:Destroy() | |
| 182 | end | |
| 183 | ||
| 184 | New = function(Object, Parent, Name, Data) | |
| 185 | local Object = Instance.new(Object) | |
| 186 | for Index, Value in pairs(Data or {}) do
| |
| 187 | Object[Index] = Value | |
| 188 | end | |
| 189 | Object.Parent = Parent | |
| 190 | Object.Name = Name | |
| 191 | return Object | |
| 192 | end | |
| 193 | ||
| 194 | ISCREAM = New("Model",chara,"ISCREAM",{})
| |
| 195 | KonuHandaru = New("Part",ISCREAM,"KonuHandaru",{FormFactor = Enum.FormFactor.Plate,Size = Vector3.new(0.600000024, 1, 0.600000024),CFrame = CFrame.new(-47.8000031, 6.70001078, -63.9999924, 1, 0, 0, 0, -1, 0, 0, 0, -1),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
| |
| 196 | Mesh = New("SpecialMesh",KonuHandaru,"Mesh",{Scale = Vector3.new(0.5, 0.699999988, 0.5),MeshId = "http://www.roblox.com/asset/?id=1778999",TextureId = "http://www.roblox.com/asset/?id=20403465",MeshType = Enum.MeshType.FileMesh,})
| |
| 197 | Part = New("Part",ISCREAM,"Part",{BrickColor = BrickColor.new("Carnation pink"),Material = Enum.Material.Marble,Size = Vector3.new(0.600000024, 0.600000024, 0.600000024),CFrame = CFrame.new(-47.8000031, 8.70004463, -63.9999924, 1, 0, 0, 0, 1, 0, 0, 0, 1),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(1, 0.596078, 0.862745),})
| |
| 198 | Mesh = New("SpecialMesh",Part,"Mesh",{Scale = Vector3.new(1.29999995, 1.29999995, 1.29999995),MeshType = Enum.MeshType.Sphere,})
| |
| 199 | Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = KonuHandaru,C1 = CFrame.new(0, -2.00003409, -1.90734863e-06, 1, 0, 0, 0, -1, 0, 0, 0, -1),})
| |
| 200 | Part = New("Part",ISCREAM,"Part",{BrickColor = BrickColor.new("Carnation pink"),Material = Enum.Material.Marble,Size = Vector3.new(0.600000024, 0.200000018, 0.600000024),CFrame = CFrame.new(-47.8000031, 8.50004387, -63.9999924, 1, 0, 0, 0, 1, 0, 0, 0, 1),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(1, 0.596078, 0.862745),})
| |
| 201 | Mesh = New("SpecialMesh",Part,"Mesh",{Scale = Vector3.new(1.29999995, 1.29999995, 1.29999995),MeshType = Enum.MeshType.Sphere,})
| |
| 202 | Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = KonuHandaru,C1 = CFrame.new(0, -1.80003309, -1.90734863e-06, 1, 0, 0, 0, -1, 0, 0, 0, -1),})
| |
| 203 | Part = New("Part",ISCREAM,"Part",{BrickColor = BrickColor.new("Buttermilk"),Material = Enum.Material.Marble,Size = Vector3.new(0.600000024, 0.200000018, 0.600000024),CFrame = CFrame.new(-47.8000031, 9.30004692, -63.9999924, 1, 0, 0, 0, 1, 0, 0, 0, 1),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.996078, 0.952941, 0.733333),})
| |
| 204 | Mesh = New("SpecialMesh",Part,"Mesh",{Scale = Vector3.new(1.29999995, 1.29999995, 1.29999995),MeshType = Enum.MeshType.Sphere,})
| |
| 205 | Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = KonuHandaru,C1 = CFrame.new(0, -2.60003614, -1.90734863e-06, 1, 0, 0, 0, -1, 0, 0, 0, -1),})
| |
| 206 | Part = New("Part",ISCREAM,"Part",{BrickColor = BrickColor.new("Brown"),Material = Enum.Material.Marble,Size = Vector3.new(0.600000024, 0.600000024, 0.600000024),CFrame = CFrame.new(-47.8000031, 9.10004234, -63.9999924, 1, 0, 0, 0, 1, 0, 0, 0, 1),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.486275, 0.360784, 0.27451),})
| |
| 207 | Mesh = New("SpecialMesh",Part,"Mesh",{Scale = Vector3.new(1.29999995, 1.29999995, 1.29999995),MeshType = Enum.MeshType.Sphere,})
| |
| 208 | Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = KonuHandaru,C1 = CFrame.new(0, -2.40003109, -1.90734863e-06, 1, 0, 0, 0, -1, 0, 0, 0, -1),})
| |
| 209 | Part = New("Part",ISCREAM,"Part",{BrickColor = BrickColor.new("Buttermilk"),Material = Enum.Material.Marble,Size = Vector3.new(0.600000024, 0.600000024, 0.600000024),CFrame = CFrame.new(-47.8000031, 9.50004387, -63.9999924, 1, 0, 0, 0, 1, 0, 0, 0, 1),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.996078, 0.952941, 0.733333),})
| |
| 210 | Mesh = New("SpecialMesh",Part,"Mesh",{Scale = Vector3.new(1.29999995, 1.29999995, 1.29999995),MeshType = Enum.MeshType.Sphere,})
| |
| 211 | Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = KonuHandaru,C1 = CFrame.new(0, -2.80003309, -1.90734863e-06, 1, 0, 0, 0, -1, 0, 0, 0, -1),})
| |
| 212 | Part = New("Part",ISCREAM,"Part",{BrickColor = BrickColor.new("Brown"),Material = Enum.Material.Marble,Size = Vector3.new(0.600000024, 0.200000018, 0.600000024),CFrame = CFrame.new(-47.8000031, 8.90004539, -63.9999924, 1, 0, 0, 0, 1, 0, 0, 0, 1),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.486275, 0.360784, 0.27451),})
| |
| 213 | Mesh = New("SpecialMesh",Part,"Mesh",{Scale = Vector3.new(1.29999995, 1.29999995, 1.29999995),MeshType = Enum.MeshType.Sphere,})
| |
| 214 | Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = KonuHandaru,C1 = CFrame.new(0, -2.20003414, -1.90734863e-06, 1, 0, 0, 0, -1, 0, 0, 0, -1),})
| |
| 215 | Part = New("Part",ISCREAM,"Part",{BrickColor = BrickColor.new("Brown"),Material = Enum.Material.Marble,Size = Vector3.new(0.600000024, 0.200000018, 0.600000024),CFrame = CFrame.new(-47.8000031, 7.7000103, -63.9999924, 1, 0, 0, 0, 1, 0, 0, 0, 1),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.486275, 0.360784, 0.27451),})
| |
| 216 | Mesh = New("SpecialMesh",Part,"Mesh",{Scale = Vector3.new(1.29999995, 1.29999995, 1.29999995),MeshType = Enum.MeshType.Sphere,})
| |
| 217 | Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = KonuHandaru,C1 = CFrame.new(0, -0.999999762, -1.90734863e-06, 1, 0, 0, 0, -1, 0, 0, 0, -1),})
| |
| 218 | Part = New("Part",ISCREAM,"Part",{BrickColor = BrickColor.new("Brown"),Material = Enum.Material.Marble,Size = Vector3.new(0.600000024, 0.600000024, 0.600000024),CFrame = CFrame.new(-47.8000031, 7.9000082, -63.9999924, 1, 0, 0, 0, 1, 0, 0, 0, 1),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.486275, 0.360784, 0.27451),})
| |
| 219 | Mesh = New("SpecialMesh",Part,"Mesh",{Scale = Vector3.new(1.29999995, 1.29999995, 1.29999995),MeshType = Enum.MeshType.Sphere,})
| |
| 220 | Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = KonuHandaru,C1 = CFrame.new(0, -1.19999766, -1.90734863e-06, 1, 0, 0, 0, -1, 0, 0, 0, -1),})
| |
| 221 | Part = New("Part",ISCREAM,"Part",{BrickColor = BrickColor.new("Buttermilk"),Material = Enum.Material.Marble,Size = Vector3.new(0.600000024, 0.200000018, 0.600000024),CFrame = CFrame.new(-47.8000031, 8.10001087, -63.9999924, 1, 0, 0, 0, 1, 0, 0, 0, 1),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.996078, 0.952941, 0.733333),})
| |
| 222 | Mesh = New("SpecialMesh",Part,"Mesh",{Scale = Vector3.new(1.29999995, 1.29999995, 1.29999995),MeshType = Enum.MeshType.Sphere,})
| |
| 223 | Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = KonuHandaru,C1 = CFrame.new(0, -1.39999986, -1.90734863e-06, 1, 0, 0, 0, -1, 0, 0, 0, -1),})
| |
| 224 | Part = New("Part",ISCREAM,"Part",{Size = Vector3.new(0.100000001, 0.100000001, 0.100000001),CFrame = CFrame.new(-47.8000031, 11.2658768, -64.0939636, 1, 0, 0, 0, 0.939692736, 0.342019886, 0, -0.342019916, 0.939692736),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
| |
| 225 | Mesh = New("SpecialMesh",Part,"Mesh",{Scale = Vector3.new(0.400000006, 0.400000006, 0.400000006),MeshId = "http://www.roblox.com/asset/?id=104783233 ",TextureId = "http://www.roblox.com/asset/?id=104783391 ",MeshType = Enum.MeshType.FileMesh,})
| |
| 226 | Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = KonuHandaru,C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 0.939692736, -0.342019916, 0, 0.342019886, 0.939692736),C1 = CFrame.new(0, -4.56586552, 0.0939674377, 1, 0, 0, 0, -1, 0, 0, 0, -1),})
| |
| 227 | Part = New("Part",ISCREAM,"Part",{BrickColor = BrickColor.new("Brown"),Material = Enum.Material.Marble,Size = Vector3.new(0.600000024, 0.200000018, 0.600000024),CFrame = CFrame.new(-47.8000031, 10.1000443, -63.9999924, 1, 0, 0, 0, 1, 0, 0, 0, 1),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.486275, 0.360784, 0.27451),})
| |
| 228 | Mesh = New("SpecialMesh",Part,"Mesh",{Scale = Vector3.new(1.29999995, 1.29999995, 1.29999995),MeshType = Enum.MeshType.Sphere,})
| |
| 229 | Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = KonuHandaru,C1 = CFrame.new(0, -3.400033, -1.90734863e-06, 1, 0, 0, 0, -1, 0, 0, 0, -1),})
| |
| 230 | Part = New("Part",ISCREAM,"Part",{BrickColor = BrickColor.new("Buttermilk"),Material = Enum.Material.Marble,Size = Vector3.new(0.600000024, 0.600000024, 0.600000024),CFrame = CFrame.new(-47.8000031, 10.7000446, -63.9999924, 1, 0, 0, 0, 1, 0, 0, 0, 1),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.996078, 0.952941, 0.733333),})
| |
| 231 | Mesh = New("SpecialMesh",Part,"Mesh",{Scale = Vector3.new(1.29999995, 1.29999995, 1.29999995),MeshType = Enum.MeshType.Sphere,})
| |
| 232 | Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = KonuHandaru,C1 = CFrame.new(0, -4.00003433, -1.90734863e-06, 1, 0, 0, 0, -1, 0, 0, 0, -1),})
| |
| 233 | Part = New("Part",ISCREAM,"Part",{BrickColor = BrickColor.new("Buttermilk"),Material = Enum.Material.Marble,Size = Vector3.new(0.600000024, 0.200000018, 0.600000024),CFrame = CFrame.new(-47.8000031, 10.5000448, -63.9999924, 1, 0, 0, 0, 1, 0, 0, 0, 1),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.996078, 0.952941, 0.733333),})
| |
| 234 | Mesh = New("SpecialMesh",Part,"Mesh",{Scale = Vector3.new(1.29999995, 1.29999995, 1.29999995),MeshType = Enum.MeshType.Sphere,})
| |
| 235 | Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = KonuHandaru,C1 = CFrame.new(0, -3.80003405, -1.90734863e-06, 1, 0, 0, 0, -1, 0, 0, 0, -1),})
| |
| 236 | Part = New("Part",ISCREAM,"Part",{BrickColor = BrickColor.new("Carnation pink"),Material = Enum.Material.Marble,Size = Vector3.new(0.600000024, 0.600000024, 0.600000024),CFrame = CFrame.new(-47.8000031, 9.90004349, -63.9999924, 1, 0, 0, 0, 1, 0, 0, 0, 1),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(1, 0.596078, 0.862745),})
| |
| 237 | Mesh = New("SpecialMesh",Part,"Mesh",{Scale = Vector3.new(1.29999995, 1.29999995, 1.29999995),MeshType = Enum.MeshType.Sphere,})
| |
| 238 | Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = KonuHandaru,C1 = CFrame.new(0, -3.20003319, -1.90734863e-06, 1, 0, 0, 0, -1, 0, 0, 0, -1),})
| |
| 239 | Part = New("Part",ISCREAM,"Part",{BrickColor = BrickColor.new("Carnation pink"),Material = Enum.Material.Marble,Size = Vector3.new(0.600000024, 0.200000018, 0.600000024),CFrame = CFrame.new(-47.8000031, 9.70004654, -63.9999924, 1, 0, 0, 0, 1, 0, 0, 0, 1),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(1, 0.596078, 0.862745),})
| |
| 240 | Mesh = New("SpecialMesh",Part,"Mesh",{Scale = Vector3.new(1.29999995, 1.29999995, 1.29999995),MeshType = Enum.MeshType.Sphere,})
| |
| 241 | Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = KonuHandaru,C1 = CFrame.new(0, -3.00003624, -1.90734863e-06, 1, 0, 0, 0, -1, 0, 0, 0, -1),})
| |
| 242 | Part = New("Part",ISCREAM,"Part",{BrickColor = BrickColor.new("Brown"),Material = Enum.Material.Marble,Size = Vector3.new(0.600000024, 0.600000024, 0.600000024),CFrame = CFrame.new(-47.8000031, 10.3000431, -63.9999924, 1, 0, 0, 0, 1, 0, 0, 0, 1),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.486275, 0.360784, 0.27451),})
| |
| 243 | Mesh = New("SpecialMesh",Part,"Mesh",{Scale = Vector3.new(1.29999995, 1.29999995, 1.29999995),MeshType = Enum.MeshType.Sphere,})
| |
| 244 | Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = KonuHandaru,C1 = CFrame.new(0, -3.60003233, -1.90734863e-06, 1, 0, 0, 0, -1, 0, 0, 0, -1),})
| |
| 245 | Part = New("Part",ISCREAM,"Part",{BrickColor = BrickColor.new("Buttermilk"),Material = Enum.Material.Marble,Size = Vector3.new(0.600000024, 0.600000024, 0.600000024),CFrame = CFrame.new(-47.8000031, 8.30001068, -63.9999924, 1, 0, 0, 0, 1, 0, 0, 0, 1),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.996078, 0.952941, 0.733333),})
| |
| 246 | Mesh = New("SpecialMesh",Part,"Mesh",{Scale = Vector3.new(1.29999995, 1.29999995, 1.29999995),MeshType = Enum.MeshType.Sphere,})
| |
| 247 | Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = KonuHandaru,C1 = CFrame.new(0, -1.59999967, -1.90734863e-06, 1, 0, 0, 0, -1, 0, 0, 0, -1),})
| |
| 248 | Hitoboksu = New("Part",ISCREAM,"Hitoboksu",{FormFactor = Enum.FormFactor.Plate,Size = Vector3.new(0.600000024, 4.29999876, 0.600000024),CFrame = CFrame.new(-47.8000031, 9.4500103, -63.9999924, 1, 0, 0, 0, -1, 0, 0, 0, -1),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
| |
| 249 | Weld = New("ManualWeld",Hitoboksu,"Weld",{Part0 = Hitoboksu,Part1 = KonuHandaru,C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, -1, 0, 0, 0, -1),C1 = CFrame.new(0, -2.74999952, 0, 1, 0, 0, 0, -1, 0, 0, 0, -1),})
| |
| 250 | Mesh = New("BlockMesh",Hitoboksu,"Mesh",{Scale = Vector3.new(0, 0, 0),})
| |
| 251 | att2 = New("Attachment",Hitoboksu,"att2",{CFrame = CFrame.new(0, -2.0999999, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),})
| |
| 252 | att1 = New("Attachment",Hitoboksu,"att1",{CFrame = CFrame.new(0, 2.0999999, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),})
| |
| 253 | Part = New("Part",ISCREAM,"Part",{BrickColor = BrickColor.new("Carnation pink"),Material = Enum.Material.Marble,Size = Vector3.new(0.600000024, 0.600000024, 0.600000024),CFrame = CFrame.new(-47.8000031, 7.50000858, -63.9999924, 1, 0, 0, 0, 1, 0, 0, 0, 1),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(1, 0.596078, 0.862745),})
| |
| 254 | Mesh = New("SpecialMesh",Part,"Mesh",{Scale = Vector3.new(1.29999995, 1.29999995, 1.29999995),MeshType = Enum.MeshType.Sphere,})
| |
| 255 | Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = KonuHandaru,C1 = CFrame.new(0, -0.799998045, -1.90734863e-06, 1, 0, 0, 0, -1, 0, 0, 0, -1),})
| |
| 256 | Part = New("Part",ISCREAM,"Part",{BrickColor = BrickColor.new("Carnation pink"),Material = Enum.Material.Marble,Size = Vector3.new(0.600000024, 0.200000018, 0.600000024),CFrame = CFrame.new(-47.8000031, 7.30001068, -63.9999924, 1, 0, 0, 0, 1, 0, 0, 0, 1),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(1, 0.596078, 0.862745),})
| |
| 257 | Mesh = New("SpecialMesh",Part,"Mesh",{Scale = Vector3.new(1.29999995, 1.29999995, 1.29999995),MeshType = Enum.MeshType.Sphere,})
| |
| 258 | Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = KonuHandaru,C1 = CFrame.new(0, -0.599999666, -1.90734863e-06, 1, 0, 0, 0, -1, 0, 0, 0, -1),})
| |
| 259 | TUREIRU = New("Trail",Hitoboksu,"TUREIRU",{Enabled = false,LightEmission = 1,Attachment1 = att1,Attachment0 = att2})
| |
| 260 | TUREIRU.Color = ColorSequence.new({
| |
| 261 | ColorSequenceKeypoint.new(0,Color3.fromRGB(255, 253, 208)), | |
| 262 | ColorSequenceKeypoint.new(0.5,Color3.fromRGB(255, 192, 203)), | |
| 263 | ColorSequenceKeypoint.new(1,Color3.fromRGB(123, 63, 0)), | |
| 264 | }) | |
| 265 | TUREIRU.Transparency = NumberSequence.new(0,1) | |
| 266 | ||
| 267 | local wep = ISCREAM | |
| 268 | local handla = KonuHandaru | |
| 269 | local hito = Hitoboksu | |
| 270 | local tr1 = TUREIRU | |
| 271 | ||
| 272 | function CreateSwirl(part) | |
| 273 | local pemit = Instance.new("ParticleEmitter",part)
| |
| 274 | pemit.Name = "SUWARU" | |
| 275 | pemit.Texture = "rbxassetid://253188763" | |
| 276 | pemit.LightInfluence = 1 | |
| 277 | pemit.Size = NumberSequence.new(0,2) | |
| 278 | pemit.Transparency = NumberSequence.new(0,1) | |
| 279 | pemit.ZOffset = .5 | |
| 280 | pemit.Lifetime = NumberRange.new(1) | |
| 281 | pemit.Rate = 200 | |
| 282 | pemit.Rotation = NumberRange.new(0,360) | |
| 283 | pemit.RotSpeed = NumberRange.new(-300,300) | |
| 284 | pemit.Speed = NumberRange.new(.2) | |
| 285 | pemit.SpreadAngle = Vector2.new(360,360) | |
| 286 | return pemit | |
| 287 | end | |
| 288 | ||
| 289 | --This is just for builds-- | |
| 290 | New = function(Object, Parent, Name, Data) | |
| 291 | local Object = Instance.new(Object) | |
| 292 | for Index, Value in pairs(Data or {}) do
| |
| 293 | Object[Index] = Value | |
| 294 | end | |
| 295 | Object.Parent = Parent | |
| 296 | Object.Name = Name | |
| 297 | return Object | |
| 298 | end | |
| 299 | HandaruW = New("ManualWeld",handla,"HandaruW",{Part0 = handla,Part1 = RightArm,C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 0, -1, 0, 1, 0),C1 = CFrame.new(-0.199996948, -1.10000002, -1.14440918e-05, -1, 0, 0, 0, 1, 0, 0, 0, -1),})
| |
| 300 | --------------------------- | |
| 301 | ||
| 302 | function rayCast(Position, Direction, Range, Ignore) | |
| 303 | return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore)
| |
| 304 | end | |
| 305 | ||
| 306 | function FindNearestTorso(Position, Distance, SinglePlayer) | |
| 307 | if SinglePlayer then | |
| 308 | return (SinglePlayer.Head.CFrame.p - Position).magnitude < Distance | |
| 309 | end | |
| 310 | local List = {}
| |
| 311 | for i, v in pairs(workspace:GetDescendants()) do | |
| 312 | if v:IsA("Model") then
| |
| 313 | if v:findFirstChild("Head") then
| |
| 314 | if v ~= chara then | |
| 315 | if (v.Head.Position - Position).magnitude <= Distance then | |
| 316 | table.insert(List, v) | |
| 317 | end | |
| 318 | end | |
| 319 | end | |
| 320 | end | |
| 321 | end | |
| 322 | return List | |
| 323 | end | |
| 324 | ||
| 325 | EffectModel = Create("Model"){
| |
| 326 | Parent = chara, | |
| 327 | Name = "Effects", | |
| 328 | } | |
| 329 | ||
| 330 | --Effect Functions-- | |
| 331 | Effects = {
| |
| 332 | ||
| 333 | Block = function(cf,partsize,meshstart,meshadd,matr,colour,spin,inverse,factor) | |
| 334 | local p = Instance.new("Part",EffectModel)
| |
| 335 | p.BrickColor = BrickColor.new(colour) | |
| 336 | p.Size = partsize | |
| 337 | p.Anchored = true | |
| 338 | p.CanCollide = false | |
| 339 | p.Material = matr | |
| 340 | p.CFrame = cf | |
| 341 | if inverse == true then | |
| 342 | p.Transparency = 1 | |
| 343 | else | |
| 344 | p.Transparency = 0 | |
| 345 | end | |
| 346 | local m = Instance.new("BlockMesh",p)
| |
| 347 | m.Scale = meshstart | |
| 348 | coroutine.wrap(function() | |
| 349 | for i=0,1,factor do | |
| 350 | swait() | |
| 351 | if inverse == true then | |
| 352 | p.Transparency = 1-i | |
| 353 | else | |
| 354 | p.Transparency = i | |
| 355 | end | |
| 356 | m.Scale = m.Scale + meshadd | |
| 357 | if spin == true then | |
| 358 | p.CFrame = p.CFrame * CFrame.Angles(math.random(-50,50),math.random(-50,50),math.random(-50,50)) | |
| 359 | end | |
| 360 | end | |
| 361 | p:Destroy() | |
| 362 | end)() | |
| 363 | return p | |
| 364 | end, | |
| 365 | ||
| 366 | Sphere = function(cf,partsize,meshstart,meshadd,matr,colour,inverse,factor) | |
| 367 | local p = Instance.new("Part",EffectModel)
| |
| 368 | p.BrickColor = BrickColor.new(colour) | |
| 369 | p.Size = partsize | |
| 370 | p.Anchored = true | |
| 371 | p.CanCollide = false | |
| 372 | p.Material = matr | |
| 373 | p.CFrame = cf | |
| 374 | if inverse == true then | |
| 375 | p.Transparency = 1 | |
| 376 | else | |
| 377 | p.Transparency = 0 | |
| 378 | end | |
| 379 | local m = Instance.new("SpecialMesh",p)
| |
| 380 | m.MeshType = "Sphere" | |
| 381 | m.Scale = meshstart | |
| 382 | coroutine.wrap(function() | |
| 383 | for i=0,1,factor do | |
| 384 | swait() | |
| 385 | if inverse == true then | |
| 386 | p.Transparency = 1-i | |
| 387 | else | |
| 388 | p.Transparency = i | |
| 389 | end | |
| 390 | m.Scale = m.Scale + meshadd | |
| 391 | end | |
| 392 | p:Destroy() | |
| 393 | end)() | |
| 394 | return p | |
| 395 | end, | |
| 396 | ||
| 397 | Cylinder = function(cf,partsize,meshstart,meshadd,matr,colour,inverse,factor) | |
| 398 | local p = Instance.new("Part",EffectModel)
| |
| 399 | p.BrickColor = BrickColor.new(colour) | |
| 400 | p.Size = partsize | |
| 401 | p.Anchored = true | |
| 402 | p.CanCollide = false | |
| 403 | p.Material = matr | |
| 404 | p.CFrame = cf | |
| 405 | if inverse == true then | |
| 406 | p.Transparency = 1 | |
| 407 | else | |
| 408 | p.Transparency = 0 | |
| 409 | end | |
| 410 | local m = Instance.new("CylinderMesh",p)
| |
| 411 | m.Scale = meshstart | |
| 412 | coroutine.wrap(function() | |
| 413 | for i=0,1,factor do | |
| 414 | swait() | |
| 415 | if inverse == true then | |
| 416 | p.Transparency = 1-i | |
| 417 | else | |
| 418 | p.Transparency = i | |
| 419 | end | |
| 420 | m.Scale = m.Scale + meshadd | |
| 421 | end | |
| 422 | p:Destroy() | |
| 423 | end)() | |
| 424 | return p | |
| 425 | end, | |
| 426 | ||
| 427 | Wave = function(cf,meshstart,meshadd,colour,spin,inverse,factor) | |
| 428 | local p = Instance.new("Part",EffectModel)
| |
| 429 | p.BrickColor = BrickColor.new(colour) | |
| 430 | p.Size = Vector3.new() | |
| 431 | p.Anchored = true | |
| 432 | p.CanCollide = false | |
| 433 | p.CFrame = cf | |
| 434 | if inverse == true then | |
| 435 | p.Transparency = 1 | |
| 436 | else | |
| 437 | p.Transparency = 0 | |
| 438 | end | |
| 439 | local m = Instance.new("SpecialMesh",p)
| |
| 440 | m.MeshId = "rbxassetid://20329976" | |
| 441 | m.Scale = meshstart | |
| 442 | coroutine.wrap(function() | |
| 443 | for i=0,1,factor do | |
| 444 | swait() | |
| 445 | if inverse == true then | |
| 446 | p.Transparency = 1-i | |
| 447 | else | |
| 448 | p.Transparency = i | |
| 449 | end | |
| 450 | m.Scale = m.Scale + meshadd | |
| 451 | p.CFrame = p.CFrame * CFrame.Angles(0,math.rad(spin),0) | |
| 452 | end | |
| 453 | p:Destroy() | |
| 454 | end)() | |
| 455 | return p | |
| 456 | end, | |
| 457 | ||
| 458 | Ring = function(cf,meshstart,meshadd,colour,inverse,factor) | |
| 459 | local p = Instance.new("Part",EffectModel)
| |
| 460 | p.BrickColor = BrickColor.new(colour) | |
| 461 | p.Size = Vector3.new() | |
| 462 | p.Anchored = true | |
| 463 | p.CanCollide = false | |
| 464 | p.CFrame = cf | |
| 465 | if inverse == true then | |
| 466 | p.Transparency = 1 | |
| 467 | else | |
| 468 | p.Transparency = 0 | |
| 469 | end | |
| 470 | local m = Instance.new("SpecialMesh",p)
| |
| 471 | m.MeshId = "rbxassetid://3270017" | |
| 472 | m.Scale = meshstart | |
| 473 | coroutine.wrap(function() | |
| 474 | for i=0,1,factor do | |
| 475 | swait() | |
| 476 | if inverse == true then | |
| 477 | p.Transparency = 1-i | |
| 478 | else | |
| 479 | p.Transparency = i | |
| 480 | end | |
| 481 | m.Scale = m.Scale + meshadd | |
| 482 | end | |
| 483 | p:Destroy() | |
| 484 | end)() | |
| 485 | return p | |
| 486 | end, | |
| 487 | ||
| 488 | Meshed = function(cf,meshstart,meshadd,colour,meshid,textid,spin,inverse,factor) | |
| 489 | local p = Instance.new("Part",EffectModel)
| |
| 490 | p.BrickColor = BrickColor.new(colour) | |
| 491 | p.Size = Vector3.new() | |
| 492 | p.Anchored = true | |
| 493 | p.CanCollide = false | |
| 494 | p.CFrame = cf | |
| 495 | if inverse == true then | |
| 496 | p.Transparency = 1 | |
| 497 | else | |
| 498 | p.Transparency = 0 | |
| 499 | end | |
| 500 | local m = Instance.new("SpecialMesh",p)
| |
| 501 | m.MeshId = meshid | |
| 502 | m.TextureId = textid | |
| 503 | m.Scale = meshstart | |
| 504 | coroutine.wrap(function() | |
| 505 | for i=0,1,factor do | |
| 506 | swait() | |
| 507 | if inverse == true then | |
| 508 | p.Transparency = 1-i | |
| 509 | else | |
| 510 | p.Transparency = i | |
| 511 | end | |
| 512 | m.Scale = m.Scale + meshadd | |
| 513 | p.CFrame = p.CFrame * CFrame.Angles(0,math.rad(spin),0) | |
| 514 | end | |
| 515 | p:Destroy() | |
| 516 | end)() | |
| 517 | return p | |
| 518 | end, | |
| 519 | ||
| 520 | Explode = function(cf,partsize,meshstart,meshadd,matr,colour,move,inverse,factor) | |
| 521 | local p = Instance.new("Part",EffectModel)
| |
| 522 | p.BrickColor = BrickColor.new(colour) | |
| 523 | p.Size = partsize | |
| 524 | p.Anchored = true | |
| 525 | p.CanCollide = false | |
| 526 | p.Material = matr | |
| 527 | p.CFrame = cf * CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))) | |
| 528 | if inverse == true then | |
| 529 | p.Transparency = 1 | |
| 530 | else | |
| 531 | p.Transparency = 0 | |
| 532 | end | |
| 533 | local m = Instance.new("SpecialMesh",p)
| |
| 534 | m.MeshType = "Sphere" | |
| 535 | m.Scale = meshstart | |
| 536 | coroutine.wrap(function() | |
| 537 | for i=0,1,factor do | |
| 538 | swait() | |
| 539 | if inverse == true then | |
| 540 | p.Transparency = 1-i | |
| 541 | else | |
| 542 | p.Transparency = i | |
| 543 | end | |
| 544 | m.Scale = m.Scale + meshadd | |
| 545 | p.CFrame = p.CFrame * CFrame.new(0,move,0) | |
| 546 | end | |
| 547 | p:Destroy() | |
| 548 | end)() | |
| 549 | return p | |
| 550 | end, | |
| 551 | ||
| 552 | } | |
| 553 | ||
| 554 | function chatfunc(text) | |
| 555 | coroutine.wrap(function() | |
| 556 | if chara:FindFirstChild("TalkingBillBoard")~= nil then
| |
| 557 | chara:FindFirstChild("TalkingBillBoard"):destroy()
| |
| 558 | end | |
| 559 | local naeeym2 = Instance.new("BillboardGui",chara)
| |
| 560 | naeeym2.Size = UDim2.new(0,100,0,40) | |
| 561 | naeeym2.StudsOffset = Vector3.new(0,3,0) | |
| 562 | naeeym2.Adornee = chara.Head | |
| 563 | naeeym2.Name = "BLABLABLA" | |
| 564 | local tecks2 = Instance.new("TextLabel",naeeym2)
| |
| 565 | tecks2.BackgroundTransparency = 1 | |
| 566 | tecks2.BorderSizePixel = 0 | |
| 567 | tecks2.Text = "" | |
| 568 | tecks2.Font = "Fantasy" | |
| 569 | tecks2.FontSize = "Size24" | |
| 570 | tecks2.TextStrokeTransparency = 0 | |
| 571 | tecks2.TextColor3 = Color3.new(1,1,1) | |
| 572 | tecks2.TextStrokeColor3 = Color3.new(0,1,1) | |
| 573 | tecks2.Size = UDim2.new(1,0,0.5,0) | |
| 574 | for i = 1,string.len(text),1 do | |
| 575 | tecks2.Text = string.sub(text,1,i) | |
| 576 | swait() | |
| 577 | end | |
| 578 | swait(30) | |
| 579 | for i = 1, 5 do | |
| 580 | swait() | |
| 581 | tecks2.Position = tecks2.Position - UDim2.new(0,0,.05,0) | |
| 582 | tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency +.2 | |
| 583 | tecks2.TextTransparency = tecks2.TextTransparency + .2 | |
| 584 | end | |
| 585 | naeeym2:Destroy() | |
| 586 | end)() | |
| 587 | end | |
| 588 | ||
| 589 | function GetDudesTorso(c) | |
| 590 | local torsy = (c:findFirstChild("Torso") or c:findFirstChild("UpperTorso"))
| |
| 591 | if torsy ~= nil then | |
| 592 | return torsy | |
| 593 | end | |
| 594 | end | |
| 595 | ||
| 596 | function BodyVel(part,faws) | |
| 597 | local bodyvel = Instance.new("BodyVelocity",part)
| |
| 598 | local pep = 10000000 | |
| 599 | bodyvel.P = pep | |
| 600 | bodyvel.MaxForce = Vector3.new(pep,pep,pep) | |
| 601 | bodyvel.Velocity = faws | |
| 602 | debby:AddItem(bodyvel,.2) | |
| 603 | end | |
| 604 | ||
| 605 | function Dmg(guy) | |
| 606 | coroutine.wrap(function() | |
| 607 | local hum = guy:FindFirstChildOfClass("Humanoid")
| |
| 608 | if hum and guy:FindFirstChild("HITO")==nil then
| |
| 609 | Instance.new("BoolValue",guy).Name = "HITO"
| |
| 610 | local torsy = GetDudesTorso(guy) | |
| 611 | if torsy then | |
| 612 | so(32656713,torsy,1,2) | |
| 613 | end | |
| 614 | local par = {}
| |
| 615 | for i,v in pairs(guy:GetDescendants()) do | |
| 616 | if v:IsA("BasePart") then
| |
| 617 | table.insert(par,v) | |
| 618 | if v.Name ~= "HumanoidRootPart" then | |
| 619 | v.Anchored = true | |
| 620 | end | |
| 621 | CreateSwirl(v) | |
| 622 | end | |
| 623 | end | |
| 624 | swait(20) | |
| 625 | if torsy then | |
| 626 | so(203936153,torsy,1,2) | |
| 627 | end | |
| 628 | for i,v in pairs(guy:GetDescendants()) do | |
| 629 | if v.Name == "SUWARU" then | |
| 630 | v.Enabled = false | |
| 631 | end | |
| 632 | if v:IsA("Shirt") or v:IsA("Pants") or v:IsA("ShirtGraphic") or v:IsA("Decal") and v.Name ~= "face" then
| |
| 633 | v:Destroy() | |
| 634 | end | |
| 635 | for i,v in pairs(par) do | |
| 636 | if v then | |
| 637 | if v:FindFirstChild("SpecialMesh") then
| |
| 638 | v:FindFirstChild("SpecialMesh").TextureId = ""
| |
| 639 | end | |
| 640 | if v:IsA("MeshPart") then
| |
| 641 | v.TextureID = "" | |
| 642 | end | |
| 643 | v.BrickColor = BrickColor.new("Baby blue")
| |
| 644 | v.Material = "Ice" | |
| 645 | end | |
| 646 | end | |
| 647 | end | |
| 648 | swait(40) | |
| 649 | if torsy then | |
| 650 | so(87015121,torsy,1,2) | |
| 651 | end | |
| 652 | guy:BreakJoints() | |
| 653 | for ba=1,6 do | |
| 654 | Effects.Explode(torsy.CFrame,Vector3.new(1,1,1),Vector3.new(6,6,6),Vector3.new(.05,.05,.05),"SmoothPlastic","White",.05,false,.025)--+Vector3.new(math.random(-10,10)/10,math.random(-10,10)/10,math.random(-10,10)/10) | |
| 655 | end | |
| 656 | for ab = 1,math.random(6,10) do | |
| 657 | local sa = math.random(5,9)/10 | |
| 658 | local ice = Instance.new("Part",EffectModel)
| |
| 659 | ice.CFrame = torsy.CFrame | |
| 660 | ice.BrickColor = BrickColor.new("Baby blue")
| |
| 661 | ice.Material = "Ice" | |
| 662 | ice.Size = Vector3.new(sa,sa,sa) | |
| 663 | ice.Velocity = Vector3.new(math.random(-30,30),math.random(-30,30),math.random(-30,30)) | |
| 664 | ice.RotVelocity = Vector3.new(math.random(-30,30),math.random(-30,30),math.random(-30,30)) | |
| 665 | coroutine.wrap(function() | |
| 666 | swait(120) | |
| 667 | ice.Orientation = Vector3.new(0,ice.Orientation.y,0) | |
| 668 | for b = 0,1,.05 do | |
| 669 | swait() | |
| 670 | ice.Transparency = b | |
| 671 | ice.Size = ice.Size + Vector3.new(.05,-.05,.05) | |
| 672 | end | |
| 673 | ice:Destroy() | |
| 674 | end)() | |
| 675 | end | |
| 676 | for i,v in pairs(par) do | |
| 677 | v:Destroy() | |
| 678 | end | |
| 679 | end | |
| 680 | end)() | |
| 681 | end | |
| 682 | ||
| 683 | function MagnitudeDmg(par,magni) | |
| 684 | for _, c in pairs(workspace:GetDescendants()) do | |
| 685 | local hum = c:FindFirstChildOfClass("Humanoid")
| |
| 686 | if hum ~= nil and c:FindFirstChild("IsTeamMateOfCK")==nil then
| |
| 687 | local head = GetDudesTorso(c) | |
| 688 | if head ~= nil then | |
| 689 | local targ = head.Position - par.Position | |
| 690 | local mag = targ.magnitude | |
| 691 | if magni >= mag and c ~= chara then | |
| 692 | Dmg(c) | |
| 693 | end | |
| 694 | end | |
| 695 | end | |
| 696 | end | |
| 697 | end | |
| 698 | ||
| 699 | combo = 1 | |
| 700 | ||
| 701 | local mus = Instance.new("Sound",chara)
| |
| 702 | mus.Name = "mus" | |
| 703 | mus.SoundId = "rbxassetid://189224548" | |
| 704 | mus.Looped = true | |
| 705 | mus.Volume = 1 | |
| 706 | mus:Play() | |
| 707 | ||
| 708 | coroutine.wrap(function() | |
| 709 | Humanoid.Name = "asldlasldlasdl" | |
| 710 | Humanoid.Health = math.huge | |
| 711 | Humanoid.MaxHealth = math.huge | |
| 712 | end)() | |
| 713 | ||
| 714 | --Intro-- | |
| 715 | Humanoid.WalkSpeed = 0 | |
| 716 | for i,v in pairs(wep:children()) do | |
| 717 | if v~=handla then | |
| 718 | v.Transparency = 1 | |
| 719 | end | |
| 720 | end | |
| 721 | swait(20) | |
| 722 | chatfunc("Revenge is a dish best served cold!")
| |
| 723 | for i=0,1,.1 do | |
| 724 | swait() | |
| 725 | PlayAnimationFromTable({
| |
| 726 | CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), | |
| 727 | CFrame.new(0, 1.5255599, -0.222141743, 1, 0, 0, 0, 0.939692736, 0.342019886, 0, -0.342019916, 0.939692736), | |
| 728 | CFrame.new(1.50094986, 0.999999046, 0.0500035286, 0, -1, 0, 1, 0, 0, 0, 0, 1), | |
| 729 | CFrame.new(-1.52556324, 0.222139359, 0, 0.939692736, 0.342019886, 0, -0.342019916, 0.939692736, 0, 0, 0, 1), | |
| 730 | CFrame.new(0.500001132, -2, -2.38418579e-07, 0.984807849, 0, -0.173647985, 0, 1, 0, 0.173647985, 0, 0.984807849), | |
| 731 | CFrame.new(-0.500000715, -2, -8.34465027e-07, 0.939692736, 0, 0.342019886, 0, 1, 0, -0.342019916, 0, 0.939692736), | |
| 732 | }, .3, false) | |
| 733 | end | |
| 734 | local para = {}
| |
| 735 | for i=-2,2,.2 do | |
| 736 | local ice = Instance.new("Part",EffectModel)
| |
| 737 | ice.Size = Vector3.new(1,1,1) | |
| 738 | ice.CanCollide = false | |
| 739 | ice.BrickColor = BrickColor.new("Baby blue")
| |
| 740 | ice.Material = "Ice" | |
| 741 | local icew = Instance.new("Weld",ice)
| |
| 742 | icew.Part0 = hito | |
| 743 | icew.Part1 = ice | |
| 744 | icew.C0 = CFrame.new(0,-i,0)*CFrame.Angles(math.random(0,360),math.random(0,360),math.random(0,360)) | |
| 745 | table.insert(para,ice) | |
| 746 | so(32656754,ice,1,1) | |
| 747 | swait() | |
| 748 | end | |
| 749 | swait(30) | |
| 750 | so(87015121,hito,1,1) | |
| 751 | for i,v in pairs(wep:children()) do | |
| 752 | v.Transparency = 0 | |
| 753 | end | |
| 754 | for i,v in pairs(para) do | |
| 755 | v:BreakJoints() | |
| 756 | v.Anchored = true | |
| 757 | coroutine.wrap(function() | |
| 758 | for i=0,1,.05 do | |
| 759 | swait() | |
| 760 | v.CFrame = v.CFrame*CFrame.new(0,.5,0) | |
| 761 | v.Transparency = i | |
| 762 | end | |
| 763 | v:Destroy() | |
| 764 | end)() | |
| 765 | end | |
| 766 | swait(60) | |
| 767 | chatfunc([["Ice" to meet you today!]]) | |
| 768 | Humanoid.WalkSpeed = 40 | |
| 769 | -------------------------------------------------- | |
| 770 | ||
| 771 | function smek() | |
| 772 | attack = true | |
| 773 | for i=0,1,.2 do | |
| 774 | swait() | |
| 775 | PlayAnimationFromTable({
| |
| 776 | CFrame.new(-0.0116844922, 0, -0.381816059, 0.342019022, 0, 0.939693093, 0, 1, 0, -0.939693093, 0, 0.342018992), | |
| 777 | CFrame.new(-0.0728889629, 1.49999714, 0.038963601, 0.342019022, 0, -0.939693093, 0, 1, 0, 0.939693093, 0, 0.342018992), | |
| 778 | CFrame.new(1.06065702, 1.09677029, -0.161810428, 0.400286436, 0.242276207, 0.88378346, 0.734158754, -0.661962748, -0.151050553, 0.548435688, 0.709300876, -0.442843854), | |
| 779 | CFrame.new(-1.59605861, 0.10887894, 1.11486224e-06, 0.984807909, 0.173648059, -2.23517418e-06, -0.173648059, 0.984807849, 3.82394944e-07, 2.29477882e-06, 1.86264515e-08, 1), | |
| 780 | CFrame.new(0.685087919, -1.96527183, 0.0673596561, 0.92541647, -0.163175598, -0.342020869, 0.173647985, 0.984807849, 2.90093368e-07, 0.336824894, -0.0593915246, 0.939692438), | |
| 781 | CFrame.new(-0.499999702, -2.00000095, 8.68737698e-06, 0.766045451, 0, 0.642786503, 0, 1, 0, -0.642786503, 0, 0.766045511), | |
| 782 | }, .4, false) | |
| 783 | end | |
| 784 | Humanoid.WalkSpeed = 2 | |
| 785 | tr1.Enabled = true | |
| 786 | so(32656754,hito,math.random(9,11)/10,1) | |
| 787 | for i=0,1,.2 do | |
| 788 | swait() | |
| 789 | PlayAnimationFromTable({
| |
| 790 | CFrame.new(0, 0, 0, 0.499998987, 0, -0.866025984, 0, 1, 0, 0.866025984, 0, 0.499998987), | |
| 791 | CFrame.new(0, 1.49999714, 0, 0.499998987, 0, 0.866025984, 0, 1, 0, -0.866025984, 0, 0.499998987), | |
| 792 | CFrame.new(1.6195364, 0.256343663, -3.60019794e-06, 0.939692736, -0.342020124, -8.94069672e-08, 0.342020154, 0.939692676, -4.35416268e-07, 2.08616257e-07, 3.87430191e-07, 1), | |
| 793 | CFrame.new(-1.65980804, 0.323206544, 5.72385352e-06, 0.866025329, 0.500000238, -2.98023224e-07, -0.500000179, 0.866025388, -1.34623383e-06, -4.47034836e-07, 1.29640102e-06, 1.00000012), | |
| 794 | CFrame.new(0.500001073, -2.00000095, -1.57952309e-06, 0.939692616, 0, -0.342020184, 0, 1, 0, 0.342020184, 0, 0.939692616), | |
| 795 | CFrame.new(-0.499998212, -2.00000095, 1.49011612e-06, 0.766043544, 0, 0.642788708, 0, 1, 0, -0.642788708, 0, 0.766043544), | |
| 796 | }, .4, false) | |
| 797 | MagnitudeDmg(hito,3) | |
| 798 | end | |
| 799 | swait(5) | |
| 800 | Humanoid.WalkSpeed = 40 | |
| 801 | tr1.Enabled = false | |
| 802 | attack = false | |
| 803 | end | |
| 804 | ||
| 805 | function asmek() | |
| 806 | attack = true | |
| 807 | Humanoid.WalkSpeed = 50 | |
| 808 | RootPart.Velocity = Vector3.new(RootPart.Velocity.X,30,RootPart.Velocity.Z) | |
| 809 | tr1.Enabled = true | |
| 810 | so(32656754,hito,math.random(9,11)/10,1) | |
| 811 | for i = 0,1.5,.1 do | |
| 812 | swait() | |
| 813 | PlayAnimationFromTable({
| |
| 814 | CFrame.new(-2.14576721e-06, -1.66893005e-06, 0, 0, 1, 0, -1, 0, 0, 0, 0, 1)*CFrame.Angles(0,math.rad(360)*-i,0), | |
| 815 | CFrame.new(0, 1.50000107, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), | |
| 816 | CFrame.new(1.4999969, 1.00000238, 0, 0, -1, 0, 1, 0, 0, 0, 0, 1), | |
| 817 | CFrame.new(-1.49999905, 1.00000238, 0, 0, 1, 0, -1, 0, 0, 0, 0, 1), | |
| 818 | CFrame.new(0.499999046, -1.99999499, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), | |
| 819 | CFrame.new(-0.500001907, -1.99999404, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), | |
| 820 | }, .3, false) | |
| 821 | MagnitudeDmg(hito,3) | |
| 822 | end | |
| 823 | Humanoid.WalkSpeed = 40 | |
| 824 | tr1.Enabled = false | |
| 825 | attack = false | |
| 826 | end | |
| 827 | ||
| 828 | function burasuto() | |
| 829 | attack = true | |
| 830 | Humanoid.WalkSpeed = 5 | |
| 831 | for i=0,2,.1 do | |
| 832 | swait() | |
| 833 | PlayAnimationFromTable({
| |
| 834 | CFrame.new(0.0358428955, 0, 0.0325927734, 0, 0, 1, 0, 1, 0, -1, 0, 0), | |
| 835 | CFrame.new(0.0325870365, 1.49998832, -0.0358416028, 0.0301539954, 0.171010062, -0.984807789, 0.171009988, 0.969846368, 0.173648238, 0.984807849, -0.173648134, 3.13053391e-07), | |
| 836 | CFrame.new(1.5, 0.899998665, 0, 0, -1, 0, 1, 0, 0, 0, 0, 1), | |
| 837 | CFrame.new(-1.50195909, 0.627066612, -0.676912427, 0.984807849, -0.17364797, 1.12223177e-07, -0.030152997, -0.171006978, -0.984808326, 0.171009988, 0.969846904, -0.17364502), | |
| 838 | CFrame.new(0.5, -1.8499999, 0.459799707, 1, 0, 0, 0, 0.866025388, 0.500000238, 0, -0.500000238, 0.866025388), | |
| 839 | CFrame.new(-0.5, -1.57705688, -0.280751318, 1, 0, 0, 0, 0.984807849, 0.173647985, 0, -0.173647985, 0.984807849), | |
| 840 | }, .4, false) | |
| 841 | Effects.Ring(RightArm.CFrame*CFrame.new(0,-1,0)* CFrame.Angles(math.rad(math.random(0,360)),math.rad(math.random(0,360)),math.rad(math.random(0,360))),Vector3.new(10,10,1),Vector3.new(-1,-1,0),"White",true,.1) | |
| 842 | Effects.Block(RightArm.CFrame*CFrame.new(0,-1,0),Vector3.new(2,2,2),Vector3.new(1,1,1),Vector3.new(-.1,-.1,-.1),"Ice","White",true,true,.1) | |
| 843 | end | |
| 844 | so(588736245,RightArm,.8,1) | |
| 845 | local dir = (RightArm.Position - Mouse.Hit.p).unit | |
| 846 | local blast = Instance.new("Part",EffectModel)
| |
| 847 | blast.Name = "Burasuto" | |
| 848 | blast.BrickColor = BrickColor.new("Baby blue")
| |
| 849 | blast.Size = Vector3.new(3,3,3) | |
| 850 | blast.Anchored = true | |
| 851 | blast.CanCollide = false | |
| 852 | blast.Material = "Neon" | |
| 853 | blast.Shape = "Ball" | |
| 854 | blast.CFrame = CFrame.new(RightArm.Position,RightArm.Position+dir) | |
| 855 | local pe = CreateSwirl(blast) | |
| 856 | pe.Size = NumberSequence.new(2,0) | |
| 857 | debby:AddItem(blast,10) | |
| 858 | coroutine.wrap(function() | |
| 859 | local par,pos | |
| 860 | local ta = 0 | |
| 861 | repeat | |
| 862 | swait() | |
| 863 | par,pos = rayCast(blast.Position,blast.CFrame.lookVector*2,5,chara) | |
| 864 | if par ~= nil then | |
| 865 | blast.CFrame = CFrame.new(pos) | |
| 866 | else | |
| 867 | blast.CFrame = blast.CFrame * CFrame.new(0,0,4) | |
| 868 | end | |
| 869 | until par ~= nil | |
| 870 | for b=1,2 do | |
| 871 | Effects.Block(blast.CFrame,Vector3.new(1,1,1),Vector3.new(),Vector3.new(1,1,1),"Ice","White",true,false,.1) | |
| 872 | end | |
| 873 | so(747238556,blast,1,1) | |
| 874 | MagnitudeDmg(blast,5) | |
| 875 | blast.Transparency = 1 | |
| 876 | debby:AddItem(blast,3) | |
| 877 | end)() | |
| 878 | Effects.Wave(RightArm.CFrame*CFrame.new(0,-1,0),Vector3.new(0,0,0),Vector3.new(.2,0,.2),"White",10,false,.05) | |
| 879 | Effects.Wave(RightArm.CFrame*CFrame.new(0,-1,0),Vector3.new(0,0,0),Vector3.new(1,0,1),"Baby blue",-10,false,.05) | |
| 880 | BodyVel(Torso,RootPart.CFrame.lookVector*-5) | |
| 881 | swait(20) | |
| 882 | Humanoid.WalkSpeed = 40 | |
| 883 | attack = false | |
| 884 | end | |
| 885 | ||
| 886 | function freeze() | |
| 887 | attack = true | |
| 888 | Humanoid.WalkSpeed = 4 | |
| 889 | chatfunc("That's it!")
| |
| 890 | coroutine.wrap(function() | |
| 891 | for a=0,1,.1 do | |
| 892 | swait() | |
| 893 | for i,v in pairs(wep:children()) do | |
| 894 | v.Transparency = i | |
| 895 | end | |
| 896 | end | |
| 897 | end)() | |
| 898 | for i = 0,1,.1 do | |
| 899 | swait() | |
| 900 | PlayAnimationFromTable({
| |
| 901 | CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), | |
| 902 | CFrame.new(0, 1.5255599, -0.222141743, 1, 0, 0, 0, 0.939692736, 0.342019886, 0, -0.342019916, 0.939692736), | |
| 903 | CFrame.new(1.50094986, 0.999999046, 0.0500035286, 0, -1, 0, 1, 0, 0, 0, 0, 1), | |
| 904 | CFrame.new(-1.52556324, 0.222139359, 0, 0.939692736, 0.342019886, 0, -0.342019916, 0.939692736, 0, 0, 0, 1), | |
| 905 | CFrame.new(0.500001132, -2, -2.38418579e-07, 0.984807849, 0, -0.173647985, 0, 1, 0, 0.173647985, 0, 0.984807849), | |
| 906 | CFrame.new(-0.500000715, -2, -8.34465027e-07, 0.939692736, 0, 0.342019886, 0, 1, 0, -0.342019916, 0, 0.939692736), | |
| 907 | }, .3, false) | |
| 908 | end | |
| 909 | for i = 0,4,.05 do | |
| 910 | swait() | |
| 911 | PlayAnimationFromTable({
| |
| 912 | CFrame.new(0, 0.0349424481, 0.334686339, 1, 0, 0, 0, 0.939692736, -0.342019886, 0, 0.342019916, 0.939692736), | |
| 913 | CFrame.new(0, 1.43158746, 0.18793866, 1, 0, 0, 0, 0.939692438, -0.342020929, 0, 0.342020959, 0.939692438), | |
| 914 | CFrame.new(1.5, 0.499999046, 0.599990845, 0, -1, 0, 0, 0, -1, 1, 0, 0), | |
| 915 | CFrame.new(-1.5, 0.499999046, 0.599990845, 0, 1, 0, 0, 0, -1, -1, 0, 0), | |
| 916 | CFrame.new(0.50000006, -2.02669048, 0.381489158, 0.939692736, 0, -0.342019886, 0.116977625, 0.939692736, 0.321393639, 0.321393639, -0.342019886, 0.883022428), | |
| 917 | CFrame.new(-0.500001907, -2.02669072, 0.381488144, 0.866025388, 0, 0.500000238, -0.171010032, 0.939692736, 0.296197921, -0.469846606, -0.342019886, 0.813797772), | |
| 918 | }, .3, false) | |
| 919 | Effects.Block(RightArm.CFrame*CFrame.new(0,-1,0),Vector3.new(2,2,2),Vector3.new(1,1,1),Vector3.new(-.05,-.05,-.05),"Ice","White",true,true,.05) | |
| 920 | Effects.Block(LeftArm.CFrame*CFrame.new(0,-1,0),Vector3.new(2,2,2),Vector3.new(1,1,1),Vector3.new(-.05,-.05,-.05),"Ice","White",true,true,.05) | |
| 921 | end | |
| 922 | swait(20) | |
| 923 | for i = 0,1,.1 do | |
| 924 | swait() | |
| 925 | PlayAnimationFromTable({
| |
| 926 | CFrame.new(0, -0.433955967, -0.642794847, 1, 0, 0, 0, 0.76604414, 0.642788053, 0, -0.642788053, 0.76604414), | |
| 927 | CFrame.new(0, 1.50857329, 0.277411759, 1, 0, 0, 0, 0.76604414, -0.642788053, 0, 0.642788053, 0.76604414), | |
| 928 | CFrame.new(1.00000763, 1.37034774, -0.491282165, 0, 0, 1, 0.76604414, -0.642788053, 0, 0.642788053, 0.76604414, 0), | |
| 929 | CFrame.new(-1.00000763, 1.37034774, -0.491282165, 0, 0, -1, -0.76604414, -0.642788053, 0, -0.642788053, 0.76604414, 0), | |
| 930 | CFrame.new(0.5, -1.09861195, -1.12705588, 1, 0, 0, 0, 0.76604414, -0.642788053, 0, 0.642788053, 0.76604414), | |
| 931 | CFrame.new(-0.5, -2.00000405, 5.72204681e-06, 1, 0, 0, 0, 1.00000012, 0, 0, 0, 1.00000012), | |
| 932 | }, .3, false) | |
| 933 | end | |
| 934 | local pemit1 = CreateSwirl(RightArm) | |
| 935 | pemit1.SpreadAngle = Vector2.new(20,20) | |
| 936 | pemit1.EmissionDirection = "Bottom" | |
| 937 | pemit1.Lifetime = NumberRange.new(.7) | |
| 938 | pemit1.Speed = NumberRange.new(20) | |
| 939 | pemit1.Size = NumberSequence.new(0,5) | |
| 940 | local pemit2 = pemit1:Clone() | |
| 941 | pemit2.Parent = LeftArm | |
| 942 | local pa = Instance.new("Part",chara)
| |
| 943 | pa.Size = Vector3.new(0,0,0) | |
| 944 | pa.CanCollide = false | |
| 945 | pa.Anchored = true | |
| 946 | pa.Transparency = 1 | |
| 947 | so(87014838,Torso,1,1) | |
| 948 | chatfunc("Freeze... to... death...")
| |
| 949 | for i=1,200 do | |
| 950 | pa.CFrame = RootPart.CFrame * CFrame.new(0,0,-7) | |
| 951 | MagnitudeDmg(pa,8) | |
| 952 | swait() | |
| 953 | end | |
| 954 | pemit1.Enabled = false | |
| 955 | pemit2.Enabled = false | |
| 956 | pa:Destroy() | |
| 957 | debby:AddItem(pemit1,4) | |
| 958 | debby:AddItem(pemit2,4) | |
| 959 | swait(30) | |
| 960 | coroutine.wrap(function() | |
| 961 | for a=0,1,.1 do | |
| 962 | swait() | |
| 963 | for i,v in pairs(wep:children()) do | |
| 964 | v.Transparency = 1-i | |
| 965 | end | |
| 966 | end | |
| 967 | for i,v in pairs(wep:children()) do | |
| 968 | v.Transparency = 0 | |
| 969 | end | |
| 970 | end)() | |
| 971 | Humanoid.WalkSpeed = 40 | |
| 972 | tr1.Enabled = false | |
| 973 | attack = false | |
| 974 | end | |
| 975 | ||
| 976 | function areafreeze() | |
| 977 | attack = true | |
| 978 | Humanoid.WalkSpeed = 0 | |
| 979 | chatfunc("The winter is coming..")
| |
| 980 | coroutine.wrap(function() | |
| 981 | for a=0,1,.1 do | |
| 982 | swait() | |
| 983 | for i,v in pairs(wep:children()) do | |
| 984 | v.Transparency = i | |
| 985 | end | |
| 986 | end | |
| 987 | end)() | |
| 988 | for i = 0,1,.1 do | |
| 989 | swait() | |
| 990 | PlayAnimationFromTable({
| |
| 991 | CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), | |
| 992 | CFrame.new(0, 1.5255599, -0.222141743, 1, 0, 0, 0, 0.939692736, 0.342019886, 0, -0.342019916, 0.939692736), | |
| 993 | CFrame.new(1.50094986, 0.999999046, 0.0500035286, 0, -1, 0, 1, 0, 0, 0, 0, 1), | |
| 994 | CFrame.new(-1.52556324, 0.222139359, 0, 0.939692736, 0.342019886, 0, -0.342019916, 0.939692736, 0, 0, 0, 1), | |
| 995 | CFrame.new(0.500001132, -2, -2.38418579e-07, 0.984807849, 0, -0.173647985, 0, 1, 0, 0.173647985, 0, 0.984807849), | |
| 996 | CFrame.new(-0.500000715, -2, -8.34465027e-07, 0.939692736, 0, 0.342019886, 0, 1, 0, -0.342019916, 0, 0.939692736), | |
| 997 | }, .3, false) | |
| 998 | end | |
| 999 | for i = 0,4,.05 do | |
| 1000 | swait() | |
| 1001 | PlayAnimationFromTable({
| |
| 1002 | CFrame.new(), | |
| 1003 | CFrame.new(0, 1.46578932, -0.0939713717, 1, 0, 0, 0, 0.939692736, 0.342019886, 0, -0.342019916, 0.939692736), | |
| 1004 | CFrame.new(0.748245835, 0.499998569, -0.773616076, 0.342019022, 0.939693093, 0, 0, 0, -1, -0.939693093, 0.342018992, 0), | |
| 1005 | CFrame.new(-0.748251557, 0.499999017, -0.773617327, 0.342020124, -0.939692616, 4.10752676e-08, 0, -4.37113883e-08, -1, 0.939692616, 0.342020124, -1.49501744e-08), | |
| 1006 | CFrame.new(0.499996185, -1.28161228, -0.232838884, 1, 0, 0, 0, 0.984807849, 0.173647985, 0, -0.173647985, 0.984807849), | |
| 1007 | CFrame.new(-0.5, -1.99999928, 0.299997658, 1, 0, 0, 0, 0.939692736, 0.342019886, 0, -0.342019916, 0.939692736), | |
| 1008 | }, .3, false) | |
| 1009 | Effects.Wave(Torso.CFrame*CFrame.new(0,-2,0),Vector3.new(10,0,10),Vector3.new(-.5,.05,-.5),"White",math.random(-10,10),true,.05) | |
| 1010 | Effects.Meshed(RootPart.CFrame*CFrame.new(math.random(-10,10),math.random(-1,5),math.random(-10,10))*CFrame.Angles(math.rad(math.random(0,360)),math.rad(math.random(0,360)),math.rad(math.random(0,360))),Vector3.new(2,2,2),Vector3.new(),"White","rbxassetid://187687161","",math.random(-2,2),false,.05) | |
| 1011 | end | |
| 1012 | swait(20) | |
| 1013 | chatfunc("COMETH, BLIZZARD O' DEATH!")
| |
| 1014 | for i = 0,2,.1 do | |
| 1015 | swait() | |
| 1016 | PlayAnimationFromTable({
| |
| 1017 | CFrame.new(0, 0.0349424481, 0.334686339, 1, 0, 0, 0, 0.939692736, -0.342019886, 0, 0.342019916, 0.939692736), | |
| 1018 | CFrame.new(0, 1.43158746, 0.18793866, 1, 0, 0, 0, 0.939692438, -0.342020929, 0, 0.342020959, 0.939692438), | |
| 1019 | CFrame.new(1.5, 0.499999046, 0.599990845, 0, -1, 0, 0, 0, -1, 1, 0, 0), | |
| 1020 | CFrame.new(-1.5, 0.499999046, 0.599990845, 0, 1, 0, 0, 0, -1, -1, 0, 0), | |
| 1021 | CFrame.new(0.50000006, -2.02669048, 0.381489158, 0.939692736, 0, -0.342019886, 0.116977625, 0.939692736, 0.321393639, 0.321393639, -0.342019886, 0.883022428), | |
| 1022 | CFrame.new(-0.500001907, -2.02669072, 0.381488144, 0.866025388, 0, 0.500000238, -0.171010032, 0.939692736, 0.296197921, -0.469846606, -0.342019886, 0.813797772), | |
| 1023 | }, .3, false) | |
| 1024 | end | |
| 1025 | so(632669170,Torso,1,1) | |
| 1026 | MagnitudeDmg(RootPart,20) | |
| 1027 | for i=1,2 do | |
| 1028 | Effects.Block(Torso.CFrame,Vector3.new(1,1,1),Vector3.new(1,1,1),Vector3.new(3,3,3),"Ice","White",true,false,.05) | |
| 1029 | Effects.Ring(Torso.CFrame*CFrame.Angles(math.rad(math.random(0,360)),math.rad(math.random(0,360)),math.rad(math.random(0,360))),Vector3.new(1,1,.5),Vector3.new(5,5,0),"White",false,.05) | |
| 1030 | end | |
| 1031 | Effects.Wave(Torso.CFrame*CFrame.new(0,-2,0),Vector3.new(0,1,0),Vector3.new(5,0,5),"White",10,false,.05) | |
| 1032 | swait(30) | |
| 1033 | coroutine.wrap(function() | |
| 1034 | for a=0,1,.1 do | |
| 1035 | swait() | |
| 1036 | for i,v in pairs(wep:children()) do | |
| 1037 | v.Transparency = 1-i | |
| 1038 | end | |
| 1039 | end | |
| 1040 | for i,v in pairs(wep:children()) do | |
| 1041 | v.Transparency = 0 | |
| 1042 | end | |
| 1043 | end)() | |
| 1044 | Humanoid.WalkSpeed = 40 | |
| 1045 | tr1.Enabled = false | |
| 1046 | attack = false | |
| 1047 | end | |
| 1048 | ||
| 1049 | Mouse.Button1Down:connect(function() | |
| 1050 | if attack == false then | |
| 1051 | if Anim == "Jump" or Anim == "Fall" then | |
| 1052 | asmek() | |
| 1053 | else | |
| 1054 | smek() | |
| 1055 | end | |
| 1056 | end | |
| 1057 | end) | |
| 1058 | ||
| 1059 | local sprintt = 0 | |
| 1060 | Mouse.KeyDown:connect(function(k) | |
| 1061 | k = k:lower() | |
| 1062 | if k=='m' then | |
| 1063 | if mus.IsPlaying == true then | |
| 1064 | mus:Stop() | |
| 1065 | elseif mus.IsPaused == true then | |
| 1066 | mus:Play() | |
| 1067 | end | |
| 1068 | end | |
| 1069 | if attack == false then | |
| 1070 | if k == 'z' then | |
| 1071 | burasuto() | |
| 1072 | elseif k == 'x' then | |
| 1073 | freeze() | |
| 1074 | elseif k == 'c' then | |
| 1075 | areafreeze() | |
| 1076 | end | |
| 1077 | end | |
| 1078 | end) | |
| 1079 | ||
| 1080 | --Mouse.KeyUp:connect(function(k) | |
| 1081 | --k = k:lower() | |
| 1082 | --if k == 'e' then | |
| 1083 | --ehold = false | |
| 1084 | --elseif k == 'z' then | |
| 1085 | --zhold = false | |
| 1086 | --elseif k == 'v' then | |
| 1087 | --vhold = false | |
| 1088 | --elseif k == 'g' then | |
| 1089 | --ghold = false | |
| 1090 | --end | |
| 1091 | --end) | |
| 1092 | ||
| 1093 | coroutine.wrap(function() | |
| 1094 | while 1 do | |
| 1095 | swait() | |
| 1096 | if doe <= 360 then | |
| 1097 | doe = doe + 2 | |
| 1098 | else | |
| 1099 | doe = 0 | |
| 1100 | end | |
| 1101 | end | |
| 1102 | end)() | |
| 1103 | while true do | |
| 1104 | swait() | |
| 1105 | while true do | |
| 1106 | swait() | |
| 1107 | if chara:FindFirstChild("mus")==nil then
| |
| 1108 | mus = Instance.new("Sound",chara)
| |
| 1109 | mus.Name = "mus" | |
| 1110 | mus.SoundId = "rbxassetid://189224548" | |
| 1111 | mus.Looped = true | |
| 1112 | mus.Volume = 1 | |
| 1113 | mus:Play() | |
| 1114 | end | |
| 1115 | if sprintt >= 1 then | |
| 1116 | sprintt = sprintt - 1 | |
| 1117 | end | |
| 1118 | Torsovelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude | |
| 1119 | velocity = RootPart.Velocity.y | |
| 1120 | sine = sine + change | |
| 1121 | local hit, pos = rayCast(RootPart.Position, (CFrame.new(RootPart.Position, RootPart.Position - Vector3.new(0, 1, 0))).lookVector, 4, chara) | |
| 1122 | if RootPart.Velocity.y > 1 and hit == nil then | |
| 1123 | Anim = "Jump" | |
| 1124 | if attack == false then | |
| 1125 | PlayAnimationFromTable({
| |
| 1126 | CFrame.new(0, 0.0382082276, -0.0403150208, 1, 0, 0, 0, 0.984807849, 0.173647985, 0, -0.173647985, 0.984807849), | |
| 1127 | CFrame.new(0, 1.46579528, 0.0939689279, 1, 0, 0, 0, 0.939692855, -0.342019796, 0, 0.342019796, 0.939692855), | |
| 1128 | CFrame.new(1.20945489, -0.213504896, 3.55388607e-07, 0.939692736, 0.342019916, 1.53461215e-07, -0.342019945, 0.939692736, 1.93715096e-07, -8.56816769e-08, -2.23517418e-07, 1.00000012), | |
| 1129 | CFrame.new(-1.20945573, -0.213503733, 5.0439985e-07, 0.939692736, -0.342019916, -1.53461215e-07, 0.342019945, 0.939692736, 1.93715096e-07, 8.56816769e-08, -2.23517418e-07, 1.00000012), | |
| 1130 | CFrame.new(0.5, -1.99739456, -0.0180913229, 1, 0, 0, 0, 1.00000012, 0, 0, 0, 1.00000012), | |
| 1131 | CFrame.new(-0.5, -1.30000103, -0.39999947, 1, 0, 0, 0, 0.939692676, 0.342020601, 0, -0.342020601, 0.939692676), | |
| 1132 | }, .3, false) | |
| 1133 | end | |
| 1134 | elseif RootPart.Velocity.y < -1 and hit == nil then | |
| 1135 | Anim = "Fall" | |
| 1136 | if attack == false then | |
| 1137 | PlayAnimationFromTable({
| |
| 1138 | CFrame.new(0, -0.0646628663, 0.0399149321, 1, 0, 0, 0, 0.984807849, -0.173647985, 0, 0.173647985, 0.984807849), | |
| 1139 | CFrame.new(0, 1.4913609, -0.128171027, 1, 0, 0, 0, 0.939692855, 0.342019796, 0, -0.342019796, 0.939692855), | |
| 1140 | 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), | |
| 1141 | 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), | |
| 1142 | CFrame.new(0.500000954, -1.9973948, -0.0180922765, 1, 0, 0, 0, 1.00000012, 0, 0, 0, 1.00000012), | |
| 1143 | CFrame.new(-0.499999046, -1.30000043, -0.400000483, 1, 0, 0, 0, 0.939692855, 0.342019796, 0, -0.342019796, 0.939692855), | |
| 1144 | }, .3, false) | |
| 1145 | end | |
| 1146 | elseif Torsovelocity < 1 and hit ~= nil then | |
| 1147 | Anim = "Idle" | |
| 1148 | if attack == false then | |
| 1149 | change = 1 | |
| 1150 | PlayAnimationFromTable({
| |
| 1151 | CFrame.new(0, 0, 0, 0.939692736, 0, 0.342019886, 0, 1, 0, -0.342019916, 0, 0.939692736) * CFrame.new(0,.05 * math.cos((sine)/10), 0), | |
| 1152 | CFrame.new(-1.22189522e-06, 1.49999833, -3.15904617e-06, 0.925416768, -0.101305634, -0.365159065, 0.173647985, 0.969846427, 0.171009958, 0.336823881, -0.221664593, 0.915103614), | |
| 1153 | CFrame.new(1.4999994, 0, 7.15255737e-07, 0.984807849, 0, -0.173648164, 0, 1, 0, 0.173648134, 0, 0.984807849), | |
| 1154 | CFrame.new(-1.3973906, -0.196961865, -0.0180919915, 0.969846308, -0.171010002, 0.173648715, 0.173648089, 0.984807789, 2.70171853e-07, -0.171010703, 0.0301535055, 0.98480773), | |
| 1155 | CFrame.new(0.499998569, -1.99999797, -5.96046448e-07, 0.939692736, 0, -0.342019916, 0, 1, 0, 0.342019886, 0, 0.939692736) * CFrame.new(0,-.05 * math.cos((sine)/10), 0), | |
| 1156 | CFrame.new(-0.499999195, -1.99999797, 1.17719173e-06, 0.939692438, 0, 0.342020929, 0, 1, 0, -0.342020959, 0, 0.939692438) * CFrame.new(0,-.05 * math.cos((sine)/10), 0), | |
| 1157 | }, .3, false) | |
| 1158 | end | |
| 1159 | elseif Torsovelocity > 2 and hit ~= nil then | |
| 1160 | Anim = "Walk" | |
| 1161 | if attack == false then | |
| 1162 | Humanoid.WalkSpeed = 40 | |
| 1163 | Humanoid.JumpPower = 70 | |
| 1164 | PlayAnimationFromTable({
| |
| 1165 | CFrame.new(-2.4138464e-07, 0.123327732, -0.188363045, 1, -4.38293796e-07, 1.20420327e-06, 0, 0.939692736, 0.342019886, -1.28148622e-06, -0.342019916, 0.939692736) * CFrame.new(0, 0- .08 * math.cos((sine/2.5)), 0), | |
| 1166 | CFrame.new(0, 1.41422474, 0.0894482136, 1, 0, 0, 0, 0.939692736, -0.342019916, 0, 0.342019886, 0.939692736), | |
| 1167 | CFrame.new(1.39999986, 4.76837158e-07, 0.173205554, 0.866025388, 0, -0.500000238, 0, 1, 0, 0.500000238, 0, 0.866025388), | |
| 1168 | 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, .6 * math.cos((sine) / 2.5)) * CFrame.Angles(math.rad(0 - 60 * math.cos((sine) / 2.5)), 0, 0), | |
| 1169 | 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+ 1 * math.cos((sine) / 2.5)) * CFrame.Angles(math.rad(0 - 60 * math.cos((sine) / 2.5)), 0, 0), | |
| 1170 | 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- 1 * math.cos((sine) / 2.5)) * CFrame.Angles(math.rad(0 + 60 * math.cos((sine) / 2.5)), 0, 0), | |
| 1171 | }, .3, false) | |
| 1172 | end | |
| 1173 | end | |
| 1174 | end | |
| 1175 | end |