Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --https://github.com/Mokiros/roblox-FE-compatibility
- if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
- local Player,Mouse,mouse,UserInputService,ContextActionService = owner
- local RealPlayer = Player
- 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
- --fixed by pixelfir3
- --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"))
- ScreenGui0 = Instance.new("ScreenGui")
- Frame1 = Instance.new("Frame")
- Frame2 = Instance.new("Frame")
- Frame3 = Instance.new("Frame")
- TextLabel4 = Instance.new("TextLabel")
- TextLabel5 = Instance.new("TextLabel")
- TextLabel6 = Instance.new("TextLabel")
- Frame7 = Instance.new("Frame")
- Frame8 = Instance.new("Frame")
- TextLabel9 = Instance.new("TextLabel")
- TextLabel10 = Instance.new("TextLabel")
- TextLabel11 = Instance.new("TextLabel")
- Frame12 = Instance.new("Frame")
- Frame13 = Instance.new("Frame")
- TextLabel14 = Instance.new("TextLabel")
- TextLabel15 = Instance.new("TextLabel")
- Frame16 = Instance.new("Frame")
- TextLabel17 = Instance.new("TextLabel")
- Frame18 = Instance.new("Frame")
- TextLabel19 = Instance.new("TextLabel")
- TextLabel20 = Instance.new("TextLabel")
- Frame21 = Instance.new("Frame")
- TextLabel22 = Instance.new("TextLabel")
- Frame23 = Instance.new("Frame")
- TextLabel24 = Instance.new("TextLabel")
- Frame25 = Instance.new("Frame")
- TextLabel26 = Instance.new("TextLabel")
- TextLabel27 = Instance.new("TextLabel")
- TextLabel28 = Instance.new("TextLabel")
- Frame29 = Instance.new("Frame")
- TextLabel30 = Instance.new("TextLabel")
- TextLabel31 = Instance.new("TextLabel")
- TextLabel32 = Instance.new("TextLabel")
- TextLabel33 = Instance.new("TextLabel")
- Frame34 = Instance.new("Frame")
- LocalScript35 = Instance.new("LocalScript")
- LocalScript36 = Instance.new("LocalScript")
- LocalScript37 = Instance.new("LocalScript")
- Model38 = Instance.new("Model")
- Part39 = Instance.new("Part")
- SpecialMesh40 = Instance.new("SpecialMesh")
- Weld41 = Instance.new("Weld")
- Part42 = Instance.new("Part")
- SpecialMesh43 = Instance.new("SpecialMesh")
- Weld44 = Instance.new("Weld")
- Part45 = Instance.new("Part")
- SpecialMesh46 = Instance.new("SpecialMesh")
- Weld47 = Instance.new("Weld")
- Part48 = Instance.new("Part")
- SpecialMesh49 = Instance.new("SpecialMesh")
- Weld50 = Instance.new("Weld")
- Part51 = Instance.new("Part")
- SpecialMesh52 = Instance.new("SpecialMesh")
- Weld53 = Instance.new("Weld")
- Part54 = Instance.new("Part")
- SpecialMesh55 = Instance.new("SpecialMesh")
- Weld56 = Instance.new("Weld")
- Part57 = Instance.new("Part")
- ParticleEmitter58 = Instance.new("ParticleEmitter")
- ScreenGui0.Name = "Eldrich_Gui"
- ScreenGui0.Parent = mas
- Frame1.Name = "GenStats"
- Frame1.Parent = ScreenGui0
- Frame1.Transparency = 1
- Frame1.Size = UDim2.new(0.899999976, 0, 0.899999976, 0)
- Frame1.Position = UDim2.new(0.100000001, 0, 0.100000001, 0)
- Frame1.BackgroundColor3 = Color3.new(0.164706, 0.164706, 0.164706)
- Frame1.BackgroundTransparency = 1
- Frame1.BorderSizePixel = 0
- Frame2.Name = "Attacks"
- Frame2.Parent = Frame1
- Frame2.Transparency = 1
- Frame2.Size = UDim2.new(1, 0, 1, 0)
- Frame2.BackgroundColor3 = Color3.new(1, 1, 1)
- Frame2.BackgroundTransparency = 1
- Frame3.Name = "Attack4"
- Frame3.Parent = Frame2
- Frame3.Size = UDim2.new(0.224999994, 0, 0.075000003, 0)
- Frame3.Position = UDim2.new(0.764999986, 0, 0.910000026, 0)
- Frame3.BackgroundColor3 = Color3.new(0, 0, 0)
- Frame3.BorderSizePixel = 0
- TextLabel4.Name = "AttackLabel"
- TextLabel4.Parent = Frame3
- TextLabel4.Transparency = 1
- TextLabel4.Size = UDim2.new(0.75, 0, 0.600000024, 0)
- TextLabel4.Text = "ATTACK"
- TextLabel4.Position = UDim2.new(0, 0, 0.25, 0)
- TextLabel4.BackgroundColor3 = Color3.new(1, 1, 1)
- TextLabel4.BackgroundTransparency = 1
- TextLabel4.BorderSizePixel = 0
- TextLabel4.ZIndex = 3
- TextLabel4.Font = Enum.Font.Arial
- TextLabel4.FontSize = Enum.FontSize.Size14
- TextLabel4.TextColor3 = Color3.new(1, 1, 1)
- TextLabel4.TextScaled = true
- TextLabel4.TextWrapped = true
- TextLabel4.TextYAlignment = Enum.TextYAlignment.Top
- TextLabel5.Name = "EnergyLabel"
- TextLabel5.Parent = Frame3
- TextLabel5.Transparency = 1
- TextLabel5.Size = UDim2.new(0.25, 0, 0.400000006, 0)
- TextLabel5.Text = "25 Energy"
- TextLabel5.Position = UDim2.new(0.725000024, 0, 0.5, 0)
- TextLabel5.BackgroundColor3 = Color3.new(1, 1, 1)
- TextLabel5.BackgroundTransparency = 1
- TextLabel5.BorderSizePixel = 0
- TextLabel5.ZIndex = 3
- TextLabel5.Font = Enum.Font.Cartoon
- TextLabel5.FontSize = Enum.FontSize.Size14
- TextLabel5.TextColor3 = Color3.new(1, 1, 1)
- TextLabel5.TextScaled = true
- TextLabel5.TextWrapped = true
- TextLabel6.Name = "KeyLabel"
- TextLabel6.Parent = Frame3
- TextLabel6.Transparency = 1
- TextLabel6.Size = UDim2.new(0.25, 0, 0.400000006, 0)
- TextLabel6.Text = "(F)"
- TextLabel6.Position = UDim2.new(0.725000024, 0, 0.100000001, 0)
- TextLabel6.BackgroundColor3 = Color3.new(1, 1, 1)
- TextLabel6.BackgroundTransparency = 1
- TextLabel6.BorderSizePixel = 0
- TextLabel6.ZIndex = 3
- TextLabel6.Font = Enum.Font.Cartoon
- TextLabel6.FontSize = Enum.FontSize.Size14
- TextLabel6.TextColor3 = Color3.new(1, 1, 1)
- TextLabel6.TextScaled = true
- TextLabel6.TextWrapped = true
- Frame7.Name = "Reload"
- Frame7.Parent = Frame3
- Frame7.Transparency = 0.30000001192093
- Frame7.Size = UDim2.new(1, 0, 1, 0)
- Frame7.BackgroundColor3 = Color3.new(0.164706, 0.164706, 0.164706)
- Frame7.BackgroundTransparency = 0.30000001192093
- Frame7.BorderSizePixel = 0
- Frame7.ZIndex = 2
- Frame8.Name = "Attack3"
- Frame8.Parent = Frame2
- Frame8.Size = UDim2.new(0.224999994, 0, 0.075000003, 0)
- Frame8.Position = UDim2.new(0.764999986, 0, 0.819999993, 0)
- Frame8.BackgroundColor3 = Color3.new(0, 0, 0)
- Frame8.BorderSizePixel = 0
- TextLabel9.Name = "AttackLabel"
- TextLabel9.Parent = Frame8
- TextLabel9.Transparency = 1
- TextLabel9.Size = UDim2.new(0.75, 0, 0.600000024, 0)
- TextLabel9.Text = "ATTACK"
- TextLabel9.Position = UDim2.new(0, 0, 0.25, 0)
- TextLabel9.BackgroundColor3 = Color3.new(1, 1, 1)
- TextLabel9.BackgroundTransparency = 1
- TextLabel9.BorderSizePixel = 0
- TextLabel9.ZIndex = 3
- TextLabel9.Font = Enum.Font.Arial
- TextLabel9.FontSize = Enum.FontSize.Size14
- TextLabel9.TextColor3 = Color3.new(1, 1, 1)
- TextLabel9.TextScaled = true
- TextLabel9.TextWrapped = true
- TextLabel9.TextYAlignment = Enum.TextYAlignment.Top
- TextLabel10.Name = "EnergyLabel"
- TextLabel10.Parent = Frame8
- TextLabel10.Transparency = 1
- TextLabel10.Size = UDim2.new(0.25, 0, 0.400000006, 0)
- TextLabel10.Text = "25 Energy"
- TextLabel10.Position = UDim2.new(0.725000024, 0, 0.5, 0)
- TextLabel10.BackgroundColor3 = Color3.new(1, 1, 1)
- TextLabel10.BackgroundTransparency = 1
- TextLabel10.BorderSizePixel = 0
- TextLabel10.ZIndex = 3
- TextLabel10.Font = Enum.Font.Cartoon
- TextLabel10.FontSize = Enum.FontSize.Size14
- TextLabel10.TextColor3 = Color3.new(1, 1, 1)
- TextLabel10.TextScaled = true
- TextLabel10.TextWrapped = true
- TextLabel11.Name = "KeyLabel"
- TextLabel11.Parent = Frame8
- TextLabel11.Transparency = 1
- TextLabel11.Size = UDim2.new(0.25, 0, 0.400000006, 0)
- TextLabel11.Text = "(R)"
- TextLabel11.Position = UDim2.new(0.725000024, 0, 0.100000001, 0)
- TextLabel11.BackgroundColor3 = Color3.new(1, 1, 1)
- TextLabel11.BackgroundTransparency = 1
- TextLabel11.BorderSizePixel = 0
- TextLabel11.ZIndex = 3
- TextLabel11.Font = Enum.Font.Cartoon
- TextLabel11.FontSize = Enum.FontSize.Size14
- TextLabel11.TextColor3 = Color3.new(1, 1, 1)
- TextLabel11.TextScaled = true
- TextLabel11.TextWrapped = true
- Frame12.Name = "Reload"
- Frame12.Parent = Frame8
- Frame12.Transparency = 0.30000001192093
- Frame12.Size = UDim2.new(1, 0, 1, 0)
- Frame12.BackgroundColor3 = Color3.new(0.164706, 0.164706, 0.164706)
- Frame12.BackgroundTransparency = 0.30000001192093
- Frame12.BorderSizePixel = 0
- Frame12.ZIndex = 2
- Frame13.Name = "Attack2"
- Frame13.Parent = Frame2
- Frame13.Size = UDim2.new(0.224999994, 0, 0.075000003, 0)
- Frame13.Position = UDim2.new(0.764999986, 0, 0.730000019, 0)
- Frame13.BackgroundColor3 = Color3.new(0, 0, 0)
- Frame13.BorderSizePixel = 0
- TextLabel14.Name = "AttackLabel"
- TextLabel14.Parent = Frame13
- TextLabel14.Transparency = 1
- TextLabel14.Size = UDim2.new(0.75, 0, 0.600000024, 0)
- TextLabel14.Text = "ATTACK"
- TextLabel14.Position = UDim2.new(0, 0, 0.25, 0)
- TextLabel14.BackgroundColor3 = Color3.new(1, 1, 1)
- TextLabel14.BackgroundTransparency = 1
- TextLabel14.BorderSizePixel = 0
- TextLabel14.ZIndex = 3
- TextLabel14.Font = Enum.Font.Arial
- TextLabel14.FontSize = Enum.FontSize.Size14
- TextLabel14.TextColor3 = Color3.new(1, 1, 1)
- TextLabel14.TextScaled = true
- TextLabel14.TextWrapped = true
- TextLabel14.TextYAlignment = Enum.TextYAlignment.Top
- TextLabel15.Name = "EnergyLabel"
- TextLabel15.Parent = Frame13
- TextLabel15.Transparency = 1
- TextLabel15.Size = UDim2.new(0.25, 0, 0.400000006, 0)
- TextLabel15.Text = "25 Energy"
- TextLabel15.Position = UDim2.new(0.725000024, 0, 0.5, 0)
- TextLabel15.BackgroundColor3 = Color3.new(1, 1, 1)
- TextLabel15.BackgroundTransparency = 1
- TextLabel15.BorderSizePixel = 0
- TextLabel15.ZIndex = 3
- TextLabel15.Font = Enum.Font.Cartoon
- TextLabel15.FontSize = Enum.FontSize.Size14
- TextLabel15.TextColor3 = Color3.new(1, 1, 1)
- TextLabel15.TextScaled = true
- TextLabel15.TextWrapped = true
- Frame16.Name = "Reload"
- Frame16.Parent = Frame13
- Frame16.Transparency = 0.30000001192093
- Frame16.Size = UDim2.new(1, 0, 1, 0)
- Frame16.BackgroundColor3 = Color3.new(0.164706, 0.164706, 0.164706)
- Frame16.BackgroundTransparency = 0.30000001192093
- Frame16.BorderSizePixel = 0
- Frame16.ZIndex = 2
- TextLabel17.Name = "KeyLabel"
- TextLabel17.Parent = Frame13
- TextLabel17.Transparency = 1
- TextLabel17.Size = UDim2.new(0.25, 0, 0.400000006, 0)
- TextLabel17.Text = "(E)"
- TextLabel17.Position = UDim2.new(0.725000024, 0, 0.100000001, 0)
- TextLabel17.BackgroundColor3 = Color3.new(1, 1, 1)
- TextLabel17.BackgroundTransparency = 1
- TextLabel17.BorderSizePixel = 0
- TextLabel17.ZIndex = 3
- TextLabel17.Font = Enum.Font.Cartoon
- TextLabel17.FontSize = Enum.FontSize.Size14
- TextLabel17.TextColor3 = Color3.new(1, 1, 1)
- TextLabel17.TextScaled = true
- TextLabel17.TextWrapped = true
- Frame18.Name = "Attack1"
- Frame18.Parent = Frame2
- Frame18.Size = UDim2.new(0.224999994, 0, 0.075000003, 0)
- Frame18.Position = UDim2.new(0.764999986, 0, 0.639999986, 0)
- Frame18.BackgroundColor3 = Color3.new(0, 0, 0)
- Frame18.BorderSizePixel = 0
- TextLabel19.Name = "AttackLabel"
- TextLabel19.Parent = Frame18
- TextLabel19.Transparency = 1
- TextLabel19.Size = UDim2.new(0.75, 0, 0.600000024, 0)
- TextLabel19.Text = "ATTACK"
- TextLabel19.Position = UDim2.new(0, 0, 0.25, 0)
- TextLabel19.BackgroundColor3 = Color3.new(1, 1, 1)
- TextLabel19.BackgroundTransparency = 1
- TextLabel19.BorderSizePixel = 0
- TextLabel19.ZIndex = 3
- TextLabel19.Font = Enum.Font.Arial
- TextLabel19.FontSize = Enum.FontSize.Size14
- TextLabel19.TextColor3 = Color3.new(1, 1, 1)
- TextLabel19.TextScaled = true
- TextLabel19.TextWrapped = true
- TextLabel19.TextYAlignment = Enum.TextYAlignment.Top
- TextLabel20.Name = "EnergyLabel"
- TextLabel20.Parent = Frame18
- TextLabel20.Transparency = 1
- TextLabel20.Size = UDim2.new(0.25, 0, 0.400000006, 0)
- TextLabel20.Text = "25 Energy"
- TextLabel20.Position = UDim2.new(0.725000024, 0, 0.5, 0)
- TextLabel20.BackgroundColor3 = Color3.new(1, 1, 1)
- TextLabel20.BackgroundTransparency = 1
- TextLabel20.BorderSizePixel = 0
- TextLabel20.ZIndex = 3
- TextLabel20.Font = Enum.Font.Cartoon
- TextLabel20.FontSize = Enum.FontSize.Size14
- TextLabel20.TextColor3 = Color3.new(1, 1, 1)
- TextLabel20.TextScaled = true
- TextLabel20.TextWrapped = true
- Frame21.Name = "Reload"
- Frame21.Parent = Frame18
- Frame21.Transparency = 0.30000001192093
- Frame21.Size = UDim2.new(1, 0, 1, 0)
- Frame21.BackgroundColor3 = Color3.new(0.164706, 0.164706, 0.164706)
- Frame21.BackgroundTransparency = 0.30000001192093
- Frame21.BorderSizePixel = 0
- Frame21.ZIndex = 2
- TextLabel22.Name = "KeyLabel"
- TextLabel22.Parent = Frame18
- TextLabel22.Transparency = 1
- TextLabel22.Size = UDim2.new(0.25, 0, 0.400000006, 0)
- TextLabel22.Text = "(Q)"
- TextLabel22.Position = UDim2.new(0.725000024, 0, 0.100000001, 0)
- TextLabel22.BackgroundColor3 = Color3.new(1, 1, 1)
- TextLabel22.BackgroundTransparency = 1
- TextLabel22.BorderSizePixel = 0
- TextLabel22.ZIndex = 3
- TextLabel22.Font = Enum.Font.Cartoon
- TextLabel22.FontSize = Enum.FontSize.Size14
- TextLabel22.TextColor3 = Color3.new(1, 1, 1)
- TextLabel22.TextScaled = true
- TextLabel22.TextWrapped = true
- Frame23.Name = "Energy"
- Frame23.Parent = Frame1
- Frame23.Size = UDim2.new(0.224999994, 0, 0.0250000004, 0)
- Frame23.Position = UDim2.new(0.764999986, 0, 0.564999998, 0)
- Frame23.BackgroundColor3 = Color3.new(0, 0, 0)
- Frame23.BorderColor3 = Color3.new(0, 0, 0)
- Frame23.BorderSizePixel = 2
- TextLabel24.Name = "Number"
- TextLabel24.Parent = Frame23
- TextLabel24.Transparency = 1
- TextLabel24.Size = UDim2.new(1, 0, 1, 0)
- TextLabel24.Text = "Loading..."
- TextLabel24.Active = true
- TextLabel24.BackgroundColor3 = Color3.new(1, 1, 1)
- TextLabel24.BackgroundTransparency = 1
- TextLabel24.BorderSizePixel = 0
- TextLabel24.ZIndex = 5
- TextLabel24.Font = Enum.Font.ArialBold
- TextLabel24.FontSize = Enum.FontSize.Size32
- TextLabel24.TextColor3 = Color3.new(0.952941, 0.94902, 0.94902)
- TextLabel24.TextScaled = true
- TextLabel24.TextStrokeTransparency = 0
- TextLabel24.TextWrapped = true
- Frame25.Name = "Reload"
- Frame25.Parent = Frame23
- Frame25.Transparency = 0.30000001192093
- Frame25.Size = UDim2.new(1, 0, 1, 0)
- Frame25.BackgroundColor3 = Color3.new(0.164706, 0.164706, 0.164706)
- Frame25.BackgroundTransparency = 0.30000001192093
- Frame25.BorderColor3 = Color3.new(0.164706, 0.164706, 0.164706)
- Frame25.BorderSizePixel = 2
- Frame25.ZIndex = 2
- TextLabel26.Name = "Label"
- TextLabel26.Parent = Frame23
- TextLabel26.Transparency = 1
- TextLabel26.Size = UDim2.new(1, 0, 0.899999976, 0)
- TextLabel26.Text = "Energy (1/s)"
- TextLabel26.Position = UDim2.new(0.00999999978, 0, 0.0500000007, 0)
- TextLabel26.Visible = false
- TextLabel26.BackgroundColor3 = Color3.new(1, 1, 1)
- TextLabel26.BackgroundTransparency = 1
- TextLabel26.BorderSizePixel = 0
- TextLabel26.ZIndex = 3
- TextLabel26.Font = Enum.Font.ArialBold
- TextLabel26.FontSize = Enum.FontSize.Size32
- TextLabel26.TextColor3 = Color3.new(1, 1, 1)
- TextLabel26.TextScaled = true
- TextLabel26.TextWrapped = true
- TextLabel26.TextXAlignment = Enum.TextXAlignment.Left
- TextLabel27.Name = "Bar2"
- TextLabel27.Parent = Frame23
- TextLabel27.Size = UDim2.new(1, 0, 0.5, 0)
- TextLabel27.Text = ""
- TextLabel27.Position = UDim2.new(0, 0, 0.5, 0)
- TextLabel27.BackgroundColor3 = Color3.new(1, 0.521569, 0.0392157)
- TextLabel27.BorderSizePixel = 0
- TextLabel27.ZIndex = 4
- TextLabel27.Font = Enum.Font.SourceSans
- TextLabel27.FontSize = Enum.FontSize.Size14
- TextLabel28.Name = "Bar"
- TextLabel28.Parent = Frame23
- TextLabel28.Size = UDim2.new(1, 0, 1, 0)
- TextLabel28.Text = ""
- TextLabel28.BackgroundColor3 = Color3.new(1, 0.666667, 0)
- TextLabel28.BorderSizePixel = 0
- TextLabel28.ZIndex = 3
- TextLabel28.Font = Enum.Font.SourceSans
- TextLabel28.FontSize = Enum.FontSize.Size14
- Frame29.Name = "Health"
- Frame29.Parent = Frame1
- Frame29.Size = UDim2.new(0.224999994, 0, 0.0250000004, 0)
- Frame29.Position = UDim2.new(0.764999986, 0, 0.601999998, 0)
- Frame29.BackgroundColor3 = Color3.new(0, 0, 0)
- Frame29.BorderColor3 = Color3.new(0, 0, 0)
- Frame29.BorderSizePixel = 2
- TextLabel30.Name = "Bar"
- TextLabel30.Parent = Frame29
- TextLabel30.Size = UDim2.new(1, 0, 1, 0)
- TextLabel30.Text = ""
- TextLabel30.BackgroundColor3 = Color3.new(0.341176, 1, 0.329412)
- TextLabel30.BorderSizePixel = 0
- TextLabel30.ZIndex = 3
- TextLabel30.Font = Enum.Font.SourceSans
- TextLabel30.FontSize = Enum.FontSize.Size14
- TextLabel31.Name = "Number"
- TextLabel31.Parent = Frame29
- TextLabel31.Transparency = 1
- TextLabel31.Size = UDim2.new(1, 0, 1, 0)
- TextLabel31.Text = "Loading..."
- TextLabel31.Active = true
- TextLabel31.BackgroundColor3 = Color3.new(1, 1, 1)
- TextLabel31.BackgroundTransparency = 1
- TextLabel31.BorderSizePixel = 0
- TextLabel31.ZIndex = 10
- TextLabel31.Font = Enum.Font.ArialBold
- TextLabel31.FontSize = Enum.FontSize.Size32
- TextLabel31.TextColor3 = Color3.new(0.952941, 0.94902, 0.94902)
- TextLabel31.TextScaled = true
- TextLabel31.TextStrokeTransparency = 0
- TextLabel31.TextWrapped = true
- TextLabel32.Name = "Label"
- TextLabel32.Parent = Frame29
- TextLabel32.Transparency = 1
- TextLabel32.Size = UDim2.new(1, 0, 0.899999976, 0)
- TextLabel32.Text = "Health (1.32/s)"
- TextLabel32.Position = UDim2.new(0.00999999978, 0, 0.0500000007, 0)
- TextLabel32.Visible = false
- TextLabel32.BackgroundColor3 = Color3.new(1, 1, 1)
- TextLabel32.BackgroundTransparency = 1
- TextLabel32.BorderSizePixel = 0
- TextLabel32.ZIndex = 3
- TextLabel32.Font = Enum.Font.ArialBold
- TextLabel32.FontSize = Enum.FontSize.Size32
- TextLabel32.TextColor3 = Color3.new(1, 1, 1)
- TextLabel32.TextScaled = true
- TextLabel32.TextWrapped = true
- TextLabel32.TextXAlignment = Enum.TextXAlignment.Left
- TextLabel33.Name = "Bar2"
- TextLabel33.Parent = Frame29
- TextLabel33.Size = UDim2.new(1, 0, 0.5, 0)
- TextLabel33.Text = ""
- TextLabel33.Position = UDim2.new(0, 0, 0.5, 0)
- TextLabel33.BackgroundColor3 = Color3.new(0.290196, 0.796079, 0.254902)
- TextLabel33.BorderSizePixel = 0
- TextLabel33.ZIndex = 3
- TextLabel33.Font = Enum.Font.SourceSans
- TextLabel33.FontSize = Enum.FontSize.Size14
- Frame34.Name = "Reload"
- Frame34.Parent = Frame29
- Frame34.Transparency = 0.30000001192093
- Frame34.Size = UDim2.new(1, 0, 1, 0)
- Frame34.BackgroundColor3 = Color3.new(0.164706, 0.164706, 0.164706)
- Frame34.BackgroundTransparency = 0.30000001192093
- Frame34.BorderColor3 = Color3.new(0.164706, 0.164706, 0.164706)
- Frame34.BorderSizePixel = 2
- Frame34.ZIndex = 2
- LocalScript35.Name = "StatValues"
- LocalScript35.Parent = ScreenGui0
- table.insert(cors,sandbox(LocalScript35,function()
- plr = game.Players.LocalPlayer
- char = plr.Character
- humanoid = char.Humanoid
- cstats = char:WaitForChild("CharStats")
- function newValue(parent, value, basevalue, name)
- local v = Instance.new(value, parent)
- v.Value = basevalue
- v.Name = name
- return v
- end
- attack = newValue(cstats, "NumberValue", 1, "Attack")
- defense = newValue(cstats, "NumberValue", 1, "Defense")
- speed = newValue(cstats, "NumberValue", 1, "Speed")
- burnresist = newValue(cstats, "IntValue", 0, "BurnResist")
- iceresist = newValue(cstats, "IntValue", 0, "IceResist")
- stunresist = newValue(cstats, "IntValue", 0, "StunResist")
- venomresist = newValue(cstats, "IntValue", 0, "VenomResist")
- burntime = newValue(cstats, "IntValue", 0, "BurnTime")
- icetime = newValue(cstats, "IntValue", 0, "IceTime")
- stuntime = newValue(cstats, "IntValue", 0, "StunTime")
- venomtime = newValue(cstats, "IntValue", 0, "VenomTime")
- attack.Value = 1
- defense.Value = 0.9
- speed.Value = 1.1
- function round(num)
- local a, b = math.modf(num)
- if num % 1 ~= 0 then
- return math.floor(num) + math.floor(b * 10) / 10
- else
- return math.floor(num)
- end
- end
- function newFrame(parent, trans, size1, pos, name, color3)
- local f = Instance.new("Frame", parent)
- if color3 then
- f.BackgroundColor3 = color3
- end
- f.BackgroundTransparency = trans
- f.BorderSizePixel = 0
- f.Size = size1
- f.Position = pos
- f.Name = name
- return f
- end
- function newLabel(parent, trans, size1, pos, name, color3, text1, font, fontsize, alignment, scaled)
- local b = Instance.new("TextLabel", parent)
- b.BackgroundTransparency = trans
- b.BorderSizePixel = 0
- b.Size = size1
- b.Position = pos
- b.Name = name
- b.Text = text1
- b.TextStrokeColor3 = Color3.new(0, 0, 0)
- b.TextStrokeTransparency = 0
- if fontsize then
- b.FontSize = fontsize
- end
- if font then
- b.Font = font
- end
- if alignment then
- b.TextXAlignment = alignment
- end
- if color3 then
- b.TextColor3 = color3
- end
- if scaled then
- b.TextScaled = scaled
- end
- return b
- end
- g = script.Parent
- gs = newFrame(g.GenStats, 1, UDim2.new(0.7, 0, 0.8, 0), UDim2.new(-0.045, 0, 0.225, 0), "Stats")
- newFrame(gs, 1, UDim2.new(0.09, 0, 0.1, 0), UDim2.new(-0.08, 0, 0.63, 0), "Attack")
- newFrame(gs, 1, UDim2.new(0.09, 0, 0.1, 0), UDim2.new(-0.08, 0, 0.74, 0), "Defense")
- newFrame(gs, 1, UDim2.new(0.09, 0, 0.1, 0), UDim2.new(-0.08, 0, 0.85, 0), "Speed")
- newFrame(gs.Attack, 0, UDim2.new(1, 0, 1, 0), UDim2.new(0, 0, 0, 0), "Back", Color3.fromRGB(42, 42, 42))
- newFrame(gs.Defense, 0, UDim2.new(1, 0, 1, 0), UDim2.new(0, 0, 0, 0), "Back", Color3.fromRGB(42, 42, 42))
- newFrame(gs.Speed, 0, UDim2.new(1, 0, 1, 0), UDim2.new(0, 0, 0, 0), "Back", Color3.fromRGB(42, 42, 42))
- newLabel(gs.Attack, 1, UDim2.new(0.9, 0, 0.45, 0), UDim2.new(0.05, 0, 0.45, 0), "Amount", Color3.fromRGB(242, 243, 243), "1", "SourceSans", "Size18", "Center", false)
- newLabel(gs.Defense, 1, UDim2.new(0.9, 0, 0.45, 0), UDim2.new(0.05, 0, 0.45, 0), "Amount", Color3.fromRGB(242, 243, 243), "1", "SourceSans", "Size18", "Center", false)
- newLabel(gs.Speed, 1, UDim2.new(0.9, 0, 0.45, 0), UDim2.new(0.05, 0, 0.45, 0), "Amount", Color3.fromRGB(242, 243, 243), "1", "SourceSans", "Size18", "Center", false)
- newLabel(gs.Attack, 1, UDim2.new(0.3, 0, 0.2, 0), UDim2.new(0.35, 0, 0.25, 0), "StatLabel", Color3.fromRGB(242, 243, 243), "Attack", "SourceSans", "Size18", "Center", false)
- newLabel(gs.Defense, 1, UDim2.new(0.3, 0, 0.2, 0), UDim2.new(0.35, 0, 0.25, 0), "StatLabel", Color3.fromRGB(242, 243, 243), "Defense", "SourceSans", "Size18", "Center", false)
- newLabel(gs.Speed, 1, UDim2.new(0.3, 0, 0.2, 0), UDim2.new(0.35, 0, 0.25, 0), "StatLabel", Color3.fromRGB(242, 243, 243), "Speed", "SourceSans", "Size18", "Center", false)
- spawn(function()
- while true do
- gs.Attack.Amount.Text = attack.Value
- if attack.Value < 0 then
- gs.Attack.Amount.Text = 0
- end
- gs.Defense.Amount.Text = defense.Value
- if 0 > defense.Value then
- gs.Defense.Amount.Text = 0
- end
- gs.Speed.Amount.Text = speed.Value
- humanoid.WalkSpeed = 16 * speed.Value
- if 0 > speed.Value then
- gs.Speed.Amount.Text = 0
- end
- game:GetService("RunService").RenderStepped:wait()
- end
- end)
- end))
- LocalScript36.Name = "HealthEnergyScript"
- LocalScript36.Parent = ScreenGui0
- table.insert(cors,sandbox(LocalScript36,function()
- wait(0.2)
- local plr = owner
- repeat
- wait()
- until plr.Character and plr.Character:WaitForChild("Torso") and plr.Character:WaitForChild("Humanoid")
- local char = plr.Character
- local torso = char.Torso
- local humanoid = char.Humanoid
- local health = humanoid.Health
- local statsFolder = Instance.new("Folder", char)
- statsFolder.Name = "CharStats"
- local g = script.Parent
- local gf = g.GenStats
- local HealthFrame = gf.Health
- local AttacksFrame = gf.Attacks
- local EnergyFrame = gf.Energy
- local attacking = statsFolder:WaitForChild("Attacking")
- char:WaitForChild("Health"):remove()
- local healthRate = Instance.new("NumberValue", statsFolder)
- healthRate.Name = "HealthRate"
- healthRate.Value = 1.32
- local regenRate = Instance.new("NumberValue", statsFolder)
- regenRate.Name = "RegenRate"
- regenRate.Value = 1
- local energy = Instance.new("NumberValue", statsFolder)
- energy.Name = "EnergyAmount"
- energy.Value = 200
- local energyRegen = Instance.new("NumberValue", statsFolder)
- energyRegen.Name = "EnergyRegen"
- energyRegen.Value = 1
- local eRegenDelay = Instance.new("NumberValue", statsFolder)
- eRegenDelay.Name = "EnergyRegenDelay"
- eRegenDelay.Value = 0.2
- local energyMax = Instance.new("IntValue", statsFolder)
- energyMax.Name = "EnergyMax"
- energyMax.Value = 200
- function round(num)
- local a, b = math.modf(num)
- if num % 1 ~= 0 then
- return math.floor(num) + math.floor(b * 10 + 0.5) / 10
- else
- return math.floor(num)
- end
- end
- HealthFrame.Label.Text = "Health (" .. healthRate.Value / regenRate.Value .. "/s)"
- coroutine.resume(coroutine.create(function()
- while wait(regenRate.Value) do
- if humanoid.Health <= 0 then
- humanoid.Health = 0
- break
- elseif humanoid.Health > 0 then
- humanoid.Health = humanoid.Health + healthRate.Value
- end
- end
- end))
- healthRate.Changed:connect(function()
- HealthFrame.Label.Text = "Health (" .. healthRate.Value / regenRate.Value .. "/s)"
- end)
- local healthText = HealthFrame.Number
- healthText.Text = round(health)
- humanoid.Changed:connect(function()
- local currentHealth = humanoid.Health
- local change = math.abs(health - currentHealth)
- healthText.Text = round(currentHealth)
- HealthFrame.Bar:TweenSize(UDim2.new(1 / humanoid.MaxHealth * currentHealth, 0, 1, 0), "InOut", "Linear", 0.05)
- HealthFrame.Bar2:TweenSize(UDim2.new(1 / humanoid.MaxHealth * currentHealth, 0, 0.5, 0), "InOut", "Linear", 0.05)
- if health <= 0.4 * humanoid.MaxHealth and health > 0.2 * humanoid.MaxHealth then
- HealthFrame.Bar.BackgroundColor3 = Color3.fromRGB(255, 255, 0)
- HealthFrame.Bar2.BackgroundColor3 = Color3.fromRGB(255, 209, 23)
- elseif health <= 0.2 * humanoid.MaxHealth then
- HealthFrame.Bar.BackgroundColor3 = Color3.fromRGB(255, 0, 0)
- HealthFrame.Bar2.BackgroundColor3 = Color3.fromRGB(182, 0, 0)
- else
- HealthFrame.Bar.BackgroundColor3 = Color3.fromRGB(87, 255, 64)
- HealthFrame.Bar2.BackgroundColor3 = Color3.fromRGB(74, 203, 65)
- end
- health = humanoid.Health
- end)
- local energynum = EnergyFrame.Number
- energynum.Text = energy.Value
- local ebar1 = EnergyFrame.Bar
- local ebar2 = EnergyFrame.Bar2
- coroutine.resume(coroutine.create(function()
- while wait() do
- if statsFolder:findFirstChild("Attacking").Value == false then
- if energy.Value < energyMax.Value then
- repeat
- wait(eRegenDelay.Value)
- energy.Value = energy.Value + energyRegen.Value
- until energy.Value >= energyMax.Value
- end
- if energy.Value > energyMax.Value then
- energy.Value = energyMax.Value
- repeat
- wait()
- until energy.Value < energyMax.Value
- end
- end
- end
- end))
- energy.Changed:connect(function()
- energynum.Text = energy.Value
- ebar1:TweenSize(UDim2.new(energy.Value / energyMax.Value, 0, 1, 0), "InOut", "Linear", 0.05)
- ebar2:TweenSize(UDim2.new(energy.Value / energyMax.Value, 0, 0.5, 0), "InOut", "Linear", 0.05)
- end)
- end))
- LocalScript37.Name = "MainScript"
- LocalScript37.Parent = ScreenGui0
- table.insert(cors,sandbox(LocalScript37,function()
- local N_A1_Name = "First Chapter"
- local N_A2_Name = "Crescendo"
- local N_A3_Name = "Storyteller"
- local N_A4_Name = "Plot Twist"
- local U_A1_Name = "Dark Meaning"
- local U_A2_Name = "Diminuendo"
- local U_A3_Name = "Heartbreaker"
- local U_A4_Name = "The End"
- local Attack1Energy = 50
- local Attack2Energy = 50
- local Attack3Energy = 50
- local Attack4Energy = 50
- local main_color = BrickColor.new("Cool yellow")
- local main_color2 = BrickColor.new("Dark indigo")
- local combo_knee_dam, ckd2 = 6, 8, 9
- local combo_punch_dam, cpd2 = 8, 9
- local combo_triple_dam, ctd2 = 9, 11
- local lecture_range = 25
- local lecture_duration = 10
- local lecture_heal = 25
- local climax_damage, clmx2 = 4, 6
- local story_damage, strd2 = 10, 12
- wait(0.1)
- local twistedmode = false
- math.randomseed(tick())
- local plr = game.Players.LocalPlayer
- local uis = game:GetService("UserInputService")
- local basic = (function()
- local _ = {}
- function round(num)
- local a, b = math.modf(num)
- if num % 1 ~= 0 then
- return math.floor(num) + math.floor(b * 10) / 10
- else
- return math.floor(num)
- end
- end
- local StopMove = function(parent, pos)
- local bp = Instance.new("BodyPosition", parent)
- bp.MaxForce = Vector3.new(math.huge, 0, math.huge)
- bp.Position = pos
- return bp
- end
- function guieffect(parent, vhum, damage, colour, text, div)
- local damagepart = Instance.new("Part", parent)
- damagepart.Transparency = 1
- damagepart.Anchored = true
- damagepart.CanCollide = false
- damagepart.Size = Vector3.new(1, 1, 1)
- damagepart.Name = "DamagePart"
- damagepart.CFrame = vhum.Parent.Head.CFrame * CFrame.new(0, 1, 0)
- local g = Instance.new("BillboardGui", damagepart)
- g.Enabled = true
- g.Adornee = damagepart
- g.Size = UDim2.new(5, 0, 5, 0)
- g.ExtentsOffset = Vector3.new(0, 0, 0)
- g.StudsOffset = Vector3.new(0, 0, 0)
- local t = Instance.new("TextLabel", g)
- t.BackgroundTransparency = 1
- t.Font = "SourceSansBold"
- t.FontSize = "Size24"
- if text == nil then
- t.Text = damage
- elseif text ~= nil then
- t.Text = text
- end
- t.Size = UDim2.new(1, 0, 1, 0)
- t.TextStrokeTransparency = 0
- t.TextTransparency = 0
- t.TextScaled = true
- t.TextWrapped = true
- t.TextXAlignment = "Center"
- t.TextYAlignment = "Center"
- t.TextColor3 = colour
- coroutine.resume(coroutine.create(function()
- for i = 1, 50 do
- game:GetService("RunService").Heartbeat:wait()
- local sinewave = math.sin(i / 500) * 4
- if div then
- sinewave = 0.3
- end
- damagepart.CFrame = damagepart.CFrame * CFrame.new(Vector3.new(0, 0.3 - sinewave, 0))
- t.TextTransparency = t.TextTransparency + 0.02
- t.TextTransparency = t.TextStrokeTransparency + 0.02
- end
- damagepart:Destroy()
- end), t)
- end
- function check(vhum, plrchar, dmg)
- if vhum.Parent.Head:FindFirstChild(plrchar.Name) then
- local value = vhum.Parent.Head:findFirstChild(plrchar.Name)
- value.Value = value.Value + math.ceil(dmg - 0.5)
- else
- local new = Instance.new("IntValue")
- new.Name = plrchar.Name
- new.Parent = vhum.Parent.Head
- new.Value = dmg
- end
- end
- function _.Knockback(vtors, plrchar, velocity, duration, name)
- local plrhead = plrchar.Head
- local enemply = game.Players:GetPlayerFromCharacter(vtors.Parent)
- local baseply = game.Players:GetPlayerFromCharacter(plrchar)
- if enemply and baseply and enemply.TeamColor == baseply.TeamColor and enemply.Neutral == false then
- return
- end
- local bv = Instance.new("BodyVelocity")
- bv.P = 1250
- bv.MaxForce = Vector3.new(math.huge, math.huge, math.huge)
- bv.Velocity = velocity
- if name then
- bv.Name = name
- for i, v in ipairs(vtors:GetChildren()) do
- if v.Name == name then
- return
- end
- end
- end
- bv.Parent = vtors
- spawn(function()
- wait(duration)
- bv:Destroy()
- end)
- end
- function _.Burn(parent, vhum, damage, colour, loops)
- if not (vhum and vhum.Parent:FindFirstChild("Humanoid")) or vhum.Health <= 0 then
- return
- end
- local plrchar = parent.Parent
- local plrhead = plrchar.Head
- local enemply = game.Players:GetPlayerFromCharacter(vhum.Parent)
- local baseply = game.Players:GetPlayerFromCharacter(plrchar)
- if enemply and baseply and enemply.TeamColor == baseply.TeamColor and enemply.Neutral == false and baseply.Neutral == false then
- return
- end
- if vhum.Parent:FindFirstChild("CharStats") then
- do
- local enemstats = vhum.Parent:FindFirstChild("CharStats")
- local localdamage = damage * (plrchar.CharStats.Attack.Value / 1) / vhum.Parent.CharStats.Defense.Value
- local firedamage = localdamage
- local totalloops = loops
- if enemstats:FindFirstChild("BurnResist") and enemstats:FindFirstChild("BurnTime") then
- firedamage = localdamage / (enemstats.BurnResist.Value / 100 + 1)
- totalloops = loops / (enemstats.BurnTime.Value / 100 + 1)
- else
- firedamage = localdamage
- totalloops = loops
- end
- spawn(function()
- local fire
- if not vhum.Parent.Torso:FindFirstChild("firepoop") then
- fire = Instance.new("Fire", vhum.Parent.Torso)
- fire.Heat = math.random(8, 15)
- fire.Size = math.random(8, 15)
- fire.Name = "firepoop"
- game.Debris:AddItem(fire, 1 * totalloops)
- end
- for i = 1, totalloops do
- if vhum.Health > 0 then
- if plrchar:findFirstChild("CharStats") then
- vhum.Health = vhum.Health - round(firedamage)
- guieffect(parent, vhum, "-" .. round(firedamage) .. " (Burn!)", colour)
- check(vhum, plrchar, round(firedamage))
- wait(1)
- else
- vhum.Health = vhum.Health - round(firedamage)
- guieffect(parent, vhum, "-" .. round(firedamage) .. " (Burn!)", colour)
- check(vhum, plrchar, round(firedamage))
- wait(1)
- end
- end
- end
- if fire then
- fire:Destroy()
- end
- end)
- end
- else
- vhum.Health = vhum.Health - damage
- check(vhum, plrchar, damage)
- guieffect(parent, vhum, damage, colour)
- end
- end
- function _.Venom(parent, vhum, percent, colour, loops)
- if not (vhum and vhum.Parent:FindFirstChild("Humanoid")) or vhum.Health <= 0 then
- return
- end
- local plrchar = parent.Parent
- local plrhead = plrchar.Head
- local enemply = game.Players:GetPlayerFromCharacter(vhum.Parent)
- local baseply = game.Players:GetPlayerFromCharacter(plrchar)
- if enemply and baseply and enemply.TeamColor == baseply.TeamColor and enemply.Neutral == false and baseply.Neutral == false then
- return
- end
- if vhum.Parent:FindFirstChild("CharStats") then
- do
- local localdamage = vhum.MaxHealth * (percent / 100)
- local venomdamage = localdamage / (plrchar.CharStats.VenomResist.Value / 100 + 1)
- local totalloops = loops / (plrchar.CharStats.VenomTime.Value / 100 + 1)
- spawn(function()
- for i = 1, totalloops do
- if vhum.Health > 0 then
- if plrchar:findFirstChild("CharStats") then
- vhum.Health = vhum.Health - round(venomdamage)
- guieffect(parent, vhum, "-" .. round(venomdamage) .. " (Venom!)", colour)
- check(vhum, plrchar, round(venomdamage))
- wait(1)
- else
- vhum.Health = vhum.Health - round(venomdamage)
- guieffect(parent, vhum, "-" .. round(venomdamage) .. " (Venom!)", colour)
- check(vhum, plrchar, round(venomdamage))
- wait(1)
- end
- end
- end
- end)
- end
- else
- vhum.Health = vhum.Health - percent
- check(vhum, plrchar, percent)
- guieffect(parent, vhum, percent, colour)
- end
- end
- function _.Ice(parent, vhum, damage, colour, duration, speed)
- if not (vhum and vhum.Parent:FindFirstChild("Humanoid")) or vhum.Health <= 0 then
- return
- end
- local plrchar = parent.Parent
- local plrhead = plrchar.Head
- local enemply = game.Players:GetPlayerFromCharacter(vhum.Parent)
- local baseply = game.Players:GetPlayerFromCharacter(plrchar)
- if enemply and baseply and enemply.TeamColor == baseply.TeamColor and enemply.Neutral == false and baseply.Neutral == false then
- return
- end
- if vhum.Parent:FindFirstChild("CharStats") then
- do
- local localdamage = damage * (plrchar.CharStats.Attack.Value / 1) / vhum.Parent.CharStats.Defense.Value
- local icedamage = localdamage / (vhum.Parent.CharStats.IceResist.Value / 100 + 1)
- local iceduration = duration / (vhum.Parent.CharStats.IceTime.Value / 100 + 1) * 2
- if plrchar:findFirstChild("CharStats") then
- local icee = function(i)
- coroutine.resume(coroutine.create(i))
- end
- icee(function()
- vhum.Health = vhum.Health - round(icedamage)
- local speedvalue = plrchar:FindFirstChild("CharStats"):FindFirstChild("Speed")
- check(vhum, plrchar, round(icedamage))
- guieffect(parent, vhum, "-" .. round(icedamage) .. " (Ice!)", colour)
- if speedvalue and speedvalue.Value > speed then
- speedvalue.Value = speedvalue.Value - speed
- wait(iceduration)
- speedvalue.Value = speedvalue.Value + speed
- end
- end)
- end
- end
- else
- vhum.Health = vhum.Health - damage
- check(vhum, plrchar, damage)
- guieffect(parent, vhum, damage, colour)
- end
- end
- function _.Stun(parent, vhum, damage, colour, duration)
- if not (vhum and vhum.Parent:FindFirstChild("Humanoid")) or vhum.Health <= 0 then
- return
- end
- local plrchar = parent.Parent
- local plrhead = plrchar:FindFirstChild("Head")
- local enemply = game.Players:GetPlayerFromCharacter(vhum.Parent)
- local baseply = game.Players:GetPlayerFromCharacter(plrchar)
- if enemply and baseply and enemply.TeamColor == baseply.TeamColor and enemply.Neutral == false and baseply.Neutral == false then
- return
- end
- if enemply and enemply:FindFirstChild("PlayerGui") and enemply.PlayerGui:FindFirstChild("LightSneakers_Gui") then
- guieffect(parent, vhum, "Stun ignored!", BrickColor.new("New Yeller").Color)
- return
- end
- if vhum.Parent:FindFirstChild("CharStats") and plrchar then
- do
- local enemstats = vhum.Parent:FindFirstChild("CharStats")
- local stunnedVal = enemstats:FindFirstChild("Stunned")
- local localdamage = damage * (plrchar.CharStats.Attack.Value / 1) / vhum.Parent.CharStats.Defense.Value
- local stundamage, stunduration
- if enemstats:FindFirstChild("StunResist") and enemstats:FindFirstChild("StunTime") then
- stundamage = localdamage / (enemstats.StunResist.Value / 100 + 1)
- stunduration = duration / (enemstats.StunTime.Value / 100 + 1)
- else
- stundamage = localdamage
- stunduration = duration
- end
- spawn(function()
- if stunnedVal and stunnedVal.Value ~= true then
- vhum.Health = vhum.Health - round(stundamage)
- check(vhum, plrchar, round(stundamage))
- guieffect(parent, vhum, "-" .. round(stundamage) .. " (Stunned!)", BrickColor.new("New Yeller").Color)
- stunnedVal.Value = true
- do
- local star = Instance.new("Part", vhum.Parent)
- star.Size = Vector3.new(0.2, 0.2, 0.2)
- star.Anchored = true
- star.CanCollide = false
- star.Material = "Neon"
- star.BrickColor = BrickColor.new("Bright yellow")
- star.CFrame = vhum.Parent.HumanoidRootPart.CFrame * CFrame.new(0, 5, 0)
- local starmesh = Instance.new("SpecialMesh", star)
- starmesh.MeshType = "FileMesh"
- starmesh.MeshId = "http://www.roblox.com/asset/?id=120647846"
- starmesh.Scale = Vector3.new(3, 3, 3)
- spawn(function()
- local spin = 0
- local peofe = vhum.Parent:FindFirstChild("HumanoidRootPart")
- if peofe then
- repeat
- spin = spin + 20
- if star then
- star.CFrame = star.CFrame:lerp(peofe.CFrame * CFrame.new(0, 5, 0) * CFrame.Angles(0, math.rad(spin), 0), 0.2)
- else
- break
- end
- wait()
- until not star
- end
- end)
- game.Debris:AddItem(star, stunduration)
- enemstats.Speed.Value = enemstats.Speed.Value - 100
- wait(stunduration)
- enemstats.Speed.Value = enemstats.Speed.Value + 100
- if 3 < enemstats.Speed.Value then
- enemstats.Speed.Value = 1
- end
- stunnedVal.Value = false
- guieffect(parent, vhum, "Stun ended!", BrickColor.new("New Yeller").Color)
- end
- end
- end)
- end
- else
- vhum.Health = vhum.Health - damage
- check(vhum, plrchar, damage)
- guieffect(parent, vhum, damage, colour)
- end
- end
- function _.Damage(parent, vhum, damage, colour)
- if not (vhum and vhum.Parent:FindFirstChild("Humanoid")) or vhum.Health <= 0 or not vhum.Parent:FindFirstChild("Head") then
- return
- end
- local plrchar = parent.Parent
- local plrhead = plrchar:FindFirstChild("Head")
- local enemply = game.Players:GetPlayerFromCharacter(vhum.Parent)
- local baseply = game.Players:GetPlayerFromCharacter(plrchar)
- if enemply and baseply and enemply.TeamColor == baseply.TeamColor and (enemply.Neutral == false or baseply.Neutral == false) then
- return
- end
- if vhum.Parent:FindFirstChild("CharStats") then
- local localdamage = damage * (plrchar.CharStats.Attack.Value / 2) / vhum.Parent.CharStats.Defense.Value
- if plrchar:findFirstChild("CharStats") then
- vhum.Health = vhum.Health - localdamage
- check(vhum, plrchar, localdamage)
- guieffect(parent, vhum, "-" .. round(localdamage), colour)
- end
- else
- vhum.Health = vhum.Health - damage
- check(vhum, plrchar, damage)
- guieffect(parent, vhum, damage, colour)
- end
- end
- function _.Debuff(parent, vhum, colour, type, amount, last)
- local stat, statstr
- if not (vhum and vhum.Parent:FindFirstChild("Humanoid")) or vhum.Health <= 0 then
- return
- end
- local plrchar = parent.Parent
- local plrhead = plrchar.Head
- local enemply = game.Players:GetPlayerFromCharacter(vhum.Parent)
- local baseply = game.Players:GetPlayerFromCharacter(plrchar)
- if baseply and enemply and enemply.TeamColor == baseply.TeamColor and enemply.Neutral == false then
- return
- end
- if vhum.Parent:FindFirstChild("CharStats") then
- if type == "Attack" or type == "A" then
- stat = vhum.Parent.CharStats.Attack
- statstr = "Attack"
- elseif type == "Defense" or type == "D" or type == nil then
- stat = vhum.Parent.CharStats.Defense
- statstr = "Defense"
- elseif type == "Speed" or type == "S" then
- stat = vhum.Parent.CharStats.Speed
- statstr = "Speed"
- end
- spawn(function()
- stat.Value = stat.Value - amount
- wait(last)
- stat.Value = stat.Value + amount
- end)
- if plrchar:findFirstChild("CharStats") then
- guieffect(parent, vhum, "-" .. statstr, colour)
- end
- end
- end
- function _.Buff(parent, vhum, colour, type, amount, last)
- local stat, statstr
- if not (vhum and vhum.Parent:FindFirstChild("Humanoid")) or vhum.Health <= 0 then
- return
- end
- local plrchar = parent.Parent
- local plrhead = plrchar.Head
- local enemply = game.Players:GetPlayerFromCharacter(vhum.Parent)
- local baseply = game.Players:GetPlayerFromCharacter(plrchar)
- if enemply and (enemply.TeamColor == baseply.TeamColor and enemply.Neutral == false or enemply == baseply) and vhum.Parent:FindFirstChild("CharStats") then
- if type == "Attack" or type == "A" then
- stat = vhum.Parent.CharStats.Attack
- statstr = "Attack"
- elseif type == "Defense" or type == "D" or type == nil then
- stat = vhum.Parent.CharStats.Defense
- statstr = "Defense"
- elseif type == "Speed" or type == "S" then
- stat = vhum.Parent.CharStats.Speed
- statstr = "Speed"
- end
- spawn(function()
- stat.Value = stat.Value + amount
- wait(last)
- stat.Value = stat.Value - amount
- end)
- if plrchar:findFirstChild("CharStats") then
- guieffect(parent, vhum, "+" .. statstr, colour)
- end
- end
- end
- function _.LowerStat(vhum, id, type, amount)
- local character = vhum.Parent
- local stat = type or ""
- if type == "Attack" or type == "A" then
- local FindHum = character:FindFirstChildOfClass("Humanoid")
- if FindHum then
- local FoundCharStats = character:FindFirstChild("CharStats")
- if FoundCharStats and FindHum.Health > 0 then
- local stat = FoundCharStats:FindFirstChild("Attack")
- if stat then
- stat.Value = stat.Value - amount
- end
- end
- end
- elseif type == "Defense" or type == "D" or type == nil then
- local FindHum = character:FindFirstChildOfClass("Humanoid")
- if FindHum then
- local FoundCharStats = character:FindFirstChild("CharStats")
- if FoundCharStats and FindHum.Health > 0 then
- local stat = FoundCharStats:FindFirstChild("Defense")
- if stat then
- stat.Value = stat.Value - amount
- end
- end
- end
- elseif type == "Speed" or type == "S" then
- local FindHum = character:FindFirstChildOfClass("Humanoid")
- if FindHum then
- local FoundCharStats = character:FindFirstChild("CharStats")
- if FoundCharStats and FindHum.Health > 0 then
- local stat = FoundCharStats:FindFirstChild("Speed")
- if stat then
- stat.Value = stat.Value - amount
- end
- end
- end
- end
- end
- function _.RaiseStat(vhum, id, type, amount)
- _.LowerStat(vhum, id, type, amount)
- end
- function _.Heal(parent, vhum, heal, colour)
- if not (vhum and vhum.Parent:findFirstChild("Humanoid")) or vhum.Health <= 0 then
- return
- end
- local plrchar = parent.Parent
- local plrhead = plrchar:FindFirstChild("Head")
- local enemply = game.Players:GetPlayerFromCharacter(vhum.Parent)
- local baseply = game.Players:GetPlayerFromCharacter(plrchar)
- if enemply and baseply and enemply.TeamColor == baseply.TeamColor then
- vhum.Health = vhum.Health + heal
- guieffect(parent, vhum, heal .. " (Heal!)", colour)
- end
- end
- return _
- end)()
- repeat
- wait()
- until plr.Character and plr.Character:WaitForChild("Torso") and plr.Character:WaitForChild("Humanoid")
- local char = plr.Character
- char:findFirstChild("Animate"):Destroy()
- local torso = char.Torso
- local humanoid = char.Humanoid
- humanoid.Animator:Destroy()
- local charStats = char:WaitForChild("CharStats")
- local Anim
- local taunting = false
- LS = torso["Left Shoulder"]
- LH = torso["Left Hip"]
- RS = torso["Right Shoulder"]
- RH = torso["Right Hip"]
- Neck = torso.Neck
- it = Instance.new
- vt = Vector3.new
- cf = CFrame.new
- euler = CFrame.fromEulerAnglesXYZ
- angles = CFrame.Angles
- 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 = char.HumanoidRootPart
- RootJoint = RootPart.RootJoint
- RootCF = euler(-1.57, 0, 3.14)
- player = nil
- RSH, LSH = nil, nil
- RW, LW = Instance.new("Weld"), Instance.new("Weld")
- RW.Name = "Right Shoulder"
- LW.Name = "Left Shoulder"
- Sheathed = true
- SwordStance = false
- Charge = 0
- RSH = char.Torso["Right Shoulder"]
- LSH = char.Torso["Left Shoulder"]
- RSH.Parent = nil
- LSH.Parent = nil
- RW.Name = "Right Shoulder"
- RW.Part0 = char.Torso
- RW.C0 = cf(1.5, 0.5, 0)
- RW.C1 = cf(0, 0.5, 0)
- RW.Part1 = char["Right Arm"]
- RW.Parent = char.Torso
- LW.Name = "Left Shoulder"
- LW.Part0 = char.Torso
- LW.C0 = cf(-1.5, 0.5, 0)
- LW.C1 = cf(0, 0.5, 0)
- LW.Part1 = char["Left Arm"]
- LW.Parent = char.Torso
- local cam = workspace.CurrentCamera
- canTaunt = false
- local Effects = Instance.new("Model", char)
- Effects.Name = "Effects"
- humanoid.WalkSpeed = 16
- mouse = plr:GetMouse()
- sinecount, normcount, tweentick, tweenrot, tweenrotm = 0, 0, 0, 0, 0
- partEffects, AttackHas, AttackNeeded, AttackCan = {}, {}, {}, {}
- AttackHas[1], AttackHas[2], AttackHas[3], AttackHas[4] = 1, 1, 1, 0
- AttackNeeded[1], AttackNeeded[2], AttackNeeded[3], AttackNeeded[4] = 1, 1, 1, 1
- AttackCan[1], AttackCan[2], AttackCan[3], AttackCan[4] = true, true, true, true
- attackcounter = 1
- torvel, rotvel = nil, nil
- hitfloor, posfloor = nil, nil
- magichit, magicfloor = nil, nil
- toolequipped = false
- local g = script.Parent
- local gf = g.GenStats
- local HealthFrame = gf.Health
- local AttacksFrame = gf.Attacks
- local EnergyFrame = gf.Energy
- local key1db = false
- local key2db = false
- local key3db = false
- local key4db = false
- local attacking = Instance.new("BoolValue", charStats)
- attacking.Name = "Attacking"
- attacking.Value = false
- local stunnedVal = Instance.new("BoolValue", charStats)
- stunnedVal.Value = false
- stunnedVal.Name = "Stunned"
- local debuffs = Instance.new("Folder")
- debuffs.Name = "Debuffs"
- debuffs.Parent = char
- local debuffstab = {}
- debuffs.ChildAdded:Connect(function(child)
- if child:IsA("StringValue") then
- local StatType = child:WaitForChild("Type")
- local StatAmount = child.Amount
- local StatDuration = child.Duration
- local targetStat = charStats:FindFirstChild(StatType.Value)
- if targetStat then
- targetStat.Value = targetStat.Value - StatAmount.Value
- end
- table.insert(debuffstab, {child, 0})
- end
- end)
- local speed = charStats:WaitForChild("Speed")
- local Atk1 = AttacksFrame.Attack1
- local Atk2 = AttacksFrame.Attack2
- local Atk3 = AttacksFrame.Attack3
- local Atk4 = AttacksFrame.Attack4
- local Re1 = Atk1.Reload
- local Re2 = Atk2.Reload
- local Re3 = Atk3.Reload
- local Re4 = Atk4.Reload
- Atk1.AttackLabel.Text = N_A1_Name
- Atk2.AttackLabel.Text = N_A2_Name
- Atk3.AttackLabel.Text = N_A3_Name
- Atk4.AttackLabel.Text = N_A4_Name
- local Energy = charStats:WaitForChild("EnergyAmount")
- Atk1.EnergyLabel.Text = Attack1Energy .. " Energy"
- Atk2.EnergyLabel.Text = Attack2Energy .. " Energy"
- Atk3.EnergyLabel.Text = Attack3Energy .. " Energy"
- Atk4.EnergyLabel.Text = Attack4Energy .. " Energy"
- function rayCast(Pos, Dir, Max, Ignore)
- return game:service("Workspace"):FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore)
- end
- function thread(f)
- coroutine.resume(coroutine.create(f))
- end
- ArtificialHB = Instance.new("BindableEvent", script)
- ArtificialHB.Name = "Heartbeat"
- script:WaitForChild("Heartbeat")
- frame = 0.025
- tf = 0
- allowframeloss = true
- tossremainder = false
- lastframe = tick()
- script.Heartbeat:Fire()
- game:GetService("RunService").Heartbeat:connect(function(s, p)
- tf = tf + s
- if tf >= frame then
- if allowframeloss then
- script.Heartbeat:Fire()
- lastframe = tick()
- else
- for i = 1, math.floor(tf / frame) do
- script.Heartbeat:Fire()
- end
- lastframe = tick()
- end
- if tossremainder then
- tf = 0
- else
- tf = tf - frame * math.floor(tf / frame)
- end
- end
- end)
- function swait(num)
- if num == 0 or num == nil then
- ArtificialHB.Event:wait()
- else
- for i = 0, num do
- ArtificialHB.Event:wait()
- end
- end
- end
- function sound(id, par, vol, dur, pit)
- coroutine.resume(coroutine.create(function()
- local new = LoadLibrary("RbxUtility").Create
- --local sou = Instance.new("Sound", par or workspace)
- local sou = new("Sound", par or workspace){Parent = par or workspace}
- sou.Parent = par or workspace
- sou.Volume = vol
- sou.Pitch = pit or 1
- sou.SoundId = "http://www.roblox.com/asset/?id=" .. id
- swait()
- sou:play()
- wait(dur)
- sou:Destroy()
- end))
- end
- local function TransitionTaunt(str, color)
- local damagepart = Instance.new("Part", Effects)
- damagepart.Transparency = 1
- damagepart.Anchored = true
- damagepart.CanCollide = false
- damagepart.Size = Vector3.new(1, 1, 1)
- damagepart.Name = "DamagePart"
- damagepart.CFrame = RootPart.CFrame * CFrame.new(0, 2, 0)
- local g = Instance.new("BillboardGui", damagepart)
- g.Enabled = true
- g.Adornee = damagepart
- g.Size = UDim2.new(5, 0, 5, 0)
- g.ExtentsOffset = Vector3.new(0, 0, 0)
- g.StudsOffset = Vector3.new(0, 0, 0)
- local t = Instance.new("TextLabel", g)
- t.BackgroundTransparency = 1
- t.Font = "SourceSansBold"
- t.FontSize = "Size24"
- t.Text = str
- t.Size = UDim2.new(1, 0, 1, 0)
- t.TextStrokeTransparency = 0
- t.TextTransparency = 0
- t.TextScaled = true
- t.TextWrapped = true
- t.TextXAlignment = "Center"
- t.TextYAlignment = "Center"
- t.TextColor3 = color
- if color == BrickColor.new("Dark indigo").Color then
- t.TextStrokeColor3 = Color3.fromRGB(243, 242, 242)
- end
- coroutine.resume(coroutine.create(function()
- for i = 1, 50 do
- game:GetService("RunService").Heartbeat:wait()
- local sinewave = math.sin(i / 500) * 4
- damagepart.CFrame = damagepart.CFrame * CFrame.new(Vector3.new(0, 0.3 - sinewave, 0))
- t.TextTransparency = t.TextTransparency + 0.02
- t.TextTransparency = t.TextStrokeTransparency + 0.02
- end
- damagepart:Destroy()
- end), t)
- end
- 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
- 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 m00 < m11 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
- function QuaternionToCFrame(px, py, pz, x, y, z, w)
- local xs, ys, zs = x + x, y + y, z + z
- local wx, wy, wz = w * xs, w * ys, w * zs
- local xx = x * xs
- local xy = x * ys
- local xz = x * zs
- local yy = y * ys
- local yz = y * zs
- local zz = z * zs
- return CFrame.new(px, py, pz, 1 - (yy + zz), xy - wz, xz + wy, xy + wz, 1 - (xx + zz), yz - wx, xz - wy, yz + wx, 1 - (xx + yy))
- end
- function QuaternionSlerp(a, b, t)
- local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
- local startInterp, finishInterp
- if cosTheta >= 1.0E-4 then
- if 1 - cosTheta > 1.0E-4 then
- local theta = math.acos(cosTheta)
- local invSinTheta = 1 / math.sin(theta)
- startInterp = math.sin((1 - t) * theta) * invSinTheta
- finishInterp = math.sin(t * theta) * invSinTheta
- else
- startInterp = 1 - t
- finishInterp = t
- end
- elseif 1 + cosTheta > 1.0E-4 then
- local theta = math.acos(-cosTheta)
- local invSinTheta = 1 / math.sin(theta)
- startInterp = math.sin((t - 1) * theta) * invSinTheta
- finishInterp = math.sin(t * theta) * invSinTheta
- else
- startInterp = t - 1
- finishInterp = t
- end
- return a[1] * startInterp + b[1] * finishInterp, a[2] * startInterp + b[2] * finishInterp, a[3] * startInterp + b[3] * finishInterp, a[4] * startInterp + b[4] * finishInterp
- end
- function magic(type, thing)
- local magicBlock = function(par, brick, cframe, x1, y1, z1, x3, y3, z3, delay, t)
- local prt = newPart(par, brick, 0, true, false, Vector3.new(0.2, 0.2, 0.2), "Part", "SmoothPlastic", cframe)
- prt.CFrame = cframe
- local msh = mesh("BlockMesh", prt, nil, nil, Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
- game:GetService("Debris"):AddItem(prt, 8)
- if t == 1 or t == nil then
- table.insert(partEffects, {
- prt,
- "Block1",
- delay,
- x3,
- y3,
- z3,
- msh
- })
- elseif t == 2 then
- table.insert(partEffects, {
- prt,
- "Block2",
- delay,
- x3,
- y3,
- z3,
- msh
- })
- end
- end
- local magicCylinder = function(par, brick, cframe, x1, y1, z1, x3, y3, z3, delay)
- local prt = newPart(par, brick, 0, true, false, Vector3.new(0.2, 0.2, 0.2), "Part", "SmoothPlastic", cframe)
- local msh = mesh("CylinderMesh", prt, nil, nil, Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
- game:GetService("Debris"):AddItem(prt, 8)
- table.insert(partEffects, {
- prt,
- "Cylinder",
- delay,
- x3,
- y3,
- z3,
- msh
- })
- end
- local magicSphere = function(par, brick, cframe, x1, y1, z1, x3, y3, z3, delay)
- local prt = newPart(par, brick, 0, true, false, Vector3.new(0.2, 0.2, 0.2), "Part", "SmoothPlastic", cframe)
- local msh = mesh("SpecialMesh", prt, "Sphere", nil, Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
- game:GetService("Debris"):AddItem(prt, 8)
- table.insert(partEffects, {
- prt,
- "Cylinder",
- delay,
- x3,
- y3,
- z3,
- msh
- })
- end
- local magicRing = function(par, brick, cframe, x1, y1, z1, x3, y3, z3, delay)
- local prt = newPart(par, brick, 0, true, false, Vector3.new(0.2, 0.2, 0.2), "Part", "SmoothPlastic", cframe)
- prt.Anchored = true
- prt.CFrame = cframe
- local msh = mesh("SpecialMesh", prt, "FileMesh", 3270017, Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
- game:GetService("Debris"):AddItem(prt, 2)
- coroutine.resume(coroutine.create(function(Part, Mesh, num)
- for i = 0, 1, delay do
- swait()
- Part.Transparency = i
- Mesh.Scale = Mesh.Scale + Vector3.new(x3, y3, z3)
- end
- Part:Destroy()
- end), prt, msh, (math.random(0, 1) + math.random()) / 5)
- end
- local magicSlash = function(par, brick, cframe, x1, y1, z1, x3, y3, z3, delay)
- local prt = newPart(par, brick, 0, true, false, Vector3.new(0.2, 0.2, 0.2), "Part", cframe)
- prt.Anchored = true
- prt.CFrame = cframe
- local msh = mesh("SpecialMesh", prt, "FileMesh", 20329976, Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
- game:GetService("Debris"):AddItem(prt, 2)
- coroutine.resume(coroutine.create(function(Part, Mesh, num)
- for i = 0, 1, delay do
- swait()
- Part.Transparency = i
- Mesh.Scale = Mesh.Scale + Vector3.new(x3, y3, z3)
- end
- Part:Destroy()
- end), prt, msh, (math.random(0, 1) + math.random()) / 5)
- end
- local par = thing[1]
- local brick = thing[2]
- local cframe = thing[3]
- local x1 = thing[4]
- local y1 = thing[5]
- local z1 = thing[6]
- local x3 = thing[7]
- local y3 = thing[8]
- local z3 = thing[9]
- local delay = thing[10]
- local t = thing[11]
- if type == "Block" or type == 1 then
- magicBlock(thing[1], thing[2], thing[3], thing[4], thing[5], thing[6], thing[7], thing[8], thing[9], thing[10], thing[11])
- elseif type == "Cylinder" or type == 2 then
- magicCylinder(thing[1], thing[2], thing[3], thing[4], thing[5], thing[6], thing[7], thing[8], thing[9], thing[10], thing[11])
- elseif type == "Sphere" or type == 3 then
- magicSphere(thing[1], thing[2], thing[3], thing[4], thing[5], thing[6], thing[7], thing[8], thing[9], thing[10], thing[11])
- elseif type == "Ring" or type == 4 then
- magicRing(thing[1], thing[2], thing[3], thing[4], thing[5], thing[6], thing[7], thing[8], thing[9], thing[10], thing[11])
- elseif type == "Slash" or type == 5 then
- magicSlash(thing[1], thing[2], thing[3], thing[4], thing[5], thing[6], thing[7], thing[8], thing[9], thing[10], thing[11])
- end
- end
- function MagicBlock(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type, parent)
- local function part(formfactor, parent, reflectance, transparency, brickcolor, name, size)
- local fp = Instance.new("Part")
- fp.formFactor = formfactor
- fp.Parent = Effects
- fp.Reflectance = reflectance
- fp.Transparency = transparency
- fp.CanCollide = false
- fp.Locked = true
- fp.BrickColor = brickcolor
- fp.Name = name
- fp.Size = size
- fp.Position = torso.Position
- NoOutline(fp)
- fp.Material = "SmoothPlastic"
- fp:BreakJoints()
- return fp
- end
- local prt = part(3, char, 0, 0, brickcolor, "Effect", Vector3.new(0.2, 0.2, 0.2))
- prt.Anchored = true
- prt.CFrame = cframe
- local msh = mesh("BlockMesh", prt, "", nil, Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
- return prt, msh
- end
- function randomangles()
- local random = math.rad((math.random() - 0.5) * 180)
- local randomangles = CFrame.Angles(random, random, random)
- return randomangles
- end
- function round(num)
- local a, b = math.modf(num)
- if num % 1 ~= 0 then
- return math.floor(num) + math.floor(b * 10 + 0.5) / 10
- else
- return math.floor(num)
- end
- end
- function NoOutline(Part)
- Part.TopSurface, Part.BottomSurface, Part.LeftSurface, Part.RightSurface, Part.FrontSurface, Part.BackSurface = 10, 10, 10, 10, 10, 10
- end
- function newPart(parent, brickcolor, transparency, anchored, cancollide, size, name)
- local fp = Instance.new("Part")
- fp.Parent = parent
- fp.Transparency = transparency
- fp.Anchored = anchored
- fp.CanCollide = cancollide
- fp.Locked = true
- fp.BrickColor = brickcolor
- fp.Name = name
- fp.Size = size
- fp.Position = torso.Position
- NoOutline(fp)
- fp.Material = "SmoothPlastic"
- fp:BreakJoints()
- return fp
- end
- function newMagicCircle(parent, scale, rgb, id)
- local guipart = newPart(parent, BrickColor.White(), 1, true, false, Vector3.new(scale, 0.2, scale), "Part")
- local csgt = {}
- for i = 1, 2 do
- local csg = Instance.new("SurfaceGui", guipart)
- csg.Face = i > 1.1 and "Top" or "Bottom"
- local imagelabel = Instance.new("ImageLabel", csg)
- imagelabel.ImageColor3 = rgb
- imagelabel.BackgroundTransparency = 1
- if id == nil then
- imagelabel.Image = "http://www.roblox.com/asset/?id=884834173"
- else
- imagelabel.Image = "http://www.roblox.com/asset/?id=" .. id
- end
- imagelabel.Size = UDim2.new(1, 0, 1, 0)
- table.insert(csgt, imagelabel)
- end
- return guipart, csgt
- end
- function Lightning(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 = Instance.new("Part", Effects)
- li.TopSurface = 0
- li.BottomSurface = 0
- li.Anchored = true
- li.Transparency = tra or 0.4
- li.BrickColor = BrickColor.new(col)
- li.formFactor = "Custom"
- li.CanCollide = false
- li.Material = "Neon"
- li.Size = Vector3.new(th, th, magz / tym)
- local lim = mesh("BlockMesh", li, nil, nil, nil, Vector3.new(th, th, 1))
- 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
- 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)
- else
- li.CFrame = CFrame.new(curpos, trolpos) * CFrame.new(0, 0, magz / tym / 2)
- end
- curpos = li.CFrame * CFrame.new(0, 0, magz / tym / 2).p
- table.insert(partEffects, {
- li,
- "Block2",
- last,
- 0,
- 0,
- 0,
- li.Mesh
- })
- end
- end
- function mesh(Mesh, part, meshtype, meshid, offset, scale)
- local mesh = Instance.new(Mesh)
- mesh.Parent = part
- if Mesh == "SpecialMesh" then
- mesh.MeshType = meshtype
- if meshid then
- mesh.MeshId = "http://www.roblox.com/asset/?id=" .. meshid
- end
- end
- if offset then
- mesh.Offset = offset
- end
- mesh.Scale = scale
- return mesh
- end
- function weld(parent, part0, part1, c0)
- local weld = Instance.new("Weld")
- weld.Parent = parent
- weld.Part0 = part0
- weld.Part1 = part1
- weld.C0 = c0
- return weld
- end
- function findCloseHumanoid(centre, distance)
- local tab = {}
- for _, child in pairs(game.Workspace:GetChildren()) do
- if child:findFirstChild("Humanoid") and child:findFirstChild("Humanoid") ~= humanoid and child:findFirstChild("Torso") then
- local vtors = child.Torso
- local mag = math.abs((vtors.Position - centre).magnitude)
- if distance >= mag then
- table.insert(tab, child.Humanoid)
- end
- end
- end
- return tab
- end
- function findClosestHumanoid(centre, maxdis)
- local TargetTor
- local allClose = {}
- for _, child in ipairs(workspace:GetChildren()) do
- if child:FindFirstChild("Humanoid") and child:FindFirstChild("Humanoid") ~= humanoid and child:FindFirstChild("Torso") then
- local vtors = child.Torso
- local mag = math.abs((vtors.Position - centre).magnitude)
- if mag <= 100000 and child:FindFirstChild("Humanoid").Health > 0 then
- table.insert(allClose, vtors)
- end
- end
- end
- for i, u in ipairs(allClose) do
- local mag = math.abs((u.Position - centre).magnitude)
- if maxdis > mag then
- TargetTor = u
- maxdis = mag
- end
- end
- return TargetTor
- end
- local weapon = script:WaitForChild("Eldrich")
- local handleroot = Instance.new("Part")
- handleroot.Anchored = false
- handleroot.CanCollide = false
- handleroot.Transparency = 1
- handleroot.Size = Vector3.new(0.2, 0.2, 0.2)
- local handlerootc0 = CFrame.new(0, 0.9, 0)
- weld(char["Right Arm"], handleroot, char["Right Arm"], handlerootc0)
- handleroot.Parent = char
- local handlec0 = CFrame.Angles(0, 0, math.rad(90))
- local handleweld = weld(handleroot, weapon.Handle, handleroot, handlec0)
- handleweld.C1 = CFrame.new(0, 0, 0)
- weapon.Parent = char
- function playAnimationFromTable(neck, root, right, left, righth, lefth, handlec, animationspeed_1, animationspeed_2, animationspeed_3, animationspeed_4)
- Neck.C0 = clerp(Neck.C0, neck, animationspeed_1)
- RootJoint.C0 = clerp(RootJoint.C0, root, animationspeed_1)
- RW.C0 = clerp(RW.C0, right, animationspeed_2)
- LW.C0 = clerp(LW.C0, left, animationspeed_2)
- RH.C0 = clerp(RH.C0, righth, animationspeed_3)
- LH.C0 = clerp(LH.C0, lefth, animationspeed_3)
- if handlec ~= nil then
- handleweld.C0 = clerp(handleweld.C0, handlec, animationspeed_4)
- end
- end
- function attackone()
- attacking.Value = true
- local floorcircle, circlet = newMagicCircle(Effects, 10, (twistedmode == false and main_color or main_color2).Color)
- local g1 = circlet[1]
- local g2 = circlet[2]
- g1.ImageTransparency = 1
- g2.ImageTransparency = 1
- local cfr = RootPart.CFrame * CFrame.new(0, 0, -6)
- local cnow = CFrame.new(cfr.X, magicfloor.Y, cfr.Z)
- local ncount = 0
- floorcircle.CFrame = cnow
- sound(320557563, RootPart, 0.5, 6, 0.9)
- for i = 0, 1, 0.08 do
- swait()
- ncount = ncount + 1
- g1.ImageTransparency = 1 - i
- g2.ImageTransparency = 1 - i
- floorcircle.CFrame = cnow * CFrame.Angles(0, math.rad(ncount * 1), 0)
- playAnimationFromTable(CFrame.Angles(0, math.rad(30), 0) * CFrame.new(0.0366210938, 1.00202489, 0.0264377594, -0.664224923, 0.743938804, -0.0732400268, -0.00916568376, 0.0898628905, 0.995914221, 0.747478426, 0.662180662, -0.0528705381), CFrame.Angles(0, math.rad(-30), 0) * CFrame.new(-5.37872314E-4, -0.0499694347, 0.00165939331, -0.667414725, -0.744530737, -0.0152019337, -0.0176081304, -0.00463023921, 0.999834716, -0.744477153, 0.667571366, -0.010019551), CFrame.new(1.35510635, 0.527938366, 0.0837059021, 0.963287294, -0.207916752, -0.169844508, 0.204758286, 0.97814703, -0.0361037515, 0.173638701, 1.43051147E-6, 0.984809041), CFrame.new(-1.44900513, 0.533185244, 0.0833530426, 0.984825015, 0.11331372, 0.131447047, -0.104038499, 0.991709471, -0.0754270777, -0.13890478, 0.0606068783, 0.988448977), CFrame.new(0.952083588, -0.997125626, -0.412149429, -0.73165822, -0.164730519, 0.661467016, -0.185397655, 0.981871724, 0.0394523405, -0.65597415, -0.0937685966, -0.748935401), CFrame.new(-1.14963531, -0.868524313, 0.158639908, 0.665293813, -0.0256458372, -0.746140182, 0.125523552, 0.989025712, 0.0779287666, 0.735952616, -0.145503536, 0.661212087), handlec0 * CFrame.Angles(0, 0, math.rad(180)) * CFrame.new(0.45, 0.4, 0), 0.3, 0.3, 0.3, 0.3)
- end
- sound(588732660, RootPart, 0.5, 6, 1)
- sound(338594524, RootPart, 1.3, 6, 0.9)
- sound(588739712, RootPart, 1, 6, 0.9)
- local c1 = newPart(Effects, twistedmode == false and main_color or main_color2, 0, true, false, Vector3.new(0.2, 0, 0.2), "Part", "Neon")
- mesh("SpecialMesh", c1, "Sphere", nil, nil, Vector3.new(30, 30, 30))
- c1.Material = "Neon"
- local c2 = newPart(Effects, twistedmode == false and main_color or main_color2, 0, true, false, Vector3.new(0.2, 0.2, 0.2), "Part", "Neon")
- mesh("SpecialMesh", c2, "Sphere", nil, nil, Vector3.new(50, 50, 50))
- c2.Material = "Neon"
- c1.CFrame = floorcircle.CFrame
- c2.CFrame = floorcircle.CFrame
- thread(function()
- for i = 0, 1, 0.05 do
- swait()
- ncount = ncount + 1
- g1.ImageTransparency = i
- g2.ImageTransparency = i
- c1.Transparency = i
- c2.Transparency = i
- c1.Size = Vector3.new(0.2, 0.2 + i / 5, 0.2)
- c2.Size = Vector3.new(0.2, 0.2 + i / 5, 0.2)
- c1.CFrame = floorcircle.CFrame
- c2.CFrame = floorcircle.CFrame
- floorcircle.CFrame = cnow * CFrame.new(0, 0.5 * i, 0) * CFrame.Angles(0, math.rad(ncount * 1), 0)
- end
- g1:Destroy()
- g2:Destroy()
- c1:Destroy()
- c2:Destroy()
- floorcircle:Destroy()
- end)
- for i, vhum in pairs(findCloseHumanoid(cnow.p, 12)) do
- basic.Damage(Effects, vhum, math.random(combo_knee_dam, ckd2), (twistedmode == false and main_color or main_color2).Color)
- end
- for i = 0, 1, 0.1 do
- swait()
- playAnimationFromTable(CFrame.new(-0.039100647, 1.02269387, 0.143768311, -0.94131124, -0.328364193, 0.0781785548, -0.0243163686, 0.296977013, 0.954575658, -0.336665064, 0.896651626, -0.287532121), CFrame.new(0, -0.0499694347, -0.001745224, -0.940523326, 0.339526713, 0.0117489025, -0.0119406004, -0.0675987452, 0.997641325, 0.339520097, 0.938164413, 0.0676323324), CFrame.new(1.24144745, 0.642895877, 0.241867065, 0.912544847, -0.291507274, -0.286855638, 0.371507466, 0.884127736, 0.283374488, 0.17101106, -0.365160704, 0.915103137), CFrame.new(-1.33905029, 0.517257273, 0.0520858765, 0.9732306, 0.190887347, 0.128014982, -0.172061026, 0.97438097, -0.144842476, -0.152384013, 0.118938528, 0.981140971), CFrame.new(1.15815353, -0.717945099, -0.719116211, 0.331338763, 0.11077407, 0.936986983, -0.506203651, 0.858928919, 0.0774587765, -0.796224535, -0.499971092, 0.340670437), CFrame.new(-0.997020721, -0.94981277, 0.0816650391, 5.45233488E-4, 0.105157688, -0.994455755, 0.133004859, 0.985612929, 0.104295507, 0.991115749, -0.132324219, -0.0134490132), handlec0 * CFrame.Angles(0, 0, math.rad(180)) * CFrame.new(0.45, 0.4, 0), 0.3, 0.3, 0.3, 0.3)
- end
- attacking.Value = false
- end
- function attacktwo()
- attacking.Value = true
- local punchcircle, circlet = newMagicCircle(Effects, 10, (twistedmode == false and main_color or main_color2).Color)
- local g1 = circlet[1]
- local g2 = circlet[2]
- g1.ImageTransparency = 1
- g2.ImageTransparency = 1
- local cnow = RootPart.CFrame * CFrame.new(0, 0, -2) * CFrame.Angles(math.rad(90), 0, 0)
- local ncount = 0
- punchcircle.CFrame = cnow
- sound(320557563, RootPart, 0.5, 6, 0.9)
- sound(588739384, RootPart, 0.8, 6, 0.9)
- for i = 0, 1, 0.08 do
- swait()
- ncount = ncount + 1
- g1.ImageTransparency = 1 - i
- g2.ImageTransparency = 1 - i
- punchcircle.CFrame = cnow * CFrame.new(0, -6 * i, 0) * CFrame.Angles(0, math.rad(ncount * 1), 0)
- playAnimationFromTable(CFrame.new(-0.0600166321, 1.00377321, 0.013168335, -0.600801229, -0.790335298, 0.120063931, 0.0515110902, 0.111605346, 0.992416978, -0.797741473, 0.602429628, -0.0263414718), CFrame.new(0.00345993042, -0.0498781204, 4.25338745E-4, -0.60254091, 0.797009289, -0.0415658727, -0.0351099893, 0.0255602654, 0.999056637, 0.797320008, 0.603431642, 0.0125819258), CFrame.new(1.3885479, 0.507249117, 0.0394897461, 0.960471272, -0.259713769, -0.100255221, 0.222270221, 0.932230234, -0.285557956, 0.167624235, 0.251986533, 0.953106344), CFrame.new(-1.20738411, 0.441636086, -0.159381866, 0.614046216, -0.789190769, -0.0115426555, 0.0343859009, 0.041359555, -0.998552561, 0.788525641, 0.612760246, 0.0525335595), CFrame.new(0.825660706, -0.966924191, 0.346191406, 0.69384408, -0.0697358176, 0.716745973, 0.0233537368, 0.996955752, 0.0743911862, -0.719751477, -0.034877073, 0.69336015), CFrame.new(-1.05771065, -0.975158215, -0.376472473, -0.529659808, 0.0697788224, -0.845339537, 0.066512011, 0.996958554, 0.0406203046, 0.845602632, -0.0347101763, -0.53268981), nil, 0.3, 0.3, 0.3, 0.3)
- end
- sound(588732660, RootPart, 0.5, 6, 0.7)
- sound(338594524, RootPart, 0.5, 6, 0.9)
- sound(338594467, RootPart, 1, 6, 0.9)
- local c1 = newPart(Effects, twistedmode == false and main_color or main_color2, 0, true, false, Vector3.new(0.2, 0, 0.2), "Part", "Neon")
- mesh("SpecialMesh", c1, "Sphere", nil, nil, Vector3.new(30, 30, 30))
- c1.Material = "Neon"
- local c2 = newPart(Effects, twistedmode == false and main_color or main_color2, 0, true, false, Vector3.new(0.2, 0.2, 0.2), "Part", "Neon")
- mesh("SpecialMesh", c2, "Sphere", nil, nil, Vector3.new(50, 50, 50))
- c2.Material = "Neon"
- c1.CFrame = punchcircle.CFrame
- c2.CFrame = punchcircle.CFrame
- thread(function()
- punchcircle:Destroy()
- for i = 0, 1, 0.05 do
- swait()
- ncount = ncount + 1
- g1.ImageTransparency = i
- g2.ImageTransparency = i
- c1.Transparency = i
- c2.Transparency = i
- c1.Size = Vector3.new(0.2 + i / 10, 0.2 + i / 10, 0.2 + i / 10)
- c2.Size = Vector3.new(0.2 + i / 10, 0.2 + i / 10, 0.2 + i / 10)
- c1.CFrame = punchcircle.CFrame
- c2.CFrame = punchcircle.CFrame
- end
- g1:Destroy()
- g2:Destroy()
- c1:Destroy()
- c2:Destroy()
- end)
- for i, vhum in pairs(findCloseHumanoid(cnow.p, 12)) do
- basic.Damage(Effects, vhum, math.random(combo_punch_dam, cpd2), (twistedmode == false and main_color or main_color2).Color)
- end
- for i = 0, 1, 0.1 do
- swait()
- playAnimationFromTable(CFrame.new(0.0410308838, 1.00437975, 0.0519294739, -0.547402143, 0.832843661, -0.0820350572, 0.0422678888, 0.125414759, 0.991203725, 0.835805893, 0.539119422, -0.103854731), CFrame.new(-0.00158309937, -0.0498781204, 0.00310707092, -0.543154597, -0.839633524, 0.00239322288, -0.0351099893, 0.0255602654, 0.999056637, -0.838902712, 0.542558014, -0.0433624163), CFrame.new(1.30666351, 0.513760567, 0.119087219, 0.941509724, -0.304782867, -0.143829763, 0.289233357, 0.949791372, -0.119337261, 0.172981173, 0.0707567632, 0.982391119), CFrame.new(-1.34972382, 0.471359015, -0.393032074, 0.617199659, 0.786730587, -0.0115428045, -0.048450049, 0.0233586282, -0.998552561, -0.785323083, 0.616864026, 0.0525338277), CFrame.new(0.966072083, -0.96925211, -0.00110244751, 0.00121614337, -0.069736734, 0.997572184, -0.0348778591, 0.996955812, 0.0697359815, -0.999398112, -0.0348777696, -0.00121980906), CFrame.new(-0.981964111, -0.958715439, 0.248048782, 0.716746747, 0.0697793886, -0.693843603, -0.0259044934, 0.996958435, 0.0735041574, 0.69686234, -0.0347099937, 0.71637404), handlec0 * CFrame.Angles(0, 0, math.rad(180)) * CFrame.new(0.45, 0.4, 0), 0.3, 0.3, 0.3, 0.3)
- end
- attacking.Value = false
- end
- function attackthree()
- attacking.Value = true
- local circles = {}
- local circle3, circlet3 = newMagicCircle(Effects, 10, (twistedmode == false and main_color or main_color2).Color)
- local g31 = circlet3[1]
- local g32 = circlet3[2]
- g31.ImageTransparency = 1
- g32.ImageTransparency = 1
- local cfr = RootPart.CFrame * CFrame.new(-6, 0, -6)
- local cnow1 = CFrame.new(cfr.X, magicfloor.Y, cfr.Z)
- circle3.CFrame = cnow1
- local circle2, circlet2 = newMagicCircle(Effects, 10, (twistedmode == false and main_color or main_color2).Color)
- local g21 = circlet2[1]
- local g22 = circlet2[2]
- g21.ImageTransparency = 1
- g22.ImageTransparency = 1
- local cfr = RootPart.CFrame * CFrame.new(0, 0, -10)
- local cnow2 = CFrame.new(cfr.X, magicfloor.Y, cfr.Z)
- circle2.CFrame = cnow2
- local circle1, circlet1 = newMagicCircle(Effects, 10, (twistedmode == false and main_color or main_color2).Color)
- local g11 = circlet1[1]
- local g12 = circlet1[2]
- g11.ImageTransparency = 1
- g12.ImageTransparency = 1
- local cfr = RootPart.CFrame * CFrame.new(6, 0, -6)
- local cnow3 = CFrame.new(cfr.X, magicfloor.Y, cfr.Z)
- circlet1.CFrame = cnow3
- local ncount = 0
- sound(320557563, RootPart, 0.3, 6, 0.9)
- sound(588738949, RootPart, 0.9, 6, 0.9)
- for i = 0, 1, 0.08 do
- swait()
- g11.ImageTransparency = 1 - i
- g12.ImageTransparency = 1 - i
- g21.ImageTransparency = 1 - i
- g22.ImageTransparency = 1 - i
- g31.ImageTransparency = 1 - i
- g32.ImageTransparency = 1 - i
- circle1.CFrame = cnow1 * CFrame.Angles(0, math.rad(ncount * 1), 0)
- circle2.CFrame = cnow2 * CFrame.Angles(0, math.rad(ncount * 1), 0)
- circle3.CFrame = cnow3 * CFrame.Angles(0, math.rad(ncount * 1), 0)
- Neck.C0 = clerp(Neck.C0, necko * CFrame.Angles(math.rad(15), 0, math.rad(0)), 0.14)
- RootJoint.C0 = clerp(RootJoint.C0, RootCF * CFrame.Angles(0.05, 0, math.rad(0)), 0.14)
- LW.C0 = clerp(LW.C0, CFrame.new(-1.3, 0.5, -0.5) * CFrame.Angles(math.rad(90), 0, math.rad(50)), 0.14)
- RW.C0 = clerp(RW.C0, CFrame.new(1.3, 0.5, -0.5) * CFrame.Angles(math.rad(90), 0, math.rad(-50)), 0.14)
- end
- sound(588736245, RootPart, 0.1, 6, 0.6)
- sound(588733125, RootPart, 1, 6, 0.6)
- local c1 = newPart(Effects, twistedmode == false and main_color or main_color2, 0, true, false, Vector3.new(0.2, 0, 0.2), "Part", "Neon")
- mesh("SpecialMesh", c1, "Sphere", nil, nil, Vector3.new(30, 30, 30))
- c1.Material = "Neon"
- local c2 = newPart(Effects, twistedmode == false and main_color or main_color2, 0, true, false, Vector3.new(0.2, 0.2, 0.2), "Part", "Neon")
- mesh("SpecialMesh", c2, "Sphere", nil, nil, Vector3.new(50, 50, 50))
- c2.Material = "Neon"
- c1.CFrame = circle1.CFrame
- c2.CFrame = circle1.CFrame
- local c3 = newPart(Effects, twistedmode == false and main_color or main_color2, 0, true, false, Vector3.new(0.2, 0, 0.2), "Part", "Neon")
- mesh("SpecialMesh", c3, "Sphere", nil, nil, Vector3.new(30, 30, 30))
- c3.Material = "Neon"
- local c4 = newPart(Effects, twistedmode == false and main_color or main_color2, 0, true, false, Vector3.new(0.2, 0.2, 0.2), "Part", "Neon")
- mesh("SpecialMesh", c4, "Sphere", nil, nil, Vector3.new(50, 50, 50))
- c4.Material = "Neon"
- c3.CFrame = circle2.CFrame
- c4.CFrame = circle2.CFrame
- local c5 = newPart(Effects, twistedmode == false and main_color or main_color2, 0, true, false, Vector3.new(0.2, 0, 0.2), "Part", "Neon")
- mesh("SpecialMesh", c5, "Sphere", nil, nil, Vector3.new(30, 30, 30))
- c5.Material = "Neon"
- local c6 = newPart(Effects, twistedmode == false and main_color or main_color2, 0, true, false, Vector3.new(0.2, 0.2, 0.2), "Part", "Neon")
- mesh("SpecialMesh", c6, "Sphere", nil, nil, Vector3.new(50, 50, 50))
- c6.Material = "Neon"
- c5.CFrame = circle3.CFrame
- c6.CFrame = circle3.CFrame
- for i, vhum in pairs(findCloseHumanoid(cnow1.p, 10)) do
- basic.Damage(Effects, vhum, math.random(combo_triple_dam, ctd2), (twistedmode == false and main_color or main_color2).Color)
- end
- for i, vhum in pairs(findCloseHumanoid(cnow2.p, 10)) do
- basic.Damage(Effects, vhum, math.random(combo_triple_dam, ctd2), (twistedmode == false and main_color or main_color2).Color)
- end
- for i, vhum in pairs(findCloseHumanoid(cnow3.p, 10)) do
- basic.Damage(Effects, vhum, math.random(combo_triple_dam, ctd2), (twistedmode == false and main_color or main_color2).Color)
- end
- thread(function()
- local gt = {
- g11,
- g12,
- g21,
- g22,
- g31,
- g32
- }
- local ct = {
- c1,
- c2,
- c3,
- c4,
- c5,
- c6
- }
- local cnowt = {
- circle1.CFrame,
- circle1.CFrame,
- circle2.CFrame,
- circle2.CFrame,
- circle2.CFrame,
- circle3.CFrame
- }
- for it = 0, 1, 0.05 do
- swait()
- ncount = ncount + 1
- for i, v in pairs(gt) do
- v.ImageTransparency = it
- end
- for i, v in pairs(ct) do
- v.Transparency = it
- v.Size = Vector3.new(0.2 + -it / 10, 0.2 + it / 2, 0.2 + -it / 10)
- v.CFrame = cnowt[i]
- end
- end
- for i, v in pairs(ct) do
- v:Destroy()
- end
- circle1:Destroy()
- circle2:Destroy()
- circle3:Destroy()
- end)
- for i = 0, 2, 0.1 do
- swait()
- playAnimationFromTable(CFrame.new(0, 0.975914955, -0.0476913452, -1, 0, -8.74227766E-8, -8.60948788E-8, -0.173648715, 0.984810591, -1.51808521E-8, 0.984810591, 0.173648715), CFrame.new(0, -0.5, -0.5, -1, 8.74227766E-8, 0, 3.55580667E-8, 0.406736851, 0.913545907, 7.98647193E-8, 0.913545907, -0.406736851), CFrame.new(1.3, 0.339119911, 0.307365417, -0.444017261, -0.817721784, -0.366305858, -0.0476444066, 0.429784417, -0.901674747, 0.894751847, -0.382906735, -0.229792058), CFrame.new(-1.3, 0.361585617, 0.284931183, 0.59167707, 0.805755556, 0.0261314809, -0.64509213, 0.453764558, 0.614788115, 0.483507991, -0.380612522, 0.788266718), CFrame.new(1, -0.599855423, -0.41488266, -4.37113883E-8, 0, 1, 0.309019566, 0.951062918, 1.3507675E-8, -0.951062918, 0.309019566, -4.15722816E-8), CFrame.new(-1, -1.00336361, 0.013759613, -4.37113883E-8, 0, -1, 0.27563867, 0.961264968, -1.2048547E-8, 0.961264968, -0.27563867, -4.20182289E-8), handlec0 * CFrame.Angles(0, 0, math.rad(180)) * CFrame.new(0.45, 0.4, 0), 0.3, 0.3, 0.3, 0.3)
- end
- attacking.Value = false
- end
- counter = 0
- uis.InputBegan:connect(function(key, Global)
- if Global then
- return
- end
- if attacking.Value == true then
- return
- end
- if stunnedVal.Value == true then
- return
- end
- if key.UserInputType == Enum.UserInputType.MouseButton1 then
- if humanoid.Health <= 0 then
- return
- end
- if attacking.Value == true then
- return
- end
- if counter == 0 then
- attackone()
- counter = 1
- elseif counter == 1 then
- attacktwo()
- counter = 2
- elseif counter == 2 then
- attackthree()
- counter = 0
- end
- end
- local function YOURETOOSLOW()
- local damagepart = Instance.new("Part", Effects)
- damagepart.Transparency = 1
- damagepart.Anchored = true
- damagepart.CanCollide = false
- damagepart.Size = Vector3.new(1, 1, 1)
- damagepart.Name = "DamagePart"
- damagepart.CFrame = RootPart.CFrame * CFrame.new(0, 2, 0)
- local g = Instance.new("BillboardGui", damagepart)
- g.Enabled = true
- g.Adornee = damagepart
- g.Size = UDim2.new(6, 0, 5, 0)
- g.ExtentsOffset = Vector3.new(0, 0, 0)
- g.StudsOffset = Vector3.new(0, 0, 0)
- local t = Instance.new("TextLabel", g)
- t.BackgroundTransparency = 1
- t.Font = "SourceSansBold"
- t.FontSize = "Size24"
- local insults = {}
- if twistedmode == false then
- insults = {
- "What lies ahead could be dangerous.",
- "And who might you be?",
- "Brilliant.",
- "Care for a tale?",
- "Sigh.",
- "And then there was one.",
- "Hurry, it's past your curfew.",
- "Here's more about the author.",
- "Forgot your reading glasses?"
- }
- else
- insults = {
- "Pity. I have to destroy you.",
- "You are nothing!",
- "Who are you again?",
- "Haven't you heard of nightmares?",
- "Mindless scum. The lot of you!",
- "Only a fool would challenge me",
- "Come out here!",
- "Tough break, huh?",
- "Ugh.",
- "Did the snarbolax get ya?",
- "You'll fight Vannaduke like this?"
- }
- end
- t.Text = insults[math.random(1, #insults)]
- t.Size = UDim2.new(1, 0, 1, 0)
- t.TextStrokeTransparency = 0
- t.TextTransparency = 0
- t.TextScaled = true
- t.TextWrapped = true
- t.TextXAlignment = "Center"
- t.TextYAlignment = "Center"
- if twistedmode == false then
- t.TextColor3 = BrickColor.new("Burlap").Color
- else
- t.TextColor3 = BrickColor.new("Dark indigo").Color
- t.TextStrokeColor3 = Color3.fromRGB(243, 242, 242)
- end
- coroutine.resume(coroutine.create(function()
- for i = 1, 50 do
- game:GetService("RunService").Heartbeat:wait()
- local sinewave = math.sin(i / 500) * 4
- damagepart.CFrame = damagepart.CFrame * CFrame.new(Vector3.new(0, 0.3 - sinewave, 0))
- t.TextTransparency = t.TextTransparency + 0.02
- t.TextTransparency = t.TextStrokeTransparency + 0.02
- end
- damagepart:Destroy()
- end), t)
- end
- if key.KeyCode == Enum.KeyCode.T then
- if Anim ~= "Idle" or attacking.Value == true then
- return
- end
- if taunting then
- return
- end
- taunting = true
- attacking.Value = true
- local pitchchange = math.random(0.8, 1)
- sound(320557563, char.Head, 0.5, 6, 0.9)
- sound(315743331, char.Head, 0.4, 6, pitchchange)
- for i = 0, 1, 0.1 do
- swait()
- playAnimationFromTable(CFrame.new(0.0437469482, 1.02474928, 0.149139404, -0.983364522, 0.159183815, -0.0874929279, -0.0345598571, 0.308912098, 0.950462461, 0.178325921, 0.937674582, -0.298271805), CFrame.new(0, 0, 0, -0.99999994, 8.94069672E-8, 0, 3.82137093E-15, 4.37113883E-8, 1, 8.94069672E-8, 0.99999994, -4.37113847E-8) * CFrame.Angles(0, 0, math.rad(10)), CFrame.new(1.29335022, 0.572706223, 0.185798645, 0.915188551, -0.256768167, -0.310644507, 0.368445188, 0.845412374, 0.386686057, 0.163333893, -0.468346149, 0.86831665), CFrame.new(-1.30834198, 0.386802197, -0.150260925, -0.937473297, -0.346779048, 0.029810451, -0.186818883, 0.573605776, 0.797544599, -0.293670237, 0.742110431, -0.602522969), CFrame.new(1.02751923, -0.96768856, 8.39233398E-5, -0.00121751428, -0.0697458833, 0.997563481, 0.0174101256, 0.997412682, 0.0697564334, -0.999847054, 0.0174526293, -2.98023224E-8), CFrame.new(-0.948799133, -1.05013168, 0.0460891724, 0.173621789, 0.00303079421, -0.98480773, -0.0174536332, 0.999847829, 7.62925612E-10, 0.98465836, 0.0171884876, 0.173648134), handlec0 * CFrame.Angles(0, 0, math.rad(180)) * CFrame.new(0.45, 0.4, 0), 0.15, 0.2, 0.2, 0.2)
- if stunnedVal.Value == true then
- taunting = false
- attacking.Value = false
- return
- end
- end
- YOURETOOSLOW()
- for i = 0, 1, 0.05 do
- swait()
- playAnimationFromTable(CFrame.new(-0.0565567017, 1.00966501, 0.0799484253, -0.978587091, 0.171958208, 0.113127202, 0.137819007, 0.139172599, 0.980630875, 0.152883306, 0.97522372, -0.159891605), CFrame.new(0, 0, 0, -0.99999994, 8.94069672E-8, 0, 3.82137093E-15, 4.37113883E-8, 1, 8.94069672E-8, 0.99999994, -4.37113847E-8) * CFrame.Angles(0, 0, math.rad(-10)), CFrame.new(1.40788269, 0.454717398, 0.212509155, 0.950121403, -0.0277368799, -0.310644507, 0.152977049, 0.909434974, 0.386686087, 0.271785438, -0.414920211, 0.86831665), CFrame.new(-1.4509201, 0.919949532, -0.0151138306, -0.90630883, 0.422616482, 4.47034836E-6, -0.354439527, -0.760099351, -0.544631541, -0.230166435, -0.493606567, 0.838675439), CFrame.new(1.04504395, -0.969967008, 0.0113601685, 0.00486589968, -0.0695865601, 0.997563899, -0.0695865378, 0.995134234, 0.0697564557, -0.997563779, -0.0697564706, -4.47034836E-8), CFrame.new(-0.942367554, -1.05545759, 0.0826034546, 0.172696695, 0.0181511696, -0.984806657, -0.10452839, 0.994521916, 4.56908111E-9, 0.97941184, 0.102940395, 0.17364794), handlec0 * CFrame.Angles(0, 0, math.rad(180)) * CFrame.new(0.45, 0.4, 0), 0.15, 0.2, 0.2, 0.2)
- if stunnedVal.Value == true then
- taunting = false
- attacking.Value = false
- return
- end
- end
- taunting = false
- attacking.Value = false
- end
- function lecture()
- attacking.Value = true
- charStats.Speed.Value = charStats.Speed.Value - 10
- local lecturecircle, circlet = newMagicCircle(Effects, 0.2, BrickColor.new("Mint").Color)
- local g1 = circlet[1]
- local g2 = circlet[2]
- g1.ImageTransparency = 1
- g2.ImageTransparency = 1
- local cfr = RootPart.CFrame * CFrame.new(0, 0, 0)
- local cnow = CFrame.new(cfr.X, magicfloor.Y, cfr.Z)
- local ncount = 0
- sound(320557563, RootPart, 1, 6, 0.9)
- sound(588734767, RootPart, 0.5, 6, 1.1)
- for i = 0, 2, 0.05 do
- swait()
- ncount = ncount + 1
- g1.ImageTransparency = 1 - i / 1.5
- g2.ImageTransparency = 1 - i / 1.5
- lecturecircle.Size = Vector3.new(0.2 + lecture_range * i, 0.2, 0.2 + lecture_range * i)
- lecturecircle.CFrame = cnow * CFrame.Angles(0, math.rad(ncount * 1), 0)
- for i = 1, 2 do
- local mb = MagicBlock(BrickColor.new("Bright green"), RootPart.CFrame * CFrame.new(math.random(-lecture_range, lecture_range), -3 + math.random(-3, 6), math.random(-lecture_range, lecture_range)) * CFrame.Angles(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)), 2, 2, 2, 0, 0, 0, 0.05, 2, Effects)
- if i == 2 then
- mb.BrickColor = BrickColor.new("Mint")
- end
- mb.Material = "Neon"
- table.insert(partEffects, {
- mb,
- "Block2",
- 0.01,
- 0,
- 0,
- 0,
- mb.Mesh
- })
- end
- playAnimationFromTable(CFrame.new(0.0179138184, 1.02713346, 0.0941677094, -0.979416609, -0.201846391, 8.0537796E-4, -0.0648429543, 0.31840983, 0.945733011, -0.191149265, 0.926214457, -0.324944228), CFrame.new(0, 0, 0, -0.866024613, -0.500000954, 2.18557403E-8, 3.82137093E-15, 4.37113883E-8, 1, -0.500000954, 0.866024613, -3.78551341E-8), CFrame.new(1.27713776, 0.332588673, -0.503391266, 0.298858047, 0.640866458, -0.707092702, -0.928896606, 0.365177453, -0.061633762, 0.218711674, 0.675234199, 0.704436243), CFrame.new(-0.9246521, 0.368628383, -0.509113312, 0.828637242, -0.491167367, 0.268542558, 0.0129734641, -0.462744266, -0.886397004, 0.559635997, 0.737985015, -0.377074897), CFrame.new(1.00000763, -1.00000012, -1.90734863E-6, -2.98023224E-8, 0, 0.999999583, 0, 0.999999881, 0, -0.999999583, 0, -2.98023224E-8), CFrame.new(-0.933013916, -0.999999881, 0.25, 0.500003159, 0, -0.866028249, 0, 1, 0, 0.866028249, 0, 0.500003159), handlec0 * CFrame.Angles(0, 0, math.rad(180)) * CFrame.new(0.45, 0.4, 0), 0.15, 0.2, 0.2, 0.2)
- end
- sound(235097661, RootPart, 1, 6, 0.9)
- sound(588736245, RootPart, 0.8, 6, 0.9)
- sound(588718963, RootPart, 1, 6, 0.9)
- basic.Heal(Effects, humanoid, lecture_heal, BrickColor.new("Mint").Color)
- basic.Buff(Effects, humanoid, BrickColor.new("Mint").Color, "Attack", 0.2, lecture_duration)
- basic.Buff(Effects, humanoid, BrickColor.new("Mint").Color, "Defense", 0.2, lecture_duration)
- local function lectureheal(vhum)
- basic.Heal(Effects, vhum, lecture_heal, BrickColor.new("Mint").Color)
- basic.Buff(Effects, vhum, BrickColor.new("Mint").Color, "Attack", 0.2, lecture_duration)
- basic.Buff(Effects, vhum, BrickColor.new("Mint").Color, "Defense", 0.2, lecture_duration)
- end
- for i, vhum in pairs(findCloseHumanoid(RootPart.Position, lecture_range)) do
- lectureheal(vhum)
- end
- thread(function()
- for i = 0, 1, 0.01 do
- swait()
- g1.ImageTransparency = i
- g2.ImageTransparency = i
- lecturecircle.CFrame = cnow * CFrame.new(0, 1 * i, 0) * CFrame.Angles(0, math.rad(ncount * 1), 0)
- end
- lecturecircle:Destroy()
- end)
- for i = 0, 1.5, 0.05 do
- swait()
- playAnimationFromTable(CFrame.new(0.0216598511, 1.0008769, -0.0204467773, -0.867234588, -0.496022671, -0.0433111116, -0.0172627512, -0.0569801852, 0.998229146, -0.497608989, 0.866446555, 0.0408527702), CFrame.new(7.62939453E-6, -0.0500004292, 1.90734863E-6, -0.867234528, 0.497609079, 0.0172626413, -8.51558216E-5, -0.0348185487, 0.999393463, 0.497908443, 0.866707146, 0.0302382186), CFrame.new(1.35210419, 0.893081248, -0.493759155, 0.328532279, -0.403733701, -0.853858411, -0.776880443, -0.629646719, -0.00119540398, -0.537146807, 0.663738549, -0.520512164), CFrame.new(-1.49023438, 0.501355171, 0.184288025, 0.95356679, 0.255138934, 0.160097241, -0.292573959, 0.910908341, 0.29094255, -0.0716036856, -0.324270278, 0.943258882), CFrame.new(0.974266052, -0.969790161, 0.117904663, 0.497607976, -0.0697501153, 0.864598036, 0.00465848856, 0.99696213, 0.0777472407, -0.867394388, -0.0346596316, 0.496421278), CFrame.new(-0.966049194, -0.969308555, -0.0034942627, -0.00121700764, 0.0697792545, -0.997570336, 0.0348785371, 0.996958375, 0.0696938932, 0.999399185, -0.0347083919, -0.00364685059), handlec0 * CFrame.Angles(0, 0, math.rad(180)) * CFrame.new(0.45, 0.4, 0), 0.15, 0.2, 0.2, 0.2)
- end
- charStats.Speed.Value = charStats.Speed.Value + 10
- attacking.Value = false
- end
- function climax()
- attacking.Value = true
- speed.Value = speed.Value - 10
- local fistcircle, circlet = newMagicCircle(Effects, 50, BrickColor.new("Fog").Color)
- local g1 = circlet[1]
- local g2 = circlet[2]
- g1.ImageTransparency = 1
- g2.ImageTransparency = 1
- local ncount = 0
- local cfr = RootPart.CFrame * CFrame.new(0, 0, -30)
- local cnow = CFrame.new(cfr.X, magicfloor.Y, cfr.Z)
- fistcircle.CFrame = cnow
- sound(320557563, RootPart, 1, 6, 0.9)
- sound(588738198, RootPart, 0.4, 6, 0.9)
- sound(588717600, RootPart, 0.5, 6, 0.9)
- for i = 0, 1, 0.04 do
- swait()
- cfr = RootPart.CFrame * CFrame.new(0, 0, -30)
- cnow = CFrame.new(cfr.X, magicfloor.Y, cfr.Z)
- ncount = ncount + 1
- g1.ImageTransparency = 1 - i
- g2.ImageTransparency = 1 - i
- fistcircle.CFrame = clerp(fistcircle.CFrame, cnow * CFrame.Angles(0, math.rad(ncount * 1), 0), 0.1)
- playAnimationFromTable(CFrame.new(0.0557937622, 1.04921913, 0.00912475586, -0.936115503, 0.342024356, -0.0819005072, 0.00400094409, 0.243216246, 0.969963789, 0.351670951, 0.90767014, -0.229046851), CFrame.new(0, -0.8, 0, -0.939692974, -0.342019707, 1.83530044E-8, -0.116977915, 0.321394742, 0.939692318, -0.321393222, 0.883022189, -0.342021018), CFrame.new(1.49622345, 0.485650063, -7.36236572E-4, 0.965923131, -0.254895419, 0.044968307, 0.243222922, 0.834492624, -0.494446218, 0.0885098577, 0.488538891, 0.868040204), CFrame.new(-1.42682648, 0.480454445, -0.0511837006, 0.913287044, 0.403455853, -0.0560210645, -0.342899859, 0.687294841, -0.640351355, -0.219850853, 0.604034603, 0.766031981), CFrame.new(1.10812378, -1.04271126, 0.0382232666, 1.07288361E-6, 3.7252903E-7, 1.00000381, -0.258819729, 0.965921938, 5.21540642E-8, -0.965929031, -0.25881958, -1.16229057E-6), CFrame.new(-1.06204987, -0.338639259, -0.615785599, 0.258823186, 0.167730257, -0.951250613, -6.2584877E-7, 0.984808147, 0.173647121, 0.965925097, -0.0449432731, 0.254891276), handlec0 * CFrame.Angles(0, 0, math.rad(180)) * CFrame.new(0.45, 0.4, 0), 0.1, 0.1, 0.1, 0.2)
- end
- sound(588707205, RootPart, 0.7, 6, 0.3)
- sound(338594626, RootPart, 1, 6, 1)
- sound(240517975, RootPart, 1.2, 6, 1)
- local fp = newPart(Effects, BrickColor.new("Baby blue"), 0, true, false, Vector3.new(0.2, 0, 0.2), "Part", "Neon")
- mesh("SpecialMesh", fp, "FileMesh", "90718752", nil, Vector3.new(75, 72, 75))
- thread(function()
- for i = 0, 1, 0.03 do
- fp.CFrame = cnow * CFrame.new(0, -15 + 26 * i, 0) * CFrame.Angles(0, 0, math.rad(180))
- swait()
- end
- end)
- thread(function()
- local nncount = 0
- for i = 0, 1, 0.01 do
- if nncount % 10 == 0 and nncount < 100 then
- do
- local cp1 = newPart(Effects, BrickColor.new("Baby blue"), 0, true, false, Vector3.new(0.2, 0, 0.2), "Part", "Neon")
- mesh("SpecialMesh", cp1, "FileMesh", "20329976", nil, Vector3.new(10, 5, 10))
- cp1.CFrame = cnow
- thread(function()
- table.insert(partEffects, {
- cp1,
- "Block2",
- 0.05,
- 0,
- 0,
- 0,
- cp1.Mesh
- })
- for i = 1, 15 do
- swait()
- cp1.CFrame = cnow * CFrame.Angles(0, math.rad(2 * i), 0)
- if cp1:findFirstChild("Mesh") then
- cp1.Mesh.Scale = cp1.Mesh.Scale + Vector3.new(2, -0.1, 2)
- end
- end
- end)
- end
- elseif nncount % 10 == 4 and nncount < 100 then
- for i, vhum in pairs(findCloseHumanoid(cnow.p, 25)) do
- basic.Damage(Effects, vhum, math.random(climax_damage, clmx2), BrickColor.new("Baby blue").Color)
- end
- do
- local cp2 = newPart(Effects, BrickColor.new("Fog"), 0, true, false, Vector3.new(0.2, 0, 0.2), "Part", "Neon")
- mesh("SpecialMesh", cp2, "FileMesh", "20329976", nil, Vector3.new(10, 5, 10))
- cp2.CFrame = cnow
- thread(function()
- table.insert(partEffects, {
- cp2,
- "Block2",
- 0.05,
- 0,
- 0,
- 0,
- cp2.Mesh
- })
- for i = 1, 15 do
- swait()
- cp2.CFrame = cnow * CFrame.Angles(0, math.rad(2 * i), 0)
- if cp2:findFirstChild("Mesh") then
- cp2.Mesh.Scale = cp2.Mesh.Scale + Vector3.new(1, 0.1, 1)
- end
- end
- end)
- end
- end
- nncount = nncount + 1
- fp.Transparency = i
- g1.ImageTransparency = i
- g2.ImageTransparency = i
- fistcircle.CFrame = clerp(fistcircle.CFrame, cnow * CFrame.Angles(0, math.rad(ncount * 1), 0), 0.1)
- swait()
- end
- fp:Destroy()
- fistcircle:Destroy()
- end)
- for i = 0, 1, 0.05 do
- swait()
- playAnimationFromTable(CFrame.new(0, 1.01937675, 0.137823105, -1, 0, -8.74227766E-8, -8.40368841E-8, 0.275639653, 0.961269855, 2.40971829E-8, 0.961269855, -0.275639653), CFrame.new(0, -0.2, 0, -1, 8.74227766E-8, 0, -4.37116441E-8, -0.500002921, 0.866028607, 7.57106235E-8, 0.866028607, 0.500002921), CFrame.new(1.3999939, 1.12706375, 0.423408508, 1, 0, 0, 0, -0.978155375, 0.207913488, 0, -0.207913607, -0.978155911), CFrame.new(-1.3999939, 1.12706375, 0.423408508, 1, 0, 0, 0, -0.978155375, 0.207913488, 0, -0.207913607, -0.978155911), CFrame.new(1, -0.543029785, -0.882074356, -4.37113883E-8, 0, 1, -0.743151069, 0.669136167, -3.24841665E-8, -0.669136465, -0.74315089, -2.92488789E-8), CFrame.new(-1, -1.0230751, 0.00478363037, -4.37113883E-8, 0, -1, 0.438374817, 0.898801446, -1.91619716E-8, 0.898801625, -0.438374847, -3.9287869E-8), handlec0 * CFrame.Angles(0, 0, math.rad(180)) * CFrame.new(0.45, 0.4, 0), 0.15, 0.2, 0.2, 0.2)
- end
- speed.Value = speed.Value + 10
- attacking.Value = false
- end
- function storyteller()
- attacking.Value = true
- speed.Value = speed.Value - 0.5
- local ncount = 0
- local storycircle, circlet = newMagicCircle(Effects, 0.2, BrickColor.new("Persimmon").Color)
- local g1 = circlet[1]
- local g2 = circlet[2]
- g1.ImageTransparency = 1
- g2.ImageTransparency = 1
- local cnow = RootPart.CFrame * CFrame.new(0, -3, 0)
- local ncount = 0
- for i = 0, 8, 0.05 do
- swait()
- cnow = CFrame.new((RootPart.CFrame * CFrame.new(0, -3, 0)).p)
- g1.ImageTransparency = 1 - i
- g2.ImageTransparency = 1 - i
- if storycircle.Size.X <= 50 then
- storycircle.Size = Vector3.new(0.2 + 25 * i, 0.2, 0.2 + 25 * i)
- end
- for i = 1, 2 do
- local mb = MagicBlock(BrickColor.new("Persimmon"), RootPart.CFrame * CFrame.new(math.random(-35, 35), -3 + math.random(-3, 15), math.random(-35, 35)) * CFrame.Angles(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)), 2, 2, 2, 0, 0, 0, 0.05, 2, Effects)
- if i == 2 then
- mb.BrickColor = BrickColor.new("Bright red")
- end
- mb.Material = "Neon"
- table.insert(partEffects, {
- mb,
- "Block3",
- 0.02,
- 0.1,
- 0.1,
- 0.1,
- mb.Mesh
- })
- end
- if ncount % 5 == 0 then
- for i = 1, 2 do
- local rrange = storycircle.Size.X / 2
- local rpos = RootPart.CFrame * CFrame.new(math.random(-rrange, rrange), -3, math.random(-rrange, rrange))
- local c1 = newPart(Effects, BrickColor.new("Persimmon"), 0, true, false, Vector3.new(0.2, 0, 0.2), "Part", "Neon")
- mesh("SpecialMesh", c1, "Sphere", nil, nil, Vector3.new(5, 5, 5))
- c1.Material = "Neon"
- local c2 = newPart(Effects, BrickColor.new("Bright red"), 0, true, false, Vector3.new(0.2, 0.2, 0.2), "Part", "Neon")
- mesh("SpecialMesh", c2, "Sphere", nil, nil, Vector3.new(5, 10, 10))
- c2.Material = "Neon"
- c1.CFrame = rpos
- c2.CFrame = rpos
- for i, vhum in pairs(findCloseHumanoid(rpos.p, 10)) do
- basic.Damage(Effects, vhum, math.random(story_damage, strd2), BrickColor.new("Persimmon").Color)
- end
- local rani = math.random(160, 300)
- table.insert(partEffects, {
- c1,
- "Block2",
- 0.05,
- 5,
- 0,
- 5,
- c1.Mesh
- })
- table.insert(partEffects, {
- c2,
- "Block2",
- 0.05,
- -0.1,
- rani / 15,
- -0.1,
- c2.Mesh
- })
- local soundpart = newPart(Effects, BrickColor.White(), 1, true, false, Vector3.new(), "Part")
- soundpart.CFrame = c1.CFrame
- game.Debris:AddItem(soundpart, 6)
- local pitchchange = math.random(0.5, 1)
- sound(588733541, soundpart, 0.5, 6, 0.9)
- sound(588735945, soundpart, 1.3, 6, pitchchange)
- end
- end
- playAnimationFromTable(CFrame.new(0, 1.01936603, -0.0378189087, -1, 0, -8.74227766E-8, -8.40352001E-8, -0.275636524, 0.961250663, -2.40967886E-8, 0.961261749, 0.275635123), CFrame.Angles(0, math.rad(i * 180), 0) * CFrame.new(0, 0, 0, -1, 8.74227766E-8, 0, 3.82134891E-15, 4.37111396E-8, 0.999994278, 8.74227766E-8, 1, -4.37113883E-8), CFrame.new(1.43146515, 1.3123858, -0.0631752014, 0.990268052, -0.137058347, -0.0241671652, -0.139172703, -0.975217938, -0.171957806, 0, 0.173647746, -0.98480773), CFrame.new(-1.43147278, 1.3123858, -0.0631752014, 0.990268052, 0.137058347, 0.0241671652, 0.139172703, -0.975217938, -0.171957806, 0, 0.173647746, -0.98480773), CFrame.new(1, -0.999994278, 0, -4.37113883E-8, 0, 1, 0, 0.999994159, 0, -1, 0, -4.37113883E-8), CFrame.new(-1, -0.999994278, 0, -4.37113883E-8, 0, -1, 0, 0.999994159, 0, 1, 0, -4.37113883E-8), handlec0 * CFrame.Angles(0, 0, math.rad(180)) * CFrame.new(0.45, 0.4, 0), 0.15, 0.2, 0.2, 0.2)
- storycircle.CFrame = clerp(storycircle.CFrame, cnow * CFrame.Angles(0, math.rad(ncount * 1), 0), 1)
- ncount = ncount + 1
- end
- thread(function()
- for i = 0, 1, 0.05 do
- swait()
- g1.ImageTransparency = i
- g2.ImageTransparency = i
- end
- storycircle:Destroy()
- end)
- speed.Value = speed.Value + 0.5
- attacking.Value = false
- end
- function plottwist()
- attacking.Value = true
- speed.Value = speed.Value - 0.5
- local twistcircle, circlet = newMagicCircle(Effects, 10, BrickColor.new("Dark indigo").Color)
- local g1 = circlet[1]
- local g2 = circlet[2]
- g1.ImageTransparency = 1
- g2.ImageTransparency = 1
- local cfr = RootPart.CFrame * CFrame.new(0, 0, 0)
- local cnow = CFrame.new(cfr.X, magicfloor.Y, cfr.Z)
- local ncount = 0
- twistcircle.CFrame = cnow
- TransitionTaunt("But then", BrickColor.new("Burlap").Color)
- sound(588697034, RootPart, 1, 6, 1.3)
- for i = 0, 3, 0.05 do
- swait()
- cfr = RootPart.CFrame * CFrame.new(0, 0, 0)
- cnow = CFrame.new(cfr.X, magicfloor.Y, cfr.Z)
- g1.ImageTransparency = 1 - i
- g2.ImageTransparency = 1 - i
- twistcircle.CFrame = cnow * CFrame.Angles(0, math.rad(ncount), 0)
- for i = 1, 2 do
- local mb = MagicBlock(BrickColor.new("Bright violet"), RootPart.CFrame * CFrame.new(math.random(-4, 4), -3 + math.random(-3, 6), math.random(-4, 4)) * CFrame.Angles(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)), 2, 2, 2, 0, 0, 0, 0.05, 2, Effects)
- mb.Material = "Neon"
- if i % 2 == 0 then
- mb.BrickColor = BrickColor.new("Dark indigo")
- end
- local moveleft = (RootPart.CFrame.p - mb.Position).unit
- table.insert(partEffects, {
- mb,
- "Block3",
- 0.01,
- moveleft.X / 5,
- moveleft.Y / 5,
- moveleft.Z / 5,
- mb.Mesh
- })
- end
- playAnimationFromTable(CFrame.new(0, 1.0019027, 0.0435771942, -1, 0, -8.74227766E-8, -8.70901005E-8, 0.0871559232, 0.996194661, 7.61941354E-9, 0.996194661, -0.0871559232), CFrame.Angles(0, math.rad(i * 240), 0) * CFrame.new(0, i * 1.5 / 3, 0, -1, 8.74227766E-8, 0, 3.82137093E-15, 4.37113883E-8, 1, 8.74227766E-8, 1, -4.37113883E-8), CFrame.new(1.36698151, 0.550001979, -1.90734863E-6, 0.321399212, -0.866029441, -0.38302964, 0.556665957, 0.500005782, -0.663416743, 0.766046822, -2.10234589E-6, 0.642789721), CFrame.new(-1.29042053, 0.686791062, 1.90734863E-6, 0.286787361, 0.819148421, 0.496735334, -0.409578949, 0.573581636, -0.709406972, -0.866034746, 2.85046053E-6, 0.49999553), CFrame.new(1, -1.01519215, -0.173648834, -4.37113883E-8, 0, 1, -0.173649222, 0.984807611, -7.59044827E-9, -0.98480767, -0.173649222, -4.30473115E-8), CFrame.new(-1, -1.00000012, 0, -4.37113883E-8, 0, -1, 0, 0.999999881, 0, 1, 0, -4.37113883E-8), handlec0 * CFrame.Angles(0, 0, math.rad(180)) * CFrame.new(0.45, 0.4, 0), 0.15, 0.2, 0.2, 0.2)
- ncount = ncount + 1
- end
- thread(function()
- for i = 0, 1, 0.01 do
- swait()
- g1.ImageTransparency = i
- g2.ImageTransparency = i
- twistcircle.CFrame = cnow * CFrame.new(0, 2 * i, 0) * CFrame.Angles(0, math.rad(ncount * 1), 0)
- end
- twistcircle:Destroy()
- end)
- TransitionTaunt("They all died.", BrickColor.new("Dark indigo").Color)
- sound(233091161, RootPart, 1, 6, 1)
- weapon.COVER.BrickColor = BrickColor.new("Dark indigo")
- weapon.PAGE.BrickColor = BrickColor.new("Black")
- speed.Value = speed.Value - 1
- for i = 0, 2, 0.05 do
- swait()
- playAnimationFromTable(CFrame.new(0, 1.00425529, 0.0744171143, -1, 0, -8.74227766E-8, -8.21497323E-8, 0.342017859, 0.939683318, 2.99003275E-8, 0.939689934, -0.342019886), CFrame.new(0, 1.5, 0, -1, 8.74227766E-8, 0, -7.61939845E-9, -0.0871557593, 0.996187627, 8.70900934E-8, 0.996194541, 0.0871555358), CFrame.new(1.33481598, 0.372807026, -0.087141037, 0.939692557, -0.330366939, 0.0885202289, 0.321391076, 0.764407218, -0.558904588, 0.116978839, 0.553654134, 0.824490428), CFrame.new(-1.28868866, 0.519953251, 0.177391052, 0.906308293, 0.422617257, -3.43996646E-7, -0.39712745, 0.851644874, -0.342018694, -0.144543886, 0.309976995, 0.93969202), CFrame.new(1, -1.15274048, -0.936203003, -4.37113883E-8, 0, 1, -0.906302333, 0.42261076, -3.96157276E-8, -0.422614038, -0.906308413, -1.84730453E-8), CFrame.new(-1, -1.0340538, -0.25881958, -4.37113883E-8, 0, -1, 0.25881806, 0.96591872, -1.1313297E-8, 0.965925515, -0.258819491, -4.22219486E-8), handlec0 * CFrame.Angles(0, 0, math.rad(180)) * CFrame.new(0.45, 0.4, 0), 0.1, 0.05, 0.05, 0.05)
- end
- speed.Value = speed.Value + 1.5
- attacking.Value = false
- end
- function theend()
- attacking.Value = true
- speed.Value = speed.Value - 0.5
- local twistcircle, circlet = newMagicCircle(Effects, 10, BrickColor.new("Burlap").Color)
- local g1 = circlet[1]
- local g2 = circlet[2]
- g1.ImageTransparency = 1
- g2.ImageTransparency = 1
- local cfr = RootPart.CFrame * CFrame.new(0, 0, 0)
- local cnow = CFrame.new(cfr.X, magicfloor.Y, cfr.Z)
- local ncount = 0
- twistcircle.CFrame = cnow
- TransitionTaunt("At last", BrickColor.new("Dark indigo").Color)
- sound(588697034, RootPart, 1, 6, 1.3)
- for i = 0, 3, 0.05 do
- swait()
- cfr = RootPart.CFrame * CFrame.new(0, 0, 0)
- cnow = CFrame.new(cfr.X, magicfloor.Y, cfr.Z)
- g1.ImageTransparency = 1 - i
- g2.ImageTransparency = 1 - i
- twistcircle.CFrame = cnow * CFrame.Angles(0, math.rad(ncount), 0)
- for i = 1, 2 do
- local mb = MagicBlock(BrickColor.new("Cool yellow"), RootPart.CFrame * CFrame.new(math.random(-4, 4), -3 + math.random(-3, 6), math.random(-4, 4)) * CFrame.Angles(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)), 2, 2, 2, 0, 0, 0, 0.05, 2, Effects)
- mb.Material = "Neon"
- if i % 2 == 0 then
- mb.BrickColor = BrickColor.new("Burlap")
- end
- local moveleft = (RootPart.CFrame.p - mb.Position).unit
- table.insert(partEffects, {
- mb,
- "Block3",
- 0.01,
- moveleft.X / 5,
- moveleft.Y / 5,
- moveleft.Z / 5,
- mb.Mesh
- })
- end
- playAnimationFromTable(CFrame.new(0, 1.0019027, 0.0435771942, -1, 0, -8.74227766E-8, -8.70901005E-8, 0.0871559232, 0.996194661, 7.61941354E-9, 0.996194661, -0.0871559232), CFrame.Angles(0, math.rad(-i * 240), 0) * CFrame.new(0, i * 1.5 / 3, 0, -1, 8.74227766E-8, 0, 3.82137093E-15, 4.37113883E-8, 1, 8.74227766E-8, 1, -4.37113883E-8), CFrame.new(1.36698151, 0.550001979, -1.90734863E-6, 0.321399212, -0.866029441, -0.38302964, 0.556665957, 0.500005782, -0.663416743, 0.766046822, -2.10234589E-6, 0.642789721), CFrame.new(-1.29042053, 0.686791062, 1.90734863E-6, 0.286787361, 0.819148421, 0.496735334, -0.409578949, 0.573581636, -0.709406972, -0.866034746, 2.85046053E-6, 0.49999553), CFrame.new(1, -1.01519215, -0.173648834, -4.37113883E-8, 0, 1, -0.173649222, 0.984807611, -7.59044827E-9, -0.98480767, -0.173649222, -4.30473115E-8), CFrame.new(-1, -1.00000012, 0, -4.37113883E-8, 0, -1, 0, 0.999999881, 0, 1, 0, -4.37113883E-8), handlec0 * CFrame.Angles(0, 0, math.rad(180)) * CFrame.new(0.45, 0.4, 0), 0.15, 0.2, 0.2, 0.2)
- ncount = ncount + 1
- end
- thread(function()
- for i = 0, 1, 0.01 do
- swait()
- g1.ImageTransparency = i
- g2.ImageTransparency = i
- twistcircle.CFrame = cnow * CFrame.new(0, 2 * i, 0) * CFrame.Angles(0, math.rad(ncount * 1), 0)
- end
- twistcircle:Destroy()
- end)
- sound(233091183, RootPart, 1, 6, 1)
- TransitionTaunt("The end.", BrickColor.new("Burlap").Color)
- weapon.COVER.BrickColor = BrickColor.new("Dirt brown")
- weapon.PAGE.BrickColor = BrickColor.new("Burlap")
- speed.Value = speed.Value - 1
- for i = 0, 2, 0.05 do
- swait()
- playAnimationFromTable(CFrame.new(0, 1.00425529, 0.0744171143, -1, 0, -8.74227766E-8, -8.21497323E-8, 0.342017859, 0.939683318, 2.99003275E-8, 0.939689934, -0.342019886), CFrame.new(0, 1.5, 0, -1, 8.74227766E-8, 0, -7.61939845E-9, -0.0871557593, 0.996187627, 8.70900934E-8, 0.996194541, 0.0871555358), CFrame.new(1.33481598, 0.372807026, -0.087141037, 0.939692557, -0.330366939, 0.0885202289, 0.321391076, 0.764407218, -0.558904588, 0.116978839, 0.553654134, 0.824490428), CFrame.new(-1.28868866, 0.519953251, 0.177391052, 0.906308293, 0.422617257, -3.43996646E-7, -0.39712745, 0.851644874, -0.342018694, -0.144543886, 0.309976995, 0.93969202), CFrame.new(1, -1.15274048, -0.936203003, -4.37113883E-8, 0, 1, -0.906302333, 0.42261076, -3.96157276E-8, -0.422614038, -0.906308413, -1.84730453E-8), CFrame.new(-1, -1.0340538, -0.25881958, -4.37113883E-8, 0, -1, 0.25881806, 0.96591872, -1.1313297E-8, 0.965925515, -0.258819491, -4.22219486E-8), handlec0 * CFrame.Angles(0, 0, math.rad(180)) * CFrame.new(0.45, 0.4, 0), 0.1, 0.05, 0.05, 0.05)
- end
- speed.Value = speed.Value + 1.5
- attacking.Value = false
- end
- function heartbreaker()
- attacking.Value = true
- speed.Value = speed.Value - 1
- local ncount = 0
- for i = 0, 4, 0.05 do
- swait()
- if ncount % 2 == 0 then
- for i = 1, 2 do
- do
- local heartcircle, circlet = newMagicCircle(Effects, 10, BrickColor.new("Bright orange").Color)
- local g1 = circlet[1]
- local g2 = circlet[2]
- g1.ImageTransparency = 0.5
- g2.ImageTransparency = 0.5
- local ranc = CFrame.new(math.random(-30, 30), math.random(0, 20), math.random(5, 10))
- local cnow = RootPart.CFrame * ranc
- cnow = CFrame.new(cnow.p, cnow.p + (cnow.p - mouse.Hit.p).unit) * CFrame.Angles(math.rad(90), 0, 0)
- heartcircle.CFrame = cnow * CFrame.Angles(0, math.rad(4.5), 0)
- thread(function()
- local mousehitp = mouse.Hit.p
- local prevc = cnow
- for i = 0, 1, 0.05 do
- g1.ImageTransparency = 1 - i
- g2.ImageTransparency = 1 - i
- heartcircle.CFrame = cnow * CFrame.Angles(0, math.rad(25 * i), 0)
- swait()
- end
- local randomhitcf = CFrame.new(mousehitp) * CFrame.new(math.random(-10, 10), 0, math.random(-10, 10))
- local magnitude = math.abs((randomhitcf.p - cnow.p).magnitude)
- local unit = (randomhitcf.p - cnow.p).unit
- local lighthit, lightpos = rayCast(cnow.p, unit, magnitude, char)
- if lighthit and lightpos then
- randomhitcf = CFrame.new(lightpos)
- end
- Lightning(prevc.p, randomhitcf.p, 4, 5, "Bright orange", 0.5, 0.1, 0.05)
- local c1 = newPart(Effects, BrickColor.new("Bright orange"), 0, true, false, Vector3.new(0.2, 0, 0.2), "Part", "Neon")
- mesh("SpecialMesh", c1, "Sphere", nil, nil, Vector3.new(5, 5, 5))
- c1.Material = "Neon"
- local c2 = newPart(Effects, BrickColor.new("Gold"), 0, true, false, Vector3.new(0.2, 0.2, 0.2), "Part", "Neon")
- mesh("SpecialMesh", c2, "Sphere", nil, nil, Vector3.new(5, 10, 10))
- c2.Material = "Neon"
- c1.CFrame = CFrame.new(randomhitcf.p)
- c2.CFrame = CFrame.new(randomhitcf.p)
- for i, vhum in pairs(findCloseHumanoid(c1.CFrame.p, 6)) do
- basic.Damage(Effects, vhum, math.random(6, 9), BrickColor.new("Bright orange").Color)
- end
- local rani = math.random(160, 300)
- table.insert(partEffects, {
- c1,
- "Block2",
- 0.05,
- 5,
- 0,
- 5,
- c1.Mesh
- })
- table.insert(partEffects, {
- c2,
- "Block2",
- 0.05,
- -0.1,
- rani / 15,
- -0.1,
- c2.Mesh
- })
- local soundpart = newPart(Effects, BrickColor.White(), 1, true, false, Vector3.new(), "Part")
- soundpart.CFrame = c1.CFrame
- game.Debris:AddItem(soundpart, 6)
- local pitchange = math.random(0.4, 1)
- sound(588733541, soundpart, 0.5, 6, 1)
- sound(338594574, soundpart, 1.3, 6, pitchange)
- for i = 0, 1, 0.05 do
- g1.ImageTransparency = i
- g2.ImageTransparency = i
- heartcircle.CFrame = cnow * CFrame.Angles(0, math.rad(25) + math.rad(45 * i), 0)
- swait()
- end
- heartcircle:Destroy()
- end)
- end
- end
- end
- swait()
- playAnimationFromTable(CFrame.new(0.0697402954, 1.01931477, 0.118648529, -0.860671461, 0.4896833, -0.139482543, 8.06270516E-4, 0.275256157, 0.961370528, 0.509160578, 0.827311695, -0.237299904), CFrame.new(0, -0.05, 0, -0.866024971, -0.498098522, -0.0435780659, -7.61941354E-9, -0.0871559307, 0.996194661, -0.500001192, 0.86272943, 0.0754791945), CFrame.new(1.32081604, 0.422932148, -0.058631897, -0.296193659, -0.331590027, -0.895722032, -0.427173555, 0.884772658, -0.186280653, 0.854278922, 0.327453613, -0.403710395), CFrame.new(-1.45079041, 0.495441914, 0.192886353, -0.338018954, 0.457873225, 0.822250545, 0.346367121, 0.872877896, -0.343677372, -0.875084937, 0.168630987, -0.453641474), CFrame.new(1.01055908, -0.95151329, -3.81469727E-6, 2.98023224E-8, -0.0871559829, 0.996195495, -4.47034836E-8, 0.996194303, 0.0871559978, -1.00000072, 4.28408384E-8, -5.96046448E-8), CFrame.new(-0.844215393, -0.938362122, 0.0666542053, 0.498098373, 0.08715415, -0.862729788, 0.107469194, 0.981060266, 0.161155596, 0.860435188, -0.172988191, 0.479298174), nil, 0.15, 0.2, 0.2, 0.2)
- ncount = ncount + 1
- end
- speed.Value = speed.Value + 1
- attacking.Value = false
- end
- function darkmeaning()
- speed.Value = speed.Value - 0.2
- local darkcircle, circlet = newMagicCircle(Effects, 0.2, BrickColor.new("Black").Color)
- local g1 = circlet[1]
- local g2 = circlet[2]
- g1.ImageTransparency = 1
- g2.ImageTransparency = 1
- local cfr = mouse.Hit
- local cnow = CFrame.new(cfr.X, cfr.Y, cfr.Z)
- local ncount = 0
- local c1 = newPart(Effects, BrickColor.new("Black"), 0.2, true, false, Vector3.new(0.2, 0.2, 0.2), "Part", "Neon")
- mesh("SpecialMesh", c1, "Sphere", nil, nil, Vector3.new(40, 40, 40))
- c1.Material = "Neon"
- local c2 = newPart(Effects, BrickColor.new("Really black"), 0.2, true, false, Vector3.new(0.2, 0.2, 0.2), "Part", "Neon")
- mesh("SpecialMesh", c2, "Sphere", nil, nil, Vector3.new(50, 50, 50))
- c2.Material = "Neon"
- c1.CFrame = darkcircle.CFrame * CFrame.new(0, 6, 0)
- c2.CFrame = darkcircle.CFrame * CFrame.new(0, 6, 0)
- local soundpart = newPart(Effects, BrickColor.White(), 1, true, false, Vector3.new(), "Part")
- soundpart.CFrame = c1.CFrame
- game.Debris:AddItem(soundpart, 6)
- sound(588736245, soundpart, 0.5, 6, 1)
- sound(588737825, soundpart, 0.4, 6, 0.9)
- for i = 0, 8, 0.05 do
- swait()
- if math.abs((RootPart.Position - mouse.Hit.p).magnitude) <= 100 then
- cfr = mouse.Hit
- cnow = CFrame.new(cfr.X, magicfloor.Y, cfr.Z)
- end
- ncount = ncount + 1
- g1.ImageTransparency = 1 - i / 1.5
- g2.ImageTransparency = 1 - i / 1.5
- if darkcircle.Size.X <= 20 then
- darkcircle.Size = Vector3.new(0.2 + 30 * i, 0.2, 0.2 + 30 * i)
- end
- darkcircle.CFrame = clerp(darkcircle.CFrame, cnow * CFrame.Angles(0, math.rad(ncount * 1), 0), 0.01)
- c1.CFrame = darkcircle.CFrame * CFrame.new(0, 6, 0)
- c2.CFrame = darkcircle.CFrame * CFrame.new(0, 6, 0)
- for i = 1, 2 do
- local mb = MagicBlock(BrickColor.new("Really black"), darkcircle.CFrame * CFrame.new(math.random(-10, 10), -3 + math.random(3, 6), math.random(-10, 10)) * CFrame.Angles(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)), 2, 2, 2, 0, 0, 0, 0.05, 2, Effects)
- if i == 2 then
- mb.BrickColor = BrickColor.new("Black")
- end
- mb.Material = "Neon"
- table.insert(partEffects, {
- mb,
- "Block3",
- 0.02,
- 0.1,
- 0.1,
- 0.1,
- mb.Mesh
- })
- end
- if ncount % 20 == 0 then
- local soundpart = newPart(Effects, BrickColor.White(), 1, true, false, Vector3.new(), "Part")
- soundpart.CFrame = c1.CFrame
- game.Debris:AddItem(soundpart, 6)
- sound(588736245, soundpart, 0.5, 6, 1)
- sound(588737825, soundpart, 0.7, 6, 0.9)
- local c3 = newPart(Effects, BrickColor.new("Black"), 0.2, true, false, Vector3.new(0.2, 0.2, 0.2), "Part", "Neon")
- mesh("SpecialMesh", c3, "Sphere", nil, nil, Vector3.new(25, 25, 25))
- c3.Material = "Neon"
- c3.CFrame = c1.CFrame
- table.insert(partEffects, {
- c3,
- "Block2",
- 0.05,
- 5,
- 5,
- 5,
- c3.Mesh
- })
- local c4 = newPart(Effects, BrickColor.new("Really black"), 0.2, true, false, Vector3.new(0.2, 0, 0.2), "Part", "Neon")
- mesh("SpecialMesh", c4, "Sphere", nil, nil, Vector3.new(25, 25, 25))
- c4.Material = "Neon"
- c4.CFrame = darkcircle.CFrame
- table.insert(partEffects, {
- c4,
- "Block2",
- 0.05,
- 8,
- 1,
- 8,
- c4.Mesh
- })
- for i, vhum in pairs(findCloseHumanoid(c3.Position, 18)) do
- basic.Damage(Effects, vhum, math.random(2, 4), BrickColor.new("Maroon").Color)
- basic.Debuff(Effects, vhum, BrickColor.new("Maroon").Color, "Attack", 0.05, 6)
- end
- local cp1 = newPart(Effects, BrickColor.new("Really black"), 0, true, false, Vector3.new(0.2, 0, 0.2), "Part", "Neon")
- mesh("SpecialMesh", cp1, "FileMesh", "20329976", nil, Vector3.new(10, 5, 10))
- cp1.CFrame = c4.CFrame
- table.insert(partEffects, {
- cp1,
- "Block2",
- 0.05,
- -0.1,
- 0.2,
- -0.1,
- cp1.Mesh
- })
- local cp2 = newPart(Effects, BrickColor.new("Really black"), 0, true, false, Vector3.new(0.2, 0, 0.2), "Part", "Neon")
- mesh("SpecialMesh", cp2, "FileMesh", "20329976", nil, Vector3.new(15, 5, 15))
- cp2.CFrame = c4.CFrame
- table.insert(partEffects, {
- cp2,
- "Block2",
- 0.05,
- -0.1,
- 0.1,
- -0.1,
- cp2.Mesh
- })
- end
- end
- thread(function()
- local cnow = darkcircle.CFrame
- for i = 0, 1, 0.01 do
- swait()
- c1.Size = c1.Size * (1 - i)
- c2.Size = c2.Size * (1 - i)
- c1.Transparency = c1.Transparency + i
- c2.Transparency = c2.Transparency + i
- g1.ImageTransparency = i
- g2.ImageTransparency = i
- darkcircle.CFrame = cnow * CFrame.new(0, 1 * i, 0) * CFrame.Angles(0, math.rad(ncount * 1), 0)
- end
- darkcircle:Destroy()
- c1:Destroy()
- c2:Destroy()
- end)
- speed.Value = speed.Value + 0.2
- end
- function diminuendo()
- attacking.Value = true
- speed.Value = speed.Value - 0.5
- local dimcircle, circlet = newMagicCircle(Effects, 10, BrickColor.new("Navy blue").Color)
- local g1 = circlet[1]
- local g2 = circlet[2]
- g1.ImageTransparency = 1
- g2.ImageTransparency = 1
- local cnow = CFrame.new(RootPart.Position.X, magicfloor.Y, RootPart.Position.Z)
- local ncount = 0
- dimcircle.CFrame = cnow
- local fp2 = newPart(Effects, BrickColor.new("Black"), 0.2, false, false, Vector3.new(0.2, 0.2, 0.2), "Part", "Neon")
- mesh("SpecialMesh", fp2, "FileMesh", "90718752", nil, Vector3.new(4.5, 3.5, 4.5))
- local fpw = weld(fp2, char["Left Arm"], fp2, CFrame.new(0, -0.85, 0))
- local fp = newPart(Effects, BrickColor.new("Navy blue"), 0.1, false, false, Vector3.new(0.2, 0.2, 0.2), "Part", "Neon")
- mesh("SpecialMesh", fp, "FileMesh", "90718752", nil, Vector3.new(5, 4, 5))
- local fpw = weld(fp, char["Left Arm"], fp, CFrame.new(0, -0.85, 0))
- local ncount = 0
- sound(320557563, RootPart, 0.5, 6, 0.9)
- for i = 0, 1, 0.05 do
- swait()
- ncount = ncount + 1
- g1.ImageTransparency = 1 - i
- g2.ImageTransparency = 1 - i
- cnow = CFrame.new(RootPart.Position.X, magicfloor.Y, RootPart.Position.Z)
- dimcircle.CFrame = clerp(dimcircle.CFrame, cnow * CFrame.Angles(0, math.rad(ncount * 2), 0), 0.1)
- playAnimationFromTable(CFrame.new(-0.0600166321, 1.00377321, 0.013168335, -0.600801229, -0.790335298, 0.120063931, 0.0515110902, 0.111605346, 0.992416978, -0.797741473, 0.602429628, -0.0263414718), CFrame.new(0.00345993042, -0.0498781204, 4.25338745E-4, -0.60254091, 0.797009289, -0.0415658727, -0.0351099893, 0.0255602654, 0.999056637, 0.797320008, 0.603431642, 0.0125819258), CFrame.new(1.3885479, 0.507249117, 0.0394897461, 0.960471272, -0.259713769, -0.100255221, 0.222270221, 0.932230234, -0.285557956, 0.167624235, 0.251986533, 0.953106344), CFrame.new(-1.20738411, 0.441636086, -0.159381866, 0.614046216, -0.789190769, -0.0115426555, 0.0343859009, 0.041359555, -0.998552561, 0.788525641, 0.612760246, 0.0525335595), CFrame.new(0.825660706, -0.966924191, 0.346191406, 0.69384408, -0.0697358176, 0.716745973, 0.0233537368, 0.996955752, 0.0743911862, -0.719751477, -0.034877073, 0.69336015), CFrame.new(-1.05771065, -0.975158215, -0.376472473, -0.529659808, 0.0697788224, -0.845339537, 0.066512011, 0.996958554, 0.0406203046, 0.845602632, -0.0347101763, -0.53268981), nil, 0.15, 0.15, 0.15, 0.15)
- end
- sound(320557563, RootPart, 0.5, 6, 0.8)
- for i = 0, 1, 0.05 do
- swait()
- ncount = ncount + 1
- cnow = CFrame.new(RootPart.Position.X, magicfloor.Y, RootPart.Position.Z)
- dimcircle.CFrame = clerp(dimcircle.CFrame, cnow * CFrame.Angles(0, math.rad(ncount * 2), 0), 0.1)
- playAnimationFromTable(CFrame.new(0.0410308838, 1.00437975, 0.0519294739, -0.547402143, 0.832843661, -0.0820350572, 0.0422678888, 0.125414759, 0.991203725, 0.835805893, 0.539119422, -0.103854731), CFrame.new(-0.00158309937, -0.0498781204, 0.00310707092, -0.543154597, -0.839633524, 0.00239322288, -0.0351099893, 0.0255602654, 0.999056637, -0.838902712, 0.542558014, -0.0433624163), CFrame.new(1.30666351, 0.513760567, 0.119087219, 0.941509724, -0.304782867, -0.143829763, 0.289233357, 0.949791372, -0.119337261, 0.172981173, 0.0707567632, 0.982391119), CFrame.new(-1.34972382, 0.471359015, -0.393032074, 0.617199659, 0.786730587, -0.0115428045, -0.048450049, 0.0233586282, -0.998552561, -0.785323083, 0.616864026, 0.0525338277), CFrame.new(0.966072083, -0.96925211, -0.00110244751, 0.00121614337, -0.069736734, 0.997572184, -0.0348778591, 0.996955812, 0.0697359815, -0.999398112, -0.0348777696, -0.00121980906), CFrame.new(-0.981964111, -0.958715439, 0.248048782, 0.716746747, 0.0697793886, -0.693843603, -0.0259044934, 0.996958435, 0.0735041574, 0.69686234, -0.0347099937, 0.71637404), handlec0 * CFrame.Angles(0, 0, math.rad(180)) * CFrame.new(0.45, 0.4, 0), 0.3, 0.3, 0.3, 0.3)
- end
- local targetchar = findClosestHumanoid((RootPart.CFrame * CFrame.new(0, 0, -3)).p, 5)
- local charweld
- if targetchar and not targetchar.Parent:findFirstChild("Humanoid") and not targetchar.Parent:findFirstChild("Torso") then
- targetchar = nil
- else
- end
- if not targetchar then
- AttackHas[2] = 0.75
- else
- Energy.Value = Energy.Value - Attack2Energy
- AttackHas[2] = 0
- RootPart.Anchored = true
- speed.Value = speed.Value - 10
- targetchar = targetchar.Parent
- basic.Stun(Effects, targetchar, 0, BrickColor.new("Gold").Color, 3)
- local charc0 = CFrame.new(0, -0.9, 0) * CFrame.Angles(math.rad(-90), 0, 0)
- charweld = weld(targetchar.Torso, char["Left Arm"], targetchar.Torso, charc0)
- game.Debris:AddItem(charweld, 3)
- end
- if targetchar then
- for i = 0, 1, 0.05 do
- swait()
- ncount = ncount + 1
- cnow = CFrame.new(RootPart.Position.X, magicfloor.Y, RootPart.Position.Z)
- dimcircle.CFrame = clerp(dimcircle.CFrame, cnow * CFrame.Angles(0, math.rad(ncount * 2), 0), 0.1)
- playAnimationFromTable(CFrame.new(-0.0461044312, 1.02573538, 0.151550293, -0.897009611, -0.432285577, 0.0922381207, -0.0529810488, 0.312321305, 0.948498368, -0.438830316, 0.845923483, -0.30305773), CFrame.new(0, -0.3, 0, -0.895833254, 0.442447841, 0.0415550545, 0.12095432, 0.152778178, 0.98083061, 0.427617639, 0.883686006, -0.190379739), CFrame.new(1.38844299, 0.552239895, 0.156646729, 0.942529202, -0.331319153, -0.0432473421, 0.294607639, 0.885115027, -0.360246658, 0.157635778, 0.326801091, 0.931855321), CFrame.new(-1.41482544, 0.724197388, -0.12689209, 0.845814824, -0.529278815, -0.0668228045, 0.0309180338, 0.17368032, -0.984316587, 0.532583714, 0.830482543, 0.163265914), CFrame.new(1.05383301, -0.8382833, 0.168655396, 0.0921938419, -0.120973244, 0.98836714, -0.228760138, 0.963469744, 0.139264792, -0.969108343, -0.238938704, 0.061152637), CFrame.new(-0.739295959, -0.737548828, -0.929321289, -0.396622777, -0.060483858, -0.915989399, -7.82623887E-4, 0.997849047, -0.06555105, 0.91798234, -0.0252833068, -0.395817429), nil, 0.2, 0.2, 0.2, 0.2)
- if ncount % 6 == 0 then
- sound(240429615, targetchar.Torso, 1, 6, 1)
- basic.Damage(Effects, targetchar.Humanoid, 2, BrickColor.new("Bright red").Color)
- end
- for i = 1, 2 do
- local mb = MagicBlock(BrickColor.new("Bright red"), targetchar.Torso.CFrame * CFrame.new(math.random(0, 0), math.random(0, 0), math.random(0, 0)) * CFrame.Angles(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)), 2, 2, 2, 0, 0, 0, 0.05, 2, Effects)
- mb.Material = "Neon"
- if i % 2 == 0 then
- mb.BrickColor = BrickColor.new("Maroon")
- end
- local moveleft = (RootPart.CFrame.p - mb.Position).unit
- table.insert(partEffects, {
- mb,
- "Block3",
- 0.01,
- moveleft.X / 5,
- moveleft.Y / 5,
- moveleft.Z / 5,
- mb.Mesh
- })
- end
- end
- local nncount = 0
- for i = 0, 1, 0.05 do
- swait()
- nncount = nncount + 1
- ncount = ncount + 1
- cnow = CFrame.new(RootPart.Position.X, magicfloor.Y, RootPart.Position.Z)
- dimcircle.CFrame = clerp(dimcircle.CFrame, cnow * CFrame.Angles(0, math.rad(ncount * 2), 0), 0.1)
- playAnimationFromTable(CFrame.new(0.0185089111, 1.03275299, 0.176944733, -0.922103882, 0.385163754, -0.0370508581, 0.104532577, 0.340151161, 0.934549272, 0.372553796, 0.857875347, -0.353919506), CFrame.new(3.35693359E-4, -1.1, 1.98364258E-4, -0.821589708, -0.514561951, -0.245389104, -0.500172675, 0.444116235, 0.743365765, -0.273526728, 0.733479381, -0.622257054), CFrame.new(1.36499023, 0.639148712, 0.270652771, 0.904243946, -0.405099988, 0.135041788, 0.313710421, 0.844781041, 0.433538914, -0.289702028, -0.349669486, 0.89097178), CFrame.new(-1.17331696, 0.446300507, -0.639648438, 0.913501143, 0.404960155, -0.039015606, -0.201663747, 0.367430627, -0.90793097, -0.353336453, 0.837260902, 0.417316198), CFrame.new(0.999977112, -1.00247955, -0.0697174072, 2.20537186E-6, 1.84774399E-6, 0.999999702, -0.0697605908, 0.997569919, -3.51667404E-6, -0.997566164, -0.0697643161, 4.60445881E-6), CFrame.new(-1.14704132, -0.00882720947, -0.904769897, 0.508098304, 0.26009196, -0.821089268, 0.273413301, 0.855306029, 0.440123796, 0.816752791, -0.448124319, 0.36346224), nil, 0.3, 0.3, 0.3, 0.3)
- for i = 1, 2 do
- local mb = MagicBlock(BrickColor.new("Navy blue"), targetchar.Torso.CFrame * CFrame.new(math.random(0, 0), math.random(0, 0), math.random(0, 0)) * CFrame.Angles(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)), 2, 2, 2, 0, 0, 0, 0.05, 2, Effects)
- mb.Material = "Neon"
- if i % 2 == 0 then
- mb.BrickColor = BrickColor.new("Black")
- end
- local moveleft = (RootPart.CFrame.p - mb.Position).unit
- table.insert(partEffects, {
- mb,
- "Block3",
- 0.01,
- moveleft.X / 15,
- moveleft.Y / 15,
- moveleft.Z / 15,
- mb.Mesh
- })
- end
- if nncount == 15 then
- sound(231917833, targetchar.Torso, 1, 6, 1)
- local c1 = newPart(Effects, BrickColor.new("Navy blue"), 0.2, true, false, Vector3.new(0.2, 0.2, 0.2), "Part", "Neon")
- mesh("SpecialMesh", c1, "Sphere", nil, nil, Vector3.new(40, 40, 40))
- c1.Material = "Neon"
- local c2 = newPart(Effects, BrickColor.new("Storm blue"), 0.2, true, false, Vector3.new(0.2, 0.2, 0.2), "Part", "Neon")
- mesh("SpecialMesh", c2, "Sphere", nil, nil, Vector3.new(50, 50, 50))
- c2.Material = "Neon"
- c1.CFrame = targetchar.Torso.CFrame * CFrame.new(0, 0, 0)
- c2.CFrame = targetchar.Torso.CFrame * CFrame.new(0, 0, 0)
- table.insert(partEffects, {
- c1,
- "Block2",
- 0.05,
- 1,
- 1,
- 1,
- c1.Mesh
- })
- table.insert(partEffects, {
- c2,
- "Block2",
- 0.05,
- 1,
- 1,
- 1,
- c1.Mesh
- })
- local cpcolor = BrickColor.new("Bright red")
- if magichit and magichit.ClassName == "Part" then
- cpcolor = magichit.BrickColor
- end
- local cp1 = newPart(Effects, cpcolor, 0, true, false, Vector3.new(0.2, 0, 0.2), "Part", "Neon")
- mesh("SpecialMesh", cp1, "FileMesh", "20329976", nil, Vector3.new(5, 5, 5))
- cp1.CFrame = CFrame.new(targetchar.Torso.Position.X, magicfloor.Y, targetchar.Torso.Position.Z)
- local cp2 = newPart(Effects, cpcolor, 0, true, false, Vector3.new(0.2, 0, 0.2), "Part", "Neon")
- mesh("SpecialMesh", cp2, "FileMesh", "20329976", nil, Vector3.new(10, 5, 10))
- cp2.CFrame = CFrame.new(targetchar.Torso.Position.X, magicfloor.Y, targetchar.Torso.Position.Z)
- local cp3 = newPart(Effects, cpcolor, 0, true, false, Vector3.new(0.2, 0, 0.2), "Part", "Neon")
- mesh("SpecialMesh", cp3, "FileMesh", "20329976", nil, Vector3.new(15, 5, 15))
- cp3.CFrame = CFrame.new(targetchar.Torso.Position.X, magicfloor.Y, targetchar.Torso.Position.Z)
- table.insert(partEffects, {
- cp3,
- "Block2",
- 0.05,
- 0.2,
- 0.2,
- 0.2,
- cp3.Mesh
- })
- table.insert(partEffects, {
- cp2,
- "Block2",
- 0.05,
- 0.2,
- 0.15,
- 0.2,
- cp2.Mesh
- })
- table.insert(partEffects, {
- cp1,
- "Block2",
- 0.05,
- 0.2,
- 0.1,
- 0.2,
- cp1.Mesh
- })
- basic.Damage(Effects, targetchar.Humanoid, 12, BrickColor.new("Storm blue").Color)
- end
- end
- charweld.Parent = nil
- end
- thread(function()
- local cnow = dimcircle.CFrame
- for i = 0, 1, 0.05 do
- swait()
- g1.ImageTransparency = i
- g2.ImageTransparency = i
- dimcircle.CFrame = clerp(dimcircle.CFrame, cnow * CFrame.new(0, 1 * i, 0), 0.1)
- end
- dimcircle:Destroy()
- end)
- fp2:Destroy()
- fp:Destroy()
- if targetchar then
- RootPart.Anchored = false
- speed.Value = speed.Value + 10
- end
- speed.Value = speed.Value + 0.5
- attacking.Value = false
- end
- if key.KeyCode == Enum.KeyCode.Q then
- if AttackHas[1] < AttackNeeded[1] or Energy.Value < Attack1Energy then
- return
- end
- Energy.Value = Energy.Value - Attack1Energy
- AttackHas[1] = 0
- AttackCan[1] = false
- if twistedmode == false then
- lecture()
- else
- darkmeaning()
- end
- AttackCan[1] = true
- end
- if key.KeyCode == Enum.KeyCode.E then
- if AttackHas[2] < AttackNeeded[2] or Energy.Value < Attack2Energy then
- return
- end
- if twistedmode == false then
- Energy.Value = Energy.Value - Attack2Energy
- AttackHas[2] = 0
- end
- AttackCan[2] = false
- if twistedmode == false then
- climax()
- else
- diminuendo()
- end
- AttackCan[2] = true
- end
- if key.KeyCode == Enum.KeyCode.R then
- if AttackHas[3] < AttackNeeded[3] or Energy.Value < Attack3Energy then
- return
- end
- Energy.Value = Energy.Value - Attack3Energy
- AttackHas[3] = 0
- AttackCan[3] = false
- if twistedmode == false then
- storyteller()
- else
- heartbreaker()
- end
- AttackCan[3] = true
- end
- if key.KeyCode == Enum.KeyCode.F then
- if AttackHas[4] < AttackNeeded[4] or Energy.Value < Attack4Energy then
- return
- end
- Energy.Value = Energy.Value - Attack4Energy
- AttackHas[4] = 0
- AttackCan[4] = false
- if twistedmode == false then
- twistedmode = true
- plottwist()
- Atk1.Reload.BackgroundColor3 = Color3.fromRGB(40, 12, 63)
- Atk2.Reload.BackgroundColor3 = Color3.fromRGB(40, 12, 63)
- Atk3.Reload.BackgroundColor3 = Color3.fromRGB(40, 12, 63)
- Atk4.Reload.BackgroundColor3 = Color3.fromRGB(40, 12, 63)
- Atk1.AttackLabel.Text = U_A1_Name
- Atk2.AttackLabel.Text = U_A2_Name
- Atk3.AttackLabel.Text = U_A3_Name
- Atk4.AttackLabel.Text = U_A4_Name
- charStats.Attack.Value = charStats.Attack.Value + 0.1
- charStats.Defense.Value = charStats.Defense.Value + 0.1
- charStats.Speed.Value = charStats.Speed.Value - 0.2
- else
- twistedmode = false
- theend()
- Atk1.Reload.BackgroundColor3 = Color3.fromRGB(42, 42, 42)
- Atk2.Reload.BackgroundColor3 = Color3.fromRGB(42, 42, 42)
- Atk3.Reload.BackgroundColor3 = Color3.fromRGB(42, 42, 42)
- Atk4.Reload.BackgroundColor3 = Color3.fromRGB(42, 42, 42)
- Atk1.AttackLabel.Text = N_A1_Name
- Atk2.AttackLabel.Text = N_A2_Name
- Atk3.AttackLabel.Text = N_A3_Name
- Atk4.AttackLabel.Text = N_A4_Name
- charStats.Attack.Value = charStats.Attack.Value - 0.1
- charStats.Defense.Value = charStats.Defense.Value - 0.1
- charStats.Speed.Value = charStats.Speed.Value + 0.2
- end
- AttackCan[4] = true
- end
- end)
- thread(function()
- tweentick = 45
- tweenrot = 0.9
- tweenrotm = 0.15
- local enhancedis = false
- local alreadyenhance = false
- local pem = script.ParticleEmitter:Clone()
- while true do
- swait()
- LH:SetDesiredAngle(0.161)
- RH:SetDesiredAngle(-0161)
- sinecount = sinecount + 1
- normcount = normcount + 1
- local sinewave = math.sin(sinecount * 3 / 75) * 0.2
- local torvel = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude
- local hitfloor, posfloor = rayCast(RootPart.Position, CFrame.new(RootPart.Position, RootPart.Position - Vector3.new(0, 1, 0)).lookVector, 4, char)
- magichit, magicfloor = rayCast(RootPart.Position, CFrame.new(RootPart.Position, RootPart.Position - Vector3.new(0, 1, 0)).lookVector, 12, char)
- for i, v in ipairs(debuffstab) do
- local child = v[1]
- v[2] = v[2] + frame
- if v[2] > child.Duration.Value then
- local targetStat = charStats:FindFirstChild(child.Type.Value)
- if targetStat then
- targetStat.Value = targetStat.Value + child.Amount.Value
- table.remove(debuffstab, i)
- child:Destroy()
- end
- end
- end
- if 0.2 >= humanoid.Health / humanoid.MaxHealth then
- if alreadyenhance == false then
- alreadyenhance = true
- enhancedis = false
- charStats.Speed.Value = charStats.Speed.Value + 0.1
- charStats.Attack.Value = charStats.Attack.Value + 0.1
- pem.Parent = RootPart
- end
- elseif enhancedis == false then
- alreadyenhance = false
- enhancedis = true
- charStats.Speed.Value = charStats.Speed.Value - 0.1
- charStats.Attack.Value = charStats.Attack.Value - 0.1
- pem.Parent = nil
- end
- if attacking.Value == false then
- if 1 < RootPart.Velocity.y and hitfloor == nil then
- sinecount = 0
- Anim = "Jump"
- Neck.C0 = clerp(Neck.C0, necko * CFrame.Angles(math.rad(-15), 0, math.rad(0)), 0.1)
- LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * CFrame.Angles(-math.rad(17), 0, math.rad(12)), 0.2)
- LW.C1 = clerp(LW.C1, CFrame.new(0, 0.5, 0) * CFrame.Angles(0, 0, 0), 0.2)
- RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * CFrame.Angles(-math.rad(17), 0, -math.rad(12)), 0.2)
- RW.C1 = clerp(LW.C1, CFrame.new(0, 0.5, 0) * CFrame.Angles(0, 0, 0), 0.2)
- RootJoint.C0 = clerp(RootJoint.C0, RootCF * CFrame.Angles(0, 0, 0), 0.2)
- RH.C0 = clerp(RH.C0, CFrame.new(1, -1, 0) * CFrame.Angles(math.rad(-12), math.rad(90), 0), 0.2)
- LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * CFrame.Angles(math.rad(12), -math.rad(90), 0), 0.2)
- elseif RootPart.Velocity.y < -1 and hitfloor == nil then
- sinecount = 0
- Anim = "Fall"
- Neck.C0 = clerp(Neck.C0, necko * CFrame.Angles(math.rad(23), 0, 0), 0.2)
- RootJoint.C0 = clerp(RootJoint.C0, RootCF * CFrame.Angles(0, 0, 0), 0.2)
- RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * CFrame.Angles(-math.rad(17), 0, math.rad(12)), 0.2)
- LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * CFrame.Angles(-math.rad(17), 0, -math.rad(12)), 0.2)
- RH.C0 = clerp(RH.C0, CFrame.new(1, -1, 0) * CFrame.Angles(math.rad(24), math.rad(90), 0), 0.2)
- LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * CFrame.Angles(math.rad(-12), -math.rad(90), 0), 0.2)
- elseif torvel < 1 and hitfloor ~= nil then
- sinecount = 0
- Anim = "Idle"
- if twistedmode == false then
- playAnimationFromTable(CFrame.Angles(0.1 * math.sin(0.06666666666666667 * normcount) / 10, 0, -0.1 * math.sin(0.06666666666666667 * normcount) / 10) * CFrame.new(0.0404853821, 1.00440443, 0.0525856018, -0.86599648, 0.493436307, -0.0809658095, -0.0177140161, 0.131543845, 0.991155446, 0.499724776, 0.859765887, -0.105175421), CFrame.new(0, -0.0499999523 + 0.5 * math.sin(0.06666666666666667 * normcount) / 10, 0, -0.864805222, -0.501799822, -0.0175541062, -8.49291973E-5, -0.0348144583, 0.999394238, -0.50210613, 0.864282131, 0.0300651658), CFrame.Angles(0, 0, 0.25 * math.sin(0.06666666666666667 * normcount) / 10) * CFrame.new(1.35509872, 0.527938128, 0.0837039948, 0.963287234, -0.207916737, -0.169844538, 0.204758286, 0.97814697, -0.0361037552, 0.173638761, 1.42306089E-6, 0.984808803), CFrame.Angles(0, 0, -0.25 * math.sin(0.06666666666666667 * normcount) / 10) * CFrame.new(-1.43372726, 0.535620093, 0.0846061707, 0.987847567, 0.0694380477, 0.139026701, -0.0692677349, 0.997579992, -0.00606484152, -0.139112502, -0.00363902375, 0.990269542), CFrame.new(0.966060638, -0.969251156 - 0.5 * math.sin(0.06666666666666667 * normcount) / 10, -0.00110626221, 0.00122004747, -0.0697359443, 0.997568369, -0.0348784849, 0.99695766, 0.069735229, -0.999396086, -0.0348780826, -0.00122025609), CFrame.new(-0.966060638, -0.969291687 - 0.5 * math.sin(0.06666666666666667 * normcount) / 10, -0.00345230103, -0.00121989846, 0.0697781444, -0.997567534, 0.034878429, 0.996961176, 0.0696933866, 0.999396801, -0.0347085334, -0.00364613533), nil, 0.1, 0.1, 0.1, 0.1)
- else
- playAnimationFromTable(CFrame.Angles(-0.1 + 0.1 * math.sin(0.06666666666666667 * normcount) / 10, 0, -0.1 * math.sin(0.06666666666666667 * normcount) / 10) * CFrame.new(0.0404853821, 1.00440443, 0.0525856018, -0.86599648, 0.493436307, -0.0809658095, -0.0177140161, 0.131543845, 0.991155446, 0.499724776, 0.859765887, -0.105175421), CFrame.new(0, -0.0499999523 + 0.5 * math.sin(0.06666666666666667 * normcount) / 10, 0, -0.864805222, -0.501799822, -0.0175541062, -8.49291973E-5, -0.0348144583, 0.999394238, -0.50210613, 0.864282131, 0.0300651658), CFrame.Angles(0, 0, 0.25 * math.sin(0.06666666666666667 * normcount) / 10) * CFrame.new(1.35509872, 0.527938128, 0.0837039948, 0.963287234, -0.207916737, -0.169844538, 0.204758286, 0.97814697, -0.0361037552, 0.173638761, 1.42306089E-6, 0.984808803), CFrame.Angles(0, 0, -0.25 * math.sin(0.06666666666666667 * normcount) / 10) * CFrame.new(-1.43372726, 0.535620093, 0.0846061707, 0.987847567, 0.0694380477, 0.139026701, -0.0692677349, 0.997579992, -0.00606484152, -0.139112502, -0.00363902375, 0.990269542), CFrame.new(0.966060638, -0.969251156 - 0.5 * math.sin(0.06666666666666667 * normcount) / 10, -0.00110626221, 0.00122004747, -0.0697359443, 0.997568369, -0.0348784849, 0.99695766, 0.069735229, -0.999396086, -0.0348780826, -0.00122025609), CFrame.new(-0.966060638, -0.969291687 - 0.5 * math.sin(0.06666666666666667 * normcount) / 10, -0.00345230103, -0.00121989846, 0.0697781444, -0.997567534, 0.034878429, 0.996961176, 0.0696933866, 0.999396801, -0.0347085334, -0.00364613533), nil, 0.1, 0.1, 0.1, 0.1)
- end
- handleweld.C0 = clerp(handleweld.C0, handlec0 * CFrame.Angles(0, 0, math.rad(180)) * CFrame.new(0.45, 0.4, 0), 0.2)
- elseif torvel > 1 and hitfloor ~= nil then
- Anim = "Walk"
- if twistedmode == false then
- playAnimationFromTable(CFrame.new(0, 1.03692579, -0.0110797882, -1, 0, -8.74227766E-8, -8.60946656E-8, 0.173648223, 0.984808207, 1.51808095E-8, 0.984808207, -0.173648223), CFrame.Angles(math.rad(-5), 0, 0) * CFrame.new(0, 0, 0, -1, 8.74227766E-8, 0, 3.99680289E-15, 4.47034836E-8, 1.00000012, 8.74227766E-8, 1.00000012, -4.47034836E-8), CFrame.Angles(0, 0, 0.25 * math.sin(0.06666666666666667 * normcount) / 10) * CFrame.new(0, -0.1, 0) * CFrame.new(0.986808777, 0.377210855, -0.551919937, 0.159554228, 0.973545909, 0.163548127, 0.00447136909, 0.164957806, -0.986282706, -0.987170279, 0.158103809, 0.0219678506), CFrame.Angles(0, math.rad(-15), -0.25 * math.sin(0.06666666666666667 * normcount) / 10) * CFrame.new(-1.45027161, 0.43655014, 0.161951065, 0.994699717, 0.0994522646, 0.0261312705, -0.101993509, 0.921928883, 0.373694718, 0.013073599, -0.37437892, 0.927185178), CFrame.new(1, -1 - 0.25 * math.cos(sinecount / 8) / 2, 0 + 0.25 * math.sin(sinecount / 8) / 2) * CFrame.Angles(math.rad(-45 * math.sin(sinecount / 8)), math.rad(90), math.rad(0)), CFrame.new(-1, -1 + 0.25 * math.cos(sinecount / 8) / 2, 0 - 0.25 * math.sin(sinecount / 8) / 2) * CFrame.Angles(math.rad(45 * math.sin(sinecount / 8)), math.rad(-90), math.rad(0)), nil, 0.15, 0.2, 0.1 * (speed.Value * 1), 0.2)
- handleweld.C0 = clerp(handleweld.C0, handlec0 * CFrame.new(0.3, -1, 0) * CFrame.Angles(math.rad(-5), math.rad(5), math.rad(5)), 0.2)
- else
- Neck.C0 = clerp(Neck.C0, necko * CFrame.Angles(math.rad(5), 0, 0), 0.1)
- RootJoint.C0 = clerp(RootJoint.C0, RootCF * CFrame.Angles(math.rad(5), 0, 0), 0.1)
- RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * CFrame.Angles(math.rad(17 * math.sin(sinecount / 8)), 0, math.rad(6)), 0.2)
- LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * CFrame.Angles(-math.rad(17 * math.sin(sinecount / 8)), 0, -math.rad(6)), 0.2)
- RH.C0 = clerp(RH.C0, CFrame.new(1, -1 - 0.25 * math.cos(sinecount / 8) / 2, 0 + 0.25 * math.sin(sinecount / 8) / 2) * CFrame.Angles(math.rad(-45 * math.sin(sinecount / 8)), math.rad(90), math.rad(0)), 0.1)
- LH.C0 = clerp(LH.C0, CFrame.new(-1, -1 + 0.25 * math.cos(sinecount / 8) / 2, 0 - 0.25 * math.sin(sinecount / 8) / 2) * CFrame.Angles(math.rad(45 * math.sin(sinecount / 8)), math.rad(-90), math.rad(0)), 0.1)
- handleweld.C0 = clerp(handleweld.C0, handlec0 * CFrame.Angles(0, 0, math.rad(180)) * CFrame.new(0.45, 0.4, 0), 0.2)
- end
- end
- end
- if AttackHas[1] < AttackNeeded[1] and AttackCan[1] == true then
- AttackHas[1] = AttackHas[1] + 0.002
- end
- if AttackHas[2] < AttackNeeded[2] and AttackCan[2] == true then
- AttackHas[2] = AttackHas[2] + 0.001
- end
- if AttackHas[3] < AttackNeeded[3] and AttackCan[3] == true then
- AttackHas[3] = AttackHas[3] + 7.5E-4
- end
- if AttackHas[4] < AttackNeeded[4] and AttackCan[4] == true then
- AttackHas[4] = AttackHas[4] + 1
- end
- Re1:TweenSize(UDim2.new(AttackHas[1] / AttackNeeded[1], 0, 1, 0), nil, 1, 0.4)
- Re2:TweenSize(UDim2.new(AttackHas[2] / AttackNeeded[2], 0, 1, 0), nil, 1, 0.4)
- Re3:TweenSize(UDim2.new(AttackHas[3] / AttackNeeded[3], 0, 1, 0), nil, 1, 0.4)
- Re4:TweenSize(UDim2.new(AttackHas[4] / AttackNeeded[4], 0, 1, 0), nil, 1, 0.4)
- for i = 1, #partEffects do
- if partEffects[i] ~= nil then
- local Thing = partEffects[i]
- if Thing ~= nil then
- local Part = Thing[1]
- local Type = Thing[2]
- local Increment = Thing[3]
- local IncX = Thing[4]
- local IncY = Thing[5]
- local IncZ = Thing[6]
- local SizeX = Thing[7]
- local SizeY = Thing[8]
- local SizeZ = Thing[9]
- if 1 >= Thing[1].Transparency 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))
- local Mesh = Thing[1].Mesh
- Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
- Thing[1].Transparency = Thing[1].Transparency + Thing[3]
- elseif Thing[2] == "Block2" then
- Thing[1].CFrame = Thing[1].CFrame
- local Mesh = Thing[7]
- Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
- Thing[1].Transparency = Thing[1].Transparency + Thing[3]
- elseif Thing[2] == "Cylinder" then
- local Mesh = Thing[1].Mesh
- Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
- Thing[1].Transparency = Thing[1].Transparency + Thing[3]
- elseif Thing[2] == "Blood" then
- local Mesh = Thing[7]
- Thing[1].CFrame = Thing[1].CFrame * Vector3.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]
- elseif Thing[2] == "Elec" then
- local Mesh = Thing[1].Mesh
- Mesh.Scale = Mesh.Scale + Vector3.new(Thing[7], Thing[8], Thing[9])
- Thing[1].Transparency = Thing[1].Transparency + Thing[3]
- elseif Thing[2] == "Disappear" then
- Thing[1].Transparency = Thing[1].Transparency + Thing[3]
- elseif 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]
- elseif Thing[2] == "Block3" then
- Thing[1].Transparency = Thing[1].Transparency + Thing[3]
- Thing[1].CFrame = Thing[1].CFrame * CFrame.new(Thing[4], Thing[5], Thing[6])
- end
- else
- Part:Destroy()
- table.remove(partEffects, i)
- end
- end
- end
- end
- end
- end)
- end))
- Model38.Name = "Eldrich"
- Model38.Parent = LocalScript37
- Part39.Name = "NEON"
- Part39.Parent = Model38
- Part39.BrickColor = BrickColor.new("Bright yellow")
- Part39.Rotation = Vector3.new(-180, 0, -180)
- Part39.CanCollide = false
- Part39.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003)
- Part39.CFrame = CFrame.new(0.0489996336, 0.250009, 0.0279978476, -1, 0, -8.74227766e-08, 0, 1, 0, 8.74227766e-08, 0, -1)
- Part39.Color = Color3.new(0.960784, 0.803922, 0.188235)
- Part39.Position = Vector3.new(0.0489996336, 0.250009, 0.0279978476)
- Part39.Orientation = Vector3.new(0, -180, 0)
- Part39.Color = Color3.new(0.960784, 0.803922, 0.188235)
- SpecialMesh40.Parent = Part39
- SpecialMesh40.MeshId = "rbxassetid://881345275"
- SpecialMesh40.MeshType = Enum.MeshType.FileMesh
- Weld41.Parent = Part39
- Weld41.C0 = CFrame.new(-1.40100169, -0.244001999, 0.0279960856, -1, 3.05171125e-05, 3.05180438e-05, 3.05180438e-05, 1, 3.05171125e-05, -3.05171125e-05, 3.05180438e-05, -1)
- Weld41.C1 = CFrame.new(-1.71500194, -0.100001998, 0.0349952057, -1, 3.05171125e-05, 3.05180438e-05, 3.05180438e-05, 1, 3.05171125e-05, -3.05171125e-05, 3.05180438e-05, -1)
- Weld41.Part0 = Part39
- Weld41.Part1 = Part42
- Part42.Name = "STRAP"
- Part42.Parent = Model38
- Part42.BrickColor = BrickColor.new("Black")
- Part42.Rotation = Vector3.new(-180, 0, -180)
- Part42.CanCollide = false
- Part42.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003)
- Part42.CFrame = CFrame.new(-0.265000045, 0.106008999, 0.0349968635, -1, 0, -8.74227766e-08, 0, 1, 0, 8.74227766e-08, 0, -1)
- Part42.Color = Color3.new(0.105882, 0.164706, 0.207843)
- Part42.Position = Vector3.new(-0.265000045, 0.106008999, 0.0349968635)
- Part42.Orientation = Vector3.new(0, -180, 0)
- Part42.Color = Color3.new(0.105882, 0.164706, 0.207843)
- SpecialMesh43.Parent = Part42
- SpecialMesh43.MeshId = "rbxassetid://881345519"
- SpecialMesh43.MeshType = Enum.MeshType.FileMesh
- Weld44.Parent = Part42
- Weld44.C0 = CFrame.new(-1.71500194, -0.100001998, 0.0349952057, -1, 3.05171125e-05, 3.05180438e-05, 3.05180438e-05, 1, 3.05171125e-05, -3.05171125e-05, 3.05180438e-05, -1)
- Weld44.C1 = CFrame.new(-1.36100149, -0.116002001, 0.0349962041, -1, 3.05171125e-05, 3.05180438e-05, 3.05180438e-05, 1, 3.05171125e-05, -3.05171125e-05, 3.05180438e-05, -1)
- Weld44.Part0 = Part42
- Weld44.Part1 = Part45
- Part45.Name = "PAGE"
- Part45.Parent = Model38
- Part45.BrickColor = BrickColor.new("Burlap")
- Part45.Rotation = Vector3.new(-180, 0, -180)
- Part45.CanCollide = false
- Part45.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003)
- Part45.CFrame = CFrame.new(0.0889995992, 0.122009002, 0.0349968635, -1, 0, -8.74227766e-08, 0, 1, 0, 8.74227766e-08, 0, -1)
- Part45.Color = Color3.new(0.780392, 0.67451, 0.470588)
- Part45.Position = Vector3.new(0.0889995992, 0.122009002, 0.0349968635)
- Part45.Orientation = Vector3.new(0, -180, 0)
- Part45.Color = Color3.new(0.780392, 0.67451, 0.470588)
- SpecialMesh46.Parent = Part45
- SpecialMesh46.MeshId = "rbxassetid://881346767"
- SpecialMesh46.MeshType = Enum.MeshType.FileMesh
- Weld47.Parent = Part45
- Weld47.C0 = CFrame.new(-1.36100149, -0.116002001, 0.0349962041, -1, 3.05171125e-05, 3.05180438e-05, 3.05180438e-05, 1, 3.05171125e-05, -3.05171125e-05, 3.05180438e-05, -1)
- Weld47.C1 = CFrame.new(-1.3960017, -0.104001999, 0.0359961055, -1, 3.05171125e-05, 3.05180438e-05, 3.05180438e-05, 1, 3.05171125e-05, -3.05171125e-05, 3.05180438e-05, -1)
- Weld47.Part0 = Part45
- Weld47.Part1 = Part48
- Part48.Name = "RIBBON"
- Part48.Parent = Model38
- Part48.BrickColor = BrickColor.new("Cool yellow")
- Part48.Rotation = Vector3.new(-180, 0, -180)
- Part48.CanCollide = false
- Part48.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003)
- Part48.CFrame = CFrame.new(0.0539997481, 0.110009, 0.0360001288, -1, 0, -8.74227766e-08, 0, 1, 0, 8.74227766e-08, 0, -1)
- Part48.Color = Color3.new(0.992157, 0.917647, 0.552941)
- Part48.Position = Vector3.new(0.0539997481, 0.110009, 0.0360001288)
- Part48.Orientation = Vector3.new(0, -180, 0)
- Part48.Color = Color3.new(0.992157, 0.917647, 0.552941)
- SpecialMesh49.Parent = Part48
- SpecialMesh49.MeshId = "rbxassetid://881346530"
- SpecialMesh49.MeshType = Enum.MeshType.FileMesh
- Weld50.Parent = Part48
- Weld50.C0 = CFrame.new(-1.3960017, -0.104001999, 0.0359961055, -1, 3.05171125e-05, 3.05180438e-05, 3.05180438e-05, 1, 3.05171125e-05, -3.05171125e-05, 3.05180438e-05, -1)
- Weld50.C1 = CFrame.new(-1.63900197, -0.254000992, 0.0349954218, -1, 3.05171125e-05, 3.05180438e-05, 3.05180438e-05, 1, 3.05171125e-05, -3.05171125e-05, 3.05180438e-05, -1)
- Weld50.Part0 = Part48
- Weld50.Part1 = Part51
- Part51.Name = "BELT"
- Part51.Parent = Model38
- Part51.BrickColor = BrickColor.new("Cocoa")
- Part51.Rotation = Vector3.new(-180, 0, -180)
- Part51.CanCollide = false
- Part51.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003)
- Part51.CFrame = CFrame.new(-0.189000309, 0.260008007, 0.0349968635, -1, 0, -8.74227766e-08, 0, 1, 0, 8.74227766e-08, 0, -1)
- Part51.Color = Color3.new(0.337255, 0.141176, 0.141176)
- Part51.Position = Vector3.new(-0.189000309, 0.260008007, 0.0349968635)
- Part51.Orientation = Vector3.new(0, -180, 0)
- Part51.Color = Color3.new(0.337255, 0.141176, 0.141176)
- SpecialMesh52.Parent = Part51
- SpecialMesh52.MeshId = "rbxassetid://881348988"
- SpecialMesh52.MeshType = Enum.MeshType.FileMesh
- Weld53.Parent = Part51
- Weld53.C0 = CFrame.new(-1.63900197, -0.254000992, 0.0349954218, -1, 3.05171125e-05, 3.05180438e-05, 3.05180438e-05, 1, 3.05171125e-05, -3.05171125e-05, 3.05180438e-05, -1)
- Weld53.C1 = CFrame.new(-1.3510015, -0.104001999, 0.0319962315, -1, 3.05171125e-05, 3.05180438e-05, 3.05180438e-05, 1, 3.05171125e-05, -3.05171125e-05, 3.05180438e-05, -1)
- Weld53.Part0 = Part51
- Weld53.Part1 = Part54
- Part54.Name = "COVER"
- Part54.Parent = Model38
- Part54.BrickColor = BrickColor.new("Dirt brown")
- Part54.Rotation = Vector3.new(-180, 0, -180)
- Part54.CanCollide = false
- Part54.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003)
- Part54.CFrame = CFrame.new(0.0989998281, 0.110009, 0.0319994651, -1, 0, -8.74227766e-08, 0, 1, 0, 8.74227766e-08, 0, -1)
- Part54.Color = Color3.new(0.337255, 0.258824, 0.211765)
- Part54.Position = Vector3.new(0.0989998281, 0.110009, 0.0319994651)
- Part54.Orientation = Vector3.new(0, -180, 0)
- Part54.Color = Color3.new(0.337255, 0.258824, 0.211765)
- SpecialMesh55.Parent = Part54
- SpecialMesh55.MeshId = "rbxassetid://881344767"
- SpecialMesh55.MeshType = Enum.MeshType.FileMesh
- Weld56.Parent = Part54
- Weld56.C0 = CFrame.new(-1.3510015, -0.104001999, 0.0319962315, -1, 3.05171125e-05, 3.05180438e-05, 3.05180438e-05, 1, 3.05171125e-05, -3.05171125e-05, 3.05180438e-05, -1)
- Weld56.C1 = CFrame.new(-0.801001132, -0.0940020084, 0.027997775, -1, 3.05171125e-05, 3.05180438e-05, 3.05180438e-05, 1, 3.05171125e-05, -3.05171125e-05, 3.05180438e-05, -1)
- Weld56.Part0 = Part54
- Weld56.Part1 = Part57
- Part57.Name = "Handle"
- Part57.Parent = Model38
- Part57.BrickColor = BrickColor.new("Cool yellow")
- Part57.Transparency = 1
- Part57.Rotation = Vector3.new(-180, 0, -180)
- Part57.CanCollide = false
- Part57.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003)
- Part57.CFrame = CFrame.new(0.648999512, 0.100009002, 0.0279978476, -1, 0, -8.74227766e-08, 0, 1, 0, 8.74227766e-08, 0, -1)
- Part57.Color = Color3.new(0.992157, 0.917647, 0.552941)
- Part57.Position = Vector3.new(0.648999512, 0.100009002, 0.0279978476)
- Part57.Orientation = Vector3.new(0, -180, 0)
- Part57.Color = Color3.new(0.992157, 0.917647, 0.552941)
- ParticleEmitter58.Parent = LocalScript37
- ParticleEmitter58.Transparency = NumberSequence.new(0,0.53125,0,1,0)
- ParticleEmitter58.Color = ColorSequence.new(Color3.new(1, 1, 0.498039),Color3.new(1, 0.976471, 0.278431),Color3.new(1, 1, 1))
- ParticleEmitter58.LightEmission = 1
- ParticleEmitter58.ZOffset = 3
- ParticleEmitter58.Lifetime = NumberRange.new(0.5, 1)
- ParticleEmitter58.VelocitySpread = 180
- ParticleEmitter58.Color = ColorSequence.new(Color3.new(1, 1, 0.498039),Color3.new(1, 0.976471, 0.278431),Color3.new(1, 1, 1))
- for i,v in pairs(mas:GetChildren()) do
- v.Parent = game:GetService("Players").LocalPlayer.PlayerGui
- 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